2015-04-11 zzz * Updates after review 2015-04-09 kytv * Updates to geoip.txt and geoipv6.dat.gz based on Maxmind GeoLite Country database from 2015-04-07. * Translation updates 2015-04-05 zzz * IRC Server: Better timeout handling reading initial lines (ticket #723) 2015-04-04 zzz * i2ptunnel: - Better timeout handling when reading headers in HTTP server (ticket #723) - Fix NoSuchElementException processing proxyList caused by 03-31 checkin * Streaming: - Fix read timeout on input stream (ticket #723) - Fix read() returning 0 instead of -1 on read timeout (ticket #335) 2015-04-03 zzz * i2ptunnel: Fix stopping tunnel on bad args when starting * wrapper.config: Remove old mortbay Jetty parameters 2015-04-01 zzz * I2CP: Allow larger client clock skew (ticket #1503) * i2psnark: Fix changing data directory on Windows (ticket #1503) 2015-03-31 zzz * API: Fix some client-side APIs to honor defaults in Properties; add javadocs to specify where we do and don't (ticket #1491) * i2ptunnel: Fix multiple SSL outproxies in HTTP client 2015-03-29 zzz * I2CP: Prevent NPE (ticket #1503) 2015-03-25 zzz * i2ptunnel HTTP client: Replace all getBytes() calls with a Writer or getBytes("UTF-8") (ticket #457) 2015-03-24 zzz * Streaming: Throw I2PSocketException when connection is reset, display new error page in HTTP client (ticket #643) 2015-03-23 zzz * Javadoc: Add missing package.html files (ticket #1109) * Summary bar: linkify news headings, remove 'show news' link 2015-03-22 zzz * Console: Better status feedback on manual reseed from URL * NetDB: Don't become floodfill w/o ECDSA support * Reseed: Better status feedback and cleanup in summary bar 2015-03-21 zzz * Console: Support plugin installation from local file 2015-03-20 zzz * Reseed: - Move multipart form support from susimail to jetty-i2p.jar so console can use it - Finish manual reseed from local file 2015-03-19 zzz * Reseed (ticket #1369): - Add form to manually reseed from zip or su3 URL - Add form to manually reseed from local zip or su3 file - Add form to create reseed zip file to share - Backend support and refactoring in reseed code 2015-03-18 zzz * NetDB: - Send exploratory lookups directly to the floodfill if we are already connected to him - Don't encrypt RI lookups when overloaded - Don't explore when overloaded - Don't publish non-ff RI on exit if we are coming right back * Router: Allow disabling the setting of some System properties, for embedded applications * StatisticsManager: Publish dummy LS count if we just started * Streaming: Reduce min RTO again * Tunnels: Drop instead of reject requests on high job lag * UPnP: Update to cyberlink 3.0 2015-03-16 zzz * Apache Tomcat 6.0.43 * NetDB: Send RI lookups directly to the floodfill if we are already connected to him * Router: - Republish RI early if capabilities change - Increase exploratory tunnel quantity if floodfill * Throttle: Reject tunnels based on job lag 2015-03-15 zzz * Job Queue: - Fix overload dropping - Add drop count to job stats - Decrease overload threshold again * NetDb: Track flood success 2015-03-13 zzz * i2psnark: - Auto-reduce tunnel quantity based on peer count - Increase max tunnels * Job Queue: - Drop garlic message decryption jobs on overload - Decrease overload threshold 2015-03-13 dg * Router: create router.integratedPeers (floodfills) stat, and allow graphing of it. 2015-03-08 zzz * i2psnark: Increase min and default bandwidth * Throttle: Tweak messages during probabalistic rejection * Transport: Add missing bogons to IP validity check * 2015-02-22 0.9.18 released 2015-02-18 kytv * Updates to geoip.txt and geoipv6.dat.gz based on Maxmind GeoLite Country database from 2015-02-04. 2015-02-15 dg * FloodfillMonitorJob: - Use lifetime average value for job lag - Change the job lag limit to less than 25ms - Consider and set the limit of backlogged tunnels to less than 5 2015-02-10 dg * I2PSnark, Jetty, SAM, crypto: findbugs resource leaks. 2015-02-07 zzz * SSU: Limit range for valid clock skew * Transport: Ban routers if they are too old and we are non-DSA 2015-02-06 zzz * NetDB: Reduce max job lag for floodfill * NTCP: Block IP for a while when incoming connection is dropped before receiving a message. Possible workaround for tickets #551, #1075, #1411. * Transport: - Decrease DH refiller initial delay and increase buffer size to reduce chance of running out on high-bandwidth routers - Add event log for reachability change 2015-02-01 zzz * Crypto: Catch IAE in generateCertificate() * NetDB: Don't flood an RI back to itself. While Java ffs self-flood, other implementations may not. * OCMOSJ: Pick a OB tunnel at random, not with the OBEP closest to the lease, as that may be hurting connection reliability. * Router: Call warmupCrypto() earlier in the initialization 2015-01-31 zzz * Console: - Don't display invalid IPv6 addresses as options on /confignet - Disable changing log path * NetDb: - Encrypt lookups for 32-bit x86 also - Disable floodfill in laptop mode * PRNG: Don't hang forever at startup waiting for SecureRandom init * Transport: Set 4 MBps max bw due to bloom filter 2015-01-30 zzz * HTTP Proxy: More error page changes * NTCP: Throttle event pumper if looping too fast (tickets #551, #1075, #1411) 2015-01-29 zzz * SSU: - Fix replaceExternalAddress churn when firewalled - Sort introducers in router address, so we won't force a republish due to a different ordering of the same introducers - Don't publish an address if we need introducers but don't have any, so the user won't see a 'firewalled with inbound NTCP enabled' message - Fix transition from firewalled to non-firewalled 2015-01-28 zzz * UPnP: - Rescan for devices periodically and when reachability changes (tickets #661, #959) - Callback when device removed - Consolidate callbacks - Clear ignored devices after primary device removed to allow one to be promoted on rescan - Don't put "I2P" in registered protocol name - Add uptime to UPnP info - HTML escaping - Remove static log on Android 2015-01-11 zzz * i2psnark: Skip incompatible welterde tracker if we are ECDSA * I2PTunnel: Add option for multihoming optimization 2015-01-10 zzz * NetDB: Stubs for bandwidth estimation during reseed (ticket #935) 2015-01-09 zzz * NetDB: Publish RI faster when costs change (ticket #1437) 2015-01-08 zzz * Console, i2ptunnel, proxy: Renaming of various things to "hidden services" 2015-01-07 zzz * ClientAppConfig: Start i2ptunnel sooner (ticket #1162) * NetDB: Possible fixes for reseed completion not recognized (ticket #1384) * Router: - Add startup/shutdown state machine - Don't reset uptime after a soft restart * Startup: Accept tunnels after 10 minutes instead of 20 (ticket #1152) * Tunnels: - Cleanup, catch more cases of zero-hop configuration - Temporarily increase exploratory tunnel quantity at startup, so that netdb refresh will work better 2015-01-05 zzz * Blocklist: - Rewrite to read and merge multiple files - Include in update, use version in base dir too - Increase limits - Bug fixes * EepGet: Change command line default to 0 retries * Latency reduction all over: - SSU: Reduce ack delay - Streaming: Reduce min RTO and flusher delay - Tunnels: Reduce GW batching time * Streaming: - Add API for sending/receiving payload in ping/pong - Fix PcapWriter * UrlLauncher: - Configure browser with routerconsole.browser (ticket #1159) - Convert to ClientApp interface 2015-01-03 zzz * I2CP: Use configured leaseset keys if available * I2PTunnel: Persist leaseset keys 2014-12-15 zzz * Console: Prevent two-word translations from splitting across lines in summary bar * Crypto: EdDSA cleanups * i2psnark: Unchoke new peer sooner * SSU: reduce log level of uncaught errors processing I2NP message * SU3: - Don't require specification of sig type when signing - Implement 'extract -k' - Fix getContentOffset() - Fail on excess data after signature * Tunnels: Raise concurrent build limit 2014-12-08 zzz * HTTP Proxy: Fix parsing of ECDSA address helper * NetDB: Increase lookup throttle time 2014-12-05 zzz Prop from i2p.i2p.zzz.test2: * Console: - Show b32 for local leasesets also on netdb LS tab * Data: - Disallow duplicate keys in a Mapping - Add RouterInfo.getVersion() * I2NP: - Move some data structures away from ByteArray; offsets were always zero - New BuildRequestRecord constructors - BuildRequestRecord field becomes final byte[222] - IV becomes byte[16] - Build record becomes EncryptedBuildRecord - Remove extra copy in BuildRequestRecord.encryptRecord() - Remove unused BuildRequestRecord.readOurIdentityMatches() - DatabaseStoreMessage: Mask the unused bits in the type field for future use * i2psnark: Reduce auto-stop threshold for update torrent * I2PTunnel: Reduce i2ptunnel threads, more thread pooling. - Move client pool from static inI2PTunnelClientBase to TCG. - Use client pool for some server threads - Run some things inline that were formerly threads * KeyGenerator: main() test improvements * Logger: Configurable flush interval * Plugins: Another fix for restarting a ClientApp plugin * Profiles: Change slice selection argument from an int to an enum for clarity * SusiMail: - Add save-as button - Fix encoding for filename in Content-Disposition header * Transport: - Disallow standard I2P application ports as the router port - Increase default class O conn. limits to 350 NTCP, 1050 SSU * Update: Use last-modified instead of last-checked for the next if-modified-since fetch, to fix failing to fetch the latest news * 2014-11-30 0.9.17 released 2014-11-28 kytv * Updated PO files from Transifex * Updates to geoip.txt and geoipv6.dat.gz based on Maxmind GeoLite Country database from 2014-11-05. 2014-11-26 zzz * BuildRequestor: Reduce delay when client build can't find a paired tunnel (ticket #1412) * Data: - Fix NPE on unknown sig type in destination - Fix hashcode and equals for typed data * Tunnels: Disallow changing allowZeroHop setting for exploratory 2014-11-24 zzz * i2ptunnel: Fix automatic setting of random key * PrivateKeyFile: Don't rewrite file in main() if no options 2014-11-23 zzz * Reseed hosts update 2014-11-22 zzz * PeerSelector: If non-DSA, don't use incompatible peers for exploratory tunnels or closest-hop in client tunnels * SAM: Fix v3 bug accepting incoming connections 2014-11-17 zzz * NetDB: Exclude A1/A2 "countries" from auto-floodfill 2014-11-15 zzz * I2NP: - Set lookup type flags even if no reply tunnel specified - Reduce object churn when writing some messages 2014-11-13 zzz * I2PTunnel: - Fix bug that left server acceptor thread running after close - Add destroy() methods to release all resources when closing a tunnel for good, particularly the streaming timer threads - Use COWAL to prevent concurrency problems * PluginStarter: Simplify detection of active threads * Streaming: - Don't return null from accept() any more; actually throw ConnectException as the Javadocs have always specified - Throw ConnectException from accept() if interrupted; previously caught and ignored - Throw exceptions from ConnectionHandler.accept(), not higher up - Close ServerSocket when ConnectionManager is shut down - Synchronize setActive(), clear queue when starting to accept, better handling of calls that don't change state 2014-11-12 zzz * Data: Clear more caches when under memory pressure and at shutdown * Plugins: Fix bug in stopping a ClientApp plugin with $parameters in the args 2014-11-09 zzz * i2psnark: Fix tracker config form issues * Router, i2ptunnel: Add option for per-pool persistent random key, so peer ordering does not change across restarts 2014-11-08 zzz * EdDSA: Bump minimum router version to 0.9.17 * i2psnark: Add support for specifying data dir in add form (ticket #1028) * ProfileOrganizer: More efficient slice calculation * SSU: Fix bug preventing inbound connection from non-DSA router (ticket #1408) * Transports: If non-DSA, check for compatibility before connecting out 2014-11-06 zzz Prop from i2p.i2p.zzz.test2: * Blockfile: - Add block size to superblock - Add span size to skiplist block - Bump version to 1.2 * Console: - Log warnings for Java 6 or no Pack200 - Add ECDSA warning to sidebar - Don't disable updates when restarting from /configupdate - Recognize router.newsRefreshFrequency=0 as "never" * Crypto: Drop dummy crypto stubs * i2psnark: - Convert '+' to ' ' in magnet dn param - Fix NPE when deleting torrent if the data directory was deleted out from under us (ticket #1407) - Add new opentrackers, remove welterde - Support multiple default opentrackers - Don't link to opentrackers at the top * i2ptunnel: - ECDSA default for all new server tunnels - ECDSA default for streamr client tunnels - Fix display of server destination on edit page when not running (privkey file path wasn't absolute) - Fix display of persistent client key b32 on edit page when not running - Fix display of server sig type on edit page when we have a privkey file * jbigi: Save and report extracted library name * Reseed: SSL-only by default * Router: - Make recognition of a hidden router consistent, whether specified in the caps or the cert - Job Queue: Only drop lookup jobs if lagged * SSU: - Don't resend ACKS that are too old (ticket #772) - Dont OOM if ACK sender dies - Don't publish direct info if introducers are required * SU3File: Show content and file types in showversion * Transports: - Consolidate port checking code - Disallow SSDP port * Update: Implement signed news in su3 format with trusted signers, wrapping an Atom XML format * Util: - Use write-sync-close-rename for config file writing - Null check in zip entry name 2014-11-04 zzz * SSU: Fix corruption of ack-only packets containing bitfields * 2014-11-01 0.9.16 released 2014-10-30 kytv * Updates to geoip.txt and geoipv6.dat.gz based on Maxmind GeoLite Country database from 2014-10-07. * Arabic, Chinese, Czech, Dutch, French, German, Russian, and Spanish translation updates from Transifex 2014-10-30 zzz * Router: Fix rare NPE building garlic message (ticket #1403) 2014-10-26 zzz * SSU: Fix ACK Sender thread dying on corrupt packet 2014-10-24 zzz * i2ptunnel: Fix description entered via wizard 2014-10-23 zzz * SessionKeyManager: - Raise inbound limit - Delete oldest tagsets when limit is hit - Don't delete recent tagsets when limit is hit * SSL: Don't prohibit SSLv3 ciphers if that's all we have 2014-10-20 zzz * Console: Fix lockups (ticket #1395) * Eepsite Jetty: Switch back to QueuedThreadPool (ticket #1395) 2014-10-17 zzz * NTCP: Deadlock fix 3rd try (ticket #1394) 2014-10-16 zzz * NTCP: Deadlock fix 2nd try (ticket #1394) 2014-10-15 zzz * Console, I2CP, i2ptunnel, SSLEepGet: Set allowed SSL protocols and ciphers. Disable SSLv3 and older ciphers. Enable TLSv1.1 and TLSv1.2 on Java 7, where it is disabled by default client-side. 2014-10-14 zzz * I2NP: Implement DatabaseLookupMessage search type field 2014-10-13 zzz * i2ptunnel: Set default sig type to ECDSA-P256 for client types Standard, IRC, and Socks IRC, if non-shared. 2014-10-10 zzz * Banlist: Remove unused banlist tracking in the profile causing deadlock (ticket #1394) * GeoIP: - Don't rate peers in some countries as high capacity - Don't enable auto-floodfill in some countries - Don't prefer floodfills in some countries 2014-10-08 zzz * UPnP: Comment out unused parsers 2014-10-07 zzz * CPUID: Remove Intel model 2 again, this is spoofed in the VM * Graphs: Catch an error caused by missing fonts * i2ptunnel: Handle named sig types from i2ptunnel.config in the GUI * SSU: Improve handling of socket that gets closed (ticket #1385) * Startup: Delay ReadConfigJob another minute 2014-10-05 zzz * Crypto: EdDSA cleanup 2014-10-04 zzz * i2psnark: Disable changing types for predefined trackers * i2ptunnel: Fix js confirm for delete button 2014-10-03 zzz * Console: New add-to-addressbook links on leaseset page * CPUID: Fix Intel processor identification * i2psnark: Fix adding magnet links with % encoding (ticket #1391) 2014-09-30 zzz * Logs: Fix displayed filename when empty (ticket #1386) * SAM: Fix v3 LS publish, broken in -4 (ticket #1390) 2014-09-29 zzz * CPUID: - Fix main() model and family calculation - Add model string fetch from processor - AMD model string tweaks * i2psnark: Show subdirectory in table header on details page 2014-09-27 zzz * CPUID: - Fix model and family calculations - Fix most AMD family 15 IDs - Add AMD Llano, Jaguar, Bulldozer 2 - Add Intel Ivy Bridge, Haswell, Broadwell, Penryn, Pineview, Cedarview, Bay Trail, Avoton, and others - Set best-guess capabilities for most Intel processors - Supply best-guess model string in most cases - Processors listed above, and some others, may see crypto speedups as a result 2014-09-26 zzz * EdDSA: Use our PRNG by default for keygen * i2psnark: - Increase default to 3 hops (ticket #966) - Show info hash on details page * NetDB: Increase max age of RIs to reduce number refreshed after restart * SAM: - Don't publish LS for DIRECTION=CREATE - Set default tunnel name * Tests: Fix junit compile fails due to data structure moves * Transport: Hooks for pluggable transports (ticket #1170) 2014-09-23 zzz Prop from i2p.i2p.zzz.test2: * Addressbook: Improve parser efficiency * Data structures: Move several router-only classes from i2p.jar to net.i2p.data.router in router.jar. This will break existing versions of the i2pcontrol plugin. * HTTP Client: Add error page for unsupported encryption * I2CP: - Verify crypto key pair in LS - Verfiy same dest as before in LS - Enforce strict authorization when auth is enabled * i2psnark: - Set-all priority buttons (ticket #1376) - Comment out command-line code - Consolidate and clean up parameters code - Click to sort by column - Display upload ratio when sorted by ratio, and on details page (ticket #1298) - Consolidate code for creating img entities - Switch from checkbox to radio for tracker configuration form - Sort themes in config form - Consolidate HTML header code - Set no-cache headers - Don't set HTML headers for redirects * I2PTunnelGUI: Test tool deleted, moved to i2p.scripts * Jetty 8.1.16.v20140903 * KeyGenerator: Add support for converting all signing key types from private to public * NetDB: - Encrypt RI lookups and request encrypted reply on faster boxes, to prevent scraping by OBEPs and IBGWs - Encrypt exploratory lookups too - Better handling of unsupported encryption in destinations - Implement handling of unsupported encryption in router identities - Banlist forever all RIs with unsupported encryption - New negative cache of all dests with unsupported encryption - New methods for destination lookup that will succeed even if the LS is expired or encryption is unsupported - Use new dest lookup so client will get the right error code later, rather than failing with no LS when we really got it but just couldn't verify it. - Don't auto-enable floodfill if ARM or if ElG decrypt is too slow * NTCP EstablishState: - Prep for future enhancements by refactoring to a state machine model - Reduce object churn; use SimpleByteCache - Synchronization * OCMOSJ: Detect unsupported encryption on dest and return the correct failure code through I2CP to streaming to i2ptunnel * PrivateKeyFile: - New constructor with padding - New router extension to add getRouterIdentity() - Add validateKeyPairs() * Router: - New router.sigType config - Generate / regenerate router keys based on config - New router.keys.dat file in PKF format for sig types and padding - Fix RouterInfo.readBytes() signature verification with sig types - Catch unset padding in KeysAndCert.writeBytes() - Catch key errors in ReadRouterJob - Show RI sig type on /netdb in console - Move some things from Router to startup classes - Startup classes package private - Buffer readin of key files - Remove configurability of router.info and router.keys file locations - Consolidate router keys readin code - Update killKeys file list - Validate router key pairs read in from file - Don't try to use an unavailable sig type for the router, even if it's the default * RoutingKeyGenerator: - Move from core to RouterKeyGenerator in router.jar - Leave RoutingKeyGenerator as a simple abstract class - DatabaseEntry now uses timestamp instead of mod data to determine if mod data has changed. Don't expose mod data to DatabaseEntry any more. - I2PAppContext.routingKeyGenerator() now returns null; you must be in RouterContext to get a generator. * SSU: - Implement bundling of multiple fragments in a single data message. This has always been in the spec and implemented in the receive side since the beginning, so it is compatible with all versions. - OutboundMessageState: Fix SSU Output Queue errors in PacketBuilder: Remove all buffer caching as it can't be made thread-safe. Just allocate buffer in constructor and let GC handle it Do fragmenting in constructor and make all fragment fields final Don't track per-fragment retransmissions as it wasn't used Move ack tracking from an array to a long Sync all ack methods; Entire class now thread-safe - InboundMessageState: Rewrite PartialBitfield for efficiency, less space and object churn - PeerState.fetchPartialACKs() improvements - Don't allow more than 10 bytes when reading in bitfield - Don't send a corrupt ack packet if the partial ack got completed (race) * Streaming: Re-enable message status override, but treat LS lookup failure as a soft failure for now. * Transports: - Handle RI sig types - Banlist unsupported RI sig types - Return unused DH keypairs to the pool * Tunnels: - Enforce request record timestamp - Randomize timestamp to prevent hop detection at top of hour 2014-09-22 zzz * SSU: Fix 100% CPU after socket failure * UPnP: Catch reported error on FreeBSD * 2014-09-20 0.9.15 released 2014-09-17 kytv * Updates to geoip.txt and geoipv6.dat.gz based on Maxmind GeoLite Country database from 2014-09-04. * Translations: - updates pulled from Transifex (cs, es, fi, fr, ja, nb, pl, ro, ru, uk) - en po files updated and pushed to Transifex 2014-09-16 zzz * i2psnark: Don't send HTML-only headers for icons (2nd try) 2014-09-13 zzz * i2ptunnel: - Fixes for stopping client tunnels - Fix status display for shared clients 2014-09-12 zzz * i2psnark: Escape fixes * i2ptunnel: Fix updating session options on a running delay-open client tunnel 2014-09-09 zzz * i2psnark: Escape fixes 2014-08-31 zzz * Build: Add support for bundling router infos in the package * I2PTunnel: Allow changing of spoof host and target host/port without restarting server tunnel 2014-08-30 zzz * Console: - Re-enable plugin installation by default - Don't show configuration section or update-all button if no plugins installed - Show unavailable crypto on /logs * Router: Log warnings for unavailable crypto at startup * RouterInfo: Backport fix for verification of EdDSA RI sig type 2014-08-28 zzz * Streaming: Fix verify of Ed25519 signatures in CLOSE packets 2014-08-27 zzz * i2psnark: - Persist uploaded count (tickets #1034, #1298) - Don't retry announce if we get back HTML - Recognize Vuze tracker rejections - Don't retry rejected announces unless seeding - Better UI handling of announces with ports or full destination * NetDB: Don't abort initialization on an unsupported RI sig type * Streaming: Fix P521 and RSA sig types 2014-08-23 zzz * Console, i2psnark, i2ptunnel: Escape fixes and cleanups * SSU: Drop peer tests as Bob from unestablished Alices 2014-08-22 zzz * SigTypes: - Add isSupportedSince(), use in floodfill selection - Handle mixed-case 25519 enum - Fix 25519 type code - Add dup type code check 2014-08-21 str4d * Add Ed25519 SigType 2014-08-21 zzz * i2psnark: - Escape control chars in encodePath() - Increase max piece size to 8 MB (ticket #1347) * i2ptunnel: Add local SSL support for std. and IRC client tunnels (ticket #1107) 2014-08-19 zzz * i2psnark: - Don't filter create torrent form, and fix exception on ':' in file names (ticket #1342) - Don't remap file names on torrents we created, and save remap setting in torrent config file (tickets #571, 771) - Escaping fixes since names may not be remapped - Use better encodePath() from Jetty - Don't say create torrent succeeded when it didn't - Add more sanity checks for base path of created torrent 2014-08-18 zzz * i2psnark: - Don't send HTML-only headers for icons - Catch IllegalStateException for icons * Tunnels: Use consistent tunnel pair for Delivery Status Message to reduce network connections (ticket #1350) 2014-08-15 zzz * Console: Escaping fix (ticket #1348) * I2CP: Lookup synch cleanups 2014-08-13 dg * Console, EventLog: add BECAME_FLOODFILL and NOT_FLOODFILL, they are now shown at the /events page when the router changes its floodfill state 2014-08-13 zzz * Console: Escaping fix (ticket #1346) * i2psnark: Fix add torrent NPE 2014-08-10 zzz Prop from i2p.i2p.zzz.snarkconfig: * i2psnark: - Move config file and DHT persistence file to a config dir - Move per-torrent configuration from "zmeta" in the main config file to a per-torrent config file (ticket #1132) - Split timestamp and bitfield into separate configs - Fix misspelling of autoStart config - Remove two unused SnarkManager methods - Refactor file deletion in prep for better file name handling (ticket #571) - Don't use canonical files in directory listings, for speed and to avoid file comparison problems (tickets #1079, #1148) - Set base file/dir in Storage constructor, make final, in prep for arbitrary locations (ticket #1028) - Add missing nonce protection for file priority setting - Add torrent mime type 2014-08-10 zzz Prop from i2p.i2p.zzz.test2: * Console: Show share options below 30% (ticket #1329) * Crypto: Move TransientSessionKeyManager from core to router. I2PAppContext will return the dummy SessionKeyManager which is sufficient for non-tag uses (e.g. Bote). Client use of end-to-end encryption using SessionTags was disabled in release 0.6, 2005-07-27. * KeysAndCert: Change hashcode to prevent possible collisions caused by apps with zeroed pubkey * Plugins: Start of SU3 support (ticket #1227) * SAM: - Don't spawn a thread for each transmitted datagram - Set protocol field for raw and signed datagrams - Enforce a 60s timeout for HELLO - Use naming service cache to reduce Destination object churn - Get Log object from the log manager * SigType: Add static isAvailable() methods * SSU: Speed up introductions by responding to HolePunch (ticket #1333) * SU3File: - Add support for XML and NEWS types - Fix NPE on EOF reading input - Add -x option to bypass signature verification - Add -k option to use specified private key cert for verification - Don't verify signature in showversion * UPnP: Disable external entities in XML parser 2014-08-10 zzz * Console: Hide client delete buttons unless advanced on /configclients * 2014-08-09 0.9.14.1 released 2014-08-07 kytv * Updates to geoip.txt and geoipv6.dat.gz based on Maxmind GeoLite Country database from 2014-08-06. 2014-08-03 zzz * Console: - Fix update buttons - Don't filter parameter names starting with "nofilter_" - Re-allow configadvanced, news URL, and unsigned update URL if routerconsole.advanced=true - Re-allow plugin install if routerconsole.advanced=true or routerconsole.enablePluginInstall=true - Only allow whitelisted plugin signers, unless routerconsole.allowUntrustedPlugins=true - Re-allow clients.config changes if routerconsole.advanced=true or routerconsole.enableClientChange=true - More escaping * i2psnark: Fix add torrent form 2014-07-31 zzz * ExecNamingService: Remove * Plugins: Add whitelist of keys * 2014-07-26 0.9.14 released 2014-07-26 zzz * Console: - Fix several XSS issues (thx Exodus Intelligence) - Add Content-Security-Policy and X-XSS-Protection headers - Disable changing news feed URL from UI - Disable plugin install from UI - Disable setting unsigned update URL from UI - Disable /configadvanced * DataHelper: Disallow \r in storeProps() (thx joernchen of Phenoelit) * ExecNamingService: Disable (thx joernchen of Phenoelit) * Startup: Add susimail.config to migrated files 2014-07-23 kytv * Updates to geoip.txt and geoipv6.dat.gz based on Maxmind GeoLite Country database from 2014-07-02. 2014-07-19 zzz * i2psnark: Don't prefer leeches during end game, to prevent slowdowns or stalls * SAM: Add support for RAW on the bridge socket in v3 (ticket #1334) * Streaming; Disable fail-fast for now. * SusiMail: Better error message on decode fail 2014-07-15 str4d * I2CP: Stubs for I2CP connections over Unix domain sockets 2014-07-11 zzz * Datagrams: - Redefine the repliable datagram signature for non-DSA_SHA1 sig types; was the sig of the SHA-256 of the payload, now the sig of the payload itself. 2014-07-03 zzz * Base64: - Catch numerous decoding errors that were previously misdecoded (ticket #1318) - Improve decoding efficiency, reduce copies - encode(String) now uses UTF-8 encoding - decode() now accepts short strings without trailing '=' - whitespace in decode will now cause an error, was previously ignored * Console: Add event log viewer (ticket #1117) 2014-07-02 kytv * Update Java Service Wrapper to v3.5.25 - Windows: x86 and x64 versions self-compiled with VS2010 in Windows 7. The icon has been changed from Tanuki's default to Itoopie. - Linux ARMv6: Compiled on a RaspberryPi using gcc 4.6.3-14+rpi1, Oracle Java 1.7.0+update40 and stripped - All other binaries are from the "community edition" deltapack offered by Tanuki. 2014-06-29 zzz * NetDB: Fix handling reseed URLs with ports (ticket #1278) 2014-06-28 zzz * NetDB: Add support for reseeding with su3 files (ticket #934) * SAM: - Support SIGNATURE_TYPE, bump to 3.1 (ticket #1318) - Private key checking fixes (ticket #1318) - Parameter parsing fixes (ticket #1325) - Cleanups 2014-06-24 zzz * Streaming; Drop the preliminary channel implementations, as they don't work and can't ever work as designed. 2014-06-23 zzz * Streaming: - Bundle new socket messages for translation - Fix connection error message * Tunnels: Reject participating tunnels when hidden (ticket #1314) 2014-06-21 zzz * i2psnark: - Display webapp name in html title (ticket #1311) - Use tracker from magnet link in display (ticket #1313) - Clarify auto-start (ticket #1293) - Include tracker in magnet link on details page (ticket #964) 2014-06-13 zzz * i2psnark: Fix NPE when fetching invalid torrent (ticket #1307) * Transports: Disallow Carrier Grade NAT (RFC 6598) addresses * Tunnels: Don't get stuck only building tunnels for an empty pool (ticket #1300) 2014-06-10 zzz * i2psnark: Fix decoding of negative numbers (ticket #1307) * NewsFetcher: Only treat correct status codes as success 2014-06-09 zzz * i2psnark: - Show client version if available - Linkify all announce URLs on details page - Sanitize announce URLs * Jetty 8.1.15.v20140411 * Tomcat 6.0.41 2014-06-07 zzz * Console: Fix NPE in summary bar * Eepsite: Updated French help page (thx hummingbird) * i2psnark: Fix errors when checking read-only files * NetDB: Reduce negative lookup cache time * OCMOSJ: - Increase timeout if we must lookup leaseset * Streaming: - Shorter expire time in TCBCache - Don't fail a connection once it is up 2014-06-01 zzz * i2psnark: - Store seed/leech status in DHT tracker (ticket #1280) - Increase max received DHT nodes (Vuze sends more) 2014-05-31 zzz Prop from i2p.i2p.zzz.test2: * Console: Fix shutdown error on old wrappers (ticket #1285) * CPUID: - Add hasAES() - Fix bugs in unused hasSSE3(), hasSSE41(), hasSSE42() * Crypto: - Use JVM AES when faster - Don't start YK thread in constructor (ticket #973) * HTTP client: - Fix 'connection reset' browser messages after an error in the first line (ticket #1277) - Add GUI options for user-agent, referer, accept - Disable SSL to i2p addresses by default, add GUI option - Fix NPE in error handler * I2CP: Per-message reliability settings (ticket #788): - Store message nonce in ClientMessage, so we may send a MessageStatusMessage with a failure code to the client without sending an ACCEPTED MessageStatusMessage first. All MessageStatusMessages sent in response to outbound messages will now have a valid nonce. - Clean up and reuse MessageState for asynch notification - New I2PSession sendMessage() method and listener - Move VerifyUsage from SimpleScheduler to SimpleTimer2 for efficiency - New I2PSessionException - Streaming PacketQueue requests status for SYNs on outbound conns - PacketQueue throws I2PSessionException in streams * i2psnark: - Support ports in announce URLs (ticket #1283) - Change "private" value in infohash from string to number, to match what everybody else does - Send seed/leech status in DHT announces (ticket #1280) - Extend DHT tracker expire time from 45m to 3h - Extend DHT announce interval from 10m to 40m - Increase announces from 1 peer to 4 (ticket #1281) - Respond to get_peers with an empty peers list instead of a nodes list if the requester was the only peer (ticket #1279) - Fix sendError() (still unused) * i2ptunnel: - Show key cert settings - Display custom error pages for I2PSocketExceptions (ticket #788) - Tag I2PSocketException text for translation (no bundles yet) - Move methods from superclasses to I2PTunnelHTTPClientBase - Fix connect client error pages, but they aren't displayed anyway - Don't start I2PTunnelRunner threads in constructor (ticket #973) * SusiMail: fix NPE (ticket #1296) * SystemVersion: Add isJava7() and isX86() * 2014-05-22 0.9.13 released 2014-05-20 zzz * Fixes after code review * SSU: Fix peer test deadlock (ticket #1286) 2014-05-15 kytv * Translations, imported from Transifex: - Dutch, French, German, Italian, Japanese, Norwegian Bokmål, and Ukrainian translation updates - Start of Slovak language translation * Updates to geoip.txt and geoipv6.dat.gz based on Maxmind GeoLite Country database from 2014-05-06. 2014-05-14 kytv * Update the UserAgent that we send for users that go out through the outproxy to match that of the current Tor Browser Bundle. 2014-05-13 zzz * BOB, SAM, i2psnark: Fix datagram NPE (ticket #1275) * i2psnark: Escaping fixes on details page * SusiMail: - Fix AIOOBE (ticket #1269) - Don't let an exception on one mail break others 2014-05-10 zzz * NTCP: Fix NPE (ticket #996) * SusiMail: Remove deleted mails from memory 2014-05-09 zzz * SusiMail: Add more locking (ticket #1269) 2014-05-08 zzz * i2psnark: Add log message if directory does not exist (ticket #1263) * i2ptunnel: Display warning for duplicate client ports (ticket #1265) 2014-05-07 zzz * Console: - Add hiddengate.i2p - Fix console getting disabled when saving client config (ticket #1260) * Router: Add warning at startup if console is disabled * SSU: Extend establishment phase retx timeout * SusiMail: - Don't fetch headers from folder sorters - Update debug setting when saving config * Transports: Use constant time method for HMAC verification * Tunnels: Revert expl. OB default back to 2 + 0-1 for now 2014-05-01 zzz * SusiMail: js enhancements, build cleanups, css tweaks 2014-04-30 zzz * Plugins: Retry deletion at restart if it fails (ticket #1257) 2014-04-29 zzz * SusiMail: - Add print css - Hide header and footer in mobile css - Fix 'from' address in compose 2014-04-28 zzz * UDP: - Locking fixes on peer testing - Slow down peer test frequency, esp. when firewalled 2014-04-27 zzz * NTCP: Remove published NTCP address if SSU becomes firewalled, to fix the "Firewalled with NTCP enabled" message, broken during IPv6 implementation in 0.9.8 * Router: Set killVMOnEnd before runRouter() (for azi2phelper) * RoutingKeyGenerator: Don't assume UTC (for azi2phelper) * SusiMail: - Add locking for disk cache - Remove cancel button from login page - New configuration page (ticket #1158) - Move set page form to configuration page - Theme and js enhancements * UDP: - Locking fixes on rebuilding address - Don't rapidly churn address when we don't have enough introducers 2014-04-25 zzz * SusiMail: - Add icons for new messages, attachments, and spam - Different colors for new mail and spam - Tweak sort button display based on current sort - Display image attachments inline - Don't rezip certain attachment types, just offer link - Move delete and confirmation buttons - Increase max size for full download again - Fix repeated re-saves of mail to disk - Enable auto-deletion of downloaded mails - Send delete to server for mails already downloaded 2014-04-24 zzz * SusiMail: - Add background mail checker - Add idle timeout connection closer - Rely on idle checker for most delayed deletions - Cleanup resources better when shutting down session - Don't add deleted mails to folder - Set socket soTimeouts - Display errors after check mail button pushed 2014-04-23 zzz * SusiMail: - Queue deletions for a later thread - Synch all folder access - Fix fetching of new mail 2014-04-22 zzz * SusiMail: - Add persistent cache - Fix encoding in sent mails on non-UTF8 platforms - Show sender name in folder view - Add support for configured sender name - Add HTML escaping of '&' - Fix Folder sorting so UP is up and DOWN is down - Fix capture by show page after back button - Load all mails from disk at startup - Add offline mode 2014-04-21 zzz * SusiMail: - Pipeline all deletes and quit - Don't reconnect after delete and quit - Verify connected before each POP3 operation - Don't clear messages if a reconnection fails - Use locale-based sorting for strings - Increase limit for full fetch again - Increase default page size back again 2014-04-21 dg * findbugs: mostly stream closure fixes in router, apps, core 2014-04-20 zzz * SusiMail: - Implement extensive pipelining in POP3 for a big speedup of the initial connection - Don't require an attachment to be "uploaded" to send it - Move delete attachment button, hide if no attachments - Save BCC-to-self preference in the session - Fix date format in reply - Close any open POP3 socket when session is unbound - Don't keep returning user to compose page (ticket #1252) - Add javascript capture of back button on compose page 2014-04-19 zzz * Console: Remove the classpath workarounds for SusiMail, since it isn't using the jetty classes any more * SusiMail: - Increase max size of mails that are fetched in full, previous limit was so small it never happened. - Move page nav to top of folder view, hide if only one page - Refuse to send mail with no "to" - Reduce default page size as it slows startup - CSS and layout fixes - Flush writes in POP3 and SMTP - Don't wait for SMTP response after QUIT - Tell the user if there are no messages - Fix the message view layout - Message view attachment cleanups - Pipeline USER and PASS to save a round-trip at startup - Better synchronization in POP3 - Properly de-byte-stuff in POP3 - Remove unnecessary caching in POP3 - More efficient handling of POP3 responses - Remove 60s timeout for fetching a message, so retrieval of large messages doesn't fail - Use pipelining in SMTP - Rewrite SMTP response processing - Translate SMTP error messages 2014-04-18 zzz * configclients: Don't allow console disable * I2PTunnel IRC Client: Prevent AIOOBE (ticket #1254) * SusiMail: - Extend session expiration (ticket #1253) - Handle non-UTF8 encoding on header lines (ticket #508) - Display dates in current locale and time zone - Display sender name on message view - Remove sort-by-ID buttons - Hide "reload config" button unless config file is present - Increase default page size - Don't force reconnection on folder view (ticket #1253) - Button theme tweaks - Only show logout button on folder view - Add dependency tracking to build 2014-04-17 zzz * i2psnark: Randomize announce list order and limit size * SSU: SessionRequest replay prevention (ticket #1212) * SusiDNS: - Locking on config file accesses - Remove static log and context * SusiMail: - Button styling for prev,next,list - Log errors to router log too * Tunnels: Increase OBEP throttle limit 2014-04-06 zzz * NetDB: Iterative search improvements 2014-04-05 zzz * I2PTunnel: - Add server option for unique local address per-client - Fix changing outproxy without stopping tunnel (ticket #1164) - Fix add-to-addressbook hostname link in i2ptunnel (ticket #688) * NetDB: Skip key cert LS stores and verifies for floodfills that don't support them 2014-04-01 zzz * Console: Fix summary bar html when displaying an update constraint * NetDB: Handle RI response from non-floodfill router down a client tunnel * 2014-03-31 0.9.12 released 2014-03-28 zzz * i2ptunnel.config: Remove irc.freshcoffee.i2p * StatManager: Don't start thread for an empty config * StatisticsManager: Don't publish client tunnel stats 2014-03-28 kytv * Updates to geoip.txt and geoipv6.dat.gz based on Maxmind GeoLite Country database from 2014-03-05. * Brazilian Portuguese, French, Norwegian, and Russian translation updates imported from Transifex 2014-03-23 str4d * Console: Handle stopping plugin ClientApps 2014-03-16 zzz * SSU: Fix corruption of introducer keys 2014-03-15 zzz * Certificate: Fix null cert hash code * Hash: Cleanup of cached hash * NetDB: Randomize returned DSM timestamp 2014-03-13 zzz * SAM: Class, field, findbugs cleanups 2014-03-12 zzz * Console: Handle ISO-639-2 language codes (ticket #1229) * I2PTunnel: Send message to client on HTTP Server OOM or out of threads * Streaming: - Track recently closed connections (ticket #1161) - Workaround for jwebcache and i2phex (ticket #1231) * Wrapper: Fix failed restarts on ARM (ticket #1230) 2014-03-08 zzz * PeerManager: Restore profileOrganizer.sameCountryBonus advanced config, inadvertently removed in 0.9.10 2014-03-07 zzz * Router: - Look for DeliveryStatusMessages beyond the message expiration, so we don't throw out a tagset that gets acked late - Allow re-adding of a "failed" tagset to the SKM - Extend max message age in MessageValidator - Remove unused and confusing timeout param when registering a selector 2014-03-06 zzz * Router: Encrypt DeliveryStatusMessages sent in garlics (ticket #1217) 2014-03-05 zzz * Transports: Don't send a duplicate store of our RI at start of a connection (ticket #1187) * NTCP: - Lower send priority of the RI at exchange - Bob will now send his RI even if he doesn't have Alice's - Send RI again sooner on long-lived connections 2014-03-05 str4d * Console: Updated website URLs in readme.html files * susimail: Removed remaining Jetty dependencies in susimail (patch from wockenfuss) (ticket #1165) 2014-02-24 zzz * NetDB: Slow down router refresh after startup to reduce load on exploratory tunnels * NTCP: - Add check for replayed session requests (ticket #1212) - Disable inbound check connection - Reduce object churn in EstablishmentManager - Don't pollute Hash cache in EstablishmentManager * Transports: Use SigUtil.rectify() in DH * Tunnels: Rate-limit connections at the OBEP (ticket #1134) 2014-02-23 dg * I2PTunnel: add 'irc.dg.i2p' to the default IRC2P tunnel (for more information, see http://echelon.i2p/docs/IRC2p/irc2p_userguide.txt) 2014-02-21 zzz * Build: Add property for target version * I2CP Client: Generate revocation key of same type as signing key * i2ptunnel: Only offer SigType options that are available in the JVM * LeaseSet: Add check for SigType mismatch * RouterAddress: Restore storage of expiration and use in signature calculation, broken in 0.9.3, in anticipation of using it someday * SigType: Add isAvailable() 2014-02-20 zzz * i2ptunnel: Add inproxy block option to HTTP server * Router: Allow null args to main() (broke Android) 2014-02-17 zzz * HMAC: - Replace BC MD5 with JVM version, refactor I2PHMAC to use MessageDigest instead of BC Digest (ticket #1189) - Use JVM HmacSHA256 instead of I2PHMAC for Syndie since it is standard * SSU: - Use session key for relay request/response if available (ticket #1206) - Restrict authentication with Bob's intro key to session created packet - Remove packetAuthTime stats * Initial support for key certificates and arbitrary types and lengths of signing keys and signatures in RouterIdentities and Destinations. - Fixup of Destination.create() and Destination.size() - Add generic off/len methods in DSAEngine, needed for streaming - Support i2cp.destination.sigType option in TunnelController and I2PSocketManagerFactory - Fixup of sign/verify in streaming Packet - Add setting in i2ptunnel server edit page (hidden for now) - Comment out cert setting on i2ptunnel server edit page - Show key type on susidns details page and LS debug page - Hide setting in i2ptunnel edit pages unless advanced user - Only store LS with key certs to routers that support it - Only store LS with more than 6 leases to routers that support it * Jetty: - Update to Jetty 8.1.14.v20131031, Servlet 3.0, JSP 2.2 - Use Servlet and JSP jars from Jetty instead of Tomcat - Tomcat remains at 6.0.37 supporting Servlet 2.5 / JSP 2.1 - Remove Jetty dependency in console error pages - Require Java 6 2014-02-14 zzz * I2CP: - Add session limit, add new status code for refused - Ramdomize session ID, prevent dups - Make SessionId immutable 2014-02-13 zzz * Router: Convert to getopt (ticket #1173) * Tunnels: Change expl. OB default to 3+0 2014-02-11 zzz * HTTP client proxy: Don't flush after headers for a POST, so the POST data is included in the SYN packet, to improve speed and reliability of small POSTs 2014-02-10 zzz Prop from i2p.i2p.zzz.test2: * Addressbook: Rewrite subscriptions.txt for new default URL * Build: Honor require.gettext=false for i2prouter translations * Core: Add lightweight getopt command line parsing lib (ticket #1173) * EepGet: - Convert to getopt (ticket #1173) - New option -c for clearnet (no proxy), same as -p:0 - Proxy option -p with host name arg only (no ':') now allowed - Proxy password option is now -x, not the second arg to -u - Prompt for proxy password if not supplied in options - Line length option is now -l, not the second arg to -m - Error on nonproxied .onion hosts - Update man page, sort options (ticket #1173) - Support Digest proxy authentication (ticket #1173) - Move authentication parsing method from I2PTunnelHTTPClientBase * EepHead, PartialEepGet, SSLEepGet: Convert to getopt (ticket #1173) * EepHead, PartialEepGet: - New option -c for clearnet (no proxy), same as -p:0 - New option -o, same as EepGet - Proxy option -p with host name arg only (no ':') now allowed - Add proxy auth support with -u and -x options (ticket #1173) * I2Ping: - Convert to getopt (ticket #1173) - Add support for from/to ports * i2psnark: Cache PeerID.toString() * I2PTunnel: - Convert to getopt (ticket #1173) - Add more argument sanity checking and a usage output * PrivateKeyFile: - Convert to getopt (ticket #1173) - New option -e for hashcash effort, replaces -h with arg - Stub out -t option, to be propped from ecdsa branch * Streaming: - Set ports on many packets that were missing them - Use connection throttling methods on pings too (ticket #1142) - Add methods to set ports on pings - Argument checking on ping methods * SU3File: Convert to getopt (ticket #1173) * UpdateManager: Convert to RouterApp and remove update hooks from context (ticket #1185) 2014-02-10 zzz * Console: - Don't reset graph settings when clicking restart or shutdown on graphs page - Don't recommend guest login on trac, it's disabled - Catch and remove corrupt jrb file (ticket #1186) - Always set default language on /configui * Transports: Reduce target connection count again to reduce tunnel reject rate further * 2014-02-08 0.9.11 released 2014-02-07 zzz * Services: - Move backup news to psi.i2p - Move default addressbook subscription to i2p-projekt.i2p - Remove www.i2p2.i2p from default update lists - Add psi.i2p to hosts.txt - Update links on help pages to avoid redirects on new website and select the correct language * SusiDNS: Fix whitespace issues 2014-02-06 kytv * Brazilian Portuguese, Danish, French, Japanese, Polish, Russian, Ukrainian translation updates * Updates to geoip.txt and geoipv6.dat.gz based on Maxmind GeoLite Country database from 2014-02-05. 2014-01-31 zzz * /logs: Fix encoding of wrapper log section (ticket #1193) * NetDB: Fix cases where corrupt RouterInfo files were not deleted (ticket #1190) * SOCKS: Remove static logs 2014-01-30 zzz * InboundMessageDistributor: Set reply flag on LeaseSets 2014-01-28 zzz * /configclients: Add link to plugins.i2p; don't show delete button for console * Tunnels: Change expl. IB default to 2 + 0-1 2014-01-28 dg * I2PSnark: Make 'kitty.png' transparent 2014-01-28 zzz * I2CP: Use client tunnels for b32 lookups (ticket #1166) 2014-01-27 zzz Prop from i2p.i2p.zzz.i2cp: * I2CP: - Add support for hostname lookups over I2CP with new HostLookup and HostReply messages. - Move username / password from CreateSession to GetDate for early authentication; this is an incompatible chage. Outside router context with authentication enabled, new clients will not work with old routers. Early authentication is not yet enforced, enable with i2cp.strictAuth=true. Will change default to true in a later release. - Block all actions before authentication. - Better disconnect messages to clients for diagnostics - Improve lookup command, add auth command in i2ptunnel CLI for testing - Don't start ClientWriterRunner thread in constructor - Don't flush in ClientWriterRunner unless necessary - Send GetDate even in SimpleSession outside of RouterContext - Improve SetDate wait logic to reduce locks and break out when Disconnect received - Add Disconnect handler to SimpleSession - Add SessionID to HostLookup/Reply messages, for future use when we have multiple sessions - Throw IAE on invalid SessionID values - Add support for b64 conversion in destLookup() - Catch invalid message length sooner * I2Ping: - Extend I2PTunnelClientBase so non-shared-client, I2CP options, and other features will work - Fixes for fields and threading - Cleanups * Streaming: - Send LS with ping (broken since 0.9.2) - Set the NO_ACK flag on pings and pongs 2014-01-27 zab * Move message serialization later in the SSU sending pipeline (Ticket #1183) * Up version to -5 2014-01-27 zzz * i2ptunnel HTTP Proxy: Fix default enable for outproxy plugin 2014-01-25 zzz Prop from i2p.i2p.zzz.outproxy: * i2psnark: Lower threshold for auto-stop * i2ptunnel HTTP Proxy: - Add support for HTTPS - Add support for outproxy plugins * Installer: Update links * NetDB: Fix NPE after client shutdown (ticket #1174) * Router: Lower frequency for publishing stats * Update: All updates via torrent 2014-01-25 zab * Move OutNetMessage buffer preparation to the Writer threads (Ticket #1183) * Up version to -1 * 2014-01-22 0.9.10 released 2014-01-20 kytv * Translation updates * Updates to geoip.txt and geoipv6.dat.gz based on Maxmind GeoLite Country database from 2014-01-08. 2014-01-20 zzz * Console: Change www.i2p2.i2p links to i2p-projekt.i2p * Reseed: Remove netdb.i2p2.de 2014-01-12 zzz * NetDB: Fix handling of DSRM and DSM down client tunnels 2014-01-11 zzz * NetDB: - Reduce min part tunnels for ffs to 35 - Use client tunnels for LS lookups from OCMOSJ (ticket #1166) 2014-01-11 str4d * BOB: Pass through I2CP host/port (ticket #827) 2014-01-10 str4d * BOB: Implement ClientApp interface (ticket #347) 2014-01-09 zzz * Kademila: Fix NPE in remove() 2014-01-09 kytv * Translations - Updates to French, German, Romanian, and Russian - New Brazilian Portuguese translation - Mass pull of translations from Transifex - Update of English strings 2014-01-09 str4d * susimail: - Fixed pagination with zero entries (ticket #1168) - UTF-8 support from wockenfuss (ticket #508) * Console: Fixed overlapping text issue in midnight theme 2014-01-07 zzz * Streaming: Fix StandardServerSocket.close() and isClosed() 2014-01-04 zzz * Peermanager: Disable small same-country bonus * Tunnels: Change client default to 3 hops in router; change expl. default to 2+0 IB and 2 + 0-1 OB 2014-01-04 dg * Streaming: Move streaming to new package (ticket #1135) * Console: Change /configclients 'advanced warning' to include 'toopie, no red 2013-12-25 dg * Console: Add 'advanced warning' to /configclients * SOCKS5Server: Remove redundant, commented out line from my previous findbugs 2013-12-19 zzz * NetDB: Fixes for ExpireRoutersJob - Don't expire if too few routers - Don't expire if net is disconnected - Don't run in VMCommSystem 2013-12-15 zzz * EepGet: Allow override of the User-Agent * i2psnark: Set User-Agent 2013-12-14 zzz * NetDB: - Just before midnight, flood to new location too so lookups don't fail after keyspace rotation (ticket #510) - Refactor RoutingKeyGenerator and UpdateRoutingKeyModifierJob in support of the above 2013-12-13 zzz * i2ptunnel: Show destination for persistent client key only if available; show b32 for the key as well * NetDB: - Increase new kad size to K=24, B=4 - Fix router count by counting in the data store, not the kbuckets - Randomize the order we load router infos at startup so we don't bias the kbuckets 2013-12-10 zzz Prop from i2p.i2p.zzz.test2: * Config files: Allow empty values * Data: Deprecate Signature.FAKE_SIGNATURE * GeoIP: Thread the periodic lookup so it doesn't clog the timer queue * I2CP router-side: Disconnect client on attempt to publish invalid leaseset * i2psnark: - Make a set of the default trackers so the config array can be private and the lookup for the form is more efficient. - Disable streaming pings (ticket #1142) * i2ptunnel: Disable streaming pings for clients (ticket #1142) * i2ptunnel IRC client: Do not filter server PING or client PONG (ticket #1141) * Jetty 7.6.14.v20131031 * PeerManager: Thread the periodic reorg so it doesn't clog the timer queue * PrivateKeyFile: Fix ISE (ticket #1145) * Startup: Wait a while and recheck if a recent ping file is there, so that a crashed router doesn't prevent a restart (ticket #633) * Transport: Reduce target connections from 60% to 45% of limit to improve network capacity. Apparent problems with lower limits were actually due to unrelated bugs, fixed in 0.9.8.1-22. * Translations: - Add support for country variants (ticket #1133) - Refactor data in ConfigUIHelper * UDP PeerState: findbugs volatile/atomic/synch Prop from i2p.i2p.zzz.netdbkad: * NetDB: - Move net.i2p.kademlia package from i2psnark to core, and convert netdb to use it. - Delete old implementation in netdb - Fixups in netdb for generics - Add debug output to /debug * Kad unit tests: - Move KBucketSetTest to new directory - Fix testSelf() as new implementation will never include myself - Delete KBucketImplTest, not applicable/useful now - Port KBSTest from i2p.zzz.kademlia branch - Fix RandomTrimmer so it always returns true, so it may be used as the trimmer in the unit tests * 2013-12-07 0.9.9 released 2013-12-04 zzz i2psnark: Fix ConnectionAcceptor not restarting after tunnel restart, preventing incoming connections 2013-12-01 kytv * Update geoip.txt based on Maxmind GeoLite Country database from 2013-11-05. * French, Italian, Romanian, Spanish, and Swedish translation updates from transifex 2013-11-28 dg * I2PTunnel: Don't send 'X-Powered-By' on HTTP server tunnels for anonymity reasons. 2013-11-25 str4d * Reseed: Listen to "Require SSL" config option 2013-11-23 zzz * i2ptunnel: Clean up old timer threads 2013-11-23 str4d * susimail: Fix NPE when deleting last message (ticket #414) 2013-11-19 kytv * Translation updates and start of Japanese translation pulled from Transifex 2013-11-14 kytv * Update Java Service Wrapper to v3.5.22 - Windows: Self-compiled with VS2010 in Windows 7. The icon has been changed from Tanuki's default to Itoopie. - Linux ARMv6: Compiled on a RaspberryPi using gcc 4.6.3-14+rpi1, Icedtea6 6b27-1.12.5-1+rpi1 and stripped - All other binaries are from the "community edition" deltapack offered by Tanuki. 2013-11-14 zzz * Tunnels: Fix reception of encrypted responses to LS lookups (ticket #1125) 2013-11-07 zzz * i2psnark: Fix file links, broken in -12 (ticket #1114) * Logging: Track duplicates across flush interval (ticket #1110) * NetDB: Fix RI publish interval, broken in -7 2013-11-03 zzz * NetDB: Allow store of leaseset as long as one lease has not expired * Transport: - Expire wasUnreachable entries, so inbound tunnel build failures don't escalate - Add network status to event log 2013-11-01 zzz * Transport: Fix GeoIPv6 (ticket #1096) 2013-10-31 zzz * i2psnark: Always verify file lengths at startup (ticket #1099) * Transports: Increase threshold for idle timeout reduction (partially back out change from -10) 2013-10-29 dg * i2psnark: Start torrents by default (ticket #1072) 2013-10-29 zzz * i2psnark: Fix start and start-all buttons on text-mode browsers and Opera (ticket #1093) * InboundMessageDistributor: - Don't discard an encrypted DSRM received down a tunnel, just strip the hashes like we do for unencrypted - Send a store of our own encrypted LS received down a tunnel to the InNetMessagePool so the FloodfillVerifyStoreJob will see it. * NetDB: Fix LS store verifies with encrypted replies by storing the tagset with the correct SKM for the inbound tunnel used. Broken since 0.9.7 when it was introduced. * Tunnels: - Build a new exploratory fallback tunnel in the BuildExecutor loop if we run out. - Don't use closest expl. tunnel as the paired tunnel for a build, use a random one instead (partially back out change from -12) 2013-10-29 meeh * Adding no.i2p registrar 2013-10-28 dg * I2PTunnel: Enable persistent keying for SOCKS tunnels (ticket #1088) 2013-10-27 zzz * Streaming; Fix crash caused by previous blacklist fix (ticket #1070) 2013-10-26 zzz * i2psnark: Display base name, not torrent file name (ticket #985) * I2PTunnel HTTP server: New POST limiter * Profiles: Ensure we select random peers even before the first reorganization * Streaming: Randomize end of first conn limit period * Tunnels: - Don't use fallback expl. tunnels as the paired tunnel for a client tunnel build. - Fix selection of an expl. tunnel close to a hash 2013-10-25 zzz * Router: Only log ping file error once (ticket #1086) * Streaming: - Check blacklist/whitelist before connection limits, so a blacklisted peer does not increment the counters - Don't increment total throttle if peer is throttled - Fix blacklist NPE after config change (ticket #1070) * Transports: Reduce connection idle time sooner 2013-10-24 zzz * i2psnark: Drop incoming connections on HTTP port * I2PTunnel: Don't let uncaught exception kill server acceptor (ticket #1070) * I2PTunnel standard, HTTP, and IRC servers: Route connections to specific targets based on incoming I2P port with custom option targetForPort.xxxx=myserver:yyyy This allows multiple services on a single server tunnel (ticket #1066) 2013-10-23 zzz * I2PTunnel standard and IRC clients: - Allow host:port targets; set defaults in i2ptunnel.config (ticket #1066) - Don't fail start if hostname is unresolvable; retry at connect time (ticket #946) - Output IRC message on connect exception - Update target list on-the-fly when configuration changes * NetDB: - Increase RI publish interval to reduce the connection load on ffs - Save RI-last-published time; check it before publishing 2013-10-19 zzz * NetDB: - Reinstate ExpireRoutersJob - Reduce min part. tunnels for floodfill - Reduce floodfill redundancy 2013-10-17 zzz * I2CP: Move SSL client socket code to util, move cert location to certificates/i2cp. * I2PTunnel: Support SSL for connection to local server for Standard, HTTP, and IRC server tunnels. Put server cert in certificates/i2ptunnel if necessary. * Streaming: Throw IOE if socket is closed (ticket #1077) 2013-10-14 kytv * French translation updates from Transifex 2013-10-14 zzz * Translations: Move country names to a new resource bundle 2013-10-13 zzz Prop from branch i2p.i2p.zzz.test2: * Console: - Implement webapp state detection and stop button for webapps on /configclients (Ticket #1025) - Set per-connector acceptors back to 1, Jetty default changed to 2? - Tag strings on /jobs (ticket #969) * Data Structures: - Make Destination and RouterIdentity keys and cert immutable - Add Destination cache * i2psnark: - Combine getPeers and announce into a single method, as we must announce to the closest from the getPeers, not the closest from the kbuckets - Stop getPeers when nothing closer is found - Increase DHT dest lookup, search timeouts, and max search depth - Loop tracker client faster when in magnet mode or if DHT announce fails - Don't return an empty peers list in DHT if we only know about the requestor - Refactor Storage file data structures - Sort files when creating torrents - Add torrent auto-stop support; enable for update file - Add tunnel auto-close when no torrents are running - Close socket before closing output stream to avoid blocking in Peer.disconnect(), and prevent Peer.disconnect() loop * I2PTunnelHTTPServer: Don't thread a receiver for GET or HEAD * Jetty 7.6.13.v20130916 * Logging: - Require strict match of class name component - parseLimits() cleanup * SSU: More efficient InboundMessageState * Streaming: - Fix active stream counting so it doesn't count streams that are closed and in TIME-WAIT state. Also, break out of the counting loop as soon as we know the answer. (Ticket #1039) - Consolidate scheduling of DisconnectEvent, and ensure we only do it once. (Ticket #1041) - Atomics for close/reset send/receive so we only do things once. (Ticket #1041) - Remove setCloseReceivedOn(), unused outside Connection - OR the isFlagSet parameter instead of multiple calls - Remove acked packets from _outboundPackets inside synced iterator - Short-circuit _outboundPackets iterator if empty - Small optimization if not logging in ConnectionPacketHandler - Stub out processing of close ack (ticket #1042) - Don't queue a message for an unknown connection on the SYN queue if it has a send ID set, it must be for a recently closed connection - Major rework of connection disconnect process. Tickets 1040-1042. - Prevent multiple calls or reentrancy in disconnect() (ticket #1041) - Implement processing of close to skip TIME-WAIT, and wait for all packets to be acked (not just the CLOSE) before doing so, if possible (ticket #1042) - Don't call disconnect() or disconnectComplete() from I2PSocketFull.destroy() so retransmissions and acks can still happen (removes some close loops) - Don't call disconnect() until we have both sent and received a CLOSE (ticket #1040) - Don't reset the connection from CPH just because we sent a CLOSE and it was acked (ticket #1040) - Ack packets even if we sent a CLOSE (ticket #1040) - Retransmit CLOSE if not acked (ticket #1040) - Send received packets to the MessageInputStream even if we haven't received a SYN - Don't call MessageInputStream.messageReceived() for ack-only packets, that was pointless - Don't send a RESET after timeout of an outbound connection - Work around bugs on other end by limiting retransmission of CLOSE packets - Make I2PSocketFull.close() nonblocking; it will now cause any user-side writes blocked in I/O (Connection.packetSendChoke()) to throw an exception (tickets #629, #1041) - Don't ignore InterruptedExceptions; throw InterruptedIOException - MessageInputStream locking fixes - Make _isInbound final - More cleanups, javadocs, log tweaks * Transport: Treat more IPs as local - 25/8 Hamachi (moved from 5/8 Nov. 2012) - 2620:9b::/32 Hamachi - 3ffc::/16 6bone - 2001:db8::/32 example (RFC 3849) - 0::/8 Includes IPv4 compatibility addresses ::xxxx:xxxx * Update: - Support notification of updates that cannot be downloaded due to "constraints". Add constraint checks for java version, router version, configuration, and base permissions. (ticket #1024) - Thread news fetcher so it doesn't clog the scheduler * Watchdog: Format messages better 2013-10-06 zzz Prop from branch i2p.i2p.zzz.ecdsa: * Build: - Generate su3 file in release target - Add zzz's new RSA 4096 pubkey cert for updates - Fix checkcerts.sh * Console: Move advanced setting to HelperBase * DSAEngine changes: - Implement raw sign/verify for other SigTypes - Add sign/verify methods using Java keys * ECDSA Support: - Add ECConstants which looks for named curves and falls back to explicitly defining the curves - Add support for ECDSA to SigType, DSAEngine and KeyGenerator - Attempt to add BC as a Provider - genSpec: fallback to BC provider * EepGet: - Fix non-proxied PartialEepGet - Prevent non-proxied eepget for an I2P host * KeyGenerator changes: - Generate key pairs for all supported SigTypes - KeyPairGen: Catch ProviderException, fallback to BC provider - Add KeyGenerator main() tests * KeyRing and DirKeyRing added: simple backend for storing X.509 certs * KeyStoreUtil added: - Consolidate KeyStore code from SSLEepGet, I2CPSSLSocketFactory, SSLClientListenerRunner, and RouterConsoleRunner into new KeyStoreUtil and CertUtil classes in net.i2p.crypto (ticket #744) - Change default to RSA 2048 (ticket #1017) - Set file modes on written keys - Overwrite check in createKeys() - New getCert(), getKey() - Extend keygen max wait - Read back private key to verify after keygen - Validate cert after reading from file - Validate CN in cert - Specify cert signature algorithm when generating keys * NativeBigInteger: Tweak to prevent early context instantiation * RSA support added: constants, parameters, sig types, support in DSAEngine, KeyGenerator, SigUtil * SHA1Hash: Add no-arg constructor * SigType changes: - Add parameters (curve specs) to SigTypes - Add getHashInstance() - Add RSA, fix ECDSA - Renumber, rename, comment out types that are too short. * SigUtil added: - Converters from Java formats (ASN.1, X.509, PKCS#8) to I2P formats for Signatures and SigningKeys - Move ASN.1 converter from DSAEngine to SigUtil, generalize for variable length, add support for longer sequences, add more sanity checks, add more exceptions - Move I2P-to-Java DSA key conversion from DSAEngine to SigUtil - Add Java-to-I2P DSA key conversion - Add Java key import - New split() and combine() methods * SSLEepGet: Move all certificates to certificates/ssl, in preparation for other certificate uses by SU3File * SU3File changes: - Support all SigTypes - Implement keygen - Readahead to get sigtype on verify, as we need the hash type - Enum for content type - Add unknown content type, make default - Fix NPE if private key not found or sign fails - Store generated keys in keystore, and get private key from keystore for signing, in Java format - Use Java keys to sign and verify so we don't lose the key parameters in the conversion to I2P keys - Type checking of Java private key vs. type when signing - Use certs instead of public keys for verification - Fix arg processing - Improve validate-without-extract - New extract command - Change static fields to avoid early context init - Reduce PRNG buffer size for faster signing * Update: Preliminary work for su3 router updates: - New ROUTER_SIGNED_SU3 UpdateType - Add support for torrent and HTTP - Refactor UpdateRunners to return actual UpdateType - Deal with signed/su3 conflicts - Verify and extract su3 files. - Stub out support for clearnet su3 updating - New config for proxying news, separate from proxying update - PartialEepGet and SSLEepGet tweaks to support clearnet update - Remove proxy, key, and url config from /configupdate - More URI checks in UpdateRunner - Add https support for news fetch - Add su3 mime type - Reset found version in update loop so we don't fetch from the next host too. - Prevent NPE on version after SSL fetch * 2013-10-02 0.9.8.1 released 2013-10-01 zzz * Startup: Fix rekeying on Windows (tickets #1056, 1057) * 2013-09-30 0.9.8 released 2013-09-26 kytv * French, German, Russian, and Swedish translation updates from Transifex * Update geoip.txt based on Maxmind GeoLite Country database from 2013-09-03 2013-09-23 zzz * Console: Add /proof page which can copied to prove you run a router 2013-09-20 kytv * Chinese, French, German, Russian, and Swedish translation updates from Transifex 2013-09-17 zzz * Revert expl. default back to 2 hops, wait for next release 2013-09-07 zzz * Crypto: Don't use "short exponent" on faster platforms. Rebuild router identity if key length doesn't match setting. 2013-09-03 zzz * configui: Change pw restart warning to error so people dont miss it * Data: deprecate most of LeaseSetKeys * i2ptunnel: Reduce buffer size and use cache in HTTPServer * Jetty: Increase maxIdleTime * profiles: use different sort for floodfill profiles display * Utils: Consolidate maxMemory() calls 2013-08-31 zab * Streaming: Use only non-retransmitted packets when sampling RTT (Ticket 1007, RFC 6298) 2013-08-30 zzz * Addressbook: Don't write to log file on Android (ticket #859) * Addresses: Treat Teredo addresses 2001:0::/32 as local * Console: Display "accepting tunnels" instead of "rejecting tunnels" after 20 minutes (ticket #902) * i2psnark: Highlight table rows on hover * NTCP: Handle race where peer's NTCP address goes away * SSU, confignet: Add support for specifiying multiple addresses * SusiDNS: Don't require last subscription to be terminated by newline (ticket #1000) 2013-08-11 zzz * Jetty 7.6.12.v20130726 2013-08-11 kytv * Update Java Service Wrapper to v3.5.20 - Windows: Self-compiled with VS2010 in Windows 7. The icon has been changed from Tanuki's default to Itoopie. - Linux ARMv6: Compiled on a RaspberryPi using gcc 4.6.3-14+rpi1, Icedtea6 6b27-1.12.5-1+rpi1 and stripped - All other binaries are from the "community edition" deltapack offered by Tanuki. * Translations - French, Portugeuse, Russian, Spanish, and Turkish updates from Transifex - Start of Romanian translation from Transifex 2013-08-11 zab * Streaming: - reduce initial ack delay 2000->1000 - rework the logic of acking duplicate packets * 2013-08-10 0.9.7.1 released 2013-08-10 zzz * Prop from i2p.i2p.0971 * Update: - New update hosts, thanks Meeh and dg - Increase update-via-torrent to 30% 2013-07-30 zzz * i2psnark: Increase max piece size to 4 MB (ticket #993) * Tunnels: Extend local expiration of IB tunnels, to allow for more clock skew and not drop valid messages at their destination 2013-07-29 zzz * Signatures: - Prep for new signature algorithms; new SigType enum; Signature, SigningPublicKey, SigningPrivateKey store type - New Hash384 and Hash512 classes - Remove length field in SimpleDataStructure - New SU3File generator/verifier/extractor * GeoIPv6: Fix NPE (ticket #992) 2013-07-28 zzz * Addresses: Treat RFC 4193 addresses fc00::/7 as local * NetDB: Disable RI verifies for now 2013-07-26 zzz * Transports: - Fix IPv6-only option 2nd try - Treat RFC 4193 addresses fc00::/7 as local 2013-07-25 zzz * Transports: - Prefer IPv6 by default - Fix IPv6-only option - Don't try NTCP IPv6 addresses unless we have one - Fix non-%16 SSU padding; enable by default * Tunnels: - Make expl. default 3 hops (ticket #966) - Allow expl. fallback up to -2 hops 2013-07-24 zzz * GeoIP: Fix lookups, broken in IPv6 branch * UPnP: - main() tweaks for debugging - Fix for devices that return base URLs with trailing '/' (ticket #986) 2013-07-22 zzz * BuildReplyHandler: - Make non-static - Don't pollute Hash cache with build response record hashes - Use SimpleByteCache - cleanups * HashComparator: - Don't pollute Hash cache with hashes - cleanups 2013-07-21 zzz * I2CP: - Don't NPE when loglevel=warn - Don't enforce property length limits when inside router JVM * I2PSnark: Log uncaught error in ThreadedStarter to router log * I2PThread: Log uncaught error to wrapper log 2013-07-20 zzz Prop from i2p.i2p.zzz.ipv6: * Addresses: - blocklist 192.88.88.0/24 6to4 anycast - invalidate 2002::/16 - Strip scope from returned IPv6 addresses * Blocklist: - Add IPv6 in-memory single list - Limit in-memory single list size - Fix dup check in getAddresses() * CSFI: Pass TransportManager instead of CSFI to GetBidsJob; remove unused methods * Console: - Add IPv6 column on /peers - Other minor /peers cleanup * FloodfillPeerSelector, ProfileOrganizer: Use 8 bytes for IPv6 check * GeoIP: - Use cached IP in RouterAddresses - Use both NTCP and SSU addresses * GeoIPv6: - Handle gzipped input data in merge tool - Add script to generate compressed data - Add local additions - Add compressed data file, generated from Maxmind data fetched 2013-05-24 - Include data in installer and updater - Update Maxmind license info, now CC-SA 3.0 - Enable GeoIPv6 lookup in CSFI * NetDb: - Add floodfillEnabled() to NetworkDatabaseFacade so callers don't have to cast to FNDF, and Dummy NDF will work - Remove static FNDF.floodfillEnabled() * NTCP: - Move SSU address notification handling from CSFI to NTCPTransport - Drop NTCPAddress, just use RouterAddress - Drop _myAddress field, use super's currentAddress - Bad bind config not fatal - Fix publishing address when host specified but interface is not - Republish even if only changing cost * PacketPusher: Minor optimization * Peer tests: - Use only IPv4 peer for Alice and Bob in peer tests; Charlie may be an IPv6 peer. - Enforce IPv4 (Alice's) address inside PeerTest packet * RouterAddress and RouterInfo toString() cleanups; don't cache RI in _stringified * RouterAddress: - hashCode/equals tweaks - Add new constructor - Add add getHost() and deepEquals() - Compare host string, not IP, in equals() - Deprecate some setters - Add warning about setCost() - Change cost storage from int to short - Cost range checks * RouterContext: Fix disabling client manager with i2p.dummyClientFacade=true * SSU: - Change from single UDPEndpoint to a List of UDPEndpoints - Move (single) receive queue from UDPReceiver to PacketHandler - Multiple transmit queues (one for each UDPEndpoint/UDPSender), select queue in PacketPusher - Throw exception on UDPEndpoint.startup() failure - Remove all _external* fields; use _currentAddresses in super - Big rework of externalAddressReceived(), rebuildExternalAddress(), needsRebuild(), and replaceAddress() for multiple addresses and IPv6 - Add caching in UDPAddress - More IPv6 flavors of utility methods - Remove two-arg replaceAddress() - Fixes for i2np.udp.allowLocal, log tweaks, sender/receiver thread name tweaks - Handle IPv6 in too-close checks - IPv6 SSU MTU adjustments - Hash IPv6 addresses in IPThrottler * SSU Introduction: - Document that Alice-Bob RelayRequest/RelayResponse may be IPv4 or IPv6, but don't implement IPv6 yet. Changes required in IntroductionManager and PacketBuilder to send Alice's IPv4 address in the RelayRequest packet over IPv6, and to publish IPv6 introducer IPs. - Bob-Charlie RelayIntro must be IPv4 - Only offer/accept relay tags as Bob or Charlie if the Bob-Charlie session is IPv4 - Alice-Charlie communication must be IPv4 * SSUDemo: - Configuration fixes, delete RI on exit, log tweaks, cleanups - Use IPv6; don't use System properties - Adapt for NTCP testing too * Tests: - New buildTest and prepTest targets - Fix UDPEndpoint usage in unit tests: Restore receive(); Handle null UDPTransport - Fix UDPEndpointTestStandalone: init context; Add unit test buildPacket() method to PacketBuilder; Fix NPE in MessageHistory * Transports: - Add new TransportUtil for getting/setting IPv6 config - Prep for supporting multiple RouterAddresses per-transport - Prep for multiple address discovery - Fix multiple-detection code in externalAddressReceived() - Synchronize tracking of last IP/port - Don't accept IPv6 address changes from peers - Remove unused getLocalAddress() - Pkg private getLocalPort() - Start transports in a standard order to make testing easier - When transports learn of interface addresses before being started, save them and use them at startup - Pick SSU random port before startListening() and have the TransportManager pass it to NTCP before starting - Only restart NTCP after changing addresses when necessary; prevent thrashing at startup (ticket #459) - Always bind NTCP if we have port; not just when not firewalled - Only call rebuildRouterInfo() once at startup - More checking of min/max SSU port config - Invalid SSU bind config no longer fatal - Allow "true" for ipv6 config - SSU fixes for per-address and IPv6 MTU - MTU.main() print all interfaces - Add i2np.disable property for testing * Transports: - Sort multiple peer addresses by cost, with adjustment for local IPv6 preference - Add default IPv6Config for ease of changing later - Only treat IPv6 addresses as valid if we have a public IPv6 address * Tunnel GW pumper: Limit threads when testing * UDPAddress: - Reduce object churn, check intro key length, don't look for ihost3, reject ports < 1024, cleanups - Remove dependency in console; make package private * UPnP: - Fix UPnP address received before startListening(), broken by isAlive() check - Pass device IP back in forward port callback - Only declare success if forwarded IP is public 2013-07-20 zzz Prop from i2p.i2p.zzz.test2: * DHSessionKeyBuilder: Fix for session and mac keys if DH key is between 32 and 63 bytes. Was: NPE. Now: mac key is hash of session key. Won't ever happen. (Ticket #963) * I2CP/I2PTunnel locking fixes (partial fixes for tickets 650. 722, 815, 946, 947, 953): - I2PSocketManagerFactory: New createDisconnectedManager(), javadocs - I2PSessionImpl: Rewrite state management and locking, prevent multiple connect() calls, but allow disconnect() to interrupt connect() - I2PSimpleSession: Changes to match I2PSessionImpl - I2PTunnelServer: Don't connect in constructor, use createDisconnectedManager() for a final manager, finals and cleanups * ClientManager: - Make classes extensible for router-side test stubs - Add router-side local-only test implementation, no full router required. Only tested with external clients, probably doesn't work in-JVM. - Don't start threads in ClientManager constructor - Remove unused Reader param in ClientMessageEventListener methods - Cleanups, volatiles, finals, javadocs * Translations: - New varargs method in Translate - New TranslateReader to translate static files on-the-fly using _("") tagging - Tag proxy error pages for TranslateReader - Drop static translated proxy error pages - Add new i2ptunnel bundle for the proxy alone, shipped in the jar. - Use TranslateReader in HTTP proxy for error pages - Move HTTP proxy strings from the web (war) to proxy (jar) bundle so they will be loaded Fixes translations for the lower half of the proxy pages that weren't accessible in the war. - Initial translations created by msgmerge from i2ptunnel and routerconsole po files, un-fuzzied - Tag initialNews.xml for TranslateReader - Drop static translated initialNews pages - Add new routerconsole bundle for the news alone, shipped in the jar - Use TranslateReader in HTTP proxy for initial news - Initial translations created manually from translated xml filesx - Add translated proxy error pages and initial news to deletelist.txt * Transports: Consolidate translation methods in TransportImpl; ngettext fix for "peers" string 2013-07-19 zzz * PRNG: - Don't delay the refiller if we need more (don't limit max output) - Add FortunaRandomSource.main() to output to stdout for testing e.g. with dieharder 2013-07-19 zab * Streaming: - initialize streaming RTT from sample, trac #979, RFC 6298 - store rttDev in TCBCache * 2013-07-15 0.9.7 released 2013-07-11 kytv * Chinese, Russian, Spanish, and Turkish updates from Transifex * Update geoip.txt based on Maxmind GeoLite Country database from 2013-07-02 2013-07-11 str4d * susimail: Improvements to layout in mobile browsers 2013-07-06 zzz * TunnelPool: Don't reuse peers for exploratory tunnels 2013-07-04 zzz * Streaming: - Don't stop timers when session disconnects (tickets #644, #810) - Throw exception on attempt to use destroyed socket manager 2013-07-03 zzz * Console: Hide dead tunnel pools on /tunnels * Updater: Fix plugin update checker (ticket #897) * Utils: Reduce logging in wrapper log when extracting zip files 2013-06-30 zzz * BuildHandler: Drop build request with bad flags 2013-06-28 zzz * i2psnark: - Show more metadata on details page - Fix rar icon - More URL escaping 2013-06-23 zzz * i2psnark: When receiving a metainfo via magnet and saving it to disk, preserve all non-standard fields (such as those created by Robert) so the infohash doesn't change on restart and split the swarm. 2013-06-22 zzz * SSU: - Pad messages with random data instead of zeros - Implement non-mod-16 padding, disabled for now 2013-06-22 meeh * I2PTunnel: Change connect proxy default to outproxy-tor.meeh.i2p after h2ik's AWOL 2013-06-21 zzz * Crypto: AES decrypt speedups * NetDB, i2psnark: Speed up XORComparators * SSU: Ignore non-mod-16 padding 2013-06-20 zzz * i2psnark: Show start-all button even if tunnel is open, if at least one torrent is stopped (ticket #808) 2013-06-17 zzz * Console: Don't display 'unsupported' message when restart button clicked * I2CP: Don't send SendMessageEndMessages from client to router if in fast receive mode and the router doesn't require them. * NetDB: - Don't instantiate unused success job for republish LS - Add debug setting to encrypt RI lookups * NTCP: Extend interval for sending time sync messages * SusiMail: Fix classpath problem when started manually (ticket #957) 2013-06-14 zzz * I2CP: Fix deserialization of new RVLSM; enable by default * i2psnark: Fix bug creating torrent with a single file in a directory 2013-06-12 zzz * Console: Add missing jetty jars to classpath (ticket #952) * I2PTunnel: Add advanced quantity options 2013-06-10 kytv * Translations (from Transifex) - Start of Turkish language translation - Update to French translation 2013-06-10 zzz * Installer: Don't install Windows service by default * NetDB: Let class N routers become floodfill; scale max connections for non-O floodfills * Transports: Reduce idle timeouts to mitigate conn limit issues 2013-06-09 zzz * NetDB: Prep for leasesets with different expire times - Add new I2CP RequestVariableLeaseSetMessage - Send RVLSM if client supports it; handle on client side; disabled by default for the moment. - Add LeaseSet.getLatestLeaseDate() - Check latest, not earliest, date too far in future in KNDF.validate() - Check latest date too far in past in KNDF.validate() - Only check gateway and tunnel ID for equality in OCMOSJ lease caching to reduce churn - Split up KNDF.validate(RI) for efficiency, don't need to check signature, netid, etc. before lookups, only on store - Remove enforeNetID config - Fix major bug causing newer leasesets to be treated as older, and not stored or published - Increase max adjustment time of earliest lease - TransientDataStore cleanups - RouterInfo and LeaseSet equals() speedups 2013-06-07 zzz * BlockfileNamingService: - Fix bug that kept reverse index from being updated - Bump DB version to 3 to trigger repopulation of the reverse index - Make metaindex final - Add freelist check to the main() test 2013-06-06 zzz * BuildRequestRecord: Don't waste entropy on bytes we will overwrite 2013-06-05 zzz * DatabaseLookupMessage: Change format for encrypted reply request to allow multiple bundled reply tags * I2CP: Save client version for future reference * InboundMessageDistributor: Cleanups * LeaseSet: Don't allow changes after signature added * NetDB: - Debugging option for encrypting RI lookups - Remove unused classes 2013-06-01 zzz * EepGet: Used cached byte array in uncompressor * i2psnark: - Add idle detector, reduce tunnel count when idle (prep for torrent updates) - Cancel CoordinatorAcceptor cleaner when halted - Make PeerCoordinatorSet an Iterable - Reduce max protocol errors to 1 - Disable unused PeerMonitorTask 2013-05-31 zzz * configtunnels.jsp: Allow more hops and tunnels when routerconsole.advanced=true * i2psnark: Fix details page on Windows * NetDB: - Add DLM fields for requesting an encrypted reply - Add support for encrypted DSRM and DSM in response to a DLM - Fix netDb.alwaysQuery debug setting so it works again, and always sends to that router first (move from FNDF to IterativeSearchJob) * 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 2013-05-30 kytv * Update Java Service Wrapper to v3.5.19 - Windows: Self-compiled with VS2010 in Windows 7. The icon has been changed from Tanuki's default to Itoopie. - Linux ARMv6: Compiled on a RaspberryPi using gcc 4.6.3-14+rpi1, Icedtea6 6b27-1.12.5-1+rpi1 and stripped - All other binaries are from the "community edition" deltapack offered by Tanuki. * Allow themes to be used in IE >= 10 2013-05-29 zzz * Console: Remove I2PDigestAuthenticator workaround, as Jetty 7.6.11 has the fix * i2ptunnel: Default to 3 hops (ticket #936) * Jetty 7.6.11 * Tomcat 6.0.37 * 2013-05-28 0.9.6 released 2013-05-24 kytv * Update geoip.txt based on Maxmind GeoLite Country database from 2013-05-08 2013-05-13 kytv * Misc. fixes to i2prouter script * German translation updates from Transifex 2013-05-13 zzz * i2psnark: - Adjust target piece size calculation - Tweak to make it easier for new peers to connect * NetDB: Increase floodfill count for good * UPnP: Detect devices without port forwarding capability (ticket #930) 2013-05-07 zzz * Streaming: Chain stored IOE to get correct location 2013-05-06 zzz * Console: Fix Jetty thread pool policy and thread name * Transports: Clean up internal/external port confusion (ticket #873) - Bind SSU to configured internal, not external, port at startup - Use only internal ports for UPnP (getRequestedPort() fixups) - Don't have NTCP follow frequent SSU port changes - Don't use external SSU port for internal NTCP port - Display internal SSU port on /confignet 2013-05-01 zzz * BuildRequestor: Slow down build loop if we have no exploratory tunnels (ticket #926) * IRC Server tunnel: Reject bad protocols immediately 2013-04-30 str4d * Console: Updates to readme_ar and a CSS tweak from hamada (ticket #489) 2013-04-29 zzz * Transports: - Initial prep for multiple addresses per style - Simplify NTCP send pool 2013-04-28 zzz * i2psnark: - Improve page nav - Ensure current stats and correct event delivered in announce - Only show lower section on first page - Dir page CSS tweaks - Parameter fixes - Support HTTP request ranges 2013-04-26 zzz * Console: Show log location on /logs even if not opened yet (ticket #905) * HTTP proxy: Verify nonce count in digest auth * i2psnark: Use smaller piece size for small torrents * installer: Fix DOS line endings on misc. files (ticket #872) * Plugins: Track pending plugin clients better, don't hold references, start delayed clients from SimpleTimer2 instead of Job queue (ticket #670) * SusiDNS: - Trim and sort config form data - Fix DOS line endings on config files in Linux (ticket #872) 2013-04-25 kytv * Portuguese, Russian, Spanish, and Swedish translation updates from Transifex 2013-04-25 str4d * i2ptunnel: Allow the "AUTHENTICATE" command in IRC tunnels to enable SASL authentication (ticket #904) 2013-04-24 zzz * Console, i2ptunnel: Don't register shutdown hook if ClientAppManager is present * JettyStart: Fixes for use by plugins * RouterAppManager: Add shutdown hook 2013-04-23 zzz * Console: Fix Jetty digest auth bug causing repeated password requests * i2ptunnel: Block b32.i2p supercookies 2013-04-21 zzz * AppManager: Add HTML debug output * Installer: Fix installations to a different drive on Windows (prop from i2p.i2p.zzz.winfix095; ticket #912) * Streaming: Pcap window size fixes 2013-04-21 str4d * i2ptunnel: Return "Invalid Request URI" instead of "Non-HTTP Protocol" for URIs with illegal characters (ticket #891) 2013-04-19 kytv * Installer: Run fixperms.bat under any version of Windows that's not XP or 2003 to ensure it's run under Vista, 7, 8, and the upcoming "Blue" 2013-04-19 zzz * AppManager: Register jetty, console, and SAM with manager * i2psnark: Disable spellcheck in more form fields * LogManager: Add support for saving properties added in recent releases * Updates: - Notify manager about all available update methods at once, so the priority system works and it doesn't only update via HTTP - Start router update download at startup if available - Only check plugins when core version increases, not decreases, so we don't update plugins when downgrading - Limit length of URL shown on summary bar * WorkingDir: Correctly strip DOS line endings while migrating, to fix eepsite location on 0.9.5 Windows installs (ticket #919) 2013-04-18 zzz * i2psnark: Fix params after P-R-G * i2ptunnel: Set target=_top in all external links to break out of console iframe * SusiMail: Fix loading of Jetty classes 2013-04-17 zzz * Console: Better handling of missing font for graphing (ticket #915) * Eepsite: Fix jetty.xml configuration of ThreadPool * i2ptunnel: Fix default form action (ticket #882) * SusiDNS: Set target=_top in all external links to break out of console iframe * Systray: Better detection of 64-bit Windows (tickets #756, #912) 2013-04-16 zzz * ClientAppManager: Add method to look up clients by class and args * Console: Implement stopping of clients using the ClientApp interface (ticket #347) * SAM: Implement ClientApp interface (ticket #347) 2013-04-15 zzz * Console: Move from deprecated Jetty SSL methods to SslContextFactory * i2psnark: - Add data directory configuration to GUI (ticket #768) - Add page size configuration to GUI - Multiple instance DHT file cleanup - Mime type fixes - Remove web classes from jar 2013-04-14 zzz * i2psnark: - Set unique tunnel nickname for additional instances - Increase page size to 50 * Jetty logging: Fix logging using I2PLogger class; log ignored messages at debug level 2013-04-13 zzz * Console: Add /graph support for bw.combined, consolidate rendering code (ticket #890) * i2psnark: - Limit number of torrents displayed; add previous/next page buttons - Only register one instance with UpdateManager 2013-04-10 zzz * Jetty: Upgrade to Jetty 7.6.10.v20130312 - Jetty build.xml improvements - MigrateJetty improvements - Lots of changes in RouterConsoleRunner and WebApp classes - Lots of eepsite config file changes - Changes to I2PLogger and I2PRequestLog - Use JettyStart class to start Jetty from clients.config * i2psnark: Eliminate Jetty dependencies in i2psnark for good. Required due to webapp classloader changes in Jetty 7, we can no longer access or extend Jetty classes. - Extend javax HttpServlet instead of Jetty's DefaultServlet - Implement BasicServlet to replace functions of DefaultServlet - Add MimeTypes implementation to add to servlet's defaults - Add local mime.properties file, remove checks in I2PSnarkServlet for those we were missing - Eliminate all use of Jetty utility classes including MimeType, Resource, Buffer, Cache, URIUtil, ... - Use servlet path everywhere, so the war can be renamed - Use servlet path as base for config file and data directory names, so we may have multiple instances running together - Don't override service(), use doGet() and doPost() instead * I2NP: Ignore unused 7 bits of the Database Lookup Message, so we can use them later * 2013-03-08 0.9.5 released 2013-03-03 zzz * graphs.jsp: Fix saving settings (ticket #857) 2013-03-03 kytv * Update geoip.txt based on Maxmind GeoLite Country database from 2013-02-19 2013-02-22 kytv * French, German, Norwegian, and Portuguese translation updates from transifex. 2013-02-13 kytv * Flag for Curaçao (CW), public domain 2013-02-12 zzz * NetDB: Randomize delay before floodfill store verify 2013-02-10 zzz * Logs: Again fix setting log filename (ticket #805) * Update: Bump torrent update to 3% of routers * Wrapper: Update ARMv6 Java Service Wrapper to v3.5.17 (ticket #826). 2013-02-09 zzz * NetDB: - Encrypt DatabaseLookup messages out exploratory tunnels when we already have the RI of the ff - Don't use multiple routers from the same /16 in lookups or stores 2013-02-06 kytv * German, Polish, Portuguese, Spanish, and Swedish translation updates from Transifex 2013-02-04 str4d * i2ptunnel: - IP -> domain name mapping in SOCKS client tunnel: - Change SOCKS5 addressType on a successful mapping - Allow any domain name to be mapped, not just .i2p 2013-01-31 kytv * Add Norwegian Bokmål language to the router console * Add Bokmål translations from Transifex 2013-01-31 zzz * EepGet: - Fix URL when not proxied to conform to RFC 2616 - Add port to Host header to conform to RFC 2616 2013-01-29 zzz * Console: Catch IllegalStateException storing nonces (tickets #836, #852, #858) * Translations: - Use JVM language name if available - Correct Estonian language code from ee to et 2013-01-27 zzz * BuildHandler: - Add early throttler based on previous hop - Limit concurrent next-hop lookups * NetDB: Increase floodfills again * RandomSource: Seed from SecureRandom too 2013-01-23 str4d * i2ptunnel: Added IP -> I2P URL mapping to SOCKS client tunnel (via custom option ipmapping.IP=URL) 2013-01-21 str4d * Console: - Added option to /configui to force the mobile console to be used (for cases where the UserAgent matching fails) - Added Opera Mobile to list of mobile UserAgents - Added a link to the summary bar for mobile users on /home 2013-01-19 str4d * Console: - Added proper support for mobile browsers with a CSS override file for each theme - Tweaked UserAgent detection so Android tablets get normal console 2013-01-17 kytv * Hungrarian, Italian, Portuguese, Russian, and Swedish translation updates from Transifex 2013-01-12 zzz * EepGet: Don't retry if proxy isn't there * I2CP: Failsafe check for delivery job requeueing forever (ticket #819) * jobs.jsp: Add table of pending jobs * NetDB: Split up files into subdirectories * SAM: Force i2cp.messageReliability=None (ticket #819) 2013-01-02 zzz * DataHelper: new getASCII() method * DataStructures: - Convert SessionTag.hashCode() to SipHash to prevent collision attacks - Improve equals() * I2CP: - Remove unused equals() methods for message classes - Remove static logs - Fix leak if nonce = 0 but reliability != none (ticket #819) - More work on failure codes (ticket #788) * Logs: Fix setting log filename (ticket #805) * SAM: Synchronize dissector * Transport: Fix early NPE (ticket #824) 2013-01-01 kytv * Update Java Service Wrapper to v3.5.17 (ticket #826). - Windows: Self-compiled with VS2010 in Windows 7. The icon has been changed from Tanuki's default to Itoopie. - FreeBSD: Self-compiled in FreeBSD 7.4 to eliminate the dependency on the compat6x port. - Linux x86, Linux x64, Linux ARMv5, Linux-PPC32, MacOSX & Solaris: Binaries are from the "community edition" deltapack offered by Tanuki. The Linux binaries have been stripped. 2012-12-29 zzz * i2psnark: Redirect after post * Javadocs: Fix javax links * Tunnels: Handle duplicate tunnel IDs (ticket #812) 2012-12-26 zzz * I2CP: - Prep for delivery of detailed failure codes to the client (ticket #788) - Minor optimizations and cleanups * i2psnark: Create torrent form tweaks * NetDB: Split routerInfo files into subdirectories, disabled for now, enable with router.networkDatabase.flat=false * Stats: Clean up some duplicate createRateStat calls (ticket #787 comment 2) * Tunnels: Catch rare BuildExecutor IAE only in Java 7 (ticket #811) 2012-12-24 kytv * Javadocs: Fix javadoc errors in the cybergarage package. Upstream bug #3598391 has been filed for this issue. If these javadoc fixes need to be reverted in the future, MTN rev 5bdb7fc27e35f174001bd6105a502fd5094842e5 covers it. 2012-12-22 zzz * i2psnark: Add announce list support (BEP 12) (ticket #778) * i2ptunnel: Add more tunnel quantity options for servers * Jetty: Update to Apache Tomcat 6.0.36 2012-12-22 kytv * French language translation update from Transifex 2012-12-19 zzz * Update: Hide the update buttons when router.updateDisabled=true, as is the case for Debian packages. Broken in 0.9.4. (Ticket #817) * 2012-12-17 0.9.4 released 2012-12-14 kytv * German and Swedish translation updates from Transifex * Update geoip.txt based on Maxmind GeoLite Country database from 2012-12-04 2012-12-11 zzz * Wrapper: Use Tanuki's binary for armv7 2012-12-08 zzz * susimail: Button CSS tweak 2012-12-07 zzz * RouterClock: Reduce log level (ticket #790) 2012-12-05 zzz * GarlicMessage: Fix notes and log in GarlicMessageHandler and HandleGarlicMessageJob, they are used for netdb messages received by floodfills http://zzz.i2p/topics/1282 * I2CP: Fix external I2CP apps, including i2ping, caused by 0 nonce value, broken in 0.9.2 (tickets #799, #801). Allow nonces == 0. * Reseed: Don't go on to the next host if we have enough http://zzz.i2p/topics/1287 * SSU: Fix rare NPE (ticket #798) 2012-11-28 kytv * Chinese, French, Italian, Polish, and Ukrainian translation updates from Transifex. 2012-11-24 zzz * Addressbook: Disable unused wakeup via http * Codel: Make stats non-required (ticket #786) * Profiles: Small optimization in coalesceOnly() (ticket #765) 2012-11-21 zzz * Wrapper: Add armv6 files for Raspberry Pi 2012-11-21 kytv * Update Java Service Wrapper to v3.5.16. - Windows: Self-compiled with VS2010 in Windows 7. The icon has been changed from Tanuki's default to Itoopie. - FreeBSD: Self-compiled in FreeBSD 7.4 to eliminate the dependency on the compat6x port. - Linux PPC32: Self-compiled in Debian Squeeze - Linux x86, Linux x64, Linux ARMv5, MacOSX & Solaris: Binares are from the "community edition" deltapack offered by Tanuki. The Linux binaries have been stripped. 2012-11-20 zzz * Transport: Fix bug that inadvertently reduced default max SSU connections in 0.9.2, thus reducing tunnel build success rates 2012-11-19 kytv * Add support for kFreeBSD to NBI and CPUID * Improve kFreeBSD support in jcupid/jbigi scripts 2012-11-19 zzz * BuildHandler: Disable CoDel, wasn't helping * NetDB: Add negative lookup cache * Profiles: Split up files into subdirectories 2012-11-17 zzz * error500.jsp: Add servlet version * i2psnark: Clear PEX peers set after use, cause of bad peer counts * Tunnels: Set default priorities for tunnels (ticket #719) 2012-11-16 zzz * i2psnark: Fix rare IOOBE (ticket #777) * NetDB: - Implement automatic reseeding (ticket #521) - Increase minimum routers - Log reseeds in event log * Tunnels: Fix outbound tunnel message priority (ticket #719) 2012-11-13 zzz * Bandwidth Limiter: Fix stats broken in -1 * HTTP Proxy: Store referrer of new addresses in address book * NTCP: - Fix NPE (ticket #770) - Use ByteCache for buffers * SOCKS: Reduce log level of connect errors * SSU: Fix bug that would drop 512 byte messages * stats.jsp: Link to graph page, not single image 2012-11-10 kytv * eepget: Add logic to figure out the path to java.exe (java isn't always added to the system path in Windows) (ticket #769) 2012-11-05 zzz * Console: - Fix NPE after restart (ticket #763) - Move more nonces out of system properties * i2psnark: - More DHT limits - Announce to backup trackers if DHT is empty - Use PEX and DHT info in torrent peer count - Don't use temp files for announces * PeerManager: Don't reorganize as often if it takes too long (ticket #765) * RequestLeaseSetJob: Only disconnect client after multiple dropped lease set requests; reduce timeout, other cleanups * Unsigned Update: Fix notification on failure 2012-11-02 kytv * German, Portuguese, and Swedish translation updates from Transifex * Refreshed English po files to push to TX. 2012-11-02 zzz * configstats: Fix group sorting, translate groups * I2CP: - Better fix for logging dropped messages (ticket #758) - Implement fast receive to reduce per-message handshakes - Make messageReliability=none the default * i2psnark: - Split buckets correctly - More exploration fixes * i2ptunnel: - Better privkey backup file name - Revert increment of privkey tunnel name - Move deleted privkeys to backup dir - Fix jsp build dependencies - Fix layout issue on Chrome (ticket #757) * KeyManager: Eliminate races, buffer I/O, eliminate periodic syncing 2012-10-31 zzz * FIFOBandwidthRefiller: Reduce refill interval to smooth output * I2CP: Reduce log level when outbound queue is full (ticket #758) * i2ptunnel: Fix NPE in zzzot plugin * PriBlockingQueue: Enforce max size * Streaming: New disableRejectLogging option (default false), enable for snark 2012-10-30 zzz * i2psnark: - Add kbucket debugging - Eliminate redundant explore keys - Add more limits to DHT tracker - Delay expiration at startup - Only enable updates for dev builds and 1% of release builds * i2ptunnel: - Create backup privkey files (ticket #752) - Fix NPE in Android startup * Installer: Drop news.xml and old certs * logs.jsp: - Don't display dup message if last - Spacing tweaks * OutNetMessage: Properly clean up when dropped by codel (but unused for now since codel is disabled for ONM) * SSU: - Adjust RTT/RTO calculations - Better bandwidth tracking - Cleanup of OutboundMessageState - Stat tweaks * StatisticsManager: Publish stats less often * Transports: Increase min peer port to 1024 * Tunnels: Implement per-client outbound tunnel message priority (ticket #719) * Update Manager: Warn on dup registration 2012-10-30 sponge * cleanups as requested 2012-10-28 zzz * Addresses: - Add methods for connectivity detection - Remove Hamachi restriction * Banlist: renamed * Clients: New interface for clients started via clients.config, and a new manager to track the lifecycle and start/stop clients on demand. (ticket #347) * Console: - Add console password form to configui.jsp - Consolidate all the jsp formhandler boilerplate in the new formhandler.jsi - Store form handler nonces in the servlet session instead of system properties, to prevent cross-session interference - Bypass nonces if console password enabled - Remove ports from port mapper on shutdown, other changes to track actual ports better (ticket #731) - Prep for RouterApp interface by storing context in a field, shuffle around what's static and what's not (ticket #347) - Convert to RouterApp interface - Convert from basic to digest authentication (ticket #652) - Use new password manager (ticket #731) * Core: New password manager for storing passwords in router.config in consistent ways, including salting and hashing if possible. (ticket #731) * i2ptunnel: - Convert HTTP and CONNECT proxies from basic to digest authentication - Bypass nonces if console password enabled - Convert to ClientApp interface - Synchronization improvements * Streaming: Add pcap debug facility, from i2p.i2p.zzz.pcap * Transport: - Add a simple network monitor - Add new reachability state for network disconnected - Prevent any tunnel building when disconnected (ticket #519) - Don't unleash watchdog when disconnected - Split up NTCPConnection's single _bwRequests Set into inbound and outbound, make FIFOBandwithLimiter.Request unidirectional (ticket #719) * Update: Major redesign of the update facilities: - Generic interfaces for updating and checking things - Allow checkers and updaters outside router context - Hide update buttons after downloading update (ticket #484) - Add update-via-i2psnark facility - Don't hold references to updaters after completion * 2012-10-27 0.9.3 released 2012-10-25 zzz * BuildHandler: Fix "too slow" rejections due to internal clock skew 2012-10-24 zzz * I2PSnark: - Fix several partial piece (temp file) leaks - Don't lose all DHT peers if we stop quickly - Explore a kbucket if it's less than 3/4 full 2012-10-24 str4d * i2ptunnel: Truncate long client destinations (ticket #581) 2012-10-21 zzz * Watchdog: Don't dump threads too often (ticket #519) 2012-10-20 zzz * Transport: Back out CoDel for SSU PeerState and NTCP 2012-10-19 zzz * UDP: Fix peer test NPE (ticket # 748) 2012-10-18 kytv * Portuguese and Spanish updates from Transifex * Update geoip.txt based on Maxmind GeoLite Country database from 2012-10-02 2012-10-15 kytv * Italian and Swedish updates from Transifex 2012-10-14 zzz * Console: Use non-nio connector for Java 5 and JamVM/gij (tickets #715 and #743) * i2psnark: Fix request tracking bug preventing piece requests 2012-10-11 kytv * Italian translation updates from Transifex * i2prouter: - Support for installing as a daemon with systemd on Arch Linux and Suse - Support installing as a daemon on Slackware 2012-10-10 zzz * ShellCommand: Fix launching all browsers at startup (ticket #453) * stats.jsp: Sort groups by translated name 2012-10-09 zzz * Console, i2ptunnel: Warn on low ports * EventLog: Add more events * NetDB: Increase floodfills again * RouterInfo: Exit 1 on error in main() * SSU: - Add peer test throttling - Peer test packet count fixes - Adjust peer test timeouts and add backoff - Reject relays and peer tests from same /16 - More peer test cleanup and log tweaks * Transports: - Enforce minimum peer port - Warn on low router ports 2012-10-08 zzz * SSU: - Fix relay request handling bug from -10 - Fix peer test reply handling bug from -10 - Fix NPE from -6 2012-10-07 zzz * I2PAppContext: Improved synching in constructor * i2ptunnel: - Set default read timeout in standard server - Reduce header timeout, enforce total header timeout in IRC and HTTP servers (ticket #723) * Logs: - Flush buffers in logs.jsp - Add dup message to buffers, was in file only * Streaming: Don't ignore option or force connect timeout to 5 minutes * UPnP: Workaround NPE (ticket #728) 2012-10-06 zzz * configlogging.jsp: Fix IAE * error500.jsp: Fix whitespace * i2psnark: - Add allocating and checking indications (ticket #695) - Add bandwidth message at startup - More checks at torrent creation * SSU: - Throttle outbound destroys on shutdown - Limit outbound introduction offers - Validate port/IP in received peer tests 2012-10-05 zzz * configservice.jsp: Add GC button * DataHelper: Sanity checks in storeProps(), use storeProps() for router config again * SSU: - More synchronization fixes - Reduce chance of dup acks in a single message - Reduce max unsent acks to 50 - Use last ack time in ping decision too - Reduce ack delay * TunnelPoolManager: Fix early NPE (ticket #724) 2012-10-03 zzz * NTCP: Reduce conLock contention * SSU: - Increase max outbound establishments based on bandwidth - Synchronization fix for Java 5 - Use multiple buffer sizes in OutboundMessageState to reduce memory usage - Adjust skew calculation, synchronize too - Ping loop improvements 2012-10-02 zzz * I2CP: Delay after sending disconnect message to help it get through * i2psnark: Fix delete download message * i2ptunnel: Fix log message * NTCP: Only set keepalive if firewalled * OOMListener: Dump threads on OOM * PRNG, LogWriter: Use I2PThread to catch OOM * SimpleByteCache: Fix ABQ/LBQ selection * SSU: - Fix memory leak in _peersByRemoteHost map caused by not removing peers that change IP or port - Send keepalives if firewalled - Handle peers that change ports on an established session - Synchronize adds and drops - Don't use peers with high RTTs in clock skew calculation - Reduce initial RTT/RTO 2012-09-28 zzz * i2psnark: - Fix bugs in rarest-first tracking - Fix requesting of partial piece when there are multiple seeds - Synch fix in BitField * i2ptunnel: Fix wrong server IP in log message * peers.jsp: Remove SSU "Dev" column * SessionKeyManager: Store original tagset size for debugging * Streaming: Don't send RST on globally-blackisted conns 2012-09-26 zzz * Addresses: Reject numeric IPs of the form n, n.n, and n.n.n * Console, i2ptunnel: More validation of address and port in forms * ConvertToHash: - Add support for b64hash.i2p - Cleanup and use cache * i2psnark: Enable DHT by default * RFC822Date: Synchronization fix * Streaming: - Implement changing connection limits on a running session - Implement global blacklist 2012-09-25 zzz * Context: Make files final * EventLog: Fix IAE on portable * Jetty: Add non-NIO selector option (ticket #715) * OutboundEstablishState: Cleanup (ticket #671) * SimpleByteCache: Concurrent fix * UPnP: Cleanup & final * URLLauncher: Add xdg-open (ticket #717) 2012-09-21 zzz * BuildHandler: Use CoDel for inbound queue * ByteCache: - Prevent release of wrong size - Move all 16/32 byte users to SimpleByteCache - Increase SimpleByteCache default size. * ClientConnectionRunner: - Run HandleJob and MessageReceivedJob inline for speed - Remove payload from message map if availability announce fails - Cleanups * ClientManager: - Concurrent client map for faster lookup - Add by-hash client map for faster lookup by hash * ClientWriterRunner: Limit queue size * Clock: Synchronization, log large shifts to event log * Console: Mark all restarts on graphs using the event log. * FortunaRandomSource: - Fix bug that wasted entropy in nextInt() - Improved synchronization * GarlicMessage: - Add notes about GarlicMessageHandler and HandleGarlicMessageJob being unused in practice * I2CP: - Limit router/client queue sizes and queue wait times - Buffer output streams * i2psnark: - Implement blacklist for unreachable DHT peers - Reduce threshold for unreachable - Use ByteCache for chunks in/out * IP Lookup: - Add caching in RouterAddress with secondary caching in Addresses; use caches to speed up transport bids, blocklist checks, geoip lookups, and profile organizer checks (ticket #707) - Limit IP cache size in TransportImpl - Clear caches at shutdown * JobQueue: Reduce lock contention * LHMCache: New util, replacing several private versions * LogWriter: - Duplicate log message removal - Increase buffer time * NTCP: Move NTCPConnection outbound queue to CoDelPriority * OutNetMessage: - Centralize priority definitions - Raise netdb store and reply priority * Router: - Boost priority of shutdown thread - Replace ident log with new, general-purpose event log; use for stops, starts, and updates, and others. - New AQM CoDel queue utilities - Startup/shutdown synchronization fixes * RouterAddress: Remove unused expiration field to save space * SimpleTimer (ticket #653): - Move all remaining uses to SimpleTimer2 - Deprecate * SSU: - Move MessageReceiver, UDPSender and UDPReceiver queues to CoDel - Separate PeerState outbound message list into a queue for unsent messages and a list for sent messages awaiting ack - Implement PeerState outbound queue as CoDelPriority - Implement backlogged indication like in NTCP - Increase initial and max RTO - Don't count ack-only packets in bandwidth allocation * Streaming: Don't send a RST to an hour/day limited peer, or blacklisted, or non-whitelisted, to not waste outbound bandwidth * SystemVersion: New util, to consolidate duplicate code, and determine Java version on Android * TunnelGateway: - Refactor TunnelGateway.Pending to its own file PendingGatewayMesasge - Move OBGW queue to CoDelPriority - Move IBGW queue to CoDel - Limit queue sizes - Add stat for overflow - Remove some stats - Change pumper to LinkedHashSet for efficiency (like NTCP Reader/Writer) - Limit messages pumped per cycle to increase round-robin fairness - Implement pushback from a backlogged transport queue to the pre-fragmentation queue - Comment out some unused code * 2012-09-21 0.9.2 released 2012-09-15 zzz * Build: Fix unpack problem on Java 5: http://forum.i2p/viewtopic.php?t=7334 2012-09-14 zzz * SSU: Fix shutdown NPE (ticket #709) 2012-09-13 kytv * Update geoip.txt based on Maxmind GeoLite Country database from 2012-09-05 2012-09-12 kytv * Czech translation updates from Transifex 2012-09-10 meeh * Added fix for startup issues on newer versions of launchd (osx startup scripts) 2012-09-05 meeh * Added startup scripts for osx 2012-09-04 zzz * I2PTunnelServer: Clean shutdown after session exception * OutNetMessage: Speedup after profiling (ticket #707 - thx dg, kytv, zab) * SSU: Fix some issues with queueing outbound establishments 2012-08-31 zzz * i2psnark: Remove * from magnet and download names * Router: Lengthen shutdown spinner life * Startup: Don't complain about clients.config missing on Android 2012-08-29 zzz * ClientManager: Cleanups * i2psnark: - Fix NPE on destroy() if init() failed - Add new flood-resistant KBucket trim policy - Limit received MsgID size * NTCP: Reduce lock contention (ticket #697) * RandomIterator: Workaround for Android bug (ticket #703) 2012-08-27 zzz * i2psnark: - Notify threads awaiting DHT replies at shutdown - Fix cases where we weren't using the session for b32 lookup * Reseed: Remove forum.i2p2.de * Streaming: Limit amount of slow-start exponential growth * SSU: - Limit UDPSender queue size - Increase UDPSender max packet lifetime - Clear UDPSender queue before sending destroys to all - Increase PeerState queue size so large streaming windows don't get dropped right away, especially at slow start - Various improvements on iterating over pending outbound messages in PeerState * Wrapper: Update armv7 to 3.5.15 2012-08-27 kytv * Update Java Service Wrapper to v3.5.15. - Windows: Self-compiled with VS2010 in Windows 7. The icon has been changed from Tanuki's default to Itoopie. - FreeBSD: Self-compiled in FreeBSD 7.4 to eliminate the dependency on the compat6x port. - Linux ARMv5, Linux PPC32: Self-compiled in Debian Squeeze - Linux x86, Linux x64, MacOSX & Solaris: Binares are from the "community edition" deltapack offered by Tanuki. The x86 and x64 binaries for Linux have been stripped. 2012-08-26 zzz * DataHelper: Trim trailing whitespace when loading properties * NetDB: Increase floodfills, decrease flood redundancy * SendMessageOptions: Increase tag fields to 4 bits and use table lookup for more flexibility * Streaming: Use packet type and current window size to adjust number of tags sent and tag threshold, to improve efficiency and reliability 2012-08-25 kytv * Dutch and German translation updates from Transifex * Router console typo fixes (#701) 2012-08-25 zzz * SDSCache: Reduce min and increase max size * SimpleByteCache: Change from LBQ to ABQ to reduce object churn * Other object churn cleanups (ticket #699) 2012-08-24 zzz * I2CP: - Add methods for sending a message with extended options - Fix cases where the efficient sendNoEffort() wasn't being used * i2psnark: - Use extended I2CP options for datagrams - Fix timeout for sent datagrams - Add link for local torrent file on details page - Show totals line even if only one torrent - Reduce token timeout - Check token age before use - Limit incoming token size * OCMOSJ: - Implement per-message overrides for tag threshold, tags to send, and bundle leaseset - Fix bug adjusting timeouts - Warn on client expiration time bugs 2012-08-23 zzz * Crypto: Rename bouncycastle HMAC libs so they don't conflict with older Android versions which bundle them * NTCP: Reduce lock contention (ticket #697) * SSU: - Don't relay or introduce to/from privileged ports - Various spoof detections 2012-08-22 zzz * NetDB: Add hash collision detection * SimpleTimer2: Synchronization improvements (ticket #653) * SSU: - Fail establishment immediately on SessionCreated validation fail - Defer outbound DH generation until required - Validate address/port in RelayIntro messages - Throttle hole punches - Workaround for Android ICS bug - More cleanups 2012-08-21 zzz * NetDB: Decrease stat publish probability * SSU: - Use external, not internal port to sign SessionCreated message. Together with previous fix to allow external port change, this should fix session establish fails when NAT changes our port - Track outbound establishments by both Hash and IP/port, to improve lookups of establishments in progress - Fix expiration of outbound establishments - Validate address/port in RelayResponse messages - Change RemoteHostID to store Hash instead of byte[] for the peer hash - Log tweaks 2012-08-20 zzz * I2CP: MessageStatus cleanup * i2psnark: Add minimum tracker and DHT announce intervals * I2PTunnelRunner: Remove unnecessary lock (ticket #690) * SSU: Allow port change if firewalled * Streaming: Increase max connection timeout * UPnP: - Prep for UPnP returning different external port - Better logging of errors 2012-08-18 kytv * Fix hang during uninstallation experienced by some users in Windows 2012-08-17 zzz * i2psnark: - Adjust DHT timeouts - Add max peers per-torrent in tracker - Remove duplicate clean task for nodes - Fix another DHT warning message * SSU: - Use remote MTU when published (ticket #682) - Queue outbound msgs during inbound establish - IntroManager cleanups - More synchronization 2012-08-17 sponge * BOB: just some cleanup of old, dead meaningless commentedout code and a little reformatting. 2012-08-16 zzz * Utils: Drop unused BufferedRandomSource, PooledRandomSource, EepGetScheduler, EepPost and HTTPSendData, moved to i2p.scripts 2012-08-15 zzz * i2psnark: - Fix bug preventing completion announcement, broken in 0.9.1 - Fix setting short retry time after initial announce failure - Fix DHT announce and getPeers - Fix DHT warning message * UPnP: Update to CyberLink 2.1 (ticket #427, possibly others) 2012-08-13 zzz * SSU EstablishmentManager: - Remove use of outbound timers in EstablishmentManager; drive all events in Establisher thread - Don't change nonces when retransmitting intro packets - More synchronization in EstablishmentManager - Increase establishment timeouts and implement timeouts for individual phases (ticket #669) - Fix bug where InboundEstablishState.createdPacketSent() wasn't being called, so SessionCreated packets weren't retransmitted - Increase retransmission timeout for SessionCreated and implement backoff - Send destroy if establishment times out in the middle - Fix code that pulls outbound states off a deferred queue - Improve UDPPacket.toString() for debugging - More logging of packets dropped in EstablishmentManager - Change establish states to enums 2012-08-12 zzz * Jetty: Don't use direct byte buffers that may be leaking (ticket #679) * PeerManager: Fix NPE on Android (ticket #687) * SSU: - Reject some packet types if they came in via fallback introKey - Increase retransmission timeout for SessionRequest, SessionConfirm, and RelayRequest; implement backoff - Move UDPFlooder to test - More volatiles, finals, cleanups, stat removals, log tweaks 2012-08-11 zzz * DataHelper: toString(byte[]) cleanup * i2psnark: - Fix DHT nodes not being saved at shutdown * RouterContext: Make the contexts list concurrent * SSLEepGet: Don't throw UOE in TrustManager * SSU MTU (ticket #682): - Use local MTU detection - i2np.udp.mtu now sets max MTU, not initial MTU - Put local MTU in netDb - Fix receive MTU calculations - Track remote MTU based on actual received packet size - Display local MTU on peers page 2012-08-10 kytv * German and Greek translation updates from Transifex 2012-08-09 zzz * Datagrams: Remove static logs * i2psnark: - Remove static SnarkManager instance - Allow DHT-only torrents - DHT debugging * NTCP: Stat cleanup * SAM: - Don't use direct byte buffers that may be leaking (ticket #679) - Volatiles and finals * SSU: - Don't send a packet that exceeds the MTU - Stub out local MTU detection (ticket #682) - More cleanups 2012-08-07 str4d * Console: - Theme updates from dr|z3d - Changed universal theming key so it is not mistaken as a theme name by the routerconsole * i2psnark: - Theme updates from dr|z3d - If universal theming is set and routerconsole theme is classic, use light theme explicitly * susidns: new midnight theme from dr|z3d 2012-08-06 zzz * Clone System properties before iterating to avoid ConcurrentModificationException (ticket #680) * Console: Fix flag links on /console to return to same page * i2psnark: Add support for DHT (disabled by default) * jbigi: Add ARMv6 libjbigi.so for Raspberry Pi 2012-08-05 zzz * I2PSessionImpl: One more volatile (ticket #659) * i2ptunnel, I2CP, EepGet: Buffer socket input streams (ticket #666) * UDP: - Limit PacketHandler threads to 1 (ticket #660) - Limit queue sizes between UDPReceiver and PacketHandler, and between PacketHandler and MessageReceiver, to prevent OOMs and/or excessive queue delays - Increase UDPPacket cache size based on max mem - Remove more stats 2012-08-03 zzz * build.xml: Add buildI2PTunnelJar target for Android * i2psnark: Finish migration to I2P logging to reduce object churn (ticket #673) * LogManager: Add logger.logBufferSize and logger.dropOnOverflow options (ticket #662) * JobQueue: Synch fix (ticket #670) * OutNetMessage: Fix NPE when log level = INFO (ticket #676) * SimpleScheduler, SimpleTimer2: Replace getInstance() calls * UDP: - Catch some cases where UDPPackets were not returned to the cache (ticket #675) - Fix inverted logging logic (ticket #663) - Remove check in UDPPacket.getLifetime() (ticket #664) - RemoteHostID cleanup, cache hashcode - Remove udp.fetchRemoteSlow stat - Remove some time stamping in UDPPacket - Other cleanups - see http://zzz.i2p/topics/1198 2012-08-03 str4d * Console: universal theming support - packaged apps will try and use the routerconsole theme if universal theming is enabled there and the same theme exists for the app. 2012-07-31 str4d * core, router: - Existing JUnit test framework fixed up and running. - Code coverage tools (Clover and Cobertura) integrated into unit test targets. - Implemented new test-related targets to provide a ScalaTest test framework. 2012-07-30 zzz * build.xml: Move more default properties to build.properties * DecayingBloomFilter, DecayingHashSet, xlattice filters: - Move from core to router - Comment out tests * ElGamal/AES/SessionTag: - Increase TX expire from 10 to 12 min, while keeping RX expire at 15 min. 3 minutes should be plenty of clock skew + delay. - Move tags-to-send and low-threshold values to be per-SKM - New session config options crypto.tagsToSend and crypto.lowTagThreshold - Prep for per-packet override of tags and thresholds - Cleanups and Javadocs * GarlicMessageBuilder: - Put data clove last to speed acks and leaseset store on far end * I2PTunnel: Add some defaults for the new session config options * OCMOSJ: - Don't bundle LeaseSet just because we're requesting an ACK - Changed session config option shouldBundleReplyInfo to default to true and be used to disable bundling altogether when set to false. Was previously an undocumented option to force bundling with a certain probability. - Don't send tags unless we've already generated a reply token (race) - Cleanups and Javadocs * RoutingKeyGenerator: Cleanups (ticket #672) * 2012-07-30 0.9.1 released 2012-07-28 str4d * Console: theme fixes 2012-07-26 kytv * Update geoip.txt based on Maxmind GeoLite Country database from 2012-07-04 * Finnish, French, German, Spanish and Swedish translation updates from TX 2012-07-26 sponge * BOB Fix static references to Log 2012-07-24 sponge * BOB reset spin flag to enable restart from zap command 2012-07-24 str4d * Summary bar: disable fallback iframe in summary.jsi (so when JS is disabled the summary bar will not refresh at all) * Home page: - Replaced 16x16 icons with 32x32 ones - Updated icon for git.repo.i2p - Moved RestartStatus back above LocalDestinations 2012-07-24 zzz * LookaheadInputStream: Fix bug causing gunzip fails, esp. on Android * Router: Don't create router.ping file on Android * SSLEepGet: Fix on Android (ticket #668) 2012-07-21 zzz * i2psnark: Remove dark theme * Reseed: Add new cert for cowpuncher * SSU: Remove exception creation (ticket #665) 2012-07-21 str4d * Home page: unlinked the iframed pages for i2psnark and susimail (the pages /webmail and /torrents still exist, but the console links to the apps directly instead for now) 2012-07-19 str4d * Home page: replaced itoopie with an eepsite icon (c/o dr|z3d) for eepsites with no icon of their own. * i2psnark: - New light theme (c/o dr|z3d) which integrates with console light theme - Moved table heading text into tooltips to reduce visual clutter 2012-07-18 str4d * Home page: Added id3nt.i2p and git.repo.i2p 2012-07-18 zzz * Home page: Add colombo-bt.i2p, remove keys.i2p * i2psnark: Clear rate stats when restarting torrent 2012-07-16 str4d * console: work towards better integration - Wrapped the bundled apps in iFrames (with a link in the page header to open the app in a new tab): - i2ptunnel - i2psnark - susimail - susidns - Theme improvements - Added theme support to susimail and susidns - "susimail.theme=foo" in susimail.config - "theme=foo" on susidns config page - Extensive work on dark console theme (dr|z3d) - Improved integration of i2ptunnel in iframe - General improvements - New dark themes for i2psnark, susimail and susidns which integrate well with dark console theme (dr|z3d) - Tweaks to other themes (console and i2psnark) to work with the various structural changes (dr|z3d) - Added per-theme favicons - Updated IE shim to fix some issues - Summary bar improvements - Updated every console page to use Ajax for the summary bar - Falls back to iFrame if JS disabled - Ajax refresh time is adjustable - The summary bar is now customizable; sections can be added, removed and reordered as desired - Added/updated tooltips - Added a new summary bar section to show news headings when the main news display is hidden - Changes to structure of /home to bring it in line with rest of console * i2psnark - Reworked the torrent info/file manager page to improve the layout 2012-07-15 zzz * XORComparator: Reduce object churn (Ticket #658) 2012-07-12 kytv * Translations from Transifex: - Add new Greek translation - Dutch translation update 2012-07-01 zzz * i2psnark: - Don't send a keepalive to a peer we are going to disconnect - Disconnect peer when idle a long time - PeerCheckerTask cleanup - Static ref cleanup - Don't show a downloaded torrent file as "seeding" - Better torrent file download icon 2012-06-29 zzz * HTTP Proxy: Change the error code for unknown host from 404 to 500 * SimpleTimer: Fix logging * Streaming: - Allow at least 3 packets and up to half the window to be active resends instead of just 1, to reduce stall time after a packet drop - Increase fast retransmit threshold back to 3 to reduce retransmissions - Don't fast retransmit if we recently retransmitted it already - Allow double the window as long as gaps are less than the window - Don't set the MSS in a resent packet (saves 2 bytes) - Remove redundant calls to updateAcks() - Update activity timer when resending a packet - Reset unackedPacketsReceived counter at all places where acks are sent so it isn't wrong - Fix some places where the activeResends count could become wrong - Prevent storm of CLOSE packets - Never resend the whole packet in ackImmediately(), just send an ack - Cancel flusher timer in MessageOutputStream when closed - Move some createRateStats to ConnectionManager to reduce repeated calls - Cleanups, javadocs, logging, volatile, finals * Update: Increase eepget timeouts 2012-06-24 zzz * ElGamalAESEngine: Fix bad size estimate when tags are included, resulting in trailing zeros after the padding in the unencrypted data * i2psnark: Don't create a new PeerCoordinator after restart, as the TrackerClient holds on to the old one and that causes it to not get peers. Possibly fixes ticket #563. * I2PTunnel: Fix NPE on shared client creation, thx kytv * Transport: Add Ethiopia to hidden mode list 2012-06-21 zzz * I2CP: Make separate message ID counters per-destination, use atomic, increase max (could have caused "local loopback" problems) * IRC Client: Don't flush output unless out of input, so the streaming messages don't get split up unnecessarily * OCMOSJ, ElG, Streaming: log tweaks * TunnelInfo: Change msg counter from long to int * TunnelPeerSelectors: Minor refactoring to store context * TunnelPool: Fix bug where a tunnel was marked as reused when it wasn't * TunnelPoolManager: Use one ClientPeerSelector for all pools 2012-06-20 zzz * I2PSession: - Greatly simplify the VerifyUsage timers - Constructor cleanup 2012-06-19 zzz * i2psnark: - Hide buttons while stopping all * Socks: Pass remote port through * Streaming: - Listen only on local port if set - Listen only for streaming protocol if configured (new option) - Javadocs re: ports 2012-06-18 zzz * i2psnark: - Improve torrent shutdown handling to maximize chance of announces getting to tracker - Thread task to open tunnel and improve UI feedback while open is pending - Clean up delete-torrent messages - Remove redundant shutdown hook - Avoid NPE in PEX message handling - Log tweaks 2012-06-15 zzz * I2PSocketEepGet: Use specified port * I2PTunnel: - Don't strip port from an I2P URL - More client options cleanups - Options changes now propagate to running socket managers and sessions, and through to the router - Better parsing of jump server URLs * NetDB: Only publish stats every so often, to improve anonymity while preserving the ability to monitor the network (effective next release) * SocketManager: - Simplify factory, use 4-arg constructor, make fields final, deprecate 0-arg constructor - Improve how options are updated - Javadocs 2012-06-13 zzz * I2PSocketEepGet: Set port to 80 * I2PTunnel: - Pass port through HTTP client proxy - HTTP server proxy sets host header to the value of "spoofedhost.xx" option for port xx - Set client options more efficiently * i2psnark: Possible fix for piece-after-choke * Streaming: - Channel cleanups and comments - New I2PSocketAddress 2012-06-11 zzz * i2psnark: - Display torrent file downloads in torrent area - Sort magnets and downloads first - Fix sorting problem when torrent dir is a symlink - Reduce max file idle time - Reduce TrackerClient threads - Reduce delay between peer adds for faster startup - Thread the announces and reduce timeout when stopping * NativeBigInteger: Workaround for Raspberry Pi to load the correct lib * Router: Don't let shutdown tasks hang the shutdown (tickets #564, #566) 2012-06-08 zzz * i2psnark: - Move private tracker config from create box to torrent config - Refactor private and open tracker configuration - Add private indication on details page * netdb.jsp: Don't show our info on summary page 2012-06-04 zzz * i2psnark: Take tracker out of opentracker list when removed 2012-06-03 kytv * Translation updates: - Add Hungarian language from Transifex (thanks AdminLMH!) - Italian language updates from Transifex (thanks ColumboBT) 2012-06-02 zzz * i2psnark: Improve opentracker configuration * Job Queue: Add failsafe check 2012-06-01 zzz * Console: Tab the netdb and profile pages * i2psnark: Fix partially-complete torrent not announcing * NetDB: Reduce flood redundancy from 8x to 6x 2012-05-31 zzz * i2psnark: - Add per-hour conn limit - Blacklist peer after two bad handshakes - Reduce connect timeout - Close connection immediately if bad protocol - Stop adding peers when we hit the limit - Lower limit for outbound connections so we give new peers a better chance in large swarms 2012-05-30 zzz * Graphs: Reduce log EOF error to warn * i2psnark: - Increase max upload (ticket #645) - Increase per-minute conn limit from 6 to 8 - Improve rarest-first behavior - Handle URI encoding, UTF-8, and multiple trackers in magnet links * Timestamper: - Move from core to router, leave stub in core so it doesn't break compatibility. This removes a thread in app context and prevents any app context from running NTP; external clients must use the time received from the router. - Increase query interval 2012-05-28 kytv * i2prouter: Add support so that 'i2prouter install' will work in ArchLinux * jbigi/jcpuid scripts: Improve support for ArchLinux 2012-05-25 kytv * German, Italian, Spanish, and Swedish translation updates from Transifex 2012-05-23 zzz * i2psnark: - Fixes when complete except for skipped files (ticket #447) status in UI, don't connect outbound, disconnect seeds when done - Custom tracker map AIOOBE fix - More classes pkg private * jobs.jsp: Add more queue diagnostics 2012-05-22 zzz * i2psnark: - Refactor tracker map - Prevent torrent shutdown when changing file priority to skip - Fix deadlock when changing file priorities * RoutingKeyModifier: Update after large clock shift 2012-05-20 zzz * Console: Add full file path to thread dump message * i2psnark: - Create sparse files at torrent creation and delay "ballooning" until first write (ticket #641, #447) - Redo clear messages button - Concurrent message queue * Profiles: reduce same-country bonus * RoutingKeyModifier: Several changes to ensure the routing key is correctly changed just after midnight. 2012-05-19 zzz * i2psnark: - Store received chunks in temp files - Don't allocate from heap for unneeded chunks - Remove peer count restriction for torrents with large pieces - Use priorities and rarest calculations to sort partials - Preserve p parameter in clear messages link 2012-05-13 zzz * Console: Add X-Frame-Options to headers, disable with routerconsole.disableXFrame=true * 2012-05-02 0.9 released 2012-04-26 kytv * German, Spanish, and Swedish Translation updates from Transifex 2012-04-20 zzz * Remove search box * Fix i2psnark dir when started from Windows no-wrapper (ticket #627) 2012-04-14 kytv * Update wrapper to v3.5.14 * Update geoip.txt from Maxmind's April 2012 database 2012-04-12 kytv * German, Spanish, and Swedish translation updates from Transifex 2012-04-12 zzz * Console: - Try again to fix console on Windows w/o IPv6 by starting connectors individually - Fix whitespace issues on several pages - Prevent rare early NPE - Non-default theme cleanups - Theme and translate home page logo 2012-03-28 zzz * RouterInfo: Fix fatal NPE in last checkin 2012-03-27 zzz * FloodfillVerify: - Fix verifies stuck on one peer by blamimg the verify peer on failure - Follow DSRM in response to RI verifies - Increase floodfill verify timeout * Home page: Delay router down message until two consecutive fails * RouterInfo: Add method to validate sig during read-in for speed 2012-03-27 sponge * A hopeful fix to allow SHOUTcast/icecast to work over the http proxy. * A little more code clean up 2012-03-26 zzz * Code cleanups: - Remove unused imports - Remove unused local variables - Remove unused private fields - Remove unnecessary casts * Console: - Try again to fix console on Windows w/o IPv6 (ticket #621) - Move oldconsole rendering from Router to OldConsoleHelper 2012-03-24 zzz * GarlicConfig: Remove more unused methods * i2psnark: - Fix dup torrent msg with magnets (tickets #433 and #504) - Fix state when storage dies during transition out of magnet mode - Fix NPE in magnet mode - Error logging improvements - Support add-torrent with infohash alone - CSS tweaks 2012-03-22 zzz * Home page: CSS tweaks * Reseeder: Get rid of static instance, root in netDB, don't use system properties for status * RetransmissionTimer: Instantiate per-destination * Router: When removing a config setting, remove from context also * SimpleScheduler, SimpleTimer, SimpleTimer2: Replace static instances with I2PAppContext-rooted references 2012-03-20 zzz * i2psnark: Message area tweaks and clear link * NetDB: - Don't reread RI if netdb date is recent - Prevent LS/RI overwrites - Disallow hash mismatches in RI files - Reseed won't fetch our own RI - Reseed won't overwrite recent RIs * Router: Make runRouter() public 2012-03-19 sponge * Plugins: Less confusing message, fix CNFE by catch and ignore on delete. Order and reverse order plugin names for start/stop all cases. 2012-03-18 zzz * Jetty: Fix check alias override 2012-03-17 zzz * BuildHandler: Implement restart and shutdown to stop the thread * Jetty: Don't extract wars * FileUtil: Better logging of weird unpack200 errors * I2PTunnel: Make CLI-only methods private, and static where possible * Streaming: Scheduler cleanup 2012-03-16 zzz * FragmentHandler: Zero-copy read of unfragmented messages for speed and to reduce object churn * Home page: Tag tooltip; CSS tweaks; news tweak * HTTP Proxy: Jump and addresshelper page tweaks * Jetty: Add I2P mime types to default eepsite config * OCMOSJ: Refactor cache to its own class, make non-static * TransportManager: Fix fatal exception on soft restart caused by DHSKB refactoring * TrustedUpdate: Preserve default key names even when keys are set in advanced config 2012-03-15 sponge * Plugins: - String.isEmpty() [ java 6 ] -> (String.length() == 0) [ java 5 ] - for a file: URL, use "Attempting to copy plugin from" message - s/{0}// on non-translated string - grammar: "File copy failed {0}" -> "Failed to copy file from {0}" - use the context provided to get startup time - getCanonicalPath() -> getAbsolutePath() - install != update. Don't change the user's settings, and don't restart it on an update if "dont-start-at-install". This gives the same functionality as before. 2012-03-14 zzz * Blockfile, i2psnark: Remove static logs * DHSessionKeyBuilder: - Move from core to router/transport - Make non-static, instantiate in TransportManager - Generate keypair in constructor and make final to move more processing to the precalc thread and eliminate races - Synchronize getSessionKey() to eliminate races - Comment out unused methods * Jetty: - Set default cache-control for webapps and eepsite - Disable dir listing for console webapps * UDPTransport: - Make key builder final in InboundEstablishState to eliminate rare NPE (ticket #406) - Remove unused static instance * YKGenerator: Make non-static, instantiate in ElGamalEngine 2012-03-13 sponge * Add sponge.i2p :-D bump version. 2012-03-13 sponge * Plugins: - Fix a bug in the updater. It was not comparing the correct name. - Plugin updates can now be deferred if router-restart-required is set. The update happens at the next router restart. 2012-03-13 sponge * Plugins: - Handle 'file://' URLs for installation and updates (ticket #429). You must specify the entire path, e.g. file:///home/someone/magicplugin.xpi2p - This works for updates too! - Only tested on Linux, needs to be tested on Windows. 2012-03-12 zzz * Console: - Better IPv6 test, hopefully will work on Windows - Hide home page flags once language is selected - Home page shrinkage and other CSS tweaks 2012-03-11 sponge * Slackware package script updates 2012-03-11 zzz * Build: - Include old commons logging classes in commons-logging.jar - Preserve manifests in Jetty/Tomcat jars * Jetty Logger: Promote warns to errors when a Throwable is the second arg 2012-03-11 sponge * fix broken comment in jetty.xml 2012-03-10 zzz * Build: Add new jetty jars to router.jar classpath so it works on very old installs with individual jars specified in the wrapper.config classpath * configloggging: Fix clearing log overrides * Console: Test if IPv6 addresses will work before instantiating connectors, so Jetty will still start without them * HTTP Proxy: Fix generation of jump links (ticket #616), broken by refactoring in -1 * Jetty Logger: Put a note in wrapper log saying where the logs went 2012-03-09 zzz * Update default eepsite base context to use DefaultServlet instead of ResourceHandler, to provide resume, directory indexes, caching, etc. * Simplify default eepsite base and CGI contexts to use a Context instead of a ContextHolder, ServletHandler, and ServletHolder 2012-03-08 zzz * GarlicConfig: Remove unused reply block methods * SessionKeyManager: - Don't use unacked tagsets after consecutive ack failures and revert to full ElGamal if necessary (ticket #574) - Synchronize creation of new sessions to prevent dups - Don't remove an unacked session until it's really out of tags - Failsafe removal of old unacked tagsets - Cleanups, final, comments, log tweaks, debug.jsp tweaks, synchronization tweaks 2012-03-06 kytv * German and Spanish translation updates from Transifex 2012-03-06 zzz * i2psnark: Fix NPE on magnet link addition * Jetty logger: Fix stack trace logging * viewstat.jsp: Properly close the ImageOutputStream to fix NPEs in the finalizer, probably was the root cause of what we blamed on Jetty * Webapp class loader: Fix dup classes in classpath caused by last checkin (symptom: i2psnark in wrong directory) 2012-03-05 zzz * Build: Make windows and non-windows installers for release * configclients: Tweaks * Graphs: Add time interval to legend * NetDB: Increase min ff to 250 * Plugins: Fix setting webapp classpath on Jetty 6 * UDP: Log tweaks * viewstat.jsp: Set Connection: Close to work around Jetty bug http://jira.codehaus.org/browse/JETTY-1346 2012-03-04 zzz * Jetty: Upgrade to Jetty 6.1.26, Tomcat 6.0.35, and JSTL 1.2. - Supports Servlet 2.5 / JSP 2.1 standards - Jetty and Tomcat jars are checked in, no more need to download Jetty in the build process. - Bundle Jetty 6 rewrite handler and JMX - Bundle sample Jetty config files for rewrite, JMX, and SSL - Use ant's ant.jar instead of the one from Jetty - Port router console, i2psnark, and I2PRequestLog code to Jetty 6 - Remove all old Jetty 5 patches and the custom Server() constructor, this will break Seedless use of the custom constructor - Fix up all .jsps to JSP 2.1 standards - Include automatic migration of clients.config, and of jetty.xml files for an eepsite at port 7658. New config includes files in eepsite/contexts and eepsite/etc Any other Jetty-hosted eepsites, or an eepsite not at port 7658 or with custom modifications of the jetty.xml file, will require manual editing of the new Jetty config files. This includes modifications for the seedless server in jetty.xml. - The following plugins are not compatible with Jetty 6 and will be disabled until updates are available: i2pcontrol, pebble, and zzzot - Users updating must use the updaterWithJetty build target once, to get the new Jetty and Tomcat. - Put I2PRequestLog in its own jetty-i2p.jar - Jetty logging moved from wrapper to I2P log using the new I2PLogger class, also in jetty-i2p.jar * Console: Start all wars after the main console war, for faster startup and to prevent one failed war from preventing startup of the entire console * i2psnark: Disable i2psnark RunStandalone, unused and instantiated Jetty 5 * i2ptunnel: Move i2ptunnel Bean classes from the jar to the war. These were deprecated for external use long ago. This will break very old seedless plugins; updates have been available for months. * susimail: 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 2012-03-03 zzz * Console: - New simplified home page, refreshing with AJAX - New home configuration page * i2psnark: - CSS tweaks - Ajax and link fixes - Move js to console in prep for merging w/ homepage * NetDB: Remove bw stats (effective next release) 2012-03-02 zzz * BlockfileNamingService: Add negative cache * Build: Add built-by to jars; check for corrupt jars on debug page * configstats.jsp: Hide log settings unless already enabled * DataStructures: - Remove static logs - Sort addresses in RouterInfo at initialization only; change from Set to List to save space - Remove unused counters in Lease to save space - Increase max leases to 16 * Graphs: - New single graph page with easy resizing - Support graphing of previous intervals * i2pinstall.exe: Add icon * i2psnark: - Add tracker configuration form - Remove custom tracker option from create form - Add private torrent option - More icons in buttons - Use js for refresh * I2PTunnelHTTPClient: - Refactoring to use Java URI parser to better handle escapes, IPv6 addresses, ports - Rewrite i2paddresshelper scanning/removal - Refactor out local server code - Nicer address helper error page * NetDB: - Reenable verify of RI stores, disabled in 0.7.9, checkin comments claim reenabled in 0.7.10 but didn't happen. - Synchronize StoreJob.sendNext() to avoid dups * netdb.jsp: Fix debug leaseset count again * susidns: Add b64 hash to details page * 2012-02-27 0.8.13 released 2012-02-22 kytv * Updated German, Italian, Spanish, Swedish, and Ukrainian translations from Transifex. 2012-02-22 zzz * ExploratoryPeerSelector: Use fast peers if hidden for inbound tunnels to improve success * NetDB: - Don't publish our RI if it has no addresses - Publish our RI sooner after startup to facilitate our IB tunnel builds 2012-02-20 zzz * i2ptunnel: - Fix streamr session registration - Don't delete privkey file for a non-persistent client tunnel (ticket #599) * Streaming: Fix race NPE (thx echelon) 2012-02-17 zzz * i2psnark: Escape fixes * netdb.jsp: Fix debug median calculation 2012-02-17 kytv * Add Czech language from Transifex (thanks Waseihou) 2012-02-12 str4d * i2ptunnel: Tunnel creation wizard 2012-02-10 zzz * WorkingDir: Fix detection of migrated directory 2012-02-09 zzz * i2psnark: Escape semicolons 2012-02-04 zzz * Deprecate util classes used only by installer * ProfileOrganizer: Add profileOrganizer.sameCountryBonus config * WorkingDir: Reset dates of eepsite files while migrating to avoid exposing install time (thx Z6) * Wrapper files: - Move PID and status files to config dir in i2prouter - Don't set PID files in wrapper.config as Windows doesn't need them and the wrapper won't start if the dir doesn't exist - Move wrapper.log to config dir using override in i2prouter, Windows stays in system temp dir - Move wrapper.log to config dir for no wrapper - Move wrapper.log setup for no wrapper from RouterLaunch to WorkingDir - Redirect stderr too when no wrapper - Create config dir in i2prouter for Linux/Mac 2012-02-02 kytv * Ukrainian and Polish translation updates from Transifex 2012-01-30 zzz * i2psnark: More illegal chars * LogWriter: Don't rotate and open file until first message * SusiDNS: Reduce listings to 50/page 2012-01-27 zzz * Build: Repack release jars with pack200 -r, saves about 1% and might save a little memory at runtime too * confignet: Add UDP disable option * SAM: Remove client demo classes from sam.jar 2012-01-26 zzz * configclients: Fix form action default * NetDB: Increase min ff to 200 * Plugins: Fix updated count * SusiDNS: Make UI 1-based 2012-01-24 zzz * Addresses: Fix NPE if no interfaces found http://forum.i2p/viewtopic.php?t=6365 * i2ptunnel: Fix white-on-white buttons on hover * Plugins: Add completion message after all-update check * susidns, susimail: Add icons to buttons 2012-01-22 zzz * Transports: Bind only to a single interface if specified as the host address and it's available (ticket #591) * VMCommSystem: Move to dummy directory 2012-01-21 zzz * Build: Fix Windows build, version checking for release * Console summary bar: Move some code around 2012-01-20 sponge * Fix too short of delay for http. It is up to the browser to time out in a shorter time, not the proxy. This is wreaking havoc on large downloads, similar to the issues that we had in the distant past with jetty's default timeout being too short. 2012-01-18 zzz * I2PTunnel: Register ports with the PortMapper * Router: - Use new synchronized change-and-save-config methods to eliminate races with ReadConfigJob * Tunnels: - When a peer is shitlisted, fail all our tunnels where that peer is the adjacent hop. In particular this will remove outbound tunnels when we can't contact the first hop, and enable quicker recovery. * Update: Find the proxy port in the PortMapper 2012-01-16 hottuna * Router: - Don't throttle tunnel creation if using a higher - than default router.maxParticipatingTunnels setting. 2012-01-16 zzz * Build: Put Implementation-Version in manifests * NetDB: Hopefully fix rare NPE (ticket #589) * Plugins: - Only stop a plugin before update if it was running - Only stop a plugin at shutdown if it was running - Don't start a plugin after update if it was disabled - Disable plugin if it fails version checks at startup - Auto-update plugins after a router update - Add update-all button and more cancel buttons * Router: - Add synchronized change-and-save-config methods to avoid races - Save previous version in config so we know when we updated * Transport: Revert change from -2, put addresses back in RouterInfo when hidden, broke inbound tunnel building 2012-01-14 zzz * i2ptunnel: Partial fix for dest formatting (ticket #581) * jars.jsp: New debug page * logs.jsp: Use wrapper method to find wrapper log if available * Stats: - Cleanups - Remove some locking - Change some longs to ints to save space - Remove static logs 2012-01-13 zzz * i2prouter: Add translation infrastructure 2012-01-10 zzz * Console: - Add info to error 500 page - Add indication on summary bar when in VM comm system - Make graceful the default for HUP (ticket #580) - Fix class error on wrapper 3.1.1 * i2prouter: Don't attempt to translate strings from script * Router: - Auto-hidden mode for bad countries - Don't put addresses in our RouterInfo when hidden 2012-01-08 zzz * Plugins: - Enforce min and max Jetty versions at plugin installation - Enforce I2P, Java, and Jetty versions at plugin startup too * Router: - No longer check for updates or start any threads in the Router constructor, - for ease in building multiple routers in the JVM, - and also because starting threads in a constructor is bad practice. - All threads now start in runRouter(). - Installation of updates now only happens via Router.main(). * RouterInfo, RouterAddress: Optimizations and integrity checks - Remove synchronization - Do not allow contents to change after being set, throw IllegalStateException - Do not copy contents out in getters - Make options final - Add getOption() and getOptionsMap() methods * Router shutdown: - 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 2012-01-06 kytv * EepGet: If transfer fails, exit with status 1 (fixes #576) * 2012-01-06 0.8.12 released 2012-01-04 kytv * Update geoip.txt based on Maxmind GeoLite Country database from 2011-12-08 2012-01-02 kytv * Wrapper 3.5.13 for everything other than armv7. 2012-01-02 zzz * Fix webapp PortMapper lookup for SSL-only console * Wrapper 3.5.13 for arm v7 2011-12-31 zzz * Fix log NPE when saveConfig() fails at startup, thx kytv (backport from jetty6 branch) 2011-12-30 zzz * New Estonian translation thanks ajutine 2011-12-27 kytv * Spanish and Swedish translation updates from Transifex 2011-12-23 zzz * Logging: Eliminate LogWriter/LogManager deadlock 2011-12-18 zzz * Addresses: Add utility toString() methods * Blocklist: Buffer input to speed lookup * PersistentDataStore: Buffer file writes and reads * Router: Cleanup startup jobs and router.config reading; javadocs * Transport: Log tweaks 2011-12-17 kytv * Ukrainian translation updates from Transifex * Add my key to TrustedUpdate.java 2011-12-17 zzz * i2psnark: - Replace file name characters not supported in default charset - Add torrent file name to local details page * GeoIP: Reduce thread priority during lookup * ProfileManager: Make some methods non-blocking to reduce lock contention in transports 2011-12-15 kytv * Swedish translation updates from Transifex 2011-12-14 zzz * BuildHandler: Increase next hop timeout again * DataHelper: - Speed up heavily used long/byte[] converters - Add little endian versions of the converters - Cache common properties keys * GarlicMessageParser: Use cached cert * GeoIP: Buffer input to speed lookup by 10x * I2NP: Disable pass-through checksum debugging * MessageHistory: - Flush at shutdown - Fix file location, only delete if enabled - Cleanups, concurrent * ResettableGZIPInputStream: Better footer log errors * RouterAddress: Cache transport names * TransportBid: Remove unused stuff 2011-12-13 kytv * Don't require that full stats are enabled to be able to graph router.highCapacityPeers. (closes #450) 2011-12-12 kytv * German and Spanish translation updates from Transifex 2011-12-12 zzz * ExploreJob: Tweaks to handle DatabaseLookupMessage changes * I2NP: - Deprecate unused stream methods and I2NPMessageReader since all transports provide encapsulation. - Don't throw IOE from byte array methods - Use cached null cert in GarlicClove - Add method to limit size of buffer to read - Don't check checksum at input, in most cases - Reuse checksum at output, for unmodified pass-through messages (but recalculating it now and logging on a mismatch for testing) - Fix DatabaseLookupMessage to internally store the don't include peers as a List, not a Set, so it doesn't get reordered and break the checksum - Log cleanup * NTCP: - Zero-copy and limit size when handing buffer to I2NP - Log hex dump message on I2NPMessageException, like in SSU - Don't close connection on I2NPMessageException * PortMapper: New service for registering application ports in the context * ReusableGZIPInputStream: Fix 3 major bugs, all present since 2005: - Payloads an exact multiple of 512 bytes failed to decompress - Data at the end of the stream could be lost - read() returned -1 when the data was 0xff * SearchState: generics and cleanups 2011-12-11 sponge * HTTP server tunnel, use log.WARN for 3 first minutes. (closes #460) 2011-12-10 kytv * Replace eepget's whitelist of accepted characters with the blacklist from i2psnark. (closes #562) 2011-12-09 zzz * Base64: Add decodestring command in main() * Console, i2psnark: More button CSS tweaks * I2NP: - Earlier detection and better logging of truncated TunnelGatewayMessage and DatabaseStoreMessage - Fix and enhance UnknownI2NPMessage implementation - Don't deserialize or verify the checksum of the embeddedI2NP message in the TunnelGatewayMessage at the IBGW, just use UnknownI2NPMessage and pass it along, except if zero hop; Still to do: similar thing at OBEP - Cleanups and javadoc * LeaseSet: Fix size calculations * UDP: - Fix major bug from 2005 that corrupted outbound messages that were an exact multiple of the fragment size. - Round expiration times when converting to seconds - Zero-copy of single-fragment messages in MessageReceiver - Optimizations, log tweaks, comments 2011-12-06 zzz * Router: - More refactoring tasks to their own files - Adjust some thread priorities * Susimail: Adjust login form sizes * Tunnels: Increase next hop send timeout * UDP: Fix major MTU bug introduced in 0.8.9. - Change large MTU from 1492 to 1484 and small from 608 to 620 for encryption padding efficiency - Enforce sent MTU limit - Increase receive buffer size from 1536 to 1572 so that excessive-sized packets sent by 0.8.9-0.8.11 routers aren't dropped - Limit the max acks in a data packet - Limit the duplicate acks in successive data packets - Only include acks that will fit in the mtu in a data packet - Correctly remove acks from the pending set after they are sent, so they aren't sent repeatedly - Don't pad data packets unless necessary - Debug logging and javadocs 2011-12-04 zzz * Console: - Less icons on configclients.jsp - Fix some browsers breaking line on negative numbers - Tab CSS tweaks * i2psnark: Fix directories not always deleted when torrent is deleted * IRC Client: Lower log level for connect error to warn (thx echelon/sponge) * Tunnel RED: - Complete rework of participating traffic RED. Implement an accurate bandwidth tracker in FIFOBandwidthRefiller. - Fix drop priority of VTBM at OBEP - Lower drop priority of VTBRM at IBGW - Raise threshold from 95% to 120% - Remove unused things in HopConfig * UDP: Fix i2np.udp.allowLocal operation (thx Quizzers) 2011-12-02 zzz * Console: - Summary bar tweaks - Config nav CSS tabs - CSS cleanups from last checkin * Susimail: - Login screen tweaks - Cleanups, generics, static 2011-12-01 zzz * Console: - Split up config network page - CSS tweaks in summary bar - Spiff up the buttons * i2psnark: - Retry link on torrent download fail - Clear URL after clicking 'add torrent' - Message tweaks - CSS tweaks * IRC Server: Fix IOOBE (ticket #559) * Throttle: Update throttle status immediately on shutdown request; clear starting-up message after 20 minutes 2011-11-29 zzz * Random: Use new nextBytes(buf, off, len) for efficiency * Router: Refactor periodic tasks to their own files 2011-11-28 zzz * Specify locale in all toLowerCase() and toUpperCase() calls to avoid the "Turkish four i problem"; replace most equalsIgnoreCase() calls too. * Update: Files listed in deletelist.txt will be deleted 2011-11-28 kytv * IRCClient: Add IRCop commands (and other safe commands) to the whitelist 2011-11-27 zzz * IRCClient: Outbound whitelist optimization * Reseed: - Restore i2pbote (ticket #516) - Remove r31453 (cert expiring, host soon to be shut down permanently) 2011-11-26 zzz * DCCServer: Socket error log fix * NTCP: Fix pumper NPE (ticket #555) 2011-11-23 zzz * CryptixAESEngine: Fix bogus bounds checks * NTCP: - More optimizations in recvEncrypted() - More efficient XOR - Reduce bandwidth stat update frequency - Check for repeated zero-length reads * RandomSource: Add new method getBytes(buf, offset, length) * Tunnel encryption: More efficient XOR 2011-11-21 zzz * NTCP Pumper: - Ensure failsafe pumper code gets run on schedule - Don't copy the read buffers - Adjust minimum read buffers based on memory - New i2np.ntcp.useDirectBuffer option (default false) - Mark peer unreachable when read failure is during establishment - Change some Reader Lists to Sets to avoid linear search - Log tweaks, debugging, new loop stats 2011-11-18 zzz * NTCP: - First cut at improving EventPumper performance (ticket #551) - Establishment timeout cleanup/concurrent - Remove some logging and stats - Switch some Queues from LBQ to CLQ - Static ByteBuffer cache 2011-11-16 zzz * Console: Add Jetty version to logs page * NTCP: Reduce log level for race (ticket #392) * NTCPConnection: Concurrent PrepBufs * OutNetMessage: Remove some fields and methods used only in NTCP debugging * Router: Move router.ping file from temp directory to config directory 2011-11-14 zzz * Console: Remove % chart at bottom of tunnels.jsp * Profiles: Only use same-country metric for countries with lots of I2P users * SusiDNS: Remove .jsp suffixes 2011-11-12 zzz * Installer: Fix Ukrainian translation (ticket #550) thx rndnick 2011-11-11 zzz * Console: - Less magic and fix img sizes, for speed and less artifacts while rendering - CSS tweaks 2011-11-09 zzz * Console: Add ability to hide news * I2PTunnel IRC Client: Don't filter PASS (ticket #549) * Licenses: Update information * Router: Clean up config map methods and uses * wrapper.config: Increase shutdown timeout * 2011-11-08 0.8.11 released 2011-11-05 kytv * Update geoip.txt based on Maxmind GeoLite Country database from 2011-11-02 2011-11-02 zzz * HTTP Proxy: Error page tweak * Reseed: - Add new host - Handle % escaping in file URLs - Do basic validation of router hash - Add some more sanity checks 2011-11-01 kytv * Update Ukrainian translations from Transifex * Update i2prouter script for better compatibility with Gentoo 2011-10-31 zzz * NetDB: Reduce max RI publish interval * ProfileOrganizer: - Fix expiration of old profiles - Don't exceed high cap limit between reorgs - Reduce max reorg cycle time - Reduce new bonus values - Fix rare NSEE thx sponge * SSU: Increase threshold for incremented cost * Tunnels: - Restore and implement lengthOverride() - Adjust quantity override 2011-10-29 zzz * BuildHandler: Add router.buildHandlerThreads config setting * CapacityCalculator: Small adjustment for XOR distance to break ties and encourage closeness * ProfileOrganizer: Reduce min expire time * SSU: Limit max peers to use as introducers 2011-10-28 zzz * BuildHandler: Move inbound request handling to its own thread(s) (ticket #542, see also http://zzz.i2p/topics/996) * CapacityCalculator: Small boost for connected peers, new peers, and same-country peers; deduct for recently-unreachable peers * DecayingBloomFilter: Whups fix NPE from previous checkin if log=INFO * NTCP: Reduce min idle time * SSU: - Increase default max connections again - Reduce min idle time - Separate out introducer pinger from introducer selection so it can be run separately and more often - Only ping introducers if we need them * Tunnels: - Reduce exploratory tunnel quantity if build success rate is very low, but may disable this later - Try rebuilding same tunnel (some of the time) 2011-10-25 zzz * BloomSHA1, DecayingBloomFilter: - Refactor for concurrent, at some small risk of false negatives - Optimizations to cache objects and reuse offsets * Tunnels: - Make most classes package private - Final, static, logs, cleanups - Consolidate createRateStat calls - Add getTotalLength() - Remove unused lengthOverride() * UDP: Mark only first fragment as a duplicate * 2011-10-20 0.8.10 released 2011-10-19 kytv * Update Italian translation from Transifex (thanks danimoth) 2011-10-19 zzz * I2PTunnel: Fix timeout message on POST (ticket #531) * NetDB: Reduce RI max expiration again 2011-10-18 zzz * StoreJob: Ensure nonzero token * Tunnels: Connection limit mitigation: - Disable tunnel testing - Implement closest-to-the-key tunnel selection - Use closest-selection in NetDB lookups, stores, and verifies; OCMOSJ; and in BuildRequestor 2011-10-17 zzz * BuildExecutor: Efficiency tweak * Console: Hide tunnel lag if tunnel testing is disabled * NetDB: Fix rare NPE from netdb.jsp (ticket #539) * Router: Change all shutdown CRITs to ERRORs; shutdown the stat manager last to reduce chance of NPEs (similar to that in tickets #534,535) * SSU: Increase max concurrent outbound attempts; fix udp.establishRejected stat 2011-10-15 zzz * BuildExecutor: Add tunnel.buildConfigTime stat * configupdate.jsp: - Fix setting to 'never' (ticket #523) - Fix always saying trusted keys changed - Parameterize tags * EepGet: - Add gunzip support (nonproxied only) - Clean up progress formatting * FloodfillMonitorJob: Log tweak (ticket #533) * I2CP: Improve error message (ticket #533) * JobQueue: - Log error when queue is out of order - Log tweaks * FloodfillPeerSelector: Fix stat NPE (tickets #534,535) * RouterThrottle: - Fix stat NPE (tickets #534,535) - Increase max tunnels and max delay again * OutNetMessagePool: Log tweak (ticket #533) * Router: - Add OOM help (ticket #533) - Prevent parallel shutdowns after multiple OOMs (tickets #534,535) * Stats: Add API methods for zero duration * SSLEepGet: - Add gunzip support - Increase buffer size * SSU: Fix concurrency errors (ticket #536) \ 2011-10-13 kytv * Updated translations from Transifex - Swedish: debconf and i2psnark - Finnish: router console * 2011-10-11 0.8.9 released 2011-10-10 zzz * Lower max netdb RI expiration again * Increase default max tunnels * Cleanups after review * Exorcism (ticket #476) 2011-10-07 kytv * GeoIP: - Switch to Maxmind's GeoIP service (it's better maintained than our old provider) - Update based on Maxmind GeoLite Country database from 2011-10-07 * Translation updates from Transifex: - I2PSnark: de, es, and pt - I2PTunnel: de and es - RouterConsole: de and es - SusiDNS: de and es - SusiMail: de and es 2011-10-07 zzz * Reseed: - Add an https reseed, thx h2ik - Restore ovh reseeds, thx mathiasdm * Tunnels: - For expl. tunnels, fall back to high cap sooner - Tweak build rejections for class N 2011-10-06 kytv * Add diftracker.i2p to I2PSnark 2011-10-06 zzz * RepublishLeaseSetJob: - Out-of-order JobQueue 3nd try to fix - Lower timeouts * Reseed: - Update host lists - Switch back to https by default * Throttle: Increase max message delay * Transport: - Add per-style send processing time stat - Increase default SSU conn limit 2011-10-05 zzz * Streaming: Fix build * UDP: Catch address without key sooner 2011-09-30 zzz * logs.jsp: Add wrapper version * Shitlist: Shorten time * Wrapper: Update armv7 to 3.5.12 2011-09-30 kytv * fix umask bug by upgrading to wrapper v3.5.12. Binaries are from Tanuki's delta pack for the community edition, except: - Win64: not available from Tanuki--compiled with VS2010 - FreeBSD: Tanuki's binaries are compiled in FBSD v6. I compiled the wrapper in FreeBSD 7.4 to eliminate the dependency on the compat6x port. - Linux ARM: not available from Tanuki - OSX: Tanuki offers separate binaries for 32bit VS 64bit. Our wrapper is quad-fat supporting PPC32/PPC64 and x86/x86_64. 2011-09-29 zzz * Bandwidth refiller: Reinitialize at restart, avoid issues from clock skews 2011-09-27 kytv * Remove exotrack.i2p from i2psnark 2011-09-24 zzz * HTTPClient: Fix error page not appearing, broken by StreamForwarder change * HTTPServer: More mime types not to compress 2011-09-23 kytv * Update Italian, Spanish, and Swedish translations from Transifex 2011-09-20 zzz * Crypto: Comment out some main() * ClientMessage: Remove unused MessageReceptionInfo * i2psnark: File allocation cleanup to use less heap * i2ptunnel HTTPResponseOutputStream: - Use reusable gunzipper and a larger pipe for efficiency - Close output stream in StreamForwarder to prevent lost data, existing bug but made worse by larger pipe * I2PTunnelHTTPServer: Don't compress small responses or images * I2PTunnel, NTCP: Catch unchecked exceptions from GNU NIO (ticket # 519) * JobQueue, RepublishLeaseSetJob, StartExplorerJob: Out-of-order JobQueue 2nd try to fix * NetDB: Limit max explore queue * RouterContext: Remove unused MessageStateMonitor 2011-09-18 kytv * Add OpenBSD & NetBSD to NBI and CPUID 2011-09-16 zzz * Console: Home page flag spacing * EepGet: Add some new command line options * JobQueue: - Add warning to setStartAfter() as queue is no longer continuously sorted - Fix StartExplorerJob not calling requeue() - More pumper cleanups * Reseed: - Add HTTP proxy authorization support - Stub out SSL proxy support - Disable i2pbote reseed * Router: Fix router changing client-side tunnel options, causing original tunnel quantity to not be restored (ticket #513) 2011-09-14 zzz * Console: Verify valid host/IP before saving on net config form * i2psnark: - Add refresh time option - Add public file permissions option (ticket #501) - Fix configuration of tunnel parameters (ticket #524) - Allow changing I2CP parameters while tunnel is open - Remove duplicated options in I2CP options string - Don't open tunnel when saving config * IRC DCC: Fix conn limit options * Router: Set permissions on router.ping file 2011-09-13 kytv * Update i2prouter script 2011-09-12 zzz * build.xml: Run test scripts at release time * Build Executor: - Limit max parallel builds on really slow machines (ticket #519) - Slow down build loop when network is apparently disconnected (ticket #519) * i2psnark: Fix inaccuracy in the completed bytes display * NetDB: Disable floodfill at shutdown time if enabled 2011-09-09 zzz * TunnelDispatcher: Fix bug in -13 preventing participating tunnels from being expired and causing high CPU usage 2011-09-08 zzz * Blocklist: Include IP in shitlist reason * Ministreaming: Drop old classes replaced by streaming years ago. * NTCP: Hopefully fix race NPE, thx devzero * Tunnels: Limit Bloom filter size based on max memory 2011-09-07 zzz * Console: Limit max displayed participating tunnels * JobQueue: Change queue from a Set to a TreeSet for more efficiency * TunnelDispatcher: Change participant expire List to a Queue for efficiency and to remove global lock. Also remove separate time List for space savings. 2011-09-06 zzz * Console: Move jobs.jsp rendering code from the router to the console * Crypto: Rework use of SHA256 for efficiency and to avoid clogging the Hash cache with one-time hashes, and avoiding the global cache lock. This also greatly increases Hash cache hit rates. Also use SimpleByteCache for temporary byte buffers. * I2PTunnel: Save keys to privkey file when enabling persistent key after tunnel creation (ticket #480) * JobQueue: Change queue from a List to a Set for efficiency * PrivateKeyFile: Add more constructors * SDSCache: Use weak refs; increase size for pub keys 2011-09-04 zzz * NetDB: - Try again to fix ISJ deadlock, thx devzero - Lower RI expiration again - Expire RIs with SSU only and no introducers sooner * Transport: Remove one global lock in OutboundMessageRegistry. 2011-09-03 zzz * i2psnark: Fix "eject" button in certain browsers (ticket #511) * UDP Inbound: - Hopefully fix race NPE, thx devzero - Catch some more fragment errors - Exception and log tweaks - Cleanups and javadocs 2011-09-02 zzz * Console: Cache user-agent processing * NetDB: Hopefully fix ISJ deadlock, thx devzero 2011-09-02 sponge * I2PSnark: Fix GUI html tag for adding a torrent, it was missing a space. 2011-09-01 zzz * Console: Enable color logs * GeoIP: Cache country codes * NetDB: Explore more aggressively if hidden or K * UDP: Cleanups and introduction fixes 2011-08-31 zzz * OCMOSJ: Remove some global cache locks, other cleanups 2011-08-30 zzz * I2CP: Cache b32 lookups client-side * I2PTunnelHTTPClient: Use existing session for b32 lookups rather than a new SimpleSession * Naming: Increase b32 lookup timeout to 15 sec. 2011-08-29 zzz * NetDB: - Replace the old parallel lookup method with a true Kademlia lookup that iteratively queries additional floodfill peers returned in DatabaseSearchReplyMessages. This is a more efficient and reliable lookup that will work much better when not all floodfill peers are known, and it removes a serious limitation to network growth. - Limit max number of DSRM entries to look up - Cleanups, javadocs, log tweaks * Tunnels: - Increase timeouts on all deferred netdb lookups to 15s; add lookup stats - Cleanups, javadocs, log tweaks 2011-08-28 zzz * checkcerts.sh: New test * Console: Remove 'firewalled and fast' message, just say 'firewalled' * I2PTunnelRunner: Fix logging * Log: Fix level stuck at DEBUG when using public constructor * OutboundMessageRegistry: Cleanups * Stats: Restore pre-0.8.8 API to not create a new Rate if it does not exist in RateStat.getRate() * UPnP: Lower some log levels 2011-08-26 kytv * Debian: Bugfix: Avoid overwriting preseeded debconf values upon package installation (ticket #514). * Windows: Fix bug in fixperms.bat that occurred when installing on non-English versions of Windows 7 and Vista. 2011-08-25 zzz * Blockfile: - Avoid NPE after corruption (ticket #515) - Add reverse lookup table; bump DB rev to 2 * I2PTunnelIRCClient: - Big refactoring into multiple class files - Allow AWAY and CAP messages - First cut at DCC support - not for SOCKS (yet) * Streaming: - Hook I2CP ports through to I2PSocket - Javadocs, init cleanups, final * UDP: - Complete rewrite of OutboundMessageFragments for concurrent and for efficiency to avoid O(n**2) behavior - Don't delay in OutboundMessageFragments at the end of the loop if we have more to send now, this should speed things up - Queue a new send immediately after a packet is acked - Send session destroy message when dropping connection - Increase large MTU to 1492 (was 1350) - Cleanups, log tweaks, javadocs, final * 2011-08-23 0.8.8 released 2011-08-23 zzz * Tweaks after review 2011-08-21 zzz * RateStat: Cleanups and javadoc fixes * susimail: Fix page encoding 2011-08-20 zzz * Translations: - New Danish and Ukranian translations from transifex - Update Italian, Chinese, Spanish, Polish, Swedish, and Vietnamese translations from transifex - Update .tx/config 2011-08-19 zzz * Soft restart: - Allow NTP to reinitialize clock after the comm system in the first minute of uptime - Fix i2ptunnels not restarting - Increase minimum forward clock shift for soft restart - Reduce minimum backward clock shift for soft restart - Signal the I2CP client with a different message when restarting - I2CP client reconnects when receiving restart message 2011-08-17 kytv * Fix #506: Don't attempt to load systray4j when using a 64bit JVM in Windows. 2011-08-16 zzz * Console: Tweak logs page CSS * Graphs: Delete corrupt rrd file (ticket #483) * UPnP: Fix bug causing failure when the PC has multiple interfaces 2011-08-06 kytv * Fix #473 (wrapper.logfile set to the wrong path in Windows). 2011-07-31 zzz * Crypto: Implement and then comment out an alternate AES-256/CBC implementation using the JVM crypto libs, and tests, it isn't faster * Netdb: Add a job to refresh all the old router infos at startup, to speed integration 2011-07-30 kytv * Installer: - add libjbigi*core*jnilib, libjbigi-osx-none_64.jnilib, and libjbigi-linux-ppc.so - Add Linux PPC wrapper * Add linux-ppc to NBI. * Remove unused lock 2011-07-29 zzz * Netdb Search: - Follow all DSRM's, not just the last one, by moving the code from the match job to the selector - Update peer profile after SingleSearchJob - Cleanups, javadocs, log tweaks, final * ProfileOrganizer: Tweak fast tier size 2011-07-28 zzz * Context: Split up big lock to avoid deadlocks * Streaming: Avoid a rare exception on race * TunnelPoolManager: Reduce race window for restarting a tunnel pool 2011-07-27 kytv * Add armel (armv5tejl) wrapper. Compiled and tested in Debian Squeeze. 2011-07-26 zzz * Installer: The previous wrapper files only work on armv7 * NativeBigInteger: Move libjbigi-linux-arm.so to libjbigi-linux-armv7.so, do ARM version detection in NBI. * NetDB: - Explore even more aggressively at startup - Increase SingleSearchJob timeout - Increase time at startup for processing DSRM - Cleanups, final, javadoc, concurrent * OutNetMessage: Cleanups * Tunnels: Change another log error to a warn * Watchdog: Improve the way it calls for a thread dump 2011-07-22 kytv * Add a 64bit wrapper to OSX. With 0.8.7 came a fat Mac wrapper with i386 and PPC. The included wrapper is now quad-fat (i386, ppc, x86_64, and ppc64). 2011-07-21 zzz * Atalk: Remove this terrible example * Console: Use capability method for counting integrated peers * i2psnark: Don't let connection problem crash the DirMonitor (ticket #495) * Netdb: Speed up collection of all the floodfill peers by using PeerManager.getPeersByCapability() * PeerManager: Capability cleanups * Tunnel TestJob: - Don't continue testing after the pool is dead - Tweak test intervals * TunnelPool: Make more methods package private 2011-07-18 zzz * FileUtil: Add a rename method and a new copy method * I2PTunnel: Rename privkey file when deleting tunnel to prevent inadvertent reuse * Netdb: Update reseed lists * Streaming: Improve conn limit log message * UDP: Lower max port below 31000 since wrapper uses that 2011-07-15 zzz * Shutdown: - 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 2011-07-13 zzz * Blocklist: - Fix delayed lookup of reason from file - Tag strings for translation - Sort IPs on configpeer.jsp correctly * SummaryHelper: Fix NPE at startup (ticket #493) 2011-07-10 zzz * DH, YK: - Improve YK speed test - Shut down thread faster - Refiller keeps going until full - Cleanups * I2PTunnel: Fix a shutdown hang * Message Registry: Clear pending messages at restart / shutdown * OCMOSJ: Clear caches at restart * Router Clock: First cut at recognizing and reacting to large system clock shifts by partially restarting the router. Also improve restarts initiated from config.jsp Tickets #465, #468, #494 * UPnP: - Wait for a while to ensure port removal at shutdown or restart - Fix device rediscovery and port opening after restart 2011-07-08 zzz * Findbugs: Several fixes and cleanups * I2NP: Consolidate common code from TunnelBuildMessage and TunnelBuildReplyMessage into a common base class * NetDB, TestJob: Fix NPEs at startup (ticket #493) * Sha256Standalone: - Use system SHA-256 MessageDigest instead of Sha256Standalone in PRNG - Deprecate DataHelper functions using Sha256Standalone arguments; used only by Syndie - Note deprecation in javadocs 2011-07-07 zzz * Blockfile: - Log error on out-of-order spans - Log error on corrupt level and discard - Fix SkipSpan non-flush bug causing null levels - Add level fixer that repairs nulls and out-of-order levels - Fix bug on backwards span construction, not hit in practice - Lots of log level changes 2011-07-06 zzz * EepGet: Add method to add extra headers to request * Floodfills: Increase again * HTTP Proxy: Fix error on shutdown * NamingService: Use HostsTxtNamingService if default fails to initialize * Netdb: Catch exception on dup netdb entries * Netdb exploration: - Remove floodfills from dont-include list in exploration DatabaseLookupMessage, as the dont-include-floodfills flag has been supported since release 0.7.9. This will make exploration work better, as there is room for non-floodfills in the don't-include list now. - Reduce min and max exploration intervals - Explore aggressively at startup and if known routers is low - Explore slowly if known routers is high * PeerManager: Load profiles in separate thread to avoid slowing down the context initAll() * Tunnels: Use exploratory tunnels to help maintain a minimum number of connected peers 2011-07-03 zzz * AppContext: Add hasWrapper() method * 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 2011-07-01 zzz * EepGet: - Fix error output bug - Output error data for 504 too * I2PThread: Remove logging, too many issues with extra contexts * Router, console, i2psnark: Change three errors to warns (tickets #479, #482, #487) 2011-06-30 zzz * BlockfileNamingService: - Support readonly blockfiles - Open blockfile readonly if not in router context - Log warning if blockfile is locked - Set as default * DataHelper: Throw IOE if uncompressed data too big, instead of silently truncating * EepGet: - Add method to get response code - Add method to write error data to the output - Increase buffer size to 8 KB - Trim content type * IRC Server: Send a message back if the tunnel is up but the server is down * NewsFetcher: Change default interval to 36 hours * Random: Refactor refiller for concurrent * Shutdown: - Register shutdown hooks for caches, in the first step of cleaning up resources on shutdown, which is important in Android as the JVM isn't going away. - Clear profiles from memory on shutdown - Add shutdown hook for AsyncFortunaRandomSource - Implement and call shutdown for BandwidthRefiller - Implement and register shutdown hook for i2ptunnel - Implement and register shutdown hook for Jetty console server - Implement and register shutdown hook for Timestamper - Fix UPnP-SSDPNotifySocket thread not stopping - Fix all but one UDP PacketHandler threads not stopping - Fix i2psnark DirMonitor not stopping - Fix UPnP-Disposer not stopping quickly - Implement and call YKGenerator and DHSessionKeyBuilder shutdown - Implement and call shutdown for RouterWatchdog - Kill the global app context - Recognize multi-router case - Fix RandomIterator, YKGenerator, DHBuilder, NTCPConnection hanging on to old context - Fix DHBuilder thread not stopping - Stop I2PThread from starting a new App context at shutdown - Stop LogWriter from starting a new App context at shutdown - Have router kill any leftover App context at startup - Fix I2PThread hanging on to old context * Updates: - Add the router version to the zip file comment in the updater - Add a class to extract the zip file comment - Require the sud version header to match the zip file comment to prevent spoofing of the version number, since the version number in the header is not covered by the sud signature. * 2011-06-27 0.8.7 released 2011-06-26 zzz * Fixes after review: - Fix Polish po file - Install as a service by default on Windows again - Change CPUID getters to package private - Split new jbigi install messages into two lines - Test script updates - Javadocs 2011-06-23 zzz * IRC: Allow outbound INVITE 2011-06-21 kytv * Make the i2prouter script fail more gracefully if there's a problem loading the wrapper. 2011-06-14 zzz * Build: New targets for including jbigi in the updater * Console: CSS tweak for flag box * i2psnark: Recognize ktorrent * Jbigi / NBI / wrapper / installer: jbigi and wrapper files for arm. Compiled on trimslice with gcc version 4.4.5 (Ubuntu/Linaro 4.4.4-14ubuntu5) Log postinstall errors to postinstall.log. * NetDB: Increase floodfills and better adjustment based on available memory * RateStat: final * Router: Delete old libjbigi.so and libjcpuid.so at startup if jbigi.jar is newer. This will force a reextraction by CPUID and NBI. 2011-06-13 duck * Finnish, Italian, Polish and Vietnamese translations, thanks Transifex teams. 2011-06-13 zzz * To ensure we don't release bad packages, fail the build if gettext fails. Change property at top of build.xml if you don't have gettext and want the build to continue. 2011-06-12 kytv * Add jcpuid files (32 & 64bit) for Intel Macs * Compile jbigi-osx-none for Intel Macs. libjbigi-osx-none.jnilib is now a fat binary combining the already existing PPC compile and my new x86 build. 2011-06-11 zzz * i2psnark Polish translation, thanks polacco 2011-06-10 zzz * CPUID, NativeBigI: Add support for atom, core2, corei, nano, pentiumm, geode * Random: Add config setting prng.bufferSize to override the default 256 KB * JBigI: - Add new libjbigi-linux-xxx.so files built by sponge, now that we have CPUID.java support for them (thanks hottuna). See http://zzz.i2p/topics/306 for discussion and test results. 64-bit processors (atom, core2, corei, nano): Built with GMP 5.0.2. License is LGPLv3. Built by sponge with GCC 4.4.4, downloaded from http://sponge.i2p/files/jbigi/gmp-5.0.2/ For 64-bit processors, both performance testing and the GMP changelog http://gmplib.org/gmp5.0.html led us to use 5.0.2 for both the 32- and 64-bit versions, even though the files are twice as big. 5.0.x contains specific optimizations for atom and nano. All 64-bit libs have _64 appended. 32-bit processors (pentiumm, geode): Built with GMP 4.3.2. License is LGPLv3. Built by sponge with GCC 4.4.4, downloaded from http://sponge.i2p/files/jbigi/gmp-4.3.2/ The 4.3.2 files are half the size of those built with GMP 5.0.2, and there was little or no performance difference between the two versions for 32 bit processors. * NBI: Enable 64-bit processor detection * Profiles: Skip and delete a corrupt profile read from disk 2011-06-10 kytv * jcpuid & jbigi added for 64bit Windows (only used with a 64bit jvm). 2011-06-09 kytv * Added an x64 wrapper for Windows. This is needed because a 32bit wrapper cannot start a 64bit JVM. 2011-06-08 zzz * Build: - Add standard manifest to jbigi.jar - Don't do 'mtn list changed' if not in a workspace or not needed * LogManager: Use DataHelper methods for loading and storing config 2011-06-08 kytv * Update jbigi/jcpuid Windows dlls. As was done for FreeBSD and Linux, the libraries for 32bit CPUs were linked against gmp-4.3.2 and those for the 64bit CPUs were linked against gmp-5.0.2. 2011-06-07 kytv * Upgrade the wrapper to 3.5.9. Noticable changes include: - FreeBSD amd64 is now a supported arch along with i386. To use the wrapper with the most recent version of FreeBSD the port 'misc/compat6x' will need to be installed. - OSX: Both Intel and PPC Macs are supported. 32-bit support. If you'd like 64-bit support, please file a bug in trac with the output of "uname -m". * Upgrade jbigi/jcpuid for FreeBSD i386 and add support for amd64. As was done with the Linux compiles, 32bit compiles were linked with gmp 4.3.2 and 64 bit builds (as well as 32bit builds for 64bit cpus) were linked against gmp 5.0.2. 2011-06-06 zzz * Drop andorid/ directory; further development will happen in an android-only branch. 2011-06-05 zzz * Console: Tag stat descriptions at declaration rather than in Strings.java * Data: Remove duplicate signature verification code in RouterInfo and LeaseSet * DSAEngine: Add code for alternate implementation using Java libs; disabled by default. Add test code to verify identical results and compare speed. * JBigI: - Replace old non-PIC 32-bit linux libs (GMP 4.1.3 built in 2004) with PIC libs built with GMP 4.3.2. License is LGPLv3. Built by sponge with GCC 4.4.4, downloaded from http://sponge.i2p/files/jbigi/gmp-4.3.2/ The 4.3.2 files are half the size of those built with GMP 5.0.2, and there was little or no performance difference between the two versions for 32 bit processors. See http://zzz.i2p/topics/306 for discussion and test results. - Replace old non-PIC 64-bit linux libs (GMP 4.1.4 built in 2005) with PIC libs built with GMP 5.0.2. License is LGPLv3. Built by sponge with GCC 4.4.4, downloaded from http://sponge.i2p/files/jbigi/gmp-5.0.2/ For 64-bit processors, both performance testing and the GMP changelog led us to use 5.0.2 for both the 32- and 64-bit versions, even though the files are twice as big. See http://zzz.i2p/topics/306 for discussion and test results. libjbigi-linux-athlon64.so was a 64 bit file; by the new naming standard supported by NativeBigInteger, it is now a 32-bit file and the 64-bit one is libjbigi-linux-athlon64_64.so. All new 64-bit libs will have _64 appended. - Remove libjbigi-windows-athlon64.dll which was a duplicate of libjbigi-windows-athlon.dll; NBI now tries athlon as a fallback for all 64-bit processors. - Update build docs 2011-06-04 zzz * NBigI: Recognize Android * KeyGenerator: Restore old return type to not break ABI (thx kytv) * Router: - Add a lock for reading/writing the router.info file - Check our RouterInfo validity after reading and before saving, to catch fatal errors sooner 2011-06-03 zzz * Android: More build updates, start working on JNI for GMP * Build: Fix dependency issue cause by misspelled file name 2011-06-02 zzz * Android: Build fixes * Crypto: - HMAC Javadocs and cleanups - HMAC Use SimpleByteCache * ElGamalAESEngine: Fixups required after SessionKey enforcement * Reseed: Give up on a seed after 90% of fetches fail * SessionKey: Enforce data size and prevent reuse 2011-06-02 sponge * Remove txt file in BOB.jar as per zzz's request. 2011-06-01 zzz * Crypto: - Use java.security.MessageDigest instead of bundled GNU SHA-256 code if available, which it should always be. 5 to 20% faster on Oracle JVM; 40 to 60% on Harmony; 5 to 15% on JamVM; 20x (!) on GIJ. - Use java.security.MessageDigest instead of bundled Bitzi SHA-1 code if available on non-Oracle JVMs, which it should always be. Not faster on Oracle JVM; 30 to 60% faster on Harmony; 15 to 20% on JamVM; 10-15x (!) on GIJ. 2011-06-01 sponge * ConfigClients stopClient stubbed out. 2011-06-01 sponge * Re the below, using better way that kytv suggested. There is more than one way to peel a pineapple... 2011-06-01 sponge * Remove the one little html file that ends up in BOB.jar. The file is NOT a javadoc file, it is a package file. Still, it is zapped. 2011-05-31 zzz * HTTP Proxy: Don't send redirect for POST (thx kytv) * jbigi: Add support for solaris 2011-05-30 zzz * I2CP: - Append I2CP Version information to the Get/Set Date Messages, so that both the router and client are aware of the other side's version, and future protocol changes will be easier to implement. Previously, router version information was not available to the client, so when router and client were in different JVMs, old clients would work with new routers but new clients would not work with old routers. After this change, we can design future changes so that new clients will work with old routers. This is an enhancement to the old protocol version byte sent by the client, which we have never changed and probably never will. - Prevent a client from setting the router's clock - Javadocs * i2psnark: Restrict swarm size for small torrents * netDb: Don't refetch expiring router infos if we have enough 2011-05-28 zzz * i2psnark: Fix bug preventing Robert from connecting to snark (thx sponge) 2011-05-27 zzz * Console: Fix router.updateThroughProxy being set to false after saving change on /configupdate when install dir is read-only. (ticket #466) * EepGet: - Fix redirect loop (thx kytv) - Reset redirect counter when retrying * JBigI: - Refactor to handle 64 bit libs and a list of fallback libs - Logging tweaks - Only check for one file name in library path * CPUID: - Recognize amd64 as x86 - Only check for one file name in library path 2011-05-25 zzz * CPUID: Load 64-bit libcpuid if available * HTTP Proxy: Address helper refactoring, address book add form * JBigI: - Start updating NativeBigInteger - Remove k63 libs that are dup of k62; handle in NBI * Naming: B32 fixes * NetDB: Increase floodfills again 2011-05-23 zzz * Console: - Disable zh translation in graphs on windows due to font issues - Force news refetch after URL change - Fix NPE at startup - Graph tweaks 2011-05-23 sponge * mbuild.sh fixups * add new jcpuid/mbuild.sh -- pedantic naming * jbigi/mbuild-all.sh -- pedantic naming * see also http://zzz.i2p/topics/306?page=1#p3341 2011-05-22 zzz * GeoIP: Read countries.txt in UTF-8 * Jetty: Fix build error that omitted local jetty patches from org.mortbay.jetty.jar; affected 0.8.4 and 0.8.6 installers. Include jar in the updater for the next release. 2011-05-21 sponge * mbuild.sh document and fixes * mbuild-all.sh add cpu types 2011-05-20 zzz * Certificate: Fix creation bug; improve router cert generation * DataHelper: - Undeprecate fromProperties() and toProperties() - Undeprecate BOOLEAN_FALSE and BOOLEAN_TRUE - Fix fromProperties() and toProperties() to correctly throw DataFormatExceptions - Add sort option - Efficiency improvements in writeProperties(), toProperties(), storeProps(), and toString() - Fix encoding issues (ticket #436) * i2ptunnel: Fix server-side stripping of X-Accept-encoding * Jbigi / JCPUID: - Remove nativeDoubleValue(), update jbigi README - Unbundle jbigi.jar, create at build time - Add support for new Intel family/model names. - Add proper support for using Core2 machines as P4. - Add support for identifying SSE 3/4.1/4.2/4A support on CPU. - Rewrite cpuid.c so it builds with PIC (source only, binary not updated yet) * LogManager: Try to prevent out-of-order logging at shutdown * Naming Services, Addressbook, and SusiDNS: - Add new API for Naming Services to support modifications - Redesign HostsTxt NS as an interface to three SingleFile NSs, one for each text file - Add locking to SingleFile NS - Redesign SusiDNS and addressbook to interface to the API instead of accessing files directly - SusiDNS requests addressbook update via the NS API - Redesign addressbook to reduce memory usage when processing subscriptions - Redesign SusiDNS to use much less memory by not loading in the whole addressbook where possible - Add new Blockfile NS for an on-disk database of hosts Based on the BlockFile database: http://www.metanotion.net/software/sandbox/block.html with substantial enhancements to lower memory usage and improve exception handling - Remove old unused AddressDB NS, FilesystemAddress NS, and PetName NS. - Restructure Dummy NS and Meta NS - Redesign NS caching to use an LRU map - SusiDNS checks for invalid host names - SusiDNS IDN conversion and better support for non-ASCII host names - Add b32 links in SusiDNS - HTML fixes and cleanups in SusiDNS - SusiDNS message and tagging cleanups - SusiDNS new details page * Stats and Graphs: - Update to JRobin 1.5.9.1 - Major rework required for 1.5.9 API - Disable graphs in JVMs that crash with 1.5.9 (gij, JamVM, Harmony) - Make graph data persistent (3 month RRD on disk), with option to disable - Improve error handling - Disable graph page refresh when appropriate - Fix HTML errors - Add restart marker on graphs - Restore zh text on graphs - Improve form save messages - Add expires directive to graphs - Refactor handling of required stats - Clean up / shorten description for required stats - Change bw.sendBps and bw.receiveBps from KBps to Bps * 2011-05-16 0.8.6 released 2011-05-13 zzz * Increase min floodfills; decrease min routerinfo expiration 2011-05-11 zzz * Use partitions of fast tier for various hops of client tunnels 2011-05-06 zzz * Tunnels and profiles: - Increase max fast and high-cap tier sizes - Slow profile eval cycle after sufficient uptime - Fix bug which started a new build after a successful build - Misc. cleanups 2011-04-28 zzz * Console: Try to prevent cascaded IllegalStateExceptions in .jsp code; add logging for original error * peers.jsp: Tag UPnP strings * UPnP: Strip trailing nulls from incoming XML to prevent "content not allowed in trailing section" exceptions * 2011-04-18 0.8.5 released 2011-04-11 zzz * Console: Hide iframe on mobile browsers * DataHelper: Speed up eq() (Ticket #437) * HTTPServer: Strip inbound X-Accept-Encoding header * netdb.jsp: HTML fixes * Plugins: Log error when console server not found * Reseed: Log tweak 2011-04-02 m1xxy * routerconsole, i2psnark, ... I2P ahora también en español: ¡Bienvenidos los hispanohablantes! - routerconsole, i2ptunnel, i2psnark, SusiDNS, Susimail fully translated into Spanish (thx to PunkiBastardo and user) * routerconsole, i2psnark, ... - French translations completed by magma 2011-03-22 zzz * Handle GNU JRE returning Long.MAX_VALUE for max memory * i2ptunnel: HTML fixes 2011-03-20 zzz * Console: Remove cache directives * i2psnark: Fix peers stuck at uninteresting after metainfo fetch * i2ptunnel: Change all clients to 3 hops by default (new installs only) * Profiles: - Nicer profile dump - More efficient profile lookup for display - Fix dumpprofile NPE - Change file suffix from .dat to .txt.gz - Set firstHeardAbout on creation * Rate: Fix equals() * Recognize links and links2 as text browsers 2011-03-12 zzz * Blocklist: Add bogons since they won't change any more * BuildHandler: Loop double-check * Console: - Fix HTML errors in form message box, logs.jsp, netdb.jsp, profiles.jsp, stats.jsp, configpeer.jsp, configtunnels.jsp, configupdate.jsp - ngettext cleanups * LogWriter: Prevent NPE after permissions fail 2011-03-11 duck * Susimail: translation support, including dutch translation. 2011-03-10 zzz * configclients.jsp: Split form up, fix HTML warnings * configui.jsp: Fix lang setting broken by previous nonce change * Console: Consolidate nonce handling * eepget: Don't send X-Accept-Encoding header to proxy (ticket #422) * logs.jsp: Fix NPE (ticket #430) * netdb.jsp: Fix table alignment * Tunnel Preprocessor: Use entropy for padding more efficiently 2011-03-08 zzz * Clock: Cleanups and javadocs * Console: - Parameterize download button tags (ticket #425) - Clean up summary bar HTML warnings - Just display a summary bar link for text browsers - Move welcome div from the readme files to index.jsp - Require a nonce to change language * EepGet: Cleanups and javadocs * i2psnark: - More efficient metainfo handling, reduce instantiations - Improved handling of storage errors - Improved handling of duplicate file names - More metainfo sanity checks - Metadata transfer error handling improvements - Code cleanup, remove dead and duplicated code * Reseed: Use the reseeder as a clock source 2011-03-02 zzz * BuildHandler: - Limit request queue size - Concurrent request queue - Remove dead code for queued reply handling * OutNetMessage: Remove dead code * Tunnel cleanups, final, javadoc * 2011-03-02 0.8.4 released 2011-02-27 zzz * Console: - Fix numerous readme HTML errors - Fix flag locations in readmes - desktopgui.enable now defaults to false; run systray if false - Start icon app before console - Restore systray form in configservice.jsp - Only save lang when clicking on flags if desktopgui is running - Only allow two-letter lang code from cgi parameter * Reseed: Disable HTTPS until we have enough working hosts again 2011-02-24 zzz * i2psnark: - Fix delete and remove buttons for Opera and w3m - Stop torrent if no valid trackers - Fix war build dependencies 2011-02-23 zzz * BuildHandler: - Lower participating throttler max limit - Cleanups and loop checks * Console: Fix summary bar HTML error 2011-02-22 zzz * BuildHandler: Prelmiinary participating tunnel throttler * I2PTunnel: - Add spellcheck=false to textareas - Fix HTML error in 503 error page 2011-02-19 zzz * I2PTunnel: Fix standalone server tunnels http://forum.i2p/viewtopic.php?t=5376 * Plugins: Fix signature verification if router.config specifies trustedUpdateKeys (ticket #416) 2011-02-18 Mathiasdm * Desktopgui now has an option to be disabled (desktopgui.enabled) 2011-02-17 zzz * Build: - Add includeAntRuntime=false to all javac targets - Add build date, mtn rev, and changed file list to all manifests - Add unless=uptodate to all jar and war targets (bob and dtg still todo) * Console: Add Arabic * i2ptunnel: outproxy2 -> outproxyng (Ticket #394 take 2) 2011-02-15 zzz * i2psnark: Details link shuffle, mostly restore 0.8.3 behavior * Profiles: Punish rejections more, in an attempt to spread the load more through the network * Timers: Log cleanup 2011-02-14 Mathiasdm * Fix headless issue without reboot 2011-02-13 zzz * Connect Client: Minor NPE fix cleanup * JobQueue: Prevent NPE at shutdown (thanks liberty) * GeoIP: Prevent startup NPE (ticket #413, thanks RN) * NetDB: Prevent ExpireLeaseJob NPE (thanks sponge) 2011-02-11 Mathiasdm * routerconsole: fixed graphs using jrobin; and headless issue in general: no more switches between headless and non-headless. 2011-02-11 sponge * I2PTunnel: fix NPE in I2PTunnelConnectClient 2011-02-10 sponge * I2CP: fix NPE in QueuedClientConnectionRunner 2011-02-10 zzz * I2CP: Correctly close internal connections on the router side when closed by the client, was causing massive memory leak for internal clients using lots of sessions (thanks sponge) (ticket #397) * i2psnark: - Improved magnet link parsing, use tr parameter if present * i2ptunnel: Change shared clients default for new clients to false * Streaming: Don't use iter.remove() on a COWAS 2011-02-09 sponge * BOB: fixup delivery in config, adds config file versioning. * I2CP: Fix most of the I2CP leaks. Two leaks remain, but they are small. net.i2p.internal.QueuedI2CPMessageReader and net.i2p.router.client.I2CPMessageQueueImpl are the two remaining leaks. 2011-02-07 zzz * i2psnark: - Check for dup magnet torrent when adding torrent file - Add exotrack.i2p (ticket #403) - Disable spellcheck in textarea * i2ptunnel: Generate error message when i2ptunnel.config save fails (ticket #404) 2011-02-06 zzz * i2psnark: Fix maggot links, and magnet links with trailing parameters (thx user) 2011-02-05 zzz * .mtn-ignore: New, to make it harder to check in stuff you shouldn't * BOB: Drop checked-in build dir * i2psnark: - Big refactor to support torrents where only the infohash is known (i.e., added by magnet links) - Big refactor to use accessors instead of public fields - Add support for metadata transfer (BEP 9) via the extension protocol (BEP 10) - Add support for adding torrents via standard magnet links (BEP 9) and "maggot" links (http://sponge.i2p/files/maggotspec.txt) - Add support for peer exchange (i2p_pex) - Add stubs for future DHT support (BEP 5) - Add more information on torrent details page; add details page for single-file torrents - Make filename filtering consistent (ticket #368) - Fix add-torrent locking (ticket #371) - Fix opentracker configuration - Add several connect-to-self checks - Add support for using new I2CP bandwidth limiter - Add support for using new in-session I2CP naming lookups - Don't expire outbound Piece messages, since we now defer loading the data from disk * i2ptunnel: - Change connect proxy default to outproxy2.h2ik.i2p (ticket #394) - IRCClient: Use tunnel log instance - Server: Full queue log tweak 2011-02-03 zzz * Build: - Remove dup flag files (ticket #316) - Remove BOB dependency on i2ptunnel * Console: Add DTG to classpath for old installs * I2PTunnel: Fix NPE * RandomSource: Fix seeding from /dev/urandom * Reseed: Limit time spent downloading from a single source 2011-02-02 sponge * BOB: Revise lookup code, bump BOB version 2011-01-31 zzz * Console: Put all socket handlers in same thread pool, set min/max threads and idle timeout * Context: Fix properties init * DataStructures: - Cleanups * DecayingBloomFilter, DecayingHashSet: Cleanups and speedups * Findbugs: Lots of cleanups * I2CP: - Add experimental bandwidth limiter - Add I2PSession API method to update tunnel and bandwidth configuration on an existing session - Filter more system properties before passing them to the router - Start work on passing per-message flags to the router via I2CP * I2PAppContext: New getProperties() method * i2ptunnel: - Use context properties as defaults * NetDB, DatabaseStoreMessage: - Convert everything from DataStructure to the new DatabaseEntry superclass - Optimizations made possible by DatabaseEntry - Don't rescan netDb directory unless changed * OCMOSJ: - Don't send expired messages - Clean up stat init * PeerManager: Make calculators static, take out of router context * Router: - Add new RandomIterator, use in UDP, peer selector, profile organizer - Add a stat to monitor peer selector run time * RouterContext: Clean up clock overrides * Streaming: - Add new real sockets for easier porting of apps. See http://zzz.i2p/topics/792 for info. Untested. - Case cleanups - Javadoc * 2011-01-24 0.8.3 released 2011-01-16 zzz * Console: Allow editing of console args * UDP: Prevent rare startup NPE * UPnP: - Change all log errors to warns (tickets #76, #95, #120) - Double socket soTimeout to 2 seconds 2011-01-15 zzz * Console: Add some HTTP headers in the view servlets 2011-01-12 zzz * Log: Fix rare initialization problem * PrivateKey: Fix hashCode() 2011-01-09 zzz * DataHelper: Speed up and annotate sortStructures() * Data Structures: More caching improvements, don't cache where we shouldn't * NetDB: Don't rescan netDb directory unless changed, to reduce Hash cache thrash (backport from test4) * RouterInfo: - Don't cache byteified data by default, to save ~1.5 MB - Don't create empty peers Set, to save ~100KB 2011-01-07 zzz * Data Structures: More caching * i2psnark: Improve request tracking to reduce memory usage 2011-01-05 zzz * build.xml: Fix findbugs target * Fix some miscellaneous findbugs bugs * i2psnark: Refactor request tracking to prevent possible deadlocks * OCMOSJ: Fix cache bug * TrustedUpdate: Fix key store bug 2011-01-02 zzz * Console: Disable spellcheck in textareas * Data Structures: More tweaks * I2CP: Fix BWLimits Message reply in standard session 2010-12-31 zzz * Console: - Make themes and history.txt return 403 on error, not 500, to avoid the new error page - Add logging, enable with routerconsole.log=filename - Link to full history.txt on help page * Data Structures: Caching cleanups * Datagram Dissector: Fix RuntimeException caused by reuse, preventing iMule from connecting on UDP (thanks devzero) * i2psnark: - Send cache directive for in-war icons * OCMOSJ: Refactor cache keys for efficiency 2010-12-30 zzz * Data Structures: - New SDSCache for SimpleDataStructures - New SimpleByteCache for byte[] - Cache Hash, PublicKey, and SigningPublicKey - Remove global lock in ByteCache * I2CP: Missing piece of parallel naming lookup * i2psnark: Fix buttons on Firefox 4.0b * i2ptunnel: - Use dropdown box to select interface for clients - Warn on index page if required fields not set 2010-12-29 zzz * Console: Add 500 error page * DSAEngine: Restore variants of methods using a Hash argument, required by Syndie, removed in 0.8.1 * Reseed: - Add new configreseed page - Add StartCom CA cert required for www.i2pbote.net 2010-12-27 zzz * Crypto: Cleanups and fixups * Console: - Add SSL support - To enable, change clients.config. Examples: ## Change to SSL only: just add a '-s' clientApp.0.args=-s 7657 ::1,127.0.0.1 ./webapps/ ## Use both non-SSL and SSL: add '-s port interface' clientApp.0.args=7657 ::1,127.0.0.1 -s 7667 ::1,127.0.0.1 ./webapps/ ## ...and change URLLauncher args further down for the browser to open https:// at startup if you like. - Add a simple history.txt servlet - Add form for I2CP options on configclients.jsp * Context: - Add hook for internal I2CP - Change temp file random to Base64 http://zzz.i2p/topics/804 * Data structure caching: - Use a single static null certificate in place of tens of thousands of them * graphs.jsp: Form tweaks, fix setting delay to 'Never' * I2CP: - Change from the internal pseudo-socket that was implemented in 0.7.9 to an internal Queue that directly passes I2CPMessage objects. For in-JVM clients, this eliminates two writer threads per client and avoids the serialization/deserialization of I2CP messages. - New option i2cp.disableInterface to turn off external I2CP port (7654) and allow internal clients only - I2CP over SSL, enable with i2cp.SSL=true - Bypass authorization for internal accesses - Move BWLimits and DestLookup message support from I2PSimpleSession to I2PSessionImpl - Include the Hash in the DestReplyMessage on a failed lookup so the client may correlate replies - Add support for parallel lookups and BWLimits requests - Add support for specifying the timeout for DestLookups (can only be smaller than the router timeout for now) - Extend dest lookup router timeout from 10s to 15s * i2psnark: - Backport TrackerClient NPE fix - Fix last piece length calculation for torrents > 2GB (ticket #361) * i2ptunnel: - Get Log from the logManager instead of instantiating, so we may adjust the levels on the fly - Better logging of server errors - Return 503 to client before closing i2p socket if server is not there - Extend header timeouts for HTTP and IRC server tunnels - Limit server blockingHandle threads - Run standard server blockingHandles inline - For clients, use a common thread pool that expires idle threads rather than keeping 5 accept() threads for each client. - Use pool for HTTP decompression also. - Disable router host/port options when in router context - Add blacklist, connection limit, and jump list options to edit form * Pack200: Find and use either Oracle or Apache library at runtime; neither required at compile time. * Router: Convert 'mark router liveliness' thread to SimpleScheduler * Stats: Change stat.full default to false * Threads: - Reduce thread pool sizes based on memory and/or bandwidth limits - Tweak some thread names for clarity * Update: - Change the UpdateHandler to try all sources in a loop, rather than one, so the user need not retry manually - For each source, fetch the first 56 bytes and check the version before downloading the whole thing, so we need not wait for every host to have the latest before updating the news. 2010-12-26 sponge * URI resource fixes from pre-review time from upstream prior merge * Evolve URI fixs another step. * Document how the URI path fix works. * Fix 302 redirects so they URL encode properly. * bump to -1 * 2010-12-22 0.8.2 released 2010-12-13 dr|z3d * Console themes: Midnight & Classic renovations. 2010-12-12 zzz * i2psnark: - Fix end-game deadlock - Fix last-modified check for multifile torrents, causing apparent loss of data after abnormal exit - Tweaks 2010-12-11 zzz * Build: Fix 'ant distclean poupdate' again * I2CP: Change a log error to a warning (ticket #353) * i2psnark: - Restore text (ticket #273) - Fix several HTML errors (ticket #273) - Fix HTML error causing info links to be unclickable in dillo (tiicket #273) - Fix alt text duplicated or looking bad in text browsers (ticket #273) - Fix Opera button errors (ticket #332) - Fix POST resubmission errors (ticket #334) - Catch FetchAndAdd copy error (ticket #352) - Set permissions on downloaded torrent files - Hide some columns when not running - Lots of spacing cleanups - Rename images so users don't end up with unused files - Remove ~15 unused images - Clean up theme selection speed-coding exercise - Indent fixes * Log: Don't double-timestamp CRITS in wrapper.log * News: XML fixes (ticket #350) * Plugins: Better handling of signing keys (Ticket #351) * TunnelPoolManager: Fix rare startup NPE (http://forum.i2p/viewtopic.php?t=5192) 2010-12-10 Mathiasdm * I2PTunnel: Fixed up security fix. 2010-12-07 Mathiasdm * I2PTunnel: Security fix: change server reply to return 'I2PServer' instead of the actual servername. 2010-12-06 dr|z3d * I2PSnark: - Resolve table header wrapping issue. - Vanilla/Ubergine theme enhancements. 2010-12-05 zzz * DataHelper: Have readLong() and readString() throw an EOFException instead of a DataFormatException on EOF, which should lower the log severity in I2CP and I2NP when a client or peer disconnects. 2010-12-02 zzz * Console: Format console refresh time * I2NP: Allow message to be written more than once, instead of throwing an IllegalStateException * i2psnark: Fix extension messages * Streaming: Restore I2PSocketManagerFull as public (broke jwebcahe ticket #345) * Transport: Hamachi address block 5/8 assigned by IANA 2010-12-01 dr|z3d * Console: - Extensive reworking of ieshim.css for classic theme/Internet Explorer. - Additional console_big.css files for other themes to enhance doublebyte glyph support. * I2PSnark: - Make show/hide peers and stop/start all torrent buttons more obvious. - Rework Vanilla icons to bring in line with color scheme. 2010-11-30 zzz * I2CP: Try to hide Pipe closed messages (several tickets) * i2psnark: Move PeerCheckerTask from Timer to SimpleTimer2 to save some threads * Logging: - Limit buffer size; block and wakeup writer when full - Limit errors written to system log - Add method to force a log below the current level - Try to fix log flushing error * Streaming: Change some logged errors to warnings (tickets 76, 341 and others) 2010-11-29 dr|z3d * Updated console theme "light". 2010-11-29 zzz * i2psnark: - Don't timeout queued piece messages * Logging: - Use System locale and time zone for default date/time format, so it matches the wrapper log time (we can't set the wrapper log time zone). (existing installs must remove logger.dateFormat line in logger.config to get system default format) - Force RuntimeExceptions to CRIT level - Don't have log() count buffer size * Streaming: Make all classes outside the API package private * UDP: - Fix bug causing PacketPusher to loop quickly instead of sleeping - Fix udp.sendCycleTime stat - Fix speed values on peers.jsp - Try to fix rare NPE (ticket 298) 2010-11-28 zzz * Build: Move all dependencies to top-level build.xml, so each sub-build.xml is only executed once * i2psnark: - Fix NPE and other partials bugs - More extension message stubbing - Log tweaks * I2PTunnel: Deprecate destFromName() 2010-11-27 zzz * Build: - Add man pages to package - New updaterWithJavadoc target * configstats.jsp: Fix NPE * Console: - Linkify "plugin installed and started" message - Add link to javadocs if installed * i2psnark: - Drop queued outbound requests when choked - Redo some data structures and locking to hopefully prevent deadlock - Memory reduction part 3: Return partial pieces to PeerCoordinator when choked * Streaming: Fix race NPE at stream close 2010-11-27 dr|z3d * I2PSnark: New alternative theme: "Vanilla". * Big thanks to sponge for implementing the theme changer! 2010-11-27 sponge * Plugin: ticket 336 fix NPE 2010-11-27 sponge * Slackware: bump i2p-base version, so that it can be upgraded with the new base code fixes. 2010-11-26 sponge * i2psnark: Don't save theme parameter if it has not changed. 2010-11-26 sponge * i2psnark: Add theme change and theme selection storage abilities. 2010-11-26 zzz * Console: Split initialNews.xml into a file for each language don't copy to config dir at install. * i2psnark: Clean up and enhance the PeerCoordinator's partial piece handling, in preparation for more improvements * LogManager: When not in router context, delay creating log file until required * NetDb: Lower RouterInfo expiration time again * Router: Prevent NCDFE after unzipping update file * Transports: Round time to prevent clock bias, also adjust for RTT in UDP 2010-11-26 dr|z3d * Readme: Overhaul (English) layout and text. 2010-11-25 dr|z3d * Console themes: Classic and Dark theme refresh. * Fix langbox overflow issue in all themes. 2010-11-24 zzz * configui: Add .pt * configtunnels: Log cleanup * graphs: Synch to conserve memory; cleanup * i2psnark: - Prevent dup requests during end game (ticket 331 - thanks sponge and Oct!) - POST parameter tweaks - Message cleanup * logs: Add trac login hint * Router: - Save some info to config file when installing or updating - Remove global lock on accessing config - Add global lock on reading/writing config file * SimpleDataStructure: Fix problem in fromBase64() that manifested itself as a configtunnels.jsp bug 2010-11-24 sponge * Slackware, fix rc.i2p, bad logic. 2010-11-24 sponge * Plugin: ticket 104 Fix webapp isRunning to check ALL webapps. The only defecency is that if one is running, that it considers the entire pliugin to be running. I'm not sure if that is a good thing or a bad thing, but the other code checks threads that way. 2010-11-22 zzz * Addressbook: Fix rename error on Windows (tkt 323 - thanks RN!) * build.xml: Cleanup, fix distclean error in older ants. * Console: - Convert GraphHelper to a FormHandler - Require POST for all forms - Change the way we store the Writer to prevent problems - Fix bonus setting on configpeer.jsp - More ".jsp" removal * i2psnark: - Defer piece loading until required - Stub out Extension message support - Convert GET to POST, require POST * NTCP: Log tweak * SSLEepGet, Reseeder: - Implement additional CA loading - Provide facility to reuse SSL state for speed - Provide facility to store previously untrusted certificates - Add www.cacert.org cert to the installer and updater so SSL on a.netdb.i2p2.de and c.netdb.i2p2.de will work - Add SSL reseed hosts, prefer them by default - Reseed message cleanup 2010-11-19 zzz * Addressbook - Store last-fetched time so we don't always fetch subscriptions after restart - Randomize first fetch time - Make most classes package private * Console: Rewrite URLs so we don't need .jsp * i2psnark: Recognize postman b32, recognize ogv and oga. * i2ptunnel: - More work on error propagation and improving log messages - Increase nonce queue size again * News: - Store news last-fetched time so we don't always fetch news after restart - Don't include news in the updater * peers.jsp fixups * PrivateKeyFile: Speedups and better messages * SecureFile: New class, catch places that were missed, add i2p.insecureFiles option to disable (default false) 2010-11-17 zzz * Addressbook: Try to save files safely * Console: Display durations with new tagged formatDuration2() * DataStructures: - Shim in 3 new abstract classes SimpleDataStructure, KeysAndCert, and DatabaseEntry * I2CP: - Send DisconnectMessage at router shutdown - Add username/password authorization * I2PTunnel: - Improve messages when starting and stopping tunnels - Index page outproxy display cleanup * I2PTunnel HTTP and Connect clients: - Shim in a new abstract superclass I2PTunnelHTTPClientBase for common code - Add local proxy username/password authorization - Add outproxy username/password authorization - Filter hop-by-hop Proxy headers appropriately * I2PTunnel SOCKS and SOCKS IRC clients: - Add local proxy username/password authorization - Add SOCKS 5 outproxy support, with username/password authorization * logs.jsp: Format multiline messages better * Stats: Improve Frequency, enable coalescing; cleanup and javadocs * stats.jsp: Cleanup, more tagging, hide obscure stuff unless ?f=1 * Streaming: Fix bug causing read() to incorrectly return EOF * 2010-11-15 0.8.1 released 2010-11-08 zzz * I2CP: Fix NPE caused by null session options (seen in i2pbote) 2010-11-06 HungryHobo * New Ant target: debianrepo * Rename debian target to debian-binary * New debian target generates binary and source packages * Debian tweaks 2010-11-03 zzz * Merge and snark fixups 2010-11-01 zzz * ClientConnectionRunner: Add synch to fix race causing AIOOBE (http://forum.i2p/viewtopic.php?t=5061) * configlogging.jsp: Parse log limit with current locale (ticket #118) * i2psnark: - Limit number of parallel requests of a single piece when in the end game - Shorten and weight the speed tracker so the display is more reflective of current speed * logs.jsp: Add message if wrapper log not found (ticket #103) 2010-10-30 zzz * i2psnark: - Priority mapping bugfix - Close files as we go when creating/checking so we don't run out of file descriptors - Update request queues after priority change - Only add wanted pieces to wanted list at startup - Make sure lastRequest is null when it should be - Delay during StopAll so we don't close the tunnel before the stopped announces go out and reopen it - Logging tweaks 2010-10-27 zzz * i2psnark: - Don't stay interested if we run out of pieces to request (thanks sponge) - Enhance debug mode to show requests - Priority mapping bugfix * Transport: Avoid rare NPE at startup 2010-10-24 zzz * FileUtil: Make it easier to compile without Pack200, or with Apache Harmony's Pack200, add unzip to main() * i2psnark: Catch a race after disconnect() * NTCP: Catch a race after stop() * Router: Set permissions on wrapper.log when not called by RouterLaunch * Systray: New doc and main() 2010-10-22 sponge * Sanity and some fixs for slackware package 2010-10-22 sponge * Fix rc.i2p for slackware package 2010-10-19 zzz * Escape & in logs and i2psnark (much more to do) * JobImpl: Deprecate two debugging methods * replaceAll() -> replace() when we don't need regex 2010-10-15 zzz * i2psnark: Add file priority feature * I2PSocketEepGet: Set connect delay to save a RTT, will speed announces in i2psnark 2010-10-12 zzz *** 1.6 or higher JDK now required to build * configlogging.jsp: - Add easy way to add an override - Make file size specifier more flexible * Console: - Sort RouterAddress options on netdb.jsp and peers.jsp - Remove unused web-*.xml file from war * Crypto: - Convert all ArrayList caching to LBQs in YKGenerator, HMACGenerator, and AESKeyCache. - Change DSAEngine params from Hash to new SHA1Hash, since these were really 20 byte hashes, not 32 byte Hashes. - Add stats to track YKGenerator caching success - Fix YKGenerator precalculation to be much more useful by increasing the cache size and dramatically shortening the delay - Option cleanups - YKGenerator cleanups - Mark HMAC256Generator unused * EepGet: Reset length variable on redirect * Files: Change permissions to 600/700 for all written files/directories. Now requires Java 1.6 to build, but only 1.5+ to run. (requires 1.6 to set permissiomns) * GeoIP: Fix locking bug causing lookups to stop * Hash: Throw IAE if data length is not 32 bytes, now that DSAEngine abuse is gone * HTTPResponseOutputStream: - More caching - Stats cleanup - Max header length check - Catch OOM - Initializer cleanup - Javadoc * I2CP: - Add new option i2cp.messageReliability=none, which prevents the router from sending MessageStatusMessages back in reply to an outbound SendMessageMessage. Since the streaming lib always ignored the MSMs anyway, make it the default for streaming. This will reduce the I2CP traffic significantly. MSM handling now avoided, but it is still fairly broken, see comments in I2PSessionImpl2. - Cleanups to replace method calls with fields - More cleanups, javadoc, rate reduction * i2psnark: - Compact response format - Add link to finished torrent in message box - Don't let one bad torrent prevent others from starting or stopping - Sort peers by completion % - Add some missing mime types to web.xml - shouldLog() cleanup * i2ptunnel: - Now that streaming flush() is fixed, use it in IRCClient, and for initial data in I2PTunnel runner, to avoid the 250 ms passive flush delay - Add hostname DSA signature field, to be used for addkey forms. Experimental, may be commented out later. - More header blocking (thanks telecomix!) - Remove unused web-*.xml file from war * Installer: Add startup hint for non-x86 * Javadoc updates all over the place * LogConsoleBuffer: Java 5 * Naming: - Increase cache size and expiration time - Add clearCache() method - Don't use EepGet or Exec for b32 - Javadoc updates * NetDB: - Expire unreachable routers quickly, even if they don't have introducers, so we don't have old data on routers that ran out of introducers. - Fix rare NPEs at shutdown * NTCP: - Cleanups * Streaming: - Make flush() block less, by waiting only for "accept" into the streaming queue rather than "completion" (i.e. ACK from the far end). This prevents complete stalls when flushing, and should help performance of apps that use flush(), like i2psnark (and SAM?). close() still does a flush that waits for completion, as i2ptunnel doesn't like a fast return from close(). - cleanups * SusiDNS: - Remove unused web-*.xml file from war * TransportManager: Convert _transports from a List to a CHM to prevent a rare concurrent exception * Tunnels: - Don't use peers < 0.7.9 for tunnels due to the old message corruption bugs - Javadoc - Cleanups * UDP: - Beginnings of destroy message support - Try to avoid running out of introducers by relaxing selection criteria and increasing minimum number of potential introducers - Avoid rare AIOOBE - PacketBuilder refactor - Make most classes package private - Comments - Logging cleanup - Comment out a main() 2010-10-10 sponge * Fulfill Request for name resolving in BOB 2010-09-15 dr|z3d * I2PSnark: Overhaul UI, implement new theme. * 2010-07-12 0.8 released 2010-07-08 zzz * I2PTunnel: More error propagation fixes 2010-07-07 duck * RouterConsole: Add Help & FAQ link, minor label improvements. 2010-07-05 zzz * i2psnark: Fix transition to end game * I2PTunnelIRCClient: Filter PART messages like we do for QUIT 2010-07-04 duck * RouterConsole: Dutch translation (thanks to monkeybrains) 2010-07-03 zzz * Build: Fix poupdate dependencies * I2PTunnel: More error propagation fixes * I2PTunnelHTTPClient: Don't use BufferedReader 2010-07-01 zzz * EventDispatcher: Minor cleanups and comments * I2PTunnel: Don't start a tunnel if no valid destinations; cleanups, logging, and error propagation fixes * Transport: Fix NTCP address generation when host is specified but port is auto 2010-06-29 sponge * 25%-50% cpu savings in BOB. The remainder of the fix is in streaming lib, which aparently keeps running and does not sleep according to profiling. 2010-06-29 zzz * CapacityCalculator: Cleanup * I2PTunnel: Add default HTTPS outproxy * Jetty: Disable TRACE and OPTIONS in console and eepsite * RouterInfo: Add main() to dump RI files * Scale prng.buffers based on max memory, reduce default from 16 to 9 * SOCKS: Better HTTP error message 2010-06-26 zzz * I2PTunnel: - Move connection profile and delay connect to advanced config section - Add persistent client key support to SOCKS IRC - Fix display of interactive setting * jbigi, jcpuid: Suppress log messages when not in router context * jetty.xml: Add info on how to configure for following symlinks * logs.jsp: Add more JVM version info so we can distinguish OpenJDK from Sun 2010-06-16 zzz * Console: Sort countries with selected locale * FileUtil: Try to handle lack of unpack200 support more gracefully * Update: Select old update URL if no unpack200 available 2010-06-13 zzz * Console: Add some divs for languages to news and readmes * HTTP Proxy: Pass different User Agent to outproxy * i2psnark: - Move config to separate page - Icon tweaks * Translation: zh fix 2010-06-12 welterde * fixed possible race-condition and improved code style in ObjectCounter utility class * 2010-06-07 0.7.14 released 2010-06-07 zzz * Misc tweaks after code review 2010-06-05 zzz * Netdb: - Use new receivedAsReply flag in LeaseSet to mark those received as response to a query - Mark which methods in FloodfillPeerSelector may return our own hash - Redefine selectNearest() so it may return our own hash, so it can be used for closeness measurement - Redefine findNearestRouters() to return Hashes instead of RouterInfos - Fix LeaseSet response decisions for floodfills, based on partial keyspace and closeness measurements - List only count of published leasesets in netdb 2010-06-03 zzz * NewsFetcher: Delay a minimum amount at startup * Update: Fix multiple updates after manually starting update - caused by refreshing summary bar (thx 'backup'!) 2010-06-02 zzz * graphs.jsp: Tag some more * Translation: Set xgettext add-comments option * UDP: Fix a bug from a blank i2np.udp.host config causing frequent RouterInfo updates and incorrect addition of introducers, caused by config.jsp handling * Update: Change default update URLs to .su2 for pack200 2010-06-01 zzz * i2psnark: - More listing fixes - Revert choker change - Start end game a little sooner * Installer: Disable pack200 in updater again, doesn't work on Java 1.5 * Remove jetty from updater - it's been in for a few releases, and i2psnark now has its own listHTML method 2010-05-27 zzz * Translate: Add GNU ngettext (plurals) support 2010-05-26 zzz * i2psnark: Listing fixes and cleanups; icons on front page; tweak bw choker again 2010-05-24 zzz * i2psnark: Listing icons and cleanups 2010-05-23 welterde * core: - fixed major security hole in DatagramDissector * I2PTunnelServer: Implemented WEBIRC support in IRC server tunnel 2010-05-23 zzz * i2psnark: - Choke slower when at bandwidth limit - Fix completion % for small files - Use Random from context * NewsFetcher: - Add backup URL - Change to 0 retries (was 2) 2010-05-21 zzz * i2psnark: - Spiff up dir listings - Urlify some messages - Only go into end game at the end 2010-05-19 zzz * Data: Remove lots of unnecessary initializers * susidns: More validatation when adding entry 2010-05-15 zzz * Console: - Tag text in graphs - Move SummaryRenderer to its own file * Eepsite: Set no-cache in redirecting page * Hash: Move caching XOR methods only used by KBucket into netdb * i2psnark: CSS tweaks * Log: Translate priority 2010-05-13 zzz * netdb.jsp debug tweaks * Plugins: Try to prevent ZipErrors after upgrade 2010-05-10 zzz * Console: - Summary bar tweaks - Add monthly bw estimate * DataHelper: Deprecate inefficient eq() methods * i2psnark: - Add tunnel config dropdowns - Comment out old proxy stuff * NetDB: - Handle old and duplicate stores more efficiently - Have DataStore put() return success - Move getDistance() to its own class * Router: Add router.forceBandwidthClass advanced config for testing * Streaming: Add support for connection throttling * TunnelPoolManager: Concurrent * UDP: To help limit connections, don't offer to introduce when floodfill 2010-05-10 sponge * PluginStarter: If there is some delay, there may be a really good reason for it. Loading a class would be one of them! So we do a quick check first, If it bombs out, we delay and try again. If it bombs after that, then we throw the ClassNotFoundException. 2010-05-05 zzz * build.xml: Create packed sud in release * Console: - Print stack trace if exception on startup - IllegalStateException rather than NPE if no context * EepGet: Limit max times to fail completely even if numRetries is higher * i2psnark: Skip 'the' when sorting snarks * I2PTunnelHTTPClient: Reject 192.168.* * Plugins: - Set classpath for specific client only, not for the whole JVM - Use ConfigDir() not AppDir() * Replace size() <= 0 with isEmpty() everywhere, ditto > 0 -> !isEmpty() * RouterInfo: Clean up use of sortStructures() 2010-05-02 zzz * ByteCache: - Add a per-cache stat - Limit each cache based on max memory - Disable in UDP MessageReceiver - Add clearAll() method to be called when under severe memory pressure; call from Router * Plugins: Fix version checker bug 2010-04-27 zzz * i2psnark: Serve downloaded files from the servlet rather than with a file: link * Jetty: Backport directory listing bugfix from jetty 6 * peers.jsp: Cleanup and tag * 2010-04-27 0.7.13 released 2010-04-23 zzz * Plugins: Cleanups 2010-04-21 zzz * EepGet: Don't convert a MalformedURLException into an IOE so we recognize it when it's thrown * ReusableGZIPStreams: - Concurrent - Workaround for Apache Harmony 5.0M13 Deflater bug * TrustedUpdate: Increase buf size for extraction 2010-04-18 zzz * configclients.jsp: Start button logic for clients was inverted * Console: IRC links in readmes and initialNews * I2PTunnelServer: Debug log incoming conns * Transport: Reduce floodfill max NTCP conns to 425 (was 500) 2010-04-16 sponge * BOB early session destroy to speed up tunnel tare-down. 2010-04-15 zzz * DataHelper: Limit max length in readline() * Floodfills: Increase max to 100 (was 60) and min to 60 (was 45) * i2ptunnel: Log tweaks * I2PTunnelHTTPServer: Limit max header lines 2010-04-15 sponge * I2PTunnelHTTPClient: Test for "http://:/" and output error page. This avoids an ArrayIndexOutOfBoundsException, which can eventually cause the eepproxy to stop functioning. 2010-04-12 zzz * configstats.jsp: Fix full stats checkbox default * i2psnark: - Concurrent, limit, display, log tweaks * i2ptunnel: Implement access lists for TCP servers. Enter b32 or b64 hash or dest into list box, and check enable for whitelist. Uncheck enable and enter i2cp.enableBlackList=true in advanced i2cp options for blacklist. Todo: make black/whitelists radio buttons. * LogManager: Concurrent 2010-04-10 zzz * i2psnark: - Disconnect seeds that connect to a seed - Lower per-torrent conn limits for large pieces * Startup: - Don't die horribly if there is a router.info file but no router.keys file http://forum.i2p/viewtopic.php?t=4424 - Log tweaks * Streaming: - Fix the window size increment logic so it does it much more often 2010-04-08 zzz * Key Manager: Hopefully avoid some races at startup http://forum.i2p/viewtopic.php?t=4424 * OCMOSJ: - Increase min timeout - Logging tweaks * Streaming: - Detect and drop dup SYNs rather than create a duplicate connection - will hopefully fix "Received a syn with the wrong IDs" - Send reset for a SYN ACK with the wrong IDs - Don't send a reset to a null dest - Logging tweaks - Cleanups 2010-04-05 zzz * Console: - Add tooltip support for plugin links - Make target=_blank for plugin links - More HTML transitional fixes - Standardize on 'save' to the right of 'cancel' 2010-04-02 zzz * FloodfillPeerSelector: Adjust rankings again 2010-03-31 zzz * FloodfillPeerSelector: Adjust rankings to try to improve LeaseSet lookups * HostsTxtNamingService: Don't load the whole hosts.txt into memory for every lookup 2010-03-29 zzz * build.xml: Prep for a windows-only pkg * configclients.jsp: - Always show start button for webapps and plugins * configclients.jsp, configupdate.jsp: - Fix submission when entering CR in a text box * EepGet: Don't retry after a MalformedURLException * HTTPResponseOutputStream: More static * Plugins: - Stop all plugins at shutdown - Log tweaks * WebApps: - Remove the WAC after stopping it - Stop a WAC before starting it to prevent dups - Implement destroy() in addressbook to prevent dups - Implement destroy() in i2psnark to prevent dups 2010-03-25 zzz * configclients.jsp: Fix dup anchor * Console: Sort plugin links in summary bar * i2psnark: - Send numwant=0 if we don't need peers - Report returned complete and incomplete counts if higher than peer count - Allow missing peer list - Log tweaks * netdb.jsp: Tag transport properties * Plugins: Remove final check and install console messages after a while * PrivateKeyFile: Add b32 output * Reseed: Add another host 2010-03-18 zzz * Blocklist, CommSystem, FIFOBandwidth, TransportManager, OutNetMessage, InNetMessagePool: - Java 5 cleanup * ByteCache: - Replace some locks with concurrent * Clients: - Negative delay means run immediately and inline - Add methods to test class and run inline, to propagate errors to the console - Use new methods for plugins - Add javadoc for clients.config format * config.jsp: Set burst to +10% for 20s by default, to fix bug where the burst stays high when limits are reduced. * FIFOBandwidthRefiller: - Replace global counters with atomics - Use lockless shortcut methods to grant requests if we can satisfy immediately * i2psnark: Tweak upload bw tracking * Installer: Enable pack200 (-3.3MB) * Job Queue: - Replace some locks with concurrent - Change job ID to a long so it won't wrap - Remove some unused stats - Java 5 and debug cleanup * KeyManager: Concurrent * logs.jsp: Add link to trac * netdb.jsp: Display transport cost if not default * Peer Manager: - Replace some locks with concurrent - Switch back to fast version of getPeersByCapability() - Java 5 cleanup * Streaming: Concurrent * Throttle: - Remove some unused stats * Tunnel Builds: Enable VTBM * Tunnel Dispatcher: Discard at IBGW based on router clock, not system clock. * TunnelGatewayPumper: - Refactor for concurrent * UDP: - Big refactor of several classes for concurrent, elimination of several locks - Reduce max number of resent acks in a packet to lower overhead - Take incoming messages from the head of the queue, not sure why taking them from the tail "reduces latency" - Java 5 cleanup 2010-03-17 zzz * I2PTunnel: Disable nonce checking when console password set * Reseed: Add another host * 2010-03-15 0.7.12 released 2010-03-13 zzz * Partial fix for i2ptunnel nonce troubles 2010-03-08 zzz * Floodfills: Increase max to 60 (was 28) and min to 45 (was 20) * i2psnark: Better track outgoing bandwidth by incrementing counter before the blocking write * Random: Remove and deprecate some old classses * Reseeder: Reduce max response size to 1MB (was 8MB) 2010-03-05 zzz * Console: - Tag reseed messages - Translate country names on flag popups * I2PSOCKSIRCTunnel: - New, for filtering IRC client traffic when using SOCKS * I2PTunnelIRCClient: - Make filter classes static and public for use by SOCKS - Eliminate redundant case conversion - Pass ISON message through (jIRCii uses it for pings) - Switch back to StringBuffer since it's used by 2 threads - Set daemon on filter threads * SOCKS5Server: - Fix handling of multiple authentication methods 2010-03-02 zzz * Console: - Add link to jobs.jsp on configservice.jsp - Add plugin disableStop support * Context: Add boolean getProperty methods * HTTP Proxy: - Fix address helper conflicts caused by last checkin - Use B32 instead of random hostname for conflict link * LoadClientAppsJob: - Fix unquoted arg after quoted arg - Logging cleanup 2010-02-27 zzz * eepsite: Add some help to index.html * HTTP Proxy: - Put B32 instead of B64 in Host: header, saves 450 bytes - Eliminate some redundant lookups - Fix http://i2p/b64/ and /eepproxy/site/ requests - Disallow a port specified for an i2p address - Cleanup and comments - For more info see http://zzz.i2p/topics/566 * i2psnark: - Fix NPE after create file failure - Sanitize more characters in file names * netdb: Fix NPE after OOM http://trac.i2p2.i2p/ticket/38 * NTCP Transport: - Replace lists with concurrent queues in EventPumper and NTCPConnection to remove global locks - Java 5 cleanup * Plugins: Support console themes * UDP Transport: - Replace the unused-since-2006 TimedWeightedPriorityMessageQueue with DummyThrottle - Don't instantiate and start TWPMQ Cleaner and OutboundRefiller threads, part of priority queues unused since 0.6.1.11 - Don't instantiate and start UDPFlooder, it is for testing only - Prevent NPE http://zzz.i2p/topics/571 2010-02-23 zzz * Unzip: Any files in the zip with a .jar.pack or .war.pack extension will be transparently unpacked with unpack200. Savings is about 60%. Someday we will do this for suds, but we can do it for xpi2ps now. * build: Add updater200 target 2010-02-22 zzz * configclients.jsp: - Add js delete confirm - Remove delete button for webapps * i2psnark: - Ignore a non-i2p tracker in a torrent rather than deleting the torrent, thus "converting" a torrent to in-netowrk use via the open trackers - Add js delete confirm 2010-02-19 zzz * i2psnark: Make file box bigger * Plugins: - Fix display of download status - Unhide 2010-02-18 zzz * Clock: Slew tweak * i2psnark: Improve error message when finding HTML * HTTP Proxy: Fix blank page instead of error page for eepsite unreachable * Plugins: - Fix plugin start button - Change signer prop to match docs - Tweaks * Transport: - Fix recognition of IP change when not firewalled - Require consecutive identical results from two peers before changing IP * TrustedUpdate: CLI exits 1 on failure for ease of use in scripts 2010-02-15 zzz Propagate from 3 dev branches. i2p.i2p.zzz.test: * Clock: - getFramedAveragePeerClockSkew() now returns a long (ms); was a Long (s) - Implement NTP-style clock slewing so the clock is adjusted gradually - Implement clock strata so we prefer better clocks - Implement a timestamper in the transport so we will periodically update the clock even if NTP is not working. This allows the router to converge the clock instead of simply hoping the first connected peer is correct. - Slow down NTP attempts after several consecutive failures * Console: refactor and tag update messages * Streaming: MessageOutputStream logging tweaks * Transport: - Prepare for using address costs - Adjust bids based on address cost - Increase cost if near transport capacity, disabled until 0.7.12 - Clear the geoip negative cache periodically i2p.i2p.zzz.plugin: * Jrobin: Move from routerconsole.jar to its own jrobin.jar, adjust classpath in routerconsole.jar manifest * Plugins: New plugin support, hidden for now, enable with router.enablePlugins=true Configure and add plugins on configclients.jsp Supports the following: - Console webapps - New translation bundles - Link on console - Anything that can be started in clients.config - Additions to classpath for clients and webapps * TrustedUpdate: - Add method to check if we know about a key - Add method to add a key - Add method to extract without verifying - Add method to get key signer name * Webapps: Allow additions to a webapp classpath. - Pull jstl.jar and standard.jar out of susidns.war - Remove 100KB of duplicate classes from i2psnark.war i2p.i2p.zzz.VTBM: * I2NP: Add UnknownI2NPMessage so we can route unknown message types * Tunnel Builds: - Add getRecordCount() to TunnelBuildMessage and TunnelBuildReplyMessage so they can be extended. - New I2NP Messages VariableTunnelBuildMessage and VariableTunnelBuildReplyMessage, which contain the number of request slots in them. - Convert all static assumptions of 8 slots to getRecordCount() - Use the new VTBM if all hops in the tunnel and the OBEP or IBGW of the reply tunnel support it, and the tunnel is 4 hops or shorter. - Reply to a VTBM with a VTBRM of the same size - Make BuildReplyHandler static - Convert the currentlyBuilding List to a ConcurrentHashMap to speed reply lookups and eliminate a global lock; don't put fallback tunnels in there - Add new tunnel.corruptBuildReply stat - Various cleanups and javadoc - Fix first hop expiration for Build Messages, was way too long - Randomize Build Message expiration to make it harder to guess hop position - Save expired tunnel build configs for a while, so that we will still use the tunnel and update peer stats if the reply comes in late - Don't update our own profile for Tunnel Build Replies - VTBM generation only through routers >= 0.7.12 - VTBM generation disabled for now * 2010-02-15 0.7.11 released 2010-02-13 sponge * Fix addWebApplications API goofup * Bump BOB version, which I forgot to do. 2010-02-13 zzz * Floodfills: Increase max to 28 (was 15) and min to 20 (was 10) 2010-02-12 sponge * org.mortbay.jetty.Server modified method to accept attributes for batch webapp launches via addWebApplications. 2010-02-10 zzz * I2PTunnelRunner: Flush initial data, for some reason it wasn't getting flushed ever in some cases. 2010-02-10 zzz 64-bit windows installer fixes. Still no 64-bit wrapper. Thanks eche|on for testing! * Izpack: Add 64-bit windows dll so installer doesn't die trying to add shortcuts * Launch4j: Upgrade to launch4j 3.0.1 2008-07-20. The license is BSD for launch4j and MIT for the wrapper code in head/ Changelog is in installer/lib/launch4j/web/changelog.html Hopefully this will fix installs for 64-bit JRE on 64-bit windows. The previous version was 2.0-RC3 2005-08-13. The previous license was GPLv2 for launch4j and LGPLv2.1 for the wrapper code in head/ The bin/ld.exe and bin/windres.exe files were contributed by i2p users in 2005 so the i2p installer could be built on windows. They have not been updated for 3.0.1, so pkg builds on windows will presumably still get 2.0-RC3. 2010-02-06 zzz * Console: Fix saving update keys, was broken in 0.7.10 * i2psnark: Add transmission ID * news.xml: Wrap i2p version tags in XML comment * Transport: Try yet again to prevent two NTCP pumpers 2010-02-04 zzz * i2psnark: Fix sending stopped events to the tracker 2010-02-03 zzz * Console: - Hide update buttons and update config if install dir is readonly or if configured - Show yellow star if no outbound tunnels * i2psnark: Don't prefer to opportunistically unchoke unchoking peers when not interested * NetDb: Lower min RouterInfo expiration to 2.5h (was 3h) 2010-01-31 zzz * i2psnark standalone: Fix CSS * Jetty: Update to 5.1.15 to get ResourceHandler fix 2010-01-30 sponge * Fix NPE in TCPtoI2P when a lookup fails, report the error to the stream. * Fix setkeys bug in DoCMDS, forgot to create the object before calling it's methods, which threw an NPE. 2010-01-29 zzz * build.xml: Add a debian-source target * Data structures: - Speed up some hashcode() and equals() - Cleanup and javadoc * Jetty: Turn on checkAliases * NetDb: - Add basic DOS prevention for lookups - Move flood throttle check so we don't throttle ourselves - Don't store over client tunnels to pre-0.7.10 floodfills - Don't update unused lease fail stats * Startup: Disable browser launch for debian daemon 2010-01-28 welterde * enhance support for multiple RouterAddresses' of the same style in RouterInfo 2010-01-26 zzz * build.xml: Speed up distclean additions * Clock: Don't refuse to update because of peer skew the first time * Debian: Fixup, update, enhance scripts * I2NP: Various cleanup and bulletproofing * Log: Try to avoid complaints at shutdown * Profiles: Fix lack of profiles at router startup, especially for new routers * stats.jsp: Shrink the dropdown box 2010-01-24 zzz * ProfileOrganizerRenderer: Cleanups * Reseed: Update welt's reseed hostname * Transport clock skews: - Store and report UDP clock skews even for large values, so a badly skewed local clock will be reported to the console - Don't shitlist for NTCP clock skew if we don't know what time it is - If NTP hasn't worked yet, have NTCP or SSU update the clock one time - Include failed clock skew in NTCP skew vector if there aren't many connections - Don't include NTCP clock skews for non-established connections - Fix framed clock skew frame size - Report framed clock skew even if for only one peer, if NTP hasn't worked yet - Don't log RRD errors after clock adjustment - Reduce min skew for console warning to 30s (was 45s) - More Java 5 cleanups 2010-01-24 zzz * Clock: - Don't let a client update the router clock - Restore and enhance vanished clock error log message * Graphs: Enforce max size to lessen chance of OOM from malicious link * NetDb: - Move stat initialization, reduce number of rates - Add basic DOS prevention by not flooding if stores are too-frequent * ProfileOrganizer: - Limit High Cap to 75 max - Reduce max lock wait time, change no lock error to warning - More cleanup * Startup: - Enable multiple parallel job runners much sooner to speed startup - Rearrange the startup order to get the long jobs started sooner - Don't allow the netDb readin job to clog the job queue 2010-01-21 dr|z3d * New eepsite structure and enhanced pages. Now with graphics and stuff! * 2010-01-22 0.7.10 released 2010-01-21 zzz * eepget.bat: Add to pkg * Floodfills: Increase max to 15 (was 9) and min to 10 (was 4) * I2PTunnelServer: Fix bug preventing connection retries at startup from working * Logs: Don't be quite so noisy in the wrapper log if we can't open the router log * Properties: Don't play games with \r and \n on load/save, it was causing fatal issues on DOS if your username started with r or n 2010-01-19 sponge * Firewall fix for NTCP, where firewalls will forget a NAT relationship on a stream... AKA setting keepalive. This should fix the stuck NTCP issue that has been bothing zzz for years. * Set keepalive on BOB connections too, since this will assist closing the connections in the event of a crash on a client. 2010-01-18 zzz * configclients.jsp: Fix add-new-client feature * Console: Add a tunnel share ratio estimate * graphs.jsp: - Remove jrobin sig - Set lower limit to 0 - Save settings when changed * Reseed: Support SSL and proxies * Translate: Catch empty string 2010-01-17 zzz * Clock: Change a CRIT to an ERROR, lower threshold for changing from 10s to 5s * configclients.jsp: Support add, delete, edit * I2CP: Clean up resources on 5-minute leaseset timeout at startup * LeaseSet generation: Increment the lease date slightly, to force the floodfill to flood it when it changes * NetDb Lookups: Don't try to send a RI lookup to itself through a zero-hop tunnel * NetDb Stores and Verifies: - Do LS stores and verifies through client tunnels to prevent correlation by the OBEP or FF - Encrypt LS stores to prevent snooping by the OBEP, if the floodfill supports it - Encrypt LS and RI verifies to prevent snooping by the OBEP - Extend verify delay and timeout - Reenable RI verifies - Disallow simultaneous verifies for the same key - Don't resend on verify timeout; try a different peer instead - Don't resend to same peer on verify fail, try a different one - Adjust ff selection criteria - Flood even if received garlic-encrypted * Profiles: Limit fast peers to 30 max * SSLEepGet: New * Tunnels: Prevent more than one zero-hop tunnel in a lease * VersionComparator: Move from TrustedUpdate.java to util 2010-01-14 sponge * Fully clean up I2PTunnel. No more lint issues, should compile 100% clean. * Dropped unused class BufferLogger from I2PTunnel as it is not used anylonger. 2010-01-14 sponge * Clean up reverse connection ability, remove some annoyingly redundent code. Place all settings in the console. It works! 2010-01-10 sponge * Insert reverse connection ability into the http server code so that seedless can start to get worked on. It's disabled by default. * 2010-01-12 0.7.9 released 2010-01-12 zzz * I2CP: Clean up resources on 5-minute leaseset timeout at startup * Increase max floodfills to 9 (was 6) * Temporarily disable routerInfo floodfill verifies * Fix .fr eepsite index css * Javdoc tweaks 2010-01-09 zzz * Include new eepsite indexes in pkg 2010-01-06 zzz * Summary bar tweaks 2010-01-02 sponge * Fix one last stupid mistake in build.xml, my fault. 2010-01-02 sponge * Fix NB 6.8 goofyness... 'till ant 1.7.1 or > is needed, stay with NB 6.5, as the newer ones place a check for 1.7.1. We require 1.7.0 2010-01-02 sponge * Fix build.xml target for justBOB * Fix Main build.xml so that it actually deletes backup files and add a few extra types that should be commonly needed... atleast by me. 2010-01-02 zzz * Console: Save refresh setting * i2psnark: - Don't URL-encode chars we don't have to - CSS tweaks * Transport: Implement 'laptop mode' to change ident and port when the IP changes 2010-01-01 sponge * Happy New year everyone! * Added a target to generate a stand-alone BOB jar file. 2009-12-31 zzz * BuildResponseRecord: Make static * i2np: Remove unused logs * i2psnark: Fix message box, was a little too small * InternalSocket: Fallback to external socket on fail * NetDb: Fix exploration by adding a null hash to mean "don't give me floodfills" * PeerSelector: Downgrade floodfills with high fail rate 2009-12-26 zzz * Console: - Tag the rest of logs.jsp * Tunnels, Transports: - Lots of code to detect improper reuse of cached objects after release - Prevent release of TunnelDataMessage cached ByteArray, as it may be reused if retried in another transport; a nasty bug causing corrupt messages - Prevent race with released resources in UDP OutboundMessageState; a nasty bug causing corrupt messages - More cleanups and comments * UDP: Bid lower than NTCP when we need introducers and don't have enough 2009-12-22 zzz * Tunnels: - Do RED dropping before the IBGW fragmenter, not after - Change batch time to 250ms for IBGWs (was 100ms) - Change batch time to 150ms for exploratory OBGWs (was 100ms) - Start a new message in the fragmenter if almost full - Fix a major, longstanding synchronization bug in the FragmentHandler which led to corrupt messages at the endpoints - More cleanups and comments 2009-12-20 zzz * Console: - Fix status to show a disconnected network error rather than clock skew or UDP error when disconnected - Use peer clock skew rather than clock offset for determining whether to display clock skew error - tunnels.jsp: Clarify tunnel table headings * Contexts: Add isRouterContext() method * Profile, DBHistory: - Tweak the rate periods - Add a global fail rate stat - Increase the HashMap sizes * Router: Move some more threads to I2PAppThread so an OOM won't crash the router * Timestamper: Reduce delays (cuts 10s out of router startup) * Transport: Rework peer clock skew method to always return a value * Tunnels: - Reduce the drop probability for TunnelBuildMessages at the OBEP - Schedule outbound startup instead of hanging the thread for 3s - Cleanup preprocessor code, add comments 2009-12-18 zzz * Console: Fix spacing in update section * I2CP: - Move client-side writes to their own thread - Reenable InternalSockets * i2ptunnel: Fix bundle script * InNetMessagePool: Cleanup * Log: - Close old file on rotate - Buffer writes - Write in UTF-8 * SusiDNS: - Remove untranslatable button images (-15KB) - Tag buttons and messages - Add some button CSS * Tunnel building: - Increase timeout to 13s (was 10s) - Fix tunnel.buildReplyTooSlow stat - Tweak logging - Prioritize expl. builds over client builds - Code cleanups * TunnelSettings: Drop, unused 2009-12-15 zzz * HTTP Proxy: Make jump server list configurable * I2CP: Remove unused logs * i2psnark: Fix stop/start, cleanups * i2ptunnel: Fix bundle location * SusiDNS: - Rewrite and correct a lot of the text, tag jsps - UTF-8 fixes * TunnelManager: Fix a locking bug * Update: Improve error message 2009-12-13 zzz * Find ResourceBundles in wars * Fix restart from config.jsp if no wrapper * i2psnark: Elaborate popups 2009-12-12 welterde * Sort peers on tunnels.jsp by country * fix NPE in ^^ 2009-12-12 zzz * Disable InternalSockets until it's fixed 2009-12-11 zzz * Addressbook, susidns: Rework addressbook into a HttpServlet, so susidns can kick it when the subscription list changes * Build: Truncate the history in the updater (-80KB) * Console: - Add a nicer handler for missing webapps - Restore the restart message - Change "depth" to "length" * Data: Cache the Hash hashcode * EepGet: Use InternalSocket if available * Fragmenter: Pull the new comments, new stats, and debug log fix from i2p.i2p.zzz.batch in - but not the batching mods, which need a fresh look. * I2CP: Implement an internal "socket" class that allows clients in the same JVM to connect to the router without going through the kernel * I2NP: Drop unused classes * i2psnark: - Translation support - Tweak torrent name popup * I2PTunnel: - Translation support - Switch all I2PThreads to I2PAppThreads - Run an InternalSocket as well for the HTTP Proxy * Naming Services: - New EepGetAndAddNamingService that appends new hosts to hosts.txt - Move default reverseLookup to base class - Deprecate unused services * NetDb: - Switch from ArrayList to ConcurrentHashSet in KBucketImpl to reduce chance of deadlock; remove periodic shuffling of the bucket, needs to be addressed elsewhere * SusiDNS: - Translation support - Remove jsp's from the war * Translation: Move code from routerconsole to core, to support translation of other webapps * 2009-12-08 0.7.8 released 2009-12-08 zzz * Misc. cleanups after review, prep for release 2009-12-06 zzz * netdb.jsp: Fix bug caused by XSS fix * Translations: drop ru until after release 2009-12-05 zzz * Build: Fix poupdate dependency * Console: Add Russian option 2009-12-05 sponge * BOB: fix a critical bug causing ghosts on probes and remove unused code. 2009-12-04 zzz * Console: Close up some possible XSS (thanks Pragmatk) * i2psnark: Config cleanup, more HTML transitional fixes * readme*.html: Point to translated pages on www.i2p2.i2p 2009-11-29 zzz * config.jsp: Comment out unused stuff better * profiles.jsp: Hide non-ff from ff table * HTTP Proxy: Don't send proxy.i2p to the naming service, it was making the error pages load slowly * SOCKS Proxy: Fix an error message * Transport: Fix the default inbound burst 2009-11-29 sponge * net.i2p.router.transport.udp deadwood code cleanup. * documented rare NPE in InboundEstablishState.java. 2009-11-28 sponge * Improvement to BOB's TCPio to hopefully lower load average. It seems to be helping a little when stress-tested with Robert. 2009-11-24 zzz * DataStructures: Remove unused Logs * OrderedProperties: Simplify, use in i2psnark * Profiles: Record successes in the DB fail rate too, so we can calculate a percentage * profiles.jsp: - Change fail rate from count to percent - Hide standard profiles by default * Streaming: - When an "immediate" ack is requested, do it within 250 ms (was 2000) - Request immediate acks when < 1/3 of window remains, or when < 3 packets remain in window, and every 8 packets (was when < 2 packets in window remain) - Change requested delay to RTT/2 (was RTO/2) - Log cleanup and javadoc 2009-11-21 zzz * GeoIP: Update to Nov 17 2009 data * Netdb Floodfill rework part 4 of N: - Search closest-to-the-key - Put closest-to-the-key in explore don't-include-list - Use facade's peer selector for exploration rather than instantiating a new one - Adjust response time limit * netdb.jsp: Add popups on flags * Routerconsole build: rename include files so they aren't compiled and bundled separately (~15KB) 2009-11-18 zzz * Build: Don't update the po files by default, add new target "poupdate" to do that. * Netdb: - Floodfill rework part 3 of N: Send closest-to-the-key in DSRM replies - Adjust criteria for following DSRM - Note failed floods in the profile - Reduce max flood 2009-11-16 zzz * addressbook: Move class to net.i2p.addressbook * build: Take two test scripts out of the installer * i2psnark: Bye TPB * Shitlist: Fix bug from two checkins ago, all were forever 2009-11-14 zzz * HTTP Proxy: - Add support for error page translations - Add support for external pages for all errors - Fix lack of \r in error page headers - HTML transitional fixes - Cleanups * UDP PeerTestManager: Throw in some synchronization to try to fix stuck tests 2009-11-11 zzz * Console: Some colon cleansing * FloodfillPeerSelector: Adjustments * Shitlist: Move HTML renderer to router console, add cause parameter for ease of translation, tag all causes 2009-11-11 zzz * Addressbook, NamingService: Allow 516 byte dests that end with AA but not AAAA, so we can permit non-null zero-length certs. * Console: - Tag tunnel status - Add transport table to netdb.jsp * i2psnark: - Reject torrents with too many pieces - Reject torrents with a single file named *.torrent - Increase max piece size to 2MB (was 1MB), but reduce max number of connections to lessen ooms * Netdb FloodOnlySearchJob: - Fix up field hiding and duplicate overrides - Other javadoc and java 5 improvements * Netdb StoreJob, FloodfillVerifyStoreJob: - Fix bug where reply selector wasn't registered for routerinfo stores, so we didn't get stats, and we kept retrying. This also prevented verification and profile updates for routerinfo stores. This bug was introduced 4 years ago by the change to store routerinfos directly. - Add dbStoreSuccessful() to profile, and have FVSJ call it or dbStoreFailed() as appropriate to give credit or blame to the floodfill we stored to. - Don't let FVSJ verify using the peer we stored to * Netdb Stores: - Floodfill rework part 2 of N: Store and verify closest to the key, subject to last-failed lookup and store stats. - DataHelper: Fix broken byte[] compareTo() used by XORComparator, was not doing unsigned comparisons! - FloodfillPeerSelector: Use standard XORComparator now that it works, instead of messing with BigInteger - FloodfillVerifyStoreJob: Set correct timeout for requeued store job (was only 10s) - KNDF: Rework getPeerTimout() to use 1 day averages, and lower the min, max, and multiplication factor. - Publish jobs: Lengthen timeout to 90s (was 30s for routerinfos and 60s for leasesets) - StoreJob: Limit max peer timeout to 15s for direct stores * Streaming: Fix unused resend delay field in the packet header, it is defined as seconds and we were not dividing by 1000, so we were truncating 1000 to one byte which equals 232. * UDP: - Better handle a test reply from bob with a 0-length IP - Add config options for min and max random port 2009-11-09 dr|z3d * New midnight blue lightweight theme; supports IE and provisions its own console_big.css * Streamlining and honing of console_big.css 2009-11-07 zzz * Console: - countries.txt: Convert to mixed case, include in update - netdb.jsp: Hide all routers by default, sort and tag country names - oldstats.jsp: Move to stats.jsp - profiles.jsp: Show new DBH times instead of counts * Profiles: - Track last good and bad lookup times and last good and bad store times, to prep for floodfill changes - Don't reset last-heard-about at router startup * Checklist and Android readme fixups 2009-11-04 zzz * Build: - Move some files to installer/resources - Fix initialNews.xml in install package * Console: More tagging * NetDb: Reduce routerinfo expiration slightly * Profiles: - Remove the almost-unused send and receive size RateStats; this also reduces the effective time for isActive() - Only store DB history on-demand to save space; fix up resulting NPEs - Savings: ~2MB heap * Throttle: Reduce max msg delay to 1250ms (was 1500) * UDP: Pick a random port on first install or bind failure - No more port 8887 to prevent easy state-level blocking 2009-11-04 sponge * Fixups to Slackware scripts 2009-10-31 zzz * Console: - More tagging - Show user-installed themes on configui.jsp - Fix reseed button spacing * GraphHelper cleanup * Susidns: add link to subscription faq 2009-10-29 zzz * Console tag fixes, bundle script fix * Add help target to build.xml 2009-10-28 zzz * Console: - Rewrite TrustedUpdate version comparator, use for netdb version table so 0.7.10 will be sorted correctly - Reduce netdb.jsp memory usage - More tagging fixups - configclients.jsp fixup for "Web console" - Remove limiter status from peers.jsp - Fix UPnP status header * NetDb: - Generate new RI immediately at startup - Try again to not publish RI until we have been up a few minutes 2009-10-26 zzz * Console: - Add parameterized tag - Don't save config when checking for updates on configupdate.jsp - Refactor confignav.jsp to java and tag - Start tagging profiles.jsp - Rework ConfigRestartBean and tag - More tag fixups - Add lang=xx for testing - Add file for additional tagged strings 2009-10-23 zzz * Certificate: Fix the (apparently unused) readBytes(byte[], int) method for a null certificate - http://zzz.i2p/topics/388 - thanks HungryHobo * Console: - Don't hide link to configui.jsp for IE any more - Add lang selection on configui.jsp - Tag strings in configui.jsp - Load console_big.css if lang == zh - Add _x() tag for static iniitializers - HTML transitional input tags - Rename cssHelper to intl for ease of tagging * Update: Better error message when .sud file not found or truncated http://forum.i2p/viewtopic.php?t=3979 The bug with the file going to the wrong place was fixed a couple months ago. 2009-10-21 dr|z3d * Enhance index.jsp with "paperclips" for the main links * Tighten sidepanel layout to gain us some vertical screen real estate * Update news.xml with the correct link for Chinese translation page 2009-10-20 zzz * I2NP: Remove old TunnelCreateMessage and TunnelCreateStatusMessage * Logger: Don't kill the whole JVM if we can't open the log file * MessageHistory: Cleanups * NetDb: Move renderStatusHTML to routerconsole * Router Console translation infrastructure: - Persistent lang setting with routerconsole.lang=xx - Loading any page with ?lang=xx changes the persistent setting - Add a custom Jetty handler to load foo_xx.jsp if it exists for language xx. This is for jsp files with lots of text in them. Otherwise use inline translate methods. Not for included jsps. - Add a script to create and update messages_xx.po translation files, and create ResourceBundles from them - Add class to translate strings from cached ResourceBundles - Add translate wrappers to HelperBase, FormHandler, and *Renderer, so calls can be made from both jsp and java files - Add example translations on configupdate.jsp - two in the jsp itself and one in the helper. - This is for strings in routerconsole only. Will be expanded to other webapps and the router later. * summarynoframe.jsp: - Refactor to SummaryBarRenderer (saves 100KB) - Add translate tags - Use context RNG for nonces - Transitional HTML style for input tags * TunnelDispatcher: Drop messages that expire far in the future * TunnelPoolManager: Move renderStatusHTML to routerconsole 2009-10-16 dr|z3d * Extensive UI whitespace cleanups and positional finessing. 2009-10-16 zzz * Crypto: Two more test classes out of the lib * FloodfillMonitor: Slow down the volunteers again * i2psnark: Add TPB tracker * NetDb: Rework part 1 of N: - Flood only to those closest to the key - Java 5 fixups * oldconsole.jsp: Remove almost all of it, add lines for tino * ProfileOrganizerRenderer: - Move to routerconsole - Write directly to Writer for speed * Router: Add router.hideFloodfillParticipant option for testing * StatisticsManager: Cleanup after release * 2009-10-12 0.7.7 released 2009-10-11 zzz * Misc. cleanups after review, prep for release 2009-10-09 zzz * ElGamalEngine: Fix rare AIOOBE (thanks hottuna!) * I2PTunnel: Fix persistent client tunnel keyfile location * peers.jsp: Fix NTCP rate formatting (thanks hottuna!) 2009-10-09 dr|z3d * Add paste.i2p2.i2p, and echelon's software links to readmes (thanks to GoHE for Swedish translations); cosmetic tweaks to same. * Various optimizations and tweaks to all 3 themes. 2009-10-07 zzz * Doc and eepsite_index updates * UDP: Remove port number from thread names 2009-10-04 zzz * i2psnark: Fix NPE caused by last checkin (thanks wuxia!) 2009-10-02 zzz * BuildMessageTest: Move out of the lib * i2psnark: Fix changing opentracker list * Makefile.gcj: fixups * OCMOSJ: Fix SKM NPE on closed dest * ProfileOrganizerRenderer: static tweaks * SusiDNS: HTML transitional fixes, might help opera * Tunnel IVValidator: Increase size of bloom filter for high-bw routers (>= 512KBps share bw) to reduce false positive rate. Adds 2MB heap for >= 512KBps routers and 6MB for >= 1536KBps. 2009-09-21 sponge * fixups to SlackBuilds. requiredbuilder does the wrong thing, and thinks that java is perl! This isn't really a big deal, the file format is simple enough and the requirements are known. 2009-09-07 mkvore * removes a SAM v1&2 bug 2009-09-04 zzz * SessionKeyManager, OCMOSJ, Garlic: - Enable per-client SessionKeyManagers for better anonymity - tagsDelivered() now means tags are sent, not acked. - OCMOSJ uses the new TagSetHandle object returned from tagsDelivered() to call tagsAcked() or failTags() as appropriate. - Assume tags delivered on an established session to reduce streaming lib stalls caused by massive tag deliveries; should increase throughput and window sizes on long-lived streams - Unacked tagsets on a new session are stored on a separate list - Don't kill an OB Session just because it's temporarily out of tags - Increase min tag threshold to 30 (was 20) due to new speculative tags delivered scheme, and to increase effective max window - More Java 5 and dead code cleanups, and more comments and javadoc, debug logging cleanups - Key toString()s for easier debugging - HandleGarlicMessageJob: cleanup of unused things * Tunnel TestJob: - Consume the tag after a failed test so it doesn't stay in the SKM - Disable tests with router.disableTunnelTesting=true * configkeyring.jsp: Add delete and cancel buttons * Logging: Fix directory for rotated log * TunnelDispatcher: Cleanup 2009-09-02 sponge * Small logic fix for dr|z3d 2009-08-28 zzz * Client: Fail if no date handshake after 30s or no leaseset after 5m, rather than hanging forever. * Console: - Prevent OOMs in NewsFetcher or StatsSummarizer from killing the router - Fix favicon (-17) * Data: Speed up many hashcodes * DataHelper: Fix byte array hashcode for small arrays * DecayingBloomFilter: - Replace with new DecayingHashSet for 3 of 4 uses, and also in the 4th if the router is low-bandwidth. Saves 8 MB heap. * EepGet, I2PSnark: - 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 * NetDb: - oops, store leaseset locally even when shutting down (fix -16) - Java 5 cleanups * PRNG: - Rename config option to prng.buffers (was router.prng.buffers) - Change the default from 16 to 2 for I2PAppContext (saves 3.5MB) * Tunnel: - Adjust the random drop probability for the message size - Concurrentify HashSetIVValidator * TunnelPool: - Don't test tunnels when shutting down - Less rates - Java 5 cleanups 2009-08-24 zzz * ClientManager: - Prevent client destination theft by rejecting duplicates - Java 5 cleanups * Console: - Put favicon on every page - Make every page UTF-8, ☃ safe for snowmen - Remove options boxes on configtunnels.jsp - Fix UTF-8 form submission (i2ptunnel too) - Throw 403 instead of 404 from flags.jsp and viewstat.jsp so we don't render error.jsp * I2CP: Fix the SessionConfig serializer in DataHelper, so that UTF-8 tunnel names are not corrupted by I2CP and can be displayed on the console * Message: Move 2 unused classes out of the router lib (~15KB) (more SKM prep) * Message, I2PSession, SessionKeyManager, Console: Prep for SessionKeyManager work in the router - Fix up SKM renderStatusHTML(); add debug.jsp to see it; Redefine getClientSessionKeyManager(); More cleanups * Ministreaming: Kill deprecation warnings * profiles.jsp: Bulletproofing, less memory usage * Streaming, I2PSession: Prep for SessionKeyManager work in the router - Comment out, deprecate, and javadoc for unused keys and tags, they are vestiges of end-to-end crypto * Updates: Verify zip at startup before extracting * Wrapper: Take a couple fields out of the log so it's narrower 2009-08-20 zzz * Config files: - Add some path and encoding help * configclients.jsp: Add full path to config file * configpeer.jsp: Limit max displayed banned IPs * Console: - Don't display firewall warning unless it's real - Cleanups * DataHelper, I2PTunnel, Router: - Save config files in UTF-8 rather than the default encoding, since we read them in UTF-8! * eepsite_index_de.html: localhost -> 127.0.0.1 * i2psnark: Add size total * I2PTunnel: - Make IRC Proxy non-shared, delayed-start, close-on-idle for new users, for the anonymity benefits (see "Shared Clients, Correlation and Collusion" http://zzz.i2p/topics/217 ) - Remove "experimental" flag on new client options * Jetty build: More clean targets * jetty.xml: Change encoding to UTF-8 * jobs.jsp: Cleanup * logs.jsp: Add system encoding * Ministreaming: Cleanups, deprecation, move demos out of the lib * netdb.jsp: Flags for leases * NTCP: Clean up clock skew shitlist message * profiles.jsp: - Rename the Failing column - Reduce the time cutoff again to 90m (was 2h) * readme*html: localhost -> 127.0.0.1 * Router: Don't do some things when we are shutting down * Shitlist: Clean up expire message * Stats: - Fix BufferedStatsLog so it works at all - Don't instantiate BufferedStatsLog unless stats.logFilters property is defined (restart now required to enable logging) This eliminates the StatLogWriter thread and a decent amount of memory. - Move two CLI classes out of the lib - Commment out places where getStatLog() isn't checked for null - Cleanups * Transports: Lower conn limit factor to 50 (was 60) * Update: - Fix problems where a requested unsigned update would actually kick off a signed update - Fix problem when policy set to notify, and clicking check for update, incorrectly causing unsigned update download and bad messages - Verify zip integrity of unsigned updates - Move zip files to router dir, not base dir - More tweaks and cleanup * VMCommSystem fixups * WorkingDir: Ensure modified files are processed with UTF-8 encoding * XmlPull: Remove, unused. 2009-08-19 sponge * Java code to set Router Console password for dr|z3d 2009-08-18 dr|z3d * Fixes for sidepanel * Overhauled classic theme for i2ptunnels * First stage of code validation to fix broken and "illegal" code * Multifarious other UI tweaks and fiddles. 2009-08-15 sponge * Merge in dr|z3d and my own html fixes for router console java and jsp files so that Opera (and now IE?) doesn't puke anymore on the missing and misplaced HTML tags. * Optimized all jsp files so that they are shorter to save space, which is then used to fix the broken HTML. We should break even space-wise. * Bump to -13. 2009-08-11 sponge * 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. 2009-08-11 zzz * Android: - Merge in the branch - Build instructions in the android/ dir - Rename HMac to I2PHMac to avoid android lib conflicts - Configurable number of PRNG buffers in AsyncFortunaStandalone (router.prng.buffers=16) to control memory use - these are 256KB each. - Configurable size of the DecayingBloomFilters (router.decayingBloomFilterM=23) to control memory use - there are 4 pairs of these (8 total), each 2**(M-3) bytes, or 8MB total for M=23. - There's at least two unsolved fatal problems: 1) Most of the routerinfo signature verifications fail, including our own 2) It randomly dies after a while * Console: - Rename the shitlist and the blocklist - Try to reduce servlet problems on iframe - Select server or client icon for local dests * EepHead: New * Move StatsGenerator from router to routerconsole * Move the unused AdminManager from router to the apps directory * NetDb stats: Hide part. tunnel total events, effective next release * Router: Comment out dead oldconsole code * Updater: - Add new unsigned update option, triggered by last-modified date, using the new EepHead. Buttons still are not hidden after download complete. - Make the .sud updater use the temp dir when proxied - Several cleanups 2009-08-11 dr|z3d * Extensive sidepanel overhaul - Ensure all sidepanel headings link to pertinent pages - First stage of enhanced Local Destinations sub-panel presentation - Move Configuration, Help, and I2PTunnel manager links to headings - Add tooltips to all linked content; table content next in line 2009-08-07 dr|z3d * summarynoframe.jsp - Main content now tabulated for better presentation - Headings now more prominent - Pruning where necessary of text strings * Console themes (light/dark/classic) - Ensure functionality with new sidepanel layout - Custom hacks for IE/classic - Enhanced form/button presentation 2009-08-07 zzz * build.xml: - Try to automate the release process - Take jetty back out of the updater after 4 releases * Console: - Add a custom error page - Don't count ourselves in known peers - Hide update button when shutting down - Increase skew warning threshold to 3s (was 100ms) - Remove UTC time from summary bar - Truncate long dest names - Try to reduce servlet problems on index page * Core: - Catch unzip fd leaks on error - Move 2 test classes out of the lib * Eepsite: - Quote the jetty.xml path in clients.config, and adjust the migration function, to fix the eepsite-won't-start bug on windows * HTTP Proxy: - Restore the localhost error message - Catch 127.0.0.1:xxxx addresses too * I2PTunnel: - Move the privkey files from the app dir to the config dir, in preparation for splitting the two dirs by default * Ministreaming: - Make getInt() static - Move the big TestSwarm class out of the lib * NetDb stats: Post-release cleanup * PersistentKeyRing: Fix broken storage of keys in config file * Router: Move the WorkingDir class from i2p.jar to router.jar * Streaming: New option i2p.streaming.answerPings (default true) * Timestamper: Don't start thread if not enabled * Wrapper: - Extend timeout to 20s (was 5s) - Shorten ping interval to 5m (was 10m) 2009-08-03 dr|z3d * Extensive update to the Classic theme; custom css hacks for IE. 2009-08-02 dr|z3d * Better support for Internet Explorer/classic theme. * Incremental improvements to classic theme. * More UI tweaks and fiddles. * Fixes for I2PSnark UI; more to come. 2009-07-31 dr|z3d * Resolve anomalous buttons and text fields in console ui. * Enhance presentation of data in /peers.jsp. * Fix themes issue with horizontal width of radio/checkbox icons. * Other cosmetic UI enhancements. * 2009-07-31 0.7.6 released 2009-07-31 zzz * Update versions, package release * Fix snark.css link * Revert graph antialias enable * Remove