| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
| |
Fix windows mmap changes.
svn:r12171
|
|
|
|
|
|
|
| |
We want to extend the valid_until for "reasonably live", not the valid_after time
svn:r12169
|
|
|
|
|
|
|
| |
Tolerate a slightly dead consensus when deciding whether to download descriptors and build circuits.
svn:r12167
|
|
|
|
|
|
|
| |
Fix logic for downloading consensuses: make getting an duplicate or not-currently-valid consensus count as a failure. Make running out of time to get certificates count as a failure. Delay while fetching certificates.
svn:r12159
|
|
|
|
|
|
|
| |
Allow multiple download schedules to exist. At the moment, we use one for consensus, and the other one for everything else.
svn:r12158
|
|
|
|
|
|
|
| |
Refactor the arguments for router_pick_{directory_|trusteddir}server[_impl] so that they all take the same flags, and so that their flags have names. Fix their documentation too.
svn:r12157
|
|
|
|
|
|
|
| |
Detect mmap failures from empty descriptor files, and only warn if the file was not supposed to be empty. Fixes bug 533
svn:r12154
|
|
|
|
|
|
|
| |
Make tor_mmap_file() set and preserve errno in a useful way.
svn:r12153
|
|
|
|
|
|
|
| |
answer question from arma
svn:r12151
|
|
|
|
|
|
|
| |
(nick, i added a question for you in here.)
svn:r12141
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
<edmanm> All commands and other keywords are case-insensitive.
<edmanm> that lying control-spec.txt!
<edmanm> getinfo Address
<edmanm> 552 Unrecognized key "Address"
<edmanm> getinfo address
<edmanm> 250-address=72.230.11.78
<edmanm> 250 OK
svn:r12140
|
|
|
|
| |
svn:r12138
|
|
|
|
| |
svn:r12137
|
|
|
|
|
|
|
|
| |
it" errors to Tor servers that aren't online all the time. We're
supposed to tolerate these servers now.
svn:r12136
|
|
|
|
| |
svn:r12135
|
|
|
|
| |
svn:r12134
|
|
|
|
|
|
|
|
| |
ports are reachable" if we haven't been able to build any circuits
yet. Bug found by spending four hours without a v3 consensus.
svn:r12133
|
|
|
|
| |
svn:r12130
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
What the heck is wrong with me that I can not type un?
svn:r12128
|
|
|
|
|
|
|
| |
in the tarball.
svn:r12123
|
|
|
|
|
|
|
| |
in the torbutton plists.
svn:r12118
|
|
|
|
| |
svn:r12116
|
|
|
|
|
|
|
| |
Make authorities start accepting (and advertising their acceptance of) consensus method 2. If all goes well, we'll have a working Unnamed flag. Otherwise, we'll have a fun backtrace.
svn:r12113
|
|
|
|
|
|
|
| |
Note that consensus-method is not a means for making backward-incompatible format changes. Because any point that confuses Roger will *definitely* confuse many non-Roger readers of dir-spec.txt ;)
svn:r12112
|
|
|
|
|
|
|
| |
fix a dumb bug in r12102.
svn:r12111
|
|
|
|
|
|
|
| |
fix trunk compile
svn:r12110
|
|
|
|
|
|
|
| |
Resolve some XXX020s in networkstatus.c
svn:r12109
|
|
|
|
|
|
|
| |
Oops; fix a typo that would have messed with the Unnamed implementation.
svn:r12108
|
|
|
|
|
|
|
| |
Move functions into and out of dirvote.c so that it contains all the v3 authority functionality, and no non-authority functionality.
svn:r12107
|
|
|
|
|
|
|
| |
Reattempt certificate downloads immediately on failure, as appropriate.
svn:r12106
|
|
|
|
|
|
|
| |
fix compile
svn:r12105
|
|
|
|
|
|
|
| |
Move an XXX020 to the logical place.
svn:r12104
|
|
|
|
|
|
|
| |
Download some XXXX020s in dirvote.c and mark some functions that may not belong there.
svn:r12103
|
|
|
|
|
|
|
| |
When our directory status or our v3 authority status changes, reschedule operations as appropriate. (Fixes some xxxx020 items)
svn:r12102
|
|
|
|
|
|
|
| |
Remove an unused and unneeded layer of abstraction: we only have one store for routers. (I had thought we might need a second one for annotated routers, but that's silly.
svn:r12101
|
|
|
|
| |
svn:r12094
|
|
|
|
|
|
|
| |
kept for posterity, and so we can unclutter the download page.
svn:r12093
|
|
|
|
|
|
|
| |
Check a platform assumption we have made without checking for too long: "Characters are represented in ascii."
svn:r12088
|
|
|
|
|
|
|
| |
Fix a unit test in test_crypto_base32_decode that would fail one time in 32.
svn:r12087
|
|
|
|
|
|
|
| |
New code (disabled for now) to use the SSL context's cert store instead of using its "extra chain cert" list to get our identity certificate sent. This is a little close to what OpenSSL expects people to do, and it has the advantage that we should be able to keep the id cert from being sent by setting the NO_CHAIN_CERT bit. I have tried turning new code on, and it seemed to work fine.
svn:r12086
|
|
|
|
| |
svn:r12085
|
|
|
|
|
|
|
| |
More fixes for bad behavior when downloading extrainfos: do not download an ei if we lack the key to verify it, and do not download it if we already got it and found (weirdly) that it didn't match the corresponding server descriptor.
svn:r12071
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Respond to INT and TERM SIGNAL commands before we execute the
signal, in case the signal shuts us down. We had a patch in
0.1.2.1-alpha that tried to do this by queueing the response on
the connection's buffer before shutting down, but that really
isn't the same thing. Bug located by Matt Edman.
This is a bug in 0.1.2.x too, but there's no way we should backport
this fix. Speaking of which, can somebody double-check it? :)
svn:r12070
|
|
|
|
|
|
|
| |
Fix a nasty bug in DownloadExtraInfo implementation where we would discard, download, discard, download ad infinitum.
svn:r12069
|
|
|
|
|
|
|
| |
Fix implementation of sdmap_size and rimap_size() and eimap_size(). Nobody was using them, so no backport needed.
svn:r12068
|
|
|
|
|
|
|
| |
Prioritize fetching descriptors and networkstatus docs over fetching more extrainfo docs.
svn:r12067
|
|
|
|
|
|
|
| |
When we decode to use consensus method 2 or later, compute Unnamed and Named more or less as described in 122. Don't actually use consensus method 2 yet, so we can be sure we didn't screw up v1..
svn:r12055
|
|
|
|
|
|
|
| |
Implement code to compute which method to use to compute a consensus. Also, fix leak in consensus calculation.
svn:r12054
|
|
|
|
|
|
|
| |
Change meaning of "freefn" argument to smartlist_uniq so that we can remove duplicates from a list without freeing them.
svn:r12053
|