Ticket #866 #632. Save old settings or actions to be taken for reconfiguring a route/vip on a tmp file and make use that information when apply settings buttons is clicked. This makes the gui behave as expected.
Ticket #867. Do not destory interfaces other than preventing a loop for ppp interfaces during interface configuration.
Correct binaries and find_dhclient_process
Make this more readble.
Ticket #860. Honor the parameter if passed.
Ticket #860. Correct code for proxyarp/choparp starting. Not sure why php did not bail at some code here missing curlies :).
Actually it should test the other way.
Ticket #846. Do not try to add an interface to the bridge during an event of LINK_UP.
Allow carp interfaces to sit on top of aliases. Also add safety belts to ipalias deletion for this to avoid breakage. Trigered-by: http://forum.pfsense.org/index.php/topic,27834.0.html
Fixes #847. Check even interface groups before allowing deletion of an interface. Also try to readd to a group an interface when configuring.
Revert "Use get_real_interface here and compare to that to make it more generic instead of doing this wireless-specific stuff." which probably ended up doing some recursion in various cases, especially slowing down as it goes down a larger list in this foreach loop....
Tiny change to boot message to remove redundant info and make it pretty.
Add run(4) to known wireless nics. Reported-by: http://forum.pfsense.org/index.php/topic,27744.0.html
Add bwn to interface lists too.
When booting up do not try to configure ovpn[c|s] interfaces if present also try to configure openvpn eariler just after the interfaces have been setup.
Ticket #684. Dispatch the reloading of the interface in dial-on-demand case to easy the GUI responsivess.
Make dhcrelay GUI be simple and easy to use by collapsing the interface tabs to a multiselect control. Remove proxydhcp option because it is broken and is not trivial to make it usable(if user request for it a reconsideration will be made). Allow multiple server ips on the server input box separated by commas. Also on the interface list do not show interfaces without an ip because dhcrelay will not be happy with them. Upgrade code is also included in this commit.
Ticket #684. Actually when reconfiguring an interface send the destory flag to avoid a loop with ppp-on-demand.
Setup polling per interface rather only at bootup. This is a proper fix and a optimization on large interface cases. Also setup_microcode and polling defaults before configuring interfaces.
Fixes #88. Actually fix all the mess that was caused by setup_microcode() which overwrote the whole decisions being made on boot from other code. Solve this by moving the setting of all interface capabilities to interface_configure() and just leaving microcode setup to setup_microcode. Also optimize and make more readble the polling setup if activated/deactivated. This also fixes the ticket issue because the settings are now kept after booting up and not overwritten by other code.
Reshufling for better reading of code.
Ticket #88. When creating the bridge find the common flags needed related to rxcsum/txcsum so that the bridge actually works.
Also mark wlan cloned interfaces as altq capable.
Add l2tp where missing. Also add l2tp and igb to altq capable interfaces.
If mpd.conf files exists in the /conf directory, link to it instead ofgenerating a new one from config.xml data.
This allows power users to tweak mpd conf to their delight, and givesdevs a way of testing out conf tweaks without needing to alter php code.
Expose MRRU settings in the GUI for PPPoE (MLPPP).
Do not require a refernce passed because seems php likes to screw with it internally. This should have be the second belt at Ticket #819.
Add 8021.x preauth (rsn_preauth)
Fixes #684. Test file existence before trying to kill the process. Also correct interface name passed as parameter to interface_configure function, it should fix another ticket as a byproduct.
Use correct type so a proper config is generated. Reported by:http://forum.pfsense.org/index.php/topic,25465.msg141966.html#msg141966
Get the real flags set on the interface to make code below work properly! Ticket #88.
Add backend code for antenna settings. Ticket #13
Add reference instead of copying also remove bogus comment and code that relies on interfaces named carp which should not happen anymore.
Use get_real_interface here and compare to that to make it more generic instead of doing this wireless-specific stuff.
Since convert_friendly_interface_to_friendly_descr is now used for display purposes only, it should be fine to fix the case on PPTP and PPPoE.
Revert "Adjust case of aliases/description names for PPTP and PPPoE server interfaces." since it affects a package that is using the pptp alias.
This reverts commit 429cac0198aea4c42f815e639fb123157de1861b.
Don't create the wireless section of the config for an interface section that doesn't exist.
Make convert_real_interface_to_friendly_interface_name recognize that the parent wireless name in the config means the same as the #0 clone. Fixes a bug in is_interface_wireless that could cause it to create a blank interface entry.
Adjust case of aliases/description names for PPTP and PPPoE server interfaces.
Correct capitalization for PPTP and L2TP in a couple places.
Small optimization for convert_friendly_interface_to_friendly_descr. Do not build an interface list for the most common cases.
Ticket #776. reload even ipalias type of vip when reloading carps and do not destroy cloned interfaces on interface bring down.
Be more correct and do the same checks for RXCSUM capabilities as is done for TXCSUM one.
Ticket #88. Correctly use the parameter returned from link_interface_to_bridge to actually set the flags on the interface being configured the same as the bridge. While here simplify gre/gif handling too.
Ticket #752. Actually do this only for openvpn client instances.
Ticket #752. Consider openvpn interfaces as ones with gateways now that the up/down scripts write the appropriate information.
Add a checkbox to make syncing shared wireless settings to a central area optional.
Add a central location that shared wireless settings will sync to/from.
partially fix Status>CARP enable/disable
only match with a space behind the IP, otherwise 10.0.0.6 CARP IP may match against interface IP 10.0.0.60, and show incorrect info on the CARP status page
Ticket #667. Actually destroy when trying to reconfigure an interface.
Ticket #667. Take another approach at handling dial-on-demand and Connect/Disconnect button. If the link is chosen for dial on demand during a disconnect request it will be brough up again instead of just leaving it down so traffic will flow easily when there is a request.
Remove extra }
Fix up checks for changing wireless regulatory settings.
Also teach system_routing_configure to have an interface as parameter so to reload only routes related to this interface when an interface is reconfigured.
Do not reconfigure CP on every event of interfaces or while reloading the webGUI. Create 2 new function to just rewrite rules and restart the webserver for CP repctively for interface events and webGUI restart events.
Actually it needs choparp_ prepended.
Fixes #632. When bringing down a vip of proxyarp use the new pidfile introduced. Also teach about interface argument to proxyarp function so it can start only a instance of an interface.
Fixes #667. Do not bring down mpd5 if the interface is configured for dial on-demand.
Fix comments to work better.
Merge branch 'master' of rcs.pfsense.org:pfsense/mainline
Comment out log suppression. No front end control implemented yet.
Fix typo. Ticket #632
Ticket #88. Add checks to disable txcsum when needed for wirless interfaces so it does not break bridging when teh interface itself is reconfigured.
Simplify/optimize code for carp [re]configuration. This is possibly related to Ticket #601. Also this speedups vip creation on large number of interfaces.
Fixes #632. Use the correct function to handle vip destory.
Remove extra code that isn't needed any more in interfaces.inc.
creating pppoe reset file is now handled directly in interfaces_ppps_configure function.
Fix empty data shown in interfaces_ppps when dislaying modem interfaces.
Also, clean up interfaces_ppps_configure. For PPtP/L2tP if Local IP field isleft empty, try to get the IP from the physical interface if it has one. If notjust log error and abort.
Actually seems this option is deprectated. Thanks-to: gnhb
Place bundle options at the bunlde code section.
Fixup code.
With no * mpd will suppress some of the logs, but still doesn't seem quite right.
Take out all code that assumes to use DHCP for local ip if local ip is left blank.
Also, check for blank local IPs and error out if they occur.
Remove old interface_pppoe_configure and interface_pptp_configure functions.
Fix some things in interfaces.inc, attempt to suppress mpd log verbosity.
Fix also localip handling in interfaces.php
Catch up with latest ppp configuration type in convert_real_interface_to_friendly_interface. Fix some logic on interface_ppps_configure to support for assigned interfaces to be used as members.
Do not log useless log and do the check earlier as a microoptimization.
Clean up pptp a bit and modify text description in interfaces_ppps_edit
Fix up for new ptpid scheme and new iface naming scheme.
Fix missing "or" ||.
Fix up for new ptpid scheme and iface name scheme.
Make pppoe reset work again with new <if> naming scheme.
Previous commit also moved pppoe reset functions to interfaces.incso we don't have to duplicate in interfaces.php and interfaces_ppps_edit.php
Also, add code so that when ppp config section gets deleted, associated <cron>...
Change ptpid to use sequential number. This makes Ermal happy. :)
Also add <if> section to <ppps><ppp> which is ppp type + ptpid.`
Fix all issues that Ermal found.
Interfaces.php problems.1- When creating a pppoe ptpid on the config is empty(<<ptpid/>).2- after switching from pppoe to pptp in the config there remainspppoe-reset-type which is not that much of a bug but needs to be...
Give more time for getting dhcp address and DNS lookup.
Merge branch 'master' of http://gitweb.pfsense.org/pfsense/mainline into mlppp
Conflicts: etc/inc/interfaces.inc etc/inc/pfsense-utils.inc
Fix up little things.
Initial support for DCHP+PPtP/L2tP. DHCP + PPPoE is supported too.
Must create an OPTx interface and set to DHCP for DHCP+PPPoE.
Add some missing code to convert_real_interface_to_friendly_interface_name. There is no need to go through all the interfaces just to find out if an interface has a gateway or not and is the same for finding the real interface name of a friendly interface. Also while here do not rely on stristr for finding if an interface exists rather do a proper matching on interface name otherwise wrong results might come up.
Set default values to what we've had in the past.
`
Use the functions from the pfSense module to configure interfaces on interfaces.inc.
When an interface spoofs its mac address change the mac address of all vlans having it as parent. Remove such code from the vlan configuration phase since this is way the mac change will always get propagated and its faster.
Delete the interface_ppp_configure function and change how PPP data is saved.
PPP data entered in interfaces.php was clobbering data that didn't have associatedfields in this page. Fixed now. Also, add a little PPP section to interfaces.php fileto point users in the right place to create the configuration.
Conflicts: etc/inc/pfsense-utils.inc usr/local/www/interfaces.php
Add client l2tp support. Not complete yet.
Remove all "defaultgw" settings from PPPs config page.
Just use existing defaultgw configuration settings from System:Gateways settings.
Fix many things related to PPP connections.
Fixed tab array numbering in interfaces_* files. Enabled multilink over PPtP connections.Fixed handling of bandwidth, mtu, mru settings. Removed unnecessary curly brackets fromsingle line if conditionals, and more . . .
On gre/gif case when the interface is saved do a reconfigure of the underlying interface itself. This helps when an interface is enabled/disabled as reported on http://forum.pfsense.org/index.php/topic,25329.0.html.
pfSense_get_interface_stats no longer gives the up/down status of the interface, so use pfSense_get_interface_addresses instead.