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

Skip to content
Snippets Groups Projects
  1. Oct 24, 2010
  2. Oct 15, 2010
  3. Jul 09, 2010
    • zzz's avatar
      more shouldLog() · 05ac2594
      zzz authored
      05ac2594
    • zzz's avatar
      i2psnark: · c19af4db
      zzz authored
        - Rework PeerID class so it depends only on peer desthash, since
          peer ID is not available with compact format. Implement deferred
          lookup of destination.
        - Implement compact tracker requests and response handling
          (may not be the final format)
        - Fix Peer hashCode()
        - Java 5
      c19af4db
  4. Jul 06, 2010
  5. Jun 04, 2010
  6. May 27, 2010
  7. May 10, 2010
    • zzz's avatar
      * i2psnark: · c2b73d9f
      zzz authored
            - Add tunnel config dropdowns
            - Comment out old proxy stuff
      c2b73d9f
  8. May 05, 2010
  9. Apr 12, 2010
  10. Dec 10, 2009
  11. Dec 09, 2009
  12. Oct 04, 2009
  13. Oct 02, 2009
  14. Aug 26, 2009
    • zzz's avatar
      * EepGet, I2PSnark: · 95aba0c5
      zzz authored
            - New I2PSocketEepGet fetches through existing tunnels
              rather than through the proxy
            - Use new eepget for i2psnark
            - Add a fake user agent for non-proxied fetches
            - Cleanups
      95aba0c5
  15. Aug 11, 2009
    • sponge's avatar
      2009-08-11 sponge · 3fbff718
      sponge authored
          * Code Janitor time! Many fixes and documenting fixes that should be
            done in the future. for the most part, this is a general code cleanup.
          * On smaller/embedded systems, the "final" keyword cleanups will have
            more of an impact than on larger systems.
          * Document missing hashCode() methods.
          * Unhide more variables to make code easier to read.
      3fbff718
  16. 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
  17. Feb 10, 2009
  18. Jan 31, 2009
  19. Dec 20, 2008
  20. Nov 18, 2008
    • zzz's avatar
      i2psnark: · 0ff81674
      zzz authored
          - Don't create SnarkManager instance until first call,
            so it doesn't create the i2psnark dir, read the config,
            etc., for single Snark instances.
          - Don't read i2psnark.config twice; fix setting
            i2psnark.dir
          - More Snark constructor changes for calling from router
          - Make max connections per torrent configurable
      0ff81674
  21. Nov 16, 2008
    • zzz's avatar
      i2psnark: · 23699e46
      zzz authored
          - Remove static instances of I2PSnarkUtil, ConnectionAcceptor,
            and PeerCoordinatorSet
          - Convert static classes in Snark to listeners
          - Fix Snark to work in single torrent mode again
          - Should now work with multiple single Snarks
      23699e46
  22. Nov 15, 2008
    • zzz's avatar
      i2psnark: · fa23a7b0
      zzz authored
        - Refactor to allow running a single Snark without a SnarkManager again,
          by moving some things from SnarkManager to I2PSnarkUtil,
          having Snark call completeListener callbacks,
          and having Storage call storageListener callbacks.
          This is in preparation for using Snark for router updates.
          Step 2 is to allow multiple I2PSnarkUtil instances.
        - Big rewrite of Storage to open file descriptors on demand, and
          close them when unused, so we can support large numbers of torrents.
      fa23a7b0
  23. Oct 26, 2008
  24. Jul 16, 2008
  25. Apr 12, 2008
    • zzz's avatar
      * Addressbook: Disallow '.-' and '-.' in host names · 0b600669
      zzz authored
          * NTCP: Don't drop a connection unless both directions are idle;
                  Fix idle time for outbound connections
          * Outbound message: Make sure cached lease is in current leaseSet
          * Stats: Put all NetworkDatabase stats in same group
          * TunnelPool: Stop building tunnels and leaseSets after client shutdown
          * i2psnark: Add locking to prevent two I2CP connections
      0b600669
  26. Apr 07, 2008
  27. Mar 25, 2008
    • zzz's avatar
      * i2psnark: · 40a9e959
      zzz authored
            - Add support for secondary open trackers
            - Refactor and simplify the TrackerClient code
            - Add welterde's tracker to the default list
            - Don't have eepget retry announces
            - Slow down tracker contacts if they've failed for a while
            - Add some debug support showing connections (?p=2)
      40a9e959
  28. Mar 19, 2008
    • zzz's avatar
      * ExploratoryPeerSelector: · 6e981874
      zzz authored
            - Exclude floodfill peers
            - Tweak the HighCap vs. NonFailing decision
          * i2psnark: Increase retries for .torrent fetch
          * IRC Proxy: Prevent mIRC from sending an alternate DCC request
            containing an IP
          * readme.html: Reorder some items
          * Stats: Add some more required stats
          * Streaming lib: Fix slow start to be exponential growth,
            fix congestion avoidance to be linear growth.
            Should speed up local connections a lot, and remote
            connections a little.
      6e981874
  29. Mar 05, 2008
  30. Nov 24, 2007
    • zzz's avatar
      2007-11-24 zzz · 4ebcc95d
      zzz authored and zzz's avatar zzz committed
          * i2psnark: increase streaming lib write timeout to 240 sec and change
            timeout action from "ping" to "disconect", as the fix in .30 to
            honor options on outbound connections led to hung outbound connections
            (bitfield never transmitted, connection never dropped)
      4ebcc95d
  31. Aug 11, 2007
    • zzz's avatar
      2007-08-11 zzz · a4b221fa
      zzz authored and zzz's avatar zzz committed
          * Add stats for individual tunnel rates (nice when graphed)
          * i2psnark: Fix outbound tunnel nickname
      a4b221fa
  32. Mar 14, 2007
    • zzz's avatar
      2007-03-13 zzz · b6e597e5
      zzz authored and zzz's avatar zzz committed
          * i2psnark: Make max total uploaders configurable (thanks Amiga4000!)
      b6e597e5
  33. Mar 07, 2007
    • zzz's avatar
      2007-03-07 zzz · 0960cafa
      zzz authored and zzz's avatar zzz committed
          * Streaming lib changes to improve upstream performance during congestion:
          *   Change min window size from 12 to 1
          *   Change max timeout from 10 to 45 sec
          *   Change initial timeout from 10 to 15 sec
          *   Change intial window size for i2psnark from 12 to 1
          *   Change slow start growth rate for i2psnark from 1/2 to 1
      0960cafa
  34. Mar 05, 2006
    • jrandom's avatar
      2006-03-05 jrandom · deb35f4a
      jrandom authored and zzz's avatar zzz committed
          * HTML fixes in Syndie to work better with opera (thanks shaklen!)
          * Give netDb lookups to floodfill peers more time, as they are much more
            likely to succeed (thereby cutting down on the unnecessary netDb
            searches outside the floodfill set)
          * Fix to the SSU IP detection code so we won't use introducers when we
            don't need them (thanks Complication!)
          * Add a brief shitlist to i2psnark so it doesn't keep on trying to reach
            peers given to it
          * Don't let netDb searches wander across too many peers
          * Don't use the 1s bandwidth usage in the tunnel participation throttle,
            as its too volatile to have much meaning.
          * Don't bork if a Syndie post is missing an entry.sml
      deb35f4a
  35. Feb 26, 2006
    • jrandom's avatar
      2006-02-26 jrandom · eee21aa3
      jrandom authored and zzz's avatar zzz committed
          * Switch from the bouncycastle to the gnu-crypto implementation for
            SHA256, as benchmarks show a 10-30% speedup.
          * Removed some unnecessary object caches
          * Don't close i2psnark streams prematurely
      eee21aa3
  36. 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
  37. Jan 26, 2006
    • jrandom's avatar
      2006-01-25 jrandom · f22601b4
      jrandom authored and zzz's avatar zzz committed
          * Run the peer profile coalescing/reorganization outside the job queue
            (on one of the timers), to cut down on some job queue congestion.  Also,
            trim old profiles while running, not just when starting up.
          * Slightly more sane intra-floodfill-node netDb activity (only flood new
            entries)
          * Workaround in the I2PTunnelHTTPServer for some bad requests (though the
            source of the bug is not yet addressed)
          * Better I2PSnark reconnection handling
          * Further cleanup in the new tunnel build process
          * Make sure we expire old participants properly
          * Remove much of the transient overload throttling (it wasn't using a good
            metric)
      f22601b4
  38. Dec 27, 2005
    • jrandom's avatar
      2005-12-27 jrandom · 1d0d0d9c
      jrandom authored and zzz's avatar zzz committed
          * Add a new Status: line on the router console - "ERR-ClockSkew", in case
            the clock is too skewed to do anything useful (check the year and month,
            not just the hour and minute).
          * Fixed the read/write timeouts in the streaming lib (so that it actually
            honors them now)
          * Minor I2PSnark cleanups (no read timeout, more careful shutdown and
            torrent closing)
          * Handle an oddball tunnel creation failure (thanks Xunk)
      1d0d0d9c
Loading