| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
| |
Fix a memory leak when reloading v3 authority certificate and keys.
svn:r11428
|
|
|
|
|
|
|
| |
Check V3 authority certificates for expiry, and warn the authority op as they get old.
svn:r11427
|
|
|
|
|
|
|
|
| |
a descriptor immediately, e.g. because they don't know their
address.
svn:r11228
|
|
|
|
|
|
|
| |
Clean up authdir_X functions a little.
svn:r11220
|
|
|
|
|
|
|
| |
Trigger load and save of MTBF data.
svn:r11219
|
|
|
|
|
|
|
| |
Make v3-only authorities check reachability
svn:r11218
|
|
|
|
|
|
|
| |
When we are loading state info from disk, never believe any date in the future. Doing so can keep us from retrying guards, rotating onion keys, storing bandwidth info, etc. Fixes bug 434, and others. Backport candidate, once it has been tested.
svn:r11166
|
|
|
|
|
|
|
| |
Actually store the v3 authority id digest of a trusteddirserver
svn:r11091
|
|
|
|
|
|
|
| |
Read v3 keys from the right location
svn:r11087
|
|
|
|
|
|
|
| |
Wrap bandwidth usage info in another ifdef so we can easily drop it on august 1 when it is time to finalize proposal 104.
svn:r10951
|
|
|
|
|
|
|
| |
Some dirvote code to handle generating votes and slinging them around. More code is still needed.
svn:r10927
|
|
|
|
| |
svn:r10898
|
|
|
|
|
|
|
|
| |
instead. same functionality, saves a bit of bandwidth. and might even
work.
svn:r10896
|
|
|
|
| |
svn:r10548
|
|
|
|
|
|
|
|
| |
Bridge authorities no longer write bridge descriptors to their
cached-routers file -- this gets complex because of extrainfo documents.
svn:r10545
|
|
|
|
|
|
|
| |
Resolve all but 3 DOCDOCs.
svn:r10393
|
|
|
|
|
|
|
| |
Put the hash-as-signed, not the raw hash, in the signed_descriptor_digest field of our own descriptor. Backport candidate; probably harmless though.
svn:r10305
|
|
|
|
|
|
|
| |
First draft of code to generate votes. needs testing. does not yet upload or serve votes. Shares most of its code with the old generate_v2_networkstatus.
svn:r10295
|
|
|
|
|
|
|
| |
Extract common code from networkstatus_getinfo_helper_single() and generate_v2_networkstatus().
svn:r10294
|
|
|
|
|
|
|
| |
More v3 directory code: have authorities load certificates; have everybody store certificates to disk and load them; provide a way to configure v3 authorities.
svn:r10293
|
|
|
|
|
|
|
| |
Use svn revisions consistently throughout all log messages.
svn:r10291
|
|
|
|
|
|
|
| |
More bulletproofing on bug 429
svn:r10231
|
|
|
|
|
|
|
| |
Provide actual reasons when dropping an uploaded extrainfo for incompatibility; also, clean whitespace.
svn:r10230
|
|
|
|
|
|
|
| |
Address points in r10227.
svn:r10229
|
|
|
|
|
|
|
| |
clear some ram when freeing it; add some more checks to assert_routerlist_ok.
svn:r10218
|
|
|
|
|
|
|
| |
Possible fix for bug 417 and bug 404: do not insert our routerinfo directly; instead, re-parse it first.
svn:r10217
|
|
|
|
|
|
|
| |
Make caches-extra-info lines parseable.
svn:r10215
|
|
|
|
|
|
|
| |
First cut at code to download extra-info docs. Also note a bad bug in directory.c (look for the string BUG BUG BUG).
svn:r10209
|
|
|
|
|
|
|
| |
Fix GCC warnings related to local parameters/variables getting shadowed.
svn:r10198
|
|
|
|
|
|
|
| |
Make --enable-gcc-warnings happy on the upcoming gcc 4.2
svn:r10195
|
|
|
|
|
|
|
| |
Be a lot smarter when parsing lists of routers and extrainfos.
svn:r10193
|
|
|
|
|
|
|
| |
Change authority_type_t to a set of flags; use it more consistently.
svn:r10144
|
|
|
|
|
|
|
| |
to v2 authorities or to bridge authorities, depending on config.
svn:r10137
|
|
|
|
|
|
|
|
| |
into a string: "v1", "v2", bridge", "". Continue to support
"0" and "1".
svn:r10136
|
|
|
|
|
|
|
|
| |
dir authority we'd like to upload to. at some point we should
pick a config option to say that in, for bridges.
svn:r10129
|
|
|
|
| |
svn:r10128
|
|
|
|
|
|
|
| |
sure that's reflected in your router descriptor.
svn:r10114
|
|
|
|
| |
svn:r10112
|
|
|
|
|
|
|
|
|
|
|
| |
authorities should set. This will let future authorities choose
not to serve V2 directory information.
Also, go through and revamp all the authdir_mode stuff so it tries
to do the right thing if you're an auth but not a V1 or V2 auth.
svn:r10092
|
|
|
|
|
|
|
| |
Remove the _UploadExtraInfo option, since I tried turning it on and moria[12] seem not to have exploded.
svn:r10089
|
|
|
|
|
|
|
| |
Add code to upload extrainfos to authorities running 0.2.0.0-alpha-dev (r10070) or later.
svn:r10086
|
|
|
|
|
|
|
| |
(Needs review.) Allow directory authorities to accept multiple router descriptors and extra info documents in a single POST. This will make implementing the client side of proposal 104 a lot simpler.
svn:r10069
|
|
|
|
|
|
|
|
| |
we have no cached directory info. This means Tor clients can now
do all of their connections protected by TLS.
svn:r10035
|
|
|
|
|
|
|
|
|
| |
from an SVN repository, use the current svn revision in the platform
string and in the output of --version.
svn:r9976
|
|
|
|
|
|
|
| |
More proposal-104 stuff: actually remember extra-info stuff.
svn:r9975
|
|
|
|
| |
svn:r9972
|
|
|
|
|
|
|
| |
More proposal-104 stuff: add most of the code for authorities to accept and serve extra-info documents. The back-end to store the things is missing.
svn:r9971
|
|
|
|
|
|
|
| |
Code to generate extrainfo whenever routerdesc is regenerated; code to check extrainfo against routerdesc.
svn:r9970
|
|
|
|
|
|
|
| |
Add code to shrink the cell memory pool by discarding empty chunks that have been empty for the last 60 seconds. Also, instead of having test.c duplicate declarations for exposed functions, put them inside #ifdef foo_PRIVATE blocks in the headers. This prevents bugs where test.c gets out of sync.
svn:r9944
|
|
|
|
|
|
|
| |
Refactor a bunch of functions that take edge_connection_t not to also take a crypt_path_t; the cpath is implicit.
svn:r9899
|