aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* r15621@catbus: nickm | 2007-10-10 00:37:25 -0400Nick Mathewson2007-10-10
| | | | | | | Turns out, Bug 463 was just another "warn about something that is no big deal" thing. Downgrade, comment, and resolve. svn:r11829
* r15619@catbus: nickm | 2007-10-10 00:23:45 -0400Nick Mathewson2007-10-10
| | | | | | | Fix bug 483: downgrade a harmless "Hey your accept() implementation sucks" warning to an info. svn:r11828
* r15608@catbus: nickm | 2007-10-09 19:01:50 -0400Nick Mathewson2007-10-09
| | | | | | | Give better messages and return values from signature uploads and downlaods; also, log actual errors when we screw up. svn:r11823
* back out a little bit of r11817 to preserve current behavior.Roger Dingledine2007-10-09
| | | | | | | some other behavior changes left in. svn:r11821
* i heard that users know the phrase 'system clock' better than 'clock'. hm.Roger Dingledine2007-10-09
| | | | svn:r11820
* r15599@catbus: nickm | 2007-10-09 16:44:36 -0400Nick Mathewson2007-10-09
| | | | | | | Fix the bug that was making moria1 set valid-after wrong in its votes: we were looking at the preferred timing when we should have been looking at the consensus timing. svn:r11818
* r15598@catbus: nickm | 2007-10-09 16:37:35 -0400Nick Mathewson2007-10-09
| | | | | | | Turn all "Is DirPort nonzero? Because if it is, we must be a directory" logic into calls to dirserver_mode(). svn:r11817
* r15597@catbus: nickm | 2007-10-09 16:17:42 -0400Nick Mathewson2007-10-09
| | | | | | | Make authority_certs_fetch_missing only fetch certificates which we are not currently downloading; fix XXXX020s in networkstatus.c svn:r11816
* r15593@catbus: nickm | 2007-10-09 15:31:10 -0400Nick Mathewson2007-10-09
| | | | | | | Fix an infinite loop when parsing multiple votes. svn:r11813
* r15590@catbus: nickm | 2007-10-09 15:14:42 -0400Nick Mathewson2007-10-09
| | | | | | | Change dirvote_get_vote to take named flags rather than 3 boolean inputs. Fix a bug that was caused by the order of the boolean inputs in or.h not matching the order of boolean inputs in dirvote.c. svn:r11812
* r15589@catbus: nickm | 2007-10-09 15:08:00 -0400Nick Mathewson2007-10-09
| | | | | | | Fix dumb typo in vote retrieval: we want to check the pending votes to see what we are missing; not the previous period. svn:r11811
* r15587@catbus: nickm | 2007-10-09 15:05:27 -0400Nick Mathewson2007-10-09
| | | | | | | When parsing two concatenated networkstatuses (as we do when voting), detect the end of the first one properly. svn:r11810
* make r11808 build on my 64-bitRoger Dingledine2007-10-09
| | | | svn:r11809
* r15581@catbus: nickm | 2007-10-09 14:36:47 -0400Nick Mathewson2007-10-09
| | | | | | | Recompute voting schedule whenever a consensus is set. svn:r11808
* Bugfixes in fetching certificates for a consensus: fetch tor/keys/fp/X, not ↵Nick Mathewson2007-10-09
| | | | | | tor/keys/X. Also, count signatures where no certificate is known as "missing a certificate" not as "unknown authority." svn:r11805
* r15574@catbus: nickm | 2007-10-09 13:01:53 -0400Nick Mathewson2007-10-09
| | | | | | | Fix the "400 OK" issue when replying to a vote. svn:r11801
* r14813@Kushana: nickm | 2007-10-09 11:10:48 -0400Nick Mathewson2007-10-09
| | | | | | | Use download_status_t for v2 networkstatuses and certs as well as for routers. Make functions to manipulate it. Next steps: use it for consensus networkstatuses, and get consensus download rescheduling working. svn:r11800
* r14812@Kushana: nickm | 2007-10-09 10:22:00 -0400Nick Mathewson2007-10-09
| | | | | | | Merge extra fields in local_routerstatus_t back into routerstatus_t. See changelog for rationale. svn:r11799
* for once, it was "no-tab man" that struck again.Roger Dingledine2007-10-08
| | | | svn:r11793
* r14802@Kushana: nickm | 2007-10-08 17:21:30 -0400Nick Mathewson2007-10-08
| | | | | | | Refactor out about a third of routerlist.c into a new networkstatus.c. I\m not sure that I got everything that needed to move, but so far so good. svn:r11791
* r14799@Kushana: nickm | 2007-10-08 15:55:18 -0400Nick Mathewson2007-10-08
| | | | | | | Add code to download router descriptors listed in a v3 networkstatus consensus. svn:r11790
* r14770@Kushana: nickm | 2007-10-08 11:43:02 -0400Nick Mathewson2007-10-08
| | | | | | | Make router_digest_is_trusted_dir able to check for type. When looking for a V3 directory, only assume that the V3 authorities and caches have it: previous code assumed that all authorities had it. svn:r11789
* r14769@Kushana: nickm | 2007-10-07 14:00:17 -0400Nick Mathewson2007-10-08
| | | | | | | Fetch networkstatus consensus documents as needed. Disabled for clients until more caches support it. svn:r11788
* r15530@catbus: nickm | 2007-10-04 12:16:27 -0400Nick Mathewson2007-10-04
| | | | | | | Add a bunch of function documentation; clean up a little code; fix some XXXXs; tag the nonsensical EXTRAINFO_PURPOSE_GENERAL as nonsesnse; note another bit of "do not cache special routers" code to nuke. svn:r11761
* r15512@catbus: nickm | 2007-10-02 16:27:43 -0400Nick Mathewson2007-10-02
| | | | | | | Make some functions static; remove some dead code. svn:r11750
* r15510@catbus: nickm | 2007-10-02 16:14:42 -0400Nick Mathewson2007-10-02
| | | | | | | Add support for more vote URLs that weasel wanted. Weasel: please test this before I inflict it on anybody else. :) svn:r11749
* r15436@catbus: nickm | 2007-10-01 21:17:27 -0400Nick Mathewson2007-10-02
| | | | | | | Fix disgusting O(n^2) behavior in router_parse_list_from_string. Noticed by Li-Hui Zhou; found with oprofile. svn:r11738
* r14682@Kushana: nickm | 2007-09-28 15:23:38 -0400Nick Mathewson2007-09-28
| | | | | | | From little acorns: redo our string and digest hashing code to be faster, since this stuff may be critical-path. svn:r11700
* r15422@catbus: nickm | 2007-09-27 16:42:35 -0400Nick Mathewson2007-09-27
| | | | | | | Use descriptor annotations to record the source, download t time, and purpose of every descriptor we add to the store. The remaining to-do item is to stop setting do_not_cache on bridges. svn:r11680
* r15421@catbus: nickm | 2007-09-27 15:44:17 -0400Nick Mathewson2007-09-27
| | | | | | | When we are a bridge directory, add bridges with purpose BRIDGE, not with purpose CONTROLLER. Roger, is this right? svn:r11679
* r15420@catbus: nickm | 2007-09-27 15:40:25 -0400Nick Mathewson2007-09-27
| | | | | | | Remove annotated_desc_store store (which we never used). Instead, shift name of router store to cached-descriptors, but initialize it from cached-routers as needed svn:r11678
* r15418@catbus: nickm | 2007-09-27 12:37:59 -0400Nick Mathewson2007-09-27
| | | | | | | Fix a stupid logic error in authority_cert_get_by_sk_digest: the presence of an authority lacking a v3 cert does not mean that subsequent authorities lack them too. svn:r11668
* r15412@catbus: nickm | 2007-09-27 12:04:24 -0400Nick Mathewson2007-09-27
| | | | | | | More annotated-store work: handle annotations in lists correctly. Add ability to prepend annotations to a routerdesc (and to every rtouredesc in a list), while verifying that the routerdesc is not already annotated. svn:r11665
* minor typoRoger Dingledine2007-09-27
| | | | svn:r11658
* r15400@catbus: nickm | 2007-09-26 12:13:12 -0400Nick Mathewson2007-09-26
| | | | | | | Backend for descriptor annotations: parse annotations as keywords; only allow them to appear in the cache; do not serve them as part of the descriptor if we are a dirserver. Still need mechanism to set annotations. Still need to rename cache file. svn:r11654
* r15371@catbus: nickm | 2007-09-25 19:53:13 -0400Nick Mathewson2007-09-25
| | | | | | | Always set status_out when adding a vote. svn:r11646
* r15367@catbus: nickm | 2007-09-25 19:31:11 -0400Nick Mathewson2007-09-25
| | | | | | | It is amazing how reliable missing svk st are at breaking code. svn:r11644
* r15310@catbus: nickm | 2007-09-24 11:36:08 -0400Nick Mathewson2007-09-24
| | | | | | | Patch from Robert Hogan: fix a couple of status-event related typos. Backport candidate. svn:r11604
* r15280@catbus: nickm | 2007-09-22 02:02:00 -0400Nick Mathewson2007-09-22
| | | | | | | Bump version to 0.2.0.7-alpha-dev svn:r11576
* r15279@catbus: nickm | 2007-09-22 02:00:06 -0400Nick Mathewson2007-09-22
| | | | | | | V3 authority work: fetch missing votes and/or signatures as needed. svn:r11575
* bump to 0.2.0.7-alphaRoger Dingledine2007-09-22
| | | | svn:r11572
* note another bug i'd like to fixRoger Dingledine2007-09-22
| | | | svn:r11571
* make directories_have_accepted_server_descriptor() able toRoger Dingledine2007-09-21
| | | | | | | handle non-default values of PublishServerDescriptor. svn:r11569
* only mess with 'state' in init_keys if we're planning to actuallyRoger Dingledine2007-09-21
| | | | | | | | | | run tor. this resolves a segfault in 'tor --list-fingerprints' introduced by r11437. backport candidate due to r11438. svn:r11566
* r15253@catbus: nickm | 2007-09-21 15:03:51 -0400Nick Mathewson2007-09-21
| | | | | | | Oops; we had vote_delay and dist_delay switched when computing when to generate our consensus. Harmless so far, but let's get that fixed. svn:r11558
* Make "UpdateBridgesFromAuthority" torrc option work: when bridgeRoger Dingledine2007-09-21
| | | | | | | | | | | users configure that and specify a bridge with an identity fingerprint, now they will lookup the bridge descriptor at the default bridge authority via a one-hop tunnel, but once circuits are established they will switch to a three-hop tunnel for later connections to the bridge authority. svn:r11550
* r15233@catbus: nickm | 2007-09-20 18:58:23 -0400Nick Mathewson2007-09-20
| | | | | | | | | | | | | 19:00 < weasel> Sep 21 01:00:01.926 [warn] Consensus published. 19:00 < weasel> hah 19:00 < nickm> ha indeed 19:00 < nickm> a winner is me 19:00 < weasel> _warn_ :) 19:01 < nickm> watch out! It could go off at any moment! 19:01 * weasel backs away svn:r11546
* bugfix on r11110:Roger Dingledine2007-09-20
| | | | | | | | | | | Fix a bug that made servers send a "404 Not found" in response to attempts to fetch their server descriptor. This caused Tor servers to take many minutes to establish reachability for their DirPort, and it totally crippled bridges. Bugfix on 0.2.0.5-alpha. svn:r11545
* Minor whitespace fixPeter Palfrader2007-09-20
| | | | svn:r11543
* add a v3 authorityPeter Palfrader2007-09-20
| | | | svn:r11542