- Oct 24, 2010
-
-
zzz authored
-
- Oct 15, 2010
-
-
zzz authored
Use context random for shuffle; other cleanups
-
- Jul 09, 2010
- Jul 06, 2010
-
-
zzz authored
-
- Jun 04, 2010
-
-
privateer authored
- i2psnark webfrontent configuration of startup delay - default startup delay 3 minutes - new config variable in i2psnark.config: i2psnark.startupDelay
-
- May 27, 2010
-
-
zzz authored
-
- May 10, 2010
-
-
zzz authored
- Add tunnel config dropdowns - Comment out old proxy stuff
-
- May 05, 2010
-
-
zzz authored
-
- Apr 12, 2010
-
-
zzz authored
-
- Dec 10, 2009
- Dec 09, 2009
-
-
zzz authored
-
- Oct 04, 2009
-
-
zzz authored
-
- Oct 02, 2009
-
-
zzz authored
-
- Aug 26, 2009
-
-
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
-
- Aug 11, 2009
-
-
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.
-
- Jun 04, 2009
-
-
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.
-
- Feb 10, 2009
-
-
zzz authored
-
- Jan 31, 2009
-
-
zzz authored
will not be rescheduled or cancelled, to reduce SimpleTimer lock contention
-
- Dec 20, 2008
-
-
zzz authored
-
- Nov 18, 2008
-
-
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
-
- Nov 16, 2008
-
-
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
-
- Nov 15, 2008
-
-
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.
-
- Oct 26, 2008
-
-
zzz authored
-
- Jul 16, 2008
-
-
Oldaris authored
-
- Apr 12, 2008
-
-
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
-
- Apr 07, 2008
-
-
zzz authored
-
- Mar 25, 2008
-
-
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)
-
- Mar 19, 2008
-
-
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.
-
- Mar 05, 2008
-
-
zzz authored
-
- Nov 24, 2007
-
- Aug 11, 2007
-
- Mar 14, 2007
-
- Mar 07, 2007
-
-
* 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
-
- Mar 05, 2006
-
-
* 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
-
- Feb 26, 2006
-
- Feb 15, 2006
-
- Jan 26, 2006
-
-
* 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)
-
- Dec 27, 2005
-
-
* 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)
-