- Aug 04, 2018
-
-
zzz authored
-
- Nov 08, 2015
-
-
zzz authored
-
- Nov 15, 2014
-
-
zzz authored
- Set lookup type flags even if no reply tunnel specified - Reduce object churn when writing some messages
-
- Nov 20, 2013
-
-
str4d authored
-
- Nov 14, 2013
-
-
zzz authored
-
- Dec 11, 2011
-
-
zzz authored
- 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 unomodified 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
-
- Dec 30, 2010
-
-
zzz authored
- New SDSCache for SimpleDataStructures - New SimpleByteCache for byte[] - Cache Hash, PublicKey, and SigningPublicKey - Remove global lock in ByteCache
-
- May 16, 2010
-
-
zzz authored
-
- Jan 26, 2010
-
-
zzz authored
-
- Dec 30, 2009
-
-
zzz authored
-
- Jul 01, 2009
-
-
zzz authored
for efficiency (thanks Arsene for the suggestion)
-
- Apr 21, 2009
-
-
sponge authored
* Code janator work, basic corrections involving @Override, and appling final where it is important. Also fixed some equals methods and commented places that need fixing.
-
- Apr 12, 2008
-
-
zzz authored
* NTCP: Don't drop a connection unless both directions are idle; Fix idle time for outbound connections * Outbound message: Make sure cached lease is in current leaseSet * Stats: Put all NetworkDatabase stats in same group * TunnelPool: Stop building tunnels and leaseSets after client shutdown * i2psnark: Add locking to prevent two I2CP connections
-
- Mar 01, 2005
-
- Oct 08, 2004
-
- Oct 07, 2004
-
- Jul 30, 2004
-
- Jul 27, 2004
-
-
(making a searchReply message ~100 bytes, down from ~30KB, and the lookup message ~64 bytes, down from ~10KB) * when we get the netDb searchReply or lookup message referencing someone we don't know, we fire off a lookup for them * reduced some excessive padding * dropped the DbSearchReplyMessageHandler, since it shouldn't be used (all search replies should be handled by a MessageSelector built by the original search message) * removed some oddball constructors from the SendMessageDirectJob and SendTunnelMessageJob (always must specify a timeout) * refactored SendTunnelMessageJob main handler method into smaller logical methods
-
- Jul 25, 2004
-
- Jun 19, 2004
-
-
do i need to wrap the Input/Output streams we use to pipe data over the net with a verification wrapper for the messages? e.g. prefix the serialization of all I2NPMessages sent on the wire with the SHA256 of that serialization and verify on read? Ho hum, dunno. maybe its something else, but the ElG/AES+SessionTag already has integrity verification so the only thing I can think of is a checksum error that got past TCP's checking and corrupted the AES stream.
-
- May 17, 2004
-
- Apr 24, 2004
-
-
a rooted app context. The core itself has its own I2PAppContext (see its javadoc for, uh, docs), and the router extends that to expose the router's singletons. The main point of this is to make it so that we can run multiple routers in the same JVM, even to allow different apps in the same JVM to switch singleton implementations (e.g. run some routers with one set of profile calculators, and other routers with a different one). There is still some work to be done regarding the actual boot up of multiple routers in a JVM, as well as their configuration, though the plan is to have the RouterContext override the I2PAppContext's getProperty/getPropertyNames methods to read from a config file (seperate ones per context) instead of using the System.getProperty that the base I2PAppContext uses. Once the multi-router is working, i'll shim in a VMCommSystem that doesn't depend upon sockets or threads to read/write (and that uses configurable message send delays / disconnects / etc, perhaps using data from the routerContext.getProperty to drive it). I could hold off until the sim is all working, but there's a truckload of changes in here and I hate dealing with conflicts ;) Everything works - I've been running 'er for a while and kicked the tires a bit, but if you see something amiss, please let me know.
-
- Apr 10, 2004
-
- Apr 08, 2004
-
-