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

Skip to content
Snippets Groups Projects
  1. Feb 11, 2023
  2. Dec 01, 2018
  3. Nov 13, 2018
  4. May 27, 2015
    • zzz's avatar
      Banlist: Ban all-zero hash · fba03723
      zzz authored
      NetDb: Drop all-zero lookups and stores, add stats
      SSU:
       - Fix debug logging of dumped packets
       - Drop sessions with bad clock skew, banlist peer, add stats
       - Drop sessions with corrupt DSM, banlist peer, add stats
      Log tweaks
      fba03723
  5. Apr 11, 2015
    • zzz's avatar
      Updates after review: · dd265bbd
      zzz authored
      Remove meeh.i2p as update host (ticket #1515)
      Re-add 193.xxx https reseed
      Fix SocketManagerFactory property handling
      Restore UPnP locale fix lost in the merge
      i2ptunnel finals
      I2NP unique id fixes
      duplicate done() in ReseedChecker
      bigger langbox in CSS
      reformatting
      Javadocs
      dd265bbd
  6. Dec 02, 2014
  7. Nov 15, 2014
    • zzz's avatar
      I2NP: · 279e102d
      zzz authored
      - Set lookup type flags even if no reply tunnel specified
      - Reduce object churn when writing some messages
      279e102d
  8. Aug 21, 2014
  9. Nov 14, 2013
  10. Dec 11, 2011
    • zzz's avatar
      * I2NP: · 8448001a
      zzz authored
          - Deprecate unused stream methods and I2NPMessageReader since
            all transports provide encapsulation.
          - Don't throw IOE from byte array methods
          - Use cached null cert in GarlicClove
          - Add method to limit size of buffer to read
          - Don't check checksum at input, in most cases
          - Reuse checksum at output, for unomodified pass-through messages
            (but recalculating it now and logging on a mismatch for testing)
          - Fix DatabaseLookupMessage to internally store the don't include peers as
            a List, not a Set, so it doesn't get reordered and break the checksum
          - Log cleanup
        * NTCP:
          - Zero-copy and limit size when handing buffer to I2NP
          - Log hex dump message on I2NPMessageException, like in SSU
          - Don't close connection on I2NPMessageException
      8448001a
  11. Dec 09, 2011
    • zzz's avatar
      * I2NP: · 25b0603f
      zzz authored
          - Earlier detection and better logging of
            truncated TunnelGatewayMessage and DatabaseStoreMessage
          - Fix and enhance UnknownI2NPMessage implementation
          - Don't deserialize or verify the checksum of the
            embeddedI2NP message in the TunnelGatewayMessage
            at the IBGW, just use UnknownI2NPMessage and pass it along,
            except if zero hop; Still to do: similar thing at OBEP
          - Round expiration times when converting to/from seconds for SSU
          - Cleanups and javadoc
      25b0603f
  12. Jun 02, 2011
  13. Jan 02, 2011
    • zzz's avatar
      * NetDB, DatabaseeStoreMessage: · 37849088
      zzz authored
            - Convert everything from DataStructure to the
              new DatabaseEntry superclass
            - Optimizations made possible by DatabaseEntry
            - Don't rescan netDb directory unless changed
      37849088
  14. Dec 30, 2010
    • zzz's avatar
      * Data Structures: · 08a3165c
      zzz authored
            - New SDSCache for SimpleDataStructures
            - New SimpleByteCache for byte[]
            - Cache Hash, PublicKey, and SigningPublicKey
            - Remove global lock in ByteCache
      08a3165c
  15. May 16, 2010
  16. May 10, 2010
  17. Dec 30, 2009
  18. Jul 01, 2009
  19. Apr 21, 2009
    • sponge's avatar
      2009-04-21 sponge · f2e9e2cc
      sponge authored
          * Code janator work, basic corrections involving @Override, and
            appling final where it is important. Also fixed some equals methods
            and commented places that need fixing.
      f2e9e2cc
  20. Jul 16, 2008
  21. Sep 13, 2005
    • jrandom's avatar
      2005-09-12 jrandom · b5784d60
      jrandom authored and zzz's avatar zzz committed
          * More aggressively publish updated routerInfo.
          * Expose the flag to force SSU introductions on the router console
          * Don't give people the option to disable SNTP time sync, at least not
            through the router console, because there is no reason to disable it.
            No, not even if your OS is "ntp synced", because chances are, its not.
      b5784d60
  22. Aug 27, 2005
    • jrandom's avatar
      2005-08-27 jrandom · e313da25
      jrandom authored and zzz's avatar zzz committed
          * Minor logging and optimization tweaks in the router and SDK
          * Use ISO-8859-1 in the XML files (thanks redzara!)
          * The consolePassword config property can now be used to bypass the router
            console's nonce checking, allowing CLI restarts
      e313da25
  23. Mar 01, 2005
  24. Oct 08, 2004
    • jrandom's avatar
      2004-10-07 jrandom · ff8674bc
      jrandom authored and zzz's avatar zzz committed
          * Reimplement the I2NP reading with less temporary memory allocation.
            There is still significant GC churn, especially under load, but this
            should help.
          * Catch some oddball errors in the transport (message timeout while
            establishing).
      ff8674bc
  25. Oct 07, 2004
    • jrandom's avatar
      2004-10-07 jrandom · c7cfef3b
      jrandom authored and zzz's avatar zzz committed
          * Expire queued messages even when the writer is blocked.
          * Reimplement most of the I2NP writing with less temporary memory
            allocations (I2NP reading still gobbles memory).
      c7cfef3b
  26. Jul 27, 2004
    • jrandom's avatar
      if I'm making this backwards incompatible, I might as well clean up the rest, 'eh? · 60c7db07
      jrandom authored and zzz's avatar zzz committed
      * removed SourceRouteBlock & SourceRouteReplyMessage, as they're a redundant concept
      that 1) takes up bandwidth 2) takes up CPU 3) smell funny.
      now the TunnelCreateMessage includes a replyTag, replyKey, replyTunnel, and
      replyGateway that they garlic encrypt their ACK/NACK through and with.
      
      * tunnelCreateMessage doesn't need a seperate ACK - either we get a
      TunnelCreateStatusMessage back or we don't.
      
      * message structure mods for unique tunnel ID per hop (though currently all hops have
      the same tunnel ID)
      60c7db07
  27. Jun 29, 2004
  28. May 20, 2004
    • jrandom's avatar
      * made dbStore use a pessimistic algorithm - requiring confirmation of a... · f2fa2038
      jrandom authored and zzz's avatar zzz committed
      * made dbStore use a pessimistic algorithm - requiring confirmation of a store, rather than optimistically considering all store messages successful (NOT BACKWARDS COMPATIBLE)
      * when allocating tunnels for a client, make sure it has a good amount of time left in it (using default values, this means at least 7.5 minutes)
      * allow overriding the profile organizer's thresholds so as to enforce a minimum number of fast and reliable peers, allowing a base level of tunnel diversification.  this is done through the "profileOrganizer.minFastPeers" router.config / context property (default minimum = 4 fast and reliable peers)
      * don't be so harsh with the isFailing calculator regarding db lookup responses, since we've decreased the timeout.  however, include "participated in a failed tunnel" as part of the criteria
      * more logging than god
      * for dropped messages, if it is a DeliveryStatusMessage its not an error, its just lag / congestion (keep the average delay as the new stat "inNetPool.droppedDeliveryStatusDelay")
      f2fa2038
  29. May 17, 2004
  30. Apr 27, 2004
  31. Apr 24, 2004
    • jrandom's avatar
      big ol' update to strip out the singletons, replacing them with · 393b1d76
      jrandom authored and zzz's avatar zzz committed
      a rooted app context.  The core itself has its own I2PAppContext
      (see its javadoc for, uh, docs), and the router extends that to
      expose the router's singletons.  The main point of this is to
      make it so that we can run multiple routers in the same JVM, even
      to allow different apps in the same JVM to switch singleton
      implementations (e.g. run some routers with one set of profile
      calculators, and other routers with a different one).
      There is still some work to be done regarding the actual boot up
      of multiple routers in a JVM, as well as their configuration,
      though the plan is to have the RouterContext override the
      I2PAppContext's getProperty/getPropertyNames methods to read from
      a config file (seperate ones per context) instead of using the
      System.getProperty that the base I2PAppContext uses.
      Once the multi-router is working, i'll shim in a VMCommSystem
      that doesn't depend upon sockets or threads to read/write (and
      that uses configurable message send delays / disconnects / etc,
      perhaps using data from the routerContext.getProperty to drive it).
      I could hold off until the sim is all working, but there's a
      truckload of changes in here and I hate dealing with conflicts ;)
      Everything works - I've been running 'er for a while and kicked
      the tires a bit, but if you see something amiss, please let me
      know.
      393b1d76
  32. Apr 08, 2004
Loading