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

Skip to content
Snippets Groups Projects
  1. Apr 17, 2005
    • jrandom's avatar
      2005-04-17 zzz · addab1fa
      jrandom authored and zzz's avatar zzz committed
          * Added new user-editable eepproxy error page templates.
      2005-04-17  jrandom
          * Revamp the tunnel building throttles, fixing a situation where the
            rebuild may not recover, and defaulting it to unthrottled (users with
            slow CPUs may want to set "router.tunnel.shouldThrottle=true" in their
            advanced router config)
      addab1fa
    • jrandom's avatar
      2005-04-16 jrandom · 7389cec7
      jrandom authored and zzz's avatar zzz committed
          * Migrated to Bouncycastle's SHA256 and HMAC implementations for efficiency
      (also lots of udp fixes)
      7389cec7
  2. Apr 12, 2005
    • jrandom's avatar
      2005-04-12 jrandom · 5b56d22d
      jrandom authored and zzz's avatar zzz committed
          * Make sure we don't get cached updates (thanks smeghead!)
          * Clear out the callback for the TestJob after it passes (only affects the
            job timing accounting)
      5b56d22d
  3. Apr 09, 2005
    • smeghead's avatar
      2005-04-08 smeghead · 8496b885
      smeghead authored and zzz's avatar zzz committed
          * Added NativeBigInteger benchmark to scripts/i2pbench.sh.
      8496b885
  4. Apr 08, 2005
    • smeghead's avatar
      2005-04-08 smeghead · b36def1f
      smeghead authored and zzz's avatar zzz committed
          * Security improvements to TrustedUpdate: signing and verification of the
            version string along with the data payload for signed update files
            (consequently the positions of the DSA signature and version string fields
            have been swapped in the spec for the update file's header); router will
            no longer perform a trusted update if the signed update's version is lower
            than or equal to the currently running router's version.
          * Added two new CLI commands to TrustedUpdate: showversion, verifyupdate.
          * Extended TrustedUpdate public API for use by third party applications.
      b36def1f
  5. Apr 06, 2005
  6. Apr 05, 2005
    • jrandom's avatar
      2005-04-05 jrandom · 941252fd
      jrandom authored and zzz's avatar zzz committed
          * Retry I2PTunnel startup if we are unable to build a socketManager for a
            client or httpclient tunnel.
          * Add some basic sanity checking on the I2CP settings (thanks duck!)
      941252fd
    • jrandom's avatar
      2005-04-05 jrandom · bc626ece
      jrandom authored and zzz's avatar zzz committed
          * After a successfull netDb search for a leaseSet, republish it to all of
            the peers we have tried so far who did not give us the key (up to 10),
            rather than the old K closest (which may include peers who had given us
            the key)
          * Don't wait 5 minutes to publish a leaseSet (duh!), and rather than
            republish it every 5 minutes, republish it every 3.  In addition, always
            republish as soon as the leaseSet changes (duh^2).
          * Minor fix for oddball startup race (thanks travis_bickle!)
          * Minor AES update to allow in-place decryption.
      bc626ece
  7. Apr 03, 2005
    • jrandom's avatar
      2005-04-03 jrandom · c4ac5170
      jrandom authored and zzz's avatar zzz committed
          * EepGet fix for open-ended HTTP fetches (such as the news.xml
            feeding the NewsFetcher)
      c4ac5170
  8. Apr 01, 2005
    • jrandom's avatar
      2005-04-01 jrandom · c9c1eae3
      jrandom authored and zzz's avatar zzz committed
          * Allow editing I2PTunnel server instances with five digit ports
            (thanks nickless_head!)
          * More NewsFetcher debugging for reported weirdness
      c9c1eae3
    • jrandom's avatar
      2005-04-01 jrandom · 33366cc2
      jrandom authored and zzz's avatar zzz committed
          * Fix to check for missing news file (thanks smeghead!)
          * Added destination display CLI:
            java -cp lib/i2p.jar net.i2p.data.Destination privKeyFilename
          * Added destination display to the web interface (thanks pnspns)
          * Installed CIA backdoor
      33366cc2
  9. Mar 30, 2005
    • jrandom's avatar
      * 2005-03-29 0.5.0.5 released · 63f3a9cd
      jrandom authored and zzz's avatar zzz committed
      2005-03-29  jrandom
          * Decreased the initial RTT estimate to 10s to allow more retries.
          * Increased the default netDb store replication factor from 2 to 6 to take
            into consideration tunnel failures.
          * Address some statistical anonymity attacks against the netDb that could
            be mounted by an active internal adversary by only answering lookups for
            leaseSets we received through an unsolicited store.
          * Don't throttle lookup responses (we throttle enough elsewhere)
          * Fix the NewsFetcher so that it doesn't incorrectly resume midway through
            the file (thanks nickster!)
          * Updated the I2PTunnel HTML (thanks postman!)
          * Added support to the I2PTunnel pages for the URL parameter "passphrase",
            which, if matched against the router.config "i2ptunnel.passphrase" value,
            skips the nonce check.  If the config prop doesn't exist or is blank, no
            passphrase is accepted.
          * Implemented HMAC-SHA256.
          * Enable the tunnel batching with a 500ms delay by default
          * Dropped compatability with 0.5.0.3 and earlier releases
      63f3a9cd
  10. Mar 26, 2005
    • jrandom's avatar
      2005-03-26 jrandom · ebac4df2
      jrandom authored and zzz's avatar zzz committed
          * Added some error handling and fairly safe to cache data to the streaming
            lib (good call Tom!)
      ebac4df2
  11. Mar 25, 2005
    • jrandom's avatar
      2005-03-25 jrandom · 85b34505
      jrandom authored and zzz's avatar zzz committed
          * Fixed up building dependencies for the routerconsole on some more
            aggressive compilers (thanks polecat!)
      85b34505
  12. Mar 24, 2005
    • jrandom's avatar
      * 2005-03-24 0.5.0.4 released · e614a2f7
      jrandom authored and zzz's avatar zzz committed
    • jrandom's avatar
      2005-03-23 jrandom · ff03be21
      jrandom authored and zzz's avatar zzz committed
          * Added more intelligent version checking in news.xml, in case we have a
            version newer than the one specified.
      ff03be21
    • jrandom's avatar
      2005-03-23 jrandom · a52f8b89
      jrandom authored and zzz's avatar zzz committed
          * Added support for Transfer-Encoding: chunked to the EepGet, so that the
            cvsweb.cgi doesn't puke on us.
      a52f8b89
    • connelly's avatar
      Fixed Bugzilla Bug #99 · 21c7c043
      connelly authored and zzz's avatar zzz committed
      21c7c043
    • jrandom's avatar
      2005-03-23 jrandom · 904f755c
      jrandom authored and zzz's avatar zzz committed
          * Implemented the news fetch / update policy code, as configurated on
            /configupdate.jsp.  Defaults are to grab the news every 24h (or if it
            doesn't exist yet, on startup).  No action is taken however, though if
            the news.xml specifies that a new release is available, an option to
            update will be shown on the router console.
          * New initialNews.xml delivered with new installs, and moved news.xml out
            of the i2pwww module and into the i2p module so that we can bundle it
            within each update.
      904f755c
  13. Mar 23, 2005
    • jrandom's avatar
      2005-03-23 jrandom · a2c309dd
      jrandom authored and zzz's avatar zzz committed
          * New /configupdate.jsp page for controlling the update / notification
            process, as well as various minor related updates.  Note that not all
            options are exposed yet, and the update detection code isn't in place
            in this commit - it currently says there is always an update available.
          * New EepGet component for reliable downloading, with a CLI exposed in
            java -cp lib/i2p.jar net.i2p.util.EepGet url
          * Added a default signing key to the TrustedUpdate component to be used
            for verifying updates.  This signing key can be authenticated via
            gpg --verify i2p/core/java/src/net/i2p/crypto/TrustedUpdate.java
          * New public domain SHA1 implementation for the DSA code so that we can
            handle signing streams of arbitrary size without excess memory usage
            (thanks P.Verdy!)
          * Added some helpers to the TrustedUpdate to work off streams and to offer
            a minimal CLI:
                TrustedUpdate keygen pubKeyFile privKeyFile
                TrustedUpdate sign origFile signedFile privKeyFile
                TrustedUpdate verify signedFile
      a2c309dd
  14. Mar 22, 2005
    • jrandom's avatar
      2005-03-21 jrandom · 3f9bf283
      jrandom authored and zzz's avatar zzz committed
          * Fixed the tunnel fragmentation handler to deal with multiple fragments
            in a single message properly (rather than release the buffer into the
            cache after processing the first one) (duh!)
          * Added the batching preprocessor which will bundle together multiple
            small messages inside a single tunnel message by delaying their delivery
            up to .5s, or whenever the pending data will fill a full message,
            whichever comes first.  This is disabled at the moment, since without the
            above bugfix widely deployed, lots and lots of messages would fail.
          * Within each tunnel pool, stick with a randomly selected peer for up to
            .5s before randomizing and selecting again, instead of randomizing the
            pool each time a tunnel is needed.
      3f9bf283
  15. Mar 18, 2005
    • jrandom's avatar
      * 2005-03-18 0.5.0.3 released · a2bd71c7
      jrandom authored and zzz's avatar zzz committed
      2005-03-18  jrandom
          * Minor tweak to the timestamper to help reduce small skews
          * Adjust the stats published to include only the relevent ones
          * Only show the currently used speed calculation on the profile page
          * Allow the full max # resends to be sent, rather than piggybacking the
            RESET packet along side the final resend (duh)
          * Add irc.postman.i2p to the default list of IRC servers for new installs
          * Drop support for routers running 0.5 or 0.5.0.1 while maintaining
            backwards compatability for users running 0.5.0.2.
    • jrandom's avatar
      2005-03-18 jrandom · 89509490
      jrandom authored and zzz's avatar zzz committed
          * Eepproxy Fix for corrupted HTTP headers (thanks nickster!)
          * Fixed case sensitivity issues on the HTTP headers (thanks duck!)
      89509490
  16. Mar 17, 2005
    • jrandom's avatar
      2005-03-17 jrandom · a997a460
      jrandom authored and zzz's avatar zzz committed
          * Update the old speed calculator and associated profile data points to
            use a non-tiered moving average of the tunnel test time, avoiding the
            freshness issues of the old tiered speed stats.
          * Explicitly synchronize all of the methods on the PRNG, rather than just
            the feeder methods (sun and kaffe only need the feeder, but it seems ibm
            needs all of them synchronized).
          * Properly use the tunnel tests as part of the profile stats.
          * Don't flood the jobqueue with sequential persist profile tasks, but
            instead, inject a brief scheduling delay between them.
          * Reduce the TCP connection establishment timeout to 20s (which is still
            absurdly excessive)
          * Reduced the max resend delay to 30s so we can get some resends in when
            dealing with client apps that hang up early (e.g. wget)
          * Added more alternative socketManager factories (good call aum!)
      a997a460
    • jrandom's avatar
      2005-03-16 jrandom · 538dd07e
      jrandom authored and zzz's avatar zzz committed
          * Adjust the old speed calculator to include end to end RTT data in its
            estimates, and use that as the primary speed calculator again.
          * Use the mean of the high capacity speeds to determine the fast
            threshold, rather than the median.  Perhaps we should use the mean of
            all active non-failing peers?
          * Updated the profile page to sort by tier, then alphabetically.
          * Added some alternative socketManager factories (good call aum!)
      538dd07e
  17. Mar 15, 2005
    • jrandom's avatar
      2005-03-14 jrandom · b20aee67
      jrandom authored and zzz's avatar zzz committed
          * New strict speed calculator that goes off the actual number of messages
            verifiably sent through the peer by way of tunnels.  Initially, this only
            contains the successful message count on inbound tunnels, but may be
            augmented later to include verified outbound messages, peers queried in
            the netDb, etc.  The speed calculation decays quickly, but should give
            a better differential than the previous stat (both values are shown on
            the /profiles.jsp page)
      b20aee67
  18. Mar 11, 2005
    • jrandom's avatar
      (no, this doesnt fix things yet, but its a save point along the path) · d74aa6e5
      jrandom authored and zzz's avatar zzz committed
      2005-03-11  jrandom
          * Rather than the fixed resend timeout floor (10s), use 10s+RTT as the
            minimum (increased on resends as before, of course).
          * Always prod the clock update listeners, even if just to tell them that
            the time hasn't changed much.
          * Added support for explicit peer selection for individual tunnel pools,
            which will be useful in debugging but not recommended for use by normal
            end users.
          * More aggressively search for the next hop's routerInfo on tunnel join.
          * Give messages received via inbound tunnels that are bound to remote
            locations sufficient time (taking into account clock skew).
          * Give alternate direct send messages sufficient time (10s min, not 5s)
          * Always give the end to end data message the explicit timeout (though the
            old default was sufficient before)
          * No need to give end to end messages an insane expiration (+2m), as we
            are already handling skew on the receiving side.
          * Don't complain too loudly about expired TunnelCreateMessages (at least,
            not until after all those 0.5 and 0.5.0.1 users upgrade ;)
          * Properly keep the sendBps stat
          * When running the router with router.keepHistory=true, log more data to
            messageHistory.txt
          * Logging updates
          * Minor formatting updates
      d74aa6e5
  19. Mar 08, 2005
    • jrandom's avatar
      2005-03-07 jrandom · 536e604b
      jrandom authored and zzz's avatar zzz committed
          * Fix the HTTP response header filter to allow multiple headers with the
            same name (thanks duck and spotteri!)
      536e604b
  20. Mar 07, 2005
  21. Mar 05, 2005
    • jrandom's avatar
      2005-03-04 jrandom · 01979c08
      jrandom authored and zzz's avatar zzz committed
          * Filter HTTP response headers in the eepproxy, forcing Connection: close
            so that broken (/malicious) webservers can't allow persistent
            connections.  All HTTP compliant browsers should now always close the
            socket.
          * Enabled the GZIPInputStream's cache (they were'nt cached before)
          * Make sure our first send is always a SYN (duh)
          * Workaround for some buggy compilers
      01979c08
  22. Mar 04, 2005
    • jrandom's avatar
      2005-03-03 jrandom · 10afe0a0
      jrandom authored and zzz's avatar zzz committed
          * Loop while starting up the I2PTunnel instances, in case the I2CP
            listener isn't up yet (thanks detonate!)
          * Implement custom reusable GZIP streams to both reduce memory churn
            and prevent the exposure of data in the standard GZIP header (creation
            time, OS, etc).  This is RFC1952 compliant, and backwards compatible,
            though has only been tested within the confines of I2P's compression use
            (DataHelper.[de]compress).
          * Preemptively support the next protocol version, so that after the 0.5.0.2
            release, we'll be able to drop protocol=2 to get rid of 0.5 users.
      10afe0a0
  23. Mar 03, 2005
    • jrandom's avatar
      2005-03-02 jrandom · ef230cfa
      jrandom authored and zzz's avatar zzz committed
          * Fix one substantial OOM cause (session tag manager was only dropping
            tags once the critical limit was met, rather than honoring their
            expiration) (duh)
          * Lots of small memory fixes
          * Double the allowable concurrent outstanding tunnel build tasks (20)
      ef230cfa
  24. Mar 01, 2005
    • jrandom's avatar
      2005-03-01 jrandom · 57d6a2f6
      jrandom authored and zzz's avatar zzz committed
          * Really disable the streaming lib packet caching
          * Synchronized a message handling point in the SDK (even though its use is
            already essentially single threaded, its better to play it safe)
          * Don't add new RepublishLeaseSetJobs on failure, just requeue up the
            existing one (duh)
          * Throttle the number of concurrent pending tunnel builds across all
            pools, in addition to simply throttling the number of new requests per
            minute for each pool individually.  This should avoid the cascading
            failure when tunnel builds take too long, as no new builds will be
            created until the previous ones are handled.
          * Factored out and extended the DataHelper's unit tests for dealing with
            long and date formatting.
          * Explicitly specify the HTTP auth realm as "i2prouter", though this
            alone doesn't address the bug where jetty asks for authentication too
            much.  (thanks orion!)
          * Updated the StreamSinkServer to ignore all read bytes, rather than write
            them to the filesystem.
      57d6a2f6
  25. Feb 27, 2005
    • jrandom's avatar
      2005-02-27 jrandom · 469a0852
      jrandom authored and zzz's avatar zzz committed
          * Don't rerequest leaseSets if there are already pending requests
          * Reverted the insufficiently tested caching in the DSA/SHA1 impl, and
            temporary disabled the streaming lib packet caching.
          * Reduced the resend RTT penalty to 10s
      469a0852
    • jrandom's avatar
      2005-02-26 jrandom · 2e7eac02
      jrandom authored and zzz's avatar zzz committed
          * Force 1.3-isms on the precompiled jsps too (thanks laberhost)
      2e7eac02
  26. Feb 26, 2005
    • jrandom's avatar
      2005-02-26 jrandom · 238389fc
      jrandom authored and zzz's avatar zzz committed
          * Further streaming lib caching improvements
          * Reduce the minimum RTT (used to calculate retry timeouts), but also
            increase the RTT on resends.
          * Lower the default message size to 4KB from 16KB to further reduce the
            chance of failed fragmentation.
          * Extend tunnel rebuild throttling to include fallback rebuilds
          * If there are less than 20 routers known, don't drop the last 20 (to help
            avoid dropping all peers under catastrophic failures)
          * New stats for end to end messages - "client.leaseSetFoundLocally",
            "client.leaseSetFoundRemoteTime", and "client.leaseSetFailedRemoteTime"
      238389fc
  27. Feb 24, 2005
    • jrandom's avatar
      2005-02-24 jrandom · 4cec9da0
      jrandom authored and zzz's avatar zzz committed
          * Throttle the number of tunnel rebuilds per minute, preventing CPU
            overload under catastrophic failures (thanks Tracker and cervantes!)
          * Block the router startup process until we've initialized the clock
      4cec9da0
    • jrandom's avatar
      2005-02-24 jrandom · 00f27d44
      jrandom authored and zzz's avatar zzz committed
          * Cache temporary memory allocation in the DSA's SHA1 impl, and the packet
            data in the streaming lib.
          * Fixed a streaming lib bug where the connection initiator would fail the
            stream if the ACK to their SYN was lost.
      00f27d44
  28. Feb 23, 2005
    • jrandom's avatar
      2005-02-23 jrandom · f61618e4
      jrandom authored and zzz's avatar zzz committed
          * Now that we don't get stale SAM sessions, it'd be nice if we didn't
            get stale tunnel pools, don't you think?
      f61618e4
Loading