| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Make connection_array into a smartlist.
svn:r10292
|
|
|
|
|
|
|
| |
Use svn revisions consistently throughout all log messages.
svn:r10291
|
|
|
|
|
|
|
| |
Partial backport candidate: do not rely on finding a \0 after an mmaped() router/extrainfo file. Also, set journal length correctly when starting up.
svn:r10248
|
|
|
|
|
|
|
| |
Provide actual reasons when dropping an uploaded extrainfo for incompatibility; also, clean whitespace.
svn:r10230
|
|
|
|
|
|
|
| |
Look for extrainfo bodies in the extrainfo mmap, not in the descriptor mmap. Duh. Should fix bug 429.
svn:r10226
|
|
|
|
|
|
|
| |
Possible fix for bug 417 and bug 404: do not insert our routerinfo directly; instead, re-parse it first.
svn:r10217
|
|
|
|
|
|
|
| |
Partial backport candidate: We had a bug where we were downloading descriptors by descriptor digest, but trying to look them up by identity fingerprint when updating their failure count and next retry time. (Also use correct backoff logic for extrainfo code.) Needs testing, doubtless.
svn:r10210
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Move around field order a little, in order to compact some structures. (Thanks to -Wpadded)
svn:r10200
|
|
|
|
|
|
|
| |
Be a lot smarter when parsing lists of routers and extrainfos.
svn:r10193
|
|
|
|
|
|
|
| |
Cleanup, lock-down, and refactor bits of routerparse.c: use a single unified function to check all signatures. Fix all DOCDOCs. Remove some old dead debugging code. Enforce some parsing rules better.
svn:r10192
|
|
|
|
|
|
|
| |
Patch from shibz: implement a getinfo status/version/... so a controller can tell whether the current version is recommended, whether any versions are good, and how many authorities agree.
svn:r10162
|
|
|
|
| |
svn:r10151
|
|
|
|
|
|
|
| |
Keep two freelists for buffer ram chunks: one of 4k chunks, and one of 16k chunks. Also, document the whole business.
svn:r10150
|
|
|
|
|
|
|
| |
Periodically clean the freelist of buffer memory chunks.
svn:r10149
|
|
|
|
|
|
|
| |
Change authority_type_t to a set of flags; use it more consistently.
svn:r10144
|
|
|
|
|
|
|
| |
yet we didn't configure any first.
svn:r10143
|
|
|
|
|
|
|
|
|
| |
It is becoming increasingly clear to me that bridges should
be a special case of entry guards, not a whole separate pile
of nearly identical functions.
svn:r10141
|
|
|
|
|
|
|
| |
i have the feeling this will come in handy.
svn:r10139
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
svn:r10112
|
|
|
|
|
|
|
| |
Start implementing key certificate parsing. Note TODO items for combined 101/103.
svn:r10097
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
svn:r10077
|
|
|
|
|
|
|
| |
More work for proposal 104: actually cache extrainfo documents to disk, and reload the cache properly.
svn:r10070
|
|
|
|
|
|
|
| |
(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
|
|
|
|
|
|
|
| |
Initial version of patch from Karsten Loesing: Add an HSAuthorityRecordStats option to track statistics of overall hidden service usage without logging information that would be useful to an attacker.
svn:r10067
|
|
|
|
|
|
|
| |
Suggested by weasel: Add a fast function to check for the common failure mode for bug 417/404, and call it a lot.
svn:r10059
|
|
|
|
|
|
|
| |
so we can exit from the middle of the circuit.
svn:r10056
|
|
|
|
|
|
|
|
| |
use by the controller, when we don't want Tor to build any circuits
preemptively.
svn:r10054
|
|
|
|
|
|
|
| |
Oops; the rest of the last patch. If that one gets backported, this should too.
svn:r10053
|
|
|
|
| |
svn:r10050
|
|
|
|
|
|
|
|
| |
we have no cached directory info. This means Tor clients can now
do all of their connections protected by TLS.
svn:r10035
|
|
|
|
| |
svn:r10022
|
|
|
|
|
|
|
| |
When logging memory usage, break down memory used in buffers by buffer type.
svn:r10004
|
|
|
|
|
|
|
| |
Document some fields in or.h
svn:r9998
|
|
|
|
|
|
|
| |
Rename a couple of confusing fields
svn:r9996
|
|
|
|
|
|
|
| |
Initial version of code to stop using socket pairs for linked connections. Superficially, it seems to work, but it probably needs a lot more testing and attention.
svn:r9995
|
|
|
|
|
|
|
| |
Make dumpmemusage() dump cell pool usage information.
svn:r9991
|
|
|
|
|
|
|
| |
Twiddle tor_version_as_new_as() so we can check for particular svn revisions. With unit tests, for added freshness.
svn:r9977
|
|
|
|
|
|
|
| |
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
|