- Jun 27, 2004
-
- Jun 26, 2004
-
-
for now, lets disable the tunnel pool persistance. this means that after a router crashes, tunnels it was participating in will fail even if the router comes back up before they expire. disabling this saves us some IO contention (though this may only be relevent on my kaffe box... dunno)
- Jun 25, 2004
-
-
-
yet another deployment option - the user can define a jbigi.ref environmental variable to specify a file from which the name of the resource to be loaded should be found (default is "jbigi.cfg") if that file exists, the NativeBigInteger will act as if jbigi.impl was set to the contents of that file. For instance, a jbigi.cfg containing "win-p4" would have the NativeBigInteger search the classpath for the "win-p4" file and use it as a native library. The jbigi.ref preempts the jbigi.impl property (only if the file exists and is not empty), but the external platform specific jbigi preempts this (e.g. jbigi.dll or libjbigi.so), as does the jbigi.enable flag. This option lets us have the admin console write to a file to choose which jbigi to use, rather than have to parse some shell script, etc
-
make the tcp connection handler nonblocking by adding another (very short lived) thread - this prevents a peer connecting to us that is very slow (or unconnectable) from forcing other cons to timeout completely ripped out the fscking bandwidth limiter until i get it more reliable gave threads more explicit names (for the sim) logging
-
add some minimal security to the admin console, requiring a passphrase to be entered when updating the clock offset this works by a simple substring match of the URL - if the router.config contains the adminTimePassphrase=blah, the time update will only succeed if the URL contains "blah" in it if the router.config does NOT contain an adminTimePassphrase, the time update WILL BE REFUSED. aka to use the timestamper, you MUST set adminTimePassphrase AND update the clientApp.0.args= line to include the passphrase in the URL! e.g. clientApp.0.args=http://localhost:7655/setTime?blah pool.ntp.org pool.ntp.org pool.ntp.org
- Jun 24, 2004
-
- Jun 23, 2004
-
-
logging mods i really need to rewrite the tcp transport - the code is all functional, but the design sucks. with the FIFO bandwidth limiter we could get away with a single 'send' thread rather than each TCPConnection having its own writer thread (but we'd still need the per-con reader thread, at least until nio is solid enough) but maybe the rewrite can hold off until the AMOC implementation. we'll see