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

Skip to content
Snippets Groups Projects
  1. Apr 11, 2022
  2. Apr 08, 2022
  3. Apr 06, 2022
  4. Apr 05, 2022
  5. Mar 31, 2022
  6. Mar 28, 2022
  7. 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
      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.
      8c59c514
    • zzz's avatar
      Crypto: Add provider in CertUtil so we can load EdDSA certs · 93493a6d
      zzz authored
      Check cert sigs when loading, and log warning on failure
      93493a6d
  8. Mar 26, 2022
    • zzz's avatar
      Crypto: Add official EdDSA OIDs to provider · 03e5c6c1
      zzz authored
      03e5c6c1
    • 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.
      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
      68273cd2
    • zzz's avatar
      Merge branch 'ssuackdelay' into 'master' · e130f85a
      zzz authored
      SSU: Reduce ack delay to minimize addition to measured RTT
      
      See merge request i2p-hackers/i2p.i2p!57
      e130f85a
  9. Mar 25, 2022
  10. Mar 24, 2022
  11. 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.
      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
      0154a87c
  12. 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
      4f8ad3b6
  13. Mar 20, 2022
  14. Mar 18, 2022
Loading