| Commit message (Collapse) | Author | Age |
... | |
| | |
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
|
|
|
|
|
| |
patch.
svn:r17686
|
|
|
|
|
|
| |
(The unfixed ones are being downgraded to regular XXXs mainly on the rationale that they don't seem to be exploding Tor, and they were apparently not showstoppers for 0.2.0.x-final.)
svn:r17682
|
|
|
|
|
|
|
| |
have any files in the cached-status/ directory
svn:r17671
|
|
|
|
|
|
| |
v2-networkstatus-only.
svn:r17652
|
|
|
|
|
|
| |
pick_(trusted_)dirserver. This lets us make its interface smarter, and makes code that calls it a little more readable.
svn:r17592
|
|
|
|
| |
svn:r17535
|
|
|
|
| |
svn:r17211
|
|
|
|
| |
svn:r17208
|
|
|
|
|
|
| |
Patch from mwenge.
svn:r16659
|
|
|
|
|
|
| |
that's already sufficient
svn:r16578
|
|
|
|
| |
svn:r16537
|
|
|
|
|
|
|
| |
Initial conversion of uint32_t addr to tor_addr_t addr in connection_t and related types. Most of the Tor wire formats using these new types are in, but the code to generate and use it is not. This is a big patch. Let me know what it breaks for you.
svn:r16435
|
|
|
|
|
|
|
| |
Refactor the is_vote field of networkstatus_t to add a third possibility ("opinion") in addition to vote and opinion. First part of implementing proposal 147.
svn:r16166
|
|
|
|
|
|
|
|
| |
tell the controller how we're doing at bootstrapping, and it can
tell the user.
svn:r15008
|
|
|
|
|
|
|
| |
anything about whether enough v3 dir info is here.
svn:r14969
|
|
|
|
|
|
|
|
| |
relays. they weren't very specific, and were confusing people before
we reduced their log severity. now nobody even knows they exist.
svn:r14968
|
|
|
|
|
|
|
| |
Fwdport Bugfix: an authority signature is "unrecognized" if we lack a dirserver entry for it, even if we have an older cached certificate that says it is recognized. This affects clients who remove entries from their dirserver list without clearing their certificate cache.
svn:r14597
|