]> git.ipfire.org Git - thirdparty/tor.git/log
thirdparty/tor.git
15 years agoAdd a changelog entry for fixing bug 1237.
Nick Mathewson [Tue, 2 Feb 2010 21:22:12 +0000 (16:22 -0500)] 
Add a changelog entry for fixing bug 1237.

We don't have such an entry for 0.2.1.x, since bug 1237 never made it
into a released version of 0.2.1.x.

15 years agoMerge remote branch 'origin/maint-0.2.1'
Nick Mathewson [Tue, 2 Feb 2010 21:21:17 +0000 (16:21 -0500)] 
Merge remote branch 'origin/maint-0.2.1'

15 years agoLink libssl and libcrypto in the right order.
Nick Mathewson [Tue, 2 Feb 2010 21:12:45 +0000 (16:12 -0500)] 
Link libssl and libcrypto in the right order.

For most linking setups, this doesn't matter.  But for some setups, when
statically linking openssl, it does matter, since you need to link things
with dependencies before you link things they depend on.

Fix for bug 1237.

15 years agoadd a2x intermediate files to gitignore
Nick Mathewson [Mon, 1 Feb 2010 03:53:40 +0000 (22:53 -0500)] 
add a2x intermediate files to gitignore

15 years agoMerge remote branch 'origin/maint-0.2.1'
Nick Mathewson [Mon, 1 Feb 2010 03:53:19 +0000 (22:53 -0500)] 
Merge remote branch 'origin/maint-0.2.1'

15 years agoRevise OpenSSL fix to work with OpenSSL 1.0.0beta*
Nick Mathewson [Mon, 1 Feb 2010 03:48:29 +0000 (22:48 -0500)] 
Revise OpenSSL fix to work with OpenSSL 1.0.0beta*

In brief: you mustn't use the SSL3_FLAG solution with anything but 0.9.8l,
and you mustn't use the SSL_OP solution with anything before 0.9.8m, and
you get in _real_ trouble if you try to set the flag in 1.0.0beta, since
they use it for something different.

For the ugly version, see my long comment in tortls.c

15 years agoMerge commit 'origin/maint-0.2.1'
Nick Mathewson [Fri, 29 Jan 2010 22:20:59 +0000 (17:20 -0500)] 
Merge commit 'origin/maint-0.2.1'

Conflicts:
src/common/tortls.c

15 years agoDecide whether to use SSL flags based on runtime OpenSSL version.
Nick Mathewson [Fri, 29 Jan 2010 22:02:17 +0000 (17:02 -0500)] 
Decide whether to use SSL flags based on runtime OpenSSL version.

We need to do this because Apple doesn't update its dev-tools headers
when it updates its libraries in a security patch.  On the bright
side, this might get us out of shipping a statically linked OpenSSL on
OSX.

May fix bug 1225.

[backported]

15 years agoDetect the correct versions of openssl for tls negotiation fix
Nick Mathewson [Fri, 29 Jan 2010 22:11:20 +0000 (17:11 -0500)] 
Detect the correct versions of openssl for tls negotiation fix

Since it doesn't seem to hurt, we should use _both_ fixes whenever
we see OpenSSL 0.9.7L .. 0.9.8, or OpenSSL 0.9.8L..

15 years agoDecide whether to use SSL flags based on runtime OpenSSL version.
Nick Mathewson [Fri, 29 Jan 2010 22:02:17 +0000 (17:02 -0500)] 
Decide whether to use SSL flags based on runtime OpenSSL version.

We need to do this because Apple doesn't update its dev-tools headers
when it updates its libraries in a security patch.  On the bright
side, this might get us out of shipping a statically linked OpenSSL on
OSX.

May fix bug 1225.

15 years agoClarify a paragraph in prop 169.
Nick Mathewson [Fri, 29 Jan 2010 21:39:27 +0000 (16:39 -0500)] 
Clarify a paragraph in prop 169.

15 years agoMake sure docdir is defined when making doc/
Sebastian Hahn [Thu, 28 Jan 2010 07:59:20 +0000 (08:59 +0100)] 
Make sure docdir is defined when making doc/

Apparently some autoconf versions need this, while others don't.
This means documentation will be installed into share/doc/tor/.

