Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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 | |
| | ||||||
* | Just set defaultgw after all gateways are processed, it fixes ↵ | Renato Botelho | 2013-02-27 | 1 | -18/+21 | |
| | | | | return_gateways_array() | |||||
* | This message can be really spammy on a failure if you have multiple gateway ↵ | jim-p | 2013-02-06 | 1 | -1/+1 | |
| | | | | | | groups. Disable e-mail notification of this message for now. If the e-mail actually made it out, at least one of the gateways must still be up... | |||||
* | If the user has IPv6 disabled, don't create dynamic IPv6 gateways. | jim-p | 2013-02-05 | 1 | -0/+4 | |
| | ||||||
* | Only allow gateways of the appropriate type (ipv4 or ipv6) to affect whether ↵ | jim-p | 2013-02-05 | 1 | -2/+2 | |
| | | | | a gateway is marked as default, otherwise you can end up with an ipv4 gateway marked as default for ipv6 and the gui just shows "default". | |||||
* | Oops correct interface name | Ermal | 2013-01-30 | 1 | -3/+3 | |
| | ||||||
* | Make gateways for assigned OpenVPN servers as well as clients. | jim-p | 2012-12-18 | 1 | -2/+2 | |
| | ||||||
* | Add unset | Ermal | 2012-11-21 | 1 | -0/+1 | |
| | ||||||
* | Switch to is_array() check and add curly | smos | 2012-11-19 | 1 | -2/+3 | |
| | ||||||
* | gateway monitoring, make the notifications generated clear to tell which ↵ | PiBa-NL | 2012-11-18 | 1 | -4/+4 | |
| | | | | gateway/group they are about | |||||
* | Separate default gateway switching code to its own function, fix it to only ↵ | jim-p | 2012-09-26 | 1 | -50/+54 | |
| | | | | operate on one address family at a time. Old method wouldn't re-set inet gateway if there was an inet6 default. | |||||
* | Make the gateway group member check a boolean, might convert to something ↵ | smos | 2012-09-13 | 1 | -3/+3 | |
| | | | | | | else at a later time so we could check group memberships. Also launch the dyndns configure if the dyndns interface is a gateway group name, could check membership later if we wanted. | |||||
* | Add function that checks if the interface is part of a gateway group. | smos | 2012-09-13 | 1 | -0/+22 | |
| | ||||||
* | Reference the correct variable here, it was broken before and could never ↵ | smos | 2012-09-13 | 1 | -1/+1 | |
| | | | | have worked. |