We want to actually compress the IPv6 address, not uncompress.
Correct variable names and foreach assignment
Correct the DHCP6 client function to reflect the track6 changes
Fix the find dhcp6 process function to report the actual pid instead of the grep pid.Remove spurious double debug line
Add missing DHCP6 track6 support function
Comment out the srd 6rd device and put in the patched stf device commands.Still doesn't work but Ermal might be able to debug easily
A few more improvement such that tracking interfaces are automatically configured from the client interface
Add the stf0 interface to interface_has_gateway_v6() for 6to4
Add interface tracking support. With this it is now possible for dynamic IPv6 interfaces to setup the corresponding lan interface for RA.DHCP6 with prefix delegation to follow later for automatic daisychaining.
Add 6to4 support for automatic tunneling.
Move CARP settings from pkg XML to a real PHP page
https://redmine.pfsense.org/issues/647
fix a typo.
fix for: Spanning Tree interface priority options do not alter Bridge
http://redmine.pfsense.org/issues/2261
Use the latest functions from pfSense module for bridge
Use the latest functions from pfSense module for getting interface list
fix bridge typos
Fix comment, unbreak interfaces.inc
Always configure a link local address when configuring a carp with a IPv6 address.
Write out a default router file for the srd interface
Adding gateway support for 6rd support, does not add route yet.Adds to ticket #2117
Add 6rd backend code support, adds rules for proto 41 traffic for 6rd on WAN so that the tunnel works.Adds to ticket #2117
Correct checking if a gif is part of bridge so that it actually works correctly adding a gif after having created it on bootup
Make sure to pass the string, not the array
Perform actual 128 bit operations to make sure we get the math right.
Add code that expresses the default gateway calculated from the broker address.The stf adapter was correctly setup from the WAN IPv4 address apparentlyAdds to ticket #2117
Add more backend code to calculate the 6RD broker IPv6 address from the IPv4 broker address.Adds to ticket #2117
Make sure we stop the configure if the device does not have a public addressTicket #2117
Add backend 6RD support. We don't have the required patch yet for our stf driver.Needs hooks into our gateway code to handle the default gateway since the stf interface does use router solicitationsAdds to ticket #2117
Remove rtsol debugging output
Duplicate logic from gif tunnels for gre tunnels these are very similarFix for ticket #2077
Show the interface Link Local addresses on the status_interfaces.php
Update etc/inc/interfaces.inc
Ooops correct copy/paste error
Implement is_jumbo_capable in a more performant way. This should help with large number of interfaces
Add strategic sleep commands into the configure and renewal process so that prefix delegation gets a chance to work.
Prevent link cycling when spoofing mac + DHCP. Fixes #1572
Fixes issue with l2tp interfaces and altq
Add a / for the prefix length value. As suggested onhttp://forum.pfsense.org/index.php/topic,40377.msg209028.html#msg209028
Add a find_interface_ipv6_ll() to find the link local address of a interface.Use this link local address for the apinger srcip otherwise we might try using the DHCP6 /128 address which will fail.We need to extend apinger or any replacement thereoff to understand the %{$realif} scope suffix for link local addresses so that these are always correct. This is important since link local gateway addresses are a normal thing and FreeBSD will complain otherwise.
Remove stray print_r debugging from the dhcp6 client function
Further fix up the DHCPv6 client support, launch rtsol to figure out our gateway and add this into the interface router file in /tmp.This will then be picked up by the rest of the system. My testlab happens to block ping showing it down but should otherwise work.
Disable the rtsol command for now until we have a proper script to handle this.
Correct the path to rtsol
Accept router advertisments for DHCP6 WAN interfaces. Also launch a rtsol process.
renable IPv6 rc.newwanipv6 but comment out reconfigure($if) until we track down how to best handle this.Dhclient does not pass the interface as a argument which makes this really hard.
Add a interface_has_gatewayv6() function to determine if a interface has a IPv6 gateway.Implement that function return_gateways_array() to prevent ghost entries
Make sure to wait for the interface to be really created before letting the function return for PPP interfaces.
Make sure that we disable accepting router advertisements unless we explicitly enable them
Add a log message when we enable router advertisements for a interface
Disable the rc.newwanipv6 script called from the dhcp6 client, this causes a recursing configure.
Add debugging to interface down function, add support for the type6 = dhcp6.This really needs to be sorted out in a better way taking both v4 and v6 into consideration simultaneously.
Make initial changes to allow pfSense to work in a jail.
This mostly avoids starting things that will not work and gets theinitial config. Most of the pfSense functionality will not work(pf rules, routing, etc) but it can be used for testing.
Reflect the changes in the UI page that IPv4 and IPv6 are no lounger coupled together. They are now 2 seperate switch() statements.This should also allow for toggling the dhcp6 client on a PPPoE interface
If no pppoe service name is configured, send a null service name. Seems to help clients especially when reconnecting.
Correct check for the gif mtu during an interface readdition to bridge.
Correct the check for mtu 1500 to inlcude it. Also add the check on bridge_add_member function
Merge remote-tracking branch 'upstream/master'
Conflicts: etc/inc/easyrule.inc etc/inc/filter.inc etc/inc/interfaces.inc etc/inc/services.inc etc/inc/xmlrpc_client.inc usr/local/www/fbegin.inc usr/local/www/services_dhcp.php
Enable the pfsync checking unconditionally
Actually give pfsync time to catch up.
If the sync has not finished do not start carp yet
Merge remote-tracking branch 'mainline/master' into inc
Fixes #1666. For OpenVPN interfaces always check if part of bridge or not.
Conflicts: etc/inc/priv.defs.inc
Merge remote branch 'upstream/master'
Move interfaces_staticarp_configure() to interfaces.inc where it really belongs.
Conflicts: etc/inc/globals.inc etc/inc/upgrade_config.inc
Correct functiong does_vip_exist() to actually work. Fixes #1598
Ooops fix the function. Spotted-by: wagnosa(IRC)
NEw functiong does_vip_exist() which works for carp and ipalias type vips to help in carp sync issues. Fixes #1598
Actually correct vip check to be correct for all vip types.
Do not destroy and create the vip during interface [re]configuration since it causes unecessary work and most importantly issues.
Conflicts: conf.default/config.xml etc/inc/filter.inc etc/inc/globals.inc etc/inc/pfsense-utils.inc etc/inc/upgrade_config.inc usr/local/www/interfaces.php
Add debugging notes so that we can easily fix this when IPv6 support is added to the pfSense module.Remove the Accept router advertisement from all interfaces unless we enable them
Also process v4 gateways on v4 gif tunnels
When editing a gif interface with a gateway we need to call system_routing_configure() for that gif interface.
Conflicts: etc/inc/interfaces.inc etc/inc/upgrade_config.inc etc/inc/vpn.inc
Fixes #1444. Implements the same fix that issue ermal made in #1522 to the console menu
Do not use global router advertisements, instead configure per interface.
Conflicts: etc/inc/vslb.inc etc/version
This function takes two parameters, fix PHP error. Reported at http://forum.pfsense.org/index.php/topic,36648.0.html
fix accidental linebreak to cause the pid to always return 0
Properly kill the dhcp6 client
Correct the dhcp6c function name, accept router advertisements
Enable debugging for the dhcp6c client so we can better track if it's working right
Add DHCP-PD support if the WAN interface is set to DHCP.Select a DHCP-PD prefix length in correspondence with your ISP. If set to "none" it will not be requested and normal DHCPv6 is performed.You can set a link local IPv6 address on the LAN interface and select a DHCP-PD Prefix number from the drop down....
Enable accidentally commented out dhclient command for ipv4
Add backend support for the dhcp v6 client
Ticket #CZH-831780. If gif(4) is part of a bridge and its mtu is smaller than 1500(ethernet standard) do not consider it in finding the smaller mtu because we have a patch to allow gif(4) be member of a bridge with smaller mtu. See https://rcs.pfsense.org/projects/pfsense-tools/repos/mainline/commits/67d3135722db4a3c911761ead5c881ccaef02c65 for details.
Add the dhcp6 client into the backend code. Needs scripts for up down events also.
Fixes #1394. Create a function get_itnerface_default_mtu and use it for resetting the mtu of a interface to default when needed. This adds the overhead of fetching the interface mtu and comparing with the default one every interface configuration run.
Conflicts: usr/local/www/status_rrd_graph_img.php
Correct saving of qinq specified members and also correctly destroy parent vlan when deleteing the interfaces. Also take care of attaching to netgraph now that we detach by default.
Make sure that openvpn tunnels are not impacted by hitting 'Save' on the Interface->Configuration page when assigned.
Use the needed variable here so hitting 'Save' from Interface->Configuration section does not leave the assigned gif interfaces without tunnel addresses.
Some configurations might have gre/gif on top of carp. Make sure to handle this configurations and to bring the tunnel correctly up.