Opened 7 years ago

Closed 7 years ago

#1333 closed enhancement (fixed)

SSU: Speed up introductions by responding to HolePunch

Reported by: zzz Owned by: zzz
Priority: minor Milestone: 0.9.15
Component: router/transport Version: 0.9.13
Keywords: Cc: orignal
Parent Tickets: Sensitive: no


Currently we ignore received HolePunches? (discarded in UDPReceiver) and send a SessionRequest? 500 ms after receiving the RelayResponse?.

If UDPReceiver passes the HolePunch? to the EstablishmentManager?, it could look for the corresponding OutboundEstablishState? and send the SessionRequest? immediately, potentially saving up to 500 ms.

If we remove host/port from the SSU RouterAddress? with introducers as planned, this would only work if we received the RelayResponse? before the HolePunch?.

Also, review/adjust the 500 ms delay.

Also, review/adjust the retx timeout (was 1.5 sec, changed to 3 sec in 0.9.13).

Thanks to orignal for raising the issue.


Change History (2)

comment:1 Changed 7 years ago by zzz

Status: newtesting

In i2p.i2p.zzz.test2, to be propped for 0.9.15

comment:2 Changed 7 years ago by zzz

Resolution: fixed
Status: testingclosed
Note: See TracTickets for help on using tickets.