mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
make router unreachable if AEAD fails in SessionCreated
This commit is contained in:
parent
fb83ca42f4
commit
4ce2ef1d83
3 changed files with 7 additions and 1 deletions
|
@ -566,7 +566,11 @@ namespace transport
|
|||
SendSessionConfirmed ();
|
||||
}
|
||||
else
|
||||
{
|
||||
if (GetRemoteIdentity ())
|
||||
i2p::data::netdb.SetUnreachable (GetRemoteIdentity ()->GetIdentHash (), true); // assume wrong s key
|
||||
Terminate ();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue