mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-05-26 00:55:36 +02:00
disconnect established session if clock skew detected
This commit is contained in:
parent
234540f9e7
commit
ac94341203
2 changed files with 14 additions and 1 deletions
libi2pd
|
@ -1617,6 +1617,7 @@ namespace transport
|
|||
{
|
||||
case eSSU2SessionStateSessionRequestReceived:
|
||||
case eSSU2SessionStateTokenRequestReceived:
|
||||
case eSSU2SessionStateEstablished:
|
||||
if (std::abs (offset) > SSU2_CLOCK_SKEW)
|
||||
m_TerminationReason = eSSU2TerminationReasonClockSkew;
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue