summaryrefslogtreecommitdiff
path: root/rfc
diff options
context:
space:
mode:
authorGuillaume Nault <g.nault@alphalink.fr>2018-03-21 18:09:14 +0100
committerDmitry Kozlov <xeb@mail.ru>2018-03-24 09:41:38 +0300
commit10ede239609e41e259be9c38932e33f7dc74bd8a (patch)
tree067a896b27825ee7cb8b09dc66f2c1091d2cb433 /rfc
parent29c626683ea1aa6136360a6afcc6a053d0342a3d (diff)
downloadaccel-ppp-10ede239609e41e259be9c38932e33f7dc74bd8a.tar.gz
accel-ppp-10ede239609e41e259be9c38932e33f7dc74bd8a.zip
auth: fix re-authentication of peer in all chap modules
If the peer re-authenticates (because of option conf_interval) and pwdb calls auth_result(), we may add the interval timer again to the session context. This crashes accel-ppp when deleting the session, because the interval timer is removed only once and the superfluous timers are still running. Therefore, when removing the context, triton detects this issue and calls abort(). To fix this, we need to detect if the session is already started and just send a CHAP Success message in this case. Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
Diffstat (limited to 'rfc')
0 files changed, 0 insertions, 0 deletions