]> git.ipfire.org Git - thirdparty/tor.git/log
thirdparty/tor.git
15 years agoupdated win32 build instructions with new mingw and msys versions.
Andrew Lewman [Thu, 11 Feb 2010 03:50:23 +0000 (22:50 -0500)] 
updated win32 build instructions with new mingw and msys versions.

15 years agoclean up the documentation, break out sections for osx compiles.
Andrew Lewman [Thu, 11 Feb 2010 02:44:19 +0000 (21:44 -0500)] 
clean up the documentation, break out sections for osx compiles.

15 years agoAdd Windows version detection for Vista and 7
Sebastian Hahn [Sun, 7 Feb 2010 04:18:50 +0000 (05:18 +0100)] 
Add Windows version detection for Vista and 7

Vista is Windows 6.0, and 7 is Windows 6.1. Fixes bug 1097.

Also fix a coding style violation.

15 years agoAdd changelog for memcpy bug, with credit for "memcpyfail"
Nick Mathewson [Tue, 9 Feb 2010 18:08:49 +0000 (13:08 -0500)] 
Add changelog for memcpy bug, with credit for "memcpyfail"

15 years agoMerge remote branch 'origin/maint-0.2.1'
Nick Mathewson [Tue, 9 Feb 2010 17:58:25 +0000 (12:58 -0500)] 
Merge remote branch 'origin/maint-0.2.1'

15 years agoMerge remote branch 'sebastian/bug925'
Nick Mathewson [Tue, 9 Feb 2010 17:50:54 +0000 (12:50 -0500)] 
Merge remote branch 'sebastian/bug925'

15 years agoMerge remote branch 'sebastian/bug1238'
Nick Mathewson [Tue, 9 Feb 2010 17:50:45 +0000 (12:50 -0500)] 
Merge remote branch 'sebastian/bug1238'

15 years agoMerge remote branch 'sebastian/exit-notice'
Nick Mathewson [Tue, 9 Feb 2010 17:47:38 +0000 (12:47 -0500)] 
Merge remote branch 'sebastian/exit-notice'

15 years agoMake tor_addr_copy() conform to memcpy requirements
Nick Mathewson [Tue, 9 Feb 2010 17:32:10 +0000 (12:32 -0500)] 
Make tor_addr_copy() conform to memcpy requirements

The src and dest of a memcpy() call aren't supposed to overlap,
but we were sometimes calling tor_addr_copy() as a no-op.

Also, tor_addr_assign was a redundant copy of tor_addr_copy(); this patch
removes it.

15 years agoFix a whitespace violation
Sebastian Hahn [Fri, 5 Feb 2010 16:04:33 +0000 (17:04 +0100)] 
Fix a whitespace violation

15 years agoSpeed up the execution of exit_policy_is_general_exit_helper()
Sebastian Hahn [Fri, 5 Feb 2010 15:58:24 +0000 (16:58 +0100)] 
Speed up the execution of exit_policy_is_general_exit_helper()

It isn't necessary to walk through all possible subnets when the policy
we're looking at doesn't touch that subnet.

15 years agoAnother unit test for exit_policy_is_general_exit()
Sebastian Hahn [Fri, 5 Feb 2010 10:59:15 +0000 (11:59 +0100)] 
Another unit test for exit_policy_is_general_exit()

15 years agoFix the path to the exit-notice file in torrc.sample
Sebastian Hahn [Mon, 8 Feb 2010 22:33:22 +0000 (23:33 +0100)] 
Fix the path to the exit-notice file in torrc.sample

Also reword it slightly to reflect the fact that no packagers
ship the file.

15 years ago0/8 doesn't count as a /8 subnet towards an Exit flag
Sebastian Hahn [Fri, 5 Feb 2010 12:40:31 +0000 (13:40 +0100)] 
0/8 doesn't count as a /8 subnet towards an Exit flag

15 years agoDon't spam controllers with TOO_MANY_CONNECTIONS events
Sebastian Hahn [Sun, 31 Jan 2010 20:54:04 +0000 (21:54 +0100)] 
Don't spam controllers with TOO_MANY_CONNECTIONS events

