Project

General

Profile

Download (32.4 KB) Statistics
| Branch: | Tag: | Revision:

# Date Author Comment
32a9eb18 09/03/2013 04:52 PM Ermal LUÇI

Bring back static routes to fix issues reported on Ticext #3179

22234bbb 09/02/2013 11:00 AM Renato Botelho

Fix #3172, return_gateway_groups_array() was returning the last vip since it was using wrong variable name on iteration

17921b7e 08/16/2013 07:49 PM Ermal LUÇI

Ooops fix this to add only th einterface

42f33846 08/16/2013 07:35 PM Ermal LUÇI

Add scope identifier to target when its link-local

2c3924a1 08/14/2013 11:16 PM Ermal LUÇI

Cleanup some code that is not needed anymore

2db93ddb 08/13/2013 08:09 PM Ermal LUÇI

Force apinger to write the status file before getting gateway status

746f0afb 08/02/2013 02:04 PM Ermal LUÇI

Reload apinger now that we can rather than restarting. Related to Ticket #3119

5aa68a55 07/28/2013 01:31 PM Renato Botelho

Fix #3113, fix multiple english spell errors s/seperet/separat/

45eb8aeb 07/13/2013 02:41 PM Renato Botelho

Fix #3091, fix bad var assignment

f4a8e38c 07/05/2013 10:53 AM Ermal LUÇI

Resolves #2910. Make apinger write its status file just after starting so that thing work as expected

bf8c7971 06/17/2013 09:25 AM Ermal LUÇI

Remove referenced binary not used anymore

4cbc0ae9 06/17/2013 09:23 AM Ermal LUÇI

Remove unused code and spurious alert

de82ec90 06/17/2013 09:23 AM Ermal LUÇI

Use file_put_contents for simplicity and readbility

db7a628c 05/09/2013 11:05 AM Renato Botelho

Replace all linklocal checks by is_linklocal()

be2a18bf 05/07/2013 05:53 AM Phil Davis

Fixup gwlb functions related to gw failover

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....

8e78c82c 04/25/2013 11:32 AM Renato Botelho

ipprotocol is inet or inet6

26190b11 04/25/2013 11:30 AM Renato Botelho

Take dynamic6 into consideration too

65cfd0ca 04/25/2013 11:28 AM Renato Botelho

Deduplicate and simplify code

d97eccf9 04/18/2013 05:28 PM Renato Botelho

Make more strict comparison to avoid type issues when gw name only contain numbers. Fixes #2956

f040882c 04/18/2013 05:28 PM Renato Botelho

Fix whitespace and indent

4fdd86a3 04/15/2013 11:37 PM avandeweghe

Add default case when detecting dynamic gateway ip

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

d28cd156 04/14/2013 05:36 PM Renato Botelho

Make fe80: addresses check case insensitive

36777fe4 04/12/2013 07:56 PM Ermal LUÇI

Use apinger macros to send the gateway name for openvpn and dyndns. Ipsec will reload all of it since its single process

58b1112f 04/12/2013 07:35 PM Ermal LUÇI

Provide a function to get all gateway groups a gateway is member of

c447a9fe 04/12/2013 07:22 PM Ermal LUÇI

Optimize a bit interface_gateway_group_member

155362f7 04/12/2013 07:08 PM Ermal LUÇI

Check if the argument is a gateway or an interface

1500614c 03/26/2013 11:47 AM Ermal LUÇI

Correct code and initialize properly variables escpecially arrays. Also do fixes and simplificate to make it more readble

2ba95a31 03/26/2013 11:08 AM Ermal LUÇI

Correct check from previous code path simplification

dea0921d 03/26/2013 11:07 AM Ermal LUÇI

Initialize some arrays to avoid php issues and also use list() here to avoid double array dereference

fd34d6a9 03/26/2013 10:53 AM Ermal LUÇI

Simplify a bit code branching no change on functionality

3e3ff931 03/20/2013 09:01 AM Ryan Dlugosz

Track apinger status in /var/run instead of /tmp

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

e9d156fd 03/18/2013 03:28 PM Ermal LUÇI

If gatway is dynamic the type cannot be determined, trim the code trying to do something impossible. While here optimize a bit

909de400 03/18/2013 02:55 PM Ermal LUÇI

Try to remove as much as possible _stf special case through the code

08c3810c 02/27/2013 03:47 PM Renato Botelho

Just set defaultgw after all gateways are processed, it fixes return_gateways_array()

72b4a1e8 02/06/2013 02:10 PM Jim Pingle

This message can be really spammy on a failure if you have multiple gateway 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...

0715ad50 02/06/2013 12:27 AM Jim Pingle

If the user has IPv6 disabled, don't create dynamic IPv6 gateways.

