From 472ef88b0eb3fbc3eba5fe8e0b9336a9b8df4499 Mon Sep 17 00:00:00 2001 From: orignal Date: Sun, 18 Oct 2026 21:56:37 -0400 Subject: [PATCH] don't handle PathChallenge came from non-established session --- libi2pd/SSU2Session.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libi2pd/SSU2Session.cpp b/libi2pd/SSU2Session.cpp index bba9885e..6f34783f 100644 --- a/libi2pd/SSU2Session.cpp +++ b/libi2pd/SSU2Session.cpp @@ -1934,7 +1934,10 @@ namespace transport } case eSSU2BlkPathChallenge: LogPrint (eLogDebug, "SSU2: Path challenge"); - SendPathResponse (buf + offset, size); + if (IsEstablished ()) + SendPathResponse (buf + offset, size); + else + LogPrint (eLogWarning, "SSU2: Path challenge came from non-established session. Dropped"); break; case eSSU2BlkPathResponse: {