| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
| |
Remove extraneous whitespace
svn:r11840
|
|
|
|
|
|
|
| |
Resolve/ignore some XXXXs, and be even more careful about listing a server as a v3 authority.
svn:r11839
|
|
|
|
|
|
|
| |
Fix a spelling mistake.
svn:r11838
|
|
|
|
|
|
|
| |
Merge networkstatus_add_signatures_impl into the only function that calls it.
svn:r11837
|
|
|
|
|
|
|
| |
Save weighted-fractional-uptime to disk as well as MTBF. Bump the version on rouer-stability: downgrading to versions earlier than this one will lose your WFU data.
svn:r11835
|
|
|
|
|
|
| |
weasel less
svn:r11834
|
|
|
|
|
|
|
| |
Resolve bug 516: Never report our bandwidth-history as over RelayBandwidthRate*NUM_SECS_BW_SUM_INTERVAL.
svn:r11833
|
|
|
|
|
|
|
| |
Turns out, Bug 463 was just another "warn about something that is no big deal" thing. Downgrade, comment, and resolve.
svn:r11829
|
|
|
|
|
|
|
| |
Fix bug 483: downgrade a harmless "Hey your accept() implementation sucks" warning to an info.
svn:r11828
|
|
|
|
|
|
|
| |
Give better messages and return values from signature uploads and downlaods; also, log actual errors when we screw up.
svn:r11823
|
|
|
|
|
|
|
| |
some other behavior changes left in.
svn:r11821
|
|
|
|
| |
svn:r11820
|
|
|
|
|
|
|
| |
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: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
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Always set status_out when adding a vote.
svn:r11646
|
|
|
|
|
|
|
| |
It is amazing how reliable missing svk st are at breaking code.
svn:r11644
|
|
|
|
|
|
|
| |
Patch from Robert Hogan: fix a couple of status-event related typos. Backport candidate.
svn:r11604
|
|
|
|
|
|
|
| |
Bump version to 0.2.0.7-alpha-dev
svn:r11576
|
|
|
|
|
|
|
| |
V3 authority work: fetch missing votes and/or signatures as needed.
svn:r11575
|
|
|
|
| |
svn:r11572
|
|
|
|
| |
svn:r11571
|
|
|
|
|
|
|
| |
handle non-default values of PublishServerDescriptor.
svn:r11569
|