Nick Mathewson [Sun, 4 Mar 2007 21:08:28 +0000 (21:08 +0000)]
r12077@catbus: nickm | 2007-03-04 16:08:23 -0500
Remove support for v0 control protocol from 0.2.0.x trunk; send back error when we receive a v0 control message. (Leave "if(v1){...}"blocks indented for now so this patch is easier to read.) ((Finally, the linecount goes _down_ a little.))
Nick Mathewson [Sun, 4 Mar 2007 20:11:46 +0000 (20:11 +0000)]
r12074@catbus: nickm | 2007-03-04 15:11:43 -0500
Make all LD_BUG log messsages get prefixed with "Bug: ". Remove manually-generated "Bug: "s from log-messages. (Apparently, we remembered to add them about 40% of the time.)
Nick Mathewson [Sun, 4 Mar 2007 19:47:34 +0000 (19:47 +0000)]
r11596@catbus: nickm | 2007-01-30 01:43:40 -0500
Macro-ize our "search for a library and find out how to link against it" code. This will help make our handling of libevent and openssl more similar, and with any luck better. Not pushing to main branch until after 0.1.2.
Nick Mathewson [Sat, 3 Mar 2007 21:55:31 +0000 (21:55 +0000)]
r12053@catbus: nickm | 2007-03-03 16:45:38 -0500
Remove some XXX012s: leave a check in connection_or_set_identity_digest it costs basically nothing to do on average. Forget about reinstating the user check on NT Service creation. Note that a notice message in main.c ("Is something wrong with your network connection?") is really useless.
Nick Mathewson [Sat, 3 Mar 2007 21:16:07 +0000 (21:16 +0000)]
r12051@catbus: nickm | 2007-03-03 16:15:52 -0500
nt_service_is_stopping should not load the NT service library calls: if they are not loaded, we cannot possibly be a service trying to shut own. Bug found by "norvid" on or-talk. Also, rename function to something slightly less error-prone.
Nick Mathewson [Fri, 2 Mar 2007 20:00:37 +0000 (20:00 +0000)]
r12375@Kushana: nickm | 2007-03-02 13:52:32 -0500
Meditate on why 104-short-descriptors cant work as written, and what needs to get solved before it can get implemented.
Nick Mathewson [Fri, 2 Mar 2007 20:00:33 +0000 (20:00 +0000)]
r12374@Kushana: nickm | 2007-03-02 13:12:09 -0500
Try to nail down versions and version negotiation more thoroughly. Document some issues and ideas. Try to make things more extensible.
Nick Mathewson [Thu, 1 Mar 2007 04:08:23 +0000 (04:08 +0000)]
r12023@catbus: nickm | 2007-02-28 23:08:20 -0500
Embarassing that the number one hit for TLS_EDH_RSA_WITH_DES_192_CBC3_SHA was somebody trying to figure out what we meant when we said it. Replace with something real, and clarify that sometimes "TLS" means "SSLv3".
Nick Mathewson [Thu, 1 Mar 2007 00:41:35 +0000 (00:41 +0000)]
r12014@catbus: nickm | 2007-02-28 19:41:20 -0500
Niels has accepted the patch from Scott Lamb to implement better signal handling: I can take "get the pthread_sigprocmask situation under control" off my plate.
Nick Mathewson [Wed, 28 Feb 2007 21:07:19 +0000 (21:07 +0000)]
r12006@catbus: nickm | 2007-02-28 16:06:24 -0500
On mingw, use "%I64u" to printf/scanf 64-bit integers, instead of the usual GCC "%llu". This prevents a bug when saving 64-bit int configuration values on mingw; the high-order 32 bits would get truncated. If the value was then reloaded, disaster would occur. (Fixes bug 400 and maybe also bug 397.) Backport candidate.
Roger Dingledine [Wed, 28 Feb 2007 21:06:05 +0000 (21:06 +0000)]
- Stop calling servers that have been hibernating for a long time
"stable". Also, stop letting hibernating or obsolete servers affect
uptime and bandwidth cutoffs.
- Stop listing hibernating servers in the v1 directory.
Nick Mathewson [Wed, 28 Feb 2007 20:24:23 +0000 (20:24 +0000)]
r12000@catbus: nickm | 2007-02-28 15:12:21 -0500
Try to fix eventdns bug 326 again, this time by noting that rcode 2 (serverfailed) does not really mean "The server is useless."
Nick Mathewson [Wed, 28 Feb 2007 00:36:03 +0000 (00:36 +0000)]
r11976@catbus: nickm | 2007-02-27 19:35:59 -0500
Add some missing (redundant but helpful in most cases) static declarations, and remove a function nobody was calling.
Nick Mathewson [Wed, 28 Feb 2007 00:23:05 +0000 (00:23 +0000)]
r11970@catbus: nickm | 2007-02-27 19:17:27 -0500
Fix a bug found by Udo van den Heuvel: avoid an assertion failure when a controller sets and clears EntryNodes before the next call to choose_random_entry(). Also make a function static.
Nick Mathewson [Tue, 27 Feb 2007 03:53:45 +0000 (03:53 +0000)]
r11959@catbus: nickm | 2007-02-26 22:53:36 -0500
try to make aes encryption of cells about 30-40% faster where applicable. offer not available for all architectures or all versions of openssl.
Nick Mathewson [Sun, 25 Feb 2007 16:22:36 +0000 (16:22 +0000)]
r11942@catbus: nickm | 2007-02-25 11:22:12 -0500
Fix connection_get_by_type_state_rendquery(): This has been bogus for most of 0.1.2.x. Thanks to Karsten Loesing for finding the bug; fixes bug 399.
Nick Mathewson [Sat, 24 Feb 2007 23:55:36 +0000 (23:55 +0000)]
r11933@catbus: nickm | 2007-02-24 18:55:33 -0500
Fix a bug in 9572: after we decref a defunct v1 directory, drop the main reference to it. Should fix bug 396. Many thanks to seeess for tracking this one down.
Nick Mathewson [Sat, 24 Feb 2007 07:55:46 +0000 (07:55 +0000)]
r11915@catbus: nickm | 2007-02-24 02:55:43 -0500
Note another fun way that we could replace the more automatable parts of arma with software, thus leaving the less automatable bits free to do less automatable stuff.
Nick Mathewson [Sat, 24 Feb 2007 07:37:45 +0000 (07:37 +0000)]
r11909@catbus: nickm | 2007-02-24 02:37:40 -0500
Move tricky "delete the member of the smartlist currently under iteration" logic into its own happyfun macro.
Roger Dingledine [Sat, 24 Feb 2007 04:17:29 +0000 (04:17 +0000)]
make it stop crashing when i exercise the new entrynodes behavior in
r9574. this hack is getting pretty darn hackish; perhaps it's time to
not use SMARTLIST_FOREACH in this situation.
Roger Dingledine [Sat, 24 Feb 2007 01:26:09 +0000 (01:26 +0000)]
bugfix on r9568: we were throwing around an uninitialized
nickname array, and only treating a server as reachable if
the array magically has the right nickname in it. this was
causing the authorities to label only themselves as running,
and clients were "mysteriously" failing.