summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-12-03Add metric on uni/bidirectional connection usage.Karsten Loesing
2010-12-02Merge remote branch 'origin/maint-0.2.2'Nick Mathewson
2010-12-02Fix a harmless off-by-one error in counting controller argument lengthsNick Mathewson
Bugfix on 0.1.1.1-alpha; found by boboper.
2010-12-01Merge remote branch 'origin/maint-0.2.2'Nick Mathewson
2010-12-01Specified grammars for orconn-status and entry-guards for Tor versions ↵Poet (Tim Sally)
0.1.2.2-alpha through 0.2.2.1-alpha with feature VERBOSE_NAMES turned off.
2010-12-01Correct information about support for guards being called helper nodes.Poet (Tim Sally)
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.
2010-12-01Correct grammars to reflect that VERBOSE_NAMES is part of the protocol.Poet (Tim Sally)
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.
2010-12-01Several changes to the way tokens describing servers are documented.Poet (Tim Sally)
(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.
2010-12-01Clarify description of FEATURES in control-spec.Poet (Tim Sally)
(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.
2010-12-01Fix connecting the stdin of tor-fw-helper to /dev/nullSteven Murdoch
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.
2010-12-01Merge remote branch 'sjmurdoch/cloexec'Nick Mathewson
2010-12-01Check that FD_CLOEXEC is set before using itSteven Murdoch
I don't know if any platforms we care about don't have FD_CLOEXEC, but this is what we do elsewhere
2010-12-01Open connection to DNS resolvers with CLOEXEC flag setSteven Murdoch
NB: this will now register the socket with the socket accounting code
2010-12-01Open log files with CLOEXEC flag setSteven Murdoch
2010-12-01Merge branch 'maint-0.2.2'Roger Dingledine
2010-12-01Merge branch 'maint-0.2.1' into maint-0.2.2Roger Dingledine
Conflicts: doc/Makefile.am
2010-12-01add 0.2.1.27 blurb and changelog to release notesRoger Dingledine
2010-11-30Merge remote branch 'origin/maint-0.2.2'Nick Mathewson
Conflicts: src/or/relay.c
2010-11-30fix changes file for 2210Nick Mathewson
2010-11-30Do not invoke tls_renegotiated_cb for non-bufferevent connections too early.Nick Mathewson
This is not the most beautiful fix for this problem, but it is the simplest. Bugfix for 2205. Thanks to Sebastian and Mashael for finding the bug, and boboper/cypherpunks for figuring out why it was happening and how to fix it, and for writing a few fixes.
2010-11-30fix memory leak introduced in 26e89742Roger Dingledine
found via valgrind
2010-11-29Revise comment on 2210 a little; clean up n_streams/num_streams confusionNick Mathewson
Also add a changes file
2010-11-29Add wrappers function for libc random()Nick Mathewson
On windows, it's called something different.
2010-11-29Fix whitespace in patch for 2210 and backport to 0.2.2Nick Mathewson
2010-11-29Improve fairness when activating streams in circuit_resume_edge_reading_helperMashael AlSabah
The reason the "streams problem" occurs is due to the complicated interaction between Tor's congestion control and libevent. At some point during the experiment, the circuit window is exhausted, which blocks all edge streams. When a circuit level sendme is received at Exit, it resumes edge reading by looping over linked list of edge streams, and calling connection_start_reading() to inform libevent to resume reading. When the streams are activated again, Tor gets the chance to service the first three streams activated before the circuit window is exhausted again, which causes all streams to be blocked again. As an experiment, we reversed the order in which the streams are activated, and indeed the first three streams, rather than the last three, got service, while the others starved. Our solution is to change the order in which streams are activated. We choose a random edge connection from the linked list, and then we activate streams starting from that chosen stream. When we reach the end of the list, then we continue from the head of the list until our chosen stream (treating the linked list as a circular linked list). It would probably be better to actually remember which streams have received service recently, but this way is simple and effective.
2010-11-29Merge remote branch 'origin/maint-0.2.2'Nick Mathewson
2010-11-29Merge branch 'exitstats' into maint-0.2.2Nick Mathewson
2010-11-29comment karsten's bug2196 patch a littleNick Mathewson
2010-11-24Merge remote branch 'origin/maint-0.2.2'Nick Mathewson
Conflicts: configure.in contrib/tor-mingw.nsi.in src/win32/orconfig.h
2010-11-24Merge remote branch 'rransom/fix2195-fix' into maint-0.2.2Nick Mathewson
2010-11-24Avoid dereferencing NULL if a bridge fails to build an ei descriptor.Robert Ransom
Reported by an anonymous commenter on Trac.
2010-11-24Report only the top 10 ports in exit-port stats.Karsten Loesing
2010-11-23Fix compilation with mingw and OpenSSL 0.9.8m+mingw-san
2010-11-23Use S_CASE for ehostunreach, not E_CASE. Partial backport of 69deb22f. Fixes ↵Nick Mathewson
0.2.1 compilation on windows
2010-11-23stop shipping doc/img and doc/website in the tarballRoger Dingledine
2010-11-22pick a more accurate release datetor-0.2.2.19-alphaRoger Dingledine
2010-11-21bump to 0.2.2.19-alphaRoger Dingledine
2010-11-21Merge remote branch 'sjmurdoch/cloexec' into cloexecNick Mathewson
2010-11-21prepare for our emergency openssl fix releaseRoger Dingledine
2010-11-21found this whitespace fix in a sandboxRoger Dingledine
2010-11-21Fix compile error on MacOS X (and other platforms without O_CLOEXEC)Steven Murdoch
2010-11-21Merge remote branch 'origin/maint-0.2.2'Nick Mathewson
2010-11-21Merge remote branch 'origin/maint-0.2.1' into maint-0.2.2Nick Mathewson
2010-11-21Merge branch 'fix2204' into maint-0.2.1Nick Mathewson
2010-11-21Don't both open the socket with SOCK_CLOEXEC and set FD_CLOEXECSteven Murdoch
2010-11-20Do not set the hostname TLS extension server-side; only client-sideNick Mathewson
This may fix bug 2204, and resolve the incompatibility with openssl 0.9.8p/1.0.0b.
2010-11-20Fix compile error on MacOS X (and other platforms without O_CLOEXEC)Steven Murdoch
2010-11-20Add missing cast when formatting uintptr_tNick Mathewson
Found by Christian Kujau
2010-11-20Obviate need for doing a CLOEXEC on pipes: just close them before execNick Mathewson
2010-11-20Do cloexec on socketpairs and stdio filesNick Mathewson