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

Skip to content
Snippets Groups Projects
  1. Jan 30, 2023
    • zzz's avatar
      Tunnels: Improve expl. build success in well-connected routers during congestion · ac50eefe
      zzz authored
      by not using high cap tier. Congestion starts from the top.
      Right now, the fastest routers have the worst expl. build success.
      This will help correct that.
      ac50eefe
    • zzz's avatar
      Blocklist: Don't maintain IPv6 blocklist unless we have an IPv6 address · bd4415ad
      zzz authored
      Don't read in same-country blocklist unless configured or in strict country,
      so we don't continue to block when no longer hidden
      bd4415ad
    • zzz's avatar
      NTCP2: Ensure we publish a "6" address on transition to firewalled · 86c6800f
      zzz authored
      Do not call restartListening() on transition to firewalled
      86c6800f
    • zzz's avatar
      Tunnels: Refactor peer selection · 124ebe9f
      zzz authored
      by checking if a peer qualifies when adding, rather than
      iterating through the whole netdb to generate an exclusion list at the start.
      This was very inefficient and generated needless lookup storms via lookupBeforeDropping()
      Same idea for getClosetHopExclude()
      Goal is to never iterate through all the known routers, profiles, or connected peers
      to select peers for a single tunnel.
      Add ExcluderBase and 4 classes for various cases:
      Excluder, ClosestHopExcluder, IBGWExcluder, and OBEPExcluder.
      
      Change CSFI.getEstablished() from a Set to a List for efficiency
      Improve efficiency of selectActivePeersNotFailingPeers()
      by iterating through connected list rather than profiles.
      Do not add not-connected peers to exclude set,
      which would become huge for hidden routers.
      
      Change getExclude() to shouldExclude()
      The exclude set calls shouldExclude() in contains().
      Pass the exclude set to ProfileOrganizer.
      
      For client tunnels, do OBEP and IBGW checks at peer selection time,
      not afterwards in ConnectChecker, so it doesn't fail at the end in checkTunnel().
      
      Check closest hop when hidden.
      Fail-fast for inbound when no connected peers and hidden, do not fall back to non-connected peers.
      Should improve startup time for hidden routers.
      
      Use ArraySet for matches to save space
      Remove unused selectPeersLocallyUnreachable() and selectPeersRecentlyRejecting()
      
      No peer selection policy changes here.
      124ebe9f
  2. Jan 29, 2023
  3. Jan 28, 2023
  4. Jan 27, 2023
  5. Jan 26, 2023
  6. Jan 25, 2023
  7. Jan 24, 2023
  8. Jan 23, 2023
  9. Jan 22, 2023
  10. Jan 21, 2023
Loading