]>
git.ipfire.org Git - thirdparty/tor.git/log
teor [Tue, 22 Oct 2019 22:28:03 +0000 (08:28 +1000)]
Merge remote-tracking branch 'tor-github/pr/1256' into maint-0.3.5
teor [Tue, 22 Oct 2019 22:24:30 +0000 (08:24 +1000)]
Merge branch 'maint-0.2.9' into maint-0.3.5
`git merge --strategy ours` to take the 0.3.5 changes for 31001,
and ignore the conflicting 0.2.9 changes.
teor [Tue, 22 Oct 2019 22:20:45 +0000 (08:20 +1000)]
Merge remote-tracking branch 'tor-github/pr/1178' into maint-0.2.9
Nick Mathewson [Tue, 22 Oct 2019 16:10:08 +0000 (12:10 -0400)]
Merge remote-tracking branch 'tor-github/pr/1376' into maint-0.3.5
teor [Tue, 22 Oct 2019 10:47:44 +0000 (20:47 +1000)]
Merge remote-tracking branch 'origin/maint-0.3.5' into maint-0.3.5
teor [Tue, 22 Oct 2019 09:38:50 +0000 (19:38 +1000)]
Travis: Disable the Rust macOS build
This build was added in 0.3.5.
We need to mitigate slow scheduling of Travis macOS jobs.
Closes ticket 32177.
teor [Tue, 22 Oct 2019 09:37:32 +0000 (19:37 +1000)]
Merge branch 'ticket32177_029' into ticket32177_035
Stem from maint-0.3.5, disabled macOS chutney from ticket32177_029.
teor [Tue, 22 Oct 2019 09:34:47 +0000 (19:34 +1000)]
Travis: Disable all but one macOS build
We need to mitigate slow scheduling of Travis macOS jobs.
Closes ticket 32177.
teor [Sun, 20 Oct 2019 09:39:48 +0000 (19:39 +1000)]
Appveyor: Use Windows Server 2019
Instead of Windows Server 2016.
Closes ticket 32086.
teor [Thu, 17 Oct 2019 04:51:50 +0000 (14:51 +1000)]
Merge branch 'maint-0.2.9' into maint-0.3.5
teor [Thu, 17 Oct 2019 04:50:28 +0000 (14:50 +1000)]
Merge remote-tracking branch 'tor-github/pr/1370' into maint-0.3.5
teor [Thu, 17 Oct 2019 04:49:52 +0000 (14:49 +1000)]
Merge remote-tracking branch 'tor-github/pr/1369' into maint-0.2.9
Nick Mathewson [Wed, 2 Oct 2019 12:01:33 +0000 (08:01 -0400)]
Merge branch 'maint-0.2.9' into maint-0.3.5
Karsten Loesing [Wed, 2 Oct 2019 09:11:27 +0000 (11:11 +0200)]
Update geoip and geoip6 to the October 1 2019 database.
teor [Tue, 1 Oct 2019 07:32:46 +0000 (17:32 +1000)]
Travis: Keep the macOS Rust job, but don't wait for it to finish
Since Rust on macOS is slow, don't wait for the macOS Rust job to finish.
Instead, split rust into slow rust (macOS) and fast rust (Linux). And
allow the build to finish before slow rust finishes.
Also make sure that we have:
* a Rust build on each platform,
* a Rust build with each compiler, and
* a check on all our Rust builds.
Finally, sort builds: allow fail last, macOS first, slowest first.
Closes 31859 for 0.3.5.
teor [Tue, 1 Oct 2019 07:28:26 +0000 (17:28 +1000)]
Travis: Split jobs, add essential jobs, remove redundant jobs
Part of 31859 for 0.3.5.
teor [Tue, 1 Oct 2019 07:20:16 +0000 (17:20 +1000)]
Merge branch 'bug31859_029' into bug31859_035
While merging:
* leave out some redundant jobs and build matrix entries
teor [Thu, 26 Sep 2019 07:44:41 +0000 (17:44 +1000)]
Travis: Add a macOS chutney job, but don't wait for it to finish
Since Travis macOS has IPv6 support (and Travis Linux does not), chutney
will now run its IPv6 networks as part of Travis CI.
But since chutney is slow, don't wait for the macOS chutney to finish.
(Travis have fixed the duplicate notification bug in fast_finish. So we
can use fast_finish and allow_failure to finish early. Unfortunately,
allow_failure also means we ignore failures in macOS chutney.)
Also make sure that we have:
* a compile on each platform, with each compiler,
* a check on each platform, and
* a check on each compiler.
Finally, sort builds: allow fail last, macOS first, slowest first.
Closes ticket 30860.
Closes ticket 31859 for 0.2.9.
teor [Thu, 26 Sep 2019 07:39:46 +0000 (17:39 +1000)]
Travis: Remove a redundant clang Linux job
Part of 31859.
teor [Mon, 30 Sep 2019 05:14:21 +0000 (15:14 +1000)]
Appveyor: Avoid spurious errors in Appveyor CI builds
When Appveyor fails before the install step, some of the finish step's
functions were not defined.
Fixes bug 31884; bugfix on 0.3.4.2-alpha.
teor [Thu, 26 Sep 2019 07:25:17 +0000 (17:25 +1000)]
Travis: Unroll the build matrix into matrix: include:
The jobs should be the same, but Travis may display them differently.
Part of 31859.
Nick Mathewson [Wed, 18 Sep 2019 01:28:29 +0000 (21:28 -0400)]
Merge remote-tracking branch 'tor-github/pr/1300' into maint-0.3.5
Nick Mathewson [Wed, 18 Sep 2019 01:26:31 +0000 (21:26 -0400)]
Merge branch 'maint-0.2.9' into maint-0.3.5
Nick Mathewson [Wed, 18 Sep 2019 01:26:17 +0000 (21:26 -0400)]
Merge remote-tracking branch 'tor-github/pr/1216' into maint-0.2.9
Nick Mathewson [Tue, 17 Sep 2019 22:58:06 +0000 (18:58 -0400)]
Merge remote-tracking branch 'tor-github/pr/1307' into maint-0.3.5
Nick Mathewson [Tue, 17 Sep 2019 22:57:49 +0000 (18:57 -0400)]
Merge branch 'maint-0.2.9' into maint-0.3.5
"ours" merge to avoid picking up 0.2.9 version of ticket 31673.
Nick Mathewson [Tue, 10 Sep 2019 15:07:25 +0000 (11:07 -0400)]
pf: when extracting an IPv6 address, make sure we got an IPv6 address
Our code assumes that when we're configured to get IPv6 addresses
out of a TRANS_PF transparent proxy connection, we actually will.
But we didn't check that, and so FreeBSD started warning us about a
potential NULL pointer dereference.
Fixes part of bug 31687; bugfix on 0.2.3.4-alpha when this code was
added.
Nick Mathewson [Tue, 10 Sep 2019 14:53:39 +0000 (10:53 -0400)]
fp.c: Suppress float-conversion warnings on FreeBSD.
We used to do this on Windows only, but it appears to affect
multiple platforms when building with certain versions of GCC, and a
common pattern for defining the floating-point classifier functions.
Fixes part of 31687. I'm calling this a bugfux on 31687, when we
started suppressing these warnings on Windows.
David Goulet [Mon, 9 Sep 2019 15:55:33 +0000 (11:55 -0400)]
build: The <sys/sysctl.h> is now deprecated on Linux
Closes #31673
David Goulet [Mon, 9 Sep 2019 15:47:37 +0000 (11:47 -0400)]
build: The <sys/sysctl.h> is now deprecated on Linux
Closes #31673
teor [Fri, 6 Sep 2019 06:23:58 +0000 (16:23 +1000)]
entrynodes: Make routine descriptor expiry notice logs less alarming
When tor is missing descriptors for some primary entry guards, make the
log message less alarming. It's normal for descriptors to expire, as long
as tor fetches new ones soon after.
Fixes bug 31657; bugfix on 0.3.3.1-alpha.
teor [Thu, 5 Sep 2019 04:47:34 +0000 (14:47 +1000)]
Merge remote-tracking branch 'tor-github/pr/1271' into maint-0.3.5
teor [Fri, 30 Aug 2019 13:24:05 +0000 (23:24 +1000)]
Merge remote-tracking branch 'tor-github/pr/1181' into maint-0.3.5
teor [Fri, 30 Aug 2019 13:22:18 +0000 (23:22 +1000)]
Merge remote-tracking branch 'tor-github/pr/1117' into maint-0.3.5
teor [Fri, 30 Aug 2019 13:20:59 +0000 (23:20 +1000)]
Merge remote-tracking branch 'tor-github/pr/1114' into maint-0.3.5
teor [Thu, 29 Aug 2019 11:56:16 +0000 (21:56 +1000)]
test: Change "make test-stem" so it only runs the stem tests that use tor
This change makes test-stem faster and more reliable.
Use "make test-stem-full" to run all of stem's tests.
Closes ticket 31554.
teor [Fri, 23 Aug 2019 06:25:33 +0000 (16:25 +1000)]
changes: file for 23507, v3 onion service fix
teor [Fri, 23 Aug 2019 06:17:47 +0000 (16:17 +1000)]
hs: v3 single onion services fall back to 3-hop intro for unreachable nodes
Previously, v3 single onion services failed when all intro nodes were
unreachable via a 1-hop path. Now, we select intros that are only available
via a 3-hop path, and use a 3-hop path to connect to them.
Fixes bug 23507; bugfix on 0.3.2.1-alpha.
teor [Fri, 23 Aug 2019 05:10:45 +0000 (15:10 +1000)]
changes: file for 23818, v3 onion service fix
teor [Fri, 23 Aug 2019 04:56:01 +0000 (14:56 +1000)]
hs: Always use a 3-hop path when a v3 single onion intro fails
Previously, we always used a 1-hop path, no matter how many times a v3
single onion intro failed.
Fixes bug 23818; bugfix on 0.3.2.1-alpha.
teor [Fri, 23 Aug 2019 04:41:24 +0000 (14:41 +1000)]
hs: Always use a 3-hop path when a v3 single onion rend fails
Previously, we used a 1-hop path when a single onion rend failed
immediately, and a 3-hop path when it failed after trying to build
a circuit.
Fixes bug 23818; bugfix on 0.3.2.1-alpha.
teor [Fri, 23 Aug 2019 05:09:19 +0000 (15:09 +1000)]
Merge branch 'bug23818_029' into bug23818_035
teor [Fri, 23 Aug 2019 05:08:43 +0000 (15:08 +1000)]
changes: file for 23818, v2 onion service fix
teor [Fri, 23 Aug 2019 04:54:15 +0000 (14:54 +1000)]
rendservice: Always use a 3-hop path when a v2 single onion intro fails
Previously, we always used a 1-hop path, no matter how many times a v2
single onion intro failed.
Fixes bug 23818; bugfix on 0.2.9.3-alpha.
teor [Fri, 23 Aug 2019 04:38:54 +0000 (14:38 +1000)]
rendservice: Always use a 3-hop path when a v2 single onion rend fails
Previously, we used a 1-hop path when a single onion rend failed
immediately, and a 3-hop path when it failed after trying to build
a circuit.
Fixes bug 23818; bugfix on 0.2.9.3-alpha.
Sebastian Hahn [Tue, 20 Aug 2019 03:03:58 +0000 (05:03 +0200)]
Fix gcc build exclude on travis
The main build doesn't use HARDENING_OPTIONS, so the exclude shouldn't,
either. Reduces the number of builders by one.
Nick Mathewson [Mon, 19 Aug 2019 14:37:21 +0000 (10:37 -0400)]
Merge branch 'maint-0.2.9' into maint-0.3.5
David Goulet [Thu, 15 Aug 2019 12:16:53 +0000 (08:16 -0400)]
dirauth: Change dizum IP address
New IP address from 194.109.206.212 to 45.66.33.45.
Signed request from Alex de Joode, operator of dizum:
https://trac.torproject.org/projects/tor/ticket/31406
Published descriptor by dizum on August 12th, 2019:
--
r dizum fqbq1v2DCDxTj0QDi7+gd1h911U GZmZtCLaPDQNxkhIFj8UcgTRAuA 2019-08-12 15:28:40 45.66.33.45 443 80
s Authority Fast Running Stable V2Dir Valid
v Tor 0.4.0.5
pr Cons=1-2 Desc=1-2 DirCache=1-2 HSDir=1-2 HSIntro=3-4 HSRend=1-2 Link=1-5 LinkAuth=1,3 Microdesc=1-2 Relay=1-2 Padding=1
w Bandwidth=20 Unmeasured=1
p reject 1-65535
--
Finally, confirmed by DNS:
$ dig +short tor.dizum.com
45.66.33.45
Closes #31406
Signed-off-by: David Goulet <dgoulet@torproject.org>
teor [Sun, 11 Aug 2019 23:54:35 +0000 (09:54 +1000)]
Merge remote-tracking branch 'tor-github/pr/1077' into maint-0.3.5
teor [Sun, 11 Aug 2019 23:53:59 +0000 (09:53 +1000)]
Merge remote-tracking branch 'tor-github/pr/1066' into maint-0.3.5
teor [Sun, 11 Aug 2019 23:52:56 +0000 (09:52 +1000)]
Merge remote-tracking branch 'tor-github/pr/1065' into maint-0.3.5
teor [Sun, 11 Aug 2019 23:51:35 +0000 (09:51 +1000)]
Merge remote-tracking branch 'tor-github/pr/1056' into maint-0.3.5
teor [Sun, 11 Aug 2019 23:51:00 +0000 (09:51 +1000)]
Merge remote-tracking branch 'tor-github/pr/1039' into maint-0.3.5
teor [Sun, 11 Aug 2019 23:50:42 +0000 (09:50 +1000)]
Merge remote-tracking branch 'tor-github/pr/1034' into maint-0.3.5
teor [Sun, 11 Aug 2019 23:49:53 +0000 (09:49 +1000)]
Merge remote-tracking branch 'tor-github/pr/1020' into maint-0.3.5
teor [Sun, 11 Aug 2019 23:45:32 +0000 (09:45 +1000)]
Merge remote-tracking branch 'tor-github/pr/987' into maint-0.3.5
teor [Sun, 11 Aug 2019 23:44:46 +0000 (09:44 +1000)]
Merge remote-tracking branch 'tor-github/pr/952' into maint-0.3.5
teor [Sun, 11 Aug 2019 23:43:37 +0000 (09:43 +1000)]
Merge remote-tracking branch 'tor-github/pr/951' into maint-0.3.5
teor [Sun, 11 Aug 2019 23:42:15 +0000 (09:42 +1000)]
Merge remote-tracking branch 'tor-github/pr/937' into maint-0.3.5
teor [Sun, 11 Aug 2019 23:41:14 +0000 (09:41 +1000)]
Merge remote-tracking branch 'tor-github/pr/926' into maint-0.3.5
teor [Sun, 11 Aug 2019 23:40:08 +0000 (09:40 +1000)]
Merge remote-tracking branch 'tor-github/pr/911' into maint-0.3.5
teor [Sun, 11 Aug 2019 23:38:46 +0000 (09:38 +1000)]
Merge remote-tracking branch 'tor-github/pr/848' into maint-0.3.5
teor [Sun, 11 Aug 2019 23:36:14 +0000 (09:36 +1000)]
Merge remote-tracking branch 'tor-github/pr/741' into maint-0.3.5
teor [Fri, 9 Aug 2019 21:25:57 +0000 (07:25 +1000)]
Merge branch 'maint-0.2.9' into maint-0.3.5
Delete src/or/buffers.c which was fixup'ed in 0.2.9 but moved in 0.3.5.
The 0.2.9 fix is not required for the 0.3.5 patch.
Resolves merge conflict caused by 30041.
teor [Fri, 9 Aug 2019 21:21:56 +0000 (07:21 +1000)]
Merge remote-tracking branch 'tor-github/pr/1078' into maint-0.2.9
teor [Fri, 9 Aug 2019 21:21:43 +0000 (07:21 +1000)]
Merge remote-tracking branch 'tor-github/pr/1052' into maint-0.2.9
teor [Fri, 9 Aug 2019 21:21:31 +0000 (07:21 +1000)]
Merge remote-tracking branch 'tor-github/pr/1229' into maint-0.2.9
Nick Mathewson [Tue, 9 Apr 2019 17:14:28 +0000 (13:14 -0400)]
Modify "Protect buffers against INT_MAX datalen overflows." for 0.2.9
teor [Fri, 9 Aug 2019 04:05:26 +0000 (14:05 +1000)]
Merge remote-tracking branch 'tor-github/pr/1080' into maint-0.3.5
teor [Fri, 9 Aug 2019 04:01:50 +0000 (14:01 +1000)]
Merge remote-tracking branch 'tor-github/pr/1054' into maint-0.3.5
teor [Fri, 9 Aug 2019 04:00:01 +0000 (14:00 +1000)]
Merge remote-tracking branch 'tor-github/pr/920' into maint-0.3.5
George Kadianakis [Tue, 12 Mar 2019 18:11:51 +0000 (20:11 +0200)]
Fix #28525 changes file that is breaking CI.
George Kadianakis [Tue, 12 Mar 2019 18:11:51 +0000 (20:11 +0200)]
Fix #28525 changes file that is breaking CI.
teor [Fri, 9 Aug 2019 03:53:52 +0000 (13:53 +1000)]
Merge remote-tracking branch 'tor-github/pr/763' into maint-0.3.5
teor [Fri, 9 Aug 2019 03:53:34 +0000 (13:53 +1000)]
Merge remote-tracking branch 'tor-github/pr/762' into maint-0.2.9
teor [Fri, 9 Aug 2019 03:50:59 +0000 (13:50 +1000)]
Merge remote-tracking branch 'tor-github/pr/958' into maint-0.3.5
teor [Fri, 9 Aug 2019 03:50:42 +0000 (13:50 +1000)]
Merge remote-tracking branch 'tor-github/pr/957' into maint-0.2.9
teor [Thu, 8 Aug 2019 23:51:35 +0000 (09:51 +1000)]
Merge branch 'bug31343_31374_029' into bug31343_31374_035
teor [Thu, 8 Aug 2019 23:49:35 +0000 (09:49 +1000)]
Merge remote-tracking branch 'tor-github/pr/1222' into combined31343_31374_035
teor [Thu, 8 Aug 2019 23:49:27 +0000 (09:49 +1000)]
Merge remote-tracking branch 'tor-github/pr/1210' into combined31343_31374_035
teor [Thu, 8 Aug 2019 23:48:41 +0000 (09:48 +1000)]
Merge remote-tracking branch 'tor-github/pr/1221' into combined31343_31374_029
teor [Thu, 8 Aug 2019 23:48:28 +0000 (09:48 +1000)]
Merge remote-tracking branch 'tor-github/pr/1209' into combined31343_31374_029
Nick Mathewson [Thu, 8 Aug 2019 15:46:24 +0000 (11:46 -0400)]
Merge branch 'ticket31374_029' into ticket31374_035
Nick Mathewson [Thu, 8 Aug 2019 15:43:42 +0000 (11:43 -0400)]
Fix a warning about casting the results of GetProcAddress.
Fixes bug 31374; bugfix on 0.2.9.1-alpha.
Nick Mathewson [Thu, 8 Aug 2019 13:39:48 +0000 (09:39 -0400)]
Merge branch 'ticket31343_029' into ticket31343_035
Nick Mathewson [Thu, 8 Aug 2019 13:38:03 +0000 (09:38 -0400)]
Fix another time_t/long warning for 31343.
Nick Mathewson [Thu, 8 Aug 2019 13:17:23 +0000 (09:17 -0400)]
Merge branch 'ticket31343_029' into ticket31343_035
Nick Mathewson [Thu, 8 Aug 2019 13:15:42 +0000 (09:15 -0400)]
Restore proper behavior of netinfo skew check
My previous fix removed a comparison, which would have caused us to
warn about every skew instead of skews of over an hour.
rl1987 [Fri, 12 Jul 2019 07:16:55 +0000 (10:16 +0300)]
Hardcode the image into tor-exit-notice.html
teor [Thu, 8 Aug 2019 01:17:46 +0000 (11:17 +1000)]
Merge remote-tracking branch 'tor-github/pr/1044' into maint-0.3.5
Merge changed chutney and stem script lines from 29280 with changed
stem script lines from 30591.
teor [Thu, 8 Aug 2019 01:10:15 +0000 (11:10 +1000)]
Merge branch 'maint-0.2.9' into maint-0.3.5
Merge rust additions in 0.3.5 with sudo deletions in 0.2.9.
teor [Thu, 8 Aug 2019 01:07:11 +0000 (11:07 +1000)]
Merge remote-tracking branch 'tor-github/pr/1156' into maint-0.3.5
teor [Thu, 8 Aug 2019 00:55:24 +0000 (10:55 +1000)]
Merge remote-tracking branch 'tor-github/pr/1155' into maint-0.2.9
teor [Thu, 8 Aug 2019 00:54:12 +0000 (10:54 +1000)]
Merge remote-tracking branch 'tor-github/pr/991' into maint-0.2.9
Nick Mathewson [Tue, 6 Aug 2019 15:15:20 +0000 (11:15 -0400)]
Merge branch 'ticket31343_029' into ticket31343_035
Nick Mathewson [Tue, 6 Aug 2019 15:11:06 +0000 (11:11 -0400)]
Avoid using labs() on time_t in channeltls.c
On some windows builds, time_t is 64 bits but long is not. This is
causing appveyor builds to fail.
Also, one of our uses of labs() on time_t was logically incorrect:
it was telling us to accept NETINFO cells up to three minutes
_before_ the message they were responding to, which doesn't make
sense.
This patch adds a time_abs() function that we should eventually move
to intmath.h or something. For now, though, it will make merges
easier to have it file-local in channeltls.c.
Fixes bug 31343; bugfix on 0.2.4.4-alpha.
Nick Mathewson [Fri, 19 Jul 2019 13:49:52 +0000 (09:49 -0400)]
Set 'routerlist' global to NULL before freeing it.
There is other code that uses this value, and some of it is
apparently reachable from inside router_dir_info_changed(), which
routerlist_free() apparently calls. (ouch!) This is a minimal fix
to try to resolve the issue without causing other problems.
Fixes bug 31003. I'm calling this a bugfix on 0.1.2.2-alpha, where
the call to router_dir_info_changed() was added to routerlist_free().
Nick Mathewson [Fri, 19 Jul 2019 13:21:08 +0000 (09:21 -0400)]
Changes file for bug 31001
Tobias Stoeckmann [Mon, 24 Jun 2019 20:08:49 +0000 (22:08 +0200)]
Prevent UB on signed overflow.
Overflowing a signed integer in C is an undefined behaviour.
It is possible to trigger this undefined behaviour in tor_asprintf on
Windows or systems lacking vasprintf.
On these systems, eiter _vscprintf or vsnprintf is called to retrieve
the required amount of bytes to hold the string. These functions can
return INT_MAX. The easiest way to recreate this is the use of a
specially crafted configuration file, e.g. containing the line:
FirewallPorts AAAAA<in total
2147483610 As>
This line triggers the needed tor_asprintf call which eventually
leads to an INT_MAX return value from _vscprintf or vsnprintf.
The needed byte for \0 is added to the result, triggering the
overflow and therefore the undefined behaviour.
Casting the value to size_t before addition fixes the behaviour.
Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
Nick Mathewson [Mon, 1 Jul 2019 18:25:12 +0000 (14:25 -0400)]
Merge branch 'maint-0.2.9' into maint-0.3.5