diff options
author | Guillaume Nault <g.nault@alphalink.fr> | 2014-04-08 23:16:13 +0200 |
---|---|---|
committer | Dmitry Kozlov <xeb@mail.ru> | 2014-04-11 06:47:58 +0400 |
commit | e2de83e82fa9fac5d0dcaab634fa6b5b5a8a1b2d (patch) | |
tree | 790b86bf4a99db4fd01b3a33055c4b14c7453d57 /accel-pppd/accel-ppp.conf | |
parent | 2e442ae523415591b087f34ece859b666f88567b (diff) | |
download | accel-ppp-xebd-e2de83e82fa9fac5d0dcaab634fa6b5b5a8a1b2d.tar.gz accel-ppp-xebd-e2de83e82fa9fac5d0dcaab634fa6b5b5a8a1b2d.zip |
l2tp: improve configuration of retransmission options
* Set default retransmission timeout to 1 second. Since we now have
exponential backoff, we can afford a smaller value.
* Add the rtimeout-cap option to set the maximum value the
retransmission timer has to respect during exponential backoff.
* Store the maximun number of retransmissions in tunnel's structure
(like other retransmission parameters).
* Describe all these changes in man page and reset them to their
default values if they're removed from configuration file before a
reload.
Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
Diffstat (limited to 'accel-pppd/accel-ppp.conf')
-rw-r--r-- | accel-pppd/accel-ppp.conf | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/accel-pppd/accel-ppp.conf b/accel-pppd/accel-ppp.conf index e7daf62..f399361 100644 --- a/accel-pppd/accel-ppp.conf +++ b/accel-pppd/accel-ppp.conf @@ -82,7 +82,8 @@ verbose=1 #dictionary=/usr/local/share/accel-ppp/l2tp/dictionary #hello-interval=60 #timeout=60 -#rtimeout=5 +#rtimeout=1 +#rtimeout-cap=16 #retransmit=5 #recv-window=16 #host-name=accel-ppp |