]> git.ipfire.org Git - thirdparty/tor.git/log
thirdparty/tor.git
7 years agoMerge remote-tracking branch 'onionk/rust-protocommas1' into maint-0.3.5
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

7 years agoMerge branch 'maint-0.3.4' into maint-0.3.5
Nick Mathewson [Thu, 18 Oct 2018 13:12:58 +0000 (09:12 -0400)] 
Merge branch 'maint-0.3.4' into maint-0.3.5

7 years agoMerge 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.3' into maint-0.3.4

7 years agoMerge branch 'bug27800-034' into bug27800-035
Taylor Yu [Wed, 17 Oct 2018 20:51:03 +0000 (15:51 -0500)] 
Merge branch 'bug27800-034' into bug27800-035

7 years agoMerge branch 'bug27800-033' into tor-034
Taylor Yu [Wed, 17 Oct 2018 20:42:58 +0000 (15:42 -0500)] 
Merge branch 'bug27800-033' into tor-034

7 years agoLog more info for duplicate ed25519 IDs
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.

7 years agoBump to 0.3.5.3-alpha-dev
Nick Mathewson [Wed, 17 Oct 2018 18:46:00 +0000 (14:46 -0400)] 
Bump to 0.3.5.3-alpha-dev

7 years agoexpand the blurb tor-0.3.5.3-alpha
Nick Mathewson [Wed, 17 Oct 2018 18:20:55 +0000 (14:20 -0400)] 
expand the blurb

7 years agoReflow the changelog
Nick Mathewson [Wed, 17 Oct 2018 18:19:33 +0000 (14:19 -0400)] 
Reflow the changelog

7 years agomerge in some fixes i found in a sandbox
Roger Dingledine [Wed, 17 Oct 2018 17:56:41 +0000 (13:56 -0400)] 
merge in some fixes i found in a sandbox

7 years ago0.3.5.3-alpha changelog touch-ups
Roger Dingledine [Wed, 17 Oct 2018 17:42:59 +0000 (13:42 -0400)] 
0.3.5.3-alpha changelog touch-ups

7 years agoFold in the entry for 28089
Nick Mathewson [Wed, 17 Oct 2018 17:12:24 +0000 (13:12 -0400)] 
Fold in the entry for 28089

7 years agoMerge branch 'maint-0.3.4'
Nick Mathewson [Wed, 17 Oct 2018 17:02:23 +0000 (13:02 -0400)] 
Merge branch 'maint-0.3.4'

7 years agoconn: Stop writing when our write bandwidth limist is exhausted
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.

7 years agoLight changelog edits
Nick Mathewson [Wed, 17 Oct 2018 13:40:20 +0000 (09:40 -0400)] 
Light changelog edits

7 years agoBump to 0.3.5.3-alpha
Nick Mathewson [Wed, 17 Oct 2018 13:26:32 +0000 (09:26 -0400)] 
Bump to 0.3.5.3-alpha

7 years agoRun format-changelog
Nick Mathewson [Wed, 17 Oct 2018 13:26:04 +0000 (09:26 -0400)] 
Run format-changelog

7 years agoFold changes file into changelog
Nick Mathewson [Wed, 17 Oct 2018 13:25:43 +0000 (09:25 -0400)] 
Fold changes file into changelog

7 years agoMerge remote-tracking branch 'tor-github/pr/406'
Nick Mathewson [Wed, 17 Oct 2018 01:33:38 +0000 (21:33 -0400)] 
Merge remote-tracking branch 'tor-github/pr/406'

7 years agoMerge remote-tracking branch 'tor-github/pr/408'
Nick Mathewson [Tue, 16 Oct 2018 23:10:05 +0000 (19:10 -0400)] 
Merge remote-tracking branch 'tor-github/pr/408'

7 years agoArgh. The unset value for OwningControllerFD is NOT -1.
Nick Mathewson [Tue, 16 Oct 2018 21:57:00 +0000 (17:57 -0400)] 
Argh. The unset value for OwningControllerFD is NOT -1.

7 years agoMerge branch 'bug27849_redux'
Nick Mathewson [Tue, 16 Oct 2018 21:33:58 +0000 (17:33 -0400)] 
Merge branch 'bug27849_redux'

7 years agoMerge remote-tracking branch 'tor-github/pr/404'
Nick Mathewson [Tue, 16 Oct 2018 21:29:50 +0000 (17:29 -0400)] 
Merge remote-tracking branch 'tor-github/pr/404'

7 years agoAdd a tor_free() in tor_gencert to fix a coverity warning
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