15 years agoFix building the tarball
Sebastian Hahn [Wed, 27 Jan 2010 20:05:01 +0000 (21:05 +0100)] 
Fix building the tarball

This removes the Makefile.am from doc/design-paper and replaces it with
a static Makefile. We don't need to call it during the normal Tor build
process, as we don't need its targets normally. Keeping it around in
case we want to rebuild the pdf or ps files later.

15 years agoThe name for the proposal status of 151 is "finished", not "Implemented"
Nick Mathewson [Thu, 28 Jan 2010 05:04:45 +0000 (00:04 -0500)] 
The name for the proposal status of 151 is "finished", not "Implemented"

15 years agoProposal 169: Eliminate TLS renegotiation
Nick Mathewson [Wed, 27 Jan 2010 22:08:04 +0000 (17:08 -0500)] 
Proposal 169: Eliminate TLS renegotiation

I propose a backward-compatible change to the Tor connection
establishment protocol to avoid the use of TLS
renegotiation.

Rather than doing a TLS renegotiation to exchange
certificates and authenticate the original handshake, this
proposal takes an approach similar to Steven Murdoch's
proposal 124, and uses Tor cells to authenticate the
parties' identities once the initial TLS handshake is
finished.

15 years agoFix comments for getinfo_helper_t
Sebastian Hahn [Wed, 27 Jan 2010 21:11:42 +0000 (22:11 +0100)] 
Fix comments for getinfo_helper_t

rieo pointed out something isn't right here

15 years agoClean the man and html files with make (dist)clean
Sebastian Hahn [Wed, 27 Jan 2010 19:23:13 +0000 (20:23 +0100)] 
Clean the man and html files with make (dist)clean

15 years agoStop shipping the design paper in the tarballs
Sebastian Hahn [Wed, 27 Jan 2010 19:09:19 +0000 (20:09 +0100)] 
Stop shipping the design paper in the tarballs

15 years agoFix ChangeLog entry for asciidoc branch.
Nick Mathewson [Wed, 27 Jan 2010 18:27:53 +0000 (13:27 -0500)] 
Fix ChangeLog entry for asciidoc branch.

15 years agoMerge remote branch 'sebastian/manpage'
Nick Mathewson [Wed, 27 Jan 2010 18:24:05 +0000 (13:24 -0500)] 
Merge remote branch 'sebastian/manpage'

15 years agoBump version to 0.2.2.8-alpha-dev
Nick Mathewson [Wed, 27 Jan 2010 18:22:20 +0000 (13:22 -0500)] 
Bump version to 0.2.2.8-alpha-dev

15 years agoAdd a comment explaining the doc build system
Nick Mathewson [Thu, 21 Jan 2010 04:28:32 +0000 (23:28 -0500)] 
Add a comment explaining the doc build system

Updated a little by Sebastian

15 years agoMake the asciidoc build process work from outside top_srcdir
Nick Mathewson [Thu, 21 Jan 2010 04:32:27 +0000 (23:32 -0500)] 
Make the asciidoc build process work from outside top_srcdir

Edited a little by Sebastian

15 years agoFix a few typos in the manpage, and reword the DisableAllSwap entry
Sebastian Hahn [Tue, 19 Jan 2010 14:06:40 +0000 (15:06 +0100)] 
Fix a few typos in the manpage, and reword the DisableAllSwap entry

15 years agoConvert the Tor manpage to asciidoc.
Sebastian Hahn [Tue, 19 Jan 2010 13:53:38 +0000 (14:53 +0100)] 
Convert the Tor manpage to asciidoc.

This should be a very faithful conversion, preserving as much of the layout
of the old manpage as possible. This wasn't possible for the nt-service
and the DataDirectory/state parts. See a later commit for some small
cleanups.

Tiago Faria helped with the asciidoc conversion, big thanks!

15 years agoConvert the tor-resolve manpage to asciidoc
Sebastian Hahn [Tue, 19 Jan 2010 13:51:10 +0000 (14:51 +0100)] 
Convert the tor-resolve manpage to asciidoc

15 years agoConvert the torify manpage to asciidoc
Sebastian Hahn [Tue, 19 Jan 2010 03:35:04 +0000 (04:35 +0100)] 
Convert the torify manpage to asciidoc

