mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
close SSU session if MAC verification fails
This commit is contained in:
parent
56836470cf
commit
9ef8ae99e2
2 changed files with 14 additions and 1 deletions
4
SSU.h
4
SSU.h
|
@ -58,7 +58,8 @@ namespace ssu
|
|||
eSessionRelayRequestSent,
|
||||
eSessionRelayRequestReceived,
|
||||
eSessionRelayResponseReceived,
|
||||
eSessionStateEstablished
|
||||
eSessionStateEstablished,
|
||||
eSessionStateFailed
|
||||
};
|
||||
|
||||
class SSUServer;
|
||||
|
@ -91,6 +92,7 @@ namespace ssu
|
|||
void SendSessionConfirmed (const uint8_t * y, const uint8_t * ourAddress, uint32_t relayTag);
|
||||
void ProcessRelayResponse (uint8_t * buf, size_t len);
|
||||
void Established ();
|
||||
void Failed ();
|
||||
void ProcessData (uint8_t * buf, size_t len);
|
||||
void SendMsgAck (uint32_t msgID);
|
||||
void SendSesionDestroyed ();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue