| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
| |
some other behavior changes left in.
svn:r11821
|
|
|
|
| |
svn:r11820
|
|
|
|
|
|
|
| |
Clarify "median".
svn:r11819
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Turn all "Is DirPort nonzero? Because if it is, we must be a directory" logic into calls to dirserver_mode().
svn:r11817
|
|
|
|
|
|
|
| |
Make authority_certs_fetch_missing only fetch certificates which we are not currently downloading; fix XXXX020s in networkstatus.c
svn:r11816
|
|
|
|
|
|
|
| |
Fix an infinite loop when parsing multiple votes.
svn:r11813
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
When parsing two concatenated networkstatuses (as we do when voting), detect the end of the first one properly.
svn:r11810
|
|
|
|
| |
svn:r11809
|
|
|
|
|
|
|
| |
Recompute voting schedule whenever a consensus is set.
svn:r11808
|
|
|
|
|
|
| |
tor/keys/X. Also, count signatures where no certificate is known as "missing a certificate" not as "unknown authority."
svn:r11805
|
|
|
|
|
|
|
| |
Fix the "400 OK" issue when replying to a vote.
svn:r11801
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Merge extra fields in local_routerstatus_t back into routerstatus_t. See changelog for rationale.
svn:r11799
|
|
|
|
| |
svn:r11794
|
|
|
|
| |
svn:r11793
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Add code to download router descriptors listed in a v3 networkstatus consensus.
svn:r11790
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Fetch networkstatus consensus documents as needed. Disabled for clients until more caches support it.
svn:r11788
|
|
|
|
| |
svn:r11785
|
|
|
|
|
|
|
| |
forward.
svn:r11782
|
|
|
|
| |
svn:r11781
|
|
|
|
| |
svn:r11780
|
|
|
|
|
|
|
| |
Add 122-unnamed-flag.txt
svn:r11762
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Replace a mention of bugs.noreply.org.
svn:r11760
|
|
|
|
|
|
|
| |
Make some functions static; remove some dead code.
svn:r11750
|
|
|
|
|
|
|
| |
Add support for more vote URLs that weasel wanted. Weasel: please test this before I inflict it on anybody else. :)
svn:r11749
|
|
|
|
|
|
|
| |
Fix disgusting O(n^2) behavior in router_parse_list_from_string. Noticed by Li-Hui Zhou; found with oprofile.
svn:r11738
|
|
|
|
| |
svn:r11725
|
|
|
|
| |
svn:r11702
|
|
|
|
|
|
|
| |
From little acorns: redo our string and digest hashing code to be faster, since this stuff may be critical-path.
svn:r11700
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
When we are a bridge directory, add bridges with purpose BRIDGE, not with purpose CONTROLLER. Roger, is this right?
svn:r11679
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
svn:r11670
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Fix a copy-paste error in dir-spec.txt
svn:r11667
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
svn:r11658
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Add hidden-service-authentication.etxt as proposal 121.
svn:r11653
|
|
|
|
| |
svn:r11647
|
|
|
|
|
|
|
| |
Always set status_out when adding a vote.
svn:r11646
|
|
|
|
|
|
|
| |
It is amazing how reliable missing svk st are at breaking code.
svn:r11644
|
|
|
|
| |
svn:r11642
|
|
|
|
| |
svn:r11622
|