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

Skip to content
Snippets Groups Projects
  1. Aug 04, 2018
  2. Nov 08, 2015
  3. 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
  4. Nov 20, 2013
  5. Nov 14, 2013
  6. 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
  7. 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
  8. May 16, 2010
  9. Jan 26, 2010
  10. Dec 30, 2009
  11. Jul 01, 2009
  12. 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
  13. Apr 12, 2008
    • zzz's avatar
      * Addressbook: Disallow '.-' and '-.' in host names · 0b600669
      zzz authored
          * NTCP: Don't drop a connection unless both directions are idle;
                  Fix idle time for outbound connections
          * Outbound message: Make sure cached lease is in current leaseSet
          * Stats: Put all NetworkDatabase stats in same group
          * TunnelPool: Stop building tunnels and leaseSets after client shutdown
          * i2psnark: Add locking to prevent two I2CP connections
      0b600669
  14. Mar 01, 2005
  15. 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
  16. 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
  17. Jul 30, 2004
  18. Jul 27, 2004
    • jrandom's avatar
      * netDb searchReply and lookup messages now contain H(peer), not the peer's full RouterInfo · 52b1c0a9
      jrandom authored and zzz's avatar zzz committed
      (making a searchReply message ~100 bytes, down from ~30KB, and the lookup message ~64 bytes, down from ~10KB)
      * when we get the netDb searchReply or lookup message referencing someone we don't know,
      we fire off a lookup for them
      * reduced some excessive padding
      * dropped the DbSearchReplyMessageHandler, since it shouldn't be used (all search replies
      should be handled by a MessageSelector built by the original search message)
      * removed some oddball constructors from the SendMessageDirectJob and SendTunnelMessageJob (always must specify a timeout)
      * refactored SendTunnelMessageJob main handler method into smaller logical methods
      52b1c0a9
  19. Jul 25, 2004
  20. Jun 19, 2004
    • jrandom's avatar
      somehow some people are getting situations where the payload doesnt decompress. wtf? · 592519c4
      jrandom authored and zzz's avatar zzz committed
      do i need to wrap the Input/Output streams we use to pipe data over the net with a verification wrapper for the messages?
      e.g. prefix the serialization of all I2NPMessages sent on the wire with the SHA256 of that serialization and verify on read?
      Ho hum, dunno.  maybe its something else, but the ElG/AES+SessionTag already has integrity verification so the only thing I can
      think of is a checksum error that got past TCP's checking and corrupted the AES stream.
      592519c4
  21. May 17, 2004
  22. 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
  23. Apr 10, 2004
  24. Apr 08, 2004
Loading