Merge backup_vip_function to the synchronize code where its only used.
Remove another unused function.
Move exec_command function to util.inc.
Rename filter_translate_type_to_real_interface to interface_translate_type_to_realMove this function to interfaces.inc where it belongs.
Remove unused function and function that provide the same functionality as php built-in ones.
Remove function that is present on php5.
More functions moving from pfsense-utils to interfaces.inc.
Fix "disable checksum offloading", and some other bugs with certain combinations of options while here.
Match 1.X behavior for PF macros. pptp and pppoe should be lowercase macros.
Fix polling.
Raise tab char count to 82
Bumb value to > 70 for dropdown invocation.
Convert tab strips into a select dropdown when there are more than 50characters appearing in the tab names combined.
Improve the matching of carp ints to IPs.Previously this stristr substring match would return incorrect/unexpected results. 10.0.0.1 would also match 10.0.0.16, 10.0.0.135. Adding a space to the IP to check will only match the specific IP given, since it is followed by spaces in the ifconfig output.
Remove ftp-proxy/pftpx/ftpsesame references we handle all of this in kernel now.(yay!)
cleanup minor javascript issues
Reverse style fixes to get our subnet mask listed backed from get_interface_info()
Fix display of DHCP status on Status -> Interfaces
Convert Status:Queues to ajax. This changes makes it no finally block the user interface and makes this page usable again.
Revert "Merge IPv6 changes"
This reverts commit 1f9f2a95b7b42cf33e730535092e56e214fdb848.
Conflicts:
etc/inc/filter.inc etc/inc/interfaces.inc etc/inc/pfsense-utils.inc
Fix get_interface_info function.
Correctly show actions such as Connect/Disconnect on Status Interfaces page.
Make the rc.banner a lot more faster.
Remove debug message.
Make sure we do not return the interface passed as parameter rather NULL.
Set CURLOPT_TIMEOUT to 0
Small cleanup.
Make L2TP known in other parts of system, schedules and the function get_interface_ip.
Add more L2TP improvements.
Merge IPv6 changes
Replace another route -n get command. These can sometimes hang and cause a filter reload to get stuck.Always use netstat -rn instead, these behave differently and can not hang according to ermal@
Add a function that compares current DNS to the dnscache file.If they are not identical it will return the old Ip addresses which canbe used for removal of old items before adding new ones.This is used by the rc.newipsecdns script when the remote ipsec gateway...
Remove enable_rrd_graphing()
Add unknown values for the extra data sources during boot
make sure the update fields are in the correct order
Move rrd graph data gathering over to pfctl instead of netstat, this uses 64 bit counters
Move command line after comment
Invoke pfctl for stats once and work with the output
Actually get the whole command output.
Better handle floating rules.
Update shcedule code to new world order!
Correct field value to check
Cosmetic change to use the available function instead of replicating the process here.
Remove quality graph backend, this is now apinger territory
Nuke stray n's
Remove function call not needed.
Would be good to give this function a sync/refresh with filter.inc changes.
Bring back to life tdr_create_ipfw_rule.
Remove debugging.
Introduce 2 new functionsfind_interface_subnet and get_interface_subnetsimilar to their ip onesfind_interface_ip and get_interface_ipto easy getting this info for dynamic interfaces.
Improve monitor IP lookup
Simplify and return correct information if dhcpd is active.
Add backtrace in the logs whenever log_error is called and debugging($g["debug"] ) is active.
Do not attempt to toggle polling on unsupported interfaces.
MFC: after testing confirms working with and without polling
Fix typo.
Do not parse vlans
Do not step on var
Do not toggle polling on vlan interfaces
Fix up functions for dynamic gateways
Remove unused var.
Cleanup some not needed code and use the correct debug var.A lot of code references $debug as var but actually there is only $g['debug'] and $debugging that are defined!!
Revert this and see if it affects any of problem reported on latest builds.
Read in tabcontrols.php and properly eval()
If /usr/local/www/themes/$themename/tabcontrols.php exists, then evalit and allow the tabbing colors and nifty corners to be overriden.
The file simply needs to look like:
$tab_active_bg = "#EEEEEE"; $tab_inactive_bg = "#777777";...
No need to lock config when setting filter update status
Cleanup the status queues so it does not does stupid things.Apparnetly this needs to be converted to 'ajax' calls as the traffic graph but for now live with this.
Reffer to correct variable
Set full path to ping
If we really can't find what to ping just continue with the next graph
Remove dependency on WAN having the default route.Also failed because it did not use the full path to /sbin
Make sure we get a valid address to ping for the rrd graphs.
Remove unrelated code from function. Add some style(9) to code so readability is improved.
Fix Wireless detection logic
Search disabled interfaces too, this is needed since some code assumes this(i.e. wireless).
Correctly gather statictics for virtual interfaces. Maybe bridge needs to be added to the list but i will have to test that further.
Remove the ppp hack from filter_translate_type_to_real_interface we know better now.
NOTE: Maybe someone needs to verify these strange checks on this function!
Make sure that convert_friendly_to_real also works for disabled interfaces.
Integrate part of the patch from ticket #1807.
The other part is already done on pppoe_up script in /usr/local/sbin.
Check if items are an array before treating them as such.
Fix detection if an interface is part of bridge.
Bring bridge related support functions up to date with the other bridge code.
NOTE: that the function link_int_to_bridge_interface needs a friendly interface as a parameter now i.e. "wan/lan/optX".
No need for the 'filtering bridge' option with if_bridge(4).
Cleanup authentication code. The basic auth method, the passwd, htpasswdand pam backing functions have been removed. The basic auth method waslegacy code and the backing functions were redundant with no added valuethat I could see. A simplified replacement backing function named...