@eyedeekay
&kytv
&zzz
+R4SAS
+RN
+RN_
+StormyCloud
+T3s|4
+dr|z3d
+hagen
+lbt
+not_bob_afk
+orignal
+postman
+radakayot
+segfault
+weko
+wodencafe
An0nm0n
Arch
BravoOreo
Danny
FreeRider
Irc2PGuest28940
Irc2PGuest29709
Irc2PGuest30976
Irc2PGuest36803
Irc2PGuest41075
Irc2PGuest59134
Irc2PGuest88090
Nausicaa
Onn4l7h
Onn4|7h
Over1
Sisyphus
Sleepy
Soni
T3s|4__
acetone_
anon2
b3t4f4c3
bak83_
boonst
cumlord
dickless
dr4wd3
enoxa
eyedeekay_bnc
ka2
l337s
poriori
profetikla
qend-irc2p
rapidash
shiver_
solidx66
u5657
uop23ip
w8rabbit
zzz
FYI orignal, banana reseed been down for almost a month, dr|z3d is recommending coconut.incognet.io as an alternate, same su3 signer
zzz
eyedeekay, you think it's ok if we switch to coconut or should we await a formal request from rambler?
eyedeekay
Let's go ahead and switch to coconut
zzz
yeah, wouldn't normally, but we have drz assurance
StormyCloud
Once we get on our new platform we can spin up another reseed using the check I2P domain for additional redundancy
zzz
StormyCloud, what's your ETA for that?
StormyCloud
TBD waiting on our favorite person to get back to us.
zzz
:)
zzz
in the meantime I would like to see everybody update to the new reseed-tools, I only see a couple of reseeds that have done so
StormyCloud
Will get ours done this week
zzz
MR 227 (part 4) up for review
eyedeekay
Looking at it now, back in a few
zzz
take your time
zzz
had to do this because netdb is now ready sooner, so all the transport thrashing that used to be just local is now getting sent to the ff
segfault
hi. could you explain, how to wrap ssu2 over udp dgrams?
zzz
the question is a little confusing, please explain more what you're doing
segfault
i have an experiment. i try implement very primitive i2p router using only ssu2 (no ntcp2). i want to know, how i should wrap ssu2 over sendto(2) and recvfrom(2) functions.
segfault
so i want to know how to send correct dgram and recive dgram and check it
zzz
you would have to implement the very long SSU2 specification, that might be a 6 month project ((
zzz
NTCP2 is a lot easier, maybe you could do that in 3 months
segfault
zzz: what if i try ignore legacy? just take it as invalid udp dgram / tcp stream?
zzz
there's no shortcut
zzz
routers only talk to other routers with NTCP2 or SSU2
zzz
talk to eyedeekay, he's been working on NTCP2 in golang for three years
zzz
but don't start with SSU2, it's WAY harder
segfault
zzz: as i know, java i2p implements ssu1 as first protocol
zzz
ssu1 is dead, we don't support it any more
segfault
zzz: i know, i mean why hard ssu was implemented first?
zzz
it wasnt
zzz
going back 20 years:
zzz
TCP, then NTCP, then SSU, then NTCP2, then a bunch of new tunnel protocols and ratchet, then SSU2 was the last thing we did, because it was the hardest
zzz
SSU 1 was in 2005, after TCP and NTCP
segfault
ok, i'll try implement ntcp2
zzz
maybe you can help eyedeekay on the go version, or code review or testing, good way to learn github.com/go-i2p/go-i2p
segfault
zzz: but the question is same. i use socket(2), connect(2)... and now i can write(2) into socket. how should i send correct data into tcp stream as ntcp2?
segfault
udp dgrams use padding
segfault
but tcp is stream protocol, so should i doing something like this in ntcp2?
segfault
*like that
zzz
implement the entire NTCP2 protocol, and then write() each messge to the socket
zzz
the socket is the easy part ))
segfault
zzz: ok. how to debug it?)
segfault
zzz: i bet, if i implement it, it shouldn't work
segfault
how can i check parts of implementation?
zzz
run a java or i2pd router, turn debugging on, connect to it from your router, see if it complains
zzz
or, write unit tests
zzz
you are alice, create messaage 1, then you are bob, try to read it in
segfault
zzz: how to turn so verbose logging on? and how to disallow java router connect to others to keep logs clear?
zzz
there's 3 messages in the handshake, and then the data phase messages, so you implement and test all 4 of them, one at a time
zzz
/configlogging in the java console
zzz
easiest way to isolate it is just turn off networking on your computer, or you could set up an isolated container
segfault
zzz: thx
zzz
but you have a month or two of work ahead of you before you'll have to worry about testing
eyedeekay
Merge !227 when you're ready zzz