Age | Commit message (Collapse) | Author |
|
svn:r12657
|
|
huge. Otherwise we'll cache them all over the network and it'll
clog everything up.
svn:r12633
|
|
svn:r12631
|
|
svn:r12630
|
|
svn:r12621
|
|
svn:r12607
|
|
svn:r12528
|
|
svn:r12527
|
|
consensus documents when there are too many relays at a single
IP address. Now clear it in v2 network status documents too.
svn:r12522
|
|
When authorities detected more than two relays running on the same
IP address, they were clearing all the status flags but forgetting
to clear the "hsdir" flag. So clients were being told that a
given relay was the right choice for a v2 hsdir lookup, yet they
never had its descriptor because it was marked as 'not running'
in the consensus.
svn:r12515
|
|
Try to bulletproof the parse logic for router-stability.
svn:r12441
|
|
Mess with the formula for the Guard flag again. Now it requires that you be in the most familiar 7/8 of nodes, and have above median wfu for that 7/8th. See spec for details. Also, log thresholds better.
svn:r12440
|
|
Patch from Karsten: Code to act as (and use) v2 hidden service directories.
svn:r12272
|
|
svn:r12257
|
|
Whitespace fix.
svn:r12256
|
|
base "Guard" flag on WFU rather than MTBF. Note an issue in the TODO. Roger: thoughts?
svn:r12219
|
|
Fix more memory leaks, with help from dmalloc.
svn:r12188
|
|
it" errors to Tor servers that aren't online all the time. We're
supposed to tolerate these servers now.
svn:r12136
|
|
minutes, but writing the "valid-after" line in our vote based
on our configured V3AuthVotingInterval: so unless the intervals
matched up, we immediately rejected our own vote because it didn't
start at the voting interval that caused us to construct a vote.
This caused log entries like:
Oct 23 01:16:16.303 [notice] Choosing expected valid-after time
as 2007-10-23 05:30:00: consensus_set=0, interval=1800
...
Oct 23 01:20:01.203 [notice] Choosing valid-after time in vote as
2007-10-23 06:00:00: consensus_set=0, interval=3600
Oct 23 01:20:01.290 [warn] Rejecting vote with valid-after time of
2007-10-23 06:00:00; we were expecting 2007-10-23 05:30:00
Oct 23 01:20:01.291 [warn] Couldn't store my own vote! (I told
myself, 'Bad valid-after time'.)
Nick, you should look at this, as it's your design. :)
svn:r12129
|
|
Move functions into and out of dirvote.c so that it contains all the v3 authority functionality, and no non-authority functionality.
svn:r12107
|
|
Fix a nasty bug in DownloadExtraInfo implementation where we would discard, download, discard, download ad infinitum.
svn:r12069
|
|
Voting side of proposal 122
svn:r12052
|
|
Report our IP address in our vote if it turns out that our hostname isn't a fqdn.
svn:r12047
|
|
Make unverified-consensus get removed when it is accepted or rejected. Make a new get_datadir_fname*() set of functions to eliminate the common code of "get the options, get the datadir, append some stuff".
svn:r12000
|
|
Implement v3 networkstatus client code. Remove v2 networkstatus client code, except as needed for caches to fetch and serve v2 networkstatues and the routers they list.
svn:r11957
|
|
svn:r11953
|
|
svn:r11952
|
|
Move "sort a list of routerinfo_t" into its own function in routerlist.c
svn:r11903
|
|
Fix some XXX020s in dirserv.c
svn:r11870
|
|
Remove code to generate v1 directories.
svn:r11866
|
|
Restore a removed assert.
svn:r11861
|
|
cached-descriptors* files.
nick, did i get this right?
svn:r11855
|
|
svn:r11851
|
|
two Tor servers on the same IP address, except if it's the location
of a directory authority, in which case allow five.
svn:r11842
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
V3 authority work: fetch missing votes and/or signatures as needed.
svn:r11575
|
|
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
|
|
svn:r11531
|
|
Bugfix on 0.2.0.3-alpha; reported by Alex de Joode.
svn:r11530
|
|
svn:r11463
|
|
Unify all of the divergent median/nth-percentile code in container.[ch]
svn:r11457
|
|
Add some voting-related documentation.
svn:r11255
|
|
Finish implementing and documenting proposal 108: Authorities now use MTBF data to set their stability flags, once they have at least 4 days of data to use.
svn:r11240
|
|
svn:r11148
|
|
Add unit tests for median functions; enforce sensible ranges for intervals and delays.
svn:r11121
|
|
return 404 properly when somebody requests a bunch of nonexistent statuses/servers
svn:r11110
|