Commit Graph

820 Commits

Author SHA1 Message Date
zzz 2082feeaa9 one more log error to a warn (ticket #356) 2010-12-14 15:14:36 +00:00
zzz f9c2624b24 disable log priority override for now 2010-12-14 14:51:23 +00:00
zzz 0be2ca8beb * I2CP: Change a log error to a warning (ticket #353) 2010-12-11 14:24:27 +00:00
zzz b55b552e06 * Plugins: Better handling of signing keys (Ticket #351) 2010-12-11 13:30:34 +00:00
zzz 638e04beb8 * Log: Don't double-timestamp CRITS in wrapper.log 2010-12-11 13:25:58 +00:00
zzz 3872cad2fb * 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-05 04:05:10 +00:00
zzz d226d6047f javadoc 2010-12-02 12:58:53 +00:00
zzz 293eea9e38 try to fix log flush error at file rotation 2010-11-30 19:04:03 +00:00
zzz 243bd412e1 * I2CP: Try to hide Pipe closed messages (several tickets) 2010-11-30 15:08:51 +00:00
zzz 45b8d8b6b5 * 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
2010-11-30 15:07:45 +00:00
zzz d31113255e * 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
2010-11-29 13:13:02 +00:00
zzz df4f40f6f4 log cleanup 2010-11-27 13:46:33 +00:00
zzz d37944e081 javadoc 2010-11-26 00:41:20 +00:00
zzz 358846ab04 * LogManager: When not in router context, delay creating log file until required 2010-11-26 00:37:20 +00:00
zzz 9e250bc07d fix hashcode and javadocs 2010-11-26 00:32:44 +00:00
zzz a8b602bc54 * SimpleDataStructure: Fix problem in fromBase64() that
manifested itself as a configtunnels.jsp bug
2010-11-24 15:06:49 +00:00
zzz 1b59135b4a javadoc, and comment out a test method 2010-11-24 14:53:24 +00:00
zzz 106af9967a * SSLEepGet, Reseeder:
- Implement additional CA loading
      - Provide facility to reuse SSL state for speed
      - Provide facility to store previously untrusted certificates
      - Add SSL reseed hosts, prefer them by default
      - Reseed message cleanup
    * build.xml:
      - Add www.cacert.org cert to the installer and updater so
        SSL on a.netdb.i2p2.de and c.netdb.i2p2.de will work
      - Cleanup, fix distclean error in older ants.
2010-11-21 20:37:49 +00:00
zzz 72d2137e9b javadoc fix 2010-11-19 22:07:29 +00:00
zzz 4545a98968 More work on error propagation and improving log messages in i2ptunnel and I2CP client 2010-11-19 14:41:26 +00:00
zzz e940f51599 * SecureFile: New class, catch places that were missed,
add i2p.insecureFiles option to disable (default false)
2010-11-19 00:40:33 +00:00
zzz 1cad02c461 remove jrandom signing key as it may no longer be secure 2010-11-18 19:27:37 +00:00
zzz a9801766e5 * PrivateKeyFile: Speedups and better messages 2010-11-17 22:14:55 +00:00
zzz 2f880f7b5b propagate from branch 'i2p.i2p.zzz.test4' (head 3569f7d0608498cadafc88e87a0ad2b18c44dfb6)
to branch 'i2p.i2p' (head ddc9be27c47878e472d5b6c281cccb6094c42c9a)
2010-11-17 16:09:19 +00:00
zzz 10aed35b08 0.8.1 2010-11-15 00:23:00 +00:00
zzz 355ca7b2f7 tweaks after review 2010-11-14 23:58:13 +00:00
zzz c890f61d0b javadoc 2010-11-14 15:01:52 +00:00
zzz 1e0e24826e concurrent 2010-11-14 15:01:23 +00:00
zzz d3b05f44d5 cleanups 2010-11-14 14:54:18 +00:00
zzz 581b915748 Call session.propogateError() on reception of SessionStatusMessage with bad status or DisconnectMessage 2010-11-14 14:53:30 +00:00
zzz e293b25bb7 I2CP username/pw auth (client side) 2010-11-14 14:50:45 +00:00
zzz 7967653dd1 * DataStructures:
- Shim in 3 new abstract classes
        SimpleDataStructure, KeysAndCert, and DatabaseEntry

===========

Right now, everything in net.i2p.data extends DataStructureImpl.


There are several goals for adding some intermediate abstract classes,
between DataStructureImpl and the concrete classes:


1) Merge common code
2) Make the simple cases (a single byte array) more efficient
   by adding a common base class.
   I'm calling this one SimpleDataStructure.
3) Make a common base class for Destination and RouterIdentity
   since they are almost exactly the same thing.
   Consolidate the getters/setters and hash functions here.
   I'm calling this one KeysAndCert.
