forked from I2P_Developers/i2p.i2p
Compare commits
3 Commits
i2p.i2p.2.
...
i2p.i2p.2.
Author | SHA1 | Date | |
---|---|---|---|
f76eeae117 | |||
acf0e021f8 | |||
d5af41dae7 |
@ -1,3 +1,9 @@
|
||||
i2p (2.4.0-1~bionic+1) bionic; urgency=medium
|
||||
|
||||
* New upstream version 2.3.0
|
||||
|
||||
-- idk <hankhill19580@gmail.com> Wed, 20 Dec 2023 19:28:05 +0000
|
||||
|
||||
i2p (2.3.0-1~bionic+1) bionic; urgency=medium
|
||||
|
||||
* New upstream version 2.3.0
|
||||
|
@ -1,3 +1,9 @@
|
||||
i2p (2.4.0-1ubuntu1) focal; urgency=medium
|
||||
|
||||
* New upstream version 2.4.0
|
||||
|
||||
-- idk <hankhill19580@gmail.com> Wed, 20 Dec 2023 19:28:05 +0000
|
||||
|
||||
i2p (2.3.0-1ubuntu1) focal; urgency=medium
|
||||
|
||||
* New upstream version 2.3.0
|
||||
|
6
debian/changelog
vendored
6
debian/changelog
vendored
@ -1,3 +1,9 @@
|
||||
i2p (2.4.0-1ubuntu1) focal; urgency=medium
|
||||
|
||||
* New upstream version 2.4.0
|
||||
|
||||
-- idk <hankhill19580@gmail.com> Wed, 20 Dec 2023 19:28:05 +0000
|
||||
|
||||
i2p (2.3.0-1ubuntu1) focal; urgency=medium
|
||||
|
||||
* New upstream version 2.3.0
|
||||
|
@ -130,15 +130,9 @@ class InboundMessageDistributor implements GarlicMessageReceiver.CloveReceiver {
|
||||
return;
|
||||
if (!ri.isValid())
|
||||
return;
|
||||
RouterInfo oldri = _context.netDb().lookupRouterInfoLocally(key);
|
||||
// only update if RI is newer and non-ff
|
||||
if (oldri != null && oldri.getPublished() < ri.getPublished() &&
|
||||
((FloodfillNetworkDatabaseFacade)_context.netDb()).isNotFloodfill(ri)) {
|
||||
if (_log.shouldLog(Log.WARN))
|
||||
_log.warn("Updating caps for RI " + key + " from \"" +
|
||||
oldri.getCapabilities() + "\" to \"" + ri.getCapabilities() + '"');
|
||||
_context.peerManager().setCapabilities(key, ri.getCapabilities());
|
||||
}
|
||||
// RouterInfo oldri = _context.netDb().lookupRouterInfoLocally(key);
|
||||
// don't update caps if the RouterInfo came down a client tunnel, as it may be(Almost certainly is) malicious
|
||||
// and we deny RI storage in client DB's anyway
|
||||
return;
|
||||
} else if (dsm.getReplyToken() != 0) {
|
||||
_context.statManager().addRateData("tunnel.dropDangerousClientTunnelMessage", 1, type);
|
||||
|
Reference in New Issue
Block a user