Opened 4 years ago

Closed 3 years ago

#1465 closed enhancement (fixed)

Add introduction tag request to SSU

Reported by: zzz Owned by: zzz
Priority: minor Milestone: 0.9.24
Component: router/transport Version: 0.9.17
Keywords: Cc:
Parent Tickets:


Routers can have trouble getting an introducer tag at times of congestion and at startup.

Bob doesn't know if Alice is firewalled when she sends the Session Request. So Bob can either offer an introduction tag, or not, in the Session Created. But Bob only has a limited number of routers he can offer for, since these sessions must stay up a long time. If Bob knew that Alice needed one, he could definitely give her one, and not give them to the routers that don't need them.

This would require an extra byte in the Session Request message.

Or, Bob could take a guess based on the incoming IP/port and a look through the netdb or other data structures.

ref: http://i2p-projekt.i2p/en/docs/spec/ssu


Change History (3)

comment:1 Changed 4 years ago by zzz

Related: #1656 #1352

comment:2 Changed 4 years ago by zzz

  • Milestone changed from eventually to 0.9.24
  • Status changed from new to accepted

Surprise! There's an unused extended options field in the SSU header. I propose that we use it.

Details: http://zzz.i2p/topics/1987

comment:3 Changed 3 years ago by zzz

  • Resolution set to fixed
  • Status changed from accepted to closed

Implemented in 0.9.24.

Note: See TracTickets for help on using tickets.