4) Make a common base class for LeaseSet and RouterInfo so
   so netDb and I2NP can handle them easier, without doing
   "instanceof" all over the place.
   Consolidate the hash, signature, and routing key functions here.
   I'm calling this one DatabaseEntry.
5) Make it easier to add more object caching.


The additional classes are retrofit
above many of the data types:


DataStructureImpl (unchanged)
-------------------
	ByteArray
	Certificate
	Lease
	Payload
	RouterAddress
	TunnelId


	SimpleDataStructure (new)
	-------------------------
		Hash
		PrivateKey
		PublicKey
		SessionKey
		SessionTag (was ByteArray)
		Signature
		SigningPrivateKey
		SigningPublicKey


	KeysAndCert (new)
	-----------------
		Destination
		RouterIdentity


	DatabaseEntry (new)
	-------------------
		LeaseSet
		RouterInfo
2010-11-14 14:09:58 +00:00
zzz ad060c5d5d remove unused TunnelId methods 2010-11-14 14:00:39 +00:00
zzz f4b49f7425 change low mem error to warn 2010-11-13 12:06:16 +00:00
zzz 20e2e20212 * I2CP: Fix NPE caused by null session options (seen in i2pbote) 2010-11-08 16:13:43 +00:00
HungryHobo 0e9f0a741e Print destination in b64 2010-11-08 03:23:19 +00:00
zzz 3ee85fed30 * Stats: Improve Frequency, enable coalescing; cleanup and javadocs
* stats.jsp: Cleanup, more tagging, hide obscure stuff unless ?f=1
2010-11-06 12:33:53 +00:00
zzz 010a1fde3f * Console: Display durations with new formatDuration2() 2010-11-06 12:28:38 +00:00
zzz 1bc563832e propagate from branch 'i2p.i2p' (head 7f26a3df7f04d3c069c63b4633871bd7676f6167)
to branch 'i2p.i2p.zzz.test4' (head 91572937612227b99f41e7e170ae38574a001e7b)
2010-11-05 12:46:59 +00:00
zzz 1f48c6c03d deprecate unused toDate(Date) 2010-11-05 12:46:41 +00:00
HungryHobo 853f941d88 merge of '598d00efae4c9b675b64fd626bc2eab2b921e0c5'
and 'd38686d88680521e54d7bcb8be24e21d252eb946'
2010-11-02 04:00:43 +00:00
zzz 2ea3f9b9bb parse log limit with current locale (ticket 118) 2010-10-31 14:33:31 +00:00
zzz 571ad83e03 use nbsp in formatSize2() 2010-10-27 14:22:53 +00:00
zzz b1f1725506 * Router: Set permissions on wrapper.log when not called by RouterLaunch 2010-10-24 16:52:41 +00:00
zzz 4bb902a8b9 * FileUtil: Make it easier to compile without Pack200, or with
Apache Harmony's Pack200, add unzip to main()
2010-10-24 16:49:20 +00:00
mathiasdm 3daa6b964d -Added package-file for time.
-Modified susi javadoc to remove more warnings (and non-javadoc '@see' to base class).
2010-10-14 16:05:06 +00:00
mathiasdm 8cda5104e3 - Added package doc for crypto and net.i2p
- Got rid of some susimail javadoc warnings
2010-10-14 06:19:19 +00:00
z3d b41e714a1b merge of '0738aeef8a1d4e9ca82dc5ba0077d83a57c47f81'
and '9625ea3e96d57df74bc62018bf64230a22c49ce0'
2010-10-13 16:07:33 +00:00
HungryHobo 5a782cca4d Add HungryHobo as a signer 2010-10-12 19:30:46 +00:00
zzz a23ea5e5f1 * configlogging.jsp:
- Add easy way to add an override
      - Make file size specifier more flexible
2010-10-07 18:39:03 +00:00