c65eef01 02/05/2013 06:47 PM Jim Pingle

Only allow gateways of the appropriate type (ipv4 or ipv6) to affect whether 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".

7e86b57e 01/30/2013 05:07 PM Ermal LUÇI

Oops correct interface name

c822154c 12/18/2012 02:42 PM Jim Pingle

Make gateways for assigned OpenVPN servers as well as clients.

292da16b 11/21/2012 11:53 AM Ermal LUÇI

Add unset

e0ba24f7 11/19/2012 09:46 AM Seth Mos

Switch to is_array() check and add curly

50006cca 11/18/2012 01:20 PM Pi Ba

gateway monitoring, make the notifications generated clear to tell which gateway/group they are about

fd3515f2 09/26/2012 01:43 PM Jim Pingle

Separate default gateway switching code to its own function, fix it to only operate on one address family at a time. Old method wouldn't re-set inet gateway if there was an inet6 default.

017817c2 09/13/2012 04:49 PM Seth Mos

Make the gateway group member check a boolean, might convert to something 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.

cdb0df65 09/13/2012 05:04 AM Seth Mos

Add function that checks if the interface is part of a gateway group.

1be0e2da 09/13/2012 05:02 AM Seth Mos

Reference the correct variable here, it was broken before and could never have worked.

c832f6bf 09/12/2012 04:23 PM Seth Mos

Remove the filter configure call as this could otherwise lead to a recursive filter configure.

14661668 07/25/2012 04:05 PM Phil Davis

Put apinger default values into a function

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.

206d5777 07/18/2012 07:29 AM Seth Mos

Make sure that we process the logic statement correctly, otherwise we might accidentally end up missing dual stacked or tunneled interface gateways

02a8dab0 07/05/2012 02:03 PM Carlos Cesario

Change field name from lowloss to losslow
related in http://redmine.pfsense.org/issues/2537

9deb5107 06/30/2012 05:40 PM Seth Mos

Reconfigure OpenVPN on gateway change

a3eb01e7 06/28/2012 10:08 AM Seth Mos

Comment out adding static routes for gateway monitor IPs because we now bind to the correct Interface with apinger.

b98f601e 06/28/2012 05:38 AM Phil Davis

Fix: Warning: preg_match(): No ending delimiter '/' found in /etc/inc/gwlb.inc on line 696

47c48e28 06/25/2012 04:44 PM Seth Mos

Check in code that allows for using a gateway group as the interface on the 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....

fa3e5c05 06/09/2012 03:08 PM Seth Mos

Needs a default case so IPv6 interfaces are resolved to a real interface

846c7b77 06/06/2012 06:20 PM Seth Mos

Changeover to the new multiple command pfSctl

8275ea28 06/06/2012 05:21 PM Seth Mos

Reverse the arguments, i got them wrong.
Redmine ticket #1965

83d807cb 06/06/2012 04:11 PM Seth Mos

Trigger dyndns and ipsecdns updates through check_reload_status. IpsecDNS already performs a filter_configure() too.
Redmine ticket #1965

fbf0d4d3 06/05/2012 05:45 AM Seth Mos

Make sure to return the Null route gateways too for looking up a gateway entry

603f19f0 06/04/2012 10:37 AM Seth Mos

Some minor enhancements from renaming the Gathering Data to Pending.
When it doesn't exist in the array it's really unknown. Make that lightblue. show a ~

7bfa645c 06/04/2012 09:59 AM Seth Mos

Fix Typo, although the host might indeed be loca. We'll just keep it local instead.

6fdea6a2 06/04/2012 08:20 AM Seth Mos

Allow for Null routes

c5e53ee6 06/03/2012 07:48 PM Jim Pingle

Unbreak php errors on login form

ab1112da 06/02/2012 07:27 PM Seth Mos

The gateway groups array now knows about vips to be tied into that gateway group so we can tie the groups into services.
Redmine ticket #1965

e02caf4a 06/01/2012 05:46 AM Seth Mos

Actually save the IPprotocol variable into the config, otherwise it stil 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....

c1d36d26 05/31/2012 04:28 PM Seth Mos

Finally give in and sprout a Internet Protocol drop down on the gateways edit screen.
With added validation and multiple detection parts to work when the value is not set yet.
Redmine ticket #2463

44b054ce 05/21/2012 04:57 PM Seth Mos

Add the address family tag to the gateway groups array

96cd928b 05/20/2012 06:57 PM Seth Mos

Allow saving on system.php if the gateways are down.

3930a9c0 05/20/2012 11:13 AM Seth Mos

Prevent duplicate gateways from showing up if the interface is down. Redmine ticket #2442

