]> git.ipfire.org Git - thirdparty/tor.git/log
thirdparty/tor.git
6 years agoTravis: Skip test_rebind on macOS builds
teor [Mon, 10 Jun 2019 08:59:02 +0000 (18:59 +1000)] 
Travis: Skip test_rebind on macOS builds

Skip test_rebind when the TOR_SKIP_TEST_REBIND environmental variable
is set.

Skip test_rebind on macOS in Travis builds, because it is unreliable
on macOS on Travis.

Fixes bug 30713; bugfix on 0.3.5.1-alpha.

6 years agoMerge branch 'maint-0.3.4' into maint-0.3.5
Nick Mathewson [Fri, 17 May 2019 12:10:16 +0000 (08:10 -0400)] 
Merge branch 'maint-0.3.4' into maint-0.3.5

6 years agoMerge branch 'maint-0.2.9' into maint-0.3.4 maint-0.3.4
Nick Mathewson [Fri, 17 May 2019 12:10:15 +0000 (08:10 -0400)] 
Merge branch 'maint-0.2.9' into maint-0.3.4

6 years agoUpdate geoip and geoip6 to the May 13 2019 database.
Karsten Loesing [Fri, 17 May 2019 06:52:13 +0000 (08:52 +0200)] 
Update geoip and geoip6 to the May 13 2019 database.

6 years agoMerge branch 'bug30475_035' into maint-0.3.5
Nick Mathewson [Wed, 15 May 2019 11:41:34 +0000 (07:41 -0400)] 
Merge branch 'bug30475_035' into maint-0.3.5

6 years agoDon't pass a NULL into a %s when logging client auth file load failure
Nick Mathewson [Fri, 10 May 2019 21:47:43 +0000 (17:47 -0400)] 
Don't pass a NULL into a %s when logging client auth file load failure

Fortunately, in 0.3.5.1-alpha we improved logging for various
failure cases involved with onion service client auth.

Unfortunately, for this one, we freed the file right before logging
its name.

Fortunately, tor_free() sets its pointer to NULL, so we didn't have
a use-after-free bug.

Unfortunately, passing NULL to %s is not defined.

Fortunately, GCC 9.1.1 caught the issue!

Unfortunately, nobody has actually tried building Tor with GCC 9.1.1
before. Or if they had, they didn't report the warning.

Fixes bug 30475; bugfix on 0.3.5.1-alpha.

6 years agoMerge branch 'maint-0.3.4' into maint-0.3.5
teor [Fri, 19 Apr 2019 02:00:41 +0000 (12:00 +1000)] 
Merge branch 'maint-0.3.4' into maint-0.3.5

6 years agoMerge branch 'maint-0.2.9' into maint-0.3.4
teor [Fri, 19 Apr 2019 01:59:18 +0000 (11:59 +1000)] 
Merge branch 'maint-0.2.9' into maint-0.3.4

"ours" merge, to avoid taking any changes from PR 792 in 0.3.4.
(We already merged PR 791 for 29665 into 0.3.4.)

6 years agoMerge remote-tracking branch 'tor-github/pr/710' into maint-0.3.5
teor [Fri, 19 Apr 2019 01:52:48 +0000 (11:52 +1000)] 
Merge remote-tracking branch 'tor-github/pr/710' into maint-0.3.5

6 years agoMerge remote-tracking branch 'tor-github/pr/726' into maint-0.3.5
teor [Fri, 19 Apr 2019 01:51:05 +0000 (11:51 +1000)] 
Merge remote-tracking branch 'tor-github/pr/726' into maint-0.3.5

6 years agoMerge remote-tracking branch 'tor-github/pr/745' into maint-0.3.5
teor [Fri, 19 Apr 2019 01:48:41 +0000 (11:48 +1000)] 
Merge remote-tracking branch 'tor-github/pr/745' into maint-0.3.5

6 years agoMerge remote-tracking branch 'tor-github/pr/947' into maint-0.3.5
teor [Fri, 19 Apr 2019 01:47:50 +0000 (11:47 +1000)] 
Merge remote-tracking branch 'tor-github/pr/947' into maint-0.3.5

6 years agoMerge remote-tracking branch 'tor-github/pr/946' into maint-0.3.4
teor [Fri, 19 Apr 2019 01:47:10 +0000 (11:47 +1000)] 
Merge remote-tracking branch 'tor-github/pr/946' into maint-0.3.4

