From e2de83e82fa9fac5d0dcaab634fa6b5b5a8a1b2d Mon Sep 17 00:00:00 2001 From: Guillaume Nault Date: Tue, 8 Apr 2014 23:16:13 +0200 Subject: 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 --- accel-pppd/accel-ppp.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'accel-pppd/accel-ppp.conf') 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 -- cgit v1.2.3