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

Skip to content
Snippets Groups Projects
  1. Feb 16, 2005
    • jrandom's avatar
      2005-02-16 jrandom · 566a713b
      jrandom authored and zzz's avatar zzz committed
          * (Merged the 0.5-pre branch back into CVS HEAD)
          * Replaced the old tunnel routing crypto with the one specified in
            router/doc/tunnel-alt.html, including updates to the web console to view
            and tweak it.
          * Provide the means for routers to reject tunnel requests with a wider
            range of responses:
              probabalistic rejection, due to approaching overload
              transient rejection, due to temporary overload
              bandwidth rejection, due to persistent bandwidth overload
              critical rejection, due to general router fault (or imminent shutdown)
            The different responses are factored into the profiles accordingly.
          * Replaced the old I2CP tunnel related options (tunnels.depthInbound, etc)
            with a series of new properties, relevent to the new tunnel routing code:
              inbound.nickname (used on the console)
              inbound.quantity (# of tunnels to use in any leaseSets)
              inbound.backupQuantity (# of tunnels to keep in the ready)
              inbound.length (# of remote peers in the tunnel)
              inbound.lengthVariance (if > 0, permute the length by adding a random #
                                      up to the variance.  if < 0, permute the length
                                      by adding or subtracting a random # up to the
                                      variance)
              outbound.* (same as the inbound, except for the, uh, outbound tunnels
                          in that client's pool)
            There are other options, and more will be added later, but the above are
            the most relevent ones.
          * Replaced Jetty 4.2.21 with Jetty 5.1.2
          * Compress all profile data on disk.
          * Adjust the reseeding functionality to work even when the JVM's http proxy
            is set.
          * Enable a poor-man's interactive-flow in the streaming lib by choking the
            max window size.
          * Reduced the default streaming lib max message size to 16KB (though still
            configurable by the user), also doubling the default maximum window
            size.
          * Replaced the RouterIdentity in a Lease with its SHA256 hash.
          * Reduced the overall I2NP message checksum from a full 32 byte SHA256 to
            the first byte of the SHA256.
          * Added a new "netId" flag to let routers drop references to other routers
            who we won't be able to talk to.
          * Extended the timestamper to get a second (or third) opinion whenever it
            wants to actually adjust the clock offset.
          * Replaced that kludge of a timestamp I2NP message with a full blown
            DateMessage.
          * Substantial memory optimizations within the router and the SDK to reduce
            GC churn.  Client apps and the streaming libs have not been tuned,
            however.
          * More bugfixes thank you can shake a stick at.
      
      2005-02-13  jrandom
          * Updated jbigi source to handle 64bit CPUs.  The bundled jbigi.jar still
            only contains 32bit versions, so build your own, placing libjbigi.so in
            your install dir if necessary.  (thanks mule!)
          * Added support for libjbigi-$os-athlon64 to NativeBigInteger and CPUID
            (thanks spaetz!)
      566a713b
  2. Feb 11, 2005
    • smeghead's avatar
      2005-02-10 smeghead · 293ceaee
      smeghead authored and zzz's avatar zzz committed
          * Initial check-in of Pants, a new utility to help us manage our 3rd-party
            dependencies (Fortuna, Jetty, Java Service Wrapper, etc.). Some parts of
            Pants are still non-functional at this time so don't mess with it yet
            unless you want to potentially mangle your working copy of CVS.
      293ceaee
  3. Feb 09, 2005
  4. Feb 07, 2005
    • jrandom's avatar
      2005-02-07 jrandom · b366a4b9
      jrandom authored and zzz's avatar zzz committed
          * Fixed a race in the streaming lib's delayed flush algorithm (thanks anon!)
      b366a4b9
  5. Feb 06, 2005
    • jrandom's avatar
      2005-02-06 Sugadude · 27e92653
      jrandom authored and zzz's avatar zzz committed
          * Added a filter to the addressbook to remove entries that dont end in ".i2p"
      (thanks Sugadude!)
      27e92653
  6. Feb 03, 2005
    • smeghead's avatar
      2005-02-03 smeghead · 382cbb18
      smeghead authored and zzz's avatar zzz committed
          * Added Ant buildfile in apps/fortuna for creating a custom Fortuna PRNG jar
            library from GNU Crypto's CVS HEAD sources.
      382cbb18
  7. Jan 27, 2005
    • smeghead's avatar
      2005-01-26 smeghead · 5f6060b8
      smeghead authored and zzz's avatar zzz committed
          * i2pProxy.pac, i2pbench.sh, and i2ptest.sh are now shipped with the dist
            packages and installed to $i2pinstalldir/scripts.
          * Added command line params to i2ptest.sh and i2pbench.sh: --gij to run them
            using gij + libgcj, and --sourcedir to run them from the source tree
            instead of the installation directory.
          * Fixed unreachable for() statement clause in the KBucketImpl class that was
            causing gcj to toss a compilation warning (jrandom++).
      5f6060b8
    • smeghead's avatar
      2005-01-26 smeghead · 22ca1491
      smeghead authored and zzz's avatar zzz committed
          * Added a couple of scripts, i2ptest.sh and i2pbench.sh, to manage the core
            tests and benchmarks.
          * Routerconsole now builds under gcj 3.4.3.
          * Corrected divide by zero error in TunnelId class under gcj (jrandom++).
      22ca1491
  8. Jan 26, 2005
    • smeghead's avatar
      2005-01-25 smeghead · 4fac2f10
      smeghead authored and zzz's avatar zzz committed
          * Tweaked some classes to enable gcj 3.4.3 to compile the router and
            supporting apps (except for the routerconsole which is still being
            investigated).
      4fac2f10
  9. Jan 24, 2005
    • smeghead's avatar
      2005-01-24 smeghead · de2c975a
      smeghead authored and zzz's avatar zzz committed
          * C#-ification of sam-sharp: interface greatly simplified using delegates
            and events; SamBaseEventHandler provides basic implementation and helper
            methods but is now optional.
          * NAnt buildfile and README added for sam-sharp.
      de2c975a
  10. Jan 23, 2005
    • jrandom's avatar
      2005-01-23 smeghead · d86e2c0f
      jrandom authored and zzz's avatar zzz committed
          * Port the java SAM client library to mono/C# and released into the
            public domain.  The 0.1 version of this port is available in CVS as
            i2p/apps/sam/csharp/src/I2P.SAM.Client.  The other nonfunctional C#
            library has been removed.
      d86e2c0f
  11. Jan 22, 2005
    • jrandom's avatar
      2005-01-21 Jhor · d85dc821
      jrandom authored and zzz's avatar zzz committed
          * Updated jbigi build scripts for OSX.
      2005-01-21  jrandom
          * Added support for OSX to the NativeBigInteger code so that it will look
            in the classpath for libjbigi-osx-none.jnilib.  At the moment, that file
            is not bundled with the shipped jbigi.jar yet though.
      d85dc821
  12. Jan 19, 2005
    • jrandom's avatar
      2005-01-18 jrandom · a65e6c88
      jrandom authored and zzz's avatar zzz committed
          * Increased the max # session tags maintained and decreased slightly the
            period over which they are gathered.
      a65e6c88
  13. Jan 17, 2005
    • jrandom's avatar
      2005-01-17 jrandom · 61f217c6
      jrandom authored and zzz's avatar zzz committed
          * Added meaningful support for adjusting the preferred message size in the
            streaming lib by setting the i2p.streaming.maxMessageSize=32768 (or
            whatever).  The other side will mimic a reduction (but never an increase).
          * Always make sure to use distinct ConnectionOption objects for each
            connection (duh)
          * Reduced the default ACK delay to 500ms on in the streaming lib
          * Only shrink the streaming window once per window
          * Don't bundle a new jetty.xml with updates
          * Catch another local routerInfo corruption issue on startup.
      61f217c6
  14. Jan 15, 2005
  15. Jan 06, 2005
    • jrandom's avatar
      * 2005-01-06 0.4.2.6 released · daf32a24
      jrandom authored and zzz's avatar zzz committed
      2005-01-06  jrandom
          * Added a startup message to the addressbook, printing its version number
            to stdout (which is sent to wrapper.config) when it loads.
          * Updated the addressbook to reread the config file periodically
          * Added orion.i2p to the list of eepsites on the default homepage
    • jrandom's avatar
      2005-01-05 jrandom · 48385644
      jrandom authored and zzz's avatar zzz committed
          * Handle unexpected network read errors more carefully (thanks parg!)
          * Added more methods to partially compare (DataHelper) and display
            arrays (Base64.encode).
          * Exposed the AES encryptBlock/decryptBlock on the context.aes()
          * Be more generous on the throttle when just starting up the router
          * Fix a missing scheduled event in the streaming lib (caused after reset)
          * Add a new DisconnectListener on the I2PSocketManager to allow
            notification of session destruction.
          * Make sure our own router identity is valid, and if it isn't, build a new
            one and restart the router.  Alternately, you can run the Router with
            the single command line argument "rebuild" and it will do the same.
      48385644
  16. Jan 01, 2005
    • jrandom's avatar
      2004-12-31 ragnarok · 84dc7d9d
      jrandom authored and zzz's avatar zzz committed
          * Integrated latest addressbook changes (2.0.3) which include support for
            deploying as a .war file with no existing addressbook configuration.
          * Updated main build process to bundle the addressbook.war in the
            i2pinstall.jar and i2pupdate.zip.
      84dc7d9d
  17. Dec 31, 2004
    • jrandom's avatar
      2004-12-31 jrandom · 70d6332b
      jrandom authored and zzz's avatar zzz committed
          * Speling fxi (thanks digum!)
          * Bugfix for the I2PTunnel web interface so that it now properly launches
            newly added tunnels that are defined to be run on startup (thanks ugha!)
      70d6332b
  18. Dec 30, 2004
    • jrandom's avatar
      2004-12-30 jrandom · aec0b0c8
      jrandom authored and zzz's avatar zzz committed
          * Revised the I2PTunnel client and httpclient connection establishment
            throttles.  There is now a pool of threads that build the I2PSocket
            connections with a default size of 5, configurable via the I2PTunnel
            client option 'i2ptunnel.numConnectionBuilders' (if set to 0, it will
            not throttle the number of concurrent builders, but will launch a thread
            per socket during establishment).  In addition, sockets accepted but
            not yet allocated to one of the connection builders will be destroyed
            after 30 seconds, configurable via 'i2ptunnel.maxWaitTime' (if set to
            0, it will wait indefinitely).
      aec0b0c8
  19. Dec 29, 2004
    • jrandom's avatar
      2004-12-29 jrandom · 099f6a88
      jrandom authored and zzz's avatar zzz committed
          * Imported Ragnarok's addressbook source (2.0.2) which is built but not
            deployed in the i2pinstall.jar/i2pupdate.zip (yet).
          * Don't treat connection inactivity closure as a connection error.
      099f6a88
    • jrandom's avatar
      2004-12-29 jrandom · 1ac18ba1
      jrandom authored and zzz's avatar zzz committed
          * Add in a new keepalive event on each TCP connection, proactively sending
            a (tiny) time message every minute or two, as well as killing the
            connection if no message has been fully sent within 5 minutes or so.
            This should help deal with hung connections from IP address changes.
      1ac18ba1
    • 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
  20. 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
  21. 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
  22. 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
  23. Dec 18, 2004
  24. 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
  25. 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
  26. 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
  27. 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
Loading