08aca6ca61
while (true) { m00; }
2004-05-09 07:23:43 +00:00
697b3c6772
SAM .net lib work in progress - dm and firerabbit
2004-05-09 07:16:04 +00:00
878525ced8
handle corrupt files more gracefully
2004-05-09 04:14:30 +00:00
418531736b
imports
...
Did you miss me?
(shendaras)
2004-05-09 01:31:12 +00:00
6c175440c6
added mush.zeit.i2p
2004-05-08 06:41:01 +00:00
723a2f2008
include timestamper in installer
i2p_0_3_1_1
2004-05-07 19:01:47 +00:00
ea9b9fbf17
0.3.1.1 (tastes like chicken)
...
backwards compatible but some config changes necessary
2004-05-07 17:52:49 +00:00
303e257841
synchronization reduction and keep track of the 'last' job for each runner (to help debug something i see once a week on kaffe)
2004-05-07 17:51:28 +00:00
07b6a8ba92
if we lose our I2CP connection to the router, die hard and fast.
...
(only relevent for people whose socket manager / i2ptunnel / etc are located remote from the router)
2004-05-07 07:01:26 +00:00
e216e18368
update the clock more liberally (since we've got the new ntp code)
2004-05-07 04:34:03 +00:00
e57c5b4bc2
log to CRIT for jbigi load failure
2004-05-07 04:23:30 +00:00
f772d6ddeb
/me reboots brain, understands, and thanks mihi
2004-05-07 04:19:43 +00:00
cd37c301d9
if (log.shouldLog())
...
yeah, aspect oriented programming sure would be nice.
2004-05-07 04:07:14 +00:00
f5fa26639e
minor html cleanup
2004-05-07 03:45:48 +00:00
45ec73c115
include a unique request id in the client runner thread name
...
minor cleanup
2004-05-07 03:33:23 +00:00
13952ebd8b
include the expiration and messageId in the toString (shown on msg drop due to "unknown tunnel")
2004-05-07 03:31:33 +00:00
2df0007a10
logging
2004-05-07 03:29:06 +00:00
89bc5db3e1
increase the bundle probability to yet another arbitrary value
...
add the jobId to log messages to simplify tracing individual parallel sends
logging cleanup
2004-05-07 03:28:22 +00:00
4021deec7f
poke jrandom's eyes into the semantic of an "else" clause
...
(you may remove both comments when you understood it)
[mihi]
2004-05-07 03:10:57 +00:00
a3977f37f7
javadoc, no functional changes
2004-05-07 03:06:41 +00:00
766c12242e
logging, javadoc
2004-05-07 01:45:12 +00:00
a82b951aff
made private things that don't need to be public
...
remove semantic inconsistency wrt getRemoteId(false) - it shouldn't ever timeout, since it always returns immediately
javadoc (though i wish i understood the close/close2/sendClose more clearly so i could javadoc that process)
2004-05-07 01:32:48 +00:00
997a94eecc
removed PHTTP lines since they were only used for time sync
...
added more info wrt NTP entry
added filename for the SAM bridge
2004-05-06 07:48:45 +00:00
635535aac2
implement keyfile persistence (storing name=privKeyDataBase64\n for each name)
...
filename specified on the command line: SAMBridge [keyfile [listenHost] listenPortNum [ name=val]*]
2004-05-06 07:35:44 +00:00
25314fd91a
make sure we mark the send as *failed* if we need to reconnect
2004-05-06 04:18:28 +00:00
9a06a5758d
check shouldBundle only when its ready to be checked (duh)
2004-05-06 01:02:50 +00:00
e5a2a9644f
*cough* [d'oh]
2004-05-05 23:01:36 +00:00
e0e7211852
lets default the read timeout to 5 minutes for clients (that hanging irc disconnect / not disconnected thing)
2004-05-05 22:57:43 +00:00
cdaeb4d176
track and publish two new stats:
...
* netDb.failedPeers (how many peers didn't reply to a lookup in time)
* netDb.searchCount (how many searches we send out in a 3 hour period)
probabalistically include the leaseSet of the sender in the garlic sent
to a peer if the client requests it to be included (aka if they want
replies). By default, this is enabled (disable by setting the I2CP
prop "shouldBundleReplyInfo=false"). Also, by default the probability is
30% (w00 h00, arbitrary values!), which can be overridden via the I2CP
prop "bundleReplyInfoProbability=80" (or =10, or =100, etc). The tradeoff
here is quicker replies in exchange for bandwidth (the dbStore).
Yeah, it'd be nice if there were something keeping track of which leaseSet
each client sent to each peer so that it could explicitly include it only
if it were necessary, but for now that's probably overkill.
2004-05-05 22:46:10 +00:00
07aa2e280d
strip the Connection, Keep-Alive, and Proxy-Connection headers, and always inject Connection: close
...
(this is the cause of the intermittent "view $page through squid, try to view eepsite, end up requesting through squid" bug)
2004-05-05 07:29:48 +00:00
6c4bc67ff3
simplistic streaming test (w00t, the streams worked - no mods necessary. go human, its your birthday, go human, its your birthday)
2004-05-05 04:43:05 +00:00
d9f0cc27ef
formatting
2004-05-05 03:37:26 +00:00
59aec9d289
expose the read timeout for the client and put the default read timeout back to -1 for the server (override via command line, etc)
2004-05-05 03:36:18 +00:00
451f4c503d
fixed typo on timestamper, keep NetMonitor off by default
2004-05-05 01:32:08 +00:00
cd82089d4d
upgrade deprecated argument
...
fix ze german
(duck)
2004-05-04 17:17:10 +00:00
3db8b63cde
by default, set the readTimeout to 3 minutes, NOT infinity. Overridable as before (setting the timeout to -1)
...
add a unique id to the server thread
2004-05-04 08:16:41 +00:00
6edf5d1e4f
add a unique id to the thread names
2004-05-04 08:15:18 +00:00
a23fa6fadd
allow multiple concurrent connections to be created
...
added a unique ID to more threads
2004-05-04 08:14:19 +00:00
51eb77e409
logging
2004-05-04 08:13:01 +00:00
691326cea8
make sure we kill the threads that failed to ACK, rather than leave them sitting there, waiting forever
...
logging
2004-05-04 08:09:28 +00:00
3cac1238ed
handle reclose, logging, more clear notification
2004-05-04 05:53:11 +00:00
b04512a4f6
add unique IDs to the threads for easier tracing
2004-05-04 04:46:04 +00:00
3a4d0549aa
add accept timeouts (default is that if the server doesnt .accept() in 5s, refuse the con)
...
add unique IDs to the various threads for logging / tracing purposes
2004-05-04 04:44:05 +00:00
d7467f5dc3
disconnect isn't an error
2004-05-04 01:58:37 +00:00
141902b86d
parseParams throws exception on bad formatting, and its perfectly valid to have params with 0 values (e.g. DEST GENERATE\n)
2004-05-04 01:35:09 +00:00
5aa680fc93
simple test of whether DEST GENERATE works
2004-05-04 01:32:39 +00:00
a790117f5a
test the naming commnads (fetching ME, a known host, and an unknown host)
2004-05-04 01:11:44 +00:00
2a5a52c810
added xilog.i2p
2004-05-04 00:43:09 +00:00
2156f4c2f3
* more verbose errors (include MESSAGE data on the I2P_ERROR reply, not just in the log)
...
* don't create excess I2PAppContexts (if any old context will do, use the global)
keep track of keys per spec (when DESTINATION=blah, create (or reuse) the destination private
keys). we still need to persist this data though.
* the DESTINATION in the SESSION STATUS is now the same as the one sent in the
SESSION CREATE, /not/ the base64 of the private key, per spec
* enum is a reserved word in 1.5, so s/enum/names/ for future compatability
* logging
2004-05-03 11:34:38 +00:00
2585460286
initial tests for HELLO and create session (style=stream). covers the basics, but doesn't cover a single normal scenario yet
2004-05-03 11:16:59 +00:00