6 years agoMerge remote-tracking branch 'tor-github/pr/638' into maint-0.3.4
teor [Fri, 19 Apr 2019 01:44:38 +0000 (11:44 +1000)] 
Merge remote-tracking branch 'tor-github/pr/638' into maint-0.3.4

6 years agoMerge remote-tracking branch 'tor-github/pr/791' into maint-0.3.4
teor [Fri, 19 Apr 2019 01:43:46 +0000 (11:43 +1000)] 
Merge remote-tracking branch 'tor-github/pr/791' into maint-0.3.4

6 years agoMerge remote-tracking branch 'tor-github/pr/792' into maint-0.2.9
teor [Fri, 19 Apr 2019 01:42:09 +0000 (11:42 +1000)] 
Merge remote-tracking branch 'tor-github/pr/792' into maint-0.2.9

6 years agoMerge branch 'maint-0.2.9' into maint-0.3.4
teor [Fri, 19 Apr 2019 01:39:17 +0000 (11:39 +1000)] 
Merge branch 'maint-0.2.9' into maint-0.3.4

"ours" merge, to avoid taking any changes from PR 772 in 0.3.4.
(We already merged a different fix for 23790 into 0.3.2 and later.)

6 years agoMerge remote-tracking branch 'tor-github/pr/772' into maint-0.2.9
teor [Fri, 19 Apr 2019 01:38:52 +0000 (11:38 +1000)] 
Merge remote-tracking branch 'tor-github/pr/772' into maint-0.2.9

6 years agoMerge branch 'rust-panic1-034' into rust-panic1-035
teor [Mon, 15 Apr 2019 00:18:01 +0000 (10:18 +1000)] 
Merge branch 'rust-panic1-034' into rust-panic1-035

Trivial merge: a blank line was removed between 0.3.4 and 0.3.5.

6 years agoMerge branch 'rust-panic1' into rust-panic1-034
teor [Mon, 15 Apr 2019 00:15:02 +0000 (10:15 +1000)] 
Merge branch 'rust-panic1' into rust-panic1-034

6 years agochanges: file for 30117
teor [Thu, 11 Apr 2019 02:17:04 +0000 (12:17 +1000)] 
changes: file for 30117

6 years agoTravis: expand "make test-stem", so timelimit can signal python on timeout
teor [Thu, 11 Apr 2019 02:11:03 +0000 (12:11 +1000)] 
Travis: expand "make test-stem", so timelimit can signal python on timeout

Unlike kill, timelimit can only signal the process it launches. So we need
timelimit to launch python, not make.

Closes ticket 30117; diagnostic for 29437.

6 years agoTravis: use stem backtrace signals with timelimit
teor [Wed, 10 Apr 2019 11:15:04 +0000 (21:15 +1000)] 
Travis: use stem backtrace signals with timelimit

Part of 30117.

6 years agoActually I believe this should be an EINVAL.
Nick Mathewson [Tue, 9 Apr 2019 17:49:10 +0000 (13:49 -0400)] 
Actually I believe this should be an EINVAL.

6 years agoDetect and suppress an additional gmtime() warning in test_util.c
Nick Mathewson [Mon, 8 Apr 2019 21:02:14 +0000 (17:02 -0400)] 
Detect and suppress an additional gmtime() warning in test_util.c

Fixes bug 29922; bugfix on 0.2.9.3-alpha when we tried to capture
all these warnings.  No need to backport any farther than 0.3.5,
though -- these warnings don't cause test failures before then.

This one was tricky to find because apparently it only happened on
_some_ windows builds.

6 years agoMerge branch 'maint-0.3.4' into maint-0.3.5
teor [Fri, 5 Apr 2019 23:33:20 +0000 (09:33 +1000)] 
Merge branch 'maint-0.3.4' into maint-0.3.5

6 years agoMerge branch 'maint-0.2.9' into maint-0.3.4
teor [Fri, 5 Apr 2019 23:33:11 +0000 (09:33 +1000)] 
Merge branch 'maint-0.2.9' into maint-0.3.4

6 years agoMerge remote-tracking branch 'tor-github/pr/898' into maint-0.3.5
teor [Fri, 5 Apr 2019 23:32:53 +0000 (09:32 +1000)] 
Merge remote-tracking branch 'tor-github/pr/898' into maint-0.3.5

