]>
git.ipfire.org Git - thirdparty/tor.git/log
Nick Mathewson [Mon, 13 Feb 2017 16:17:16 +0000 (11:17 -0500)]
Extract the part of tor_version_as_new_as that extracts platform
Also add a "strict" mode to reject negative inputs.
Roger Dingledine [Mon, 13 Feb 2017 20:41:20 +0000 (15:41 -0500)]
Merge branch 'maint-0.2.8' into maint-0.2.9
Roger Dingledine [Mon, 13 Feb 2017 20:39:13 +0000 (15:39 -0500)]
Merge branch 'maint-0.2.7' into maint-0.2.8
Roger Dingledine [Mon, 13 Feb 2017 20:28:50 +0000 (15:28 -0500)]
Merge branch 'maint-0.2.6' into maint-0.2.7
Roger Dingledine [Mon, 13 Feb 2017 20:27:57 +0000 (15:27 -0500)]
Merge branch 'maint-0.2.5' into maint-0.2.6
Roger Dingledine [Mon, 13 Feb 2017 20:23:50 +0000 (15:23 -0500)]
Merge branch 'maint-0.2.4' into maint-0.2.5
Roger Dingledine [Mon, 13 Feb 2017 20:22:36 +0000 (15:22 -0500)]
be sure to remember the changes file for #20384
Nick Mathewson [Mon, 13 Feb 2017 19:38:03 +0000 (14:38 -0500)]
Merge branch 'maint-0.2.8' into maint-0.2.9
Nick Mathewson [Mon, 13 Feb 2017 19:37:55 +0000 (14:37 -0500)]
Merge branch 'maint-0.2.7' into maint-0.2.8
Nick Mathewson [Mon, 13 Feb 2017 19:37:49 +0000 (14:37 -0500)]
Merge branch 'maint-0.2.6' into maint-0.2.7
Nick Mathewson [Mon, 13 Feb 2017 19:37:42 +0000 (14:37 -0500)]
Merge branch 'maint-0.2.5' into maint-0.2.6
Nick Mathewson [Mon, 13 Feb 2017 19:37:01 +0000 (14:37 -0500)]
Merge branch 'maint-0.2.4' into maint-0.2.5
Karsten Loesing [Sun, 12 Feb 2017 14:56:31 +0000 (15:56 +0100)]
Update geoip and geoip6 to the February 8 2017 database.
Nick Mathewson [Tue, 7 Feb 2017 15:39:23 +0000 (10:39 -0500)]
Merge branch 'maint-0.2.8' into maint-0.2.9
Nick Mathewson [Tue, 7 Feb 2017 15:39:13 +0000 (10:39 -0500)]
Merge branch 'maint-0.2.7' into maint-0.2.8
Nick Mathewson [Tue, 7 Feb 2017 15:39:03 +0000 (10:39 -0500)]
Merge branch 'maint-0.2.6' into maint-0.2.7
Nick Mathewson [Tue, 7 Feb 2017 15:37:53 +0000 (10:37 -0500)]
Merge branch 'maint-0.2.5' into maint-0.2.6
Nick Mathewson [Tue, 7 Feb 2017 15:37:43 +0000 (10:37 -0500)]
Merge remote-tracking branch 'public/bug18710_025' into maint-0.2.5
Nick Mathewson [Tue, 7 Feb 2017 15:37:31 +0000 (10:37 -0500)]
Merge branch 'maint-0.2.4' into maint-0.2.5
Nick Mathewson [Tue, 7 Feb 2017 14:49:23 +0000 (09:49 -0500)]
Disable a log_backtrace (which 0.2.4 does not have) in 16248 fix
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 [Tue, 7 Feb 2017 14:30:19 +0000 (09:30 -0500)]
Merge branch 'maint-0.2.8' into maint-0.2.9
Nick Mathewson [Tue, 7 Feb 2017 14:30:10 +0000 (09:30 -0500)]
Merge branch 'maint-0.2.7' into maint-0.2.8
Nick Mathewson [Tue, 7 Feb 2017 14:29:27 +0000 (09:29 -0500)]
Merge branch 'maint-0.2.6' into maint-0.2.7
"ours" merge to avoid reverting 17354, which was already fixed in
0.2.7.4-rc.
Nick Mathewson [Tue, 7 Feb 2017 14:28:50 +0000 (09:28 -0500)]
Revert "Add hidserv-stats filname to our sandbox filter"
Reverting this in 0.2.6 only -- we're no backporting
seccomp2-loosening fixes to 0.2.6.
This reverts commit
2ec5e24c58a08816ed2f09c8bd6301599bc2f2f7 .
Nick Mathewson [Wed, 25 Jan 2017 18:15:37 +0000 (13:15 -0500)]
changes file for 21280
junglefowl [Tue, 24 Jan 2017 18:40:01 +0000 (18:40 +0000)]
Do not truncate too long hostnames
If a hostname is supplied to tor-resolve which is too long, it will be
silently truncated, resulting in a different hostname lookup:
$ tor-resolve $(python -c 'print("google.com" + "m" * 256)')
If tor-resolve uses SOCKS5, the length is stored in an unsigned char,
which overflows in this case and leads to the hostname "google.com".
As this one is a valid hostname, it returns an address instead of giving
an error due to the invalid supplied hostname.
Nick Mathewson [Tue, 7 Feb 2017 14:24:08 +0000 (09:24 -0500)]
Merge branch 'teor_bug21357-v2_029' into maint-0.2.9
Nick Mathewson [Tue, 7 Feb 2017 14:22:31 +0000 (09:22 -0500)]
Merge branch 'bug21108_029' into maint-0.2.9
Nick Mathewson [Tue, 7 Feb 2017 14:20:52 +0000 (09:20 -0500)]
Merge branch 'maint-0.2.8' into maint-0.2.9
Nick Mathewson [Tue, 7 Feb 2017 14:20:45 +0000 (09:20 -0500)]
Merge branch 'maint-0.2.7' into maint-0.2.8
Nick Mathewson [Tue, 7 Feb 2017 14:20:13 +0000 (09:20 -0500)]
Merge branch 'maint-0.2.6' into maint-0.2.7
This is an "ours" merge to avoid conflicts on the authority list:
the 0.2.7 branch already has the tonga->bifroest merge.
Nick Mathewson [Tue, 7 Feb 2017 14:18:54 +0000 (09:18 -0500)]
Merge branch 'maint-0.2.5' into maint-0.2.6
Nick Mathewson [Tue, 7 Feb 2017 14:17:59 +0000 (09:17 -0500)]
Merge branch 'maint-0.2.4' into maint-0.2.5
Nick Mathewson [Tue, 7 Feb 2017 14:15:21 +0000 (09:15 -0500)]
Backport the tonga->bifroest move to 0.2.4.
This is a backport of 19728 and 19690
Nick Mathewson [Tue, 7 Feb 2017 13:55:35 +0000 (08:55 -0500)]
Merge branch 'maint-0.2.8' into maint-0.2.9
Nick Mathewson [Tue, 7 Feb 2017 13:55:28 +0000 (08:55 -0500)]
Merge branch 'maint-0.2.7' into maint-0.2.8
Nick Mathewson [Tue, 7 Feb 2017 13:55:07 +0000 (08:55 -0500)]
Merge branch 'maint-0.2.6' into maint-0.2.7
Nick Mathewson [Tue, 7 Feb 2017 13:54:54 +0000 (08:54 -0500)]
Merge branch 'maint-0.2.5' into maint-0.2.6
Nick Mathewson [Tue, 7 Feb 2017 13:54:47 +0000 (08:54 -0500)]
Merge branch 'maint-0.2.4' into maint-0.2.5
Nick Mathewson [Tue, 7 Feb 2017 13:47:11 +0000 (08:47 -0500)]
Merge remote-tracking branch 'public/bug19152_024_v2' into maint-0.2.4
Nick Mathewson [Tue, 7 Feb 2017 13:39:39 +0000 (08:39 -0500)]
Merge branch 'maint-0.2.8' into maint-0.2.9
Nick Mathewson [Tue, 7 Feb 2017 13:39:33 +0000 (08:39 -0500)]
Merge branch 'maint-0.2.7' into maint-0.2.8
Nick Mathewson [Tue, 7 Feb 2017 13:39:25 +0000 (08:39 -0500)]
Merge branch 'maint-0.2.6' into maint-0.2.7
Nick Mathewson [Tue, 7 Feb 2017 13:39:07 +0000 (08:39 -0500)]
Merge branch 'maint-0.2.5' into maint-0.2.6
Nick Mathewson [Tue, 7 Feb 2017 13:38:59 +0000 (08:38 -0500)]
Merge branch 'maint-0.2.4' into maint-0.2.5
Nick Mathewson [Tue, 7 Feb 2017 13:37:07 +0000 (08:37 -0500)]
Merge remote-tracking branch 'public/bug17404_024' into maint-0.2.4
Nick Mathewson [Tue, 7 Feb 2017 13:34:37 +0000 (08:34 -0500)]
Merge branch 'maint-0.2.5' into maint-0.2.6
Nick Mathewson [Tue, 7 Feb 2017 13:34:08 +0000 (08:34 -0500)]
Merge branch 'maint-0.2.4' into maint-0.2.5
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);
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, 7 Feb 2017 13:32:10 +0000 (08:32 -0500)]
Merge branch 'maint-0.2.4' into maint-0.2.5
John Brooks [Sun, 26 Apr 2015 04:52:35 +0000 (22:52 -0600)]
Fix out-of-bounds read in INTRODUCE2 client auth
The length of auth_data from an INTRODUCE2 cell is checked when the
auth_type is recognized (1 or 2), but not for any other non-zero
auth_type. Later, auth_data is assumed to have at least
REND_DESC_COOKIE_LEN bytes, leading to a client-triggered out of bounds
read.
Fixed by checking auth_len before comparing the descriptor cookie
against known clients.
Fixes #15823; bugfix on 0.2.1.6-alpha.
Nick Mathewson [Wed, 1 Feb 2017 15:39:48 +0000 (10:39 -0500)]
Rework 21359 changes file slightly.
rubiate [Wed, 1 Feb 2017 11:10:46 +0000 (00:10 +1300)]
Support LibreSSL with opaque structures
Determining if OpenSSL structures are opaque now uses an autoconf check
instead of comparing the version number. Some definitions have been
moved to their own check as assumptions which were true for OpenSSL
with opaque structures did not hold for LibreSSL. Closes ticket 21359.
teor [Wed, 1 Feb 2017 05:39:21 +0000 (16:39 +1100)]
Changes file for 21357: Stop rejecting all IPv6 traffic on some Exits
This issue was triggered by 17027 in 0.2.8.1-alpha, which rejects a relay's
own IPv6 address.
Bugfix on commit
004f3f4e53 in 0.2.4.7-alpha.
teor [Wed, 1 Feb 2017 04:31:33 +0000 (15:31 +1100)]
Scale IPv6 address counts in policy_summary_reject to avoid overflow
This disregards anything smaller than an IPv6 /64, and rejects ports that
are rejected on an IPv6 /16 or larger.
Adjust existing unit tests, and add more to cover exceptional cases.
No IPv4 behaviour changes.
Fixes bug 21357
teor [Wed, 1 Feb 2017 04:28:46 +0000 (15:28 +1100)]
Fix IPv6 support in policy_summary_reject and policy_summary_accept
This interim fix results in too many IPv6 rejections.
No behaviour change for IPv4 counts, except for overflow fixes that
would require 4 billion redundant 0.0.0.0/0 policy entries to trigger.
Part of 21357
teor [Wed, 1 Feb 2017 04:18:47 +0000 (15:18 +1100)]
Refactor policy_summary_reject to prepare for IPv6 changes
No behaviour change, apart from non-fatal assertions
Part of 21357
teor [Wed, 1 Feb 2017 02:51:31 +0000 (13:51 +1100)]
Add unit tests for IPv6 address summaries and IPv4 netblock rejection
These tests currently fail due to bug 21357
teor [Wed, 1 Feb 2017 02:48:09 +0000 (13:48 +1100)]
Fix write_short_policy usage comment
Roger Dingledine [Tue, 31 Jan 2017 20:06:15 +0000 (15:06 -0500)]
be explicit in clear_status_flags_on_sybil that we leave BadExit alone
Nick Mathewson [Tue, 31 Jan 2017 19:12:14 +0000 (14:12 -0500)]
Do not clear is_bad_exit on sybil.
But do clear is_v2_dir.
Fixes bug 21108 -- bugfix on
d95e7c7d67134b9b964d49cf8c2bdbf805a in
0.2.0.13-alpha.
Nick Mathewson [Mon, 23 Jan 2017 19:34:08 +0000 (14:34 -0500)]
Bump version to 0.2.9.9-dev
Nick Mathewson [Sun, 22 Jan 2017 16:32:54 +0000 (11:32 -0500)]
TROVE-2017-001 : move -ftrapv back into --expensive-hardening.
Nick Mathewson [Mon, 23 Jan 2017 13:19:48 +0000 (08:19 -0500)]
version bump
Roger Dingledine [Fri, 13 Jan 2017 23:09:50 +0000 (18:09 -0500)]
clean up grammar on bug20307 changes file
pointed out by toralf on irc
David Goulet [Thu, 22 Dec 2016 17:37:42 +0000 (12:37 -0500)]
circuit: Change close reasons from uint16_t to int
When marking for close a circuit, the reason value, a integer, was assigned to
a uint16_t converting any negative reasons (internal) to the wrong value. On
the HS side, this was causing the client to flag introduction points to be
unreachable as the internal reason was wrongfully converted to a positive
16bit value leading to flag 2 out of 3 intro points to be unreachable.
Fixes #20307 and partially fixes #21056
Signed-off-by: David Goulet <dgoulet@torproject.org>
Nick Mathewson [Sun, 22 Jan 2017 23:48:22 +0000 (18:48 -0500)]
fix a lintchanges warning
Nick Mathewson [Wed, 11 Jan 2017 14:13:34 +0000 (09:13 -0500)]
Merge branch 'maint-0.2.8' into maint-0.2.9
Nick Mathewson [Wed, 11 Jan 2017 14:13:15 +0000 (09:13 -0500)]
Merge branch 'maint-0.2.7' into maint-0.2.8
Nick Mathewson [Wed, 11 Jan 2017 14:12:51 +0000 (09:12 -0500)]
Merge branch 'maint-0.2.6' into maint-0.2.7
Nick Mathewson [Wed, 11 Jan 2017 14:12:21 +0000 (09:12 -0500)]
Merge branch 'maint-0.2.5' into maint-0.2.6
Nick Mathewson [Wed, 11 Jan 2017 14:11:58 +0000 (09:11 -0500)]
Merge branch 'maint-0.2.4' into maint-0.2.5
Karsten Loesing [Wed, 4 Jan 2017 09:19:52 +0000 (10:19 +0100)]
Update geoip and geoip6 to the January 4 2017 database.
Nick Mathewson [Fri, 23 Dec 2016 16:01:54 +0000 (11:01 -0500)]
Merge branch 'bug21051_v2' into maint-0.2.9
Nick Mathewson [Fri, 23 Dec 2016 13:18:31 +0000 (08:18 -0500)]
Use event_base_new(), not event_init(), to detect libevent 2.
(event_init() is obsoleted in libevent 2.)
Fixes bug 21051; bugfix on 0.2.9.1-alpha when we dropped libevent 1
support.
Nick Mathewson [Fri, 23 Dec 2016 13:08:14 +0000 (08:08 -0500)]
changes file for 21035.
Nick Mathewson [Fri, 23 Dec 2016 13:06:11 +0000 (08:06 -0500)]
Merge branch 'bug21035' into maint-0.2.9
Nick Mathewson [Wed, 21 Dec 2016 13:17:26 +0000 (08:17 -0500)]
Withstand failures in CLOCK_MONOTONIC_COARSE
This came up on #21035, where somebody tried to build on a linux
system with kernel headers including CLOCK_MONOTONIC_COARSE, then
run on a kernel that didn't support it.
I've adopted a belt-and-suspenders approach here: we detect failures
at initialization time, and we also detect (loudly) failures later on.
Fixes bug 21035; bugfix on 0.2.9.1-alpha when we started using
monotonic time.
Nick Mathewson [Tue, 20 Dec 2016 23:23:54 +0000 (18:23 -0500)]
Merge branch 'maint-0.2.8' into maint-0.2.9
Nick Mathewson [Tue, 20 Dec 2016 23:23:35 +0000 (18:23 -0500)]
Merge branch 'maint-0.2.7' into maint-0.2.8
Nick Mathewson [Tue, 20 Dec 2016 23:23:19 +0000 (18:23 -0500)]
Merge branch 'maint-0.2.6' into maint-0.2.7
Nick Mathewson [Fri, 14 Oct 2016 13:38:12 +0000 (09:38 -0400)]
Add a one-word sentinel value of 0x0 at the end of each buf_t chunk
This helps protect against bugs where any part of a buf_t's memory
is passed to a function that expects a NUL-terminated input.
It also closes TROVE-2016-10-001 (aka bug 20384).
Nick Mathewson [Tue, 20 Dec 2016 23:22:27 +0000 (18:22 -0500)]
Merge branch 'maint-0.2.5' into maint-0.2.6
("ours" merge because there is a separate 20384 patch for 026)
Nick Mathewson [Fri, 14 Oct 2016 13:38:12 +0000 (09:38 -0400)]
Add a one-word sentinel value of 0x0 at the end of each buf_t chunk
This helps protect against bugs where any part of a buf_t's memory
is passed to a function that expects a NUL-terminated input.
Nick Mathewson [Tue, 20 Dec 2016 23:19:41 +0000 (18:19 -0500)]
Merge branch 'maint-0.2.4' into maint-0.2.5
(ours merge -- there is a separate 0.2.5 patch for 20384.)
Nick Mathewson [Fri, 14 Oct 2016 13:38:12 +0000 (09:38 -0400)]
Add a one-word sentinel value of 0x0 at the end of each buf_t chunk
This helps protect against bugs where any part of a buf_t's memory
is passed to a function that expects a NUL-terminated input.
Nick Mathewson [Tue, 20 Dec 2016 23:15:56 +0000 (18:15 -0500)]
Merge branch 'maint-0.2.8' into maint-0.2.9
Nick Mathewson [Tue, 20 Dec 2016 23:15:26 +0000 (18:15 -0500)]
Merge branch 'maint-0.2.7' into maint-0.2.8
Nick Mathewson [Tue, 20 Dec 2016 23:14:21 +0000 (18:14 -0500)]
Merge branch 'maint-0.2.6' into maint-0.2.7
Nick Mathewson [Tue, 20 Dec 2016 23:11:25 +0000 (18:11 -0500)]
Merge branch 'maint-0.2.5' into maint-0.2.6
Nick Mathewson [Tue, 20 Dec 2016 23:11:08 +0000 (18:11 -0500)]
Merge branch 'maint-0.2.4' into maint-0.2.5
Nick Mathewson [Mon, 19 Dec 2016 15:13:01 +0000 (10:13 -0500)]
Bump to 0.2.9.8-dev
Nick Mathewson [Mon, 19 Dec 2016 15:12:34 +0000 (10:12 -0500)]
Merge branch 'maint-0.2.8' into maint-0.2.9
"Ours" merge to avoid version bump.
Nick Mathewson [Mon, 19 Dec 2016 15:12:11 +0000 (10:12 -0500)]
Bump to 0.2.8.12-dev
Nick Mathewson [Mon, 19 Dec 2016 13:08:44 +0000 (08:08 -0500)]
Bump to 0.2.9.8
Nick Mathewson [Mon, 19 Dec 2016 13:07:56 +0000 (08:07 -0500)]
Merge branch 'maint-0.2.8' into maint-0.2.9
"ours" merge to avoid version bump.