Project

General

Profile

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

# Date Author Comment
f328ad12 11/27/2011 05:56 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.

4ac9cdf2 08/02/2011 09:24 PM Ermal LUÇI

Oops fix variable name

0fea7000 08/02/2011 09:24 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.

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

Add an override for default interval to send icmp

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

8ad0ee24 07/25/2011 07:35 PM Ermal LUÇI

Use change here to be cleaner and less disruptive.

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

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

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

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.

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

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.

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.

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

nuke trailing carriage returns

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

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.

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.

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

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

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.

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.

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.

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

No functional change just code reshuffle.

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.

f31ab121 06/18/2010 09:17 PM Ermal LUÇI

Make an extra check for monitor to be explicitly an ip otherwise apinger breaks.

6f77aca5 06/18/2010 09:15 PM Ermal LUÇI

Properly find gateway ip. The code before did not match for dynamic gateways.

096ee9c2 06/16/2010 11:24 AM Ermal LUÇI

Make some non functional changes, mostly to keep up with latest gw changes. Related to Ticket #666

e52ba50c 06/15/2010 01:17 PM Jim Pingle

Remove stray ). Fixes #661.

2f92b34d 06/14/2010 07:26 PM Ermal LUÇI

Give apinger the new srcip dircetive so it does not struggle anymore with the routing table.

315e1253 06/10/2010 05:00 PM Ermal LUÇI

Do not delete/create a route for a gateway that is marked as down to avoid removing needed routes to check teh gateways. Reported-by: http://forum.pfsense.org/index.php/topic,25854.0.html

f6f05741 06/09/2010 09:03 PM Scott Ullrich

Remove newline

5aaa3238 06/09/2010 09:02 PM Scott Ullrich

Remove second %

f4a17fcf 06/07/2010 09:32 PM Ermal LUÇI

Be consistent on % for loss state.

9ae7d46f 06/07/2010 09:24 PM Ermal LUÇI

Catch up with php limits.

de42da41 06/07/2010 09:17 PM Ermal LUÇI

Show some sensible defaults for delay and loss.

66a96e72 06/07/2010 09:08 PM Ermal LUÇI

Reorganize code to be able to actually use the lookup_gateway_ip_by_name() function to find even dynamic gateways ip.

ae9618af 06/03/2010 06:22 PM Ermal LUÇI

Return the gateway status only for gateways apinger knows about instead of assuming that all gateways are down, which might give consecuences. Also prepend 'filter_' to the function used to kill states for down gateways in filter.inc to be consistent.

cb88138a 05/21/2010 08:54 PM Ermal LUÇI

Ups remove erroneous curly.

61d54be6 05/21/2010 08:50 PM Ermal LUÇI

Actually return to previous function code for lookup_gateway_ip_by_name() to not create recursive loops. There is still the question of how dynamic interfaces should be handled here?

962625aa 05/21/2010 08:45 PM Ermal LUÇI

Revert "Use a global array for the most part of using the return_gateways_array() function in the backend which should lower the memory allocated/cached by php a lot."

This reverts commit e51cf5960f6718a14c07daa7b6e96337fdba1f0e.

e51cf596 05/21/2010 07:44 PM Ermal LUÇI

Use a global array for the most part of using the return_gateways_array() function in the backend which should lower the memory allocated/cached by php a lot.

61630681 05/21/2010 12:29 PM Ermal LUÇI

Remove unecessary check.

7382c59d 05/18/2010 06:04 PM Ermal LUÇI

Do not duplicate gateway entries when status file is not present. Mostly an innocuos programmer error.

01207fd8 05/18/2010 05:36 PM Ermal LUÇI

Fixes #536. More fixes and optimizations on the various functions and status pages used for gateways [groups].

fe22a89b 05/18/2010 05:36 PM Ermal LUÇI

Fixes #536. More fixes and optimizations on the various functions used for gateways [groups].

d9dda2a5 05/18/2010 05:36 PM Ermal LUÇI

Fixes #536. Actually add all available gateways to the gateway_groups array so all up members will be present for balancing.

c1191d5b 05/18/2010 04:51 PM Ermal LUÇI

Add myself to copyright for gwlb file.

7726c308 05/07/2010 05:16 PM Ermal LUÇI

Preserve previous behaviour of having all alarms on for all gateways. Not sure this should be/is the right behaviour though.

023920e7 05/07/2010 05:12 PM Ermal LUÇI

Move the settings of down/latency/loss to per gateway. This allows more fine grained control on gateways.

2557738e 05/07/2010 02:43 PM Ermal LUÇI

Correct delay matching on outgoing load balancer code.

75466131 05/06/2010 10:50 PM Ermal LUÇI

Catch up with latest apinger changes to make easier to extract the status of gateways.

ec313443 04/30/2010 08:41 PM Ermal LUÇI

Remove check that prevented bugs from happening. Now all code paths are safe from this.

7bed8222 04/30/2010 08:22 PM Ermal LUÇI

Ticket #506. Correctly save dynamic gateways extra parameters.

9bfa3d47 04/30/2010 02:50 PM Ermal LUÇI

Actually minimum weight is 1.

5f53260a 04/30/2010 02:32 PM Ermal LUÇI

Allow for each gateway a weight to be choosen if the gateway has to be used in Gateway groups. This will create that many entries in the route-to statement as the weight says.

a529aced 04/28/2010 11:17 PM Ermal LUÇI

Ticket #507. Do not remove all static routes to readd them back. The change will never delete a rule but define the action to be taken on it, either add or change a present route. Be consinstent on gateways allowed to be selected as destinations for static routes, including dynamic gateways.

0534d60a 04/25/2010 04:04 AM Chris Buechler

temporary work around for ticket #536

9af4b31b 03/31/2010 09:16 PM Ermal LUÇI

Use stristr as a microoptimization.

051b178a 03/29/2010 11:00 AM Ermal LUÇI

Be more strict on validations.

01ba0a72 03/05/2010 04:19 PM Ermal Luçi

Fixed variable definition.

83f9c8ee 02/23/2010 10:43 PM Ermal Luçi

Ticket #304. Fix bogus dynamic entries in system->gateways after deleting gateways.

f2dd7568 02/23/2010 10:37 PM Ermal Luçi

Revert "Fix linking interface to vlans function so it works correctly."

This reverts commit 930595154ccc8702befdd880f1c424b78040af2a.

93059515 02/23/2010 10:34 PM Ermal Luçi

Fix linking interface to vlans function so it works correctly.

883c53c9 01/29/2010 01:44 AM Ermal Luçi

Ticket #303. Fix very many bugs in this code. From strings that were not quoted propperly to completely broken code paths.

a2532739 01/18/2010 08:55 PM Ermal Luçi

Ticket #305. Grey out the gateway when it is a dynamic one.

ffe76308 12/24/2009 05:50 PM Seth Mos

Make sure to properly use the configured monitor IP address for dynamic interfaces too.

9ff9a1c7 12/24/2009 12:45 PM Seth Mos

Style fixes for the interfaces page, use switch instead of a large if,elseif procedure.
Fix the monitor IP route adding and removing to skip non IP addresses and dynamic entries
Add a Gateway item on the gateway_item stack so that it properly shows up in th configuration. Static configurations will need to...

2290a686 12/21/2009 02:42 PM Seth Mos

Make sure to use the correct dummy IP address for the monitor for dynamic interfaces