]>
git.ipfire.org Git - thirdparty/tor.git/log
Nick Mathewson [Mon, 18 Nov 2013 16:12:24 +0000 (11:12 -0500)]
Log more OpenSSL engine statuses at startup.
Fixes ticket 10043; patch from Joshua Datko.
Nick Mathewson [Mon, 18 Nov 2013 16:01:31 +0000 (11:01 -0500)]
Merge branch 'backtrace_squashed_merged'
Nick Mathewson [Mon, 18 Nov 2013 16:00:16 +0000 (11:00 -0500)]
Merge branch 'backtrace_squashed'
Conflicts:
src/common/sandbox.c
src/common/sandbox.h
src/common/util.c
src/or/main.c
src/test/include.am
src/test/test.c
Nick Mathewson [Mon, 18 Nov 2013 15:48:08 +0000 (10:48 -0500)]
Improve backtrace changes file
Nick Mathewson [Fri, 18 Oct 2013 17:37:23 +0000 (10:37 -0700)]
Refactor format_*_number_sigsafe to have a common implementation
Nick Mathewson [Thu, 15 Aug 2013 16:45:46 +0000 (12:45 -0400)]
Reseolve DOCDOC and XXXXs in backtrace.c
Nick Mathewson [Tue, 30 Jul 2013 01:56:31 +0000 (21:56 -0400)]
Tests for backtrace.c
These need to be a separate executable, since the point of backtrace.c
is that it can crash and write stuff.
Nick Mathewson [Mon, 29 Jul 2013 17:30:49 +0000 (13:30 -0400)]
Unit tests for new functions in log.c
Nick Mathewson [Fri, 26 Jul 2013 11:22:56 +0000 (13:22 +0200)]
Make backtrace handler handle signals correctly.
This meant moving a fair bit of code around, and writing a signal
cleanup function. Still pretty nice from what I can tell, though.
Nick Mathewson [Fri, 26 Jul 2013 10:46:17 +0000 (12:46 +0200)]
Use pc_from_ucontext.m4 from Google Performance Tools
This M4 module lets us learn the right way (out of at least 18
possibilities) to extract the current PC for stack-trace-fixup-in-signal
purposes. The Google Performance Tools license is 3-clause BSD.
Nick Mathewson [Thu, 25 Jul 2013 10:12:35 +0000 (12:12 +0200)]
Improve new assertion message logging
Don't report that a failure happened in the assertion_failed function just
because we logged it from there.
Nick Mathewson [Sat, 20 Jul 2013 02:47:49 +0000 (22:47 -0400)]
Add a sighandler-safe logging mechanism
We had accidentially grown two fake ones: one for backtrace.c, and one
for sandbox.c. Let's do this properly instead.
Now, when we configure logs, we keep track of fds that should get told
about bad stuff happening from signal handlers. There's another entry
point for these that avoids using non-signal-handler-safe functions.
Nick Mathewson [Fri, 19 Jul 2013 18:18:43 +0000 (14:18 -0400)]
On Linux (and some other systems) we need -rdynamic for backtraces
Nick Mathewson [Fri, 19 Jul 2013 18:09:58 +0000 (14:09 -0400)]
Basic backtrace ability
On platforms with the backtrace/backtrace_symbols_fd interface, Tor
can now dump stack traces on assertion failure. By default, I log
them to DataDir/stack_dump and to stderr.
Roger Dingledine [Sun, 17 Nov 2013 04:02:26 +0000 (23:02 -0500)]
forward-port the 0.2.4.18-rc changelog
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