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

Skip to content
Snippets Groups Projects
  1. Dec 29, 2004
    • jrandom's avatar
      2004-12-28 jrandom · 1503ee2d
      jrandom authored and zzz's avatar zzz committed
          * Cleaned up the resending and choking algorithm in the streaming lib.
          * Removed the read timeout override for I2PTunnel's httpclient, allowing
            it to use the default for the streaming lib.
          * Revised ack triggers in the streaming lib.
          * Logging.
      1503ee2d
  2. Dec 21, 2004
    • jrandom's avatar
      * 2004-12-21 0.4.2.5 released · 484b528d
      jrandom authored and zzz's avatar zzz committed
      2004-12-21  jrandom
          * Track a new stat for expired client leases (client.leaseSetExpired).
    • jrandom's avatar
      2004-12-21 jrandom · 758293dc
      jrandom authored and zzz's avatar zzz committed
          * Cleaned up the postinstall/startup scripts a bit more to handle winME,
            and added windows info to the headless docs. (thanks ardvark!)
          * Fixed a harmless (yet NPE inspiring) race during the final shutdown of
            a stream (thanks frosk!)
          * Add a pair of new stats for monitoring tunnel participation -
            tunnel.participatingBytesProcessed (total # bytes transferred) and
            tunnel.participatingBytesProcessedActive (total # bytes transferred for
            tunnels whose byte count exceed the 10m average).  This should help
            further monitor congestion issues.
          * Made the NamingService factory property public (thanks susi!)
      758293dc
  3. Dec 20, 2004
    • jrandom's avatar
      2004-12-20 jrandom · 6cb316b3
      jrandom authored and zzz's avatar zzz committed
          * No longer do a blocking DNS lookup within the jobqueue (thanks mule!)
          * Set a 60s dns cache TTL, instead of 0s.  Most users who used to use
            dyndns/etc now just use IP autodetection, so the old "we need ttl=0"
            reasoning is gone.
      6cb316b3
  4. Dec 19, 2004
    • jrandom's avatar
      2004-12-19 jrandom · ee32b079
      jrandom authored and zzz's avatar zzz committed
          * Fix for a race on startup wrt the new stats (thanks susi!)
      ee32b079
    • jrandom's avatar
      2004-12-19 jrandom · 81f04ca6
      jrandom authored and zzz's avatar zzz committed
          * Added three new stats - router.activePeers, router.fastPeers, and
            router.highCapacityPeers, updated every minute
      81f04ca6
    • jrandom's avatar
      2004-12-19 jrandom · 17569976
      jrandom authored and zzz's avatar zzz committed
          * Added a new i2ptunnel type: 'httpserver', allowing you to specify what
            hostname should be sent to the webserver.  By default, new installs will
            have an httpserver pointing at their jetty instance with the spoofed
            name 'mysite.i2p' (editable on the /i2ptunnel/edit.jsp page).
      17569976
    • scintilla's avatar
      * Convert native jcpuid code from C++ to C. This should alleviate build · ec11ea4c
      scintilla authored and zzz's avatar zzz committed
        problems experienced by some users.
      ec11ea4c
  5. Dec 18, 2004
  6. Dec 16, 2004
    • jrandom's avatar
      2004-12-16 jrandom · d969dd2d
      jrandom authored and zzz's avatar zzz committed
          * Catch another oddball case for a reset connection in the streaming lib.
          * Add a dumpprofile.jsp page, called with ?peer=base64OfPeerHash, which
            dumps the current state of that peer's profile.  Instead of the full
            base64, you can pass in however many characters you have and it will
            return the first match found.
      d969dd2d
    • jrandom's avatar
      2004-12-16 jrandom · cbc89376
      jrandom authored and zzz's avatar zzz committed
          * Remove the randomized factor in the tunnel rejection by bandwidth -
            we now accept the request if we've allocated less than our limit
            and reject it if we've allocated more.
          * Stick to the standard capacity scale on tunnel rejection, even for
            the 10m period.
          * Build the time message at the very last possible moment
      cbc89376
    • jrandom's avatar
      2004-12-15 jrandom · 66aa29e3
      jrandom authored and zzz's avatar zzz committed
          * Handle hard disconnects more gracefully within the streaming lib, and
            log unmonitored events more aggressively.
          * If we drop a peer after connection due to clock skew, log it to the
            /logs.jsp#connectionlogs with relevent info.  In addition, toss it in
            the stat 'tcp.disconnectAfterSkew'.
          * Fixed the formatting in the skew display
          * Added an ERROR message that is fired once after we run out of
            routerInfo files (thanks susi!)
          * Set the connect timeout equal to the streaming lib's disconnect timeout
            if not already specified (the I2PTunnel httpclient already enforces a
            60s connect timeout)
          * Fix for another connection startup problem in the streaming lib.
          * Fix for a stupid error in the probabalistic drop (rand <= P, not > P)
          * Adjust the capacity calculations so that tunnel failures alone in the
            last 10m will not trigger a 0 capacity rank.
      66aa29e3
  7. Dec 14, 2004
    • jrandom's avatar
      2004-12-14 jrandom · 8824815d
      jrandom authored and zzz's avatar zzz committed
          * Periodically send a message along all I2NP connections with the router's
            current time, allowing the receiving peer to determine that the clock
            has skewed too much, and hence, disconnect.  For backwards compatability
            reasons, this is being kludged into a DeliveryStatusMessage (ewww).  The
            next time we have a backwards compatability break, we can put in a proper
            message setup for it.
      8824815d
    • jrandom's avatar
      2004-12-14 jrandom · b2f183fc
      jrandom authored and zzz's avatar zzz committed
          * Reenable the probabalistic drop on the TCP queues to deal with good old
            fashioned bandwidth limiting.  However, by default the probability is
            rigged to reserve 0% of the queue free - meaning we just aggressively
            fail messages in the queue if we're transferring too slowly.  That
            reservation factor can be increased with 'tcp.queueFreeFactor=0.25'
            (or whatever) and the drop code can be disabled with the parameter
            'tcp.dropProbabalistically=false'.
          * Still penalize a peer on tunnel failure, but don't immediately drop
            their capacity to 0.
          * More aggressively ACK duplicates
          * Randomize the timestamper period
          * Display the clock skew on the connection logs when a peer sends it.
          * Allow the timestamper to fix skews of up to 10 minutes
          * Logging
      b2f183fc
  8. Dec 13, 2004
    • jrandom's avatar
      2004-12-13 jrandom · 9e16bc20
      jrandom authored and zzz's avatar zzz committed
          * Added some error checking on the new client send job (thanks duck!)
          * Implemented tunnel rejection based on bandwidth usage (rejecting tunnels
            proportional to the bytes allocated in existing tunnels vs the bytes
            allowed through the bandwidth limiter).
          * Enable a new configuration parameter for triggering a tunnel rebuild
            (tunnel.maxTunnelFailures), where that is the max allowed test failures
            before killing the tunnel (default 0).
          * Gather more data that we rank capacity by (now we monitor and balance the
            data from 10m/30m/60m/1d instead of just 10m/60m/1d).
          * Fix a truncation/type conversion problem on the long term capacity
            values (we were ignoring the daily stats outright)
      9e16bc20
  9. Dec 11, 2004
    • jrandom's avatar
      2004-12-11 jrandom · 77ce6c33
      jrandom authored and zzz's avatar zzz committed
          * Fix the missing HTTP timeout, which was caused by the deferred syn used
            by default.  This, in turn, meant the I2PSocket creation doesn't fail
            on .connect, but is unable to transfer any data in any direction.  We now
            detect that condition for the I2PTunnelHTTPClient and throw up the right
            error page.
          * Logging
      77ce6c33
    • jrandom's avatar
      2004-12-11 jrandom · 60f8d349
      jrandom authored and zzz's avatar zzz committed
          * Use a simpler and less memory intensive job for processing outbound
            client messages when the session is in mode=bestEffort.  We can
            immediately discard the data as soon as its sent the first time,
            rather than wait for an ack, since we will never internally resend.
          * Reduce some synchronization to avoid a rare deadlock
          * Replaced 'localhost' with 127.0.0.1 in the i2ptunnel config, and special
            case it within the tunnel controller.
          * Script cleanup for building jbigi/jcpuid
          * Logging
      60f8d349
  10. Dec 08, 2004
    • jrandom's avatar
      * 2004-12-08 0.4.2.3 released · af52cad4
      jrandom authored and zzz's avatar zzz committed
    • jrandom's avatar
      2004-12-08 jrandom · d88396c1
      jrandom authored and zzz's avatar zzz committed
          * Revised the buffering when reading from the SAM client and writing
            to the stream.  Also added a thread (sigh) so we don't block the
            SAM client from giving us more messages for abnormally long periods
            of time.
          * Display the router version in the logs on startup (oft requested)
          * Fix a race during the closing of a messageOutputStream
      d88396c1
  11. Dec 07, 2004
    • jrandom's avatar
      2004-12-06 jrandom · fa12dc86
      jrandom authored and zzz's avatar zzz committed
          * Don't do a 'passive flush' while there are already outbound messages
            unacked.
          * Show the reseed link if up to 10 peers profiles are active (thanks
            dburton!)
      fa12dc86
  12. Dec 06, 2004
    • jrandom's avatar
      2004-12-06 jrandom · e52d6370
      jrandom authored and zzz's avatar zzz committed
          * Don't propogate streaming connection failures out to the SAM bridge as
            fatal errors.
          * Dont barf on repeated I2CP closure.
      e52d6370
    • jrandom's avatar
      2004-12-05 jrandom · 2fba0556
      jrandom authored and zzz's avatar zzz committed
          * Explicitly use "127.0.0.1" to bind the I2CP listener, not the JVM's
            getLocalhost call
      2fba0556
    • jrandom's avatar
      2004-12-05 jrandom · 88bb176f
      jrandom authored and zzz's avatar zzz committed
          * Default the I2CP listener to localhost only, unless overridden by
            i2cp.tcp.bindAllInterfaces=true (thanks dm!)
          * More SAM fixes for things recently broken (whee)
      88bb176f
  13. Dec 05, 2004
    • jrandom's avatar
      2004-12-05 jrandom · 61a8d679
      jrandom authored and zzz's avatar zzz committed
          * Fix the recently broken SAM bridge (duh)
          * Add a new pair of SAM apps - net.i2p.sam.client.SAMStreamSink and
            net.i2p.sam.client.SAMStreamSend, mirroring the streaming lib's
            StreamSink and StreamSend apps for transferring files.
          * Make the passive flush timer fire more frequently.
      61a8d679
    • jrandom's avatar
      2004-12-05 jrandom · 2bbde916
      jrandom authored and zzz's avatar zzz committed
          * Fixed some links in the console (thanks ugha!) and the javadoc
            (thanks dinoman!)
          * Fix the stream's passive flush timer (oh, its supposed to work?)
      2bbde916
  14. Dec 04, 2004
    • jrandom's avatar
      2004-12-03 jrandom · 1a30cd5f
      jrandom authored and zzz's avatar zzz committed
          * Toss in a small pool of threads (3) to execute the events queued up with
            the SimpleTimer, as we do currently see the occational event
            notification spiking up to a second or so.
          * Implement a SAM client API in java, useful for event based streaming (or
            for testing the SAM bridge)
          * Added support to shut down the SAM bridge on OOM (useful if the SAM
            bridge is being run outside of the router).
          * Include the SAM test code in the sam.jar
          * Remove an irrelevent warning message from SAM, which was caused by
            perfectly normal operation due to a session being closed.
          * Removed some unnecessary synchronization in the streaming lib's
            PacketQueue
          * More quickly clean up the memory used by the streaming lib by
            immediately killing each packet's resend job as soon as it is ACKed (or
            cancelled), so that there are no longer any valid pointers to the
            (potentially 32KB) packet.
          * Fixed the timestamps dumped to stdout when debugging the PacketHandler.
          * Drop packets that would expand our inbound window beyond our maximum
            buffer size (default 32 messages)
          * Always read the ACK/NACK data from the verified packets received, even
            if we are going to drop them
          * Always adjust the window when there are messages ACKed, though do not
            change its size except as before.
          * Streamlined some synchronization in the router's I2CP handling
          * Streamlined some memory allocation in the SAM bridge
          * Default the streaming lib to disconnect on inactivity, rather than send
            an empty message.
      this still doesnt get the BT to where it needs to be, or fix the timeout problem,
      but i dont like having so many commits outstanding and these updates are sound
      1a30cd5f
  15. Dec 02, 2004
    • jrandom's avatar
      2004-12-01 jrandom · 8abd99d1
      jrandom authored and zzz's avatar zzz committed
          * Fix for a race in the streaming lib as caused by some odd SAM activity
      8abd99d1
    • jrandom's avatar
      * 2004-12-01 0.4.2.2 released · cb930a7a
      jrandom authored and zzz's avatar zzz committed
      2004-12-01  jrandom
          * Fixed a stupid typo that inadvertantly allowed persistent HTTP
            connections to work (thanks duck!)
          * Make sure we override the inactivity timeout too
      cb930a7a
  16. Dec 01, 2004
  17. Nov 30, 2004
    • jrandom's avatar
      2004-11-30 jrandom · 516d0b4d
      jrandom authored and zzz's avatar zzz committed
          * Render the burst rate fields on /config.jsp properly (thanks ugha!)
          * Build in a simple timeout to flush data queued into the I2PSocket but
            not yet flushed.
          * Don't explicitly flush after each SAM stream write, but leave it up to
            the [nonblocking] passive flush.
          * Don't whine about 10-99 connection events occurring in a second
          * Don't wait for completion of packets that will not be ACKed (duh)
          * Adjust the congestion window, even if the packet was resent (duh)
          * Make sure to wake up any blocking read()'s when the MessageInputStream
            is close()ed (duh)
          * Never wait more than the disconnect timeout for a write to complete
      516d0b4d
  18. Nov 29, 2004
    • jrandom's avatar
      2004-11-29 jrandom · 9f6584b5
      jrandom authored and zzz's avatar zzz committed
          * Minor fixes to avoid unnecessary errors on shutdown (thanks susi!)
      9f6584b5
    • jrandom's avatar
      2004-11-29 jrandom · 8d0cea93
      jrandom authored and zzz's avatar zzz committed
          * Reduced contention for local client delivery
          * Drop the new code that munges the wrapper.config.  Instead, updates that
            need to change it will include their own wrapper.config in the
            i2pupdate.zip, overwriting the existing file.  If the file
            "wrapper.config.updated" is included, it is deleted at first opportunity
            and the router shut down, displaying a notice that the router must be
            started again cleanly to allow the changes to the wrapper.config to take
            effect.
          * Properly stop accept()ing I2PSocket connections if we close down the
            session (duh).
          * Make sure we cancel any outstanding Packets in flight when a connection
            is terminated (thanks susi!)
          * Split up the I2PTunnel closing a little further.
      8d0cea93
    • jrandom's avatar
      2004-11-28 jrandom · a2d268f3
      jrandom authored and zzz's avatar zzz committed
          * Accept IP address detection changes with a 2-out-of-3 minimum.
          * As long as the router is up, keep retrying to bind the I2CP listener.
          * Decrease the java service wrapper ping frequency to once every 10
            minutes, rather than once every 5 seconds.
      a2d268f3
  19. 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
  20. Nov 26, 2004
  21. 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
  22. 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
  23. 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
Loading