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

Skip to content
Snippets Groups Projects
  1. Nov 27, 2004
    • jrandom's avatar
      2004-11-27 jrandom · 72be9b5f
      jrandom authored and zzz's avatar zzz committed
          * Some cleanup and bugfixes for the IP address detection code where we
            only consider connections that have actually sent and received messages
            recently as active, rather than the mere presence of a TCP socket as
            activity.
      72be9b5f
    • jrandom's avatar
      2004-11-27 jrandom · 8e02586c
      jrandom authored and zzz's avatar zzz committed
          * Removed the I2PTunnel inactivity timeout thread, since the new streaming
            lib can do that (without an additional per-connection thread).
          * Close the I2PTunnel forwarder threads more aggressively
      8e02586c
    • jrandom's avatar
      2004-11-27 jrandom · 0b5a6408
      jrandom authored and zzz's avatar zzz committed
          * Fix for a fast loop caused by a race in the new streaming library (thanks
            DrWoo, frontier, pwk_, and thetower!)
          * Minor updates to the SimpleTimer and Connection to help track down a
            high CPU usage problem (dumping debug info to stdout/wrapper.log if too
            many events/tasks fire in a second)
          * Minor fixes for races on client disconnects (causing NPEs)
      0b5a6408
  2. Nov 26, 2004
  3. Nov 25, 2004
    • jrandom's avatar
      2004-11-25 jrandom · 8bd99f69
      jrandom authored and zzz's avatar zzz committed
          * Revised the installer to include start menu and desktop shortcuts for
            windows platforms, including pretty icons (thanks DrWoo!)
          * Allow clients specified in clients.config to have an explicit startup
            delay.
          * Update the default install to launch a browser pointing at the console
            whenever I2P starts up, rather than only the first time it starts up
            (configurable on /configservice.jsp, or in clients.config)
          * Bugfix to the clock skew checking code to monitor the delta between
            offsets, not the offset itself (duh)
          * Router console html update
          * New (and uuuuugly) code to verify that the wrapper.config contains
            the necessary classpath entries on update.  If it has to update the
            wrapper.config, it will stop the JVM and service completely, since the
            java service wrapper doesn't reread the wrapper.config on JVM restart -
            requiring the user to manually restart the service after an update.
          * Increase the TCP connection timeout to 30s (which is obscenely long)
      ------------------------------------------------
      8bd99f69
  4. Nov 23, 2004
    • jrandom's avatar
      2004-11-22 jrandom · 608d713d
      jrandom authored and zzz's avatar zzz committed
          * Update to the SAM bridge to reduce some unnecessary memory allocation.
          * New stat to keep track of slow jobs (ones that take more than a second
            to excute).  This is published in the netDb as jobQueue.jobRunSlow
      608d713d
  5. Nov 22, 2004
    • jrandom's avatar
      2004-11-21 jrandom · 6d5fc8ca
      jrandom authored and zzz's avatar zzz committed
          * Update the I2PTunnel web interface to include an option for the new
            streaming lib (which is ignored until the 0.4.2 release).
          * Revised the I2PTunnel web interface to keep the I2CP options of client
            and httpclient tunnels in sync, as they all share the same I2CP session.
      6d5fc8ca
  6. Nov 21, 2004
    • jrandom's avatar
      2004-11-21 jrandom · 12a6f3e9
      jrandom authored and zzz's avatar zzz committed
          * Only allow small clock skews after the first 10 minutes of operation
            (to prevent later network lag bouncing us way off course - yes, we
            really need an NTP impl to balance out the network burps...)
          * Revamp the I2PTunnel web interface startup process so that everything
            is shown immediately, so that different pieces hanging don't hang
            the rest, and other minor bugfixes.
          * Take note of SAM startup error (in case you're already running a SAM
            bridge...)
          * Increase the bandwidth limiter burst values available to 10-60s (or
            whatever is placed in /configadvanced.jsp, of course)
      12a6f3e9
    • jrandom's avatar
      2004-11-21 jrandom · 2c594357
      jrandom authored and zzz's avatar zzz committed
          * Allow end of line comments in the hosts.txt and other config files,
            using '#' to begin the comments (thanks susi!)
          * Add support to I2PTunnel's 'client' feature for picking between multiple
            target destinations (e.g. 'client 6668 irc.duck.i2p,irc.baffled.i2p')
          * Add a quick link on the left hand nav to reseed if there aren't enough
            known peers, as well as link to the config page if there are no active
            peers.  Revised config page accordingly.
      2c594357
    • jrandom's avatar
      2004-11-21 jrandom · 603bc99a
      jrandom authored and zzz's avatar zzz committed
          * Destroy ElGamal/AES+SessionTag keys after 15 minutes of inactivity
            rather that every 15 minutes, and increase the warning period in which
            we refresh tags from 30s to 2 minutes.
          * Bugfix for a rare problem closing an I2PTunnel stream where we'd fail
            to close the I2PSocket (leaving it to timeout).
      603bc99a
  7. Nov 19, 2004
    • jrandom's avatar
      2004-11-19 jrandom · 0b48b18e
      jrandom authored and zzz's avatar zzz committed
          * Off-by-one fix to the tunnel pool management code, along side some
            explicit initialization.  This can affect clients whose lengths are
            shorter than the router's default (thanks duck!)
      0b48b18e
  8. Nov 17, 2004
    • jrandom's avatar
      2004-11-17 jrandom · cd075fc8
      jrandom authored and zzz's avatar zzz committed
          * Fix to propogate i2psocket options into the SAM bridge correctly (thanks
            Ragnarok!)
      cd075fc8
    • jrandom's avatar
      2004-11-17 jrandom · e7334279
      jrandom authored and zzz's avatar zzz committed
          * Minor logging update.
      e7334279
  9. Nov 16, 2004
    • jrandom's avatar
      2004-11-16 jrandom · d943b499
      jrandom authored and zzz's avatar zzz committed
          * Clean up the propogation of i2psocket options so that various streaming
            libs can honor them more precisely
      d943b499
    • jrandom's avatar
      2004-11-16 jrandom · 4a4f57d6
      jrandom authored and zzz's avatar zzz committed
          * Minor logging update
      (toss net.i2p.router.JobQueueRunner=WARN in /configlogging.jsp to see wtf is hanging your router)
      4a4f57d6
  10. Nov 15, 2004
    • jrandom's avatar
      2004-11-14 jrandom · 3780d290
      jrandom authored and zzz's avatar zzz committed
          * Fix a long standing leak in I2PTunnel (hanging on to i2psocket objects)
          * Fix a leak injected into the SimpleTimer
          * Fix a race condition in the tunnel message handling
      3780d290
  11. Nov 13, 2004
    • jrandom's avatar
      2004-11-13 jrandom · 5f798254
      jrandom authored and zzz's avatar zzz committed
          * Added throttles on how many I2PTunnel client connections we open at once
          * Replaced some buffered streams in I2PTunnel with unbuffered streams, as
            the streaming library used should take care of any buffering.
          * Added a cache for some objects used in I2PTunnel, especially useful when
            there are many short lived connections.
          * Trimmed the SimpleTimer's processing a bit
      5f798254
  12. Nov 10, 2004
    • jrandom's avatar
      2004-11-10 jrandom · 881524a5
      jrandom authored and zzz's avatar zzz committed
          * Allow loading the (mini)streaming connection options from the
            environment.
          * More defensive programming in the DSA implementation.
      881524a5
  13. Nov 08, 2004
    • jrandom's avatar
      2004-11-08 jrandom · 0c049f39
      jrandom authored and zzz's avatar zzz committed
          * Remove spurious flush calls from I2PTunnel, and work with the
            I2PSocket's output stream directly (as the various implementations
            do their own buffering).
          * Another pass at a long standing JobQueue bug - dramatically simplify
            the job management synchronization since we dont need to deal with
            high contention (unlike last year when we had dozens of queue runners
            going at once).
          * Logging
      0c049f39
    • jrandom's avatar
      2004-11-08 jrandom · 096b807c
      jrandom authored and zzz's avatar zzz committed
          * Make the SAM bridge more resiliant to bad handshakes (thanks duck!)
      096b807c
  14. Nov 07, 2004
    • jrandom's avatar
      0.4.1.4 · 98b5252a
      jrandom authored and zzz's avatar zzz committed
    • jrandom's avatar
      2004-11-06 jrandom · 5f113f16
      jrandom authored and zzz's avatar zzz committed
          * Expose a drop down on the /configclients.jsp to enter the outbound
            tunnel depth.
          * Improved *hosts.txt loading
          * Explicitly override the JVM's timezone settings to use GMT so that
            any client applications which use timezones won't leak sensitive
            data (thanks gott!)
          * Bundle sam.jar in the update (thanks duck!)
      5f113f16
  15. Nov 06, 2004
    • jrandom's avatar
      2004-11-06 jrandom · 314316ce
      jrandom authored and zzz's avatar zzz committed
          * Fix for a long standing synchronization bug in the SDK that in rare
            instances can add a few seconds of lag.
      314316ce
  16. Nov 05, 2004
    • jrandom's avatar
      2004-11-05 jrandom · 7a0236ad
      jrandom authored and zzz's avatar zzz committed
          * Bugfixes and unit tests for the SAM bridge to handle quoted message
            parameters, verify proper operation after multiple session lifetimes,
            as well as some synchronization problems.
          * New properties method on the DataHelper class.
          * Address a race on fast disconnecting clients
      7a0236ad
  17. Nov 02, 2004
    • jrandom's avatar
      2004-11-02 jrandom · 6ef22166
      jrandom authored and zzz's avatar zzz committed
          * Fix for a long standing synchronization bug in the JobQueue (and added
            some kooky flags to make sure it stays dead)
          * Update the ministreaming lib to force mode=guaranteed if the default
            lib is used, and mode=best_effort for all other libs.
      6ef22166
    • jrandom's avatar
      2004-11-02 jrandom · 1107e501
      jrandom authored and zzz's avatar zzz committed
          * Fixed up the configuration overrides for the streaming socket lib
            integration so that it properly honors env settings.
          * More memory usage streamlining (last major revamp for now, i promise)
      1107e501
  18. Nov 01, 2004
    • jrandom's avatar
      2004-11-01 jrandom · c19355a7
      jrandom authored and zzz's avatar zzz committed
          * Increase the tunnel test timeout rapidly if our tunnels are failing.
          * Honor message expirations for some tunnel jobs that were prematurely
            expired.
          * Streamline memory usage with temporary object caches and more efficient
            serialization for SHA256 calculation, logging, and both I2CP and I2NP
            message handling.
          * Fix some situations where we forward messages too eagerly.  For a
            request at the tunnel endpoint, if the tunnel is inbound and the target
            is remote, honor the message by tunnel routing the data rather than
            sending it directly to the requested location.
      c19355a7
  19. Oct 30, 2004
    • jrandom's avatar
      (mmMMmm profiling) · 58fcbad2
      jrandom authored and zzz's avatar zzz committed
      2004-10-30  jrandom
          * Cache the temporary objects used in the AES encryption/decryption
            process so that AES doesn't require any memory allocation to process
            data.
          * Dramatically reduce memory usage within various crypto implementations
            by avoiding unnecessary (though simplifying) buffers.
          * If we specify some tags to be sent in an I2CP message explicitly, use
            only those, not those plus a new set (otherwise we aren't sure on ACK
            which set was delivered)
          * Allow configuration for the partial send timeout (how long before
            resending a message down a different tunnel in a lease).  This can be
            updated with the "router.clientPartialSendTimeout" router config prop.
          * Logging
      58fcbad2
    • jrandom's avatar
      2004-10-29 jrandom · 892786bf
      jrandom authored and zzz's avatar zzz committed
          * Strip the Referer, Via, and From headers completely, rather than
            inserting a bogus value ("i2p").  This should help with the use of
            SnipSnap and Geeklog (thanks nickster and DrWoo!)
      892786bf
  20. Oct 28, 2004
    • jrandom's avatar
      2004-10-27 jrandom · 0c51f2b5
      jrandom authored and zzz's avatar zzz committed
          * Fix a strange race condition on i2cp client disconnect.
          * win98 startup fixes (thanks tester-1 and ardvark!)
          * include build scripts for the new streaming lib (which is NOT ready
            for use yet, but you can hack around with it)
      (enjoy, duck)
      0c51f2b5
  21. Oct 24, 2004
    • jrandom's avatar
      2004-10-24 jrandom · 9680effb
      jrandom authored and zzz's avatar zzz committed
          * Allow explicit inclusion of session tags in the SDK, enabling the
            resending of tags bundled with messages that would not otherwise
            be ACKed.
          * Don't force mode=guaranteed for end to end delivery - if mode=bestEffort
            no DeliveryStatusMessage will be bundled (and as such, client apps using
            it will need to do their own session tag ack/nack).
          * Handle client errors when notifying them of message availability.
          * New StreamSinkSend which sends a file to a destination and disconnects.
          * Update the I2PSocketManagerFactory to build the specific
            I2PSocketManager instance based on the "i2p.streaming.manager" property,
            containing the class name of the I2PSocketManager implementation to instantiate.
      9680effb
    • jrandom's avatar
      2004-10-23 jrandom · 813679ba
      jrandom authored and zzz's avatar zzz committed
          * Minor ministreaming lib refactoring to simplify integration of the full
            streaming lib.
          * Minor bugfixes to data structure serialization.
      813679ba
  22. Oct 18, 2004
  23. Oct 17, 2004
    • jrandom's avatar
      2004-10-17 jrandom · 9011d560
      jrandom authored and zzz's avatar zzz committed
          * Don't b0rk on whitespace in the router address.
      9011d560
    • jrandom's avatar
      clarify history - we reduce the capacity calc, not the 'isFailing'. · 93111842
      jrandom authored and zzz's avatar zzz committed
          * More aggressively reduce the capacity of peers if their tunnels are
            failing so that we move off them quicker.
      93111842
    • jrandom's avatar
      2004-10-16 jrandom · 88693f8a
      jrandom authored and zzz's avatar zzz committed
          * More aggressively fail peers if their tunnels are failing so that we
            move off them quicker.
          * Simplify some data structure serialization for reuse in the streaming
            lib, as well as add support for signing and verifying partial byte
            arrays.
          * Logging updates
      88693f8a
  24. Oct 16, 2004
    • jrandom's avatar
      2004-10-16 jrandom · 8fffad08
      jrandom authored and zzz's avatar zzz committed
          * Increased the default minimum tunnel test time to 5 seconds, since we
            still see the occational message processing time spike to 2 seconds.
          * Update the SimpleTimer to allow rescheduling a task thats already
            queued (useful for the new streaming lib).
      8fffad08
  25. Oct 15, 2004
    • jrandom's avatar
      2004-10-15 jrandom · fb1263da
      jrandom authored and zzz's avatar zzz committed
          * Replaced old minimum tunnel test timeout of 1s with a configurable
            value (router.config property "router.tunnelTestMinimum", with the
            default of 2s).
      fb1263da
    • jrandom's avatar
      2004-10-14 jrandom · 28c5d6c1
      jrandom authored and zzz's avatar zzz committed
          * Tunnel rejection is no longer a sign of an overwhelmingly loaded
            peer, so don't use it as a key point of the IsFailing calculator.
            We still use it as a key point of the Capacity calculator, however.
      28c5d6c1
  26. Oct 14, 2004
    • jrandom's avatar
      2004-10-14 jrandom · f8ffe016
      jrandom authored and zzz's avatar zzz committed
          * Allow for a configurable tunnel "growth factor", rather than trying
            to achieve a steady state.  This will let us grow gradually when
            the router is needed more, rather than blindly accepting the request
            or arbitrarily choking it at an averaged value.  Configure this with
            "router.tunnelGrowthFactor" in the router.config (default "1.5").
          * Adjust the tunnel test timeouts dynamically - rather than the old
            flat 30s (!!!) timeout, we set the timeout to 2x the average tunnel
            test time (the deviation factor can be adjusted by setting
            "router.tunnelTestDeviation" to "3.0" or whatever).  This should help
            find the 'good' tunnels.
          * Added some crazy debugging to try and track down an intermittent hang.
      f8ffe016
Loading