summaryrefslogtreecommitdiffstats
path: root/etc/inc/gwlb.inc
Commit message (Collapse)AuthorAgeFilesLines
* Make gateways for assigned OpenVPN servers as well as clients.jim-p2012-12-181-2/+2
|
* Add unsetErmal2012-11-211-0/+1
|
* Switch to is_array() check and add curlysmos2012-11-191-2/+3
|
* gateway monitoring, make the notifications generated clear to tell which ↵PiBa-NL2012-11-181-4/+4
| | | | gateway/group they are about
* Separate default gateway switching code to its own function, fix it to only ↵jim-p2012-09-261-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 ↵smos2012-09-131-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.smos2012-09-131-0/+22
|
* Reference the correct variable here, it was broken before and could never ↵smos2012-09-131-1/+1
| | | | have worked.
* Remove the filter configure call as this could otherwise lead to a recursive ↵smos2012-09-121-3/+3
| | | | filter configure.
* Put apinger default values into a functionPhil Davis2012-07-251-17/+22
| | | The default advanced apinger parameter values are now returned by function return_apinger_defaults. So they can easily be obtained by any code that cares.
* Make sure that we process the logic statement correctly, otherwise we might ↵smos2012-07-181-2/+2
| | | | accidentally end up missing dual stacked or tunneled interface gateways
* Change field name from lowloss to losslow ccesario2012-07-051-2/+2
| | | related in http://redmine.pfsense.org/issues/2537
* Reconfigure OpenVPN on gateway changesmos2012-06-301-2/+2
|
* Comment out adding static routes for gateway monitor IPs because we now bind ↵smos2012-06-281-2/+2
| | | | to the correct Interface with apinger.
* Fix: Warning: preg_match(): No ending delimiter '/' found in ↵Phil Davis2012-06-281-2/+2
| | | | /etc/inc/gwlb.inc on line 696
* Check in code that allows for using a gateway group as the interface on the ↵smos2012-06-251-10/+24
| | | | | | | | OpenVPN server page. Only allow IPv4 gateway groups for now. We'll need to add IPv6 suppport here later when we import OpenVPN 2.3. Unbreak the gateway group function on broken configurations like a missing 3G stick. Unbreak the interface IP/IPv6 code in openvpn.inc, we can listen on IPv4 or IPv6, not both. That path is now seperate which should cause less grief down the line. Adds to Redmine ticket #1965 which was for the IPsec failover.
* Needs a default case so IPv6 interfaces are resolved to a real interfacesmos2012-06-091-0/+3
|
* Changeover to the new multiple command pfSctlsmos2012-06-061-2/+2
|
* Reverse the arguments, i got them wrong.smos2012-06-061-2/+2
| | | | Redmine ticket #1965
* Trigger dyndns and ipsecdns updates through check_reload_status. IpsecDNS ↵smos2012-06-061-2/+2
| | | | | | already performs a filter_configure() too. Redmine ticket #1965
* Make sure to return the Null route gateways too for looking up a gateway entrysmos2012-06-051-3/+3
|
* Some minor enhancements from renaming the Gathering Data to Pending.smos2012-06-041-2/+2
| | | | When it doesn't exist in the array it's really unknown. Make that lightblue. show a ~
* Fix Typo, although the host might indeed be loca. We'll just keep it local ↵smos2012-06-041-1/+1
| | | | instead.
* Allow for Null routessmos2012-06-041-1/+17
|
* Unbreak php errors on login formjim-p2012-06-031-0/+1
|
* The gateway groups array now knows about vips to be tied into that gateway ↵smos2012-06-021-0/+6
| | | | | | group so we can tie the groups into services. Redmine ticket #1965
* Actually save the IPprotocol variable into the config, otherwise it stil ↵smos2012-06-011-2/+6
| | | | | | | | | | | won't work. People will likely need to edit and save their gateways now if they have double entries. e.g. both manual and automatically added entries, these will dissapear as soon as you save. If we know if the gateway or monitor is ipv4 or ipv6 we can autodetect which prevents this. Because we don't know what address family the gateway on a dual stack interface belongs to we better not guess, and let the user figure it out. Often, a edit and save is the fastest. For upgrading from 2.0 we could mark all gateways as being ipv4 which prevents half of the issues. Redmine ticket #2463
* Finally give in and sprout a Internet Protocol drop down on the gateways ↵smos2012-05-311-9/+36
| | | | | | | edit screen. With added validation and multiple detection parts to work when the value is not set yet. Redmine ticket #2463
* Add the address family tag to the gateway groups arraysmos2012-05-211-0/+1
|
* Allow saving on system.php if the gateways are down.smos2012-05-201-8/+11
|
* Prevent duplicate gateways from showing up if the interface is down. Redmine ↵smos2012-05-201-20/+50
| | | | ticket #2442
* Add the PPP automatic interface type. This would show the _PPP gateways.smos2012-05-201-0/+1
|
* Make sure VPN interface gateways are handled separatelyjim-p2012-04-181-0/+8
|
* Add the correct fix to pick up the IPv6 gateway for slaac interfacessmos2012-04-181-1/+1
|
* Make sure that SLAAC gateways show up in return_gateways_array();smos2012-04-181-1/+2
| | | | redmine ticket #1834
* Some IPv6 fixes for gateway groupsjim-p2012-04-141-3/+18
|
* Make sure that we use the right interface for 6rdsmos2012-04-061-1/+1
|
* Add better hardening to the dynamic gateway code, handle IPv6 networks bettersmos2012-04-041-19/+93
| | | | | Prevent duplicate monitor IP addresses in the apinger configuration, otherwise we might end up with -4 million milisecond responses. Show the actual type of dynamic connection appended to the gateway name
* Remove suprious debugging linesmos2012-04-011-1/+0
|
* Add the stf0 interface to interface_has_gateway_v6() for 6to4smos2012-04-011-2/+12
|
* Adding gateway support for 6rd support, does not add route yet.smos2012-02-251-1/+11
| | | | Adds to ticket #2117
* Fix for redmine ticket #1993. Allow saving multiple dynamic entries.smos2011-11-271-0/+26
| | | | Make sure that return_gateways_status() also returns all gateways that have monitoring disabled as up.
* Add a find_interface_ipv6_ll() to find the link local address of a interface.smos2011-09-011-1/+8
| | | | | Use this link local address for the apinger srcip otherwise we might try using the DHCP6 /128 address which will fail. We need to extend apinger or any replacement thereoff to understand the %{$realif} scope suffix for link local addresses so that these are always correct. This is important since link local gateway addresses are a normal thing and FreeBSD will complain otherwise.
* Another address family check for dynamic gateways, v4 has dynamic, v6 has ↵Seth Mos2011-08-291-0/+9
| | | | dynamic6 as string.
* Add a possible "dynamic6 type to differentiate between IPv6 and IPv4 dynamic ↵Seth Mos2011-08-291-4/+7
| | | | connections"
* Add a interface_has_gatewayv6() function to determine if a interface has a ↵Seth Mos2011-08-261-4/+3
| | | | | | IPv6 gateway. Implement that function return_gateways_array() to prevent ghost entries
* Add the IP protocol to the configured gateway list to prevent duplicate ↵Seth Mos2011-08-261-1/+6
| | | | entries on dynamic interfaces
* Remove stray echo statementSeth Mos2011-08-251-2/+0
|
* Remove stray print_r()Seth Mos2011-08-251-2/+0
|
* Automatically pick up on dynamic IPv6 interfaces. For Example dhcp6.Seth Mos2011-08-251-7/+56
|
OpenPOWER on IntegriCloud