summaryrefslogtreecommitdiffstats
path: root/openvpn.8
diff options
context:
space:
mode:
authorDavide Guerri <d.guerri@caspur.it>2011-09-15 23:42:22 +0200
committerDavid Sommerseth <davids@redhat.com>2011-09-30 09:48:42 +0200
commit3a957aaef3ae512b217dd475a846a0ea35aae49c (patch)
treed92bc58e2bf1d07612ff7dbb67afedc019ec8719 /openvpn.8
parent8ca19c014c149cf69257798afa6c75d1ff8f11a7 (diff)
downloadopenvpn-3a957aaef3ae512b217dd475a846a0ea35aae49c.tar.gz
openvpn-3a957aaef3ae512b217dd475a846a0ea35aae49c.tar.xz
openvpn-3a957aaef3ae512b217dd475a846a0ea35aae49c.zip
New feauture: Add --stale-routes-check
This patch adds a stale-routes-check option that takes 2 parameters: a ageing time (in seconds) and a check interval (in seconds). The latter defaults to the former if it's not present. Internally, a new "check" is added in multi_process_per_second_timers_dowork(). This check deletes stale routes and it is inspired to the function multi_reap_range(). We're running a very large connectivity infrastructure based on openVPN (more than 4000 different clients connected per day per server), so we can throughly check this patch (or, of course, any variant of it). Signed-off-by: Davide Guerri <d.guerri@caspur.it> Reviewed-by: David Sommerseth <davids@redhat.com> Acked-by: Adriaan de Jong <dejong@fox-it.com> Acked-by: Gert Doering <gert@greenie.muc.de> Signed-off-by: David Sommerseth <davids@redhat.com>
Diffstat (limited to 'openvpn.8')
-rw-r--r--openvpn.819
1 files changed, 19 insertions, 0 deletions
diff --git a/openvpn.8 b/openvpn.8
index 55a9b80..c585da4 100644
--- a/openvpn.8
+++ b/openvpn.8
@@ -3118,6 +3118,25 @@ directive affects OpenVPN's internal routing table, not the
kernel routing table.
.\"*********************************************************
.TP
+.B \-\-stale-routes-check n [t]
+Remove routes haven't had activity for
+.B n
+seconds (i.e. the ageing time).
+
+This check is ran every
+.B t
+seconds (i.e. check interval).
+
+If
+.B t
+is not present it defaults to
+.B n
+
+This option helps to keep the dynamic routing table small.
+See also
+.B \-\-max-routes-per-client
+.\"*********************************************************
+.TP
.B \-\-connect-freq n sec
Allow a maximum of
.B n