aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Refine r10571: more work on bridge stuff.Roger Dingledine2007-06-15
| | | | | | | | | | | | | - Only listen to responses for "authority" fetches if we're configured to use Bridges. Otherwise it's safe (and maybe smarter) to silently discard them like we used to. - React faster to download networkstatuses after the first bridge descriptor arrives. - Don't do dir fetches before we have any bridges, even when our dirport is open. svn:r10604
* Change suggestions from our editorPaul Syverson2007-06-14
| | | | svn:r10603
* r13413@catbus: nickm | 2007-06-13 18:44:28 -0400Nick Mathewson2007-06-13
| | | | | | | Non-static inline functions cant talk about static variables. svn:r10599
* r13410@catbus: nickm | 2007-06-13 18:39:05 -0400Nick Mathewson2007-06-13
| | | | | | | Fix compilation on compilers that do not allow you to typedef the same type twice. svn:r10598
* r13409@catbus: nickm | 2007-06-13 18:01:56 -0400Nick Mathewson2007-06-13
| | | | | | | Test the remainder of the contents of the consensus; fix a bug in geneating addresses on routerstatuses. svn:r10597
* r13406@catbus: nickm | 2007-06-13 17:05:30 -0400Nick Mathewson2007-06-13
| | | | | | | Oops; linked connections get read/write events too. svn:r10596
* r13403@catbus: nickm | 2007-06-13 16:15:44 -0400Nick Mathewson2007-06-13
| | | | | | | Test all of consensus contents, except for routerstatus_list contents. And signatures. svn:r10593
* r13401@catbus: nickm | 2007-06-13 15:50:16 -0400Nick Mathewson2007-06-13
| | | | | | | Add dnsport connection to the global connection list. (Bug found by mwenge.) svn:r10592
* r13399@catbus: nickm | 2007-06-13 15:17:44 -0400Nick Mathewson2007-06-13
| | | | | | | Hm. Tor should never need private authority identity keys; thus, I should not actually load the authority identity keys for testing. svn:r10591
* r13396@catbus: nickm | 2007-06-13 15:06:18 -0400Nick Mathewson2007-06-13
| | | | | | | Set vote_digest field prproperly in networkstatus_vote_t, so that it gets conveyed to the consensus correctly. svn:r10590
* r13395@catbus: nickm | 2007-06-13 15:01:23 -0400Nick Mathewson2007-06-13
| | | | | | | Unit tests and debugging for generating and parsing consensus networkstatus documents. Still need to test actual contents. svn:r10589
* r13393@catbus: nickm | 2007-06-13 14:29:14 -0400Nick Mathewson2007-06-13
| | | | | | | More vote unit tests: check that we are parsing routerstatuses correctly. svn:r10588
* r13387@catbus: nickm | 2007-06-13 14:15:49 -0400Nick Mathewson2007-06-13
| | | | | | | Unit tests and debugging for vote generation and parsing code. svn:r10587
* r13386@catbus: nickm | 2007-06-13 14:15:20 -0400Nick Mathewson2007-06-13
| | | | | | | New helper file for test.c: contains 3 generated certs, signing keys, and id_keys svn:r10586
* r13385@catbus: nickm | 2007-06-13 14:14:47 -0400Nick Mathewson2007-06-13
| | | | | | | In tor-gencert, write BEGIN SIGNATURE, not BEGIN_SIGNATURE. svn:r10585
* r13384@catbus: nickm | 2007-06-13 13:53:26 -0400Nick Mathewson2007-06-13
| | | | | | | make test_* functions stop conflicting with variables named v1 and v2. svn:r10584
* r13383@catbus: nickm | 2007-06-13 13:53:04 -0400Nick Mathewson2007-06-13
| | | | | | | Expose a function to parse a private key from a string as CRYPTO_PRIVATE. For testing. svn:r10583
* fix a few typos and clarify one point. i hope we haveRoger Dingledine2007-06-13
| | | | | | | | | | an editor who actually edits, rather than the traditional academic role of editors. but in any case, it'll do. great. svn:r10581
* a few more funding details without being too verboseRoger Dingledine2007-06-13
| | | | svn:r10580
* Backport candidate. Updated to work with all versions of osx we support ↵Andrew Lewman2007-06-12
| | | | | | (10.3-10.5). svn:r10579
* Convert from niutil to dscl in preparation for osx 10.5 (leopard).Andrew Lewman2007-06-12
| | | | svn:r10578
* fix our affiliations and urlRoger Dingledine2007-06-12
| | | | svn:r10577
* D'oh URL typo.Paul Syverson2007-06-12
| | | | svn:r10576
* Forgot to update the network size numbers before committingPaul Syverson2007-06-12
| | | | svn:r10575
* candidate S&P magazine articlePaul Syverson2007-06-12
| | | | svn:r10574
* More work towards making bridge users able to connect via bridges:Roger Dingledine2007-06-12
| | | | | | | | | | | | | | | | | | | | | - 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
* change the BandwidthRate/BandwidthBurst in the torrcRoger Dingledine2007-06-12
| | | | | | | | | | to RelayBandwidthRate/RelayBandwidthBurst, since that's what most users will actually want. also flesh out the torrc.complete entries and fix a few typos. based on patch from "Armedblowfish". svn:r10570
* Resetting the correct statsPeter Palfrader2007-06-12
| | | | svn:r10569
* r13366@catbus: nickm | 2007-06-11 20:38:38 -0400Nick Mathewson2007-06-12
| | | | | | | Clarify what we mean by digest, for people who ignore "as signed" and who don't read section 1.3. svn:r10568
* r13364@catbus: nickm | 2007-06-11 20:15:53 -0400Nick Mathewson2007-06-12
| | | | | | | Stop assuming that desc_by_eid_map works: in fact, it kinda doesn't. Add a big comment explaining why. svn:r10567
* r13362@catbus: nickm | 2007-06-11 19:00:23 -0400Nick Mathewson2007-06-11
| | | | | | | Fix a warning on platforms where sizeof(size_t)==8, but sizeof(unsigned long)<8. svn:r10566
* r13358@catbus: nickm | 2007-06-11 18:46:24 -0400Nick Mathewson2007-06-11
| | | | | | | Fix some dumb copypasta in r10562. svn:r10565
* Remove an #undef, so you can -Ddefine stuff on the command linePeter Palfrader2007-06-11
| | | | svn:r10564
* r13355@catbus: nickm | 2007-06-11 18:19:34 -0400Nick Mathewson2007-06-11
| | | | | | | 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
* r13354@catbus: nickm | 2007-06-11 18:17:40 -0400Nick Mathewson2007-06-11
| | | | | | | Add typechecking wrappers to digestmap, so we can work with "map from digest to [FOO]" for arbitrary FOOs and still have some typesafety. svn:r10562
* r13352@catbus: nickm | 2007-06-11 17:42:45 -0400Nick Mathewson2007-06-11
| | | | | | | Since desc_by_eid_map hold server descriptors, do not add routerinfo_ts. Bug found by weasel svn:r10561
* Reorder routerlist_assert_ok() and routerlist_check_bug_417(), so if the ↵Peter Palfrader2007-06-11
| | | | | | assert_ok triggers we know that our bug_417 is wrong svn:r10560
* r13338@catbus: nickm | 2007-06-10 15:13:32 -0400Nick Mathewson2007-06-10
| | | | | | | Fix bug in 10533: put "opt v" line at the end of a routerstatus section; overwriting is bad. svn:r10549
* more building blocks towards being able to fetch bridge descriptorsRoger Dingledine2007-06-10
| | | | svn:r10548
* discard the "bridge list" stubs that i hope i never need.Roger Dingledine2007-06-10
| | | | svn:r10547
* Be clearer on the various roles for auth dir types.Roger Dingledine2007-06-09
| | | | | | | | Bridge authorities no longer write bridge descriptors to their cached-routers file -- this gets complex because of extrainfo documents. svn:r10545
* don't complain when approved-routers isn't there and weRoger Dingledine2007-06-09
| | | | | | | don't need it. svn:r10544
* scrub out some more references to the misnamed 'bridge' conceptRoger Dingledine2007-06-09
| | | | svn:r10543
* bump to 0.2.0.2-alpha-devRoger Dingledine2007-06-09
| | | | svn:r10542
* r13328@catbus: nickm | 2007-06-08 17:14:55 -0400Nick Mathewson2007-06-08
| | | | | | | Arg. Irix apparently #defines sa_family to something. Thus, naming fields or variables "sa_family" will not work. svn:r10541
* r13325@catbus: nickm | 2007-06-08 15:02:37 -0400Nick Mathewson2007-06-08
| | | | | | | Parse networkstatuses (v2, vote, and consensus) after generating them, and fail fast if there is a parse error. svn:r10540
* r13317@catbus: nickm | 2007-06-08 14:39:59 -0400Nick Mathewson2007-06-08
| | | | | | | bugfix: we were undercounting the number of authorities that recommended any given version by 1. Backport candidate. svn:r10537
* r13316@catbus: nickm | 2007-06-08 14:35:46 -0400Nick Mathewson2007-06-08
| | | | | | | Add some more files to svn:ignore. svn:r10536
* r13315@catbus: nickm | 2007-06-08 14:33:24 -0400Nick Mathewson2007-06-08
| | | | | | | Make versions get added to networkstatuses correctly again. svn:r10535
* r13314@catbus: nickm | 2007-06-08 14:30:31 -0400Nick Mathewson2007-06-08
| | | | | | | Enfore that known_flags in networkstatus votes must be unique. svn:r10534