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

Skip to content
Snippets Groups Projects
  1. Feb 11, 2023
    • zzz's avatar
      Data: Move LS RAP/RAR booleans up to superclass · 78ee0058
      zzz authored
      Add RAR to I2NP DSM
      WIP
      78ee0058
    • zzz's avatar
      NetDB: Increase flood thottle time · cb901393
      zzz authored
      cb901393
    • zzz's avatar
      NetDB: Expiration tweaks · d6c6b5e0
      zzz authored
      Start expire job sooner if forced floodfill or downtime was short
      Don't run refresh routers job if forced floodfill or downtime was short or vmcommsystem
      Increase expire probability
      Don't expire routers close to us just before midnight
      Don't start expire leases job until 11 minutes after startup
      Base probability out of 128 to reduce random usage
      Consolidate now() calls
      d6c6b5e0
  2. Feb 10, 2023
  3. Feb 09, 2023
  4. Feb 08, 2023
  5. Feb 04, 2023
    • zzz's avatar
      bump -6 · c6fca9da
      zzz authored
      c6fca9da
    • zzz's avatar
      Profiles: Make DBHistory rates final · bdbbe148
      zzz authored
      bdbbe148
    • zzz's avatar
      Router: Continue work on congestion caps (proposal 162) · f2b206b1
      zzz authored
      Set caps based on job lag and share bandwidth
      Add 20 minute rate to tunnel.participatingMessageCountAvgPerTunnel to
      be used for congestion caps
      Don't set congestion cap if hidden
      f2b206b1
    • zzz's avatar
      Router: Stat cleanup · c1f83d6e
      zzz authored
      Remove old non-required client.timeoutCongestion* stats in OCMOSJ.
      Remove RouterThrottle.getInboundRateDelta(), used only for those stats.
      Remove transport.sendMessageSize rates longer than 60s, used only for getInboundRateDelta().
      Remove transport.receiveMessageSize rates longer than 60s, unused anywhere.
      Remove transport.sendProcessingTime rates longer than 60s, unused anywhere.
      getInboundRateDelta() was broken anyway as it was looking at send, not receive size.
      All of this was untouched since 2004.
      9 total rates for required stats removed.
      c1f83d6e
  6. Feb 01, 2023
    • zzz's avatar
      Profiles: Remove 30m tunnel history rates · 37beb532
      zzz authored
      to save a large amount of space.
      30m rates were almost always within 10% of the 60m rates,
      so we clearly don't need both.
      Keep 60m because that's what we publish in the netdb.
      Adjust rate weighting in CapacityCalculator accordingly.
      37beb532
    • zzz's avatar
      Profiles: Count all build rejections in tunnel history · 019a8b66
      zzz authored
      Previously did not count probabalistic or transient codes
      Reduce 10 minute acceptance rate for these codes
      (previously adjusted the averaged rate)
      Make rates final in TunnelHistory
      Static rates array to reduce object churn
      Prep for removing 30m rates
      Reduce now() calls, pull out of loops
      019a8b66
    • zzz's avatar
      Ratchet: Don't bundle LS with ratchet ACK · 99703d53
      zzz authored
      Not necessary, and will be the wrong LS for EdDSA subsession
      99703d53
  7. Jan 31, 2023
  8. Jan 30, 2023
    • zzz's avatar
      typo · 07a796bc
      zzz authored
      07a796bc
    • 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
  9. Jan 29, 2023
  10. Jan 28, 2023
Loading