We implemented ratelimiting for warnings going into the logfile, but didn't
rate-limit controller events. Now both log warnings and controller events
are rate-limited.

15 years agoDon't use gethostbyname() in resolve_my_address()
Sebastian Hahn [Mon, 8 Feb 2010 14:35:34 +0000 (15:35 +0100)] 
Don't use gethostbyname() in resolve_my_address()

Tor has tor_lookup_hostname(), which prefers ipv4 addresses automatically.
Bug 1244 occured because gethostbyname() returned an ipv6 address, which
Tor cannot handle currently. Fixes bug 1244; bugfix on 0.0.2pre25.
Reported by Mike Mestnik.

15 years agoMerge commit 'origin/maint-0.2.1'
Nick Mathewson [Mon, 8 Feb 2010 03:34:08 +0000 (22:34 -0500)] 
Merge commit 'origin/maint-0.2.1'

15 years agolookup_last_hid_serv_request() could overflow and leak memory
Sebastian Hahn [Sun, 7 Feb 2010 05:30:55 +0000 (06:30 +0100)] 
lookup_last_hid_serv_request() could overflow and leak memory

The problem was that we didn't allocate enough memory on 32-bit
platforms with 64-bit time_t. The memory leak occured every time
we fetched a hidden service descriptor we've fetched before.

15 years agoFix building of RPMs. Patch by Erinn Clark.
Sebastian Hahn [Sat, 6 Feb 2010 02:10:51 +0000 (03:10 +0100)] 
Fix building of RPMs. Patch by Erinn Clark.

15 years agoAnother unit test for exit_policy_is_general_exit()
Sebastian Hahn [Wed, 3 Feb 2010 23:06:00 +0000 (00:06 +0100)] 
Another unit test for exit_policy_is_general_exit()

15 years agoCall exit_policy_is_general_exit less
Sebastian Hahn [Wed, 3 Feb 2010 22:54:18 +0000 (23:54 +0100)] 
Call exit_policy_is_general_exit less

When calculating the is_exit flag for a routerinfo_t, we don't need
to call exit_policy_is_general_exit() if router_exit_policy_rejects_all()
tells us it definitely is an exit. This check is much cheaper than
running exit_policy_is_general_exit().

15 years agoNew unit test, testing for b0red's exit policy
Sebastian Hahn [Wed, 3 Feb 2010 11:45:27 +0000 (12:45 +0100)] 
New unit test, testing for b0red's exit policy

15 years agoWhen we've disabled .exit hostnames, actually reject them.
Nick Mathewson [Wed, 3 Feb 2010 20:59:15 +0000 (15:59 -0500)] 
When we've disabled .exit hostnames, actually reject them.

Previously we were treating them as decent hostnames and sending them
to the exit, which is completely wrong.

15 years agoTrivial doc fix for exit_policy_is_general_exit_helper
Nick Mathewson [Wed, 3 Feb 2010 05:12:31 +0000 (00:12 -0500)] 
Trivial doc fix for exit_policy_is_general_exit_helper

The original comment said what it did if there was at least one /8 that
allowed access to the port, but not what it did otherwise.

15 years agoAnother new test for exit_policy_is_general_exit()
Sebastian Hahn [Wed, 3 Feb 2010 04:43:09 +0000 (05:43 +0100)] 
Another new test for exit_policy_is_general_exit()

15 years agoNew testcase for exit_policy_is_general_exit
Sebastian Hahn [Tue, 2 Feb 2010 13:51:12 +0000 (14:51 +0100)] 
New testcase for exit_policy_is_general_exit

15 years agoDon't assign Exit flag incorrectly
Sebastian Hahn [Tue, 2 Feb 2010 13:51:51 +0000 (14:51 +0100)] 
Don't assign Exit flag incorrectly

exit_policy_is_general_exit() assumed that there are no redundancies
in the passed policy, in the sense that we actively combine entries
in the policy to really get rid of any redundancy. Since we cannot
do that without massively rewriting the policy lines the relay
operators set, fix exit_policy_is_general_exit().

Fixes bug 1238, discovered by Martin Kowalczyk.

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