+dr|z3d
+orignal
+postman
+qend-irc2p
+sourceress
Arch
Birdy
Danny
Irc2PGuest23180
Irc2PGuest35290
Irc2PGuest36302
Irc2PGuest49364
Irc2PGuest49480
Irc2PGuest51117
Irc2PGuest6564
Irc2PGuest67278
Irc2PGuest71245
Irc2PGuest90409
MatrixBot
Onn4l7h
Over
Sleepy
StormyCloud
Teeed
Yotsu
_bob_
aargh3
ac9f
acetone_
ahiru
anontor2
b3t4f4c3__
cims_
dr4wd3_
duanin2
eche|off
eyedeekay_
f00b4r
ghirolt
hababam_
leopold
marek
n2
nilbog
noidea
not_bob_afk2
nyaa2pguy
o3d3_
poriori
profetikla
r00tobo
rapidash
solidx66
stormycloud[m]
test7363673
uop23ip
urist_
user_
w8rabbit
zelgomer
zzz
eyedeekay
And off it goes
obscuratus
It's been a minute since I updated master.
obscuratus
If a router is *NOT* a FloodFill, is there any reason to handle a DLM for anything but their own RI?
obscuratus
Maybe it's healthy for the network as a fall-back? Or maybe just drop those early.
obscuratus
Of course, with a segmented netDb, it should be a moot point.
dr|z3d
obscuratus: I now drop lookup requests from other routers for anything other than our own RI if we're not a ff.
obscuratus
Thanks dr|z3d
dr|z3d
here's the code:
dr|z3d
} else if (!_context.netDb().floodfillEnabled() && !_facade.shouldBanLookup(dlm.getFrom(), dlm.getReplyTunnel())) {
dr|z3d
if (_log.shouldInfo()) {
dr|z3d
_log.warn("Dropping " + searchType + " lookup from [" + dlm.getFrom().toBase64().substring(0,6) + "] " +
dr|z3d
"for [" + dlm.getSearchKey().toBase64().substring(0,6) + "] -> " +
dr|z3d
"We are not a floodfill [TunnelId " + dlm.getReplyTunnel() + "]");
dr|z3d
} else if (_log.shouldWarn()) {
dr|z3d
_log.warn("Dropping " + searchType + " lookup from [" + dlm.getFrom().toBase64().substring(0,6) + "] " +
dr|z3d
"for [" + dlm.getSearchKey().toBase64().substring(0,6) + "] -> We are not a floodfill");
dr|z3d
}
dr|z3d
one sec, I'll get you a link for the entire context/file.
dr|z3d
git.skank.i2p/i2pplus/I2P.Plus/src/commit/46f542914f229c7a353cb2cfee093f96ac6173b3/router/java/src/net/i2p/router/networkdb/kademlia/FloodfillDatabaseLookupMessageHandler.java#L71
obscuratus
OK, I was confused. Canon is also dropping DLM when we're not a FF, unless for our own RI.
dr|z3d
sounds about right, obscuratus, I think eyedeekay followed my lead on that iirc.
obscuratus
Haha! This is embarassing. I'm the one who changed that.
dr|z3d
!