Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #984 from phil-davis/master | Renato Botelho | 2014-03-04 | 1 | -8/+10 |
|\ | | | | | Return GWG IP protocol (version) when no gateway IP | ||||
| * | Return GWG IP protocol (version) when no gateway IP | Phil Davis | 2014-02-27 | 1 | -8/+10 |
| | | | | | | This is a resubmit of an older pull request I had closed. It came up again in the forum, with a user setting up a VM environment and wondering why he cannot make policy-routing rules to a gateway group. The gateway group names did not display because all his WANs were down at the time and so the existing code was too dumb to determine the IP protocol (version 4 or 6) when none of the WANs in the gateway group actually have an IP address yet. | ||||
* | | Remove broken 'dynamic6' gateway, we already have ipprotocol to tell us the ↵ | Renato Botelho | 2014-03-03 | 1 | -6/+6 |
| | | | | | | | | IP version, leave it more simple using only 'dynamic'. It helps #3484 | ||||
* | | Fix typo on var name | Renato Botelho | 2014-03-03 | 1 | -1/+1 |
| | | |||||
* | | Small correction for clear code | Ermal | 2014-02-28 | 1 | -2/+2 |
| | | |||||
* | | Ticket #3484 Correct the case for GRE tunnels as well since they behave the ↵ | Ermal | 2014-02-28 | 1 | -1/+2 |
| | | | | | | | | same. GRE seems to need the prefixlen 128 specified all the time so do it explicitly to be on safe side | ||||
* | | Fixes #3484. Provide a dynamic gateway for gif v6 tunnels so it can be used ↵ | Ermal | 2014-02-28 | 1 | -0/+2 |
|/ | | | | on firewall rules etc. The guide for setting up this tunnels on docs need to change to leave the gif interface as none type. People upgrading need to fix this themselves with a not on release notes. This can be fixed if the kernel condition is relaxed to allow setting the prefixlen on the tunnel as ipv4 | ||||
* | Gateway Monitor Advanced Settings | N0YB | 2014-01-24 | 1 | -6/+42 |
| | | | | | | | | | Exposes 3 additional apinger configuration options in the gateway monitor advanced section which can either be set manually, calculated based on interval, or use the hard coded defaults. 1) Avg Delay Samples 2) Avg Loss Samples 3) Avg Loss Delay Samples The current hard coded defaults are okay for a short interval such as the 1 second default. But do not work well when a longer interval is required. | ||||
* | Add an option to force a gateway to be down, it fixes #2847 | Renato Botelho | 2014-01-06 | 1 | -0/+3 |
| | |||||
* | Fix a bug introduced in commit 06b8d43c that breaks return_gateways_array() ↵ | Renato Botelho | 2013-12-27 | 1 | -1/+1 |
| | | | | called with $disabled == false | ||||
* | No reason to set the same value to ipprotocol | Renato Botelho | 2013-12-27 | 1 | -2/+0 |
| | |||||
* | Add a new param to return_gateways_array and make it return gateways when ↵ | Renato Botelho | 2013-11-26 | 1 | -4/+8 |
| | | | | interface doesn't exist. Default behavior didn't change. Also check the new gateway parameter (disabled) when filtering | ||||
* | Fix an issue that changes wrong gateway entry when items are hidden | Renato Botelho | 2013-11-21 | 1 | -2/+4 |
| | |||||
* | Don't flush interface cache on each call of the function when looping ↵ | jim-p | 2013-11-20 | 1 | -2/+4 |
| | | | | through all gateways. | ||||
* | Revert "Define dynamic gateway for GRE interfaces and do not user to define ↵ | Renato Botelho | 2013-10-29 | 1 | -4/+0 |
| | | | | | | | | IP address to the interface. Fixes #3280" Another solution will be implemented This reverts commit 6721d6d0443bd7e697bd6ca33f470c801608df7e. | ||||
* | Define dynamic gateway for GRE interfaces and do not user to define IP ↵ | Renato Botelho | 2013-10-29 | 1 | -0/+4 |
| | | | | address to the interface. Fixes #3280 | ||||
* | Make return_gateways_array() return all disabled gateways when $disabled is ↵ | Renato Botelho | 2013-10-28 | 1 | -1/+1 |
| | | | | true, it should fix #3291 | ||||
* | Bring back static routes to fix issues reported on Ticext #3179 | Ermal | 2013-09-03 | 1 | -0/+24 |
| | |||||
* | Fix #3172, return_gateway_groups_array() was returning the last vip since it ↵ | Renato Botelho | 2013-09-02 | 1 | -3/+3 |
| | | | | was using wrong variable name on iteration | ||||
* | Ooops fix this to add only th einterface | Ermal | 2013-08-16 | 1 | -1/+1 |
| | |||||
* | Add scope identifier to target when its link-local | Ermal | 2013-08-16 | 1 | -0/+2 |
| | |||||
* | Cleanup some code that is not needed anymore | Ermal | 2013-08-14 | 1 | -3/+1 |
| | |||||
* | Force apinger to write the status file before getting gateway status | Ermal | 2013-08-13 | 1 | -1/+5 |
| | |||||
* | Reload apinger now that we can rather than restarting. Related to Ticket #3119 | Ermal | 2013-08-02 | 1 | -7/+10 |
| | |||||
* | Fix #3113, fix multiple english spell errors s/seperet/separat/ | Renato Botelho | 2013-07-28 | 1 | -1/+1 |
| | |||||
* | Fix #3091, fix bad var assignment | Renato Botelho | 2013-07-13 | 1 | -1/+1 |
| | |||||
* | Resolves #2910. Make apinger write its status file just after starting so ↵ | Ermal | 2013-07-05 | 1 | -0/+2 |
| | | | | that thing work as expected | ||||
* | Remove referenced binary not used anymore | Ermal | 2013-06-17 | 1 | -1/+1 |
| | |||||
* | Remove unused code and spurious alert | Ermal | 2013-06-17 | 1 | -16/+0 |
| | |||||
* | Use file_put_contents for simplicity and readbility | Ermal | 2013-06-17 | 1 | -3/+1 |
| | |||||
* | Replace all linklocal checks by is_linklocal() | Renato Botelho | 2013-05-09 | 1 | -1/+1 |
| | |||||
* | Fixup gwlb functions related to gw failover | Phil Davis | 2013-05-07 | 1 | -2/+2 |
| | | | | Make apinger pass the gateway parameter both when an alarm alarms (gateway is down) and when it comes good (gateway is up). This way the downstream openvpn and dyndns code can know what happened and do sensible stuff. Return the friendly interface name ("wan", "opt1" etc) rather than the actual device name ("vr0", "vr1" etc). The openvpn and dynamic dns code that uses this needs to work with various entries in the config that all use the friendly interface name. | ||||
* | ipprotocol is inet or inet6 | Renato Botelho | 2013-04-25 | 1 | -1/+1 |
| | |||||
* | Take dynamic6 into consideration too | Renato Botelho | 2013-04-25 | 1 | -1/+1 |
| | |||||
* | Deduplicate and simplify code | Renato Botelho | 2013-04-25 | 1 | -44/+12 |
| | |||||
* | Make more strict comparison to avoid type issues when gw name only contain ↵ | Renato Botelho | 2013-04-18 | 1 | -1/+1 |
| | | | | numbers. Fixes #2956 | ||||
* | Fix whitespace and indent | Renato Botelho | 2013-04-18 | 1 | -33/+33 |
| | |||||
* | Add default case when detecting dynamic gateway ip | avandeweghe | 2013-04-15 | 1 | -0/+16 |
| | | | Add a default to $wancfg['ipaddr'] case for both ipv4 and ipv6 to allow gateway ip to be returned rather then 'dynamic' for an openvpn connection | ||||
* | Make fe80: addresses check case insensitive | Renato Botelho | 2013-04-14 | 1 | -1/+1 |
| | |||||
* | Use apinger macros to send the gateway name for openvpn and dyndns. Ipsec ↵ | Ermal | 2013-04-12 | 1 | -1/+1 |
| | | | | will reload all of it since its single process | ||||
* | Provide a function to get all gateway groups a gateway is member of | Ermal | 2013-04-12 | 1 | -0/+22 |
| | |||||
* | Optimize a bit interface_gateway_group_member | Ermal | 2013-04-12 | 1 | -4/+8 |
| | |||||
* | Check if the argument is a gateway or an interface | Ermal | 2013-04-12 | 1 | -1/+1 |
| | |||||
* | Correct code and initialize properly variables escpecially arrays. Also do ↵ | Ermal | 2013-03-26 | 1 | -84/+82 |
| | | | | fixes and simplificate to make it more readble | ||||
* | Correct check from previous code path simplification | Ermal | 2013-03-26 | 1 | -1/+1 |
| | |||||
* | Initialize some arrays to avoid php issues and also use list() here to avoid ↵ | Ermal | 2013-03-26 | 1 | -4/+6 |
| | | | | double array dereference | ||||
* | Simplify a bit code branching no change on functionality | Ermal | 2013-03-26 | 1 | -31/+33 |
| | |||||
* | Track apinger status in /var/run instead of /tmp | Ryan Dlugosz | 2013-03-20 | 1 | -5/+5 |
| | | | | | | | | This is a one line status file updated every few seconds. It would be better to store this in /var/run since that is (always?) a ram disk on pfSense. Especially important on systems with flash storage. see: http://forum.pfsense.org/index.php/topic,52734.msg281834.html#msg281834 | ||||
* | If gatway is dynamic the type cannot be determined, trim the code trying to ↵ | Ermal | 2013-03-18 | 1 | -18/+11 |
| | | | | do something impossible. While here optimize a bit | ||||
* | Try to remove as much as possible _stf special case through the code | Ermal | 2013-03-18 | 1 | -21/+5 |
| |