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

Skip to content
Snippets Groups Projects
  1. Oct 08, 2004
    • 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
  2. 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
  3. 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
  4. 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
  5. 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
  6. 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
  7. 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
  8. Oct 01, 2004
  9. 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
  10. 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
  11. 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
  12. 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
  13. 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
  14. 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
  15. Sep 13, 2004
    • jrandom's avatar
      2004-09-13 jrandom · 51285efb
      jrandom authored and zzz's avatar zzz committed
          * Update for the SDK reconnection to deal with overflow.
          * Web improvements (@ not # on the /logs.jsp [thanks ugha!] and fixed the
            rounding on lifetime bandwidth used [thanks gott!]).
      51285efb
  16. Sep 09, 2004
    • jrandom's avatar
      (release in the next hour or so) · 39f3d6cc
      jrandom authored and zzz's avatar zzz committed
      2004-09-08  jrandom
          * Updated the "Active:" peer count to display the # of connections as well
            as the number of recently active router identities.
          * Implement some basic updating code - on startup, if there is a file named
            "i2pupdate.zip" in the I2P installation directory, extract it, delete it,
            then restart.
          * Added an ugly little script to allow launching the router on win9x
            machines without a dos box (using javaw to run a .bat file).
          * Logging updates.
          * Updated VERSION constants to 0.4.0.1
  17. Sep 08, 2004
  18. Sep 07, 2004
    • jrandom's avatar
      2004-09-07 jrandom · 6ceb330b
      jrandom authored and zzz's avatar zzz committed
          * Make sure that peers placed in the 'fast' group are ones we both know
            how to reach and have been able to reach recently.  These peers may
            still be placed in the 'high capacity' group however (though that group
            is only queried if the 'fast' group is too small)
          * Include some updates to the ProgileOrganizer's CLI.
      6ceb330b
    • jrandom's avatar
      2004-09-07 jrandom · 05cd3d73
      jrandom authored and zzz's avatar zzz committed
          * Disable the timestamper by default for all applications except the router
            (enable via -Dtime.disabled=false)
          * Simplify the retrieval of the full destination with text based browsers.
          * Bundle the updated wrapper.config and hosts.txt in the i2pupdate.tar.bz2
      05cd3d73
    • jrandom's avatar
      dup entry · 29b17772
      jrandom authored and zzz's avatar zzz committed
      29b17772
    • jrandom's avatar
      2004-09-07 jrandom · 6151d63e
      jrandom authored and zzz's avatar zzz committed
          * Write the native libraries to the current directory when they are loaded
            from a resource, and load them from that file on subsequent runs (in
            turn, we no longer *cough* delete the running libraries...)
          * Added support for a graceful restart.
          * Added new pseudo-shutdown hook specific to the router, allowing
            applications to request tasks to be run when the router shuts down.  We
            use this for integration with the service manager, since otherwise a
            graceful shutdown would cause a timeout, followed by a forced hard
            shutdown.
          * Handle a bug in the SimpleTimer with requeued tasks.
          * Made the capacity calculator a bit more dynamic by not outright ignoring
            the otherwise valid capacity data for a period with a single rejected
            tunnel (except for the 10 minute period).  In addition, peers with an
            equal capacity are ordered by speed rather than by their hashes.
          * Cleaned up the SimpleTimer, addressing some threading and synchronization
            issues.
          * When an I2PTunnel client or httpclient is explicitly closed, destroy the
            associated session (unless there are other clients using it), and deal
            with a closed session when starting a new I2PTunnel instance.
          * Refactoring and logging.
      6151d63e
  19. Sep 06, 2004
    • jrandom's avatar
      2004-09-06 jrandom · 0eedc1b1
      jrandom authored and zzz's avatar zzz committed
          * Address a race condition in the key management code that would manifest
            itself as a corrupt router identity.
          * Properly clear old transport addresses from being displayed on the old
            console after soft restarts.
          * Properly refuse to load the client applications more than once in the
            same JVM.
          * Added support for a graceful restart (a graceful shutdown followed by a
            full JVM restart - useful for restarting client apps).
          * More defensive programming, HTML cleanup, logging
          * wrapper.config cleanup of duplicate lines
      0eedc1b1
  20. Sep 04, 2004
    • jrandom's avatar
      2004-09-04 jrandom · db339d40
      jrandom authored and zzz's avatar zzz committed
           * Added some basic guards to prevent multiple instances from running.
             Specifically, a file "router.ping" in the install directory which is
             written to once a minute - if that file exists and has been modified
             within the last minute, refuse to start up.  In turn, adjust the
             service wrapper to wait a minute before restarting a crashed JVM.
           * Create a "work" directory in the I2P install dir which Jetty will
             use for all of its temporary files.
           * Tell the browser not to cache most of the router console's pages.
      db339d40
    • jrandom's avatar
      2004-09-04 jrandom · 6bc92b26
      jrandom authored and zzz's avatar zzz committed
          * Update the SDK to automatically reconnect indefinitely with an
            exponential delay on retries (capped at 5 minutes).
      6bc92b26
  21. Sep 03, 2004
    • jrandom's avatar
      2004-09-03 jrandom · 63937d0f
      jrandom authored and zzz's avatar zzz committed
          * Updated default wrapper.config to deal with the hard restart option
          * Include the history.txt in the /help.jsp page
          * HTML updates (wrapper.log, and no more unix scripts)
          * Updated VERSION constants to 0.4
    • hypercubus's avatar
      2004-09-03 hypercubus · 7b86edaf
      hypercubus authored and zzz's avatar zzz committed
          * Bugfix: Installer launches postinstall.bat on WinNT/2K properly.
          * Temporarily removed install_i2p_service_unix and
            uninstall_i2p_service_unix from distribution packages.
          * postinstall.bat/postinstall.sh cleans installation directory of all files
            not applicable to the host OS.
      7b86edaf
    • jrandom's avatar
      2004-09-03 oOo · 49d4e565
      jrandom authored and zzz's avatar zzz committed
          * Added some filters to the HTTP request, replacing the User-Agent,
            Referrer, Via, and From headers, which helps until we have a more
            comprehensive filtering system.
      2004-09-03  jrandom
          * Disabled the old listener on port 7655.
      49d4e565
  22. Sep 02, 2004
Loading