I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
  1. Apr 12, 2022
  2. Apr 06, 2022
  3. Apr 05, 2022
  4. Mar 28, 2022
  5. Mar 27, 2022
    • zzz's avatar
      SSU2: Prep for fragmented RI (WIP) · b1852c12
      zzz authored
      Fix IES2 not being removed from pending after complete
      Don't send DSM after handshake
      Validate conn ID before pkt type for data pkts
      More log tweaks
      
      SSU: Increase min pending establish states limit (unless slow)
      Reduce IB establish timeout to 15s
      Log pending inbound establish states when limit exceeded
      Log tweaks to add establish state lifetime
      Bump -11
      Unverified
      b1852c12
    • zzz's avatar
      Router: Validate family sig at startup · 8c59c514
      zzz authored
      when loaded from router.info, and discard if invalid or when family changed.
      This fixes some routers out there with bad sigs.
      Don't loop forever through LoadRouterInfoJob.
      Unverified
      8c59c514
  6. Mar 26, 2022
    • zzz's avatar
      SSU2: Hook in IMF Bloom filter to detect dups · 826bf3c2
      zzz authored
      Call messagePartiallyReceived() even for dups or expired messages
      so an ack is generated.
      Unverified
      826bf3c2
    • zzz's avatar
      SSU2: Reduce ack delay, see MR !57 · 68273cd2
      zzz authored
      See previous checkin for SSU 1.
      This change dramatically reduces the measured RTT to get it much closer to the real RTT by reducing the ack delay.
      With the ack delay dependent on the measured RTT, the measured RTT will increase.
      
      Simulation results: For a denominator D in the ack delay calculation (currently 2) and a true RTT = TRTT:
      For D <= about 2, measured RTT -> TRTT + 2 * TRTT/D For D >= about 4, measured RTT -> TRTT + TRTT/D
      
      In other words, for D == 2, measured RTT -> 2 * TRTT. For a TRTT of 50, the measured RTT is 100.
      D == 2 is too small. It's been like that since 2005.
      Testnet results: measured RTT 80-90
      
      This changes D to 6. measured RTT -> 6/5 * TRTT.
      Simulation results: For a TRTT of 50, the measured RTT is 58.
      Testnet results: measured RTT 60
      Unverified
      68273cd2
  7. Mar 25, 2022
  8. Mar 24, 2022
  9. Mar 23, 2022
    • zzz's avatar
      I2CP: Synch fixes · 631a6dd2
      zzz authored
      Synch fields in the data messages both directions,
      after one report of zero session ID in MessagePayloadMessage
      to an external client on fast hardware with Java 18.
      Add new constructors for efficiency.
      Deprecated setters, unit tests not changed, TODO.
      Should fix all the other messages also, TODO.
      Unverified
      631a6dd2
    • zzz's avatar
      SSU2: Refactor tokens · 0154a87c
      zzz authored
      Store OB tokens by IP/port
      Centralize token generation and expiration in Establishment Manager
      Add methods to flush OB tokens on IP/port change
      Log tweaks
      Javadoc fix
      Unverified
      0154a87c
  10. Mar 22, 2022
    • zzz's avatar
      Router family fixes · 4f8ad3b6
      zzz authored
      Don't overwrite an existing family keystore file
      Don't allow starting a new family with an existing family keystore file
      Don't add family to RI until we have restarted and have a keystore file
      Don't fail a netdb store for no family sig
      Don't ever fail our own netdb store for family errors, to avoid rekey/restart
      Unverified
      4f8ad3b6
  11. Mar 20, 2022
  12. Mar 18, 2022
  13. Mar 17, 2022
  14. Mar 16, 2022
    • zzz's avatar
      SSU2: Minor cleanups · 89610092
      zzz authored
      Add min packet size constants and notes
      Don't attempt to decrypt a packet as a new inbound session if too small
      Remove unused payload[] in IES2, now decrypted in-place
      Log level tweaks in Establisher
      Unverified
      89610092
  15. Mar 15, 2022
Loading