7 years agoFix typo in comment for hs_cell_parse_introduce2()
Neel Chauhan [Tue, 16 Oct 2018 14:59:42 +0000 (10:59 -0400)] 
Fix typo in comment for hs_cell_parse_introduce2()

7 years agomainloop: Set client role if ControlPort is set
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>
7 years agoMerge branch 'maint-0.3.4'
Nick Mathewson [Tue, 16 Oct 2018 12:04:34 +0000 (08:04 -0400)] 
Merge branch 'maint-0.3.4'

7 years agotest: Update approx_time before the test starts
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>
7 years agoMerge remote-tracking branch 'public/bug27990'
Nick Mathewson [Tue, 16 Oct 2018 12:02:01 +0000 (08:02 -0400)] 
Merge remote-tracking branch 'public/bug27990'

7 years agoMerge branch 'maint-0.3.4'
Nick Mathewson [Mon, 15 Oct 2018 16:52:54 +0000 (12:52 -0400)] 
Merge branch 'maint-0.3.4'

7 years agoMerge branch 'maint-0.3.3' into 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

7 years agoFix another tor_assert(0) case
Nick Mathewson [Mon, 15 Oct 2018 16:52:48 +0000 (12:52 -0400)] 
Fix another tor_assert(0) case

7 years agoMerge branch 'maint-0.3.4'
Nick Mathewson [Mon, 15 Oct 2018 16:47:46 +0000 (12:47 -0400)] 
Merge branch 'maint-0.3.4'

7 years agoMerge 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.3.3' into maint-0.3.4

7 years agoMerge branch 'maint-0.2.9' into maint-0.3.3
Nick Mathewson [Mon, 15 Oct 2018 16:47:46 +0000 (12:47 -0400)] 
Merge branch 'maint-0.2.9' into maint-0.3.3

7 years agoFix make check-spaces.
Nick Mathewson [Mon, 15 Oct 2018 16:47:19 +0000 (12:47 -0400)] 
Fix make check-spaces.

7 years agoMerge branch 'maint-0.3.4'
Nick Mathewson [Mon, 15 Oct 2018 14:48:35 +0000 (10:48 -0400)] 
Merge branch 'maint-0.3.4'

7 years agoMerge branch 'maint-0.3.3' into 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

7 years agoAdjust tor_assert_unreached()
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().

7 years agoMerge branch 'maint-0.3.4'
Nick Mathewson [Mon, 15 Oct 2018 14:37:53 +0000 (10:37 -0400)] 
Merge branch 'maint-0.3.4'

7 years agoMerge branch 'maint-0.3.3' into 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

7 years agoMerge branch 'maint-0.2.9' into maint-0.3.3
Nick Mathewson [Mon, 15 Oct 2018 14:37:49 +0000 (10:37 -0400)] 
Merge branch 'maint-0.2.9' into maint-0.3.3

7 years agoMerge branch 'bug27709_029' into maint-0.2.9
Nick Mathewson [Mon, 15 Oct 2018 14:34:39 +0000 (10:34 -0400)] 
Merge branch 'bug27709_029' into maint-0.2.9

7 years agoExplain a bit more about branch prediction in the unit-test case
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

7 years agoWrite a comment to explain may_need_rebind condition
rl1987 [Mon, 15 Oct 2018 13:13:22 +0000 (16:13 +0300)] 
Write a comment to explain may_need_rebind condition

7 years agoRefrain from listener rebinding when address families differ
rl1987 [Tue, 2 Oct 2018 12:47:05 +0000 (15:47 +0300)] 
Refrain from listener rebinding when address families differ

7 years agoRemove a double-newline and improve a comment
Nick Mathewson [Sun, 14 Oct 2018 19:33:34 +0000 (15:33 -0400)] 
Remove a double-newline and improve a comment

7 years agoMerge branch 'bug27772_squashed'
Nick Mathewson [Sun, 14 Oct 2018 19:31:52 +0000 (15:31 -0400)] 
Merge branch 'bug27772_squashed'

7 years agoFix various GCC LTO warnings in the unit tests.
Nick Mathewson [Tue, 18 Sep 2018 19:32:25 +0000 (15:32 -0400)] 
Fix various GCC LTO warnings in the unit tests.

7 years agoIn tor_tls_get_my_certs(), set cert ptrs even on failure
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.

7 years agoInitialize some locals in socks5 parsing code.
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.

7 years agoUse the correct function signatures in test_relaycell.c
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.

7 years agoUse assertions so GCC LTO doesn't worry about TLS channel conversion
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

7 years agoMerge remote-tracking branch 'tor-github/pr/402'
Nick Mathewson [Sun, 14 Oct 2018 19:20:39 +0000 (15:20 -0400)] 
Merge remote-tracking branch 'tor-github/pr/402'

