]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commit - config/rootfiles/core/45/update.sh
Fixed several bugs in vpn-watch script.
authorChristian Schmidt <maniacikarus@ipfire.org>
Fri, 21 Jan 2011 16:52:32 +0000 (17:52 +0100)
committerChristian Schmidt <maniacikarus@ipfire.org>
Fri, 21 Jan 2011 16:52:32 +0000 (17:52 +0100)
commitbb893dcd86744a5167d92529d4a7e3c0fb29d9d8
tree21e84e91b3e74ab477961089caa9dfc64c937016
parentb18bad8a194459493ccafefa25698168cda553d3
Fixed several bugs in vpn-watch script.

The counter was pending between 0 and 1 and not going up to 9.

If ipsec whack is returning and empty page we do not need to check
if the remoteip has changed because the tunnel is not up.

If ipsec is restarted the counter can be reset.

All these facts causes that on low powered system the tunnels are
intable if you have a lot of them. But we need to check if the
convergation timer is okay because with these bugs the tunnels
were minutly restarted and with correct handling after 10.
config/rootfiles/core/45/filelists/files
config/rootfiles/core/45/update.sh
src/scripts/vpn-watch