]>
git.ipfire.org Git - thirdparty/tor.git/log
Nick Mathewson [Thu, 8 Nov 2018 14:02:03 +0000 (09:02 -0500)]
Copy changelog to maint-0.3.5 so master will get it.
Nick Mathewson [Thu, 8 Nov 2018 14:00:59 +0000 (09:00 -0500)]
Bump version to 0.3.5.4-alpha-dev.
Nick Mathewson [Wed, 7 Nov 2018 21:27:20 +0000 (16:27 -0500)]
Make the hibernate.c changes for systemd compile.
Nick Mathewson [Wed, 7 Nov 2018 19:40:26 +0000 (14:40 -0500)]
Bump to 0.3.5.4-alpha
Nick Mathewson [Wed, 7 Nov 2018 16:16:52 +0000 (11:16 -0500)]
Merge remote-tracking branch 'teor/ticket28318-035' into maint-0.3.5
Nick Mathewson [Tue, 6 Nov 2018 20:21:45 +0000 (15:21 -0500)]
Merge remote-tracking branch 'tor-github/pr/474' into maint-0.3.5
Nick Mathewson [Tue, 6 Nov 2018 20:19:04 +0000 (15:19 -0500)]
Merge remote-tracking branch 'tor-github/pr/484' into maint-0.3.5
Nick Mathewson [Tue, 6 Nov 2018 20:17:19 +0000 (15:17 -0500)]
Add a changes file for bug 28303
Kris Katterjohn [Sat, 3 Nov 2018 19:28:27 +0000 (14:28 -0500)]
Include sys/time.h in timers.c and time_fmt.c
This fixes compilation on OpenBSD.
Signed-off-by: Kris Katterjohn <katterjohn@gmail.com>
Roger Dingledine [Sun, 4 Nov 2018 12:30:46 +0000 (07:30 -0500)]
refuse to start with relative paths + RunAsDaemon
Resume refusing to start with relative file paths and RunAsDaemon
set (regression from the fix for bug 22731).
Fixes bug 28298; bugfix on 0.3.3.1-alpha.
Nick Mathewson [Tue, 6 Nov 2018 12:42:55 +0000 (07:42 -0500)]
Merge branch 'bug28348_034' into bug28348_035
Nick Mathewson [Tue, 6 Nov 2018 12:40:02 +0000 (07:40 -0500)]
Actually disable NEED_NET periodic events when DisableNetwork is set
Fixes bug 28348; bugfix on 0.3.4.1-alpha
teor [Mon, 5 Nov 2018 06:21:58 +0000 (16:21 +1000)]
Appveyor: Add Windows Server 2016 to tor's build matrix
Build tor on Windows Server 2012 R2 and Windows Server 2016 using
Appveyor's CI.
Closes ticket 28318.
teor [Mon, 5 Nov 2018 01:23:55 +0000 (11:23 +1000)]
systemd: allow tor some time to shut down after ShutdownWaitLength expires
This commit upstreams the Debian package setting of 60 seconds for
TimeoutStopSec, but applies it to startup and shutdown.
Part of 28113.
Alex Xu (Hello71) [Thu, 18 Oct 2018 23:54:49 +0000 (19:54 -0400)]
Notify systemd of ShutdownWaitLength
Nick Mathewson [Fri, 2 Nov 2018 17:14:32 +0000 (13:14 -0400)]
Merge branch 'bug27968_squashed' into maint-0.3.5
teor [Mon, 22 Oct 2018 02:31:32 +0000 (12:31 +1000)]
Sort the imports in test_rebind.py
Cleanup after #27968.
teor [Sat, 6 Oct 2018 21:10:37 +0000 (16:10 -0500)]
Make test_rebind.py timeout when waiting for a log message
Closes #27968.
teor [Sat, 6 Oct 2018 21:09:20 +0000 (16:09 -0500)]
Refactor test_rebind.py to consistently print FAIL on failure
Part of #27968.
teor [Sat, 6 Oct 2018 21:05:04 +0000 (16:05 -0500)]
Avoid a race condition in test_rebind.py
If tor terminates due to SIGNAL HALT before test_rebind.py calls
tor_process.terminate(), an OSError 3 (no such process) is thrown.
Fixes part of bug 27968 on 0.3.5.1-alpha.
Nick Mathewson [Fri, 2 Nov 2018 17:01:53 +0000 (13:01 -0400)]
Merge branch 'maint-0.3.4' into maint-0.3.5
"ours" merge to avoid version bump.
Nick Mathewson [Fri, 2 Nov 2018 17:01:32 +0000 (13:01 -0400)]
Bump to 0.3.4.9-dev
Nick Mathewson [Fri, 2 Nov 2018 15:28:49 +0000 (11:28 -0400)]
forward-port 0.3.4.9 changelog and releasenotes
Nick Mathewson [Fri, 2 Nov 2018 13:39:13 +0000 (09:39 -0400)]
Merge branch 'bug27963_wallclock' into maint-0.3.5
Nick Mathewson [Fri, 2 Nov 2018 13:08:53 +0000 (09:08 -0400)]
Merge branch 'maint-0.3.4' into maint-0.3.5
"ours" to avoid version bump.
Nick Mathewson [Fri, 2 Nov 2018 13:08:45 +0000 (09:08 -0400)]
Bump to 0.3.4.9
Nick Mathewson [Fri, 2 Nov 2018 13:06:38 +0000 (09:06 -0400)]
Merge branch 'maint-0.3.4' into maint-0.3.5
Nick Mathewson [Fri, 2 Nov 2018 13:06:37 +0000 (09:06 -0400)]
Merge branch 'maint-0.3.3' into maint-0.3.4
Nick Mathewson [Fri, 2 Nov 2018 13:06:32 +0000 (09:06 -0400)]
Merge branch 'bug26470_032' into maint-0.3.3
Nick Mathewson [Fri, 2 Nov 2018 13:05:18 +0000 (09:05 -0400)]
Merge branch 'maint-0.3.4' into maint-0.3.5
Nick Mathewson [Fri, 2 Nov 2018 13:05:14 +0000 (09:05 -0400)]
Merge branch 'bug26896_034' into maint-0.3.4
Nick Mathewson [Fri, 2 Nov 2018 13:04:25 +0000 (09:04 -0400)]
Merge branch 'maint-0.3.4' into maint-0.3.5
Nick Mathewson [Fri, 2 Nov 2018 13:04:25 +0000 (09:04 -0400)]
Merge branch 'maint-0.3.3' into maint-0.3.4
Nick Mathewson [Fri, 2 Nov 2018 13:04:20 +0000 (09:04 -0400)]
Merge remote-tracking branch 'dgoulet/ticket27410_032_01' into maint-0.3.3
Nick Mathewson [Wed, 31 Oct 2018 15:02:58 +0000 (11:02 -0400)]
Merge branch 'maint-0.3.4' into maint-0.3.5
Nick Mathewson [Wed, 31 Oct 2018 15:01:41 +0000 (11:01 -0400)]
Merge branch 'maint-0.3.3' into maint-0.3.4
Nick Mathewson [Wed, 31 Oct 2018 15:01:40 +0000 (11:01 -0400)]
Merge branch 'maint-0.2.9' into maint-0.3.3
Nick Mathewson [Wed, 31 Oct 2018 15:01:36 +0000 (11:01 -0400)]
Merge remote-tracking branch 'tor-github/pr/436' into maint-0.2.9
David Goulet [Tue, 30 Oct 2018 15:43:54 +0000 (11:43 -0400)]
Merge branch 'tor-github/pr/438' into maint-0.3.5
David Goulet [Tue, 30 Oct 2018 15:36:36 +0000 (11:36 -0400)]
Merge branch 'tor-github/pr/415' into maint-0.3.5
David Goulet [Tue, 30 Oct 2018 15:28:53 +0000 (11:28 -0400)]
hs-v3: Add changes file for 28026
Signed-off-by: David Goulet <dgoulet@torproject.org>
Mike Tigas [Fri, 12 Oct 2018 21:15:11 +0000 (17:15 -0400)]
tweak manpage bits about v3 onion svc client auth
make a couple things more explicit, like not needing to set "HiddenServiceAuthorizeClient" & etc
Neel Chauhan [Wed, 24 Oct 2018 16:20:28 +0000 (12:20 -0400)]
Add changes file for Bug #28127
Neel Chauhan [Wed, 24 Oct 2018 16:20:10 +0000 (12:20 -0400)]
Add test for HiddenServiceAuthorizeClient and v3 onion services
Neel Chauhan [Wed, 24 Oct 2018 16:19:42 +0000 (12:19 -0400)]
Detect the onion service version and then check for invalid options unless we have set HiddenServiceVersion
Nick Mathewson [Tue, 30 Oct 2018 13:35:11 +0000 (09:35 -0400)]
Merge branch 'maint-0.3.4' into maint-0.3.5
Nick Mathewson [Tue, 30 Oct 2018 13:35:07 +0000 (09:35 -0400)]
Merge remote-tracking branch 'tor-github/pr/431' into maint-0.3.5
Nick Mathewson [Tue, 30 Oct 2018 13:34:04 +0000 (09:34 -0400)]
Merge branch 'maint-0.3.3' into maint-0.3.4
Nick Mathewson [Tue, 30 Oct 2018 13:33:36 +0000 (09:33 -0400)]
Merge remote-tracking branch 'tor-github/pr/346' into maint-0.3.3
Nick Mathewson [Tue, 30 Oct 2018 12:45:35 +0000 (08:45 -0400)]
Add a changes file for Alex Crichton's rust fixes.
Nick Mathewson [Tue, 30 Oct 2018 12:39:57 +0000 (08:39 -0400)]
Merge remote-tracking branch 'tor-github/pr/381' into maint-0.3.5
Nick Mathewson [Mon, 29 Oct 2018 19:59:06 +0000 (15:59 -0400)]
Merge branch '27913_rebased_035' into maint-0.3.5
Nick Mathewson [Mon, 29 Oct 2018 19:57:31 +0000 (15:57 -0400)]
Merge branch 'maint-0.3.3' into maint-0.3.4
Nick Mathewson [Mon, 29 Oct 2018 19:57:31 +0000 (15:57 -0400)]
Merge branch 'maint-0.3.4' into maint-0.3.5
rl1987 [Fri, 19 Oct 2018 18:40:12 +0000 (21:40 +0300)]
Make sure we're not running distcheck and test-stem on the same CI job
rl1987 [Fri, 19 Oct 2018 18:19:39 +0000 (21:19 +0300)]
Log stem commit id
rl1987 [Fri, 19 Oct 2018 15:30:33 +0000 (18:30 +0300)]
Try putting stem repo cloning into install part of config
Also print stem version when we have it downloaded
rl1987 [Tue, 16 Oct 2018 10:11:42 +0000 (13:11 +0300)]
Save time in CI test-stem job
When running `make test-stem` on Travis, we should refrain from
also running `make check`. Furthermore, let's limit compilation
to src/app/tor target.
rl1987 [Fri, 12 Oct 2018 08:02:58 +0000 (11:02 +0300)]
Add changes file
rl1987 [Sun, 7 Oct 2018 15:41:05 +0000 (18:41 +0300)]
Try running test-stem on travis
Alex Crichton [Mon, 29 Oct 2018 17:00:23 +0000 (10:00 -0700)]
Only pass `-C default-linker-libraries` with sanitizers
This'll help retain test compatibility until 1.31.0 is released!
Nick Mathewson [Thu, 25 Oct 2018 13:15:53 +0000 (09:15 -0400)]
Merge branch 'bug28202_033' into bug28202_035
Nick Mathewson [Thu, 25 Oct 2018 13:14:06 +0000 (09:14 -0400)]
Merge branch 'bug28202_029' into bug28202_033
Nick Mathewson [Thu, 25 Oct 2018 13:08:02 +0000 (09:08 -0400)]
Fix two other cases of (buf + N > end) pattern
Related to fix for 28202.
Nick Mathewson [Thu, 25 Oct 2018 13:06:13 +0000 (09:06 -0400)]
Fix possible UB in an end-of-string check in get_next_token().
Remember, you can't check to see if there are N bytes left in a
buffer by doing (buf + N < end), since the buf + N computation might
take you off the end of the buffer and result in undefined behavior.
Fixes 28202; bugfix on 0.2.0.3-alpha.
Nick Mathewson [Wed, 24 Oct 2018 16:57:14 +0000 (12:57 -0400)]
Merge branch 'maint-0.3.4' into maint-0.3.5
"ours" to avoid taking a second instance of 27797.
David Goulet [Thu, 20 Sep 2018 12:50:27 +0000 (08:50 -0400)]
node: Make node_supports_v3_rendezvous_point() also check for the key
It is not enough to look at protover for v3 rendezvous support but also we
need to make sure that the curve25519 onion key is present or in other words
that the descriptor has been fetched and does contain it.
Fixes #27797.
Signed-off-by: David Goulet <dgoulet@torproject.org>
Nick Mathewson [Wed, 24 Oct 2018 14:20:41 +0000 (10:20 -0400)]
Merge branch 'ticket28115_035' into maint-0.3.5
cypherpunks [Tue, 23 Oct 2018 17:12:13 +0000 (17:12 +0000)]
rust/tor_log: fix C_RUST_COUPLED documentation
This file was moved in
97b15a1d7c51764888d2172711e3f3a71fb01916
and moved again in
e7f5f48d68553206b95cbb4f610702c887500124 .
Nick Mathewson [Wed, 24 Oct 2018 12:57:22 +0000 (08:57 -0400)]
Merge branch 'nss-travis' into maint-0.3.5
Nick Mathewson [Tue, 23 Oct 2018 23:54:04 +0000 (19:54 -0400)]
Merge branch 'maint-0.3.4' into maint-0.3.5
"ours" version to avoid removing rust use declaration.
Nick Mathewson [Tue, 23 Oct 2018 23:50:53 +0000 (19:50 -0400)]
Merge branch 'maint-0.3.3' into maint-0.3.4
Nick Mathewson [Tue, 23 Oct 2018 23:50:45 +0000 (19:50 -0400)]
Remove a now-unused rust "use".
Nick Mathewson [Tue, 23 Oct 2018 23:21:44 +0000 (19:21 -0400)]
Merge branch 'maint-0.3.4' into maint-0.3.5
Nick Mathewson [Tue, 23 Oct 2018 23:18:23 +0000 (19:18 -0400)]
Merge branch 'maint-0.3.3' into maint-0.3.4
Nick Mathewson [Tue, 23 Oct 2018 23:17:48 +0000 (19:17 -0400)]
Merge remote-tracking branch 'onionk/rust-allsupportednull1' into maint-0.3.3
George Kadianakis [Tue, 23 Oct 2018 13:43:08 +0000 (16:43 +0300)]
Documentation: Move the hs_service_descriptor_t elements around.
Move the elements around to concentrate mutable and immutable elements
together. This commit changes no code, check with --color-moved.
George Kadianakis [Tue, 23 Oct 2018 13:34:43 +0000 (16:34 +0300)]
Documentation: Document which descriptor elements are (im)mutable.
George Kadianakis [Tue, 23 Oct 2018 13:35:02 +0000 (16:35 +0300)]
Func rename: Make it clear that update_all_descriptors() does intro points.
With the new refresh_service_descriptor() function we had both
refresh_service_descriptor() and update_service_descriptor() which is basically
the same thing.
This commit renames update_service_descriptor() to
update_service_descriptor_intro_points() to make it clear it's not a generic
refresh and it's only about intro points.
Commit changes no code.
teor [Tue, 23 Oct 2018 01:21:10 +0000 (11:21 +1000)]
Treat backtrace test failures as expected on most BSD-derived systems
Treat backtrace test failures as expected on NetBSD, OpenBSD, and
macOS/Darwin, until we solve bug 17808.
(FreeBSD failures have been treated as expected since 18204 in 0.2.8.)
Fixes bug 27948; bugfix on 0.2.5.2-alpha.
David Goulet [Mon, 22 Oct 2018 20:18:44 +0000 (16:18 -0400)]
hs-v3: Create desc signing key cert before uploading
Before this commit, we would create the descriptor signing key certificate
when first building the descriptor.
In some extreme cases, it lead to the expiry of the certificate which triggers
a BUG() when encoding the descriptor before uploading.
Ticket #27838 details a possible scenario in which this can happen. It is an
edge case where tor losts internet connectivity, notices it and closes all
circuits. When it came back up, the HS subsystem noticed that it had no
introduction circuits, created them and tried to upload the descriptor.
However, in the meantime, if tor did lack a live consensus because it is
currently seeking to download one, we would consider that we don't need to
rotate the descriptors leading to using the expired signing key certificate.
That being said, this commit does a bit more to make this process cleaner.
There are a series of things that we need to "refresh" before uploading a
descriptor: signing key cert, intro points and revision counter.
A refresh function is added to deal with all mutable descriptor fields. It in
turn simplified a bit the code surrounding the creation of the plaintext data.
We keep creating the cert when building the descriptor in order to accomodate
the unit tests. However, it is replaced every single time the descriptor is
uploaded.
Fixes #27838
Signed-off-by: David Goulet <dgoulet@torproject.org>
Nick Mathewson [Fri, 19 Oct 2018 18:20:57 +0000 (14:20 -0400)]
Merge remote-tracking branch 'onionk/rust-protocommas1' into maint-0.3.5
Nick Mathewson [Fri, 19 Oct 2018 12:42:28 +0000 (08:42 -0400)]
Rename a function; it is used to convert a value _From_ le.
We can't use htons()/ntohs() -- those are no-ops on exactly the
wrong platforms.
Nick Mathewson [Fri, 19 Oct 2018 12:41:25 +0000 (08:41 -0400)]
Fix a misspelled macro test that was breaking big-endian OPE
Fixes bug 28115; bugfix on 0.3.5.1-alpha.
David Goulet [Thu, 18 Oct 2018 15:44:26 +0000 (11:44 -0400)]
hs-v3: Always generate the descriptor cookie
It won't be used if there are no authorized client configured. We do that so
we can easily support the addition of a client with a HUP signal which allow
us to avoid more complex code path to generate that cookie if we have at least
one client auth and we had none before.
Fixes #27995
Signed-off-by: David Goulet <dgoulet@torproject.org>
Nick Mathewson [Thu, 18 Oct 2018 13:12:58 +0000 (09:12 -0400)]
Merge branch 'maint-0.3.3' into maint-0.3.4
Nick Mathewson [Thu, 18 Oct 2018 13:12:58 +0000 (09:12 -0400)]
Merge branch 'maint-0.3.4' into maint-0.3.5
Taylor Yu [Wed, 17 Oct 2018 20:51:03 +0000 (15:51 -0500)]
Merge branch 'bug27800-034' into bug27800-035
Taylor Yu [Wed, 17 Oct 2018 20:42:58 +0000 (15:42 -0500)]
Merge branch 'bug27800-033' into tor-034
Taylor Yu [Wed, 17 Oct 2018 20:39:55 +0000 (15:39 -0500)]
Log more info for duplicate
ed25519 IDs
Occasionally, key pinning doesn't catch a relay that shares an
ed25519
ID with another relay. Log the identity fingerprints and the shared
ed25519 ID when this happens, instead of making a BUG() warning.
Fixes bug 27800; bugfix on 0.3.2.1-alpha.
Nick Mathewson [Wed, 17 Oct 2018 18:46:00 +0000 (14:46 -0400)]
Bump to 0.3.5.3-alpha-dev
Nick Mathewson [Wed, 17 Oct 2018 18:20:55 +0000 (14:20 -0400)]
expand the blurb
Nick Mathewson [Wed, 17 Oct 2018 18:19:33 +0000 (14:19 -0400)]
Reflow the changelog
Roger Dingledine [Wed, 17 Oct 2018 17:56:41 +0000 (13:56 -0400)]
merge in some fixes i found in a sandbox
Roger Dingledine [Wed, 17 Oct 2018 17:42:59 +0000 (13:42 -0400)]
0.3.5.3-alpha changelog touch-ups
Nick Mathewson [Wed, 17 Oct 2018 17:12:24 +0000 (13:12 -0400)]
Fold in the entry for 28089
Nick Mathewson [Wed, 17 Oct 2018 17:02:23 +0000 (13:02 -0400)]
Merge branch 'maint-0.3.4'
David Goulet [Wed, 17 Oct 2018 16:25:12 +0000 (12:25 -0400)]
conn: Stop writing when our write bandwidth limist is exhausted
Commit
488e2b00bf881b97bcc8e4bbe304845ff1d79a03 introduced an issue, most
likely introduced by a bad copy paste, that made us stop reading on the
connection if our write bandwidth limit was reached.
The problem is that because "read_blocked_on_bw" was never set, the connection
was never reenabled for reading.
This is most likely the cause of #27813 where bytes were accumulating in the
kernel TCP bufers because tor was not doing reads. Only relays with
RelayBandwidthRate would suffer from this but affecting all relays connecting
to them. And using that tor option is recommended and best practice so many
many relays have it enabled.
Fixes #28089.
Nick Mathewson [Wed, 17 Oct 2018 13:40:20 +0000 (09:40 -0400)]
Light changelog edits
Nick Mathewson [Wed, 17 Oct 2018 13:26:32 +0000 (09:26 -0400)]
Bump to 0.3.5.3-alpha