6 years agoMerge remote-tracking branch 'tor-github/pr/903' into maint-0.3.5
teor [Fri, 5 Apr 2019 23:31:52 +0000 (09:31 +1000)] 
Merge remote-tracking branch 'tor-github/pr/903' into maint-0.3.5

6 years agoMerge remote-tracking branch 'tor-github/pr/879' into maint-0.3.5
teor [Fri, 5 Apr 2019 23:30:52 +0000 (09:30 +1000)] 
Merge remote-tracking branch 'tor-github/pr/879' into maint-0.3.5

6 years agoMerge remote-tracking branch 'tor-github/pr/878' into maint-0.3.4
teor [Fri, 5 Apr 2019 23:30:04 +0000 (09:30 +1000)] 
Merge remote-tracking branch 'tor-github/pr/878' into maint-0.3.4

6 years agoMerge remote-tracking branch 'tor-github/pr/902' into maint-0.2.9
teor [Fri, 5 Apr 2019 23:28:58 +0000 (09:28 +1000)] 
Merge remote-tracking branch 'tor-github/pr/902' into maint-0.2.9

6 years agoMerge remote-tracking branch 'tor-github/pr/877' into maint-0.2.9
teor [Fri, 5 Apr 2019 23:28:13 +0000 (09:28 +1000)] 
Merge remote-tracking branch 'tor-github/pr/877' into maint-0.2.9

6 years agoMerge branch 'bug29036-29962-034' into bug29036-29962-035
teor [Fri, 5 Apr 2019 02:58:32 +0000 (12:58 +1000)] 
Merge branch 'bug29036-29962-034' into bug29036-29962-035

6 years agoMerge branch 'bug29036-029' into bug29036-29962-034
teor [Fri, 5 Apr 2019 02:58:16 +0000 (12:58 +1000)] 
Merge branch 'bug29036-029' into bug29036-29962-034

6 years agoMakefile: actually, don't delete the gcno files
teor [Fri, 5 Apr 2019 02:56:29 +0000 (12:56 +1000)] 
Makefile: actually, don't delete the gcno files

We need to keep the gcno files, because they are created at compile time.

6 years agoMerge branch 'bug30021_029' into bug30021_035
Nick Mathewson [Thu, 4 Apr 2019 15:26:33 +0000 (11:26 -0400)] 
Merge branch 'bug30021_029' into bug30021_035

6 years agoDo not cache bogus results from classifying client ciphers
Nick Mathewson [Thu, 4 Apr 2019 15:24:55 +0000 (11:24 -0400)] 
Do not cache bogus results from classifying client ciphers

When classifying a client's selection of TLS ciphers, if the client
ciphers are not yet available, do not cache the result. Previously,
we had cached the unavailability of the cipher list and never looked
again, which in turn led us to assume that the client only supported
the ancient V1 link protocol.  This, in turn, was causing Stem
integration tests to stall in some cases.  Fixes bug 30021; bugfix
on 0.2.4.8-alpha.

6 years agoTravis: Terminate test-stem if it takes more than 9.5 minutes to run
teor [Thu, 4 Apr 2019 03:02:13 +0000 (13:02 +1000)] 
Travis: Terminate test-stem if it takes more than 9.5 minutes to run

(Travis terminates the job after 10 minutes of no output.)

Diagnostic for 29437.

Fixes bug 30011; bugfix on 0.3.5.4-alpha.

6 years agoMerge branch 'maint-0.3.4' into maint-0.3.5
Nick Mathewson [Wed, 3 Apr 2019 13:27:43 +0000 (09:27 -0400)] 
Merge branch 'maint-0.3.4' into maint-0.3.5

6 years agoMerge branch 'maint-0.2.9' into maint-0.3.4
Nick Mathewson [Wed, 3 Apr 2019 13:27:42 +0000 (09:27 -0400)] 
Merge branch 'maint-0.2.9' into maint-0.3.4

6 years agoUpdate geoip and geoip6 to the April 2 2019 database.
Karsten Loesing [Wed, 3 Apr 2019 07:26:28 +0000 (09:26 +0200)] 
Update geoip and geoip6 to the April 2 2019 database.

6 years agoMerge branch 'maint-0.3.4' into maint-0.3.5
teor [Tue, 2 Apr 2019 01:45:22 +0000 (11:45 +1000)] 
Merge branch 'maint-0.3.4' into maint-0.3.5