15 years agoConvert the tor-gencert manpage to asciidoc
Sebastian Hahn [Mon, 18 Jan 2010 07:42:48 +0000 (08:42 +0100)] 
Convert the tor-gencert manpage to asciidoc

15 years agoAllow generating documentation from asciidoc in the Makefile
Sebastian Hahn [Mon, 18 Jan 2010 21:15:38 +0000 (22:15 +0100)] 
Allow generating documentation from asciidoc in the Makefile

15 years agoMove the torify manpage into the doc dir
Sebastian Hahn [Mon, 18 Jan 2010 21:28:56 +0000 (22:28 +0100)] 
Move the torify manpage into the doc dir

15 years agoStop putting parts of the website into tarballs.
Sebastian Hahn [Mon, 18 Jan 2010 07:47:37 +0000 (08:47 +0100)] 
Stop putting parts of the website into tarballs.

The website wasn't used by our packages, and most users will not know how
to open html.en files anyways.

15 years ago0.2.2.8-alpha is coming out today sometime tor-0.2.2.8-alpha
Roger Dingledine [Tue, 26 Jan 2010 18:11:58 +0000 (13:11 -0500)] 
0.2.2.8-alpha is coming out today sometime

15 years agoFix a memory corruption bug while collecting bridge stats
Karsten Loesing [Mon, 25 Jan 2010 18:44:17 +0000 (18:44 +0000)] 
Fix a memory corruption bug while collecting bridge stats

We accidentally freed the internal buffer for bridge stats when we
were writing the bridge stats file or honoring a control port
request for said data. Change the interfaces for
geoip_get_bridge_stats* to prevent these problems, and remove the
offending free/add a tor_strdup.

Fixes bug 1208.

15 years agoMerge commit 'sebastian/quiet'
Nick Mathewson [Mon, 25 Jan 2010 19:39:20 +0000 (14:39 -0500)] 
Merge commit 'sebastian/quiet'

15 years agoRearrange _thread_test_func to please Coverity Scan
Nick Mathewson [Mon, 25 Jan 2010 19:12:37 +0000 (14:12 -0500)] 
Rearrange _thread_test_func to please Coverity Scan

I believe  that since  we were allocating  *cp while holding  a mutex,
coverity deduced that  *cp must be protected by  that mutex, and later
flipped out  when we didn't  use it  that way. If  this is so,  we can
solve our problems by moving the *cp = tor_strdup(buf) part outside of
the mutex-protected code.

15 years agoTry to untangle the logic in server_port_flush
Nick Mathewson [Mon, 25 Jan 2010 19:09:58 +0000 (14:09 -0500)] 
Try to untangle the logic in server_port_flush

It's a bit confusing to have a loop where another function,
confusingly named "*_free", is responsible for advancing the loop
variable (or rather, for altering a structure so that the next time
the loop variable's initializer is evaluated it evaluates to something
different.)

Not only has this confused people: it's also confused coverity scan.
Let's fix that.

15 years agoDon't unlock a new log until done logging the tor version.
Nick Mathewson [Mon, 25 Jan 2010 19:09:18 +0000 (14:09 -0500)] 
Don't unlock a new log until done logging the tor version.

This might please coverity scan.

15 years agoBe quieter about failing to decode authority digests
Sebastian Hahn [Mon, 25 Jan 2010 17:05:20 +0000 (18:05 +0100)] 
Be quieter about failing to decode authority digests

This was freaking out some relay operators without good reason, as
it is nothing the relay operator can do anything about anyways.

Quieting this warning suggested by rieo.

15 years agoSince dump_microdescriptor() can return -1; make its type ssize_t
Nick Mathewson [Sun, 24 Jan 2010 21:24:47 +0000 (16:24 -0500)] 
Since dump_microdescriptor() can return -1; make its type ssize_t

15 years agoHandle errors reported by fwrite() in dump_microdescriptor()
Peter Palfrader [Sun, 24 Jan 2010 19:58:30 +0000 (20:58 +0100)] 
Handle errors reported by fwrite() in dump_microdescriptor()

Does not deal with error handling in dump_microdescriptor's callers.

15 years agoMerge commit 'origin/maint-0.2.1'
Nick Mathewson [Sun, 24 Jan 2010 20:03:45 +0000 (15:03 -0500)] 
Merge commit 'origin/maint-0.2.1'

