| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
| |
Whitespace fixes
svn:r13700
|
|
|
|
|
|
|
| |
Patch from mwenge: always willingly serve our own extrainfo from the controlport
svn:r13699
|
|
|
|
|
|
|
|
|
| |
authorities for their first directory fetch, even if their DirPort
is off or if they don't know they're reachable yet. This will help
them bootstrap better. Bugfix on 0.2.0.18-alpha; fixes bug 609.
svn:r13688
|
|
|
|
|
|
|
| |
More 64-to-32 fixes. Partial backport candidate. still not done.
svn:r13680
|
|
|
|
|
|
|
| |
Resolve all DOCDOC issues, and document some other undocumented code, and fix a changelog entry.
svn:r13638
|
|
|
|
|
|
|
| |
Defer, downgrade, or address more XXX020s. The remaining ones are all ones we should deal with before release.
svn:r13530
|
|
|
|
| |
svn:r13412
|
|
|
|
|
|
|
| |
Fix a bunch of DOCDOC items; document the --quiet flag; refactor a couple of XXXX020 items.
svn:r13405
|
|
|
|
| |
svn:r13403
|
|
|
|
|
|
|
| |
Fix a potential bug that would make authorities fail to vote under bizarre circumstances that probably never happened.
svn:r13385
|
|
|
|
|
|
|
| |
As planned, rename networkstatus_vote_t to networkstatus_t, now that v3 networkstatuses are working and standard and v2 networkstatuses are obsolete.
svn:r13383
|
|
|
|
|
|
|
| |
Add (and use) a MAP_DEL_CURRENT macro to augment a non-const variant of MAP_FOREACH.
svn:r13379
|
|
|
|
|
|
|
|
| |
relay, if you haven't found yourself reachable yet or if you've
decided not to advertise your dirport yet. Addresses bug 556.
svn:r13172
|
|
|
|
|
|
|
| |
Do not send bridge descriptors over unencrypted connections.
svn:r13094
|
|
|
|
|
|
|
| |
Make proposal-109 behavior optional.
svn:r13090
|
|
|
|
|
|
|
| |
fix whitespace
svn:r13035
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
for a v2 or v3 networkstatus object before we were prepared. This
was particularly bad for 0.2.0.13 and later bridge relays, who
would never have a v2 networkstatus and would thus always crash
when used. Bugfixes on 0.2.0.x.
Estimate the v3 networkstatus size more accurately, rather than
estimating it at zero bytes and giving it artificially high priority
compared to other directory requests. Bugfix on 0.2.0.x.
svn:r12952
|
|
|
|
| |
svn:r12896
|
|
|
|
|
|
|
|
|
|
|
| |
create the "cached-status" directory in their datadir. All Tors
used to create it. Bugfix on 0.1.2.x.
Bridge relays with DirPort set to 0 no longer cache v1 or v2
directory information; there's no point. Bugfix on trunk.
svn:r12887
|
|
|
|
| |
svn:r12860
|
|
|
|
|
|
|
| |
Added two XXX020's that we need to think harder about.
svn:r12859
|
|
|
|
| |
svn:r12786
|
|
|
|
|
|
|
|
|
| |
authorities to mark certain relays as "bad directories" in the
networkstatus documents. Also supports the "!baddir" directive in
the approved-routers file.
svn:r12754
|
|
|
|
|
|
|
| |
longer listed in the relevant networkstatus document.
svn:r12752
|
|
|
|
|
|
|
|
|
| |
downloading new consensus documents. Bridge users now wait until
the end of the interval, so their bridge will be sure to have a
new consensus document.
svn:r12696
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
on but your ORPort is off.
Add a new config option BridgeRelay that specifies you want to
be a bridge relay. Right now the only difference is that it makes
you answer begin_dir requests, and it makes you cache dir info,
even if your DirPort isn't on.
Refactor directory_caches_dir_info() into some more functions.
svn:r12668
|
|
|
|
| |
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
|