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

Skip to content
Snippets Groups Projects
  1. Jan 08, 2012
  2. Jan 06, 2012
  3. Dec 30, 2011
  4. Dec 24, 2011
    • zzz's avatar
      * Plugins: · bb7a88ff
      zzz authored
          - Enforce min and max Jetty versions at plugin installation
          - Enforce I2P, Java, and Jetty versions at plugin startup too
      bb7a88ff
  5. Dec 23, 2011
    • zzz's avatar
      First cut at migrating to Jetty 6 and prep for using an external · 92b9d0a9
      zzz authored
      Jetty 6 package.
      
      - Add several jars from the Jetty 6 distribution
      - Update jetty.xml
      - Add context XML files
      - Update WorkingDir to migrate the content XML files
      - Update RouterConsoleRunner and LocaleWebAppHandler
      - Remove all old Jetty 5.1.15 local mods;
        this will break Seedless using a custom Server() constructor
      - Update I2PRequestLog to be a mod of NCSARequestLog from 6.1.26
      - Put I2PRequestLog in its own jar
      - Copy MultiPartRequest and other required classes from Jetty 5.1.15
        and add it to susimail, as the replacement MultiPartFilter in
        Jetty 6 is difficult to migrate to, and does not support content-type
      - Update i2psnark for Jetty 6
      - Disable i2psnark RunStandalone, unused and instantiated Jetty 5
      - Fix up all webapp build.xml to reference new jars
      
      Not yet working: Plugin/webapp run detection and stopping, eepsite CGI
      Not well tested: Plugins, classpaths, webapps
      92b9d0a9
  6. Nov 16, 2011
  7. Sep 01, 2011
  8. Mar 12, 2011
  9. Nov 06, 2010
  10. Oct 31, 2010
  11. Oct 19, 2010
  12. Oct 02, 2010
  13. Dec 30, 2009
  14. Dec 26, 2009
  15. Oct 12, 2009
  16. Aug 15, 2009
  17. Jul 16, 2009
  18. Jul 15, 2009
  19. Jul 01, 2009
  20. Jun 28, 2009
  21. Jun 13, 2009
    • zzz's avatar
      * i2prouter: · 24daf006
      zzz authored
            - Don't cd to script location, no longer required
          * RouterLaunch:
            - If no wrapper, put wrapper.log in system temp dir
              unless specified with -Dwrapper.logfile=/path/to/wrapper.log
              or it already exists in CWD (for backward compatibility)
            - Append rather than replace wrapper.log
            - Pass wrapper log location to router as a property, so that logs.jsp can find it
          * logs.jsp:
            - Get wrapper log location from a property too
          * runplain.sh:
            - Add path substitution to runplain.sh on install
            - Pass I2P base dir to the router as a property
          * wrapper.config:
            - Put wrapper.log in system temp dir for new installs
            - Pass I2P base dir to the router as a property
          * WorkingDir:
            - Don't migrate an existing install by default
            - Never migrate the data (too hard)
      24daf006
  22. 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
  23. Jan 29, 2009
    • zzz's avatar
      * Routerconsole: · 69e63934
      zzz authored
            - Move common methods to new HelperBase class
            - Make reseed link a button
      69e63934
  24. Sep 15, 2008
  25. Oct 30, 2005
    • dust's avatar
      2005-10-30 dust · 10dde610
      dust authored and zzz's avatar zzz committed
          * Merge sucker into syndie with a rssimport.jsp page.
          * Add getContentType() to EepGet.
          * Make chunked transfer work (better) with EepGet.
          * Do replaceAll("<","&lt;") for logs.
      10dde610
  26. Mar 01, 2005
  27. Feb 22, 2005
    • jrandom's avatar
      2005-02-22 jrandom · c17433cb
      jrandom authored and zzz's avatar zzz committed
          * Adjusted (and fixed...) the timestamper change detection
          * Deal with a rare reordering bug at the beginning of a stream (so we
            don't drop it unnecessarily)
          * Cleaned up some dropped message handling in the router
          * Reduced job queue churn when dealing with a large number of tunnels by
            sharing an expiration job
          * Keep a separate list of the most recent CRIT messages (shown on the
            logs.jsp).  This way they don't get buried among any other messages.
          * For clarity, display the tunnel variance config as "Randomization" on
            the web console.
          * If lease republishing fails (boo! hiss!) try it again
          * Actually fix the negative jobLag in the right place (this time)
          * Allow reseeding when there are less than 10 known peer references
          * Lots of logging updates.
      c17433cb
  28. 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
  29. 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
  30. 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
  31. Sep 02, 2004
  32. Aug 24, 2004
    • jrandom's avatar
      * helper to read the last few lines of a textfile · e81c1df1
      jrandom authored and zzz's avatar zzz committed
      * use that to render the last few lines of the wrapper log on /logs.jsp (for the on demand stack trace)
      * thread creation / finalization logging
      * support a hard restart (stop immediately and restart the JVM) - useful for rerunning clients.config (etc)
      * systray when not supported
      e81c1df1
  33. 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
  34. Jul 24, 2004
Loading