don't handle PathChallenge came from non-established session

This commit is contained in:
orignal
2026-10-18 21:56:37 -04:00
parent 54068be9ca
commit 472ef88b0e
+4 -1
View File
@@ -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:
{