]>
git.ipfire.org Git - thirdparty/tor.git/log
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
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.
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
Nick Mathewson [Wed, 17 Oct 2018 13:26:04 +0000 (09:26 -0400)]
Run format-changelog
Nick Mathewson [Wed, 17 Oct 2018 13:25:43 +0000 (09:25 -0400)]
Fold changes file into changelog
Nick Mathewson [Wed, 17 Oct 2018 01:33:38 +0000 (21:33 -0400)]
Merge remote-tracking branch 'tor-github/pr/406'
Nick Mathewson [Tue, 16 Oct 2018 23:10:05 +0000 (19:10 -0400)]
Merge remote-tracking branch 'tor-github/pr/408'
Nick Mathewson [Tue, 16 Oct 2018 21:57:00 +0000 (17:57 -0400)]
Argh. The unset value for OwningControllerFD is NOT -1.
Nick Mathewson [Tue, 16 Oct 2018 21:33:58 +0000 (17:33 -0400)]
Merge branch 'bug27849_redux'
Nick Mathewson [Tue, 16 Oct 2018 21:29:50 +0000 (17:29 -0400)]
Merge remote-tracking branch 'tor-github/pr/404'
Nick Mathewson [Tue, 16 Oct 2018 21:18:46 +0000 (17:18 -0400)]
Add a tor_free() in tor_gencert to fix a coverity warning
Neel Chauhan [Tue, 16 Oct 2018 14:59:42 +0000 (10:59 -0400)]
Fix typo in comment for hs_cell_parse_introduce2()
David Goulet [Wed, 26 Sep 2018 12:36:08 +0000 (08:36 -0400)]
mainloop: Set client role if ControlPort is set
It turns out that if _only_ the ControlPort is set and nothing else, tor would
simply not bootstrap and thus not start properly. Commit
67a41b63063370c2
removed that requirement for tor to be considered a "client".
Unfortunately, this made the mainloop enable basically nothing if only the
ControlPort is set in the torrc.
This commit now makes it that we also consider the ControlPort when deciding
if we are a Client or not. It does not revert
67a41b63063370c2 meaning
options_any_client_port_set() stays the same, not looking at the control port.
Fixes #27849.
Signed-off-by: David Goulet <dgoulet@torproject.org>
Nick Mathewson [Tue, 16 Oct 2018 12:04:34 +0000 (08:04 -0400)]
Merge branch 'maint-0.3.4'
David Goulet [Mon, 24 Sep 2018 13:48:28 +0000 (09:48 -0400)]
test: Update approx_time before the test starts
This way we have the same time source when the IP is created and tested later.
Fixes #27810
Signed-off-by: David Goulet <dgoulet@torproject.org>
Nick Mathewson [Tue, 16 Oct 2018 12:02:01 +0000 (08:02 -0400)]
Merge remote-tracking branch 'public/bug27990'
Nick Mathewson [Mon, 15 Oct 2018 16:52:54 +0000 (12:52 -0400)]
Merge branch 'maint-0.3.4'
Nick Mathewson [Mon, 15 Oct 2018 16:52:54 +0000 (12:52 -0400)]
Merge branch 'maint-0.3.3' into maint-0.3.4
Nick Mathewson [Mon, 15 Oct 2018 16:52:48 +0000 (12:52 -0400)]
Fix another tor_assert(0) case
Nick Mathewson [Mon, 15 Oct 2018 16:47:46 +0000 (12:47 -0400)]
Merge branch 'maint-0.3.4'
Nick Mathewson [Mon, 15 Oct 2018 16:47:46 +0000 (12:47 -0400)]
Merge branch 'maint-0.3.3' into maint-0.3.4
Nick Mathewson [Mon, 15 Oct 2018 16:47:46 +0000 (12:47 -0400)]
Merge branch 'maint-0.2.9' into maint-0.3.3
Nick Mathewson [Mon, 15 Oct 2018 16:47:19 +0000 (12:47 -0400)]
Fix make check-spaces.
Nick Mathewson [Mon, 15 Oct 2018 14:48:35 +0000 (10:48 -0400)]
Merge branch 'maint-0.3.4'
Nick Mathewson [Mon, 15 Oct 2018 14:48:35 +0000 (10:48 -0400)]
Merge branch 'maint-0.3.3' into maint-0.3.4
Nick Mathewson [Mon, 15 Oct 2018 14:46:24 +0000 (10:46 -0400)]
Adjust tor_assert_unreached()
This version of the macro makes it obvious to the compiler that
"tor_assert_unreached()" will always abort().
Nick Mathewson [Mon, 15 Oct 2018 14:37:53 +0000 (10:37 -0400)]
Merge branch 'maint-0.3.4'
Nick Mathewson [Mon, 15 Oct 2018 14:37:52 +0000 (10:37 -0400)]
Merge branch 'maint-0.3.3' into maint-0.3.4
Nick Mathewson [Mon, 15 Oct 2018 14:37:49 +0000 (10:37 -0400)]
Merge branch 'maint-0.2.9' into maint-0.3.3
Nick Mathewson [Mon, 15 Oct 2018 14:34:39 +0000 (10:34 -0400)]
Merge branch 'bug27709_029' into maint-0.2.9
Nick Mathewson [Mon, 15 Oct 2018 14:16:34 +0000 (10:16 -0400)]
Explain a bit more about branch prediction in the unit-test case
rl1987 [Mon, 15 Oct 2018 13:13:22 +0000 (16:13 +0300)]
Write a comment to explain may_need_rebind condition
rl1987 [Tue, 2 Oct 2018 12:47:05 +0000 (15:47 +0300)]
Refrain from listener rebinding when address families differ
Nick Mathewson [Sun, 14 Oct 2018 19:33:34 +0000 (15:33 -0400)]
Remove a double-newline and improve a comment
Nick Mathewson [Sun, 14 Oct 2018 19:31:52 +0000 (15:31 -0400)]
Merge branch 'bug27772_squashed'
Nick Mathewson [Tue, 18 Sep 2018 19:32:25 +0000 (15:32 -0400)]
Fix various GCC LTO warnings in the unit tests.
Nick Mathewson [Tue, 18 Sep 2018 19:18:52 +0000 (15:18 -0400)]
In tor_tls_get_my_certs(), set cert ptrs even on failure
Nothing should ever look at them on failure, but in some cases,
the unit tests don't check for failure, and then GCC-LTO freaks out.
Fixes part of 27772.
Nick Mathewson [Tue, 18 Sep 2018 19:13:10 +0000 (15:13 -0400)]
Initialize some locals in socks5 parsing code.
These confused GCC LTO, which thought they might be used
uninitialized. I'm pretty sure that as long as 'res' indicates
success, they will always be set to something, but let's unconfuse
the compiler in any case.
Nick Mathewson [Tue, 18 Sep 2018 19:07:02 +0000 (15:07 -0400)]
Use the correct function signatures in test_relaycell.c
This is now officially an antipattern: please let's never copy a
function declaration in two places again. That's what headers are
for.
Nick Mathewson [Tue, 18 Sep 2018 19:06:36 +0000 (15:06 -0400)]
Use assertions so GCC LTO doesn't worry about TLS channel conversion
Part of #27772
Nick Mathewson [Sun, 14 Oct 2018 19:20:39 +0000 (15:20 -0400)]
Merge remote-tracking branch 'tor-github/pr/402'
Taylor Yu [Fri, 12 Oct 2018 01:25:41 +0000 (20:25 -0500)]
report origin of mystery core file
Report what program produced the mysterious core file that we
occasionally see on Travis CI during make distcheck. Closes ticket
28024.
Nick Mathewson [Fri, 12 Oct 2018 15:39:37 +0000 (11:39 -0400)]
Merge remote-tracking branch 'tor-github/pr/380'
Nick Mathewson [Wed, 10 Oct 2018 21:12:34 +0000 (17:12 -0400)]
Merge branch 'maint-0.3.3' into maint-0.3.4
Nick Mathewson [Wed, 10 Oct 2018 21:12:34 +0000 (17:12 -0400)]
Merge branch 'maint-0.2.9' into maint-0.3.3
Nick Mathewson [Wed, 10 Oct 2018 21:12:34 +0000 (17:12 -0400)]
Merge branch 'maint-0.3.4'
Nick Mathewson [Wed, 10 Oct 2018 21:12:11 +0000 (17:12 -0400)]
Merge remote-tracking branch 'tor-github/pr/392' into maint-0.2.9
Taylor Yu [Wed, 10 Oct 2018 20:17:47 +0000 (15:17 -0500)]
Merge branch 'bug27738-034-merged' into bug27738-master-merged
Taylor Yu [Wed, 10 Oct 2018 20:13:02 +0000 (15:13 -0500)]
Merge branch 'bug27738-033' into bug27738-034
Taylor Yu [Wed, 10 Oct 2018 20:01:59 +0000 (15:01 -0500)]
Merge remote-tracking branch 'teor/bug27738-032' into bug27738-033
Nick Mathewson [Wed, 10 Oct 2018 18:27:27 +0000 (14:27 -0400)]
Merge branch 'maint-0.3.4'
Nick Mathewson [Wed, 10 Oct 2018 18:27:24 +0000 (14:27 -0400)]
Merge branch 'appveyor_pacman_fixes_034' into maint-0.3.4
Nick Mathewson [Wed, 10 Oct 2018 15:34:49 +0000 (11:34 -0400)]
Merge branch 'maint-0.3.4'
Nick Mathewson [Wed, 10 Oct 2018 15:34:49 +0000 (11:34 -0400)]
Merge branch 'maint-0.3.3' into maint-0.3.4
Nick Mathewson [Wed, 10 Oct 2018 15:34:48 +0000 (11:34 -0400)]
Merge branch 'maint-0.2.9' into maint-0.3.3
Karsten Loesing [Wed, 10 Oct 2018 15:26:41 +0000 (17:26 +0200)]
Update geoip and geoip6 to the October 9 2018 database.
Nick Mathewson [Wed, 10 Oct 2018 15:26:38 +0000 (11:26 -0400)]
Add sys/time.h include back to procmon.c
Nick Mathewson [Wed, 10 Oct 2018 15:10:29 +0000 (11:10 -0400)]
fixup! Changes file for apveyor changes
Nick Mathewson [Wed, 10 Oct 2018 14:20:01 +0000 (10:20 -0400)]
Changes file for apveyor changes
Nick Mathewson [Wed, 10 Oct 2018 13:49:02 +0000 (09:49 -0400)]
Appveyor: Don't try to install the mingw openssl package
This package conflicts with a preinstalled mingw openssl.
Fixes bug 27943. I think this was an appveyor change, not a Tor bug.
Nick Mathewson [Wed, 10 Oct 2018 13:44:36 +0000 (09:44 -0400)]
Install only one of the two mingw architectures in appveyor
Closes ticket 27765
This commit also changes the appveyor file to a unified line ending
style, since the old one was pretty confused. Use "-b" to see the
real differences.
Nick Mathewson [Wed, 10 Oct 2018 13:24:48 +0000 (09:24 -0400)]
Merge remote-tracking branch 'tor-github/pr/384'
Nick Mathewson [Tue, 9 Oct 2018 16:46:46 +0000 (12:46 -0400)]
Merge remote-tracking branch 'tor-github/pr/385'
Nick Mathewson [Tue, 9 Oct 2018 13:04:53 +0000 (09:04 -0400)]
Merge remote-tracking branch 'public/ticket27856'
rl1987 [Sun, 7 Oct 2018 15:28:04 +0000 (18:28 +0300)]
Add changes file
Neel Chauhan [Fri, 5 Oct 2018 23:54:26 +0000 (19:54 -0400)]
Add newline between hs_client_get_random_intro_from_edge() and hs_client_receive_introduce_ack()
rl1987 [Wed, 3 Oct 2018 12:45:48 +0000 (15:45 +0300)]
Make sure we're removing conn from old_conns *once*
rl1987 [Fri, 21 Sep 2018 16:23:19 +0000 (19:23 +0300)]
Refrain from using SMARTLIST_DEL_CURRENT in retry_all_listeners
Nick Mathewson [Mon, 1 Oct 2018 17:12:33 +0000 (12:12 -0500)]
Merge remote-tracking branch 'public/bug27893'
Nick Mathewson [Mon, 1 Oct 2018 17:06:39 +0000 (12:06 -0500)]
Merge remote-tracking branch 'public/bug27728'