Resolved conflicts in:
configure.in
src/or/Makefile.am
src/tools/Makefile.am

15 years agoAdd --enable-static-(openssl|libevent) options
Nick Mathewson [Sun, 24 Jan 2010 19:34:47 +0000 (14:34 -0500)] 
Add --enable-static-(openssl|libevent) options

These options only work when using --with-(openssl|libevent)-dir to
explicitly pick a libevent or openssl location.

15 years agoNew configure option: --enable-gcc-warnings-advisory
Peter Palfrader [Sun, 24 Jan 2010 18:32:41 +0000 (19:32 +0100)] 
New configure option: --enable-gcc-warnings-advisory

the new configure option --enable-gcc-warnings-advisory enables
all the gcc flags that --enable-gcc-warnings does with the
exception of -Werror.

15 years agoMerge remote branch 'origin/maint-0.2.1'
Nick Mathewson [Sun, 24 Jan 2010 01:46:57 +0000 (20:46 -0500)] 
Merge remote branch 'origin/maint-0.2.1'

15 years agoFix two rare leaks spotted by rieo.
Nick Mathewson [Sun, 24 Jan 2010 01:46:38 +0000 (20:46 -0500)] 
Fix two rare leaks spotted by rieo.

15 years agoAvoid a possible crash in tls_log_errors.
Nick Mathewson [Fri, 22 Jan 2010 21:32:15 +0000 (16:32 -0500)] 
Avoid a possible crash in tls_log_errors.

We were checking for msg==NULL, but not lib or proc.  This case can
only occur if we have an error whose string we somehow haven't loaded,
but it's worth coding defensively here.

Spotted by rieo on IRC.

15 years agomake the 0.2.2.7-alpha changelog actually complete.
Roger Dingledine [Wed, 20 Jan 2010 20:39:23 +0000 (15:39 -0500)] 
make the 0.2.2.7-alpha changelog actually complete.

weasel makes a good point.

15 years agoDon't use OutboundBindAddress to connect to localhost
Nick Mathewson [Wed, 20 Jan 2010 17:36:14 +0000 (12:36 -0500)] 
Don't use OutboundBindAddress to connect to localhost

The OutboundBindAddress option is useful for making sure that all of
your outbond connections use a given interface.  But when connecting
to 127.0.0.1 (or ::1 even) it's important to actually have the
connection come _from_ localhost, since lots of programs running on
localhost use the source address to authenticate that the connection
is really coming from the same host.

Our old code always bound to OutboundBindAddress, whether connecting
to localhost or not.  This would potentially break DNS servers on
localhost, and socks proxies on localhost.  This patch changes the
behavior so that we only look at OutboundBindAddress when connecting
to a non-loopback address.

15 years agobump to 0.2.2.7-alpha tor-0.2.2.7-alpha
Roger Dingledine [Tue, 19 Jan 2010 22:59:33 +0000 (17:59 -0500)] 
bump to 0.2.2.7-alpha

15 years agonote the two new fixes are in 0.2.2.7-alpha too
Roger Dingledine [Tue, 19 Jan 2010 22:55:54 +0000 (17:55 -0500)] 
note the two new fixes are in 0.2.2.7-alpha too

15 years agoMerge branch 'maint-0.2.1'
Roger Dingledine [Tue, 19 Jan 2010 22:54:41 +0000 (17:54 -0500)] 
Merge branch 'maint-0.2.1'

Conflicts:

ChangeLog

15 years agospread guard rotation out throughout the month
Roger Dingledine [Tue, 19 Jan 2010 22:52:52 +0000 (17:52 -0500)] 
spread guard rotation out throughout the month

15 years agoweight guard choice by bandwidth; discard old guards
Roger Dingledine [Tue, 19 Jan 2010 22:30:52 +0000 (17:30 -0500)] 
weight guard choice by bandwidth; discard old guards

15 years agoadd changelog entries for my commits from last week
Roger Dingledine [Tue, 19 Jan 2010 20:58:55 +0000 (15:58 -0500)] 
add changelog entries for my commits from last week

15 years agoclean 0.2.2.7-alpha changelog; add 0.2.2.6 blurb
Roger Dingledine [Tue, 19 Jan 2010 20:20:07 +0000 (15:20 -0500)] 
clean 0.2.2.7-alpha changelog; add 0.2.2.6 blurb