6 years agoMerge branch 'maint-0.2.9' into maint-0.3.4
teor [Tue, 2 Apr 2019 01:45:13 +0000 (11:45 +1000)] 
Merge branch 'maint-0.2.9' into maint-0.3.4

6 years agoMerge branch 'bug29036-29962-034' into bug29036-29962-035
teor [Mon, 1 Apr 2019 04:11:20 +0000 (14:11 +1000)] 
Merge branch 'bug29036-29962-034' into bug29036-29962-035

Merge the moved coverage line from 29036 with the stem changes in
maint-0.3.5.

6 years agoTravis: merge before_cache from 29036 and 29962
teor [Mon, 1 Apr 2019 04:05:14 +0000 (14:05 +1000)] 
Travis: merge before_cache from 29036 and 29962

And add some useful comments

6 years agoAdd changes file
rl1987 [Sun, 31 Mar 2019 14:23:34 +0000 (17:23 +0300)] 
Add changes file

6 years agoCleanup cargo registry before each Rust-enabled build
rl1987 [Sun, 31 Mar 2019 13:58:32 +0000 (16:58 +0300)] 
Cleanup cargo registry before each Rust-enabled build

Also, refrain from caching target/.

See: https://levans.fr/rust_travis_cache.html

6 years agoMerge branch 'bug29036-029' into bug29036-29962-034
teor [Mon, 1 Apr 2019 04:07:58 +0000 (14:07 +1000)] 
Merge branch 'bug29036-029' into bug29036-29962-034

6 years agoMakefile: delete all the gcov-related files in reset-gcov
teor [Mon, 1 Apr 2019 03:49:27 +0000 (13:49 +1000)] 
Makefile: delete all the gcov-related files in reset-gcov

And fix a comment.

See:
https://gcc.gnu.org/onlinedocs/gcc/Gcov-Data-Files.html#Gcov-Data-Files

6 years agochanges: Use the first Tor version with CI coverage for the 29036 changes file
teor [Mon, 1 Apr 2019 03:40:16 +0000 (13:40 +1000)] 
changes: Use the first Tor version with CI coverage for the 29036 changes file

Otherwise, "make check-changes" will complain when we backport the change.

6 years agoMerge branch 'maint-0.3.4' into maint-0.3.5
teor [Wed, 27 Mar 2019 00:02:40 +0000 (10:02 +1000)] 
Merge branch 'maint-0.3.4' into maint-0.3.5

6 years agoMerge remote-tracking branch 'tor-github/pr/820' into maint-0.3.4
teor [Wed, 27 Mar 2019 00:01:45 +0000 (10:01 +1000)] 
Merge remote-tracking branch 'tor-github/pr/820' into maint-0.3.4

6 years agotest: Backport the 0.3.4 src/test/test-network.sh to 0.2.9
teor [Fri, 22 Mar 2019 03:20:23 +0000 (13:20 +1000)] 
test: Backport the 0.3.4 src/test/test-network.sh to 0.2.9

We need a recent test-network.sh to use new chutney features in CI.

Fixes bug 29703; bugfix on 0.2.9.1-alpha.

6 years agotest/dir: add an extra argument to dirserv_read_measured_bandwidths()
teor [Thu, 21 Mar 2019 02:56:28 +0000 (12:56 +1000)] 
test/dir: add an extra argument to dirserv_read_measured_bandwidths()

Part of 29806.

6 years agoMerge branch 'ticket29806_034_squashed' into ticket29806_035_squashed_merged
teor [Thu, 21 Mar 2019 02:04:30 +0000 (12:04 +1000)] 
Merge branch 'ticket29806_034_squashed' into ticket29806_035_squashed_merged

Copy and paste the vote=0 code from the old src/or/dirserv.c
to the new src/feature/dirauth/bwauth.c.

6 years agobwauth: Ignore bandwidth file lines with "vote=0"
juga0 [Tue, 19 Mar 2019 11:48:42 +0000 (11:48 +0000)] 
bwauth: Ignore bandwidth file lines with "vote=0"

so that the relays that would be "excluded" from the bandwidth
file because of something failed can be included to diagnose what
failed, without still including these relays in the bandwidth
authorities vote.

Closes #29806.

6 years agoHandle errors from coveralls more gracefully.
Alexander Færøy [Wed, 20 Mar 2019 14:44:06 +0000 (15:44 +0100)] 
Handle errors from coveralls more gracefully.

Since we have moved coveralls to the script target the entire build will
now fail if coveralls fail. We handle it more gracefully by echo'ing the
failure instead of doing a hard-failure.

