IRCaBot 2.1.0
GPLv3 © acetone, 2021-2022
#i2p-dev
/2023/08/31
@eyedeekay
&eche|on
&kytv
&zzz
+R4SAS
+RN
+StormyCloud
+T3s|4
+acetone
+dr|z3d
+goose2_
+hagen
+orignal
+postman
+weko
An0nm0n
Arch
Danny
DeltaOreo
DiCEy1904
FreefallHeavens
Irc2PGuest48909
Irc2PGuest71836
Nausicaa
Onn4l7h
SoniEx2
T3s|4_
Teeed
anon2
b3t4f4c3__
bak83_
boonst
cumlord
dr4wd3
eyedeekay_bnc
goose2
hk
itsjustme
j6
mareki2p
numberwang
onon_1
poriori
profetikla
qend-irc2p
rapidash
shiver_
u5657
unwr
user
veiledwizard
w8rabbit
x74a6
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 one sec, I'll get you a link for the entire context/file.
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.