]>
git.ipfire.org Git - thirdparty/tor.git/log
Nick Mathewson [Thu, 10 Apr 2014 19:51:18 +0000 (15:51 -0400)]
changes file for 11465
Nick Mathewson [Thu, 10 Apr 2014 19:44:52 +0000 (15:44 -0400)]
Log a backtrace when the sandbox finds a failure
This involves some duplicate code between backtrace.c and sandbox.c,
but I don't see a way around it: calling more functions would mean
adding more steps to our call stack, and running clean_backtrace()
against the wrong point on the stack.
Nick Mathewson [Thu, 10 Apr 2014 19:08:28 +0000 (15:08 -0400)]
Make the sandbox code allow the writev() syscall.
Tor doesn't use it directly, but the glibc backtrace-to-fd code does
Nick Mathewson [Wed, 9 Apr 2014 15:34:00 +0000 (11:34 -0400)]
Demote "we stalled too much while trying to write" message to INFO
Resolves ticket 5286.
Nick Mathewson [Wed, 9 Apr 2014 13:20:25 +0000 (09:20 -0400)]
Fix a dumb C bug in the unit tests for 9841
Fixes bug 11460; bug only affects unit tests and is not in any
released version of Tor.
Nick Mathewson [Wed, 9 Apr 2014 12:29:21 +0000 (08:29 -0400)]
Merge remote-tracking branch 'public/bug10431'
Roger Dingledine [Wed, 9 Apr 2014 05:01:52 +0000 (01:01 -0400)]
note a missing word
Nick Mathewson [Wed, 9 Apr 2014 00:55:25 +0000 (20:55 -0400)]
Move and combine some 0.2.5.4-alpha changelog sections.
Nick Mathewson [Wed, 9 Apr 2014 00:48:25 +0000 (20:48 -0400)]
Oops, actually add the changelog entries, lightly categorized
Nick Mathewson [Wed, 9 Apr 2014 00:43:21 +0000 (20:43 -0400)]
Merge remote-tracking branch 'public/update_ciphers_ff28'
Nick Mathewson [Wed, 9 Apr 2014 00:34:23 +0000 (20:34 -0400)]
Start work on the changelog for 0.2.5.4-alpha
This commit does nothing other than pull the changes/* files into
ChangeLog, sorted by declared type. I haven't comined any entries or
vetted anything yet.
Nick Mathewson [Wed, 9 Apr 2014 00:30:30 +0000 (20:30 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.4'
Nick Mathewson [Wed, 9 Apr 2014 00:29:24 +0000 (20:29 -0400)]
Merge remote-tracking branch 'public/bug11437_024' into maint-0.2.4
Nick Mathewson [Tue, 8 Apr 2014 20:46:34 +0000 (16:46 -0400)]
Merge remote-tracking branch 'public/bug11426'
Nick Mathewson [Tue, 8 Apr 2014 19:37:15 +0000 (15:37 -0400)]
Merge branch 'bug2454_025_squashed'
Matthew Finkel [Tue, 1 Apr 2014 21:30:20 +0000 (17:30 -0400)]
Check for new IP addr after circuit liveliness returns
When we successfully create a usable circuit after it previously
timed out for a certain amount of time, we should make sure that
our public IP address hasn't changed and update our descriptor.
Nick Mathewson [Tue, 8 Apr 2014 18:14:12 +0000 (14:14 -0400)]
Move existing policy tests from test.c to new test_policy.c
Nick Mathewson [Tue, 8 Apr 2014 18:10:59 +0000 (14:10 -0400)]
Remove unused extern decl for a nonexistent test suite
Nick Mathewson [Tue, 8 Apr 2014 17:55:02 +0000 (13:55 -0400)]
Merge branch 'bug7952_final'
Conflicts:
src/test/include.am
src/test/test.c
rl1987 [Fri, 23 Aug 2013 18:06:42 +0000 (21:06 +0300)]
Making entire exit policy available to Tor controller.
Nick Mathewson [Tue, 8 Apr 2014 16:41:03 +0000 (12:41 -0400)]
Merge remote-tracking branch 'public/bug4241'
Nick Mathewson [Tue, 8 Apr 2014 16:06:03 +0000 (12:06 -0400)]
Merge remote-tracking branch 'public/bug9841_025'
Nick Mathewson [Tue, 8 Apr 2014 15:31:48 +0000 (11:31 -0400)]
Update ciphers.inc to match ff28
The major changes are to re-order some ciphers, to drop the ECDH suites
(note: *not* ECDHE: ECDHE is still there), to kill off some made-up
stuff (like the SSL_RSA_FIPS_WITH_3DES_EDE_CBC_SHA suite), to drop
some of the DSS suites... *and* to enable the ECDHE+GCM ciphersuites.
This change is autogenerated by get_mozilla_ciphers.py from
Firefox 28 and OpenSSL 1.0.1g.
Resolves ticket 11438.
Nick Mathewson [Tue, 8 Apr 2014 07:19:38 +0000 (03:19 -0400)]
Teach the get_mozilla_ciphers.py script to parse recent firefoxen
Nick Mathewson [Tue, 8 Apr 2014 03:29:47 +0000 (23:29 -0400)]
Fix a small memory leak when resolving PTR addresses
Fixes bug 11437; bugfix on 0.2.4.7-alpha.
Found by coverity; this is CID
1198198 .
Nick Mathewson [Tue, 8 Apr 2014 03:20:13 +0000 (23:20 -0400)]
Fix some harmless/untriggerable memory leaks found by coverity
Nick Mathewson [Tue, 8 Apr 2014 03:03:04 +0000 (23:03 -0400)]
Merge remote-tracking branch 'public/bug10363_024_squashed'
Nick Mathewson [Wed, 11 Dec 2013 20:15:21 +0000 (15:15 -0500)]
Another 10363 instance -- this one in the eventdns.c code
Nick Mathewson [Wed, 11 Dec 2013 20:14:43 +0000 (15:14 -0500)]
Another 10363 instance: this one in tor_memmem fallback code
Nick Mathewson [Wed, 11 Dec 2013 19:45:48 +0000 (14:45 -0500)]
Fix undefined behavior with pointer addition in channeltls.c
In C, it's a bad idea to do this:
char *cp = array;
char *end = array + array_len;
/* .... */
if (cp + 3 >= end) { /* out of bounds */ }
because cp+3 might be more than one off the end of the array, and
you are only allowed to construct pointers to the array elements,
and to an element one past the end. Instead you have to say
if (cp - array + 3 >= array_len) { /* ... */ }
or something like that.
This patch fixes two of these: one in process_versions_cell
introduced in 0.2.0.10-alpha, and one in process_certs_cell
introduced in 0.2.3.6-alpha. These are both tracked under bug
10363. "bobnomnom" found and reported both. See also 10313.
In our code, this is likely to be a problem as we used it only if we
get a nasty allocator that makes allocations end close to (void*)-1.
But it's best not to have to worry about such things at all, so
let's just fix all of these we can find.
Nick Mathewson [Tue, 8 Apr 2014 02:20:13 +0000 (22:20 -0400)]
Merge branch 'bug9665_redux'
Nick Mathewson [Tue, 8 Apr 2014 02:19:56 +0000 (22:19 -0400)]
Changes file for bug9665
Nick Mathewson [Mon, 7 Apr 2014 17:44:22 +0000 (13:44 -0400)]
For missing transport, say "PT_MISSING" not "NO_ROUTE"
Nick Mathewson [Mon, 7 Apr 2014 17:41:07 +0000 (13:41 -0400)]
Forward-port bug9665 fix to work with our fix for 11069
Fábio J. Bertinatto [Tue, 5 Nov 2013 02:50:16 +0000 (00:50 -0200)]
Fix bug9665
Nick Mathewson [Mon, 7 Apr 2014 17:07:14 +0000 (13:07 -0400)]
Make csiphash use the proper endian-converter on solaris
fixes bug 11426; bugfix on 0.2.5.3-alpha, where csiphash was
introduced.
Nick Mathewson [Sat, 5 Apr 2014 18:53:48 +0000 (14:53 -0400)]
Merge remote-tracking branch 'public/bug9650'
Nick Mathewson [Sat, 5 Apr 2014 18:50:57 +0000 (14:50 -0400)]
Merge remote-tracking branch 'public/bug10801_024'
Conflicts:
src/common/address.c
src/or/config.c
Nick Mathewson [Sat, 5 Apr 2014 18:41:37 +0000 (14:41 -0400)]
Make tor_addr_port_parse handle portless IPv6 addresses correctly.
(Not a bugfix on any Tor release; before 10801_024, it didn't handle
portless addresses at all.)
Nick Mathewson [Sat, 5 Apr 2014 18:18:39 +0000 (14:18 -0400)]
Add a test for default/port conflicts in tor_addr_port_parse
Nick Mathewson [Fri, 4 Apr 2014 16:17:16 +0000 (12:17 -0400)]
Protocol_Warn when a rendezvous cookie is used twice.
Nick Mathewson [Fri, 4 Apr 2014 16:06:54 +0000 (12:06 -0400)]
Test for circuit_set_rend_token(.,.,NULL)
Nick Mathewson [Fri, 4 Apr 2014 16:05:51 +0000 (12:05 -0400)]
Merge remote-tracking branch 'public/bug9841_024_v2' into bug9841_025
Nick Mathewson [Fri, 4 Apr 2014 16:01:49 +0000 (12:01 -0400)]
Fix to 9841 fix: setting a token to NULL should clear it
Found by testing with chutney. The old behavior was "fail an
assertion", which obviously isn't optimal.
Bugfix on
8b9a2cb68b290e550695124d7ef0511225b451d5 ; bug not in any
released version.
Nick Mathewson [Thu, 3 Apr 2014 01:11:45 +0000 (21:11 -0400)]
Fix make_socket_reusable() on windows. Bug not in any released Tor
Nick Mathewson [Wed, 2 Apr 2014 19:45:20 +0000 (15:45 -0400)]
Merge remote-tracking branch 'public/bug10081'
Nick Mathewson [Wed, 2 Apr 2014 17:38:50 +0000 (13:38 -0400)]
Unit tests for connection_edge_process_resolved_cell
Also rename a function to be more accurate (resolve->resolved)
Nick Mathewson [Wed, 2 Apr 2014 15:49:18 +0000 (11:49 -0400)]
Tests for resolved_cell_parse
Nick Mathewson [Fri, 28 Mar 2014 02:24:48 +0000 (22:24 -0400)]
Look at all of a RESOLVED cell; not just the first answer.
Also, stop accepting the old kind of RESOLVED cells with no TTL
fields; they haven't been sent since 0.1.1.6-alpha.
This patch won't work without the fix to #10468 -- it will break
DNSPorts unless they set the proper ipv4/6 flags on entry_connection_t.
Nick Mathewson [Wed, 2 Apr 2014 19:36:13 +0000 (15:36 -0400)]
Drop MAX_REND_FAILURES to 8
Nick Mathewson [Thu, 27 Mar 2014 23:58:06 +0000 (19:58 -0400)]
Extract code to handle RESOLVED cells
No other changes have been made; only code has been moved.
Nick Mathewson [Wed, 2 Apr 2014 01:56:49 +0000 (21:56 -0400)]
Merge remote-tracking branch 'public/bug11278'
Nick Mathewson [Wed, 2 Apr 2014 01:50:55 +0000 (21:50 -0400)]
Merge remote-tracking branch 'public/bug10468_024'
Nick Mathewson [Wed, 2 Apr 2014 01:49:01 +0000 (21:49 -0400)]
Merge remote-tracking branch 'public/bug4645'
Conflicts:
src/or/dirserv.c
Nick Mathewson [Wed, 2 Apr 2014 01:10:14 +0000 (21:10 -0400)]
Add one more missing heck on bug4645 fixes
Nick Mathewson [Wed, 2 Apr 2014 01:00:30 +0000 (21:00 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.4'
Nick Mathewson [Wed, 2 Apr 2014 00:59:13 +0000 (20:59 -0400)]
Merge branch 'bug9213_doc_024' into maint-0.2.4
Nick Mathewson [Thu, 27 Mar 2014 18:58:46 +0000 (14:58 -0400)]
Fix documentation of torrc search order
We are searching @CONFDIR@ before $HOME, but the documentation
implied otherwise.
I screwed this up in
f5e86bcd6c06d43ff3af5acd8135bd8b577bc3 , when I
first documented the $HOME/.torrc possibility.
Fix for bug 9213; bugfix on 0.2.3.18-rc.
Nick Mathewson [Wed, 2 Apr 2014 00:48:15 +0000 (20:48 -0400)]
Merge remote-tracking branch 'public/bug9870'
Conflicts:
src/or/config.c
Nick Mathewson [Tue, 1 Apr 2014 13:39:48 +0000 (09:39 -0400)]
Merge remote-tracking branch 'public/bug11232'
Nick Mathewson [Mon, 31 Mar 2014 15:57:56 +0000 (11:57 -0400)]
Merge branch 'bug8787_squashed'
Nick Mathewson [Mon, 31 Mar 2014 15:57:40 +0000 (11:57 -0400)]
changes file for bug8787
Nick Mathewson [Mon, 31 Mar 2014 15:43:11 +0000 (11:43 -0400)]
Munmap the right pointers in routerlist_free()
Nick Mathewson [Mon, 31 Mar 2014 15:42:49 +0000 (11:42 -0400)]
NULL out all mappings after tor_munmap_file()
Nick Mathewson [Mon, 31 Mar 2014 15:40:00 +0000 (11:40 -0400)]
Check return values for tor_munmap_file() in unit tests
Nick Mathewson [Mon, 31 Mar 2014 15:35:39 +0000 (11:35 -0400)]
Handle tor_munmap_file(NULL) consistently
Andrea Shepard [Wed, 19 Mar 2014 18:22:11 +0000 (11:22 -0700)]
Check strftime() return in tortls.c
Andrea Shepard [Wed, 19 Mar 2014 18:17:55 +0000 (11:17 -0700)]
Eliminate lseek() with unchecked return in tor_mmap_file()
Andrea Shepard [Wed, 19 Mar 2014 00:52:31 +0000 (17:52 -0700)]
Always check returns from unlink()
Andrea Shepard [Tue, 18 Mar 2014 19:39:02 +0000 (12:39 -0700)]
Always check returns from tor_munmap_file() in microdesc.c
Andrea Shepard [Tue, 18 Mar 2014 18:04:20 +0000 (11:04 -0700)]
Always check returns from tor_munmap_file() in routerlist.c
Andrea Shepard [Tue, 18 Mar 2014 17:47:17 +0000 (10:47 -0700)]
Add return value and assert for null parameter to tor_munmap_file()
Nick Mathewson [Mon, 31 Mar 2014 14:52:09 +0000 (10:52 -0400)]
Merge remote-tracking branch 'public/build_torrify_manpage_again'
Nick Mathewson [Mon, 31 Mar 2014 14:51:09 +0000 (10:51 -0400)]
Merge remote-tracking branch 'public/bug11342'
Nick Mathewson [Mon, 31 Mar 2014 14:07:42 +0000 (10:07 -0400)]
Fix a clang compilation warning
Subtracting two time_t values was yielding something that maybe
can't be fit in an int.
Bugfix on
0389d4aa ; bug not in any released Tor.
Nick Mathewson [Fri, 28 Mar 2014 03:53:03 +0000 (23:53 -0400)]
Make dump_desc() use binary mode
Otherwise, it could mung the thing that came over the net on windows,
which would defeat the purpose of recording the unparseable thing.
Fixes bug 11342; bugfix on 0.2.2.1-alpha.
Nick Mathewson [Fri, 28 Mar 2014 03:00:28 +0000 (23:00 -0400)]
Merge branch 'bug9658_refactor'
Nick Mathewson [Fri, 28 Mar 2014 02:57:53 +0000 (22:57 -0400)]
Renamed "onionskins_completed" to "onionskins_assigned"
This improves the accuracy of the function/variable names.
Nick Mathewson [Thu, 27 Mar 2014 21:41:43 +0000 (17:41 -0400)]
Respond to AAAA requests on DNSPort with AAAA automaps
Other DNS+IPv6 problems remain, but at least this fixes the
automapping.
Fixes bug 10468; bugfix on 0.2.4.7-alpha.
Nick Mathewson [Thu, 27 Mar 2014 21:11:53 +0000 (17:11 -0400)]
check outputs from get_first_listener_addrport_string
Fix for 9650; bugfix for 0.2.3.16-alpha.
Nick Mathewson [Thu, 27 Mar 2014 19:58:43 +0000 (15:58 -0400)]
Report only the first bootstrap failure from an orconn
Otherwise, when we report "identity mismatch", we then later report
DONE when the connection gets closed.
Fixes bug 10431; bugfix on 0.2.1.1-alpha.
Nick Mathewson [Thu, 27 Mar 2014 19:35:11 +0000 (15:35 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.4'
Nick Mathewson [Thu, 27 Mar 2014 19:34:57 +0000 (15:34 -0400)]
whitespace fix
Nick Mathewson [Thu, 27 Mar 2014 19:31:29 +0000 (15:31 -0400)]
Don't do a DNS lookup on a bridge line address
Fixes bug 10801; bugfix on
07bf274d in 0.2.0.1-alpha.
Nick Mathewson [Thu, 27 Mar 2014 18:26:21 +0000 (14:26 -0400)]
Merge branch 'bug7164_diagnose_harder_v2'
Nick Mathewson [Mon, 17 Mar 2014 18:15:12 +0000 (14:15 -0400)]
More logs to try to diagnose bug 7164
This time, check in microdesc_cache_clean() to see what could be
going wrong with an attempt to clean a microdesc that's held by a node.
Nick Mathewson [Thu, 27 Mar 2014 17:55:18 +0000 (13:55 -0400)]
Don't warn when setsockopt(SO_REUSEABLE) on accept()ed socket says EINVAL
This should fix bug10081. I believe this bug pertains to OSX
behavior, not any Tor behavior change.
Nick Mathewson [Wed, 26 Mar 2014 18:10:07 +0000 (14:10 -0400)]
Fix version number in changes/bug11296
Nick Mathewson [Wed, 26 Mar 2014 16:11:38 +0000 (12:11 -0400)]
Fix build of torify.1
The build was broken by changes in
f8c45339f72525c68 , but we didn't
notice, since that commit also made torify.1 only get built when
tor-fw-helper was turned on.
Fixes bug 11321; bugfix on Tor 0.2.5.1-alpha.
Nick Mathewson [Wed, 26 Mar 2014 15:46:51 +0000 (11:46 -0400)]
Merge remote-tracking branch 'public/bug11296'
Nick Mathewson [Wed, 26 Mar 2014 14:31:56 +0000 (10:31 -0400)]
Turn off testing code for #9683.
(This wasn't supposed to get committed turned-on.)
Nick Mathewson [Tue, 25 Mar 2014 15:55:27 +0000 (11:55 -0400)]
Demote "Invalid length on ESTABLISH_RENDEZVOUS" to protocol_warn
Fixes bug 11279
Nick Mathewson [Tue, 25 Mar 2014 15:16:18 +0000 (11:16 -0400)]
Fix warnings from doxygen
Most of these are simple. The only nontrivial part is that our
pattern for using ENUM_BF was confusing doxygen by making declarations
that didn't look like declarations.
Nick Mathewson [Tue, 25 Mar 2014 15:01:09 +0000 (11:01 -0400)]
Make the redox script sorta work again.
Nick Mathewson [Tue, 25 Mar 2014 14:21:07 +0000 (10:21 -0400)]
Add missing -Isrc/ext to tor-fw-helper/include.am
We need this now that tor-fw-helper will pull in siphash.h
Fixes bug 11296; bugfix on 0.2.5.4-alpha where siphash.h was introduced.
Nick Mathewson [Tue, 25 Mar 2014 14:14:26 +0000 (10:14 -0400)]
Free placeholder circid/chan->circuit map entries on exit
In circuitlist_free_all, we free all the circuits, removing them from
the map as we go, but we weren't actually freeing the placeholder
entries that we use to indicate pending DESTROY cells.
Fix for bug 11278; bugfix on the 7912 code that was merged in
0.2.5.1-alpha
Nick Mathewson [Tue, 25 Mar 2014 14:02:22 +0000 (10:02 -0400)]
Merge remote-tracking branch 'public/bug11061_024'
Nick Mathewson [Tue, 25 Mar 2014 13:59:19 +0000 (09:59 -0400)]
Fix SOCKSPort documentation layout
In the end this required a slightly nasty hack using a dummy anchor as
an option heading in order to make the "Other recognized __flags__"
line indent properly.
Fixes bug 11061; Bugfix on
61d740ed .
Roger Dingledine [Mon, 24 Mar 2014 06:31:13 +0000 (02:31 -0400)]
quiet the debug message in circuit_build_times_disabled()
something recently made it get called once per second, which will clutter
up your debug log file.
Nick Mathewson [Sun, 23 Mar 2014 19:59:51 +0000 (15:59 -0400)]
Changes file for bug 11276.
The crypto_early_init() function could only be called at most twice,
and both of those were during startup. AFAICT leaking the first set
of locks was the only non-idempotent thing.