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

Skip to content
Snippets Groups Projects
  1. Apr 25, 2022
  2. Apr 24, 2022
  3. Apr 23, 2022
    • zzz's avatar
      SSU2: Peer Test fixes part 2 · 281bf680
      zzz authored
      Don't send message 5 unless we sent accept in message 3
      Fix packet length for messages 5-7
      Pass messages 5-7 from PacketHandler to PeerTestManager
      Decrypt and process messages 5-7
      Handle messages 4 and 5 in either order
      Don't set test complete after message 5
      Build data block for message 6
      Log tweaks
      Unverified
      281bf680
    • zzz's avatar
      SSU2: Peer Test fixes part 1 · ce2b5639
      zzz authored
      Store our IP/port in PeerState2
      Send our IP/port in message 1
      Fix signature validation of message 4
      Check for 0 status in messages 1 and 2
      Fail on nonzero status in message 4
      Log tweaks
      Unverified
      ce2b5639
  4. Apr 17, 2022
  5. Apr 14, 2022
  6. Apr 13, 2022
    • zzz's avatar
      Router: Soft restart fixes part 1 · 04b1bdb4
      zzz authored
      Reset uptime on soft restart
      Don't rekey after failure to store our RI due to clock skew
      Change comm system state during soft restart
      Restarter log tweaks
      Unverified
      04b1bdb4
  7. Apr 12, 2022
  8. Apr 06, 2022
  9. Apr 05, 2022
  10. Mar 28, 2022
  11. 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
  12. 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
  13. Mar 25, 2022
  14. Mar 24, 2022
  15. 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
  16. 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
  17. Mar 20, 2022
Loading