See: https://bugs.torproject.org/29036

6 years agoRun `make reset-gcov` after the script target in Travis CI is done.
Alexander Færøy [Mon, 18 Mar 2019 14:27:14 +0000 (15:27 +0100)] 
Run `make reset-gcov` after the script target in Travis CI is done.

This should ensure that GCDA files are never entering the cache of
Travis CI.

See: https://bugs.torproject.org/29036

6 years agoMerge branch 'maint-0.3.4' into maint-0.3.5
teor [Tue, 19 Mar 2019 23:48:03 +0000 (09:48 +1000)] 
Merge branch 'maint-0.3.4' into maint-0.3.5

6 years agoMerge branch 'maint-0.2.9' into maint-0.3.4
teor [Tue, 19 Mar 2019 23:47:55 +0000 (09:47 +1000)] 
Merge branch 'maint-0.2.9' into maint-0.3.4

6 years agoMerge remote-tracking branch 'tor-github/pr/798' into maint-0.3.5
teor [Tue, 19 Mar 2019 23:47:31 +0000 (09:47 +1000)] 
Merge remote-tracking branch 'tor-github/pr/798' into maint-0.3.5

6 years agoMerge remote-tracking branch 'tor-github/pr/774' into maint-0.2.9
teor [Tue, 19 Mar 2019 23:46:10 +0000 (09:46 +1000)] 
Merge remote-tracking branch 'tor-github/pr/774' into maint-0.2.9

6 years agoMerge remote-tracking branch 'tor-github/pr/727' into maint-0.3.5
teor [Tue, 19 Mar 2019 05:43:05 +0000 (15:43 +1000)] 
Merge remote-tracking branch 'tor-github/pr/727' into maint-0.3.5

6 years agotest/sr: update sr_state_free() to sr_state_free_all() in a comment
teor [Mon, 18 Mar 2019 01:28:34 +0000 (11:28 +1000)] 
test/sr: update sr_state_free() to sr_state_free_all() in a comment

6 years agoMerge branch 'bug29706_029_minimal' into bug29706_034_minimal_merge
teor [Mon, 18 Mar 2019 01:27:59 +0000 (11:27 +1000)] 
Merge branch 'bug29706_029_minimal' into bug29706_034_minimal_merge

6 years agotest/sr: Clear SRVs after init, and before setup
teor [Mon, 18 Mar 2019 01:12:25 +0000 (11:12 +1000)] 
test/sr: Clear SRVs after init, and before setup

Already merged to 0.4.0 and later in tor-github/pr/776.
Backported to 0.2.9 and later with minor comment changes.

Part of 29706.

6 years agoStop logging a BUG() warning when tor is waiting for exit descriptors
teor [Tue, 5 Mar 2019 02:53:14 +0000 (12:53 +1000)] 
Stop logging a BUG() warning when tor is waiting for exit descriptors

Fixes bug 28656; bugfix on 0.3.5.1-alpha.

6 years agorelays shouldn't close idle rend circuits
Roger Dingledine [Sat, 9 Mar 2019 08:18:25 +0000 (03:18 -0500)] 
relays shouldn't close idle rend circuits

Allow connections to single onion services to remain idle without being
disconnected.

Relays acting as rendezvous points for single onion services were
mistakenly closing idle established rendezvous circuits after 60 seconds,
thinking that they are unused directory-fetching circuits that had served
their purpose.

Fixes bug 29665; bugfix on 0.2.1.26.

6 years agorelays shouldn't close idle rend circuits
Roger Dingledine [Sat, 9 Mar 2019 07:55:28 +0000 (02:55 -0500)] 
relays shouldn't close idle rend circuits

Allow connections to single onion services to remain idle without being
disconnected.

Relays acting as rendezvous points for single onion services were
mistakenly closing idle established rendezvous circuits after 60 seconds,
thinking that they are unused directory-fetching circuits that had served
their purpose.

Fixes bug 29665; bugfix on 0.2.1.26.

6 years agoMerge branch 'maint-0.3.4' into maint-0.3.5
teor [Wed, 13 Mar 2019 20:59:09 +0000 (06:59 +1000)] 
Merge branch 'maint-0.3.4' into maint-0.3.5

"ours" merge to ignore the changes to src/common/compat.c,
they have already been merged to 0.3.5 in the correct file.

