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

Skip to content
Snippets Groups Projects
  1. Jan 01, 2023
  2. Dec 31, 2022
  3. Dec 30, 2022
  4. Dec 29, 2022
  5. Dec 26, 2022
    • zzz's avatar
      Throttle: Don't parse default values every time · 32ffd056
      zzz authored
      32ffd056
    • zzz's avatar
      bump -12 · b5ce7095
      zzz authored
      b5ce7095
    • zzz's avatar
      SSU1: Symmetric NAT detection fixes · 2b8d3477
      zzz authored
      Never let SSU1 test result be symmetric NAT, it's probably charlie
      Don't use SSU1 test if we think we are symmetric NAT
      Cleanup two places to call new fail() method
      2b8d3477
    • zzz's avatar
      SSU: Fix NPE when SSU2 disabled · d655ad20
      zzz authored
      d655ad20
    • zzz's avatar
      Router: Don't blocklist our own IP · d16aaab3
      zzz authored
      d16aaab3
    • zzz's avatar
      SSU2: Redesign peer test symmetric NAT detection · ba0fee15
      zzz authored
      - Send msg 6 even if msg 5 is not received, after a short delay, to detect symmetric NAT
      - Prevent test result of symmetric NAT if Charlie is the one that appears to be symmetric natted.
      - Mark if Charlie unreachable if apparently symmetric natted.
      - Do not treat a different IP but same port as symmetric NAT
      - Increase msg 6 retransmission frequency
      - Ignore msg 5 received after sending msg 6
      - Call externalAddressReceived() on reception of msg 7
      - Add javadoc for testComplete() state machine
      
      Most changes only affect SSU2; some SSU1 changes to follow.
      
      ref: http://zzz.i2p/topics/3489
      ba0fee15
    • zzz's avatar
      SSU2: Minor cleanups · 2ce2b894
      zzz authored
      Rename isSnatted() to isSymNatted()
      Minor rewrite in PeerState2.gotTermination()
      Remove dead peer when pinging fails in intro manager
      Cleanup ip length check in externalAddressReceived()
      Log tweaks
      2ce2b894
  6. Dec 23, 2022
  7. Dec 22, 2022
  8. Dec 21, 2022
  9. Dec 20, 2022
    • zzz's avatar
      fd58472c
    • zzz's avatar
      bump -10 · e9c74c7c
      zzz authored
      e9c74c7c
    • zzz's avatar
      Change calls from Addresses.getIP() to Addresses.getIPOnly() for peer IPs · 903477e9
      zzz authored
      getIPOnly() is more efficient for pure IP addresses (no hostnames)
      903477e9
    • zzz's avatar
      log typo · fd2af4d8
      zzz authored
      fd2af4d8
    • zzz's avatar
      SSU2: Bundle RI with peer test messages 2 and 4 if possible · ccb01ccf
      zzz authored
      similar to previous checkin for relay intro
      ccb01ccf
    • zzz's avatar
      SSU2: Peer test improvements · 4d650249
      zzz authored
      - Return OK as Alice when only receiving msg 5, unless snatted (SSU 1 also)
      - Allow and handle firewalled Charlie as Alice
      - Only create peer test data once as Alice
      - Store test status and send-to-Alice time in test state to support retransmission
      - Don't delete state after sending msg 4 as Bob, for possible retransmission
      - Check for IP mismatch from Charlie as Alice, abort test and assume good
      - Check for port mismatch from Charlie as Alice and validate
      - Skip unroutable addresses when searching through RI for the right one
      - Respond to retransmitted msg 1 as Bob
      - Respond to retransmitted msg 2 as Charlie
      - Update Charlie timer to retransmit msg 5
      - Only send Charlie RI to Alice (as Bob) if test was accepted
      - Convert timers to SimpleTimer2 (SSU 1 also)
      - Log tweaks
      4d650249
  10. Dec 19, 2022
    • zzz's avatar
      Router: Time initialization fixes and cleanups · 6092e35b
      zzz authored
      Most changes are relevant only if NTP is disabled or failed at startup.
      
      - Require two peers that agree for transports to initialize time
      - Briefly ban skewed peer when not initialized, so another peer will be the second sample
      - Allow SSU2 to initialize time even for large skews
      - Do not allow NTCP2 inbound to initialize time for large skews
      - Disable SSU1 time initialization when SSU2 is enabled
      - When SSU2 is disabled, allow SSU1 time initialization even for large skews
      - Don't adjust to large inbound NTCP2 skews when not initialized
      - Round time sent in NTCP2 DateTime block
      - Adjust SSU2 skew for RTT
      - Don't sort by absolute skew on SSU /peers tab so we can find median
      - Only call System.currentTimeMillis() once in RouterClock.setOffset()
      - Log tweaks
      6092e35b
  11. Dec 18, 2022
    • zzz's avatar
      SSU2: Compress and bundle Alice RI with relay intro · 51d567ec
      zzz authored
      as Bob, to send to Charlie, if it fits.
      Otherwise, delay sending relay intro, so the RI DSM gets there first.
      This makes relay faster and more reliable.
      Periodically clean _nonceToAlice
      Log tweaks
      51d567ec
  12. Dec 17, 2022
Loading