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

Skip to content
Snippets Groups Projects
  1. Dec 11, 2015
  2. Sep 25, 2015
  3. Mar 08, 2015
  4. Jul 03, 2014
  5. May 18, 2014
  6. Mar 12, 2014
  7. Nov 21, 2013
  8. Jun 12, 2013
  9. May 26, 2013
    • zzz's avatar
      * DatabaseLookupmessage: · e394d3d4
      zzz authored
        - Add support for requesting an encrypted reply
      * NetDB:
        - Add support for encrypted DatabaseSearchReplyMessage and DatabaseStoreMessage
          in response to a DatabaseLookupMessage
      * PRNG: Cleanups using Collections.singletonMap()
      * Router utils: New RemovableSingletonSet
      * TransientSessionKeyManager:
        - Support variable expiration for inbound tag sets
        - Several efficiency improvements
      * VersionComparator: Add static method, use most places
      e394d3d4
  10. Oct 13, 2012
    • zzz's avatar
      * RouterConsoleRunner: · 0b897fdc
      zzz authored
          - Prep for ClientApp interface by storing context in a field,
            shuffle around what's static and what's not
            (ticket #347)
          - Remove ports from port mapper on shutdown, other changes to
            track actual ports better
            (ticket #731)
          - Hook in password manager using MD5, untested.
            (ticket #731)
      0b897fdc
  11. Oct 05, 2012
  12. Sep 09, 2012
  13. May 20, 2012
  14. Mar 25, 2012
  15. Jan 09, 2012
  16. Jan 08, 2012
    • zzz's avatar
      * Router shutdown: · f6ca6a5e
      zzz authored
          - Fix failsafe shutdown hook broken in 0.8.8;
            HUP, INT, and TERM signals should now shut down cleanly.
          - Shutdown hook no longer prevents other hooks from running
          - Trap HUP, if router.gracefulHUP=true, and do graceful shutdown.
            Only under wrapper, non-Windows.
          - i2prouter stop now uses SIGTERM
          - Implement i2prouter graceful using SIGHUP (ticket #580)
          - Configure wrapper to ignore SIGUSR1 and SIGUSR2 as they will shut down
            or crash the JVM
      f6ca6a5e
  17. Jul 15, 2011
    • zzz's avatar
      * Shutdown: · 0bf0715a
      zzz authored
          - Cancel our JVM shutdown hook when shutting down
          - Run a spinner task so shutdown always completes
          - exit() instead of halt() so other JVM shutdown hooks run
          - Prevent duplicate wrapper notifier hooks
          - Notify the wrapper twice, once for stopping and once for stopped
      0bf0715a
  18. Jul 03, 2011
    • zzz's avatar
      * AppContext: Add hasWrapper() method · 43044586
      zzz authored
        * Shutdown:
          - Clear more resources in peer manager, netdb, stat manager,
            session key manager, naming service, tunnel dispatcher,
            OCMOSJ (result of testing with jvisualvm)
          - Don't call wrapper on shutdown (starting two threads) if we
            were started with runplain
      43044586
  19. Jan 19, 2011
  20. Oct 26, 2009
  21. Aug 15, 2009
  22. Aug 14, 2009
  23. Jun 04, 2009
    • zzz's avatar
      Big directory rework. · 524a25eb
      zzz authored
      Eliminate all uses of the current working directory, and
      set up multiple directories specified by absolute paths for various uses.
      
      Add a WorkingDir class to create a user config directory and
      migrate files to it for new installs.
      The directory will be $HOME/.i2p on linux and %APPDIR%\I2P on Windows,
      or as specified in the system property -Di2p.dir.config=/path/to/i2pdir
      All files except for the base install and temp files will be
      in the config directory by default.
      Temp files will be in a i2p-xxxxx subdirectory of the system temp directory
      specified by the system property java.io.tmpdir.
      
      Convert all file opens in the code to be relative to a specific directory,
      as specified in the context. Code and applications should never open
      files relative to the current working directory (e.g. new File("foo")).
      All files should be accessed in the appropriate context directory,
      e.g. new File(_context.getAppDir(), "foo").
      
      The router.config file location may be specified as a system property on the
      java command line with -Drouter.configLocation=/path/to/router.config
      All directories may be specified as properties in the router.config file.
      
      The migration will copy all files from an existing installation,
      except i2psnark/, with the system property -Di2p.dir.migrate=true.
      Otherwise it will just set up a new directory with a minimal configuration.
      
      The migration will also create a modified wrapper.config and (on linux only)
      a modified i2prouter script, and place them in the config directory.
      
      There are no changes to the installer or the default i2prouter, i2prouter.bat,
      i2prouter, wrapper.config, runplain.sh, windows service installer/uninstaller,
      etc. in this checkin.
      
      
          *  Directories. These are all set at instantiation and will not be changed by
          *  subsequent property changes.
          *  All properties, if set, should be absolute paths.
          *
          *  Name	Property 	Method		Files
          *  -----	-------- 	-----		-----
          *  Base	i2p.dir.base	getBaseDir()	lib/, webapps/, docs/, geoip/, licenses/, ...
          *  Temp	i2p.dir.temp	getTempDir()	Temporary files
          *  Config	i2p.dir.config	getConfigDir()	*.config, hosts.txt, addressbook/, ...
          *
          *  (the following all default to the same as Config)
          *
          *  Router	i2p.dir.router	getRouterDir()	netDb/, peerProfiles/, router.*, keyBackup/, ...
          *  Log	i2p.dir.log	getLogDir()	wrapper.log*, logs/
          *  PID	i2p.dir.pid	getPIDDir()	wrapper *.pid files, router.ping
          *  App	i2p.dir.app	getAppDir()	eepsite/, ...
          *
          *  Note that we can't control where the wrapper actually puts its files.
      
      All these will be set appropriately in a Router Context.
      In an I2P App Context, all except Temp will be the current working directory.
      
      Lightly tested so far, needs much more testing.
      524a25eb
  24. Apr 08, 2009
    • zzz's avatar
      * IPV6/localhost: · 0cfbe9c2
      zzz authored
            - Enable IPv6 stack in the JVM, hopefully won't break anything
            - Patch Jetty to support binding to IPv6 addresses
            - Allow multiple bind addresses for the router console
              in the clients.config file; for new installs the
              default is now "127.0.0.1,::1"
            - Change most instances of "localhost" to "127.0.0.1"
              throughout the code
          * Router:
            - Move some classes to private static inner
      0cfbe9c2
  25. Feb 25, 2009
  26. Jan 02, 2009
  27. Jul 16, 2008
  28. Feb 15, 2006
    • jrandom's avatar
      2006-02-15 jrandom · 113fbc1d
      jrandom authored and zzz's avatar zzz committed
          * Merged in the i2p_0_6_1_10_PRE branch to the trunk, so CVS HEAD is no
            longer backwards compatible (and should not be used until 0.6.1.1 is
            out)
      113fbc1d
  29. Nov 26, 2005
    • jrandom's avatar
      2005-11-26 Raccoon23 · 9089fdd2
      jrandom authored and zzz's avatar zzz committed
          * Added support for 'dynamic keys' mode, where the router creates a new
            router identity whenever it detects a substantial change in its public
            address (read: SSU IP or port).  This only offers minimal additional
            protection against trivial attackers, but should provide functional
            improvement for people who have periodic IP changes, since their new
            router address would not be shitlisted while their old one would be.
          * Added further infrastructure for restricted route operation, but its use
            is not recommended.
      9089fdd2
  30. 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
  31. Mar 01, 2005
  32. 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
  33. 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
  34. 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
  35. 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
  36. Aug 31, 2004
  37. Aug 26, 2004
  38. Aug 24, 2004
Loading