Project

General

Profile

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

# Date Author Comment
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

45d4b71e 05/23/2011 06:57 PM Vinicius Coque

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

27d0722d 05/19/2011 12:50 PM Jim Pingle

Merge remote branch 'upstream/master'

ee7f1647 05/18/2011 08:35 PM Ermal LUÇI

Correct default code disabling! Ponty-hat: myself

77b70d6b 05/18/2011 07:43 PM Ermal LUÇI

Disable the default route switching code since its causing more issues than solving. It needs more work to get re-enabled.

a51493d1 04/15/2011 04:38 PM Vinicius Coque

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

Conflicts:
etc/inc/gwlb.inc

b1c305e7 04/15/2011 08:42 AM Seth Mos

Merge remote branch 'upstream/master'

2632934e 04/12/2011 10:08 PM Scott Ullrich

Remove blank trailing c/r.

10c3d4c0 04/12/2011 10:08 PM Scott Ullrich

Notify via smtp as well as growl

af8f910e 04/12/2011 08:40 AM Seth Mos

Merge remote branch 'upstream/master'

4c613f84 04/06/2011 02:59 PM Ermal LUÇI

Correct error message for gateways to report down when the gateway is down and not high latency.

19d91466 04/06/2011 02:58 PM Ermal LUÇI

Another sweep at keeping the default route always present when the default setup route is marked as down. This now adds checks for configuration where a defaultgw is not specified by the user but deduced automatically.

f599d893 04/04/2011 01:42 PM Vinicius Coque

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

Conflicts:
etc/inc/shaper.inc

1d60ed9b 04/04/2011 11:09 AM Ermal LUÇI

Try to always keep pfSense with a default gateway to avoid errors for service running from pfSense itself. Previously PBR should be configured for such services. While PBR is a better fix this at least keeps users from complaining in simple setups. Reported by many.

b8452906 02/11/2011 11:40 AM Vinicius Coque

BP: fix syntax error on gettext implementation

673e8095 12/22/2010 03:39 PM Scott Ullrich

nuke trailing carriage returns

81afb509 12/20/2010 08:06 PM Seth Mos

Merge remote branch 'upstream/master'

Conflicts:
etc/inc/interfaces.inc
etc/inc/vslb.inc
usr/local/www/interfaces.php

c92ccac7 12/14/2010 11:56 AM Vinicius Coque

Merge remote branch 'mainline/master' into inc

Conflicts:
etc/inc/auth.inc
etc/inc/config.lib.inc
etc/inc/filter.inc
etc/inc/gwlb.inc
etc/inc/interfaces.inc
etc/inc/pfsense-utils.inc
etc/inc/pkg-utils.inc...

9132ae35 12/10/2010 06:43 PM Ermal LUÇI

Do not spam logs uselessly on bootup and sleep a bit before starting apinger.

435a418f 12/01/2010 05:23 PM Ermal LUÇI

Do not spam console with useless messages. Also remove killall not needed anymore.

adc96206 11/26/2010 09:26 PM Ermal LUÇI

Remove temporary hack which spams console during boot.

979c816c 11/25/2010 12:31 PM Ermal LUÇI

Do not guess the defaultgw this is static info.

9734b054 11/10/2010 05:00 PM Scott Ullrich

Remove trailing carriage return

640b3a9a 10/23/2010 10:49 AM Seth Mos

remove some debugging from filter inc, show correct ipv6 gateway from function

5a5413bb 10/22/2010 02:01 PM Seth Mos

Add the default ipv4 route and the default ipv6 route, check both routing tables before adding or changing.
set the ipv6 IP address via a mwexec() until the pfsense module is adapted. FIXME.
Add filter rules for ipv6 to let traffic out of the firewall. FilterIflist not cooperating yet.

10f0a57a 10/11/2010 03:53 PM Renato Botelho

Merge remote branch 'mainline/master' into inc

Conflicts:
etc/inc/authgui.inc

1ffa44bb 10/10/2010 04:09 PM Scott Ullrich

Kill apinger with a large axe until the TERM issues can be resolved

6adc8e32 10/10/2010 08:48 AM Marcus Brown

Fix the "all dynamic gateways are shown as default" problem reported here: http://forum.pfsense.org/index.php/topic,28960.0.html

A non-empty string will evaluate true with == operator.

1ced293c 10/05/2010 04:45 PM Marcus Brown

Avoid generating a dynamic gateway entry in the list if there is already one in the config for the interface.

86df2846 10/05/2010 03:26 PM Jim Pingle

Test if this variable is set before making a reference, for safety. Add reference back for speed.

6727f4ef 10/05/2010 02:56 PM Jim Pingle

More unneeded references.

e857eff6 10/05/2010 12:24 PM Renato Botelho

Merge remote branch 'mainline/master' into inc

d62b164a 10/05/2010 09:18 AM Marcus Brown

Report dynamic gateways as default even when they are down.

If gateways appear to lose their default status when they are down it can
be confusing for users. This is purely a UI change.

8d3556c2 10/05/2010 09:12 AM Marcus Brown

Add $g variable to global declaration so we can access it later.

54b78cc1 10/04/2010 12:39 PM Ermal LUÇI

Fix checking the status of gateways. Typos and unset variables! Spotted-by: Mark Huijgen

db91013a 10/01/2010 05:51 PM Ermal LUÇI

Be sane at what was supposed to be done.:

e62fe748 10/01/2010 05:41 PM Ermal LUÇI

Do not show statically configured interfaces as with dynamic gateways because the gateway is already referenced/monitored on its own entry.