6 years agoMerge branch 'maint-0.2.9' into maint-0.3.4
teor [Wed, 13 Mar 2019 20:56:38 +0000 (06:56 +1000)] 
Merge branch 'maint-0.2.9' into maint-0.3.4

6 years agoMerge remote-tracking branch 'tor-github/pr/795' into maint-0.3.4
teor [Wed, 13 Mar 2019 20:56:09 +0000 (06:56 +1000)] 
Merge remote-tracking branch 'tor-github/pr/795' into maint-0.3.4

6 years agoMerge remote-tracking branch 'tor-github/pr/794' into maint-0.3.4
teor [Wed, 13 Mar 2019 20:55:57 +0000 (06:55 +1000)] 
Merge remote-tracking branch 'tor-github/pr/794' into maint-0.3.4

6 years agoMerge branch 'bug28096-029-squashed' into bug28096-034-squashed
teor [Wed, 13 Mar 2019 20:53:17 +0000 (06:53 +1000)] 
Merge branch 'bug28096-029-squashed' into bug28096-034-squashed

Merge the new code, and preserve the #else macro comment from 0.3.4.

6 years agoMerge remote-tracking branch 'nickm/bug27073_029' into bug27073_034
teor [Wed, 13 Mar 2019 20:47:32 +0000 (06:47 +1000)] 
Merge remote-tracking branch 'nickm/bug27073_029' into bug27073_034

Replace == with OP_EQ in test macros.

6 years agoMerge remote-tracking branch 'tor-github/pr/771' into maint-0.3.4
teor [Wed, 13 Mar 2019 20:41:14 +0000 (06:41 +1000)] 
Merge remote-tracking branch 'tor-github/pr/771' into maint-0.3.4

6 years agoMerge remote-tracking branch 'tor-github/pr/770' into maint-0.2.9
teor [Wed, 13 Mar 2019 20:37:50 +0000 (06:37 +1000)] 
Merge remote-tracking branch 'tor-github/pr/770' into maint-0.2.9

6 years agoMerge remote-tracking branch 'tor-github/pr/765' into maint-0.2.9
teor [Wed, 13 Mar 2019 20:37:17 +0000 (06:37 +1000)] 
Merge remote-tracking branch 'tor-github/pr/765' into maint-0.2.9

6 years agoMerge remote-tracking branch 'tor-github/pr/746' into maint-0.2.9
teor [Wed, 13 Mar 2019 20:36:47 +0000 (06:36 +1000)] 
Merge remote-tracking branch 'tor-github/pr/746' into maint-0.2.9

6 years agoMerge remote-tracking branch 'tor-github/pr/510' into maint-0.2.9
teor [Wed, 13 Mar 2019 20:36:11 +0000 (06:36 +1000)] 
Merge remote-tracking branch 'tor-github/pr/510' into maint-0.2.9

6 years agoMerge remote-tracking branch 'tor-github/pr/331' into maint-0.2.9
teor [Wed, 13 Mar 2019 20:35:05 +0000 (06:35 +1000)] 
Merge remote-tracking branch 'tor-github/pr/331' into maint-0.2.9

6 years agotest/sr: Free SRVs before replacing them in test_sr_setup_srv()
teor [Sat, 9 Mar 2019 00:50:07 +0000 (10:50 +1000)] 
test/sr: Free SRVs before replacing them in test_sr_setup_srv()

Stop leaking parts of the shared random state in the shared-random unit
tests. The previous fix in 29599 was incomplete.

Fixes bug 29706; bugfix on 0.2.9.1-alpha.

6 years agohs-v2: Copy needed information between service on prunning
David Goulet [Fri, 8 Mar 2019 14:54:54 +0000 (09:54 -0500)] 
hs-v2: Copy needed information between service on prunning

Turns out that when reloading a tor configured with hidden service(s), we
weren't copying all the needed information between the old service object to
the new one.

For instance, the desc_is_dirty timestamp wasn't which could lead to the
service uploading its descriptor much later than it would need to.

The replaycache wasn't also moved over and some intro point information as
well.

Fixes #23790

Signed-off-by: David Goulet <dgoulet@torproject.org>
6 years agoMerge branch 'bug23512-v4-029-fixes-keep-typedef' into bug23512-v4-034-fixes
teor [Fri, 8 Mar 2019 09:37:18 +0000 (19:37 +1000)] 
Merge branch 'bug23512-v4-029-fixes-keep-typedef' into bug23512-v4-034-fixes

