jrandom
5c1e001a73
logging
2004-06-27 19:39:45 +00:00
mpc
f312318fab
Finished winsock code cleanup
2004-06-27 13:07:06 +00:00
mpc
dc04b7cf09
Some winsock improvements
2004-06-27 09:12:05 +00:00
mpc
83c88ac0c6
minor fixes
2004-06-26 02:26:37 +00:00
mpc
44623065b4
Threads (untested)
2004-06-26 02:16:54 +00:00
mpc
47c7c8177d
Mutex code (untested)
2004-06-25 22:22:48 +00:00
mpc
bde7a5ff59
Mutex code (untested)
2004-06-25 22:19:18 +00:00
mpc
56cf51f0f9
New configuration system
2004-06-25 01:31:02 +00:00
mpc
eb40fb9c5d
typo
2004-06-24 11:51:24 +00:00
mpc
085da0cea7
Started work on a configuration options object
2004-06-24 11:47:01 +00:00
mpc
5539b19938
Added a new example program (which actually works)
2004-06-23 23:35:39 +00:00
mpc
8f895f4349
just starting this (backup)
2004-06-23 12:34:50 +00:00
mpc
980c0aa1d7
Added PRNG code
2004-06-23 11:56:53 +00:00
mpc
52fd6ca513
Get rid of Debian-specific Makefile -- gcc < 3.0 is obsolete
2004-06-22 22:49:59 +00:00
mpc
eb5dd2ff2e
Now it compiles on Cygwin
2004-06-22 22:48:32 +00:00
jrandom
551a7ab82f
benchmarking large messages doesnt make much sense when we can compress the payload really really well, now does it?
2004-06-22 04:52:06 +00:00
jrandom
2901287d9e
new command line flags to harvest from an explicit file list rather than using all files in a single directory
...
(this lets us specify lots of my.info references to make sure we harvest fresh data, rather than depending upon stat propogation)
usage: NetMonitor [configFilename] [--routers filename[,filename]*]
2004-06-22 04:50:43 +00:00
mpc
d502df7d56
Make this compile straight out of CVS (you have to have libtomcrypt compiled in a libtomcrypt-0.96 directory in your home directory)
2004-06-21 08:21:17 +00:00
mpc
beb6cc8c0f
the journey of a thousand miles begins with a single step :-)
2004-06-21 07:57:11 +00:00
mpc
c99db5e75c
change preprocessor conditional to check for 1/0 instead of true/false
2004-06-21 07:50:33 +00:00
mpc
65cd70a85b
LibSAM
2004-06-20 11:44:53 +00:00
jrandom
2a07ceba62
a message send failure is no reason to drop the SAM session
...
for style=stream, tell the client the stream failed, and kill the virtual connection..
for raw and repliable datagrams, just carry on our merry way
2004-06-20 01:49:07 +00:00
jrandom
0a479be370
include NAME=val in failed lookup replies (per spec - thanks nightblade)
...
fixes http://dev.i2p.net/bugzilla/show_bug.cgi?id=79
2004-06-13 20:19:16 +00:00
duck
05918de6ab
fix bug #75
...
the databuffer is reused so it might contain junk, therefore only use the
available amount of bytes
(duck)
2004-05-26 12:25:04 +00:00
brianr
727f4c3bb5
Another rfc2068 fix.
...
ERR_REQUEST_DENIED now returns a 403 status code. Note that I'm assuming
this error occurs because the proxy is configured to not allow connection
to non-i2p destinations. If it's issued for other reasons we might want
to consider using 503 instead.
2004-05-24 07:28:24 +00:00
brianr
7372ad0cc4
A few changes to make proxy return the proper rfc2068 status codes
...
instead of 404 for everything.
ERR_DESTINATION_UNKNOWN now returns 503 instead of 404 with a slightly
more clear error message.
ERR_TIMEOUT now returns 504 gateway timeout.
2004-05-24 07:08:02 +00:00
shendaras
ca6884dbca
imports (sorry, includes alphabetizing, wee)
...
(shendaras)
2004-05-24 03:21:21 +00:00
jrandom
6d2d9aed7e
correctly handle no reachable NTP servers
2004-05-22 01:51:07 +00:00
jrandom
e7e8ad9bdc
add the socketErrorListener interface (sorry duck)
2004-05-19 22:30:52 +00:00
jrandom
097a4647a8
handle i2ptunnel server connection .accept()s asynchronously so we don't refuse lots of requests, causing intermittent "failures"
...
use the new async error listening interface of the ministreaming lib
truckloads of logging
2004-05-19 15:20:55 +00:00
jrandom
0942a7f3ff
truckloads of logging
...
new async interface for error notification (e.g. you can get notified of an error prior to it throwing the IOException).
This async is useful since the IOException can be delayed for up to a minute while waiting for the close packet to be delivered.
The alternative is to fire off a new thread to do the closing, and we may want to go there later, but i'm not sure.
2004-05-19 15:14:30 +00:00
brianr
2df4370477
Some changes to make the SAM module never block if called on a socket
...
which select() says is safe to read/write or called in any case on a socket
which is O_NONBLOCK
Significant work is still required.
2004-05-19 01:26:02 +00:00
shendaras
292363eb65
imports (sorry, includes alphabetizing, wee)
...
(shendaras)
2004-05-17 03:38:53 +00:00
brianr
1cf7dac82b
test
2004-05-16 21:44:23 +00:00
brianr
6003b2902f
Preliminary checkin of (mostly useless) Net::SAM perl module.
...
Net::SAM::StreamSession is currently unimplemented.
Net::Sam::[Datagram|Raw]Session block when they shouldn't and are buggy.
2004-05-16 21:35:46 +00:00
jrandom
ff0023a889
big ol' memory, cpu usage, and shutdown handling update. main changes include:
...
* rather than have all jobs created hooked into the clock for offset updates, have the jobQueue stay hooked up and update any active jobs accordingly (killing a memory leak of a JobTiming objects - one per job)
* dont go totally insane during shutdown and log like mad (though the clientApp things still log like mad, since they don't know the router is going down)
* adjust memory buffer sizes based on real world values so we don't have to expand/contract a lot
* dont display things that are completely useless (who cares what the first 32 bytes of a public key are?)
* reduce temporary object creation
* use more efficient collections at times
* on shutdown, log some state information (ready/timed jobs, pending messages, etc)
* explicit GC every 10 jobs. yeah, not efficient, but just for now we'll keep 'er in there
* only reread the router config file if it changes (duh)
2004-05-16 04:54:50 +00:00
jrandom
c7895ed905
oh, you mean we're supposed to be at least a /little/ resiliant?
2004-05-13 03:54:33 +00:00
jrandom
61f6871cd1
logging and a catastrophic try/catch (no situations have called for this yet, but its worth testing for)
2004-05-12 07:47:22 +00:00
jrandom
406048f7b9
ugly tests to see if the minimal RAW side of SAM works (it does, w00t)
2004-05-11 03:00:53 +00:00
jrandom
6dd5b0fe45
basic datagram tests (that work now :)
2004-05-11 02:44:16 +00:00
jrandom
fd4bc5e3cf
keystream fixes
2004-05-11 02:43:52 +00:00
jrandom
3bab2d8957
only append the client's config properties to the SESSION commands (since some of the rest get confused with unknown tags...)
2004-05-11 02:07:27 +00:00
jrandom
d4bb32da82
fix per http://twiki.ntp.org/bin/view/Support/JavaSntpClientDev (thanks duck!)
...
this may have caused some clock skew problems on the deployed 0.3.1.1, so we'll get this deployed asap
2004-05-11 01:45:18 +00:00
jrandom
08aca6ca61
while (true) { m00; }
2004-05-09 07:23:43 +00:00
jrandom
697b3c6772
SAM .net lib work in progress - dm and firerabbit
2004-05-09 07:16:04 +00:00
jrandom
878525ced8
handle corrupt files more gracefully
2004-05-09 04:14:30 +00:00
shendaras
418531736b
imports
...
Did you miss me?
(shendaras)
2004-05-09 01:31:12 +00:00
jrandom
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
jrandom
f772d6ddeb
/me reboots brain, understands, and thanks mihi
2004-05-07 04:19:43 +00:00
jrandom
45ec73c115
include a unique request id in the client runner thread name
...
minor cleanup
2004-05-07 03:33:23 +00:00