]> git.ozlabs.org Git - ppp.git/commit - pppd/pppd.8
pppd: Add client CHAP authentication timeout
authorSimon Arlott <git@sa.me.uk>
Sat, 4 Jul 2015 16:32:18 +0000 (17:32 +0100)
committerSimon Arlott <git@sa.me.uk>
Thu, 6 Aug 2020 11:25:08 +0000 (12:25 +0100)
commita72f809b1dfe0857290a85b2af52279a05fe2f94
tree5e14a3f4e1309aa07632be454b8c5505c51ebb9f
parent84684243d651f55f6df69d2a6707b52fbbe62bb9
pppd: Add client CHAP authentication timeout

If CHAP authentication is required with the peer but this is never
completed (either because the server never sends the challenge or
because the client doesn't receive the outcome) then the client
will wait forever, relying on the server to terminate the connection.

There are options for server side retries but a client side timeout
option is required to prevent the client from getting stuck if the
server won't terminate the connection. This is defaulted to 60 seconds.

Signed-off-by: Simon Arlott <git@sa.me.uk>
pppd/chap-new.c
pppd/pppd.8