6 years agoMerge remote-tracking branch 'tor-github/pr/733' into maint-0.3.5
teor [Fri, 8 Mar 2019 04:11:14 +0000 (14:11 +1000)] 
Merge remote-tracking branch 'tor-github/pr/733' into maint-0.3.5

6 years agoMerge branch 'maint-0.3.4' into maint-0.3.5
Nick Mathewson [Wed, 6 Mar 2019 19:29:38 +0000 (14:29 -0500)] 
Merge branch 'maint-0.3.4' into maint-0.3.5

6 years agoMerge branch 'maint-0.3.3' into maint-0.3.4
Nick Mathewson [Wed, 6 Mar 2019 19:29:33 +0000 (14:29 -0500)] 
Merge branch 'maint-0.3.3' into maint-0.3.4

6 years agoMerge branch 'maint-0.2.9' into maint-0.3.3 maint-0.3.3
Nick Mathewson [Wed, 6 Mar 2019 19:29:29 +0000 (14:29 -0500)] 
Merge branch 'maint-0.2.9' into maint-0.3.3

6 years agoUpdate geoip and geoip6 to the March 4 2019 database.
Karsten Loesing [Wed, 6 Mar 2019 10:45:27 +0000 (11:45 +0100)] 
Update geoip and geoip6 to the March 4 2019 database.

6 years agoMerge branch 'maint-0.3.4' into maint-0.3.5
teor [Fri, 1 Mar 2019 04:16:59 +0000 (14:16 +1000)] 
Merge branch 'maint-0.3.4' into maint-0.3.5

6 years agoMerge branch 'maint-0.3.3' into maint-0.3.4
teor [Fri, 1 Mar 2019 04:16:22 +0000 (14:16 +1000)] 
Merge branch 'maint-0.3.3' into maint-0.3.4

6 years agoMerge branch 'maint-0.2.9' into maint-0.3.3
teor [Fri, 1 Mar 2019 04:15:59 +0000 (14:15 +1000)] 
Merge branch 'maint-0.2.9' into maint-0.3.3

6 years agoMerge remote-tracking branch 'tor-github/pr/749' into maint-0.2.9
teor [Fri, 1 Mar 2019 04:15:00 +0000 (14:15 +1000)] 
Merge remote-tracking branch 'tor-github/pr/749' into maint-0.2.9

6 years agoMerge remote-tracking branch 'tor-github/pr/748' into maint-0.2.9
teor [Fri, 1 Mar 2019 04:14:51 +0000 (14:14 +1000)] 
Merge remote-tracking branch 'tor-github/pr/748' into maint-0.2.9

6 years agoMerge remote-tracking branch 'tor-github/pr/747' into maint-0.2.9
teor [Fri, 1 Mar 2019 04:14:26 +0000 (14:14 +1000)] 
Merge remote-tracking branch 'tor-github/pr/747' into maint-0.2.9

6 years agoBug 25733: Avoid assert failure if all circuits time out.
Mike Perry [Mon, 16 Apr 2018 22:49:27 +0000 (22:49 +0000)] 
Bug 25733: Avoid assert failure if all circuits time out.

Prior to #23100, we were not counting HS circuit build times in our
calculation of the timeout. This could lead to a condition where our timeout
was set too low, based on non HS circuit build times, and then we would
abandon all HS circuits, storing no valid timeouts in the histogram.

This commit avoids the assert.

6 years agoLog the correct "auto" port number for listening sockets
Kris Katterjohn [Mon, 21 Jan 2019 19:12:53 +0000 (13:12 -0600)] 
Log the correct "auto" port number for listening sockets

When "auto" was used for the port number for a listening socket, the
message logged after opening the socket would incorrectly say port 0
instead of the actual port used.

Fixes bug 29144; bugfix on 0.3.5.1-alpha

Signed-off-by: Kris Katterjohn <katterjohn@gmail.com>
6 years agoMerge branch 'maint-0.3.4' into maint-0.3.5
teor [Thu, 28 Feb 2019 00:49:33 +0000 (10:49 +1000)] 
Merge branch 'maint-0.3.4' into maint-0.3.5

6 years agoMerge branch 'maint-0.3.3' into maint-0.3.4
teor [Thu, 28 Feb 2019 00:49:19 +0000 (10:49 +1000)] 
Merge branch 'maint-0.3.3' into maint-0.3.4