Nick Mathewson [Thu, 2 Aug 2007 01:28:40 +0000 (01:28 +0000)]
r13892@Kushana: nickm | 2007-08-01 18:27:13 -0700
Close immediately after anything but a successful authentication attempt on the control port. Backport candidate.
Nick Mathewson [Wed, 1 Aug 2007 15:57:34 +0000 (15:57 +0000)]
r13872@Kushana: nickm | 2007-07-31 08:27:54 -0700
Rename IN4_ADDR and IN6_ADDR to try to avoid conflicting with Windows definitions. This may fix the windows build.
Nick Mathewson [Mon, 30 Jul 2007 18:14:14 +0000 (18:14 +0000)]
r14024@catbus: nickm | 2007-07-30 14:13:58 -0400
Glibc (and maybe others) define a mallinfo() that can be used to see how the platform malloc is acting inside. When we have it, dump its output on dumpmemusage().
Nick Mathewson [Mon, 30 Jul 2007 17:47:43 +0000 (17:47 +0000)]
Yet another buffer RAM patch: tNever ever ever keep a buffer memory chunk around for an empty buffer that could go on the freelist. This wants profiling to make sure that performance doesnt suffer.
Nick Mathewson [Sun, 29 Jul 2007 23:11:44 +0000 (23:11 +0000)]
r13989@catbus: nickm | 2007-07-29 19:11:07 -0400
More directory voting code. Now, if everything works, and I haven't forgotten anything, it is possible to set up some v3 authorities and start voting. Of course, I have probably forgotten something, and there are probably bugs in there somewhere too.
Nick Mathewson [Sun, 29 Jul 2007 23:11:42 +0000 (23:11 +0000)]
r13988@catbus: nickm | 2007-07-29 16:32:36 -0400
Cheesy attempt to break some censorware. Not a long-term fix, but it will be intersting to watch the epidemiology of the workarounds as the censors apply them.
Nick Mathewson [Sun, 29 Jul 2007 05:32:03 +0000 (05:32 +0000)]
r13982@catbus: nickm | 2007-07-29 01:31:53 -0400
Actually, we missed a rule about what routers to prefer: first prefer authority to non-authority, *then* running, *then* bandwidth.
Nick Mathewson [Sun, 29 Jul 2007 05:20:31 +0000 (05:20 +0000)]
r13979@catbus: nickm | 2007-07-29 01:20:20 -0400
Implement proposal 109: As an authority, never call more than 3 servers per IP Running and Valid. Prefer Running servers to non-running ones; then prefer high-bandwidth to low-bandwidth. Needs testing.
Nick Mathewson [Sun, 29 Jul 2007 04:03:25 +0000 (04:03 +0000)]
r13972@catbus: nickm | 2007-07-29 00:01:38 -0400
Make our control events for multi-line async replies conform to our old grammar. Change back to the old grammar (which got "corrected" in r10931).
Nick Mathewson [Sat, 28 Jul 2007 00:11:34 +0000 (00:11 +0000)]
r13956@catbus: nickm | 2007-07-27 20:09:48 -0400
Better certificate manipulations: extract certificates from incoming votes, forget ones that are very old, and remember to store them on disk.
Nick Mathewson [Fri, 27 Jul 2007 23:19:02 +0000 (23:19 +0000)]
r13952@catbus: nickm | 2007-07-27 19:18:46 -0400
Weasel noticed that many buffers spend their time with empty 4k, 8k, and 16k memory chunks. Thus, be more aggressive about putting empty chunks on the freelist, regardless of their high water marks. (Also, run buffer_shrink_freelist on the 8k-chunk freelist.)
Nick Mathewson [Fri, 27 Jul 2007 23:18:55 +0000 (23:18 +0000)]
r13950@catbus: nickm | 2007-07-27 18:15:23 -0400
Wrap bandwidth usage info in another ifdef so we can easily drop it on august 1 when it is time to finalize proposal 104.
Nick Mathewson [Fri, 27 Jul 2007 22:09:08 +0000 (22:09 +0000)]
r13948@catbus: nickm | 2007-07-27 18:09:02 -0400
Add to the TODO as starred items all the things we need to do in order to get authorities voting (not too robustly, bare-minimum).
Nick Mathewson [Fri, 27 Jul 2007 18:33:30 +0000 (18:33 +0000)]
r13937@catbus: nickm | 2007-07-27 12:43:36 -0400
Maintain a detached-signatures document along with pending consensus document. Add a dirvote_free_all() to clean up static vars in dirvote.c
Nick Mathewson [Thu, 26 Jul 2007 21:26:57 +0000 (21:26 +0000)]
r13927@catbus: nickm | 2007-07-26 17:26:49 -0400
Fix router_choose_by_bandwidth to no longer be biases by floating-point roundoff issues. This runs through the list of routers yet another time, and uses an additional bitfield, but this should be okay: the function did not appear in profiles before, and shouldnt start appearing now.
Nick Mathewson [Wed, 25 Jul 2007 22:57:07 +0000 (22:57 +0000)]
r13908@catbus: nickm | 2007-07-25 18:55:47 -0400
Patch from Robert Hogan: set conn->dns_server_port correctly so that we can close dns server ports when they change, thus avoiding crashes and dangling references and other sources of unhappiness.
Nick Mathewson [Wed, 25 Jul 2007 22:57:02 +0000 (22:57 +0000)]
r13907@catbus: nickm | 2007-07-25 18:51:25 -0400
Patch from tup: translate LFs to CRLFs in NS replies and
ensures the data section is properly terminated with "\r\n.\r\n
Nick Mathewson [Wed, 25 Jul 2007 22:56:54 +0000 (22:56 +0000)]
r13905@catbus: nickm | 2007-07-25 18:48:44 -0400
ADDRMAP events should never have specified local time. Extend them to have the proper gmt time, and make GETINFO address-mappings always do the right thing (since it is new in this version).
Nick Mathewson [Wed, 25 Jul 2007 22:56:47 +0000 (22:56 +0000)]
r13903@catbus: nickm | 2007-07-25 18:03:56 -0400
Make buffer large enough to hold ip6.arpa addresses. This code was not actually used yet, so no user-visible bug existed. (Based on patch by croup.)
Nick Mathewson [Mon, 23 Jul 2007 04:18:20 +0000 (04:18 +0000)]
r13773@kushana: nickm | 2007-07-23 00:16:44 -0400
Use tor malloc replacements in eventdns.c for now: there might be goblins there...goblins that only dmalloc can find!