More PHP81 fixes for gwlb.inc. Fixes #13563
PHP81 fix in gwlb.inc. For #13514
Fix gateway group error from PHP 8.1. Issue #13446
Replace multilevel array accesses regarding v4 and v6 gateways
VPN restart on Gateway options change. Issue #13076
Suppress php warning when using unlink. Fixes #13112
Fix typo. Issue #13076
Reload IPsec and OpenVPN on gateway IP or force_down option change. Issue #13076
Remember dyn GW when if is down. Issue #12931
Revert "Skip gateway if interface is down. Fixes #12920"
This breaks some gateway operations because the gateways disappearentirely when the interface loses link.
This reverts commit c07c5cf5f2387cb2b9efdf25545bafebfa414f00.
New methods for killing states. Implements #12092
Skip gateway if interface is down. Fixes #12920
Merge pull request #4551 from luckman212/dpinger_dont_add_static_routes
adds option to not auto-create static routes for dpinger (squashed)
Remove default gateway if Mark Gateway is set. Fixes #12536
Fix dynamic IPv6 gateway address resolution. Issue #12847
Merge pull request #4554 from lmcquade/master
Delete static default route if default gateway is NONE. Fixes #12536 #11692
Fix formatting. Add get_ll_scope() check.
Change get_gwgroup_members to include interface in link-local IPv6 addresses (Bug #12721)
Update the Copyright year of the files owned by Rubicon/Netgate.
Input validation to prevent removing a gateway if it is still in use by DNS servers. Fixes #8390
IPv6 fix for setdefaultgateway(). Issue #12282
IPsec updates to address multiple issues
Mute boot messages for inactive services. Issue #12038
Automatic default gateway set fix. Issue #11729
Remove WireGuard support
Out of an abundance of caution while we investigate the claims aboutWireGuard in public, we need to remove it from pfSense Plus and CE inorder to shield customers from potential risk.
Suppress errors when opening router file. Fixes #11314
Automatic WireGuard interface gateways. Part of NG 5437
Update the Copyright year.
A subsequent commit will deal with .po's.
Ticket #9270: Make sure parameters are UTF-8
As described on ticket, for some reason we still don't know, whenpfSense_kill_states() is called with subnet as parameter (n.n.n.n/n) itmakes changes on $_POST content that can lead system to unpredictableresults....
Fix #204: Add messages to all write_config() calls
Auto add static routes for PPP interfaces. Fixes #10407
Revert "Remove non captive-portal logs from Local4 syslog facility."
This reverts commit 6960993dc53c559619fe3f8d8ea903e7730b4fa6.
Revert "Adjust some missing ident on syslog"
This reverts commit 12719a87e3ba77f5459938a4cfec7f007bbe0c4a.
Check correct value and fix regression introduced by 9eae3005e1200319a14d6ebafe92c52885bf1cfd
Revert "Fix monitor address on correct variable"
This reverts commit 9eae3005e1200319a14d6ebafe92c52885bf1cfd.
Adjust some missing ident on syslog
Fix monitor address on correct variable
Revert "Prevent possible race condition, fixes #9450"
This reverts commit 5affb137561c74bb5559f0706c86c28a85b14557.
Revert "Fix #9450"
This reverts commit 0de6758e2893e4390acfa0b55e31b1dece231618.
Fix #9450
Change default value for clear_alarm to true so cache file is used onlyonce. We can't be sure the value on cache will remain the same even ifthe status of gateway doesn't change.
Replace unlink() by unlink_if_exists()
Style fixes
Add missing parameter to get_dpinger_status() call
Prevent possible race condition, fixes #9450
Instead of calling get_dpinger_status() again in the code handling dpingeralarms, save the original alarm status in rc.gateway_alarm to a file, thenread the status from the file.
Minor text fix. Issue #10546
No need to log the PID, it's added to the logs anyways.
Add gateway substatus. Fixes #10546
Update return_gateways_status to return a substatus as well as the existing status.
status changed to be one of online or down.substatus can be one of none, down, highloss, highlatency, loss, latency, or force_down...
Merge pull request #4190 from vktg/remove00vti
Rework route functions
- Created route_table() that returns an array containing all items from route table. It uses --libxo to get a json object- Created route_get() that return an array with route items to desired target- Created route_get_default() to get current default route for inet or...
Remove extra 00 padding of VTI interface names. Issue #9592
Fix some illegal string offset errors. Issue #10659
Revise default gateway handling for speed
Move gateway interface friendly name functionality to gwlb.inc
Fix indenting
Fix typo in comment
Revise return_gateways_array() to include the tier name in hte returned array. This avoids the need to call the function for every gateway in the array and makes life easier for system_gateways.php, which no longer needs to call multiple functions to get the display information.
Merge pull request #4240 from Kapmeister/master
Merge pull request #4150 from Augustin-FL/captiveportal-db-sync
Set the default ICMP data payload size to 1 in dpinger probes.
This fixes the dropping of the ICMP probes in some broken routers/ISPs.
There is no increase of the packet size on wire as probes are smaller than 60 bytes (all probe packets are padded)....
Remove non captive-portal logs from Local4 syslog facility.Various logs are recorded in local4 in HA situation. They should not be recorded here.Redmine #97
Telegram Notification Support. Feature #10354
Readmine feature https://redmine.pfsense.org/issues/10354 ready for review.
This is 2020. Issue #9245
Fix syntax error
fixes
fix route delete code
Suppress errors from touch when marking GW down. Fixes #9851
Fix copyright message years to reflect BSDP -> ESF -> Netgate
Merge pull request #4044 from PiBa-NL/20190127-actually-show-current-default-route
Fix #8821: Deprecate Growl Notifications
Growl appears to be abandoned upstream. No updates in ~5 years, and few ifany users on pfSense
Remove code commented out in 2013
Fix deeper continues. Issue #9365
Target the proper loop in switch statements. Issue #9365
Routing, actually show the "(default)" mark on the default route as it is present on the OS
Most obvious problem was when manually switching from WANGW1 to WANGW2 it showed both as (default) after saving the setting and before applying it. Also after applying it would require another page refresh to show the updated situation. Also add a little information box that shows what (Default) means for the user.
Update gwlb.inc
(cherry picked from commit 58d009bc41137e77d799e53a8ce8c02215274eac)
Correct BUG 9004 -> set the default gateway when system start and a gateway_group is default IPV4 gateway
(cherry picked from commit 67dd34a0996c14fdfeb1823e07fb3c82748d3794)
Update copyright notices to 2019. Happy New Year
Fix #9121: Initialize arrays to prevent PHP 7 errors
Merge pull request #3987 from PiBa-NL/20180920-apinger-wait-for-terminate
Merge pull request #3984 from luckman212/gwlb-log-spew
garga changesmove conditional before platform_bootingand join w && instead of indenting
gateway monitoring, wait for apinger to terminate or remove its pid file when restarting it.
Fix #8910: Restore older versions behaviour and consider 'wan' interface as primary default gateway
reduce the tons of log spew that currently spit out during bootand gateway failure events. Try to make the logs readable again,while still allowing verbose logging if needed via a new hiddenconfig option:
['system']['gw-debug']
Fixed #8880
Merge pull request #3967 from PiBa-NL/20180729-alias-with-carp-parent
Merge pull request #3962 from PiBa-NL/20180708-routing-default-gateway
interfaces, ipalias fix initializing ipaliases that have a carp parent after interface down / up
Fix PHP error when adding a gateway from interfaces.php. Fixes #8680
routing, when a new pppoe connection is made the gatewaymonitor should be started before decisions about default route can be properly made. also for 'automatic' provide a fallback to the first enabled gateway thats configured, just in case..
Removed debug statement
Changed it to just use the variable name
Fixed #8633 PHP7 issue use of undefined constant, Should work as it did before.
routing, add option 'automatic' for gateway selection, and allow manual ordering of gateways
routeing, gateways show proper IPv4 IPv6 default, also for dynamic gateways
routing, fix setting the default-route when the configured default gateway is a dynamic pppoe gateway. it doesnt have a gateway-status when it hasn't connected yet.
Fix IPsec VTI gateway generation to match interface changes. Fixes #8544
Please welcome routed IPsec using if_ipsec VTI interfaces. Implements #8544
To use, create a P1/P2 and set P2 to VTI using local/remote network as tunnel endpoint addresses, then assign the interface (enable, but IP type = none), and use like any other interface for routing.
Suppress route command errors and related debug output. Fixes #8497