- Dec 14, 2010
-
-
Nick Mathewson authored
-
- Dec 11, 2010
-
-
Nick Mathewson authored
-
- Dec 10, 2010
-
-
Nick Mathewson authored
-
- Dec 07, 2010
-
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
This was the first version to cache the correct directory information. Fixes bug 2156.
-
Nick Mathewson authored
-
Nick Mathewson authored
Conflicts: doc/spec/proposals/000-index.txt
-
Nick Mathewson authored
The big semantic change is to make the IsolateFoo options exist on a per-client-port basis.
-
- Dec 06, 2010
-
-
Nick Mathewson authored
-
Nick Mathewson authored
If you had TIME_MAX > INT_MAX, and your "time_to_exhaust_bw = accountingmax/expected_bandwidth_usage * 60" calculation managed to overflow INT_MAX, then your time_to_consider value could underflow and wind up being rediculously low or high. "Low" was no problem; negative values got caught by the (time_to_consider <= 0) check. "High", however, would get you a wakeup time somewhere in the distant future. The fix is to check for time_to_exhaust_bw overflowing INT_MAX, not TIME_MAX: We don't allow any accounting interval longer than a month, so if time_to_exhaust_bw is significantly larger than 31*24*60*60, we can just clip it. This is a bugfix on 0.0.9pre6, when accounting was first introduced. It fixes bug 2146, unless there are other causes there too. The fix is from boboper. (I tweaked it slightly by removing an assignment that boboper marked as dead, and lowering a variable that no longer needed to be function-scoped.)
-
Nick Mathewson authored
-
Nick Mathewson authored
The old logic would have us fetch from authorities if we were refusing unknown exits and our exit policy was reject*. Instead, we want to fetch from authorities if we're refusing unknown exits and our exit policy is _NOT_ reject*. Fixed by boboper. Fixes more of 2097. Bugfix on 0.2.2.16-alpha.
-
Nick Mathewson authored
Fixes bug 2253; fix by rransom
-
- Dec 03, 2010
-
-
Nick Mathewson authored
-
Nick Mathewson authored
We use a hash of the identity key to seed a prng to tell when an accounting period should end. But thanks to the bug998 changes, clients no longer have server-identity keys to use as a long-term seed in accounting calculations. In any case, their identity keys (as used in TLS) were never never fixed. So we can just set the wakeup time from a random seed instead there. Still open is whether everybody should be random. This patch fixes bug 2235, which was introduced in 0.2.2.18-alpha. Diagnosed with help from boboper on irc.
-
Karsten Loesing authored
-
Karsten Loesing authored
There's no need to have a separate line conn-stats-end for the end date and interval length with only a single line conn-bi-direct following.
-
Karsten Loesing authored
-
Karsten Loesing authored
-
Karsten Loesing authored
-
Karsten Loesing authored
-
Karsten Loesing authored
-
- Dec 02, 2010
-
-
Nick Mathewson authored
-
Nick Mathewson authored
Bugfix on 0.1.1.1-alpha; found by boboper.
-
- Dec 01, 2010
-
-
Nick Mathewson authored
-
Specified grammars for orconn-status and entry-guards for Tor versions 0.1.2.2-alpha through 0.2.2.1-alpha with feature VERBOSE_NAMES turned off.
-
The spec stated that support for the helper-nodes command would be removed in 0.1.3.x, however support for this command is still in Tor. Updated the spec to reflect this and added a node that the command is deprecated.
-
Several updates to grammars for events and GETINFO results. All relate to the fact that LongName has replaced ServerID since 0.2.2.1-alpha. See documentation of VERBOSE_NAMES for more information. The following grammars were changed: * orconn-status GETINFO result * entry-guards GETINFO result * Path general token * OR Connection status changed event * New descriptors available event In all cases a note was added about when the old grammar applies.
-
(1) Made the wording of the comments consistant with token names. Digest/Fingerprint and Name/Nickname were being used interchangeably. Better to just use Fingerprint and Nickname becuase they are the names of the tokens. (2) Places the tokens currently in use before the tokens used in older versions. ServerSpec should be documented before ServerID. (3) Added a note to the comments about ServerID that cross reference the VERBOSE_FEATURE, allowing users to see when and why ServerID was replaced with LongName.
-
(1) On by default is a bad way to describe features. Rather, they are always on and should be viewed as a part of the control protocol. Updated the wording in USEFEATURE to reflect this. (2) Made descriptions of Tor versions consistant across all features. There is the version in which a feature was introduced and the version in which it became part of the protocol. (3) Reworded the description of the VERBOSE_NAMES feature. The previous wording describes the way things used to be first. Better to lead with the current state of things and then describe how it differs from old versions.
-
This wasn't working due to the parameters of dup2 being in the wrong order. As a result, tor-fw-helper was inheriting the stdin of Tor.
-
Nick Mathewson authored
-
Steven Murdoch authored
I don't know if any platforms we care about don't have FD_CLOEXEC, but this is what we do elsewhere
-
Steven Murdoch authored
NB: this will now register the socket with the socket accounting code
-
Steven Murdoch authored
-
Roger Dingledine authored
-
Roger Dingledine authored
Conflicts: doc/Makefile.am
-
Roger Dingledine authored
-
Nick Mathewson authored
Conflicts: src/or/relay.c
-