| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|\ \
| | |
| | |
| | | |
marjohn56/RTSOLD-lock-creation,-dhcp6c-launch-&-kill-changes-#3
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Added lock file creation and check to RTSOLD script creation. This is to
prevent mutliple launches of dhcp6c, this appears to happen when
multiple RA's are received in rapid succession at the start of a
session. Once created dhcp6c cannot be launched again until the lock
file is deleted, this is done within the kill_dhcp6_client process
locking the two together.
The kill vlaue used to kill the dhcp6c client is now variable. The
value -9 causes the process to exit without sending a release if
required, and if the timing is just rignt can cause the pid file to be
left behind; -15 allows for a graceful exit and if the release flag is
not set then it sends and waits for the release confirnation, the value
now switches between those depending on the configuration option 'No
Release'. If no release is true then -9 is used as the type. Any left
behind pid is removed automatically. This change will make it possible
to stop the use of the -n flag, thus allowing the dcp6c to send a
release manually, if so required.
The launch of dhcp6c when in dhcp6withoutRA is moved to its own
function, as uch as anything this makes the code tidy around the bottom
of nterface_dhcpv6_configure().
A completely new method of implimenting dhcp6wihtoutRA is used. In
default mode RTSOLD launches dhcp6c. In dhcp6wihtoutRA mode dhcp6
aunches RTSOLD.
New scripts are created and old ones modified to handle this mode, the
dhcp6 conf file changes depending on the mode calling a different script
for each mode. In simple terms its dcp6->rtsold- lan_configure. Whenever
dhcp6 gets a response that launches its script then it will run rtsold,
the RA in turn will cause the wan6 configure script to run. This method
also means the script only ever runs once and no modified dhcp6c is
required.
The scripts are dynamic and change depending on the mode. Creation takes
into account that the domain-name-server variables created by dhcp6 and
passed to the script it calls are passed on. In default mode this is
simple as it calls the dhcp6c_*_script which calls the rc.newwanipv6
script directly, in dhcp6withoutRA its RTSOLD that calls the
dhcp6c_*_script, so in order to make this change work the variables are
echoed to the tmp folder and retreived by the dhcp6withoutRA version of
dhcp6c_*_script when that calls rc.newwanip.
|
| | | |
|
| | | |
|
|\ \ \ |
|
| | | | |
|
| | | | |
|
| | |/
| |/| |
|
| | | |
|
|/ / |
|
| |
| |
| |
| |
| |
| | |
write_config. Adjust base system calls to match. Ticket #7146
Packages may still need the old behavior but need tested individually. Once all function calls are confirmed to work without the write, the write_config parameter and call can be removed from this function for good.
|
|/ |
|
|
|
|
| |
/tmp when MFS is disabled. Fixes #7086
|
|\ |
|
| |
| |
| |
| | |
so users can grant access to Services->UPNP
Note: Status->UPNP already has a priv and it works.
|
|\ \ |
|
| |/
| |
| | |
from a user that does not have admin or all page privilege.
|
|/ |
|
|
|
|
| |
its address
|
|
|
|
| |
OpenVPN to its address
|
| |
|
| |
|
| |
|
| |
|
|
|
| |
Handle clearing the individual log as well.
|
|\ |
|
| | |
|
| | |
|
| |
| |
| | |
When 'any' is selected as the ICMP type, do not write 'icmp-type any' in the rule, just leave it out.
|
| | |
|
|/
|
|
|
|
| |
Initialize cached IP and Time on loop for RFC2136 items, without this
the items used on last loop iteration will be used again and second
item on the same interface will not be updated
|
|
|
|
| |
only when ipprotocol is inet6
|
|
|
|
|
|
|
|
|
| |
- Stop misusing fsck -F parameter, it's supposed to be used when you
plan to run background fsck after filesystems are mounted, what is
not the case on pfSense
- Increase attempts to mount all filesystems as read-write to 10
- If we cannot mount filesystems as read-write, start a recovery shell
and after it finishes, reboot system
|
| |
|
|
|
|
| |
Use system_hosts_entries to generate unbound host_entries.conf
|
|
|
|
| |
This function will return an array all items to be added to /etc/hosts.
|
|
|
|
|
| |
This function will return an array with dhcpd and dhcpdv6 items to be added to
/etc/hosts.
|
|
|
|
|
| |
This function will return an array with dnsmasq or unbound items to be added to
/etc/hosts
|
|
|
|
| |
Read local items from system_hosts_local_entries()
|
|
|
|
|
|
| |
This function will return an array with 127.0.0.1, ::1 and LAN (or
first interface with no gateway when LAN is not there) items to be
added to /etc/hosts
|
| |
|
| |
|
| |
|
|
|
|
| |
#7110
|
| |
|
|\ |
|
| |\ |
|
| | |
| | |
| | |
| | | |
Suggested solution for Redmine 2247
|