Add lcp_renegotiation option

To support proxy LCP negotiation.

Note: we *have* to take the auth id from the proxy answer, otherwise we would
replay previous ids, for which the client might cache the answer and thus
ignore our new challenge and just repeat their outdated answer.
This commit is contained in:
Samuel Thibault 2025-03-08 20:09:33 -05:00
parent 817ce35748
commit e7db528544
6 changed files with 388 additions and 31 deletions

View file

@ -60,11 +60,11 @@
* LNS1 --------------------> LNS2 (Session Open)
* ZLB
* LNS1 <-------------------- LNS2 (Session Open)
* LCP Negotiation
* LCP Renegotiation (unless proxied)
* Client <------------------------------------------------------------------------> LNS2
* PAP/CHAP Authentification
* PAP (Ack only if proxied) / CHAP Authentification
* Client <------------------------------------------------------------------------> LNS2
* DATA (ppp)
* DATA (ppp)
* Client <------------------------------------------------------------------------> LNS2
* */