| Commit message (Collapse) | Author | Age |
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
It erroneously returned -1 instead, which made it say "Internal error"
rather than "Unrecognized key."
|
|
|
|
|
|
|
|
|
|
|
| |
Right now it says "552 internal error" because there's no way for
getinfo_helper_*() countries to specify an error message. This
patch changes the getinfo_helper_*() interface, and makes most of the
getinfo helpers give useful error messages in response to failures.
This should prevent recurrences of bug 1699, where a missing GeoIPFile
line in the torrc made GETINFO ip-to-county/* fail in a "not obvious
how to fix" way.
|
|
|
|
|
|
|
|
| |
V3 authorities no longer decide not to vote on Guard+Exit. The bandwidth
weights should take care of this now.
Also, lower the max threshold for WFU to 0.98, to allow more nodes to become
guards.
|
| |
|
|\
| |
| |
| |
| |
| | |
Conflicts:
src/common/test.h
src/or/test.c
|
| | |
|
| |
| |
| |
| |
| | |
backport of c43859c5c12361fad505
backport of 0d13e0ed145f4c1b5bd1
|
| |
| |
| |
| |
| | |
Partial backport of 381766ce4b1145460.
Partial backport of 56c6d78520a98fb64.
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
Also add bwweightscale consensus param. Use it as our
fixed-point calculation width.
|
| | |
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The rule is now: take the value from the CircuitPriorityHalflife
config option if it is set. If it zero, disable the cell_ewma
algorithm. If it is set, use it to calculate the scaling factor.
If it is not set, look for a CircPriorityHalflifeMsec parameter in the
consensus networkstatus. If *that* is zero, then disable the cell_ewma
algorithm; if it is set, use it to calculate the scaling factor.
If it is not set at all, disable the algorithm.
|
| | |
| | |
| | |
| | | |
Apparently Panther doesn't like comparing ints and enums
|
|/ /
| |
| |
| |
| | |
It returns the contents that Tor would write if you send it a SAVECONF
command, so the controller can write the file to disk itself.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
Some *_free functions threw asserts when passed NULL. Now all of them
accept NULL as input and perform no action when called that way.
This gains us consistence for our free functions, and allows some
code simplifications where an explicit null check is no longer necessary.
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
This patch introduces a new type called document_signature_t to represent the
signature of a consensus document. Now, each consensus document can have up
to one document signature per voter per digest algorithm. Also, each
detached-signatures document can have up to one signature per <voter,
algorithm, flavor>.
|
| |
| |
| |
| |
| | |
The consensus documents are not signed properly, not served, and not
exchanged yet.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
If the networkstatus consensus tells us that we should use a
negative circuit package window, ignore it. Otherwise we'll
believe it and then trigger an assert.
Also, change the interface for networkstatus_get_param() so we
don't have to lookup the consensus beforehand.
|
| |
| |
| |
| |
| |
| | |
documentation fix for get_uint64
remove extra "." from a log line
fix a long line
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
This code adds a new field to vote on: "params". It consists of a list of
sorted key=int pairs. The output is computed as the median of all the
integers for any key on which anybody voted.
Improved with input from Roger.
|
| | |
|
|\ \
| | |
| | |
| | |
| | | |
Conflicts:
ChangeLog
|
| |/
| |
| |
| |
| |
| |
| | |
This new option will allow clients to download the newest fresh consensus
much sooner than they normally would do so, even if they previously set
FetchDirInfoEarly. This includes a proper ChangeLog entry and an updated man
page.
|
|/ |
|
| |
|
| |
|
|
|
|
|
|
|
| |
events, not if he's asked for ns events
svn:r18656
|
|
|
|
| |
svn:r18566
|
|
|
|
|
|
|
|
|
| |
lines for every recommended relay.
still needs docdoc and changelog entry.
svn:r18556
|
|
|
|
|
|
|
|
|
|
|
| |
obsolete consensus. Discarding.
Jan 06 13:03:57.309 [warn] Couldn't load consensus networkstatus from "bridge/cached-consensus"
doesn't need a real warn.
svn:r17969
|
|
|
|
|
|
|
|
|
|
|
| |
discard it rather than trying to use it. In theory it could
be useful because it lists alternate directory mirrors, but in
practice it just means we spend many minutes trying directory
mirrors that are long gone from the network. Helps bug 887 a bit;
bugfix on 0.2.0.x.
svn:r17917
|
|
|
|
|
|
|
|
| |
The subversion $Id$ fields made every commit force a rebuild of
whatever file got committed. They were not actually useful for
telling the version of Tor files in the wild.
svn:r17867
|
|
|
|
|
|
| |
documentation: Don't introduce two parameters called n when you're calling an algorithm O(n).
svn:r17783
|
|
|
|
| |
svn:r17754
|
|
|
|
| |
svn:r17739
|
|
|
|
|
|
| |
comments so that they will get recognized as doxygen.
svn:r17729
|