mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-02-08 22:13:48 +01:00
invalidate routers with incorrect family signature
This commit is contained in:
parent
c1168c2aa0
commit
2f74e670a5
1 changed files with 3 additions and 0 deletions
|
@ -487,7 +487,10 @@ namespace data
|
|||
if (netdb.GetFamilies ().VerifyFamily (family, GetIdentHash (), value))
|
||||
m_FamilyID = netdb.GetFamilies ().GetFamilyID (family);
|
||||
else
|
||||
{
|
||||
LogPrint (eLogWarning, "RouterInfo: Family ", family, " signature verification failed");
|
||||
SetUnreachable (true);
|
||||
}
|
||||
}
|
||||
|
||||
if (!s) return;
|
||||
|
|
Loading…
Add table
Reference in a new issue