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

Skip to content
Snippets Groups Projects
  1. Feb 18, 2005
    • jrandom's avatar
      * actually reseed properly · db2328e0
      jrandom authored and zzz's avatar zzz committed
      * hide the susimail deprecation warnings
      * dont push hosts.txt in the update (people can subscribe if they want to)
      db2328e0
  2. Feb 16, 2005
    • jrandom's avatar
      continuing 0.5 merges · 9646ac29
      jrandom authored and zzz's avatar zzz committed
      9646ac29
    • 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
  3. 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
      uugly stat dumper. call via /dumpstats.jsp?peer=routerIdentHash · 3cb72756
      jrandom authored and zzz's avatar zzz committed
      3cb72756
  4. 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
  5. 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
  6. Nov 21, 2004
    • jrandom's avatar
      2004-11-21 jrandom · 8c3145b7
      jrandom authored and zzz's avatar zzz committed
          * Only allow small clock skews after the first 10 minutes of operation
            (to prevent later network lag bouncing us way off course - yes, we
            really need an NTP impl to balance out the network burps...)
          * Revamp the I2PTunnel web interface startup process so that everything
            is shown immediately, so that different pieces hanging don't hang
            the rest, and other minor bugfixes.
          * Take note of SAM startup error (in case you're already running a SAM
            bridge...)
          * Increase the bandwidth limiter burst values available to 10-60s (or
            whatever is placed in /configadvanced.jsp, of course)
      8c3145b7
    • jrandom's avatar
      2004-11-21 jrandom · 2c594357
      jrandom authored and zzz's avatar zzz committed
          * Allow end of line comments in the hosts.txt and other config files,
            using '#' to begin the comments (thanks susi!)
          * Add support to I2PTunnel's 'client' feature for picking between multiple
            target destinations (e.g. 'client 6668 irc.duck.i2p,irc.baffled.i2p')
          * Add a quick link on the left hand nav to reseed if there aren't enough
            known peers, as well as link to the config page if there are no active
            peers.  Revised config page accordingly.
      2c594357
  7. Nov 07, 2004
    • jrandom's avatar
      2004-11-06 jrandom · 5f113f16
      jrandom authored and zzz's avatar zzz committed
          * Expose a drop down on the /configclients.jsp to enter the outbound
            tunnel depth.
          * Improved *hosts.txt loading
          * Explicitly override the JVM's timezone settings to use GMT so that
            any client applications which use timezones won't leak sensitive
            data (thanks gott!)
          * Bundle sam.jar in the update (thanks duck!)
      5f113f16
  8. 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
  9. Oct 01, 2004
    • jrandom's avatar
      2004-10-01 jrandom · a63c1b19
      jrandom authored and zzz's avatar zzz committed
          * Handle partial reseeds, caused by seeds going away before the download
            completes (thanks Sugadude!)
      a63c1b19
  10. Sep 30, 2004
    • 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
  11. Sep 29, 2004
    • jrandom's avatar
      * updated stats: · 62ed6c6a
      jrandom authored and zzz's avatar zzz committed
      - sendsPerFailure: how many partial sends we make when they all fail
      - timeoutCongestionInbound: describes how much faster than our average speed we were receiving data when each partial send timed out (in Bps)
      - timeoutCongestionMessage: our send processing time when each partial send timed out (in ms)
      - timeoutCongestionTunnel: our tunnel test time when each partial send timed out (in ms)
      - participatingMessagesProcessedActive: # of messages more than the (most recent) average that a tunnel we were participating in transmitted (for tunnels with more than the average)
      * updated to use Writer for rendering the console, so we can do partial writes (and hopefully help debug some kooky threading bugs on kaffe)
      62ed6c6a
    • 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
  12. 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
  13. 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
  14. 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
  15. Sep 07, 2004
    • 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
  16. 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
  17. 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
  18. Sep 02, 2004
  19. Sep 01, 2004
  20. Aug 31, 2004
  21. Aug 29, 2004
  22. Aug 26, 2004
  23. Aug 24, 2004
  24. Aug 23, 2004
    • jrandom's avatar
      * add "dump threads" · 54aa0fdb
      jrandom authored and zzz's avatar zzz committed
      * hook in to the service manager and let it know we're exiting gracefully (when appropriate)
      * commented out but generally functional systray integration.  i cant get it to build sometimes though, something is b0rking up
      54aa0fdb
    • jrandom's avatar
      standardized the spoof prevention: · bce5b442
      jrandom authored and zzz's avatar zzz committed
      - set the nonce and noncePrev for the handler when rendering the form
      - include the current nonce in the hidden parameter "nonce"
      - include an "action" parameter (so we know we want to execute something and hence, validate the nonce, rather than just display the page)
      - if the nonce submitted doesnt match what is set in the nonce or noncePrev when validating, its invalid.  refuse to process
      bce5b442
    • jrandom's avatar
      * new configservice.jsp page that shuts down the router (and has hooks for a few other things) · 9f7320fa
      jrandom authored and zzz's avatar zzz committed
      * new safer way of shutting down the router per discussions with oOo (dealing with a graceful
      shutdown where the user updates their config before the shutdown is complete, etc)
      * graceful shutdown implemented in the router - shutdownGracefully(), cancelGracefulShutdown(), shutdownInProgress()
      9f7320fa
  25. Aug 19, 2004
  26. Aug 16, 2004
    • jrandom's avatar
      lots of bitchin' oOo patches (woot, thanks oOo!), plus some cleanup · e102bf9e
      jrandom authored and zzz's avatar zzz committed
      * apply oOo's patch for beautifying the new console w/ links to a shitlisted peer's netDb entry
      * apply oOo's patch to clean up the peer shitlist count more aggressively
      * apply oOo's patch to allow removing lines via /configadvanced.jsp
      * apply oOo's patch to clean up the memory usage display
      * apply oOo's patch to include log messages on /logs.jsp most recent first, rather than last
      * get rid of the netDb key shitlist (its a bad idea, better solution coming soon)
      e102bf9e
  27. Aug 13, 2004
    • jrandom's avatar
      > Date: Fri, 13 Aug 2004 15:58:30 +1200 (NZST) · 352396bd
      jrandom authored and zzz's avatar zzz committed
      > Message-ID: <1776.202.37.75.101.1092369510.squirrel@202.37.75.101>
      > From: adam@adambuckley.net
      > To: jrandom@i2p.net
      >
      > [...]
      >
      > I hereby authorize my NtpClient.java and NtpMessage.java code to be
      > redistributed under the BSD license for the purpose of integration with
      > the I2P project, providing that I am credited as the original author of
      > the code.
      >
      > [...]
      w00t!  adam++
      code migrated into core/java/src/net/i2p/time, integrated with Clock,
      dropping that whole ugly pass-the-time-through-URL, and hence dropped
      support for :7655/setTime.
      New router.config properties to control the timestamper:
        time.sntpServerList=pool.ntp.org,pool.ntp.org,pool.ntp.org
        time.queryFrequencyMs=300000
        time.disabled=false
      So, to disable, add time.disabled=true to your router.config.  It is
      enabled by default.
      Default router.config and startup scripts updated accordingly (since
      timestamper.jar is now gone)
      352396bd
  28. Aug 12, 2004
Loading