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!
Roger Dingledine [Sun, 22 Jul 2007 04:36:33 +0000 (04:36 +0000)]
Revert part of r10874, since it was breaking our load balancing
(we always picked one router past the one we wanted!) and could
conceivably read past the end of the smartlist too.
Nick, I don't know what gcc 4.2 was worried about, but we need
to find a better fix than this. :)
Roger Dingledine [Sat, 21 Jul 2007 23:40:55 +0000 (23:40 +0000)]
Directory authorities now call routers Fast if their bandwidth is
at least 100KB/s, and consider their bandwidth adequate to be a
Guard if it is at least 250KB/s. This fix complements proposal
107. [Bugfix on 0.1.2.x]
Nick Mathewson [Thu, 19 Jul 2007 19:40:45 +0000 (19:40 +0000)]
r13834@catbus: nickm | 2007-07-19 15:40:42 -0400
Another patch from croup: drop support for address masks that do not correspond to bit prefixes. Nobody has used this for a while, and we have given warnings for a long time.
Roger Dingledine [Tue, 17 Jul 2007 09:37:00 +0000 (09:37 +0000)]
bugfix on r10086:
We had accidentally labelled 0.1.2.x directory servers as not
suitable for begin_dir requests, and had labelled no directory
servers as suitable for uploading extra-info documents. [Bugfix
on 0.2.0.1-alpha]
Nick Mathewson [Mon, 16 Jul 2007 18:26:31 +0000 (18:26 +0000)]
r13788@catbus: nickm | 2007-07-16 14:26:25 -0400
Patch from croup: rewrite the logic of get_next_token() to do the right thing with input that ends at weird places, or aligns with block boundaries after mmap. should fix bug 455. Needs fuzzing.
Nick Mathewson [Mon, 16 Jul 2007 17:27:35 +0000 (17:27 +0000)]
r13784@catbus: nickm | 2007-07-16 13:27:32 -0400
Apply patch from tup: remove extra space at the end of some circuit-status events, and stop translating CRLF to CRCRLF in control replies.
Nick Mathewson [Mon, 16 Jul 2007 16:23:36 +0000 (16:23 +0000)]
r13774@catbus: nickm | 2007-07-16 12:23:28 -0400
Tweaks on constrained socket buffers patch from coderman: Add a changelog; rename some variables; fix some long lines and whitespace; make ConstrainedSockSize a memunit; pass setsockopt a void.
Roger Dingledine [Mon, 16 Jul 2007 00:11:03 +0000 (00:11 +0000)]
Backport candidate:
Fix a potential crash bug when we load many server descriptors at
once and some of them make others of them obsolete. Fixes bug
458. [Bugfix on 0.1.2.x]
Roger Dingledine [Thu, 12 Jul 2007 17:09:19 +0000 (17:09 +0000)]
Keep streamids from different exits on a circuit separate. This
bug may have allowed other routers on a given circuit to inject
cells into streams. Reported by lodger; fixes bug 446. [Bugfix
on 0.1.2.x]
Nick Mathewson [Thu, 12 Jul 2007 16:34:45 +0000 (16:34 +0000)]
r13730@catbus: nickm | 2007-07-12 12:32:40 -0400
Patch from lodger: avoid roundoff-error-induced crash bugs when picking routers by bandwidth.
Also, remove listed backports for 0.1.2.x; that list is now in TODO.012
Roger Dingledine [Wed, 11 Jul 2007 03:37:45 +0000 (03:37 +0000)]
backport candidate:
When sending destroy cells from a circuit's origin, don't include
the reason for tearing down the circuit. The spec says we didn't,
and now we actually don't. Reported by lodger. [Bugfix on 0.1.2.x]