7 years agoreport origin of mystery core file
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.

7 years agoMerge remote-tracking branch 'tor-github/pr/380'
Nick Mathewson [Fri, 12 Oct 2018 15:39:37 +0000 (11:39 -0400)] 
Merge remote-tracking branch 'tor-github/pr/380'

7 years agoMerge 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.3.3' into maint-0.3.4

7 years agoMerge 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.2.9' into maint-0.3.3

7 years agoMerge branch 'maint-0.3.4'
Nick Mathewson [Wed, 10 Oct 2018 21:12:34 +0000 (17:12 -0400)] 
Merge branch 'maint-0.3.4'

7 years agoMerge remote-tracking branch 'tor-github/pr/392' into maint-0.2.9
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

7 years agoMerge branch 'bug27738-034-merged' into bug27738-master-merged
Taylor Yu [Wed, 10 Oct 2018 20:17:47 +0000 (15:17 -0500)] 
Merge branch 'bug27738-034-merged' into bug27738-master-merged

7 years agoMerge branch 'bug27738-033' into bug27738-034
Taylor Yu [Wed, 10 Oct 2018 20:13:02 +0000 (15:13 -0500)] 
Merge branch 'bug27738-033' into bug27738-034

7 years agoMerge remote-tracking branch 'teor/bug27738-032' into bug27738-033
Taylor Yu [Wed, 10 Oct 2018 20:01:59 +0000 (15:01 -0500)] 
Merge remote-tracking branch 'teor/bug27738-032' into bug27738-033

7 years agoMerge branch 'maint-0.3.4'
Nick Mathewson [Wed, 10 Oct 2018 18:27:27 +0000 (14:27 -0400)] 
Merge branch 'maint-0.3.4'

7 years agoMerge branch 'appveyor_pacman_fixes_034' into 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

7 years agoMerge branch 'maint-0.3.4'
Nick Mathewson [Wed, 10 Oct 2018 15:34:49 +0000 (11:34 -0400)] 
Merge branch 'maint-0.3.4'

7 years agoMerge branch 'maint-0.3.3' into 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

7 years agoMerge branch 'maint-0.2.9' into maint-0.3.3
Nick Mathewson [Wed, 10 Oct 2018 15:34:48 +0000 (11:34 -0400)] 
Merge branch 'maint-0.2.9' into maint-0.3.3

7 years agoUpdate geoip and geoip6 to the October 9 2018 database.
Karsten Loesing [Wed, 10 Oct 2018 15:26:41 +0000 (17:26 +0200)] 
Update geoip and geoip6 to the October 9 2018 database.

7 years agoAdd sys/time.h include back to procmon.c
Nick Mathewson [Wed, 10 Oct 2018 15:26:38 +0000 (11:26 -0400)] 
Add sys/time.h include back to procmon.c

7 years agofixup! Changes file for apveyor changes
Nick Mathewson [Wed, 10 Oct 2018 15:10:29 +0000 (11:10 -0400)] 
fixup! Changes file for apveyor changes

7 years agoChanges file for apveyor changes
Nick Mathewson [Wed, 10 Oct 2018 14:20:01 +0000 (10:20 -0400)] 
Changes file for apveyor changes

7 years agoAppveyor: Don't try to install the mingw openssl package
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.

7 years agoInstall only one of the two mingw architectures in appveyor
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.

7 years agoMerge remote-tracking branch 'tor-github/pr/384'
Nick Mathewson [Wed, 10 Oct 2018 13:24:48 +0000 (09:24 -0400)] 
Merge remote-tracking branch 'tor-github/pr/384'

7 years agoMerge remote-tracking branch 'tor-github/pr/385'
Nick Mathewson [Tue, 9 Oct 2018 16:46:46 +0000 (12:46 -0400)] 
Merge remote-tracking branch 'tor-github/pr/385'

7 years agoMerge remote-tracking branch 'public/ticket27856'
Nick Mathewson [Tue, 9 Oct 2018 13:04:53 +0000 (09:04 -0400)] 
Merge remote-tracking branch 'public/ticket27856'

7 years agoAdd changes file
rl1987 [Sun, 7 Oct 2018 15:28:04 +0000 (18:28 +0300)] 
Add changes file

7 years agoAdd newline between hs_client_get_random_intro_from_edge() and hs_client_receive_intr...
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()

7 years agoMake sure we're removing conn from old_conns *once*
rl1987 [Wed, 3 Oct 2018 12:45:48 +0000 (15:45 +0300)] 
Make sure we're removing conn from old_conns *once*