also reorder the stable changelog entries so they're in temporal order

15 years agoMerge branch 'maint-0.2.1' into master
Roger Dingledine [Tue, 19 Jan 2010 19:51:39 +0000 (14:51 -0500)] 
Merge branch 'maint-0.2.1' into master

Conflicts:

ChangeLog
configure.in
contrib/tor-mingw.nsi.in
src/win32/orconfig.h

15 years agobump to 0.2.1.22, and give it a changelog tor-0.2.1.22
Roger Dingledine [Tue, 19 Jan 2010 19:43:05 +0000 (14:43 -0500)] 
bump to 0.2.1.22, and give it a changelog

15 years agodowngrade a warning
Roger Dingledine [Tue, 19 Jan 2010 19:25:15 +0000 (14:25 -0500)] 
downgrade a warning

this case can now legitimately happen, if you have a cached v2 status
from moria1, and you run with the new list of dirservers that's missing
the old moria1. it's nothing to worry about; the file will die off in
a month or two.

15 years agorotate keys for moria1 and gabelmoo
Roger Dingledine [Tue, 19 Jan 2010 19:12:39 +0000 (14:12 -0500)] 
rotate keys for moria1 and gabelmoo

15 years agoFix build on Solaris by disabling support for DisableAllSwap
Sebastian Hahn [Tue, 19 Jan 2010 03:59:24 +0000 (04:59 +0100)] 
Fix build on Solaris by disabling support for DisableAllSwap

Fixes bug 1198. Solaris doesn't have RLIMIT_MEMLOCK for get/setrlimit,
so disable support because we don't know if all memory can be locked.

15 years agoBuild Bug: -lm should come after passing ../common/libor.a to linker
Michael Witten [Sat, 16 Jan 2010 21:13:31 +0000 (21:13 +0000)] 
Build Bug: -lm should come after passing ../common/libor.a to linker

The following commit:

    commit e56747f9cf29ed788baf8805bfe391925d8a19da
    Author: Nick Mathewson <nickm@torproject.org>
    Date:   Tue Dec 15 14:32:55 2009 -0500

        Refactor a bit so that it is safe to include math.h, and mostly not needed.

introduced this line:

    tor_resolve_LDADD = -lm ../common/libor.a @TOR_LIB_WS32@

