From c347e2fbb8ea489242b227fa3f4abc1d233f1a19 Mon Sep 17 00:00:00 2001 From: Vladislav Grishenko Date: Fri, 13 May 2022 15:11:48 +0500 Subject: auth: add missed man and exmaple config options --- accel-pppd/accel-ppp.conf | 3 +++ accel-pppd/accel-ppp.conf.5 | 15 +++++++++++++++ 2 files changed, 18 insertions(+) diff --git a/accel-pppd/accel-ppp.conf b/accel-pppd/accel-ppp.conf index 34f32bf0..d5c69bf8 100644 --- a/accel-pppd/accel-ppp.conf +++ b/accel-pppd/accel-ppp.conf @@ -67,6 +67,9 @@ unit-cache=1 #unit-preallocate=1 [auth] +#timeout=5 +#interval=0 +#max-failure=3 #any-login=0 #noauth=0 #challenge-name=accel-ppp diff --git a/accel-pppd/accel-ppp.conf.5 b/accel-pppd/accel-ppp.conf.5 index 717af1e6..15be6eb9 100644 --- a/accel-pppd/accel-ppp.conf.5 +++ b/accel-pppd/accel-ppp.conf.5 @@ -243,6 +243,21 @@ If set to 1 then allocate ppp unit (interface) before authorization, so Nas-Port .br Contains authentication params .TP +.BI "timeout=" n +If n is not zero specifies timeout in seconds to wait for PAP, CHAP, Microsoft CHAP v1/v2 authentication. +.TP +.BI "interval=" n +If n is not zero specifies timeout in seconds to restart CHAP and Microsoft CHAP v1/v2 authentication. +.TP +.BI "max-failure=" n +If n is not zero specifies maximum number of CHAP and Microsoft CHAP v1/v2 authentication failures. +.TP +.BI "any-login=" 0|1 +If set to 1 allows pass PAP, CHAP and Microsoft CHAP v1 authentication with any login. +.TP +.BI "noauth=" 0|1 +If set to 1 skips any PPP and IPOE authentication. +.TP .BI "challenge-name=" name Specifies challenge name for CHAP authentication. .SH [ipoe] -- cgit v1.2.3