aboutsummaryrefslogtreecommitdiff
path: root/src/or
Commit message (Expand)AuthorAge
* r13568@catbus: nickm | 2007-06-30 15:18:18 -0400••• allow test_threads() to time out svn:r10711 Nick Mathewson2007-06-30
* r13555@catbus: nickm | 2007-06-30 14:05:36 -0400••• Split "Util" tests into subgroups so I can see why freebsd trunk is failing. svn:r10710 Nick Mathewson2007-06-30
* r13480@catbus: nickm | 2007-06-17 14:39:42 -0400••• Oops; forgot to save a file in the last batch. svn:r10646 Nick Mathewson2007-06-17
* r13477@catbus: nickm | 2007-06-17 14:22:03 -0400••• Sun CC likes to give warnings for the do { } while(0) construction for making statement-like macros. Define STMT_BEGIN/STMT_END macros that do the right thing, and use them everywhere. svn:r10645 Nick Mathewson2007-06-17
* r13476@catbus: nickm | 2007-06-17 14:04:41 -0400••• Build with fewer compiler warnings on Sun. (This and previous Sun patches are thanks to the tremendously handy services of unix-center.net.) svn:r10644 Nick Mathewson2007-06-17
* r13473@catbus: nickm | 2007-06-17 13:42:36 -0400••• Fix solaris eventdns.c behavior. This time, I think I got it. We were redefining _FILE_OFFSET_BITS, and thereby calling fstat64() on a struct stat, or something like that. svn:r10643 Nick Mathewson2007-06-17
* r13471@catbus: nickm | 2007-06-17 11:59:25 -0400••• Report address and por correctly on requests to dnsport. (Patch from Robert Hogan.) svn:r10641 Nick Mathewson2007-06-17
* r13463@catbus: nickm | 2007-06-17 11:10:17 -0400••• Add a SOURCE_ADDR field to STREAM NEW events so that controllers can match requests to applications. (Patch from Robert Hogan.) svn:r10639 Nick Mathewson2007-06-17
* r13438@catbus: nickm | 2007-06-15 15:01:42 -0400••• document some functions svn:r10637 Nick Mathewson2007-06-17
* r13418@catbus: nickm | 2007-06-14 13:29:21 -0400••• Adjust networkstatus_compute_consensus to take an argument saying how many voters there _should_ be. svn:r10634 Nick Mathewson2007-06-17
* if we already have a bridge in our state file, it won't be•••in the networkstatuses, so we'll mark it unusable when we load it, and then when we get a new routerinfo for it, we'll still think it's unusable. fix that. svn:r10612 Roger Dingledine2007-06-15
* bugfix on r10609: don't fail asserts when closing circuits•••that were connected to an unkeyed connection. svn:r10611 Roger Dingledine2007-06-15
* now we can specify a bridge without specifying its key,•••and we will still connect to it and use it. getting closer! svn:r10609 Roger Dingledine2007-06-15
* extra points for making the function name reflect what it does•••svn:r10608 Roger Dingledine2007-06-15
* Directories no longer return a "304 not modified" when they don't•••have the networkstatus the client asked for. Also fix a memory leak when returning 304 not modified. [Bugfixes on 0.2.0.2-alpha] svn:r10607 Roger Dingledine2007-06-15
* point out a bug in our If-Modified-Since handling in 0.2.0.2-alpha.•••svn:r10605 Roger Dingledine2007-06-15
* Refine r10571: more work on bridge stuff.••• - 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 Roger Dingledine2007-06-15
* r13413@catbus: nickm | 2007-06-13 18:44:28 -0400••• Non-static inline functions cant talk about static variables. svn:r10599 Nick Mathewson2007-06-13
* r13409@catbus: nickm | 2007-06-13 18:01:56 -0400••• Test the remainder of the contents of the consensus; fix a bug in geneating addresses on routerstatuses. svn:r10597 Nick Mathewson2007-06-13
* r13406@catbus: nickm | 2007-06-13 17:05:30 -0400••• Oops; linked connections get read/write events too. svn:r10596 Nick Mathewson2007-06-13
* r13403@catbus: nickm | 2007-06-13 16:15:44 -0400••• Test all of consensus contents, except for routerstatus_list contents. And signatures. svn:r10593 Nick Mathewson2007-06-13
* r13401@catbus: nickm | 2007-06-13 15:50:16 -0400••• Add dnsport connection to the global connection list. (Bug found by mwenge.) svn:r10592 Nick Mathewson2007-06-13
* r13399@catbus: nickm | 2007-06-13 15:17:44 -0400••• Hm. Tor should never need private authority identity keys; thus, I should not actually load the authority identity keys for testing. svn:r10591 Nick Mathewson2007-06-13
* r13396@catbus: nickm | 2007-06-13 15:06:18 -0400••• Set vote_digest field prproperly in networkstatus_vote_t, so that it gets conveyed to the consensus correctly. svn:r10590 Nick Mathewson2007-06-13
* r13395@catbus: nickm | 2007-06-13 15:01:23 -0400••• Unit tests and debugging for generating and parsing consensus networkstatus documents. Still need to test actual contents. svn:r10589 Nick Mathewson2007-06-13
* r13393@catbus: nickm | 2007-06-13 14:29:14 -0400••• More vote unit tests: check that we are parsing routerstatuses correctly. svn:r10588 Nick Mathewson2007-06-13
* r13387@catbus: nickm | 2007-06-13 14:15:49 -0400••• Unit tests and debugging for vote generation and parsing code. svn:r10587 Nick Mathewson2007-06-13
* r13386@catbus: nickm | 2007-06-13 14:15:20 -0400••• New helper file for test.c: contains 3 generated certs, signing keys, and id_keys svn:r10586 Nick Mathewson2007-06-13
* 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