b2ff5d17 05/20/2012 10:09 AM Seth Mos

Add the PPP automatic interface type. This would show the _PPP gateways.

daac437f 04/18/2012 06:23 PM Jim Pingle

Make sure VPN interface gateways are handled separately

67102344 04/18/2012 01:11 PM Seth Mos

Add the correct fix to pick up the IPv6 gateway for slaac interfaces

c0b1bc81 04/18/2012 09:41 AM Seth Mos

Make sure that SLAAC gateways show up in return_gateways_array();
redmine ticket #1834

711a20eb 04/14/2012 06:53 PM Jim Pingle

Some IPv6 fixes for gateway groups

eab2db68 04/06/2012 09:28 AM Seth Mos

Make sure that we use the right interface for 6rd

74c834f1 04/04/2012 12:06 PM Seth Mos

Add better hardening to the dynamic gateway code, handle IPv6 networks better
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

1aa19130 04/01/2012 08:03 AM Seth Mos

Remove suprious debugging line

a11a839d 04/01/2012 07:41 AM Seth Mos

Add the stf0 interface to interface_has_gateway_v6() for 6to4

d500e296 02/25/2012 12:32 PM Seth Mos

Adding gateway support for 6rd support, does not add route yet.
Adds to ticket #2117

16106d2e 11/27/2011 07:09 PM Seth Mos

Fix for redmine ticket #1993. Allow saving multiple dynamic entries.
Make sure that return_gateways_status() also returns all gateways that have monitoring disabled as up.

81a3b6f5 09/01/2011 10:33 AM Seth Mos

Add a find_interface_ipv6_ll() to find the link local address of a interface.
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.

748ff86f 08/29/2011 08:04 AM Seth Mos

Another address family check for dynamic gateways, v4 has dynamic, v6 has dynamic6 as string.

791d3ac9 08/29/2011 07:05 AM Seth Mos

Add a possible "dynamic6 type to differentiate between IPv6 and IPv4 dynamic connections"

2feb85af 08/26/2011 11:12 AM Seth Mos

Add a interface_has_gatewayv6() function to determine if a interface has a IPv6 gateway.
Implement that function return_gateways_array() to prevent ghost entries

7671c940 08/26/2011 07:37 AM Seth Mos

Add the IP protocol to the configured gateway list to prevent duplicate entries on dynamic interfaces

2661e5d3 08/25/2011 08:58 PM Seth Mos

Remove stray echo statement

60c62dee 08/25/2011 08:57 PM Seth Mos

Remove stray print_r()

c3a0d2a5 08/25/2011 08:56 PM Seth Mos

Automatically pick up on dynamic IPv6 interfaces. For Example dhcp6.

318189b6 08/23/2011 06:46 PM Seth Mos

Add a function that allows you to validate the address family on 2 addresses or 1 address and a gateway name. the gateway name must be the 2nd argument.

e9df45f0 08/02/2011 09:25 PM Ermal LUÇI

Oops fix variable name

e56a7306 08/02/2011 09:25 PM Ermal LUÇI

Blacklist lan as being used as default gateway when auto switching is on. This prevents some problems in general functionality with services.

f7203985 07/28/2011 08:56 PM Ermal LUÇI

Add an override for default interval to send icmp

33c06ef7 07/28/2011 08:31 PM Ermal LUÇI

Add a new option to allow disabling of gateway monitoring. This gateways will always be reported as up.

74dafdec 07/25/2011 07:36 PM Ermal LUÇI

Use change here to be cleaner and less disruptive.

e75be7fc 07/22/2011 09:03 PM Ermal LUÇI

Switch back to the default gateway configured when possible when gateway switching is active

8b6313a4 07/12/2011 11:57 PM Jim Pingle

Merge remote-tracking branch 'upstream/master'

Conflicts:
etc/inc/easyrule.inc
etc/inc/filter.inc
etc/inc/interfaces.inc
etc/inc/services.inc
etc/inc/xmlrpc_client.inc
usr/local/www/fbegin.inc
usr/local/www/services_dhcp.php

d8012adb 06/07/2011 01:47 PM Vinicius Coque

Merge remote-tracking branch 'mainline/master' into inc

Conflicts:
etc/inc/voucher.inc
usr/local/www/fbegin.inc

7af360ce 06/01/2011 03:25 PM Ermal LUÇI

Add tunable, by default disabled, to enable the default gateway switching feature when the default one 'disappears'.

f4645d7f 06/01/2011 02:03 PM Ermal LUÇI

Add tunable, by default disabled, to enable the default gateway switching feature when the default one 'disappears'.

ed5c640d 05/23/2011 08:36 PM Seth Mos

Test the right variable otherwise we have no hope of getting a v6 gateway