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.5 | |
parent | 2e442ae523415591b087f34ece859b666f88567b (diff) | |
download | accel-ppp-e2de83e82fa9fac5d0dcaab634fa6b5b5a8a1b2d.tar.gz accel-ppp-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.5')
-rw-r--r-- | accel-pppd/accel-ppp.conf.5 | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/accel-pppd/accel-ppp.conf.5 b/accel-pppd/accel-ppp.conf.5 index 9cabadab..1b626ca8 100644 --- a/accel-pppd/accel-ppp.conf.5 +++ b/accel-pppd/accel-ppp.conf.5 @@ -488,6 +488,18 @@ Specifies timeout (in seconds) to wait peer completes tunnel and session negotia .TP .BI "rtimeout=" n Specifies timeout (in seconds) to wait message acknowledge, if elapsed message retransmition will be performed. +Timeout is multiplied by two after each retransmission. So if +.BR rtimeout " is set to 1, first retransmission will occur after one second," +second retransmission two seconds later, third one four seconds later, and so +on, until a reply is received or the +.BR retransmit " value is reached. Default value is 1." +.TP +.BI "rtimeout-cap=" n +Set the maximum interval between retransmissions. The exponential backoff +.RB "interval used by " rtimeout " will never grow above " rtimeout-cap . +.BR rtimeout-cap " must be higher than " rtimeout " and, according to RFC 2661, +must be no less than 8 (though accel-ppp doesn't enforce this rule). +Default value is 16. .TP .BI "retransmit=" n Specifies maximum number of message retransmission, if exceeds connection will be terminated. |