From 30155332939d7df2887d8e3dbf39c566340f6655 Mon Sep 17 00:00:00 2001 From: Tassilo Schweyer Date: Sun, 4 May 2025 12:35:27 +0200 Subject: [PATCH] Store proxy auth information also when forwarding session --- l2tpns.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/l2tpns.c b/l2tpns.c index 4423df8..513e306 100644 --- a/l2tpns.c +++ b/l2tpns.c @@ -5074,6 +5074,11 @@ void processudp(uint8_t *buf, int len, struct sockaddr_in *addr, uint16_t indexu LOG(3, s, t, "Reusing LCP negotiation\n"); // Start with proxy auth id to avoid client caching challenge responses sess_local[s].auth_id = authid; + memcpy(sess_local[s].auth_chall, authchall, authchalln); + memcpy(sess_local[s].auth_resp, authresp, authrespn); + if (atype != 0) { + sess_local[s].auth_type = atype; + } if (!sess_local[s].lcp_authtype) {