Correct issue reported on: http://forum.pfsense.org/index.php/topic,61239.0.html
Make fe80: addresses check case insensitive
Configure static arp inside interface_configure() since it removes all interface addresses and the static arps are removed together. It fixes #2939
Fix whitespaces and indent
Give the process time to exit before running a new one
Escape the argument to avoid potential issues
No need for the ::(separators) they will be there
Check lower bound as well
The default gateway for 6rd type is $prefix|$wanv4::$wanv4gw. Also add support for variable length v4 prefix for 6rd
To actually use the linklocal of :1 delete the auto assigned linklocal
Remove even this seems dhclient is smart enough to avoid this by itself
Remove functions that are not used now with once mode of rtsold
Simplify a bit logic
Fix typo
Use full patch
Run rtsold only for one reply since it will spam with dhcp6c processes otherwise. Also remove ambiguity by using curlies in functions
Fix missed ;
Bring down even rtsold process
The workflow is rtsold calls dhcp6c which calls rc.newwanipv6 to make the configuration more consistent
Do not run this during startup since it will be called anyhow
Initialize array
Remove not used call
When reconfiguring interfaces with dhcp types set try to kill any previous dhcp process of the interface already running
Do not cleanup states on this call
Remove useless function calls
Unset the ip from the cache to retrieve the right ip
Correct get_interface_subnetv6 and use get_interface_ipv6 during dhcp config generation. Also initialize some arrays to avoid warnings
Try to remove as much as possible _stf special case through the code
Use get_interface_ipv6 on rc.newwanipv6 to and teach it to flush the cache on optional parameter. Also teach get_real_interface about the tedios ipv6 tunnel interfaces and return them when ipv6 family is specified
Handle _stf interface in convertion from real to friendly. Also do no cal lpfSense_module function if not used
Use realif on dhcp6 pid filename since find_dhcp6c_process() looks for it and cannot kill it
Use empty which is more strict
Be consistent on vlan checks
Fix logic inversion from 126ff5b264
Check if MTU is already with correct value before change it
When parent is not assigned, reset it and all vlans without mtu set to default
When reset parent to default mtu, deal with all VLANs too
Set vlanifs early and use it on more places to simplify logic
Consider parent mtu when it's set instead of default one
Simplify a bit the logic
Pass parent interface to link_interface_to_vlans
Fix typo on var name
Fix typo s/assgined/assigned/
Be consistent on the check
Solve the issue when changing vlan parent mtu and leaving its childs with older mtu.
More fixes
Remove debug code
Correct code to apply the mtu correctly
Correctly handle mtu changing between vlans
Change parent only if its mtu is smaller
Skip vlan checks for being configured vlan as well
Only treat interesting interfaces
Make this work better and not always go over things for setting mtu
Hopefully is correct now
Set mtu to the correct interface
Correct which mtu value is used to be correct
Sprinkle some XXX just for being consistent
Correct this behaviour of properly honoring the configured mtu
Tune up a bit dhclient-script and call the kill state command only once its enough
You can have multiple 6rd tunnels now days
Remove old ip information even from the tracking interface as well so that track6 config code does not get confused. Fixes #2627
Remove old ip information so that track6 config does not get confused. Fixes #2627
Save ppp info and realif on interfaces.apply to be able to cleanup old configuration when changing interface type. Fixes #2758
Make parent interface and all VLANs use the same MTU. Fixes #2786
Create rules for grouped interfaces before regular ones. Fixes #2837
Fix is_altq_capable
Fixes traffic shaper determine which interfaces should be displayed and used.
simplify logic a bit
Set pfsync0 as down when it's not being used
Fixes on HA setup:
- Configure pfsync when configuration is changed- Disable pfsync when it's disabled on GUI- Remove syncpeer and back it to default multicast address when it's removed from conf
Fixes #2491
Set if interface is enable before try to configure static arp. Fixes #1988
find_interface_ipv6 should return the first configured address, not the last one
A nic family name can contain numbers on it, remove only the index in the end. Fixes #2010
Remove dead code
Fix these tests, they will never succeed the way we set these variables using the old test. Fixes #1987
Ticket #1629 Another round of fixes related to state clearing
Commit missed global
Optimize get_real_itnerface to avoid a loop of doing a convertion from real back to friendly when the inforamtion is there already
Try to use standard interface to find the source for connecting a tunnel. Also if a ping host is defined for the configuration used that for remoteid since its known to be reachble
Teach dhcpd_configure about family optional parameter and use it to properly setup dhcpv6 on track6 case so that config is properly written
Actually do restart radvd and dhcp6d on all track6 interfaces
Use posix_kill here
Restart dhcp and radvd on change
Actually for SLAAC type interfaces being tracked the configuration is needed
Revert "Remove track6 dhcp configuration since dhcp6 will do this for us."
This reverts commit 6ebfa0ccfd7db500a4f85d2d45ebd74699a8805f.
Remove track6 dhcp configuration since dhcp6 will do this for us.
Remove this old code
Correctly set the mtu of the interface during configuration. Since for interfaces that are clonable previously the mtu was set than the interface destroy so the operation was useles. While here correct check for vlan interfaces.
Add check_subnetsv6_overlap()
find_virtual_ip_alias() add IPv6 support
find_ip_interface() add IPv6 support
When IP is not set, the field doesn't have the value 'none', use empty() to check instead
Fix get_interface_subnetv6() for VIPs
Removed unused block of code
Use the better -Fs modifies to pf to kill the states by interface. Also kill both sides on an interface when -k needs to be used
Load if_stf module if has not been done
Add missing parameter to interface_track6_configure() call
Fix a typo
Do delayed handling of track6 interfaces a bit earlier. More thoughts need to be done on the track6 configuration
Correct name as reported by phil-davis@github
Destroy the stf interface to avoid issues with ipv6 interface assignment. Also delete any previous address on track6 interfaces before assigning a new one.