7 years agoRefrain from using SMARTLIST_DEL_CURRENT in retry_all_listeners
rl1987 [Fri, 21 Sep 2018 16:23:19 +0000 (19:23 +0300)] 
Refrain from using SMARTLIST_DEL_CURRENT in retry_all_listeners

7 years agoMerge remote-tracking branch 'public/bug27893'
Nick Mathewson [Mon, 1 Oct 2018 17:12:33 +0000 (12:12 -0500)] 
Merge remote-tracking branch 'public/bug27893'

7 years agoMerge remote-tracking branch 'public/bug27728'
Nick Mathewson [Mon, 1 Oct 2018 17:06:39 +0000 (12:06 -0500)] 
Merge remote-tracking branch 'public/bug27728'

7 years agoFix a bug where we would crash on --version.
Nick Mathewson [Mon, 1 Oct 2018 17:01:46 +0000 (12:01 -0500)] 
Fix a bug where we would crash on --version.

Bug not in any released Tor.

test-stem would have caught this.

7 years agochanges file for splitting routerparse.c (#27924)
Nick Mathewson [Mon, 1 Oct 2018 16:45:11 +0000 (11:45 -0500)] 
changes file for splitting routerparse.c (#27924)

7 years agoRemove routerparse include from files that dont use it
Nick Mathewson [Mon, 1 Oct 2018 16:35:11 +0000 (11:35 -0500)] 
Remove routerparse include from files that dont use it

7 years agoRemove versions.h include from routerparse.h
Nick Mathewson [Mon, 1 Oct 2018 16:22:47 +0000 (11:22 -0500)] 
Remove versions.h include from routerparse.h

7 years agoRemove unused headers from routerparse.c
Nick Mathewson [Mon, 1 Oct 2018 16:17:33 +0000 (11:17 -0500)] 
Remove unused headers from routerparse.c

7 years agoExtract addr-policy parsing code.
Nick Mathewson [Mon, 1 Oct 2018 16:08:09 +0000 (11:08 -0500)] 
Extract addr-policy parsing code.

7 years agoMove summarize_protover_flags to versions.c
Nick Mathewson [Mon, 1 Oct 2018 15:48:55 +0000 (10:48 -0500)] 
Move summarize_protover_flags to versions.c

7 years agoextract networkstatus parsing to its own file.
Nick Mathewson [Mon, 1 Oct 2018 15:44:59 +0000 (10:44 -0500)] 
extract networkstatus parsing to its own file.

7 years agoPull detached-signatures code into dirauth.
Nick Mathewson [Mon, 1 Oct 2018 05:33:23 +0000 (00:33 -0500)] 
Pull detached-signatures code into dirauth.

7 years agoSplit microdescriptor parser into its own file.
Nick Mathewson [Mon, 1 Oct 2018 04:51:47 +0000 (23:51 -0500)] 
Split microdescriptor parser into its own file.

7 years agoRemove addr_policy_assert_ok() as unused
Nick Mathewson [Mon, 1 Oct 2018 04:45:17 +0000 (23:45 -0500)] 
Remove addr_policy_assert_ok() as unused

7 years agoRemove dump_distinct_digest_count()
Nick Mathewson [Mon, 1 Oct 2018 04:42:21 +0000 (23:42 -0500)] 
Remove dump_distinct_digest_count()

It was disabled-by-default for ages, and it no longer compiles. I
think it's safe to call it obsolete.

7 years agoRemove router_get_dir_hash as unused.
Nick Mathewson [Mon, 1 Oct 2018 04:37:43 +0000 (23:37 -0500)] 
Remove router_get_dir_hash as unused.

7 years agoMove v2 hs parsing into feature/rend
Nick Mathewson [Mon, 1 Oct 2018 04:31:59 +0000 (23:31 -0500)] 
Move v2 hs parsing into feature/rend

7 years agoSplit the authority-cert and signature/hash code from routerparse
Nick Mathewson [Mon, 1 Oct 2018 04:08:25 +0000 (23:08 -0500)] 
Split the authority-cert and signature/hash code from routerparse

7 years agoExtract the version-managing code from routerparse.c
Nick Mathewson [Sun, 30 Sep 2018 23:27:23 +0000 (18:27 -0500)] 
Extract the version-managing code from routerparse.c

Leave the versions.h include in routerparse.h for now; I'll remove
it later.

7 years agoExtract logic for dumping unparseable junk from routerparse.c
Nick Mathewson [Sun, 30 Sep 2018 23:15:00 +0000 (18:15 -0500)] 
Extract logic for dumping unparseable junk from routerparse.c