Opened 3 years ago

Last modified 2 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:

Description

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...

Subtickets (add)

#1259: Recognize transition to completely blocked UDPdefectopenzzz
#1399: UDP connectivity problems should be reported betterenhancementnew

Change History (6)

comment:1 Changed 3 years ago by zzz

  • Status changed from new to open

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 2 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 2 years ago by zzz

  • Parent Tickets set to 1399

comment:4 Changed 2 years ago by zzz

  • Parent Tickets 1399 deleted

comment:5 Changed 2 years ago by zzz

Add a subticket #1399.

comment:6 Changed 2 years ago by zzz

Add a subticket #1259.

Note: See TracTickets for help on using tickets.