aboutsummaryrefslogtreecommitdiff
path: root/src/or
Commit message (Expand)AuthorAge
* 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 Dingledine2007-06-12
* Resetting the correct stats•••svn:r10569 Peter Palfrader2007-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 Mathewson2007-06-12
* Remove an #undef, so you can -Ddefine stuff on the command line•••svn:r10564 Peter Palfrader2007-06-11
* 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 Mathewson2007-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 Mathewson2007-06-11
* Reorder routerlist_assert_ok() and routerlist_check_bug_417(), so if the asse...•••svn:r10560 Peter Palfrader2007-06-11
* r13338@catbus: nickm | 2007-06-10 15:13:32 -0400••• Fix bug in 10533: put "opt v" line at the end of a routerstatus section; overwriting is bad. svn:r10549 Nick Mathewson2007-06-10
* more building blocks towards being able to fetch bridge descriptors•••svn:r10548 Roger Dingledine2007-06-10
* discard the "bridge list" stubs that i hope i never need.•••svn:r10547 Roger Dingledine2007-06-10
* Be clearer on the various roles for auth dir types.•••Bridge authorities no longer write bridge descriptors to their cached-routers file -- this gets complex because of extrainfo documents. svn:r10545 Roger Dingledine2007-06-09
* don't complain when approved-routers isn't there and we•••don't need it. svn:r10544 Roger Dingledine2007-06-09
* scrub out some more references to the misnamed 'bridge' concept•••svn:r10543 Roger Dingledine2007-06-09
* r13328@catbus: nickm | 2007-06-08 17:14:55 -0400••• Arg. Irix apparently #defines sa_family to something. Thus, naming fields or variables "sa_family" will not work. svn:r10541 Nick Mathewson2007-06-08
* r13325@catbus: nickm | 2007-06-08 15:02:37 -0400••• Parse networkstatuses (v2, vote, and consensus) after generating them, and fail fast if there is a parse error. svn:r10540 Nick Mathewson2007-06-08
* 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 Mathewson2007-06-08
* r13315@catbus: nickm | 2007-06-08 14:33:24 -0400••• Make versions get added to networkstatuses correctly again. svn:r10535 Nick Mathewson2007-06-08
* r13314@catbus: nickm | 2007-06-08 14:30:31 -0400••• Enfore that known_flags in networkstatus votes must be unique. svn:r10534 Nick Mathewson2007-06-08
* r13313@catbus: nickm | 2007-06-08 14:23:11 -0400••• Refactor v3 vote generation code into "build a networkstatus_vote_t" and "format a networkstatus_vote_t". This should make testing possible. svn:r10533 Nick Mathewson2007-06-08
* r13304@catbus: nickm | 2007-06-07 13:25:37 -0400••• Deprecate RedirectExits. svn:r10526 Nick Mathewson2007-06-07
* r13292@catbus: nickm | 2007-06-06 17:34:15 -0400••• Check for non-standard SVK directories properly. Inspired by debian bug #420899 and related discussion on SVK list. svn:r10522 Nick Mathewson2007-06-07
* avoid leaking memory in a path never followed. pointed out•••by robert watson. svn:r10521 Roger Dingledine2007-06-07
* r13283@catbus: nickm | 2007-06-06 01:43:44 -0400••• Fix up a couple of loops flagged by -Wunsafe-loop-optimizations so that they are more readable (and more amenable to compilation) svn:r10513 Nick Mathewson2007-06-06
* r13276@catbus: nickm | 2007-06-05 19:45:33 -0400••• Remove another long-dead #if 0 I missed before svn:r10511 Nick Mathewson2007-06-06
* r13275@catbus: nickm | 2007-06-05 19:11:05 -0400••• Apply my sekrit "unused macro detector" script to hunt down some macros we didnt use. svn:r10510 Nick Mathewson2007-06-06
* r13274@catbus: nickm | 2007-06-05 19:06:30 -0400••• Remove some deadcode that seems unlikely to return svn:r10509 Nick Mathewson2007-06-06
* r13267@catbus: nickm | 2007-06-05 16:54:20 -0400••• Man page and small tweaks for last patch. svn:r10505 Nick Mathewson2007-06-05
* r13266@catbus: nickm | 2007-06-05 16:38:08 -0400••• Patch from peter palfrader: control interface via unix domain socket svn:r10504 Nick Mathewson2007-06-05
* r13256@catbus: nickm | 2007-06-05 10:57:41 -0400••• Mark fields that need to be ipv6-ified. svn:r10503 Nick Mathewson2007-06-05
* Change an assert into a tor_assert•••svn:r10495 Peter Palfrader2007-06-05
* r13254@catbus: nickm | 2007-06-04 20:13:47 -0400••• When choosing a guard, weight by bandwidth. Resolves bug 440. svn:r10493 Nick Mathewson2007-06-05
* r13252@catbus: nickm | 2007-06-04 18:57:21 -0400••• Code to check signatures on consensus directories. svn:r10492 Nick Mathewson2007-06-04
* r13250@catbus: nickm | 2007-06-04 18:28:55 -0400••• Adapt code to parse v3 networkstatus votes so it can also parse a consensus. Make networkstatus_vote_t the catch-all type for votes and conensuses. Correct/clarify the second argument to directory-signature. svn:r10491 Nick Mathewson2007-06-04
* r13248@catbus: nickm | 2007-06-04 15:53:23 -0400••• More code to generate a consensus from a list of votes. Now, we handle Named, and we actually generate and sign the signed consensus. Yippee. Still needs testing. Still not actually called. svn:r10490 Nick Mathewson2007-06-04
* 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 Mathewson2007-06-04
* Fix retry_all_listeners() and retry_listeners() description to match code. W...•••svn:r10487 Peter Palfrader2007-06-04
* Remove force flag from retry_all_listeners() and retry_listeners(). It alway...•••svn:r10486 Peter Palfrader2007-06-04
* Stop tearing down the whole circuit when the user asks for a•••connection to a port that the hidden service didn't configure. Resolves bug 444. svn:r10478 Roger Dingledine2007-06-04
* r13189@catbus: nickm | 2007-06-03 19:08:01 -0400••• Oops. Only bind ports and start libevent if we are actually running Tor. svn:r10474 Nick Mathewson2007-06-03
* r13186@catbus: nickm | 2007-06-03 19:00:20 -0400••• Bind ports before setuid/setgid. svn:r10473 Nick Mathewson2007-06-03
* r13174@catbus: nickm | 2007-06-03 17:39:20 -0400••• Patch from robert hogan: avoid crash when DNS port is set more than once. svn:r10471 Nick Mathewson2007-06-03
* r13166@catbus: nickm | 2007-06-02 23:02:40 -0400••• First cut at code to parse and validate v3 networkstatus votes. svn:r10461 Nick Mathewson2007-06-03
* r13165@catbus: nickm | 2007-06-02 22:55:22 -0400••• Remove an obsoleted function svn:r10460 Nick Mathewson2007-06-03
* fix up a comment•••svn:r10453 Roger Dingledine2007-06-02
* r13158@catbus: nickm | 2007-06-02 11:40:05 -0400••• On systems with svk, do not clobber micro-revision.i when building from a tarball. svn:r10452 Nick Mathewson2007-06-02
* r13154@catbus: nickm | 2007-06-02 11:26:44 -0400••• Server-side support for If-Modified-Since in HTTP requsts for v1 stuff, and for network-status documents. svn:r10451 Nick Mathewson2007-06-02
* r13148@catbus: nickm | 2007-06-02 10:24:20 -0400••• Fix bug 441, 442, and possibly 417 (again). svn:r10449 Nick Mathewson2007-06-02
* r13144@catbus: nickm | 2007-06-02 08:44:42 -0400••• Add some asserts to catch double-insert on routerlist. svn:r10445 Nick Mathewson2007-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 Mathewson2007-06-02
* r13139@catbus: nickm | 2007-06-01 14:02:40 -0400••• Add some ;trues, and tabify. svn:r10441 Nick Mathewson2007-06-01