Return the full list of vips to help with #1823
Mostly for testing name relation in github. No functional change
Put for now the code here in preparation of properly cleaning a recofnigured interface
Teach interface_bring_down to read a cofniguration passed in. Will be useful for Ticket #2758
Do not be so verbose by default this is just needed by a developer at best
Resolves #2482. Remove an ipv6 alias from a vip eevn though the pfsense module does not have support for that
Escape some variables used in mwexec() calls
Validate QinQ interface to be sure it's valid
Fix indent
Update etc/inc/interfaces.inc
As noted in http://forum.pfsense.org/index.php/topic,57849.0.html
Set flag setautosrc to replicate parent's mac address automatically when it changes, it's a better solution then dettach it. This should fix #2641
Revert "When a interface type is changed, old configuration remains. When moving from static ip to ppp, it kepts the static ip configured on interface, when moving from ppp to static ip, it doesn't kill mpd. Implement interface_clean() to make sure only current configuration is in place"...
Fix mac spoof when PPPoE is being used
When PPPoE is set and you change interface's mac address, the netgraphnode kept using the old parent interface mac address. Detach it beforeattach on interface_ppps_configure() will make sure it is using thecurrent mac address....
When a interface type is changed, old configuration remains. When moving from static ip to ppp, it kepts the static ip configured on interface, when moving from ppp to static ip, it doesn't kill mpd. Implement interface_clean() to make sure only current configuration is in place
Revert part of 8e9d126550 since it breaks wifi interfaces at boot time
fix indent on convert_real_interface_to_friendly_interface_name()
Remove some trailing spaces and tabs from EOL
Remove a couple of call-time pass-by-reference for interface_ipalias_configure()
Check if interface really exists on interface_ppps_configure() and interface_configure()
Fix convert_real_interface_to_friendly_interface_name() when parameter is already a friendly name and interface is using PPPoE. It should fix #2641
Fix get_parent_interface() for ppp interfaces, it was using an unset variable $ppp_if
Make sure the dhcp6c client always launches with the correct real interface argument.Make sure we do a filter_configure_sync() here as otherwise the existing firewall rules (during boot) would block the dhcp6c client.
The ISC client was far worse then the WIDE client was, back to plan ARevert "Merge changes required for using the ISC dhclient in pfSense with prefix delegation. This should hopefully be a bit more reliable in the long run."
This reverts commit 651018775c78e38045966825b920b641a0302b43....
GC cmd_chain.inc it never found uses since pfSense module got used more. Also fix the problem with pfsync on bootup waiting 30 seconds since cmd chain was executed after and pfsync was never brought up to compleete the sync.
Since there is a firewall no need to do ingress checks in the routing table
Add IP alias support to GIF interfaces
Make gateways for assigned OpenVPN servers as well as clients.
Put the CP call during reload of interface under function_exists its not fatal and in some scripts captiveportal might not be included
Add extra checks for reading and saving certain wireless settings and fix an existing check.
ARP Table Static Entries from Individual DHCP Static Mappings
Assign individual DHCP static mappings as ARP table static entries.Useful / necessary for sending WoL magic packets from external services / sources, and for any other purpose that needs a static ARP table entry.
Fixes #2703 correctly remove ips from v6 interfaces. Also cleanup the srd0 bits here
Do not echo any messages here as this would otherwise end up through the XML of the XMLRPC server.
Correct check
The pppoe handle script
Well seems its useful at list for bringing a link up with a phone call :)
Revert "Ringback is a feature only for listening on incoming calls which is not supported for now."
This reverts commit f459427fcf104776fbb59a4d2231f289855d2787.
Unset config var
Remoev spurious \r used here
Ringback is a feature only for listening on incoming calls which is not supported for now.
Add IPv6 support to this function so that IPv6 carp vips can be found
Resolves #2670. Mark vtnet interfaces as altq capable.
Switch to background launching
Merge changes required for using the ISC dhclient in pfSense with prefix delegation. This should hopefully be a bit more reliable in the long run.The dhclient6-script could be merged with dhclient-script in the future.Still need to cleanup old adresses and prefixes, as well as LAN prefixes when a old prefix dissapears. This needs some thought and clue to strap together.
Safety belt
show true/false in logged message instead of 1/<nothing>
Merge branch 'master' of git://github.com/bsdperimeter/pfsense
Some more state killing refinements.
while booting do not let carp wait for pfsync synchronization if pfsync is not enabled
Correct variable name. Fixes #2571
Make sure to skip "unexpected" RA messages from other interfaces, we don't want those.
A few launch improvements so that configuring the DHCP6 client on the WAN it immediately kicks in.With the fixed rc.newwanipv6 it should immediately spring to life.Redmine ticket #2414
Support IPv6 aliases, the frontend already does. Removing does not work yet.See ticket #2483
Actually do not try to reload everything during bootup since it will be done by bootup code
Get rid of carpdev, it will never be
Use preg_match instead, we should probably make this a function so we can add proper device detection schemes and a known list of command ports.That would also allow for resetting the 3g stick when it hangs.We should consider storing the device and manufacturer in the ppp config
Correct the variable to the modem device output.
Also include gwlb.inc in interfaces.inc
Always add a link-local of fe80::1:1 when the interface is set to track6. This allows webui access over IPv6 to a easy address.Make a shortcut in the get_failover_interface() function to get_real_interface() if we find the interface in $config.
Allow for failover DynDNS hostnames.replace get_real_interface() calls with get_failover_interface. If it isn't a group we call get_real_interface() anyhow.We can't put the logic inside get_real_interface() as this would create a recursionRedmine ticket #1965
Add statistic functions for the ZTE modems
Add support for the ZTE modem statsShould be generic enough for other modems too.
Unbreak tree, add }
We are on FreeBSD 8.3 now
Make sure to get the real interface in case we get passed a friendly interfaceRedmine ticket #2463
Do not add link-local address on carp interface manually. It causes them to go double master.Redmine ticket #2278
Only attempt to remove stale LCK files if they exist.
Allow for atleast 15 seconds before considering it a timeout, 60 would mean try once, since it would immediately hit the 60 second timeout
Fixes #2209. Obey the mtu value set on the interfaces.php page. Though this value will be overwritten if there is a configuration under PPP settings tab. Maybe a good idea is to set MRU at the same value if not set?
Be a bit smarter about the stats interface for the huawei cards. Some of the K series have the stats on 0.2, the E series on 0.3Some of the older E series only have 0.2 too. The new K3770 I got today is too new.
clean up old lock files for modem ports if a stale is left behind
Fix command, remove spurious '
Kill the old 3gstats collector. Clarify the log message
Make sure that we match multiple characters.Ticket #2415
First round of CARP vip renaming changesTicket #2415
Add 3G statistics for Huawei modems, split the Cellular stats out to per interface instead of global.
Fix variable test
Initialize variable if it's not set
Set the retry value to 60 seconds, this is not attempts, this is seconds before it needs a reply. So if the DHCP server was any sort of slow it would fail to aquire a lease. This was true for my wireless network at home. Plus, on various other lossy links, even cable modems this could be true....
Whoops, typo. Fixed now.
Don't pass a shell escaped version of $realifl to pfSense_bridge_add_member(). Fixes bridging
Minor corrections to function names in error messages
Generate the correct corresponding link local from the carp mac.
Add the correct fix to pick up the IPv6 gateway for slaac interfaces
Add support for SLAAC on the WAN interface, this is required for Stateless autoconf addressing.Normally this should only apply to Appliances that do not need to route. We automatically hook in the dhcp6 client to request name servers from DHCP6 in a information only mode. It will not attempt to request a address. For that you should use the plain DHCP6 option with a prefix size of none....
Strip the ::1 from the 6to4 gateway address
Add static routes for gif tunnel endpoints
Add a static route for the IPv4 relay so that 6to4 or 6rd on a OPT interface works as expected.
Feature #1864 "Start" button for IPsec should be available for IP alias networks
might need more testing.
http://redmine.pfsense.org/issues/1864
Unbreak interface.inc after manual merge
Make vips vhid be unique per parent interface!
Add realif overrides for tunneled interface, we want to override get_real_interface() here as it does not know address families and we don't know which the user wants.
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.