| Commit message (Expand) | Author | Age |
* | More work towards making bridge users able to connect via bridges:••• - demand options->Bridges and options->TunnelDirConns if
options->UseBridges is set.
- after directory fetches, accept descriptors that aren't referenced by
our networkstatuses, *if* they're for a configured bridge.
- delay directory fetching until we have at least one bridge descriptor.
- learn how to build a one-hop circuit when we have neither routerinfo
nor routerstatus for our destination.
- teach directory connections how to pick a bridge as the destination
directory when doing non-anonymous fetches.
- tolerate directory commands for which the dir_port is 0.
- remember descriptors when the requested_resource was "authority",
rather than just ignoring them.
- put bridges on our entry_guards list once we have a descriptor for them.
When UseBridges is set, only pick entry guards that are bridges. Else
vice versa.
svn:r10571
| Roger Dingledine | 2007-06-12 |
* | Resetting the correct stats•••svn:r10569
| Peter Palfrader | 2007-06-12 |
* | r13364@catbus: nickm | 2007-06-11 20:15:53 -0400••• Stop assuming that desc_by_eid_map works: in fact, it kinda doesn't. Add a big comment explaining why.
svn:r10567
| Nick Mathewson | 2007-06-12 |
* | r13355@catbus: nickm | 2007-06-11 18:19:34 -0400••• Make all the digestmaps inside routerlist_t use the new typechecking wrappers, so we can catch any more bugs like the one fixed by 10561. This turned up a bug in routerlist_remove: we were extracting a routerinfo_t from desc_digest_map. Fix that too, though it was probably harmless, since we were only doing a pointer comparison with it.
svn:r10563
| Nick Mathewson | 2007-06-11 |
* | r13352@catbus: nickm | 2007-06-11 17:42:45 -0400••• Since desc_by_eid_map hold server descriptors, do not add routerinfo_ts. Bug found by weasel
svn:r10561
| Nick Mathewson | 2007-06-11 |
* | Reorder routerlist_assert_ok() and routerlist_check_bug_417(), so if the asse...•••svn:r10560
| Peter Palfrader | 2007-06-11 |
* | more building blocks towards being able to fetch bridge descriptors•••svn:r10548
| Roger Dingledine | 2007-06-10 |
* | r13317@catbus: nickm | 2007-06-08 14:39:59 -0400••• bugfix: we were undercounting the number of authorities that recommended any given version by 1. Backport candidate.
svn:r10537
| Nick Mathewson | 2007-06-08 |
* | r13274@catbus: nickm | 2007-06-05 19:06:30 -0400••• Remove some deadcode that seems unlikely to return
svn:r10509
| Nick Mathewson | 2007-06-06 |
* | r13254@catbus: nickm | 2007-06-04 20:13:47 -0400••• When choosing a guard, weight by bandwidth. Resolves bug 440.
svn:r10493
| Nick Mathewson | 2007-06-05 |
* | r13243@catbus: nickm | 2007-06-04 15:17:15 -0400••• Start of code to compute consensus network-status stuff from a bunch of votes. Strangely, it does not yet feel like an enormous ugly hack.
svn:r10489
| Nick Mathewson | 2007-06-04 |
* | r13148@catbus: nickm | 2007-06-02 10:24:20 -0400••• Fix bug 441, 442, and possibly 417 (again).
svn:r10449
| Nick Mathewson | 2007-06-02 |
* | r13144@catbus: nickm | 2007-06-02 08:44:42 -0400••• Add some asserts to catch double-insert on routerlist.
svn:r10445
| Nick Mathewson | 2007-06-02 |
* | r13143@catbus: nickm | 2007-06-01 16:43:40 -0400••• Try to fix some mipspro compiler warnings. There will still be some left.
svn:r10444
| Nick Mathewson | 2007-06-02 |
* | r13050@catbus: nickm | 2007-05-29 13:31:11 -0400••• Resolve all but 3 DOCDOCs.
svn:r10393
| Nick Mathewson | 2007-05-29 |
* | r13041@catbus: nickm | 2007-05-29 10:40:05 -0400••• More messing around to try to address possible root causes of bug 436.
svn:r10388
| Nick Mathewson | 2007-05-29 |
* | polish r9933-r9994•••svn:r10335
| Roger Dingledine | 2007-05-25 |
* | r12936@catbus: nickm | 2007-05-24 14:12:34 -0400••• Review XXXX comments without a version; upgrade some to XXXX020.
svn:r10315
| Nick Mathewson | 2007-05-24 |
* | r12918@catbus: nickm | 2007-05-24 12:52:40 -0400••• Make reset_download_failures() reset extrainfo download status too.
svn:r10306
| Nick Mathewson | 2007-05-24 |
* | r12915@catbus: nickm | 2007-05-24 12:12:34 -0400••• Do not send a warning when somebody uploads an extrainfo that we will reject, if it happens to be newer than our current routerdesc.
svn:r10303
| Nick Mathewson | 2007-05-24 |
* | r12899@catbus: nickm | 2007-05-22 13:51:26 -0400••• Extract common code from networkstatus_getinfo_helper_single() and generate_v2_networkstatus().
svn:r10294
| Nick Mathewson | 2007-05-22 |
* | r12898@catbus: nickm | 2007-05-22 13:11:04 -0400••• More v3 directory code: have authorities load certificates; have everybody store certificates to disk and load them; provide a way to configure v3 authorities.
svn:r10293
| Nick Mathewson | 2007-05-22 |
* | r12853@catbus: nickm | 2007-05-22 11:36:54 -0400••• Make connection_array into a smartlist.
svn:r10292
| Nick Mathewson | 2007-05-22 |
* | r12850@catbus: nickm | 2007-05-21 22:20:42 -0400••• Partial backport candidate: do not rely on finding a \0 after an mmaped() router/extrainfo file. Also, set journal length correctly when starting up.
svn:r10248
| Nick Mathewson | 2007-05-22 |
* | r12846@catbus: nickm | 2007-05-21 21:55:15 -0400••• Oops; it is possible to have an empty store.
svn:r10247
| Nick Mathewson | 2007-05-22 |
* | r12844@catbus: nickm | 2007-05-21 21:52:19 -0400••• Oops. It compiles better when you spell the fields right.
svn:r10245
| Nick Mathewson | 2007-05-22 |
* | r12842@catbus: nickm | 2007-05-21 21:51:45 -0400••• Partial backport candidate. Fix issue noted in r10241: stores were rebuilt too often. Also notes dropped bytes better.
svn:r10244
| Nick Mathewson | 2007-05-22 |
* | mark a bug for nick to tackle -- we're rebuilding our router store more•••often than we need to. reported by lodger.
svn:r10241
| Roger Dingledine | 2007-05-22 |
* | Make the NodeFamilies config option work. (Reported by•••lodger -- it has never actually worked, even though we added it
in Oct 2004.)
svn:r10238
| Roger Dingledine | 2007-05-22 |
* | Hopefully fix #429 for good by actually using, not just figuring out, the cor...•••svn:r10233
| Peter Palfrader | 2007-05-21 |
* | r13023@Kushana: nickm | 2007-05-20 16:16:36 -0400••• More bulletproofing on bug 429
svn:r10231
| Nick Mathewson | 2007-05-20 |
* | r13021@Kushana: nickm | 2007-05-20 14:03:10 -0400••• Provide actual reasons when dropping an uploaded extrainfo for incompatibility; also, clean whitespace.
svn:r10230
| Nick Mathewson | 2007-05-20 |
* | r13017@Kushana: nickm | 2007-05-20 13:40:45 -0400••• Address points in r10227.
svn:r10229
| Nick Mathewson | 2007-05-20 |
* | svn:r10228 | Nick Mathewson | 2007-05-20 |
* | point out two remote crash bugs, a memory leak, and a few other•••items we should probably look into.
svn:r10227
| Roger Dingledine | 2007-05-20 |
* | r12818@catbus: nickm | 2007-05-20 01:15:50 -0400••• Look for extrainfo bodies in the extrainfo mmap, not in the descriptor mmap. Duh. Should fix bug 429.
svn:r10226
| Nick Mathewson | 2007-05-20 |
* | Fix a loop in routerlist_assert_ok()•••svn:r10224
| Peter Palfrader | 2007-05-19 |
* | r12810@catbus: nickm | 2007-05-19 16:08:42 -0400••• Fix bugs in extrainfo_insert, and change it to use desc_by_eid_map.
svn:r10222
| Nick Mathewson | 2007-05-19 |
* | r12808@catbus: nickm | 2007-05-19 14:48:51 -0400••• Fix another consistency error.
svn:r10221
| Nick Mathewson | 2007-05-19 |
* | r12805@catbus: nickm | 2007-05-19 14:31:00 -0400••• Fix a groovy memory corruption bug in routerlist_replace.
svn:r10220
| Nick Mathewson | 2007-05-19 |
* | r12802@catbus: nickm | 2007-05-19 14:12:27 -0400••• clear some ram when freeing it; add some more checks to assert_routerlist_ok.
svn:r10218
| Nick Mathewson | 2007-05-19 |
* | r12798@catbus: nickm | 2007-05-18 20:31:54 -0400••• Yet more debugging code to track down 417/404, inspired by a fun core from arma.
svn:r10216
| Nick Mathewson | 2007-05-19 |
* | r12982@Kushana: nickm | 2007-05-18 15:15:14 -0400••• Partial backport candidate: We had a bug where we were downloading descriptors by descriptor digest, but trying to look them up by identity fingerprint when updating their failure count and next retry time. (Also use correct backoff logic for extrainfo code.) Needs testing, doubtless.
svn:r10210
| Nick Mathewson | 2007-05-18 |
* | r12981@Kushana: nickm | 2007-05-18 14:12:19 -0400••• First cut at code to download extra-info docs. Also note a bad bug in directory.c (look for the string BUG BUG BUG).
svn:r10209
| Nick Mathewson | 2007-05-18 |
* | r12771@catbus: nickm | 2007-05-16 18:12:32 -0400••• Make -Wstrict-overflow=5 happy with GCC 4.2. It is kind of a pain, but it does agood job of letting us know where we can make our code better by simplifying dependent conditionals.
svn:r10201
| Nick Mathewson | 2007-05-16 |
* | r12758@catbus: nickm | 2007-05-14 15:19:29 -0400••• Cleanup, lock-down, and refactor bits of routerparse.c: use a single unified function to check all signatures. Fix all DOCDOCs. Remove some old dead debugging code. Enforce some parsing rules better.
svn:r10192
| Nick Mathewson | 2007-05-14 |
* | backport candidate: seems to me that r10153 won't work without•••this patch too.
svn:r10187
| Roger Dingledine | 2007-05-14 |
* | polish r9726-r9903•••svn:r10182
| Roger Dingledine | 2007-05-13 |
* | If a directory authority is down, skip it when deciding where to get•••networkstatus objects or descriptors. Otherwise we keep asking
every 10 seconds forever.
(adapted from r9880)
svn:r10175
| Roger Dingledine | 2007-05-12 |
* | r12708@catbus: nickm | 2007-05-10 15:18:08 -0400••• Patch from shibz: implement a getinfo status/version/... so a controller can tell whether the current version is recommended, whether any versions are good, and how many authorities agree.
svn:r10162
| Nick Mathewson | 2007-05-10 |