]>
git.ipfire.org Git - thirdparty/tor.git/log
Nick Mathewson [Mon, 14 Mar 2016 16:53:21 +0000 (12:53 -0400)]
Add comments to connection_check_event().
Nick Mathewson [Fri, 11 Mar 2016 15:50:36 +0000 (10:50 -0500)]
Change behavior on missing/present event to warn instead of asserting.
Add a changes file.
Nick Mathewson [Fri, 11 Mar 2016 15:33:19 +0000 (10:33 -0500)]
If we start/stop reading on a dnsserv connection, don't assert.
Fixes bug 16248. Patch from cypherpunks. Bugfix on 0.2.0.1-alpha.
Nick Mathewson [Wed, 9 Mar 2016 15:36:50 +0000 (10:36 -0500)]
Merge branch 'maint-0.2.6' into maint-0.2.7
Nick Mathewson [Wed, 9 Mar 2016 15:36:35 +0000 (10:36 -0500)]
Merge branch 'maint-0.2.5' into maint-0.2.6
Nick Mathewson [Wed, 9 Mar 2016 15:36:20 +0000 (10:36 -0500)]
Merge branch 'maint-0.2.4' into maint-0.2.5
Karsten Loesing [Fri, 4 Mar 2016 09:56:51 +0000 (10:56 +0100)]
Update geoip and geoip6 to the March 3 2016 database.
Nick Mathewson [Mon, 22 Feb 2016 19:07:58 +0000 (14:07 -0500)]
Make clang asan work with FORTIFIED_SOURCE again.
Short version: clang asan hates the glibc strcmp macro in
bits/string2.h if you are passing it a constant string argument of
length two or less. (I could be off by one here, but that's the
basic idea.)
Closes issue 14821.
Nick Mathewson [Thu, 11 Feb 2016 18:01:46 +0000 (13:01 -0500)]
Merge branch 'maint-0.2.6' into maint-0.2.7
Nick Mathewson [Thu, 11 Feb 2016 17:57:28 +0000 (12:57 -0500)]
Merge branch 'maint-0.2.5' into maint-0.2.6
Nick Mathewson [Thu, 11 Feb 2016 17:55:40 +0000 (12:55 -0500)]
Merge branch 'maint-0.2.4' into maint-0.2.5
Nick Mathewson [Thu, 11 Feb 2016 17:55:25 +0000 (12:55 -0500)]
Merge branch 'bug18162_024' into maint-0.2.4
Nick Mathewson [Thu, 11 Feb 2016 17:54:52 +0000 (12:54 -0500)]
Make ensure_capacity a bit more pedantically correct
Issues noted by cypherpunks on #18162
Nick Mathewson [Fri, 5 Feb 2016 13:13:35 +0000 (08:13 -0500)]
Merge branch 'maint-0.2.6' into maint-0.2.7
Nick Mathewson [Fri, 5 Feb 2016 13:13:24 +0000 (08:13 -0500)]
Merge branch 'maint-0.2.5' into maint-0.2.6
Nick Mathewson [Fri, 5 Feb 2016 13:13:13 +0000 (08:13 -0500)]
Merge branch 'maint-0.2.4' into maint-0.2.5
Karsten Loesing [Thu, 4 Feb 2016 07:53:24 +0000 (08:53 +0100)]
Update geoip and geoip6 to the February 2 2016 database.
Nick Mathewson [Mon, 1 Feb 2016 14:38:31 +0000 (09:38 -0500)]
Try to fix address tests on FreeBSD
In jails, there is not always a localhost.
Bugfix not on any released Tor.
Nick Mathewson [Thu, 28 Jan 2016 16:52:48 +0000 (11:52 -0500)]
Try to fix formatting in manpage
Nick Mathewson [Thu, 28 Jan 2016 15:19:29 +0000 (10:19 -0500)]
Add descriptions for --keygen to the manpage
Based on text from s7r
Nick Mathewson [Wed, 27 Jan 2016 17:26:02 +0000 (12:26 -0500)]
avoid integer overflow in and around smartlist_ensure_capacity.
This closes bug 18162; bugfix on
a45b1315909c9 , which fixed a related
issue long ago.
In addition to the #18162 issues, this fixes a signed integer overflow
in smarltist_add_all(), which is probably not so great either.
Nick Mathewson [Tue, 19 Jan 2016 13:30:39 +0000 (08:30 -0500)]
Merge branch 'maint-0.2.6' into maint-0.2.7
Nick Mathewson [Tue, 19 Jan 2016 13:28:58 +0000 (08:28 -0500)]
Refine the memwipe() arguments check for 18089 a little more.
We still silently ignore
memwipe(NULL, ch, 0);
and
memwipe(ptr, ch, 0); /* for ptr != NULL */
But we now assert on:
memwipe(NULL, ch, 30);
Nick Mathewson [Tue, 19 Jan 2016 01:00:16 +0000 (20:00 -0500)]
Merge branch 'maint-0.2.6' into maint-0.2.7
teor (Tim Wilson-Brown) [Tue, 19 Jan 2016 00:22:58 +0000 (11:22 +1100)]
Make memwipe() do nothing when passed a NULL pointer or zero size
Check size argument to memwipe() for underflow.
Closes bug #18089. Reported by "gk", patch by "teor".
Bugfix on 0.2.3.25 and 0.2.4.6-alpha (#7352),
commit
49dd5ef3 on 7 Nov 2012.
Nick Mathewson [Tue, 19 Jan 2016 00:51:57 +0000 (19:51 -0500)]
Merge remote-tracking branch 'teor/bug18050' into maint-0.2.7
teor (Tim Wilson-Brown) [Mon, 18 Jan 2016 03:00:29 +0000 (14:00 +1100)]
Check ORPort and DirPort reachability before publishing a relay descriptor
Otherwise, relays publish a descriptor with DirPort 0 when the DirPort
reachability test takes longer than the ORPort reachability test.
Closes bug #18050. Reported by "starlight", patch by "teor".
Bugfix on 0.1.0.1-rc, commit
a1f1fa6ab on 27 Feb 2005.
Nick Mathewson [Thu, 7 Jan 2016 17:43:12 +0000 (09:43 -0800)]
Merge branch 'maint-0.2.6' into maint-0.2.7
Conflicts:
src/or/config.c
Nick Mathewson [Thu, 7 Jan 2016 17:41:36 +0000 (09:41 -0800)]
Merge branch 'maint-0.2.5' into maint-0.2.6
Nick Mathewson [Thu, 7 Jan 2016 17:40:23 +0000 (09:40 -0800)]
Merge branch 'maint-0.2.4' into maint-0.2.5
Conflicts:
src/or/config.c
teor (Tim Wilson-Brown) [Sun, 20 Dec 2015 23:40:10 +0000 (10:40 +1100)]
Update dannenberg's V3 authority identity fingerprint
This new identity key was changed on 18 November 2015.
Nick Mathewson [Thu, 7 Jan 2016 17:14:15 +0000 (09:14 -0800)]
Merge branch 'maint-0.2.6' into maint-0.2.7
Nick Mathewson [Thu, 7 Jan 2016 17:14:05 +0000 (09:14 -0800)]
Merge branch 'maint-0.2.5' into maint-0.2.6
Nick Mathewson [Thu, 7 Jan 2016 17:13:54 +0000 (09:13 -0800)]
Merge branch 'maint-0.2.4' into maint-0.2.5
Karsten Loesing [Thu, 7 Jan 2016 10:10:37 +0000 (11:10 +0100)]
Update geoip and geoip6 to the January 5 2016 database.
Nick Mathewson [Wed, 23 Dec 2015 01:37:02 +0000 (20:37 -0500)]
Remove extraneous #endif in configure.ac
This will fix the detection of struct in6_addr.s6_addr32 and others
Found and fixed by cypherpunks; bug 17923; bugfix on
f948caad7b5bd
Nick Mathewson [Thu, 17 Dec 2015 19:56:24 +0000 (14:56 -0500)]
Add some more
ed25519 key files to the seccomp sandbox list
Fixes bug 17675; bugfix on 0.2.7.3-alpha.
Nick Mathewson [Wed, 16 Dec 2015 14:23:44 +0000 (09:23 -0500)]
Don't call pthread_condattr_setclock() unless it exists
Fixes bug 17819; bugfix on 0.2.6.3-alpha (specifically,
d684dbb0 ).
Nick Mathewson [Wed, 16 Dec 2015 14:05:49 +0000 (09:05 -0500)]
... and fix another backtrace_symbols_fd call in sandbox.c
Nick Mathewson [Wed, 16 Dec 2015 13:20:53 +0000 (08:20 -0500)]
... and fix the linux backtrace_symbols{,_fd} calls
cypherpunks [Tue, 15 Dec 2015 15:30:04 +0000 (16:30 +0100)]
Fix backtrace compilation on FreeBSD
On FreeBSD backtrace(3) uses size_t instead of int (as glibc does). This
causes integer precision loss errors when we used int to store its
results.
The issue is fixed by using size_t to store the results of backtrace(3).
The manual page of glibc does not mention that backtrace(3) returns
negative values. Therefore, no unsigned integer wrapping occurs when its
result is stored in an unsigned data type.
cypherpunks [Mon, 14 Dec 2015 20:03:10 +0000 (21:03 +0100)]
Use TESTS_ENVIRONMENT for older Automake versions
The AM_TESTS_ENVIRONMENT variable is available since Automake v1.12 but
some distributions have older Automake versions so we use
TESTS_ENVIRONMENT.
cypherpunks [Fri, 11 Dec 2015 23:06:41 +0000 (00:06 +0100)]
Add changes file for 17818
cypherpunks [Fri, 11 Dec 2015 22:51:17 +0000 (23:51 +0100)]
Use variables instead of substitutions
Using variables removes the ambiguity about when to use variables and
when to use substitutions. Variables always work. Substitutions only
work when Autoconf knows about them which is not always the case.
The variables are also placed between quotes to ensures spaces in the
variables are handled properly.
cypherpunks [Fri, 25 Sep 2015 14:39:11 +0000 (16:39 +0200)]
Only setup environment variables for tests
Using the AM_TESTS_ENVIRONMENT variable ensures the environment
variables are only set during test execution and not during the
compilation phase.
Nick Mathewson [Thu, 10 Dec 2015 19:24:55 +0000 (14:24 -0500)]
bump to 0.2.7.6-dev
Nick Mathewson [Thu, 10 Dec 2015 15:04:59 +0000 (10:04 -0500)]
bump maint version to 0.2.7.6
Nick Mathewson [Tue, 8 Dec 2015 15:23:41 +0000 (10:23 -0500)]
Merge branch 'maint-0.2.6' into maint-0.2.7
Nick Mathewson [Tue, 8 Dec 2015 15:20:21 +0000 (10:20 -0500)]
Merge branch 'maint-0.2.5' into maint-0.2.6
Nick Mathewson [Tue, 8 Dec 2015 15:20:14 +0000 (10:20 -0500)]
Merge branch 'maint-0.2.4' into maint-0.2.5
Nick Mathewson [Tue, 8 Dec 2015 15:18:31 +0000 (10:18 -0500)]
Merge branch 'bug17772_024' into maint-0.2.4
Arlo Breault [Tue, 8 Dec 2015 04:28:26 +0000 (20:28 -0800)]
Ensure node is a guard candidate when picking a directory guard
Nick Mathewson [Tue, 8 Dec 2015 14:43:42 +0000 (09:43 -0500)]
Merge branch 'maint-0.2.6' into maint-0.2.7
Nick Mathewson [Tue, 8 Dec 2015 14:43:25 +0000 (09:43 -0500)]
Merge branch 'maint-0.2.5' into maint-0.2.6
Nick Mathewson [Tue, 8 Dec 2015 14:38:48 +0000 (09:38 -0500)]
Merge branch 'maint-0.2.4' into maint-0.2.5
Nick Mathewson [Tue, 8 Dec 2015 14:37:05 +0000 (09:37 -0500)]
Fix a compilation warning introduced by clang 3.6
There was a dead check when we made sure that an array member of a
struct was non-NULL. Tor has been doing this check since at least
0.2.3, maybe earlier.
Fixes bug 17781.
Nick Mathewson [Tue, 8 Dec 2015 13:42:52 +0000 (08:42 -0500)]
Format IPv6 policies correctly.
Previously we'd suppressed the mask-bits field in the output when
formatting a policy if it was >=32. But that should be a >=128 if
we're talking about IPv6.
Since we didn't put these in descriptors, this bug affects only log
messages and controller outputs.
Fix for bug 16056. The code in question was new in 0.2.0, but the
bug was introduced in 0.2.4 when we started supporting IPv6 exits.
Nick Mathewson [Mon, 7 Dec 2015 15:11:21 +0000 (10:11 -0500)]
Merge branch 'maint-0.2.6' into maint-0.2.7
Nick Mathewson [Mon, 7 Dec 2015 15:10:44 +0000 (10:10 -0500)]
Merge branch 'maint-0.2.5' into maint-0.2.6
Nick Mathewson [Mon, 7 Dec 2015 15:10:21 +0000 (10:10 -0500)]
Merge branch 'maint-0.2.4' into maint-0.2.5
Karsten Loesing [Sat, 5 Dec 2015 16:02:59 +0000 (17:02 +0100)]
Update geoip and geoip6 to the December 1 2015 database.
cypherpunks [Sun, 29 Nov 2015 20:07:34 +0000 (21:07 +0100)]
Add changes file for 17722
cypherpunks [Fri, 17 Jul 2015 09:53:12 +0000 (11:53 +0200)]
Fix undefined behavior caused by memory overlap
The tor_cert_get_checkable_sig function uses the signing key included in
the certificate (if available) when a separate public key is not given.
When the signature is valid, the tor_cert_checksig function copies the
public key from the checkable structure to the public key field of the
certificate signing key.
In situations where the separate public key is not given but the
certificate includes a signing key, the source and destination pointers
in the copy operation are equal and invoke undefined behavior.
Undefined behaviour is avoided by ensuring both pointers are different.
Nick Mathewson [Wed, 25 Nov 2015 14:27:52 +0000 (09:27 -0500)]
Include netinet/in.h (if detected) in check for net/pfvar.h
Patch from rubiate; fixes bug 17551.
David Goulet [Mon, 23 Nov 2015 14:02:54 +0000 (09:02 -0500)]
Fix: use the right list in find_expiring_intro_point()
The wrong list was used when looking up expired intro points in a rend
service object causing what we think could be reachability issues and
triggering a BUG log.
Fixes #16702
Signed-off-by: David Goulet <dgoulet@ev0ke.net>
Nick Mathewson [Fri, 20 Nov 2015 15:27:35 +0000 (10:27 -0500)]
bump version to 0.2.7-dev
Nick Mathewson [Fri, 13 Nov 2015 13:41:30 +0000 (08:41 -0500)]
Bump to 0.2.7.5
Nick Mathewson [Wed, 21 Oct 2015 16:22:05 +0000 (12:22 -0400)]
Note that you can use a unix domain socket for hsport
Nick Mathewson [Wed, 21 Oct 2015 16:02:42 +0000 (12:02 -0400)]
Merge remote-tracking branch 'public/bug17404_024' into maint-0.2.7
Nick Mathewson [Wed, 21 Oct 2015 16:01:05 +0000 (12:01 -0400)]
Fix the return value
Nick Mathewson [Wed, 21 Oct 2015 15:51:03 +0000 (11:51 -0400)]
Merge remote-tracking branch 'public/bug17404_024' into maint-0.2.7
Nick Mathewson [Wed, 21 Oct 2015 15:44:43 +0000 (11:44 -0400)]
Check for len < 4 in dn_indicates_v3_cert
Without this check, we potentially look up to 3 characters before
the start of a malloc'd segment, which could provoke a crash under
certain (weird afaik) circumstances.
Fixes 17404; bugfix on 0.2.6.3-alpha.
Nick Mathewson [Wed, 21 Oct 2015 15:16:28 +0000 (11:16 -0400)]
Fix a memory leak in reading an expired ed signing key.
Closes 17403.
Nick Mathewson [Wed, 21 Oct 2015 14:56:27 +0000 (10:56 -0400)]
Whoops; infinite recursion
Nick Mathewson [Wed, 21 Oct 2015 14:52:57 +0000 (10:52 -0400)]
Fix memory leak in rend_cache_failure_entry_free()
Bug 17402.
Nick Mathewson [Wed, 21 Oct 2015 14:27:19 +0000 (10:27 -0400)]
Fix an (unreachable) memory leak in rendcache.c
The 0.2.8 unit tests provoke this leak, though I don't think it can
happen IRL.
Nick Mathewson [Wed, 21 Oct 2015 13:59:19 +0000 (09:59 -0400)]
Fix a use-after-free in validate_intro_point_failure. Bug 17401. Found w valgrind
Nick Mathewson [Wed, 21 Oct 2015 12:17:07 +0000 (08:17 -0400)]
Fix a memory leak; bug 17398.
Nick Mathewson [Mon, 19 Oct 2015 15:19:51 +0000 (11:19 -0400)]
Bump version to 0.2.7.4-rc
Nick Mathewson [Mon, 19 Oct 2015 15:12:43 +0000 (11:12 -0400)]
tweak some changes files
Nick Mathewson [Thu, 15 Oct 2015 17:56:41 +0000 (13:56 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.6' into maint-0.2.7
David Goulet [Thu, 15 Oct 2015 17:38:12 +0000 (13:38 -0400)]
Add hidserv-stats filname to our sandbox filter
Fixes #17354
Signed-off-by: David Goulet <dgoulet@ev0ke.net>
Nick Mathewson [Thu, 15 Oct 2015 14:35:45 +0000 (10:35 -0400)]
Fix compilation of sandbox.[ch] under musl-libc
Patch from jamestk; fix on 0.2.5.1-alpha. Fixes 17347.
Nick Mathewson [Fri, 9 Oct 2015 14:14:59 +0000 (10:14 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.6' into maint-0.2.7
Nick Mathewson [Fri, 9 Oct 2015 14:14:46 +0000 (10:14 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.5' into maint-0.2.6
Nick Mathewson [Fri, 9 Oct 2015 14:12:59 +0000 (10:12 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.4' into maint-0.2.5
Karsten Loesing [Fri, 9 Oct 2015 13:27:55 +0000 (15:27 +0200)]
Update geoip and geoip6 to the October 9 2015 database.
teor (Tim Wilson-Brown) [Tue, 6 Oct 2015 04:32:44 +0000 (15:32 +1100)]
Make get_ifaddrs tests more tolerant of unusual network configs
* Don't assume that every test box has an IPv4 address
* Don't assume that every test box has a non-local address
Resolves issue #17255 released in unit tests in 0.2.7.3-rc.
Nick Mathewson [Tue, 6 Oct 2015 13:04:37 +0000 (09:04 -0400)]
Work around openssl declaring x509_get_not{Before,After} as functions
Now that x509_get_not{Before,After} are functions in OpenSSL 1.1
(not yet releasesd), we need to define a variant that takes a const
pointer to X509 and returns a const pointer to ASN1_time.
Part of 17237. I'm not convinced this is an openssl bug or a tor
bug. It might be just one of those things.
Nick Mathewson [Tue, 6 Oct 2015 12:58:03 +0000 (08:58 -0400)]
Fix 17251: avoid integer overflow in test_crypto_slow
Nick Mathewson [Tue, 29 Sep 2015 11:50:52 +0000 (13:50 +0200)]
fix compilation; mark test fns static
Nick Mathewson [Tue, 29 Sep 2015 10:49:23 +0000 (12:49 +0200)]
Fix past changelog spelling again!
Nick Mathewson [Tue, 29 Sep 2015 08:21:52 +0000 (10:21 +0200)]
go back in time to fix a changelog entry. Fix for 17165
Nick Mathewson [Tue, 29 Sep 2015 08:20:31 +0000 (10:20 +0200)]
Socks->SOCKS in torrcs. Fixes 15609
teor (Tim Wilson-Brown) [Tue, 29 Sep 2015 05:04:49 +0000 (07:04 +0200)]
Add checks and unit tests for get_interface_address* failure
Ensure that either a valid address is returned in address pointers,
or that the address data is zeroed on error.
Ensure that free_interface_address6_list handles NULL lists.
Add unit tests for get_interface_address* failure cases.
Fixes bug #17173.
Patch by fk/teor, not in any released version of tor.
Fabian Keil [Mon, 28 Sep 2015 14:57:07 +0000 (16:57 +0200)]
get_interface_address6_list(): Bring back a return code check
... that was removed by
31eb486c46 which first appeared in
0.2.7.3-rc.
If tor is running in a ElectroBSD (or FreeBSD) jail it can't
get any IP addresses that aren't assigned to the jail by
looking at the interfaces and (by design) the
get_interface_address6_via_udp_socket_hack() fallback doesn't
work either.
The missing return code check resulted in tor_addr_is_internal()
complaining about a "non-IP address of type 49", due to reading
uninitialised memory.
Fixes #17173.
Nick Mathewson [Tue, 29 Sep 2015 08:10:52 +0000 (10:10 +0200)]
Changes file for bug17154
Marcin Cieślak [Fri, 25 Sep 2015 14:16:40 +0000 (14:16 +0000)]
No spaces around = in variable assignment
BSD make takes spaces around = literally
and produces a "TESTING_TOR_BINARY "
variable with a trailing space, which leads
to test_keygen.sh failure.
Fixes 17154
Nick Mathewson [Tue, 29 Sep 2015 08:08:02 +0000 (10:08 +0200)]
Add changes file for bug17151
Marcin Cieślak [Fri, 25 Sep 2015 00:59:59 +0000 (00:59 +0000)]
FreeBSD needs -lexecinfo to get backtrace()