]>
git.ipfire.org Git - thirdparty/tor.git/log
Nick Mathewson [Fri, 15 Nov 2013 20:35:00 +0000 (15:35 -0500)]
Merge remote-tracking branch 'origin/maint-0.2.4'
Conflicts:
src/or/relay.c
Conflict changes were easy; compilation fixes required were using
using TOR_SIMPLEQ_FIRST to get head of cell queue.
Nick Mathewson [Fri, 15 Nov 2013 20:29:24 +0000 (15:29 -0500)]
Merge remote-tracking branch 'origin/maint-0.2.3' into maint-0.2.4
Conflicts:
src/or/or.h
src/or/relay.c
Conflicts were simple to resolve. More fixes were needed for
compilation, including: reinstating the tv_to_msec function, and renaming
*_conn_cells to *_chan_cells.
Nick Mathewson [Fri, 15 Nov 2013 20:23:51 +0000 (15:23 -0500)]
Merge branch 'bug9093_023' into maint-0.2.3
Nick Mathewson [Mon, 11 Nov 2013 20:22:08 +0000 (15:22 -0500)]
Fix test_cmdline_args to work with old openssl
If openssl was old, Tor would add a warning about its version in
between saying "no torrc found, using reasonable defaults" and
"configuration was valid".
Nick Mathewson [Mon, 11 Nov 2013 15:50:05 +0000 (10:50 -0500)]
Merge remote-tracking branch 'origin/maint-0.2.4'
Nick Mathewson [Mon, 11 Nov 2013 15:49:44 +0000 (10:49 -0500)]
missing changes file for #10124
Nick Mathewson [Sun, 10 Nov 2013 17:24:12 +0000 (12:24 -0500)]
Merge remote-tracking branch 'origin/maint-0.2.4'
Nick Mathewson [Sun, 10 Nov 2013 17:23:56 +0000 (12:23 -0500)]
Fix two more DirServer mentions in log
Nick Mathewson [Sun, 10 Nov 2013 17:22:34 +0000 (12:22 -0500)]
Fix a wide line
Nick Mathewson [Sun, 10 Nov 2013 17:21:23 +0000 (12:21 -0500)]
Change documentation DirServer->DirAuthority
We renamed the option, but we didn't actually fix it in the log
messages or the docs. This patch does that.
For #10124. Patch by sqrt2.
Nick Mathewson [Thu, 7 Nov 2013 19:52:29 +0000 (14:52 -0500)]
Tweak file documentation in tor.1.txt
rl1987 [Sun, 3 Nov 2013 20:27:06 +0000 (22:27 +0200)]
Updating manpage to describe some of the data directory files.
Nick Mathewson [Thu, 7 Nov 2013 19:42:58 +0000 (14:42 -0500)]
Documentation and tests for 10060
rl1987 [Sun, 3 Nov 2013 16:53:41 +0000 (18:53 +0200)]
Implementing --allow-missing-torrc CLI option.
Nick Mathewson [Thu, 7 Nov 2013 17:15:30 +0000 (12:15 -0500)]
Improved circuit queue out-of-memory handler
Previously, when we ran low on memory, we'd close whichever circuits
had the most queued cells. Now, we close those that have the
*oldest* queued cells, on the theory that those are most responsible
for us running low on memory, and that those are the least likely to
actually drain on their own if we wait a little longer.
Based on analysis from a forthcoming paper by Jansen, Tschorsch,
Johnson, and Scheuermann. Fixes bug 9093.
Nick Mathewson [Fri, 1 Nov 2013 14:28:01 +0000 (10:28 -0400)]
Merge branch 'prop221_squashed_024'
Conflicts:
src/or/or.h
Nick Mathewson [Thu, 31 Oct 2013 20:53:31 +0000 (16:53 -0400)]
circuit_build_failed: distinguish "got DESTROY" case
Roger spotted this on tor-dev in his comments on proposal 221.
We etect DESTROY vs everything else, since arma likes network
timeout indicating failure but not overload indicating failure.
Nick Mathewson [Thu, 31 Oct 2013 20:44:14 +0000 (16:44 -0400)]
Implement proposal 221: Stop sending CREATE_FAST
This makes FastFirstHopPK an AUTOBOOL; makes the default "auto"; and
makes the behavior of "auto" be "look at the consensus."
Nick Mathewson [Thu, 31 Oct 2013 20:10:19 +0000 (16:10 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.4'
Nick Mathewson [Thu, 31 Oct 2013 20:09:41 +0000 (16:09 -0400)]
Merge remote-tracking branch 'public/bug9645' into maint-0.2.4
Nick Mathewson [Thu, 31 Oct 2013 18:45:20 +0000 (14:45 -0400)]
Appease make check-spaces
Nick Mathewson [Thu, 31 Oct 2013 18:43:20 +0000 (14:43 -0400)]
Merge remote-tracking branch 'public/bug10063'
Nick Mathewson [Thu, 31 Oct 2013 18:33:34 +0000 (14:33 -0400)]
Add missing includes for circpathbias.h
Nick Mathewson [Thu, 31 Oct 2013 18:10:23 +0000 (14:10 -0400)]
Move other #9731 check to start of its functions
At arma's suggestion. Looks like I missed this one.
Nick Mathewson [Thu, 31 Oct 2013 18:28:49 +0000 (14:28 -0400)]
Make circpathbias and circuitbuild compile.
That was the tricky part
Nick Mathewson [Thu, 31 Oct 2013 18:17:32 +0000 (14:17 -0400)]
Move pathbias functions into a new file.
Does not compile yet. This is the "no code changed" diff.
Nick Mathewson [Thu, 31 Oct 2013 18:10:23 +0000 (14:10 -0400)]
Move #9731 checks to start of their functions
At arma's suggestion.
Nick Mathewson [Thu, 31 Oct 2013 18:09:18 +0000 (14:09 -0400)]
Merge remote-tracking branch 'public/bug9731'
Nick Mathewson [Thu, 31 Oct 2013 18:08:57 +0000 (14:08 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.4'
Do an "ours" merge to not take the 0.2.4 fix for #9731
Nick Mathewson [Thu, 31 Oct 2013 18:08:28 +0000 (14:08 -0400)]
Merge remote-tracking branch 'public/bug9731b' into maint-0.2.4
Nick Mathewson [Thu, 31 Oct 2013 18:03:01 +0000 (14:03 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.4'
Nick Mathewson [Thu, 31 Oct 2013 18:02:28 +0000 (14:02 -0400)]
Merge remote-tracking branch 'public/bug9780_024_v2' into maint-0.2.4
Nick Mathewson [Thu, 31 Oct 2013 17:26:33 +0000 (13:26 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.4'
Nick Mathewson [Thu, 31 Oct 2013 17:14:39 +0000 (13:14 -0400)]
Merge remote-tracking branch 'public/bug6055_v2_024' into maint-0.2.4
Nick Mathewson [Thu, 31 Oct 2013 15:57:50 +0000 (11:57 -0400)]
Only use -Wlogical-op with GCC 4.6 and later
It generates an apparently spurious warning with gcc 4.4 in debian;
we haven't tested 4.5.
Nick Mathewson [Thu, 31 Oct 2013 15:08:21 +0000 (11:08 -0400)]
Mention that tor is client-by-default. From Weasel. Resolves #10057
Nick Mathewson [Thu, 31 Oct 2013 14:55:18 +0000 (10:55 -0400)]
Minor manpage tweaks from weasel; closes #10058
Karsten Loesing [Thu, 31 Oct 2013 08:21:13 +0000 (09:21 +0100)]
Add changelog entry for merged #7359.
Nick Mathewson [Thu, 31 Oct 2013 03:00:52 +0000 (23:00 -0400)]
Add some clarity and checks to cell_queue_append_packed_copy
It's not cool to have "circ may be NULL if use_stats false, but
otherwise we crash" as an undocumented API constraint. :)
Nick Mathewson [Thu, 31 Oct 2013 02:53:05 +0000 (22:53 -0400)]
Merge remote-tracking branch 'karsten/morestats5'
Nick Mathewson [Thu, 31 Oct 2013 02:39:53 +0000 (22:39 -0400)]
Add the -Wlogical-op switch when building with GCC 4.3 or later.
George Kadianakis [Tue, 29 Oct 2013 22:49:37 +0000 (22:49 +0000)]
Fix an always-true assert in PT code.
Nick Mathewson [Tue, 29 Oct 2013 05:29:59 +0000 (01:29 -0400)]
Merge remote-tracking branch 'public/bug5018'
Conflicts:
src/or/entrynodes.c
David Fifield [Sat, 26 Oct 2013 21:37:50 +0000 (14:37 -0700)]
Document that unneeded transports are ignored.
Suggested by Roger in
https://trac.torproject.org/projects/tor/ticket/5018#comment:11.
David Fifield [Sat, 26 Oct 2013 21:34:48 +0000 (14:34 -0700)]
Simplify transport_is_needed.
By Roger at
https://trac.torproject.org/projects/tor/ticket/5018#comment:11.
George Kadianakis [Thu, 28 Feb 2013 16:58:36 +0000 (18:58 +0200)]
Only launch transport proxies that provide useful transports.
Karsten Loesing [Mon, 28 Oct 2013 10:30:49 +0000 (11:30 +0100)]
Merge branch 'morestats4' into morestats5
Conflicts:
doc/tor.1.txt
src/or/config.c
src/or/connection.h
src/or/control.c
src/or/control.h
src/or/or.h
src/or/relay.c
src/or/relay.h
src/test/test.c
Karsten Loesing [Mon, 28 Oct 2013 09:48:18 +0000 (10:48 +0100)]
squash! Pass const uint64_t pointers, document array length.
Don't cast uint64_t * to const uint64_t * explicitly. The cast is always
safe, so C does it for us. Doing the cast explitictly can hide bugs if
the input is secretly the wrong type.
Suggested by Nick.
Roger Dingledine [Fri, 25 Oct 2013 20:56:20 +0000 (16:56 -0400)]
clarify that DisableNetwork closes connections too
Nick Mathewson [Fri, 25 Oct 2013 16:15:31 +0000 (12:15 -0400)]
Merge remote-tracking branch 'public/bug9934_nm'
Nick Mathewson [Fri, 25 Oct 2013 16:07:15 +0000 (12:07 -0400)]
Tweak 5605 changes file
Nick Mathewson [Fri, 25 Oct 2013 16:03:42 +0000 (12:03 -0400)]
Merge remote-tracking branch 'Ryman/bug5605'
Nick Mathewson [Fri, 25 Oct 2013 15:52:02 +0000 (11:52 -0400)]
Log the origin address of controller connections
Resolves 9698; patch from "sigpipe".
Nick Mathewson [Mon, 21 Oct 2013 18:33:52 +0000 (14:33 -0400)]
Make test_cmdline_args.py work with older pythons
I was using the assertIn() function on unit tests, which Python 2.7
introduced. But we'd like to be able to run our unit tests on Pythons
from older operating systems.
Nick Mathewson [Mon, 21 Oct 2013 17:30:38 +0000 (13:30 -0400)]
Better detection for certain broken cross-compiling situations.
Fixes bug 9869; patch from Benedikt Gollatz.
Nick Mathewson [Mon, 21 Oct 2013 17:07:47 +0000 (13:07 -0400)]
Give a better warning when stack protection breaks linking.
Fix for 9948; patch from Benedikt Gollatz.
Nick Mathewson [Mon, 21 Oct 2013 17:02:25 +0000 (13:02 -0400)]
DROPGUARDS controller command
Implements ticket 9934; patch from "ra"
Nick Mathewson [Wed, 16 Oct 2013 15:20:43 +0000 (11:20 -0400)]
Merge remote-tracking branch 'linus/bug9206_option'
Nick Mathewson [Mon, 14 Oct 2013 15:44:20 +0000 (11:44 -0400)]
changes file for bug9651
Nick Mathewson [Mon, 14 Oct 2013 15:43:33 +0000 (11:43 -0400)]
Merge remote-tracking branch 'asn/bug9651'
Roger Dingledine [Sat, 12 Oct 2013 14:48:30 +0000 (10:48 -0400)]
Merge branch 'maint-0.2.4'
Roger Dingledine [Fri, 11 Oct 2013 00:09:16 +0000 (20:09 -0400)]
be willing to bootstrap from all three of our directory guards
Also fix a bug where if the guard we choose first doesn't answer, we
would try the second guard, but once we connected to the second guard
we would abandon it and retry the first one, slowing down bootstrapping.
The fix in both cases is to treat all our initially chosen guards as
acceptable to use.
Fixes bug 9946.
Nick Mathewson [Fri, 11 Oct 2013 17:42:27 +0000 (13:42 -0400)]
Fix out-of-tree "make check-local"
Nick Mathewson [Fri, 11 Oct 2013 17:21:42 +0000 (13:21 -0400)]
When possible, run the ntor python integration tests too
Nick Mathewson [Fri, 11 Oct 2013 17:05:58 +0000 (13:05 -0400)]
When python is available, run the commandline unit tests from "make check"
Nick Mathewson [Fri, 11 Oct 2013 16:51:15 +0000 (12:51 -0400)]
Merge branch 'bug1376'
Nick Mathewson [Fri, 11 Oct 2013 16:51:07 +0000 (12:51 -0400)]
Fix some whitespace; tighten the tests.
Nick Mathewson [Fri, 11 Oct 2013 16:32:59 +0000 (12:32 -0400)]
Make --version, --help, etc incremement quiet level, never decrease it
Fixes other case of #9578
Nick Mathewson [Fri, 11 Oct 2013 15:17:25 +0000 (11:17 -0400)]
Merge remote-tracking branch 'karsten/geoip-manual-update-oct2013'
Nick Mathewson [Fri, 11 Oct 2013 15:17:18 +0000 (11:17 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.4'
Nick Mathewson [Fri, 11 Oct 2013 15:16:59 +0000 (11:16 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.3' into maint-0.2.4
Nick Mathewson [Fri, 11 Oct 2013 15:16:45 +0000 (11:16 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.2' into maint-0.2.3
Karsten Loesing [Fri, 11 Oct 2013 11:36:30 +0000 (13:36 +0200)]
Update to the October 2013 GeoIP database.
Karsten Loesing [Fri, 11 Oct 2013 11:30:39 +0000 (13:30 +0200)]
Modify 1 and delete 1 geoip A1 substitution.
Roger Dingledine [Fri, 11 Oct 2013 01:39:21 +0000 (21:39 -0400)]
Report bootstrapping progress correctly when downloading microdescs
We had updated our "do we have enough microdescs to begin building
circuits?" logic most recently in 0.2.4.10-alpha (see bug 5956), but we
left the bootstrap status event logic at "how far through getting 1/4
of them are we?"
Fixes bug 9958; bugfix on 0.2.2.36, which is where they diverged (see
bug 5343).
Roger Dingledine [Fri, 11 Oct 2013 01:25:01 +0000 (21:25 -0400)]
Merge branch 'maint-0.2.4'
Roger Dingledine [Fri, 11 Oct 2013 01:17:19 +0000 (21:17 -0400)]
rewrite history to improve two changelog entries
Nick Mathewson [Thu, 10 Oct 2013 15:27:28 +0000 (11:27 -0400)]
Merge remote-tracking branch 'sysrqb/bug9950'
Nick Mathewson [Thu, 10 Oct 2013 15:24:16 +0000 (11:24 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.4'
Nick Mathewson [Thu, 10 Oct 2013 15:23:46 +0000 (11:23 -0400)]
Merge branch 'bug9644_024' into maint-0.2.4
Nick Mathewson [Thu, 10 Oct 2013 15:18:17 +0000 (11:18 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.4'
Nick Mathewson [Thu, 10 Oct 2013 15:18:07 +0000 (11:18 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.3' into maint-0.2.4
Nick Mathewson [Thu, 10 Oct 2013 15:15:35 +0000 (11:15 -0400)]
Fix unit test for format_helper_exit_status
Fix format_helper_exit_status to allow full HEX_ERRNO_SIZE answers,
*and* increase the buffer length again.
Nick Mathewson [Thu, 10 Oct 2013 14:55:58 +0000 (10:55 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.4'
Nick Mathewson [Thu, 10 Oct 2013 14:55:24 +0000 (10:55 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.3' into maint-0.2.4
Nick Mathewson [Thu, 10 Oct 2013 14:53:27 +0000 (10:53 -0400)]
Merge remote-tracking branch 'public/bug9928' into maint-0.2.3
Matthew Finkel [Wed, 9 Oct 2013 22:49:46 +0000 (22:49 +0000)]
Free the smartlist after parsing csv config option
Bugfix on
1293835440dd4debf6fbfc66e755d9b9384aa362 , which implemented
6752: Not in any released tor.
Nick Mathewson [Wed, 9 Oct 2013 16:48:18 +0000 (12:48 -0400)]
Or maybe it is 2013. Who can say?
Nick Mathewson [Wed, 9 Oct 2013 16:36:24 +0000 (12:36 -0400)]
Merge remote-tracking branch 'karsten/task-9854-2'
Nick Mathewson [Wed, 9 Oct 2013 16:07:01 +0000 (12:07 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.4'
Use "ours" strategy to avoid taking
73a0bb16b9b750be9a51470ff5
from 0.2.4. We _do_ want to keep torrc.sample.in changes in 0.2.5.
Nick Mathewson [Wed, 9 Oct 2013 16:02:53 +0000 (12:02 -0400)]
Partially revert "Clarify who learns about ContactInfo."
This reverts the torrc.sample.in changes from commit
66a04a6ac334775dc396025e0c15fa49eca138a7 .
We're going to not make this change in 0.2.4, since changing
torrc.sample.in makes all the debian users do some pointless
busywork. see tor-dev discusion of 9 Oct 2013.
Karsten Loesing [Wed, 9 Oct 2013 15:41:05 +0000 (17:41 +0200)]
Update last modified timestamp of torrc.sample.in.
Nick Mathewson [Wed, 9 Oct 2013 13:45:21 +0000 (09:45 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.4'
Nick Mathewson [Wed, 9 Oct 2013 13:43:54 +0000 (09:43 -0400)]
Changes file for 9854
Karsten Loesing [Wed, 9 Oct 2013 10:01:45 +0000 (12:01 +0200)]
Clarify who learns about ContactInfo.
Explicitly include bridges, and note that we archive and publish all
descriptors.
(We are not yet publishing ContactInfo lines contained in bridge
descriptors, but maybe we'll want to do that soon, so let's err on the
side of caution here.)
Related to #9854.
Nick Mathewson [Tue, 8 Oct 2013 20:47:49 +0000 (16:47 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.4'
Nick Mathewson [Tue, 8 Oct 2013 20:46:29 +0000 (16:46 -0400)]
When examining interfaces to find an address, discard non-up ones.
Patch from "hantwister" on trac. Fixes bug #9904; bugfix on
0.2.3.11-alpha.
Nick Mathewson [Thu, 19 Sep 2013 14:40:41 +0000 (10:40 -0400)]
Switch ECDHE group default logic for bridge/relay TLS
According to the manpage, bridges use P256 for conformity and relays
use P224 for speed. But skruffy points out that we've gotten it
backwards in the code.
In this patch, we make the default P256 for everybody.
Fixes bug 9780; bugfix on 0.2.4.8-alpha.
Nick Mathewson [Tue, 8 Oct 2013 20:09:45 +0000 (16:09 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.4'
Using "ours" strategy since we already merged the equivalent of #9866
into this branch.
Nick Mathewson [Mon, 7 Oct 2013 15:32:06 +0000 (11:32 -0400)]
Changes file for 9866