78ae2b14 10/01/2010 04:51 PM Ermal LUÇI

Make sure we do not overwrite the gateway stored in config with a dynamic gateway info. Correct POST var name(Found by ghnb). Also correctly reload only the defaultgw interface changed only if it is different than the present one.

addc0439 10/01/2010 01:17 PM Renato Botelho

Fix quotes to use %N$X on gettext calls

788c1288 10/01/2010 12:56 PM Renato Botelho

Merge remote branch 'mainline/master' into inc

Conflicts:
etc/inc/filter.inc
etc/inc/system.inc

e0df9716 10/01/2010 12:01 AM Marcus Brown

cbuechler says monitorip should not be stored in <interfaces><$if>. See ticket #919

f5d3a5ce 09/30/2010 03:20 PM Ermal LUÇI

Do not support anymore an ip in the 'gateway' section of an interface.

9fd19334 09/30/2010 12:20 PM Marcus Brown

Don't refer to non-existent variable.

Reported in forum http://forum.pfsense.org/index.php/topic,28643.0.html

43652f2f 09/28/2010 01:19 PM Renato Botelho

Merge remote branch 'mainline/master' into inc

f44f8eb5 09/26/2010 07:59 PM Ermal LUÇI

Properly handle reinitializing of variables on the next loop. Reported-by: http://forum.pfsense.org/index.php/topic,28636.0.html

bb8f919b 09/16/2010 10:08 PM Ermal LUÇI

We might not have any defaultgw selected and consider wan as default. Make sure to catch this so GUI works and other parts that depend on defaultgw detection.

999111cb 09/16/2010 05:44 PM Ermal LUÇI

Make it possible to show default against dynamic gateway names in the GUI.

ef05ae5f 09/16/2010 04:49 PM Ermal LUÇI

Actually display a the right class for static gateways. Also fix whitespace

ad9db2a9 09/16/2010 03:27 PM Renato Botelho

Merge remote branch 'mainline/master' into inc

Conflicts:
etc/inc/filter.inc

ecb08c6a 09/15/2010 09:38 PM Ermal LUÇI

Write status file every 5seconds.

d8bf779b 09/15/2010 06:49 PM Ermal LUÇI

Oops this is meant to add members not override them.

3befe730 09/15/2010 06:46 PM Ermal LUÇI

Cleanup code.

01f1b601 09/14/2010 08:32 PM Ermal LUÇI

Ticket #867. Flush the cache when restarting apinger and also when rc.newwanip is called. also restart apinger earlier in to be on latest address asap.

c65e1e0d 09/13/2010 04:02 PM Ermal LUÇI

Ticket #876. Actually use the friendly name for the key of the array returned by return_gateways_array() so the dynamic gateway and status pages work correctly.

f14bd707 09/13/2010 12:57 PM Renato Botelho

Merge remote branch 'mainline/master' into inc

Conflicts:
etc/inc/filter.inc
etc/inc/gwlb.inc

68f291ff 09/09/2010 09:25 PM Ermal LUÇI

Ticket #876. Show all gateways even though apinger is not monitoring them, for various reasons, this removes user confusion in the status pages.

3d471a14 09/09/2010 05:25 PM Ermal LUÇI

Ticket #876. Add the ip to the respective files on ppp linkup event so the code of dynamic gateways finds them. Also reorganize/simplify/optimize the apinger config generation code. Do not use that 127.0.0.x hack anymore and avoid loops as much as possible.

8c04b1ae 09/08/2010 01:20 PM Renato Botelho

Merge remote branch 'mainline/master' into inc

Conflicts:
etc/inc/filter.inc
etc/inc/pkg-utils.inc
etc/inc/service-utils.inc
etc/inc/system.inc
etc/inc/vpn.inc

0ae6daf8 09/07/2010 07:36 PM Ermal LUÇI

Use the new events mechanisms to dispatch events.

298e5e0a 09/06/2010 04:13 PM Ermal LUÇI

Ticket #876. Remove old status file of apinger before restarting because it might confuse gui.

47f12397 08/30/2010 11:36 PM Renato Botelho

Fix gettext calls with printf to permit change strings order

a57b6d57 08/17/2010 05:15 PM Renato Botelho

Merge remote branch 'mainline/master' into inc

17649c87 08/17/2010 10:15 AM Ermal LUÇI

No functional change just code reshuffle.

5c7296d2 08/16/2010 03:53 PM Carlos Eduardo Ramos

Implement gettext() calls on gwlb.inc

79b7f498 08/10/2010 08:49 PM Ermal LUÇI

Ticket #8. Use proper IP to pfctl -b and run the command after the rules have been removed for the not 'down' interfaces.

21934843 08/06/2010 01:48 PM Jim Pingle

Make sure that the RRD path exists before apinger is started. Should really fix quality graphs on NanoBSD.

4473744f 07/29/2010 06:16 PM Seth Mos

Create a valid apinger configuration file for targets that are down during creation.

439b0e26 07/29/2010 05:10 PM Ermal LUÇI

Do not write anything to config before finishing all tests of correctnes. This avoids a problem of wrong config to apinger Discovered-by: Seth

20f26a50 07/20/2010 07:58 PM Ermal LUÇI

Do not try to reload apinger config but always kill the running process and start a new one so it behaves.

6bd0fc10 06/22/2010 04:03 PM Ermal LUÇI

Actually apinger can be reloaded and this is not doing its job apparently.

4f060616 06/21/2010 05:58 PM Ermal LUÇI

Actually send the HUP signal to tell apinger that a new config file is to be loaded! This should solve a lot of issues with apinger monitoring.