]>
git.ipfire.org Git - thirdparty/tor.git/log
teor [Wed, 4 Sep 2019 05:38:58 +0000 (15:38 +1000)]
log: Don't close file log fds that are being used by the err module
Instead, dup() file log fds, before passing them to the err module.
Closes 31613, part of 31594.
teor [Wed, 4 Sep 2019 04:54:08 +0000 (14:54 +1000)]
torerr: Close sigsafe fds on shutdown
And clear the list of error fds.
Part of 31594.
teor [Thu, 5 Sep 2019 04:47:54 +0000 (14:47 +1000)]
Merge branch 'maint-0.3.5' into maint-0.4.0
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 [Thu, 5 Sep 2019 01:42:26 +0000 (11:42 +1000)]
Merge commit '
763fd0ad66 ' into maint-0.4.0
tor-github/pr/1174, but with the last commit re-worded to remove
the fixup, because fixups break our push rules.
George Kadianakis [Mon, 2 Sep 2019 08:38:05 +0000 (11:38 +0300)]
Fix bugfix version in Bug 30649: Changes file.
teor [Fri, 30 Aug 2019 13:33:01 +0000 (23:33 +1000)]
Merge branch 'maint-0.3.5' into maint-0.4.0
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.
George Kadianakis [Tue, 27 Aug 2019 08:49:36 +0000 (11:49 +0300)]
Merge branch 'maint-0.3.5' into maint-0.4.0
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.3.5' into maint-0.4.0
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 [Mon, 12 Aug 2019 03:10:05 +0000 (13:10 +1000)]
Merge branch 'maint-0.3.5' into maint-0.4.0
teor [Sun, 11 Aug 2019 23:55:29 +0000 (09:55 +1000)]
Merge remote-tracking branch 'tor-github/pr/1049' into maint-0.4.0
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:26:21 +0000 (07:26 +1000)]
Merge branch 'maint-0.3.5' into maint-0.4.0
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:46 +0000 (14:05 +1000)]
Merge remote-tracking branch 'tor-github/pr/1081' into maint-0.4.0
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:40 +0000 (09:51 +1000)]
Merge branch 'bug31343_31374_035' into bug31343_31374_040
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:50:50 +0000 (09:50 +1000)]
Merge remote-tracking branch 'tor-github/pr/1211' into test31343_040
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:40:04 +0000 (09:40 -0400)]
Merge branch 'ticket31343_035' into ticket31343_040
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.
teor [Thu, 8 Aug 2019 01:19:38 +0000 (11:19 +1000)]
Merge branch 'maint-0.3.5' into maint-0.4.0
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:11:27 +0000 (11:11 +1000)]
Merge branch 'maint-0.3.5' into maint-0.4.0
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:34 +0000 (11:07 +1000)]
Merge remote-tracking branch 'tor-github/pr/1157' into maint-0.4.0
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:18:40 +0000 (11:18 -0400)]
Merge branch 'ticket31343_035' into ticket31343_040
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.
George Kadianakis [Tue, 11 Jun 2019 11:28:38 +0000 (14:28 +0300)]
circpad: some more logging changes.
- Add an info log when receiving a STOP command.
- Keep warning if we receive padding from a wrong hop.
Mike Perry [Wed, 5 Jun 2019 19:33:39 +0000 (12:33 -0700)]
More LOG_PROTOCOL_WARN.
Make origin-side messages about padding negotiation failure into
LOG_PROTOCOL_WARN.
I'm not sure I like this either.. But the negotiation refusal case might
happen naturally due to consensus drift, and is functionally no different than
a corrupted cell.
Mike Perry [Thu, 30 May 2019 23:20:56 +0000 (16:20 -0700)]
Make some warns into protocol warns
I'm not sure I agree with this option.
Mike Perry [Thu, 30 May 2019 22:18:16 +0000 (15:18 -0700)]
Bug 30649: Changes file.
Mike Perry [Thu, 30 May 2019 22:15:01 +0000 (15:15 -0700)]
Bug 30649: Check that machine is absent before warn
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 [Mon, 1 Jul 2019 18:25:12 +0000 (14:25 -0400)]
Merge branch 'maint-0.3.5' into maint-0.4.0
Nick Mathewson [Mon, 1 Jul 2019 18:25:12 +0000 (14:25 -0400)]
Merge branch 'maint-0.2.9' into maint-0.3.5
teor [Mon, 1 Jul 2019 04:36:15 +0000 (14:36 +1000)]
Merge branch 'chutney_ci_v4_035' into chutney_ci_v4_040
This merge removes an incorrect comment about the stem version
and commit script.
teor [Mon, 1 Jul 2019 04:33:54 +0000 (14:33 +1000)]
Travis: SKIP_MAKE_CHECK="yes" when running stem
And add some comments about stem
Part of 29280.
teor [Mon, 1 Jul 2019 04:31:17 +0000 (14:31 +1000)]
Merge branch 'chutney_ci_v4_029' into chutney_ci_v4_035
teor [Mon, 1 Jul 2019 04:11:25 +0000 (14:11 +1000)]
Travis: remove a redundant os: linux line
Linux is the first item in the os matrix, so we don't need to specify
it under matrix: include: .
Part of 29280.
teor [Mon, 1 Jul 2019 04:10:07 +0000 (14:10 +1000)]
Travis: show the chutney commit and python version
Part of 29280.
teor [Mon, 1 Jul 2019 04:05:26 +0000 (14:05 +1000)]
Travis: show chutney logs on chutney job failure
Part of 29280.
teor [Mon, 1 Jul 2019 03:01:52 +0000 (13:01 +1000)]
Travis: Log stem's TRACE logs to a file, and tail it on failure
Also filter out stem's SocketClosed logs, and fix some nearby comments.
Part of 30591.
teor [Fri, 28 Jun 2019 11:37:37 +0000 (21:37 +1000)]
changes: file for 28795
Replace the 157 fallbacks originally introduced in Tor 0.3.5.6-rc
in December 2018 (of which ~122 were still functional), with a
list of 148 fallbacks (70 new, 78 existing, 79 removed) generated
in June 2019.
Closes ticket 28795.
Note that we created extra lists from DE and US, but they didn't add
any more fallbacks when we tried to merge them.
teor [Fri, 28 Jun 2019 11:16:50 +0000 (21:16 +1000)]
fallback: apply the second fallback list from 2019
Update the fallback directory mirrors by merging the current list with:
fallback_dirs_2019-06-28-08-58-39_AU_f0437a39ddbc8459.inc
Part of 28795, see that ticket for logs.
teor [Fri, 28 Jun 2019 11:04:20 +0000 (21:04 +1000)]
fallback: apply the first fallback list from 2019
Update the fallback directory mirrors by replacing the old list with:
fallback_dirs_2019-06-25-11-49-10_AU_a37adb956fbb5cd2.inc
Part of 28795, see that ticket for logs.
David Goulet [Tue, 18 Jun 2019 17:32:45 +0000 (13:32 -0400)]
guard: Ignore marked for close circuit when changing state to open
When we consider all circuits in "waiting for guard" state to be promoted to
an "open" state, we were considering all circuits, even the one marked for
close.
This ultiamtely triggers a "circuit_has_opened()" called on the circuit that
is marked for close which then leads to possible undesirable behaviors within
a subsystem.
For instance, the HS subsystem would be unable to find the authentication key
of the introduction point circuit leading to a BUG() warning and a duplicate
mark for close on the circuit.
This commit also adds a unit test to make sure we never select marked for
close circuits when upgrading its guard state from waiting for guard to open.
Fixes #30871
Signed-off-by: David Goulet <dgoulet@torproject.org>
Nick Mathewson [Sat, 15 Jun 2019 20:47:16 +0000 (16:47 -0400)]
Fix memleak when failing to parse a CSV_INTERVAL.
Fixes bug 30894; bugfix on 0.3.4.1-alpha
teor [Fri, 14 Jun 2019 02:13:28 +0000 (12:13 +1000)]
Travis: Don't log stem's SocketClosed TRACE logs to the console
And fix some nearby comments.
Part of 30591.
Nick Mathewson [Wed, 27 Feb 2019 12:59:39 +0000 (07:59 -0500)]
Add a chutney mode to travis.yml.
Nick Mathewson [Wed, 27 Feb 2019 12:51:52 +0000 (07:51 -0500)]
Travis: control "make check" with its own flag
Previously we had "make check" launched whenever DISTCHECK was
false. Now we'd like to turn it off in a few other circumstances,
like running chutney. Maybe stem too?
Nick Mathewson [Tue, 11 Jun 2019 14:17:18 +0000 (10:17 -0400)]
Merge branch 'maint-0.3.5' into maint-0.4.0
Nick Mathewson [Tue, 11 Jun 2019 14:17:17 +0000 (10:17 -0400)]
Merge branch 'maint-0.2.9' into maint-0.3.5
Karsten Loesing [Tue, 11 Jun 2019 14:12:50 +0000 (16:12 +0200)]
Update geoip and geoip6 to the June 10 2019 database.