I2P Address: [http://i2pgit.org]

Skip to content

SSU2: Delay sending relay tag

zzz requested to merge zzz/i2p.i2p:ssu2-relay-tag into master

until after session confirmed with RI is received. Tag was previously sent with retry or session created, now it is sent with the ACK 0, as allowed by the SSU2 spec. This allows us to decide whether to relay based on the RI. Older routers are not relayed, this frees up relay slots and prevents long connection times due to possible relay, which frees up connection slots. R routers are relayed with a 1 in 4 probability, to save slots for U routers.

Tested that tags are sent with ACK 0 and relaying still works.

Merge request reports