Opened 5 years ago

Last modified 5 years ago

#1835 open defect

Handle blocked UDP better

Reported by: zzz Owned by: zzz
Priority: minor Milestone: 0.9.28
Component: router/transport Version: 0.9.26
Keywords: Cc:
Parent Tickets: Sensitive: no


From a discussion in #i2pd-dev:

orignal says there are mobile ISPs in Russia that completely block UDP (except for DNS and maybe NTP, which they force to their own servers).

We wouldn't publish any addresses in this case, as we wouldn't ever get any SSU peers to use as introducers… We'd essentially be in hidden mode, but without the configuration.

But we'll continue to try SSU before NTCP for every connection.

We need to detect this case, and switch into (effectively) hidden mode, where we (iirc) enable tunnel testing and pick connected peers for the closest IB hop.

And also, perhaps, shutdown or adjust the SSU bids so we try NTCP first, after an extended period of failure.

Orignal proposed 'NTCP introducers' as a solution… that's a different topic…


#1259: Recognize transition to completely blocked UDPopenzzz
#1399: UDP connectivity problems should be reported betternew

Change History (6)

comment:1 Changed 5 years ago by zzz

Status: newopen

Enabled tunnel testing, and use fast peers for IB tunnels, when no addresses, in 88e26feb752a31eebb310dbb2c387665dfa91b8e 0.9.26-10

leaving open for testing and research, what else happens when SSU is blocked? Also need to look at bid adjustment or SSU shutdown.

comment:2 Changed 5 years ago by zzz

Changed to try NTCP some portion of the time, even before SSU minimums are met, in 95be75681029555bfeb474dc05b6aad2104d09a5 0.9.27-8

Leaving open, still to do, add some state machine to eventually decide that UDP is blocked and adjust bids further.

comment:3 Changed 5 years ago by zzz

Parent Tickets: 1399

comment:4 Changed 5 years ago by zzz

Parent Tickets: 1399

comment:5 Changed 5 years ago by zzz

Add a subticket #1399.

comment:6 Changed 5 years ago by zzz

Add a subticket #1259.

Note: See TracTickets for help on using tickets.