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

Skip to content
Snippets Groups Projects
  1. 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
  2. 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
  3. Oct 18, 2004
  4. 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
  5. 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
  6. 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
  7. 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
  8. Oct 13, 2004
    • jrandom's avatar
      2004-10-13 jrandom · d91ac7ef
      jrandom authored and zzz's avatar zzz committed
          * Fix the probabalistic tunnel reject (we always accepted everything,
            since the docs on java.util.Random.nextDouble() are wrong..)
          * Fixed a race on startup (thanks Quadn!)
      d91ac7ef
  9. Oct 12, 2004
    • jrandom's avatar
      2004-10-12 jrandom · f799a25a
      jrandom authored and zzz's avatar zzz committed
          * Disable the probabalistic drop by default (enable via the router config
            property "tcp.dropProbabalistically=true")
          * Disable the actual watchdog shutdown by default, but keep track of more
            variables and log a lot more when it occurs (enable via the router
            config property "watchdog.haltOnHang=true")
          * Implement some tunnel participation smoothing by refusing requests
            probabalistically as our participating tunnel count exceeds the previous
            hour's, or when the 10 minute average tunnel test time exceeds the 60
            minute average tunnel test time.  The probabilities in both cases are
            oldAverage / #current, so if you're suddenly flooded with 200 tunnels
            and you had previously only participated in 50, you'll have a 25% chance
            of accepting a subsequent request.
      f799a25a
  10. Oct 10, 2004
    • jrandom's avatar
      * 2004-10-10 0.4.1.2 released · 503b2892
      jrandom authored and zzz's avatar zzz committed
    • jrandom's avatar
      2004-10-10 cervantes · 35e3bbb8
      jrandom authored and zzz's avatar zzz committed
          * Update the I2PTunnel HTTP proxy to strip out the i2paddresshelper from
            the request.
      35e3bbb8
    • jrandom's avatar
      2004-10-09 jrandom · 8dc261da
      jrandom authored and zzz's avatar zzz committed
          * Added a watchdog timer to do some baseline liveliness checking to help
            debug some odd errors.
          * Added a pair of summary stats for bandwidth usage, allowing easy export
            with the other stats ("bw.sendBps" and "bw.receiveBps")
          * Trimmed another memory allocation on message reception.
      8dc261da
  11. Oct 08, 2004
    • jrandom's avatar
      2004-10-08 jrandom · 65676f89
      jrandom authored and zzz's avatar zzz committed
          * Revamp the AESInputStream so it doesn't allocate any temporary objects
            during its operation.
      65676f89
    • jrandom's avatar
      2004-10-08 jrandom · 730da3aa
      jrandom authored and zzz's avatar zzz committed
          * Don't kill the establisher threads during a soft restart.
          * Attempt to validate the peer's routerInfo earlier during handshaking.
          * Revamp the AESOutputStream so it doesn't allocate any temporary objects
            during its operation.
      730da3aa
    • 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
  12. 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
  13. Oct 06, 2004
    • jrandom's avatar
      2004-10-06 jrandom · 38c422bb
      jrandom authored and zzz's avatar zzz committed
          * Implement an active queue management scheme on the TCP transports,
            dropping messages probabalistically as the queue fills up.  The
            estimated queue capacity is determined by the rate at which messages
            have been sent to the peer (averaged at 1, 5, and 60m periods).  As
            we exceed 1/2 of the estimated capacity, we drop messages throughout
            the queue probabalistically with regards to their size.  This is based
            on RFC 2309's RED, with the minimum threshold set to 1/2 the
            estimated connection capacity.  We may want to consider using a send
            rate and queue size measured across all connections, to deal with our
            own local bandwidth saturation, but we'll try the per-con metrics first.
      38c422bb
    • jrandom's avatar
      2004-10-06 jrandom · 4191ad1c
      jrandom authored and zzz's avatar zzz committed
          * Enable explicit disabling of the systray entirely for windows machines
            with strange configurations: add -Dsystray.disable=true to the java
            command line.  (thanks mihi!)
      4191ad1c
    • jrandom's avatar
      2004-10-05 jrandom · 29287da3
      jrandom authored and zzz's avatar zzz committed
          * Allow peers on the same LAN to communicate with each other safely even
            when they cannot talk to each other through the external address.
      29287da3
  14. Oct 05, 2004
    • jrandom's avatar
      2004-10-05 jrandom · 98c78041
      jrandom authored and zzz's avatar zzz committed
          * Display how much time is left before the graceful shutdown is complete.
          * Debug some improperly failed messages on timeout or disconnection.
      98c78041
    • jrandom's avatar
      2004-10-05 jrandom · 64bcfd09
      jrandom authored and zzz's avatar zzz committed
          * Don't go into a fast busy if an I2PTunnel 'server' is explicitly killed
            (thanks mule!)
          * Handle some more error conditions regarding abruptly closing sockets
            (thanks Jonva!)
      64bcfd09
  15. Oct 04, 2004
    • jrandom's avatar
      2004-10-04 jrandom · de1b4937
      jrandom authored and zzz's avatar zzz committed
          * Update the shitlist to reject a peer for an exponentially increasing
            period of time (with an upper bounds of an hour).
          * Various minor stat and debugging fixes
      de1b4937
  16. Oct 03, 2004
    • jrandom's avatar
      2004-10-03 jrandom · 98d2d661
      jrandom authored and zzz's avatar zzz committed
          * Add a new stat logging component to optionally dump the raw stats to
            disk as they are generated, rather than rely upon the summarized data.
            By default, this is off, but the router property "stat.logFilters" can
            be set to a comma delimited list of stats (e.g. "client.sendAckTime")
            which will be written to the file "stats.log" (or whatever the property
            "stat.logFile" is set to).  This can also log profile related stats,
            such as "dbResponseTime" or "tunnelTestResponseTime".
      98d2d661
  17. Oct 02, 2004
    • jrandom's avatar
      2004-10-02 jrandom · d20d043e
      jrandom authored and zzz's avatar zzz committed
          * Assure that we quickly fail messages bound for shitlisted peers.
          * Address a race on startup where the first peer contacted could hang the
            router (thanks Romster!)
          * Only whine about an intermittent inability to query the time server once
      d20d043e
    • jrandom's avatar
      2004-10-02 jrandom · ce186e18
      jrandom authored and zzz's avatar zzz committed
          * Command line utility to verify a peer's reachability - simply run
            net.i2p.router.transport.tcp.ConnectionHandler hostname port# and it
            will print out whether that peer is reachable or not (using a simple
            verification handshake).
      ce186e18
  18. Oct 01, 2004
  19. Sep 30, 2004
    • jrandom's avatar
      * 2004-09-30 0.4.1 released (not backwards compatible) · 276493da
      jrandom authored and zzz's avatar zzz committed
      2004-09-30  jrandom
          * Bundle the configuration necessary to run an eepsite out of the box
            with Jetty - simply edit ./eepsite/docroot/index.html and give people
            the key listed on the I2PTunnel configuration page, and its up.
          * Router console cleanup, and some (off by default) tunnels -
            smtp.postman.i2p (port 7659), pop.postman.i2p (port 7660), and
            irc.baffled.i2p (port 7661)
      276493da
    • jrandom's avatar
      2004-09-30 jrandom · 6eb7ecc2
      jrandom authored and zzz's avatar zzz committed
          * Bundle the configuration necessary to run an eepsite out of the box
            with Jetty - simply edit ./eepsite/docroot/index.html and give people
            the key listed on the I2PTunnel configuration page, and its up.
      plus minor bugfixes / refactoring / logging
      6eb7ecc2
  20. Sep 29, 2004
    • jrandom's avatar
      2004-09-29 jrandom · 010b285e
      jrandom authored and zzz's avatar zzz committed
          * Always wipe the Jetty work directory on startup, so that web updates
            are reflected immediately (Jetty does not honor the cache across
            multiple executions)
      in addition, refactor various file ops out of the DataHelper into FileUtil
      010b285e
  21. Sep 27, 2004
    • jrandom's avatar
      2004-09-27 jrandom · 0361246d
      jrandom authored and zzz's avatar zzz committed
          * Limit the number of connection tags saved to 10,000.  This is a huge
            limit, but consumes no more than 1MB of RAM.  For now, we drop them
            randomly after reaching that size, forcing those dropped peers to use
            a full DH negotiation.
          * HTML cleanup in the console.
      0361246d
  22. Sep 26, 2004
    • jrandom's avatar
      the following isn't the end of the 0.4.1 updates, as there are still more things left to clean · b67b243e
      jrandom authored and zzz's avatar zzz committed
      up and debug in the new tcp transport, but it all works, and i dont like having big changes
      sitting on my local machine (and there's no real need for branching atm)
      2004-09-26  jrandom
          * Complete rewrite of the TCP transport with IP autodetection and
            low CPU overhead reconnections.  More concise connectivity errors
            are listed on the /oldconsole.jsp as well.  The IP autodetection works
            by listening to the first person who tells you what your IP address is
            when you have not defined one yourself and you have no other TCP
            connections.
          * Update to the I2NP message format to add transparent verification at
            the I2NP level (beyond standard TCP verification).
          * Remove a potential weakness in our AESEngine's safeEncrypt and safeDecrypt
            implementation (rather than verifying with E(H(key)), we now verify with
            E(H(iv))).
          * The above changes are NOT BACKWARDS COMPATIBLE.
          * Removed all of the old unused PHTTP code.
          * Refactor various methods and clean up some javadoc.
      b67b243e
  23. Sep 22, 2004
    • jrandom's avatar
      2004-09-21 jrandom · 54dce61a
      jrandom authored and zzz's avatar zzz committed
          * Have two tiers of hosts.txt files - the standard "hosts.txt" and
            the new "userhosts.txt".  Updates to I2P will only overwrite the former,
            but values stored in the later take precedence.  Both are queried on
            lookup.
      54dce61a
  24. Sep 16, 2004
    • jrandom's avatar
      2004-09-16 jrandom · 05acf32f
      jrandom authored and zzz's avatar zzz committed
          * Refactor the TCP transport to deal with changing identities gracefully,
            and to prevent some wasted effort by keeping track of what host+port
            combinations we are connected to (rather than just the identities).  Also
            catch a few configuration errors earlier.
          * Removed no longer relevent methods from the Transport API that were
            exposing ideas that probably shouldn't be exposed.
          * Removed the 0.4.0.1 specific files from i2pupdate.zip (relating to script
            updates)
      05acf32f
Loading