summaryrefslogtreecommitdiffstats
path: root/src/etc/inc/gwlb.inc
Commit message (Collapse)AuthorAgeFilesLines
* Move to Apache License 2.0Renato Botelho2016-07-151-41/+9
|
* Review license / copyright on all files (final round)Renato Botelho2016-07-151-1/+1
|
* Review license / copyright on all files (1st round)Renato Botelho2016-07-141-49/+50
|
* Merge pull request #2847 from jazzl0ver/patch-1Chris Buechler2016-07-121-3/+15
|\
| * notify by email and in syslog when a channel goes up or downjazzl0ver2016-04-061-3/+15
| |
* | Shorten gwifip if whole socket path exceeds 100 charsDaniel Hoffend2016-06-291-4/+10
| | | | | | | | | | | | | | | | | | | | | | dpinger stopps with an error when the socketname exceeds over (around) 100 characters. The dpinger will not start and not deliver monitoring results to the WebUI. These long socket names can get created when using link-local addresses and long gateway names / interface scopes. See Ticket 6505
* | Use a different delimiter for dpinger socket namesDaniel Hoffend2016-06-291-5/+5
| | | | | | | | | | | | | | Currently underscores are used to seperate gwifip, monitorip, etc, but underscors are also used in vlan subinterfaces like em0_vlan10 and therefore can't be used because the interface scope is appended to IPv6 link-local addresses.
* | Fix scope for IPv6 link local gateway IPs. Ticket #6353Chris Buechler2016-05-131-1/+1
| |
* | Handle link local IPv6 gateways and default gateway switching correctly. ↵Chris Buechler2016-05-131-0/+11
| | | | | | | | Ticket #6258
* | Put gateway name and group around the correct wayPhil Davis2016-04-131-3/+3
|/ | | | | Redmine #6134 Forum: https://forum.pfsense.org/index.php?topic=109781.0 Originally broken by commit: https://github.com/pfsense/pfsense/commit/d18f3f6e09b86359395cd78db2e19f721818b992
* Fix display of gateway IP address and gateway/group descriptions in ↵jim-p2016-03-231-0/+1
| | | | firewall_rules_edit.php.
* Adjust default parameters to match changes in dpingerDenny Page2016-03-031-3/+3
|
* Fix a typo.Luiz Otavio O Souza2016-02-241-1/+1
|
* Merge pull request #2660 from phil-davis/gtetc1Renato Botelho2016-02-171-12/+11
|\
| * Internationalize etc inc a-i filesPhil Davis2016-02-171-12/+11
| |
* | Fix interface write_config message for ↵Phil Davis2016-02-151-1/+1
|/ | | | | dhclient_update_gateway_groups_defaultroute Typo in var name.
* Fix style issues.Chris Buechler2016-02-091-3/+6
|
* Review of CARP uniqid changes.Luiz Otavio O Souza2016-02-091-21/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It turns out that current CARP implementation is not much different from an IP alias. This commit converts the IP alias to also use the CARP uniqid scheme, this simplify the code in all other places because now we have only two different cases to deal with: - A friendly interface name (lan, wan, opt1, etc.); - A Virtual IP - VIP alias (_vip{$uniqid}) - CARP or IP Alias. The parent of a CARP is always a friendly interface. The parent of an IP alias can be a friendly interface or a CARP (this is the only case of recursion of a VIP). This commit removes a few cases where CARP were still considered a interface (the old CARP implementation), fixes all the wrong cases of strpos() being used to detect a VIP address (wont work as it returns '0' which fails when tested as 'TRUE'), review the usage of CARP and IP alias as services bind addresses, fixes general issues of adding and editing VIP addresses. The following subsystems were affected by this changes: - IPSEC; - OpenVPN; - dnsmasq; - NTP; - gateways and gateway groups; - IPv6 RA; - GRE interfaces; - CARP status; - Referrer authentication. Fixes (and/or revisit) the following tickets: - Ticket #3257 - Ticket #3716 - Ticket #4450 - Ticket #4858 - Ticket #5441 - Ticket #5442 - Ticket #5500 - Ticket #5783 - Ticket #5844
* Return blank rather than 0ms/0% for unmonitored gateways latency and loss. ↵Chris Buechler2016-02-041-2/+2
| | | | Show on dashboard widget when a gateway is unmonitored. Ticket #2226
* Fix #5830Renato Botelho2016-02-041-1/+8
| | | | | Add a new advanced option on gateways to allow user define data payload. Default is 0
* Add standard deviation to gateway status and widgetDenny Page2016-01-181-0/+1
|
* Update license on files from /etc/incRenato Botelho2016-01-151-16/+40
|
* Adjust dpinger default values to match recent changes in dpinger projectRenato Botelho2016-01-041-2/+2
|
* Remove workaround to get dpinger running when interface is in tentative stateRenato Botelho2015-12-301-20/+2
|
* Make sure source and target addresses have scope id when they are ↵Renato Botelho2015-12-291-23/+15
| | | | link-local. It should fix #5695
* Add a seatbelt to prevent 2 dpinger instances for same GWRenato Botelho2015-12-291-0/+3
|
* Collect dpinger processes that failed to start and try again after 1 second, ↵Renato Botelho2015-12-291-2/+25
| | | | this should be enough to fix #5711
* No need to return 0 hereRenato Botelho2015-12-291-1/+1
|
* Change start_dpinger() to return dpinger return codeRenato Botelho2015-12-291-1/+2
|
* Do not overwrite $paramsRenato Botelho2015-12-291-1/+1
|
* Merge pull request #2332 from dennypage/masterRenato Botelho2015-12-291-0/+1
|\
| * Disable unused stdout reporting threadDenny Page2015-12-281-0/+1
| |
* | Follow dpinger and change default loss_interval to 4* send_intervalRenato Botelho2015-12-291-1/+1
|/
* update comment for dpingerChris Buechler2015-12-241-3/+2
|
* Return complete path for dpinger PID filename, it should fix #5686Renato Botelho2015-12-231-1/+1
|
* Be less specific with dpinger PID filename regex, old version was not ↵Renato Botelho2015-12-231-1/+1
| | | | matching IPv6 addresses, with or without %ifname in case of ll
* Rework dpinger related code to new versionRenato Botelho2015-12-181-49/+75
| | | | | | | | | | | | | | | | | - s/-U/-u/ - Add -i GW_NAME to get this info on logs and make life easier - Since -i parameter will be send to alert_cmd, remove it from command - Add source and target IP addresses on pid/socket filename since status doesn't provide it - add more details on return of running_dpinger_processes - srcip - targetip - pidfile - socket - Simplify stop_dpinger() logic - Check if alarm is on based on config values in get_dpinger_status() because dpinger status doesn't return alarm status - Read gateway friendly name from status on updaterrdb.sh
* Remove all pfSense_MODULE and pfSense_BUILDER_BINARIES definitions, whatever ↵Renato Botelho2015-12-151-3/+1
| | | | was the reason they were added, it was never finished and it's not being used
* Use default values for latencylow and losslow when they are not defined by ↵Renato Botelho2015-12-111-6/+19
| | | | user. Reported by grandrivers at https://forum.pfsense.org/index.php?topic=103818.msg579069#msg579069
* Convert latency to ms before use it to compare with value defined in gateway ↵Renato Botelho2015-12-111-3/+3
| | | | conf
* gwlb array key typo loss_intervalPhil Davis2015-12-111-3/+3
|
* Ticket #5624: Welcome dpinger!Renato Botelho2015-12-101-251/+185
|
* Move main pfSense content to src/Renato Botelho2015-08-251-0/+1252
OpenPOWER on IntegriCloud