mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2026-07-20 15:42:01 +00:00
don't communicate with low bandwidth routers of version < 0.9.58
This commit is contained in:
@@ -1227,6 +1227,11 @@ namespace transport
|
||||
i2p::transport::transports.AddBan (m_RemoteEndpoint.address ());
|
||||
return false;
|
||||
}
|
||||
if (ri->GetVersion () < i2p::data::NETDB_MIN_ALLOWED_VERSION && !ri->IsHighBandwidth ())
|
||||
{
|
||||
LogPrint (eLogInfo, "SSU2: Router version ", ri->GetVersion (), " is too old in SessionConfirmed");
|
||||
return false;
|
||||
}
|
||||
if (!m_Address->published)
|
||||
{
|
||||
if (ri->HasProfile ())
|
||||
|
||||
Reference in New Issue
Block a user