| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
| |
Remove some completed items from the TODO.
svn:r11937
|
|
|
|
| |
svn:r11932
|
|
|
|
| |
svn:r11891
|
|
|
|
| |
svn:r11857
|
|
|
|
|
|
|
| |
Retry consensus and certificate downloads properly. Do not fail when there are no certificates to download. Do not download certificates we already have when retrying.
svn:r11841
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
svn:r11785
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
svn:r11725
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
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:r11622
|
|
|
|
|
|
|
| |
compiled into the exe. Add some, take some, remove some TODO items.
svn:r11583
|
|
|
|
|
|
|
| |
V3 authority work: fetch missing votes and/or signatures as needed.
svn:r11575
|
|
|
|
|
|
|
| |
Bugfix on 0.2.0.3-alpha; reported by Alex de Joode.
svn:r11530
|
|
|
|
|
|
|
| |
mentioned it, so...
svn:r11515
|
|
|
|
| |
svn:r11513
|
|
|
|
|
|
|
| |
Get rid of a needless malloc() when parsing address policies. Original patch from "Some guy on #tor", via arma. Altered to have a sufficiently large buffer, and not use the buffer so much, and to save a strlcpy.
svn:r11480
|
|
|
|
|
|
|
|
|
| |
BandwidthRate, RelayBandwidthRate, or MaxAdvertisedBandwidth
were below a threshold. Now they only look at BandwidthRate and
RelayBandwidthRate.
svn:r11465
|
|
|
|
| |
svn:r11462
|
|
|
|
|
|
|
| |
Track weighted fractional uptime in addition to weighted mtbf: we want to use mtbf for stable, but fractional uptime for guard.
svn:r11456
|
|
|
|
|
|
|
| |
Do not load state when options->command is not RUN_TOR. (Resolves bug 499; backport candidate)
svn:r11437
|
|
|
|
|
|
|
| |
Complete implementation of proposal 104: remove bandwidth history lines from router descriptors.
svn:r11434
|
|
|
|
|
|
|
| |
When we get a consensus for which we are missing the right certificates, keep it around pending more certificates; do not just drop it.
svn:r11430
|
|
|
|
|
|
|
| |
Add code to warn about mauthorities on a consensus when they are not what we expect to find.
svn:r11429
|
|
|
|
|
|
|
| |
Check V3 authority certificates for expiry, and warn the authority op as they get old.
svn:r11427
|
|
|
|
|
|
|
| |
Reject incoming votes when the valid-after time does not match the period that we're trying to vote for.
svn:r11426
|
|
|
|
|
|
|
| |
Add some generic skew-and-tolerance functions so we can handle time more sanely.
svn:r11406
|
|
|
|
|
|
|
| |
Implement certificate fetch functions.
svn:r11405
|
|
|
|
|
|
|
| |
0-pad minutes and seconds when displaying weighted mtbf in info logs.
svn:r11324
|
|
|
|
| |
svn:r11322
|
|
|
|
|
|
|
|
| |
This is great. But it does this before configuring the logs, so
it only goes to stdout and is then lost.
svn:r11313
|
|
|
|
|
|
|
| |
Use (and debug) new file-writing functions in order to simplify code that formerly built big strings in RAM.
svn:r11301
|
|
|
|
|
|
|
| |
Make controllers accept LF as well as CRLF. Update spec to reflect this. Remove now-dead code. Make controller warning about v0 protocol more accurate.
svn:r11299
|
|
|
|
|
|
|
| |
Add a line to the state file for each guard to let us know which version added the guard. If the line is absent, assume the guard was added by whatever version of Tor last wrote the state file. Remove guards if the version that added them was using a bad guard selection algorithm. (Previously, we removed guards if the version that wrote the file was using a bad guard selection algorithm, even if the guards themselves were chosen by a good version.)
svn:r11298
|
|
|
|
|
|
|
| |
More items for the TODO (from last Friday mtg with Roger)
svn:r11297
|
|
|
|
|
|
|
| |
Sort all of the items in the TODO. That took longer than I had hoped, but I think it was useful.
svn:r11292
|
|
|
|
|
|
|
| |
Mark TODO items with what sections I would like to move them to. Pending scan by arma, the next commits will remove these annotations and move the items around.
svn:r11291
|
|
|
|
|
|
|
| |
Remove a bunch of completed items from the TODO.
svn:r11271
|
|
|
|
|
|
|
| |
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:r11180
|
|
|
|
|
|
|
| |
Functions to save and load MTBF information.
svn:r11153
|
|
|
|
|
|
|
| |
Link note_router_reachable and note_router_unreachable to mtbf code. decouple mtbf from connect/disconnect. log it in USR1. do not blow it away on cleanup if we are an authority.
svn:r11151
|
|
|
|
|
|
|
| |
Initial work on proposal 108: have rephist.c track the information we want to be tracking for OR stability.
svn:r11147
|
|
|
|
|
|
|
| |
Implement code to serve pending votes, consensuses, and signatures.
svn:r11125
|