which caused the build to fail, because only ../common/libor.a
(via the embedded ../common/util.o via ../common/util.c)
referenced libm's `lround' and `log' symbols, so that the
linker (GNU ld) didn't bother to import those symbols before
reading ../common/libor.a, thus leaving those symbols undefined.

The solution was to swap the order, producing the line:

    tor_resolve_LDADD = ../common/libor.a -lm @TOR_LIB_WS32@

Signed-off-by: Michael Witten <mfwitten@gmail.com>
15 years agoLog a notice when we get a new control connection
Sebastian Hahn [Sat, 2 Jan 2010 01:14:02 +0000 (02:14 +0100)] 
Log a notice when we get a new control connection

15 years agostop bridge authorities from leaking their bridge list
Roger Dingledine [Mon, 18 Jan 2010 00:41:22 +0000 (19:41 -0500)] 
stop bridge authorities from leaking their bridge list

15 years agoMerge remote branch 'origin/maint-0.2.1'
Nick Mathewson [Sat, 16 Jan 2010 21:29:54 +0000 (16:29 -0500)] 
Merge remote branch 'origin/maint-0.2.1'

Conflicts:
ChangeLog
configure.in
contrib/tor-mingw.nsi.in
src/win32/orconfig.h

15 years agowhitespace fixes
Roger Dingledine [Fri, 15 Jan 2010 20:58:35 +0000 (15:58 -0500)] 
whitespace fixes

15 years agofix an impossible-to-actually-trigger overflow in descriptor generation
Roger Dingledine [Fri, 15 Jan 2010 20:55:08 +0000 (15:55 -0500)] 
fix an impossible-to-actually-trigger overflow in descriptor generation

15 years agoresolve path weighting edge case; fixes bug 1203
Roger Dingledine [Wed, 13 Jan 2010 04:10:45 +0000 (23:10 -0500)] 
resolve path weighting edge case; fixes bug 1203

15 years agotrivial cleanups
Roger Dingledine [Tue, 12 Jan 2010 19:05:12 +0000 (14:05 -0500)] 
trivial cleanups

15 years agofix some typos in our spec files
Roger Dingledine [Tue, 12 Jan 2010 17:39:39 +0000 (12:39 -0500)] 
fix some typos in our spec files

15 years agoman page entries for PerConnBW{Rate,Burst}
Roger Dingledine [Tue, 12 Jan 2010 17:27:37 +0000 (12:27 -0500)] 
man page entries for PerConnBW{Rate,Burst}

15 years agoremove redundant validate_addr_policies() checks
Roger Dingledine [Tue, 12 Jan 2010 17:19:49 +0000 (12:19 -0500)] 
remove redundant validate_addr_policies() checks

15 years agodon't warn if stats/bridge-stats is missing
Roger Dingledine [Tue, 12 Jan 2010 17:18:08 +0000 (12:18 -0500)] 
don't warn if stats/bridge-stats is missing

if we try to read it to publish stats and it's not there,
that means there are no stats to publish.

reported by swisstorexit.

15 years agodon't list windows capabilities in windows uname
Roger Dingledine [Tue, 12 Jan 2010 17:17:07 +0000 (12:17 -0500)] 
don't list windows capabilities in windows uname

we never used them, and maybe it's a bad idea to publish them

15 years agoship the bridges spec file in the tarball too
Roger Dingledine [Tue, 12 Jan 2010 17:16:21 +0000 (12:16 -0500)] 
ship the bridges spec file in the tarball too

15 years agodon't div by 0 during path selection
Roger Dingledine [Sat, 2 Jan 2010 18:13:30 +0000 (13:13 -0500)] 
don't div by 0 during path selection

15 years agowhen loading bridge stats, mkdir $datadir/stats first
Roger Dingledine [Sat, 2 Jan 2010 14:28:19 +0000 (09:28 -0500)] 
when loading bridge stats, mkdir $datadir/stats first

15 years agoadd config options to override.
Roger Dingledine [Wed, 30 Dec 2009 04:13:03 +0000 (23:13 -0500)] 
add config options to override.

somebody should add man page entries.

15 years agoadd separate per-conn write limiting
Roger Dingledine [Wed, 30 Dec 2009 03:25:02 +0000 (22:25 -0500)] 
add separate per-conn write limiting

15 years agoAuthorities now support conditional consensuses
Sebastian Hahn [Sat, 19 Dec 2009 20:56:49 +0000 (21:56 +0100)] 
Authorities now support conditional consensuses

Mark them this way in add_trusted_dir_server

15 years agoRemove some old, commented out code
Sebastian Hahn [Sat, 19 Dec 2009 20:56:04 +0000 (21:56 +0100)] 
Remove some old, commented out code

15 years agoRemove online config descriptions.
Sebastian Hahn [Sat, 19 Dec 2009 20:25:25 +0000 (21:25 +0100)] 
Remove online config descriptions.

They weren't in sync with reality nor manpage, and only useful to a human
who could simply have checked the manpage.

15 years agoFix a typo
Sebastian Hahn [Sat, 19 Dec 2009 20:08:58 +0000 (21:08 +0100)] 
Fix a typo

15 years agoNew consensus params "bwconnrate" and "bwconnburst"
Roger Dingledine [Wed, 23 Dec 2009 09:56:24 +0000 (04:56 -0500)] 
New consensus params "bwconnrate" and "bwconnburst"

...to let us
rate-limit client connections as they enter the network. It's
controlled in the consensus so we can turn it on and off for
experiments. It's starting out off. Based on proposal 163.

15 years agomake the os x tiger compiler shut up
Roger Dingledine [Mon, 21 Dec 2009 09:58:03 +0000 (04:58 -0500)] 
make the os x tiger compiler shut up

it's wrong, but that's our problem not its problem

15 years agoa changelog and doc fixes for the strictnodes work
Roger Dingledine [Mon, 21 Dec 2009 09:38:49 +0000 (04:38 -0500)] 
a changelog and doc fixes for the strictnodes work

15 years agofix compile
Roger Dingledine [Mon, 21 Dec 2009 08:48:40 +0000 (03:48 -0500)] 
fix compile

15 years agoUse nodes in ExitNodes even if they're not fast/stable
Roger Dingledine [Sun, 20 Sep 2009 03:20:23 +0000 (23:20 -0400)] 
Use nodes in ExitNodes even if they're not fast/stable

15 years agoUse nodes in EntryNodes even if they're not fast/stable
Roger Dingledine [Sun, 20 Sep 2009 03:00:28 +0000 (23:00 -0400)] 
Use nodes in EntryNodes even if they're not fast/stable

15 years agoinstrument entry_is_live to tell why our guard isn't live
Roger Dingledine [Sun, 20 Sep 2009 02:59:14 +0000 (22:59 -0400)] 
instrument entry_is_live to tell why our guard isn't live

15 years agoBe more willing to use an unsuitable circuit for exit.
Roger Dingledine [Sun, 20 Sep 2009 01:52:57 +0000 (21:52 -0400)] 
Be more willing to use an unsuitable circuit for exit.

Specifically, there are two cases: a) are we willing to start a new
circuit at a node not in your ExitNodes config option, and b) are we
willing to make use of a circuit that's already established but has an
unsuitable exit.

Now we discard all your circuits when you set ExitNodes, so the only
way you could end up with an exit circuit that ends at an unsuitable
place is if we explicitly ran out of exit nodes, StrictNodes was 0,
and we built this circuit to solve a stream that needs solving.

Fixes bug in dc322931, which would ignore the just-built circuit because
it has an unsuitable exit.

15 years agoAbandon circs if the user changes Exclude*Nodes
Roger Dingledine [Sun, 20 Sep 2009 01:03:49 +0000 (21:03 -0400)] 
Abandon circs if the user changes Exclude*Nodes

If ExcludeNodes or ExcludeExitNodes changes on a config reload,
mark and discard all our origin circuits.

15 years agocomments and cleanups, no actual changes
Roger Dingledine [Sun, 20 Sep 2009 01:02:21 +0000 (21:02 -0400)] 
comments and cleanups, no actual changes

15 years agoMake EntryNodes config option much more aggressive.
Roger Dingledine [Sun, 20 Sep 2009 00:56:57 +0000 (20:56 -0400)] 
Make EntryNodes config option much more aggressive.

Before it would prepend your requested entrynodes to your list of guard
nodes, but feel free to use others after that. Now it chooses only
from your EntryNodes if any of those are available, and only falls back
to others if a) they're all down and b) StrictNodes is not set.

Also, now we refresh your entry guards from EntryNode at each consensus
fetch (rather than just at startup and then they slowly rot as the
network changes).

The goal here is to make users less likely to set StrictNodes, since
it's doing closer to what they expect it should be doing.

15 years agoSwitch to a StrictNodes config option.
Roger Dingledine [Fri, 18 Sep 2009 02:45:54 +0000 (22:45 -0400)] 
Switch to a StrictNodes config option.

This is step one of handling ExcludedNodes better. This first
step is just to make EntryNodes and ExitNodes do what they did
before.

15 years agobump to 0.2.1.21 so we can release tor-0.2.1.21
Roger Dingledine [Mon, 21 Dec 2009 08:22:49 +0000 (03:22 -0500)] 
bump to 0.2.1.21 so we can release

15 years agofix some typos
Roger Dingledine [Sat, 19 Dec 2009 10:12:00 +0000 (05:12 -0500)] 
fix some typos

15 years agostart to document commonly used "param" arguments
Roger Dingledine [Sat, 19 Dec 2009 10:11:50 +0000 (05:11 -0500)] 
start to document commonly used "param" arguments

15 years agoMerge branch 'ewma'
Nick Mathewson [Sat, 19 Dec 2009 03:33:02 +0000 (22:33 -0500)] 
Merge branch 'ewma'

15 years agoAdd a changelog entry for the circuit priority logic
Nick Mathewson [Sat, 19 Dec 2009 03:32:56 +0000 (22:32 -0500)] 
Add a changelog entry for the circuit priority logic

15 years agoMerge commit 'karsten/fix-bridge-stats-master-4'
Nick Mathewson [Fri, 18 Dec 2009 19:16:41 +0000 (14:16 -0500)] 
Merge commit 'karsten/fix-bridge-stats-master-4'