| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
| |
add a flag to suppress overwriting the certificates file with new certificates, so we do not overwrite all certs when starting as an authority.
svn:r13630
|
|
|
|
|
|
|
| |
Add asserts and refactor some comparisons in order to fix some veracode-identified issues. Note a bug in buffers.c
svn:r13618
|
|
|
|
| |
svn:r13412
|
|
|
|
|
|
|
| |
Fix a bunch of DOCDOC items; document the --quiet flag; refactor a couple of XXXX020 items.
svn:r13405
|
|
|
|
| |
svn:r13403
|
|
|
|
|
|
|
| |
Remove or downgrade some XXX020 items.
svn:r13388
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
svn:r13261
|
|
|
|
| |
svn:r13260
|
|
|
|
|
|
| |
farther than 80 chars
svn:r13242
|
|
|
|
| |
svn:r13241
|
|
|
|
|
|
|
| |
Fixes to more anonymously-reported typos and logic errors.
svn:r13136
|
|
|
|
|
|
| |
consensus.
svn:r13080
|
|
|
|
|
|
|
| |
Change set_current_consensus interface to take a flags variable. Do not try to fetch certificates until after we have tried loading the fallback consensus. Should fix bug 583.
svn:r13058
|
|
|
|
|
|
|
| |
Fix some xxx020 items.
svn:r12864
|
|
|
|
|
|
|
| |
Added two XXX020's that we need to think harder about.
svn:r12859
|
|
|
|
| |
svn:r12786
|
|
|
|
| |
svn:r12747
|
|
|
|
| |
svn:r12665
|
|
|
|
|
|
|
| |
Better log on vote from unknown authority. Make get_by_v3_authority_id retrun only v3 authorities.
svn:r12203
|
|
|
|
| |
svn:r12196
|
|
|
|
| |
svn:r12193
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Move functions into and out of dirvote.c so that it contains all the v3 authority functionality, and no non-authority functionality.
svn:r12107
|
|
|
|
|
|
|
| |
Download some XXXX020s in dirvote.c and mark some functions that may not belong there.
svn:r12103
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Learn the difference between "mismatched vote digest" and "mismatched vote times": the latter is more informative.
svn:r12049
|
|
|
|
|
|
|
| |
Stop incessant notices about when we think the expected valid-after time should be, if we are not an authority.
svn:r12022
|
|
|
|
|
|
|
| |
Document some functions while I can still rememberf what they do. Fix up some whitespace.
svn:r12018
|
|
|
|
|
|
|
| |
Fix "Error adding vote: OK" message.
svn:r11986
|
|
|
|
|
|
|
| |
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:r11952
|
|
|
|
|
|
|
| |
Do not set "have published consensus" to 1 after we recalculate timing.
svn:r11951
|
|
|
|
|
|
|
| |
Make discard_old_votes part of the consensus publishing process, so we conform to spec, and so we avoid a weird bugs where publishing sets the consensus, setting the consensus makes us reschedule, and rescheduling makes us delay vote-discarding.
svn:r11944
|
|
|
|
|
|
|
| |
Base vote timing only on a currently live consensus.
svn:r11896
|
|
|
|
|
|
|
| |
Fix a bunch of XXX020s: treat some 403s as INFO severity; remove some dead code; share the retry path for consensus routerdescs that are also listed in the v2 networkstatus; check even more aspects of votes when parsing them.
svn:r11871
|
|
|
|
|
|
|
| |
Remove extraneous whitespace
svn:r11840
|
|
|
|
|
|
|
| |
Resolve/ignore some XXXXs, and be even more careful about listing a server as a v3 authority.
svn:r11839
|
|
|
|
|
|
|
| |
Merge networkstatus_add_signatures_impl into the only function that calls it.
svn:r11837
|
|
|
|
|
|
|
| |
Give better messages and return values from signature uploads and downlaods; also, log actual errors when we screw up.
svn:r11823
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
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
|