]> git.ipfire.org Git - thirdparty/tor.git/log
thirdparty/tor.git
5 years agostring: Add extra UTF-8 test cases
teor [Tue, 7 Jan 2020 07:05:48 +0000 (17:05 +1000)] 
string: Add extra UTF-8 test cases

These test cases are validated differently by some
programming languages, because those languages have
incorrect UTF-8 implementations.

We want to make sure that tor validates them correctly.

Closes ticket 32845.

5 years agoMerge branch 'haxxpop/tcp_proxy_squashed' into tcp_proxy_squshed_and_merged
Nick Mathewson [Mon, 6 Jan 2020 18:41:20 +0000 (13:41 -0500)] 
Merge branch 'haxxpop/tcp_proxy_squashed' into tcp_proxy_squshed_and_merged

5 years agocircuit: Add change file
Suphanat Chunhapanya [Mon, 2 Dec 2019 07:24:44 +0000 (15:24 +0800)] 
circuit: Add change file

5 years agotest: HTTP CONNECT protocol
Suphanat Chunhapanya [Mon, 21 Oct 2019 17:55:23 +0000 (01:55 +0800)] 
test: HTTP CONNECT protocol

5 years agotest: HAPRoxy protocol
Suphanat Chunhapanya [Mon, 21 Oct 2019 10:00:02 +0000 (18:00 +0800)] 
test: HAPRoxy protocol

5 years agotest: Implement haproxy
Suphanat Chunhapanya [Tue, 10 Sep 2019 07:32:08 +0000 (15:32 +0800)] 
test: Implement haproxy

5 years agocircuit: Implement haproxy
Suphanat Chunhapanya [Fri, 23 Aug 2019 03:44:49 +0000 (11:44 +0800)] 
circuit: Implement haproxy

5 years agoMerge remote-tracking branch 'tor-github/pr/1615'
Nick Mathewson [Mon, 6 Jan 2020 18:32:33 +0000 (13:32 -0500)] 
Merge remote-tracking branch 'tor-github/pr/1615'

5 years agoAdd documentation about building a TAGS file.
Nick Mathewson [Mon, 6 Jan 2020 18:31:30 +0000 (13:31 -0500)] 
Add documentation about building a TAGS file.

Patch from opara.  Closes ticket 32779.

5 years agoMerge remote-tracking branch 'tor-github/pr/1620'
Nick Mathewson [Mon, 6 Jan 2020 18:28:10 +0000 (13:28 -0500)] 
Merge remote-tracking branch 'tor-github/pr/1620'

5 years agoMerge branch 'maint-0.4.2'
Nick Mathewson [Mon, 6 Jan 2020 18:24:01 +0000 (13:24 -0500)] 
Merge branch 'maint-0.4.2'

5 years agoMerge remote-tracking branch 'tor-github/pr/1612' into maint-0.4.2
Nick Mathewson [Mon, 6 Jan 2020 18:20:57 +0000 (13:20 -0500)] 
Merge remote-tracking branch 'tor-github/pr/1612' into maint-0.4.2

5 years agoMerge branch 'maint-0.4.2'
Nick Mathewson [Mon, 6 Jan 2020 13:08:59 +0000 (08:08 -0500)] 
Merge branch 'maint-0.4.2'

5 years agoMerge branch 'maint-0.4.1' into maint-0.4.2
Nick Mathewson [Mon, 6 Jan 2020 13:08:59 +0000 (08:08 -0500)] 
Merge branch 'maint-0.4.1' into maint-0.4.2

5 years agoupdate changes file to pass "make check-changes"
Nick Mathewson [Mon, 6 Jan 2020 13:08:48 +0000 (08:08 -0500)] 
update changes file to pass "make check-changes"

5 years agoMerge branch 'maint-0.4.1' into maint-0.4.2
Nick Mathewson [Mon, 6 Jan 2020 13:06:54 +0000 (08:06 -0500)] 
Merge branch 'maint-0.4.1' into maint-0.4.2

5 years agoFix sandbox crash during reload of logging configuration
Peter Gerber [Sun, 5 Jan 2020 14:48:54 +0000 (15:48 +0100)] 
Fix sandbox crash during reload of logging configuration

Allow calls to dup() which was introduced in commit a22fbab986.

From a security perspective, I don't think this should impact the
security of the sandbox significantly. As far as I can tell, there
is nothing an adversary can do with a duplicated FD that can't be
done with the original.

5 years agoFix spacing in tor_sscanf() call in tor_inet_aton()
Neel Chauhan [Fri, 20 Dec 2019 19:11:03 +0000 (14:11 -0500)] 
Fix spacing in tor_sscanf() call in tor_inet_aton()

5 years agoFix spacing in tor_inet_aton() function header
Neel Chauhan [Fri, 20 Dec 2019 19:10:43 +0000 (14:10 -0500)] 
Fix spacing in tor_inet_aton() function header

5 years agoMerge branch 'bug29819_035'
Nick Mathewson [Fri, 20 Dec 2019 12:37:47 +0000 (07:37 -0500)] 
Merge branch 'bug29819_035'

5 years agoMerge remote-tracking branch 'tor-github/pr/1623'
Nick Mathewson [Fri, 20 Dec 2019 12:18:38 +0000 (07:18 -0500)] 
Merge remote-tracking branch 'tor-github/pr/1623'

5 years agoReplace several C identifiers.
teor [Fri, 20 Dec 2019 03:27:58 +0000 (13:27 +1000)] 
Replace several C identifiers.

This is an automated commit, generated by this command:

./scripts/maint/rename_c_identifier.py \
        EXPOSE_CLEAN_BACKTRACE BACKTRACE_PRIVATE \
        TOR_CHANNEL_INTERNAL_ CHANNEL_OBJECT_PRIVATE \
        CHANNEL_PRIVATE_ CHANNEL_FILE_PRIVATE \
        EXPOSE_ROUTERDESC_TOKEN_TABLE ROUTERDESC_TOKEN_TABLE_PRIVATE \
        SCHEDULER_PRIVATE_ SCHEDULER_PRIVATE

5 years agoMerge branch 'maint-0.4.2'
teor [Fri, 20 Dec 2019 00:12:59 +0000 (10:12 +1000)] 
Merge branch 'maint-0.4.2'

5 years agoMerge branch 'maint-0.4.1' into maint-0.4.2
teor [Fri, 20 Dec 2019 00:12:51 +0000 (10:12 +1000)] 
Merge branch 'maint-0.4.1' into maint-0.4.2

5 years agoMerge branch 'maint-0.4.0' into maint-0.4.1
teor [Fri, 20 Dec 2019 00:12:43 +0000 (10:12 +1000)] 
Merge branch 'maint-0.4.0' into maint-0.4.1

5 years agoMerge remote-tracking branch 'tor-github/pr/1606'
teor [Fri, 20 Dec 2019 00:12:18 +0000 (10:12 +1000)] 
Merge remote-tracking branch 'tor-github/pr/1606'

5 years agoCode Style: Delete headers that are included twice
teor [Mon, 25 Nov 2019 23:10:32 +0000 (09:10 +1000)] 
Code Style: Delete headers that are included twice

These changes were created using the "make autostyle" from
32522, and then split into commits.

5 years agoCode Style: Delete PRIVATE defines that are never used
teor [Mon, 25 Nov 2019 23:07:47 +0000 (09:07 +1000)] 
Code Style: Delete PRIVATE defines that are never used

Some ".c" files define *_PRIVATE macros, but those macros are
not used in any header file. Delete them.

These changes were created using the "make autostyle" from
32522, and then split into commits.

5 years agoRun "make autostyle"
teor [Thu, 19 Dec 2019 23:45:53 +0000 (09:45 +1000)] 
Run "make autostyle"

5 years agoMakefile/git scripts: Add comments to keep owned file lists in sync
teor [Mon, 25 Nov 2019 23:20:57 +0000 (09:20 +1000)] 
Makefile/git scripts: Add comments to keep owned file lists in sync

5 years agoMark TestingEstimatedDescriptorPropagationTime as obsolete.
Nick Mathewson [Thu, 19 Dec 2019 16:04:48 +0000 (11:04 -0500)] 
Mark TestingEstimatedDescriptorPropagationTime as obsolete.

We stopped looking at this option in 85cf6dcba3693b, back when we
implemented the minimal pieces of prop275.  Since then, we've had
code to validate and adjust this option, and to give it a different
value in testing networks, but the option hasn't actually done
anything.

We can safely mark it as OBSOLETE, since doing so does not make any
old configuration get rejected.

Closes ticket 32807.

5 years agoMerge branch 'dirauth_config_squashed'
Nick Mathewson [Thu, 19 Dec 2019 12:55:06 +0000 (07:55 -0500)] 
Merge branch 'dirauth_config_squashed'

5 years agoDeclare relay/dirauth subsystem levels in a header.
Nick Mathewson [Wed, 18 Dec 2019 16:49:26 +0000 (11:49 -0500)] 
Declare relay/dirauth subsystem levels in a header.

This way, we can't get out of sync between the two declarations.

5 years agoAdd an integration test for options disabled by dirauth subsystem.
Nick Mathewson [Mon, 16 Dec 2019 00:05:17 +0000 (19:05 -0500)] 
Add an integration test for options disabled by dirauth subsystem.

5 years agoAdd config object for dirauth; move one option there.
Nick Mathewson [Sun, 15 Dec 2019 16:46:55 +0000 (11:46 -0500)] 
Add config object for dirauth; move one option there.

I've chosen the "AuthDirMaxServersPerAddr" option here for
simplicity, since it is used literally nowhere else besides the dirauth
module.  Once we have all the infrastructure in place for this, we
can move more options into this structure.

5 years agoAllow struct_magic to be disabled.
Nick Mathewson [Sun, 15 Dec 2019 23:42:01 +0000 (18:42 -0500)] 
Allow struct_magic to be disabled.

When a subsystem is disabled, there will be no corresponding object
allocated, and no magic numbers on it.

5 years agoSupport a flag to indicate that a config var is disabled
Nick Mathewson [Sun, 15 Dec 2019 23:40:12 +0000 (18:40 -0500)] 
Support a flag to indicate that a config var is disabled

Like "obsolete" variables, these variables produce a warning when
you try to set them, but the warning says that the relevant module
doesn't have support.

The confdecl macros now have a CONF_CONTEXT that you can define to
make all the modules in a given table disabled.

5 years agoAdd "stub" files for disabled modules.
Nick Mathewson [Sun, 15 Dec 2019 23:10:11 +0000 (18:10 -0500)] 
Add "stub" files for disabled modules.

These modules are only built when the selected modules are disabled.
The provide stub implementations of the subsystem blocks.  Later,
other stub implementations could move here.

Having real subsystem blocks here will let us handle disabled
configuration options better.

5 years agoMerge remote-tracking branch 'tor-github/pr/1584'
teor [Thu, 19 Dec 2019 09:33:29 +0000 (19:33 +1000)] 
Merge remote-tracking branch 'tor-github/pr/1584'

5 years agoMerge branch 'tor-github/pr/1587'
George Kadianakis [Wed, 18 Dec 2019 12:19:15 +0000 (14:19 +0200)] 
Merge branch 'tor-github/pr/1587'

5 years agoAdd NSF support acknowledgment to circpad dev doc.
Mike Perry [Tue, 17 Dec 2019 20:02:23 +0000 (14:02 -0600)] 
Add NSF support acknowledgment to circpad dev doc.

5 years agoMerge branch 'ticket32172_once_again'
Nick Mathewson [Tue, 17 Dec 2019 20:02:06 +0000 (15:02 -0500)] 
Merge branch 'ticket32172_once_again'

5 years agoCorrect how we use libseccomp
Peter Gerber [Mon, 10 Jun 2019 12:56:31 +0000 (14:56 +0200)] 
Correct how we use libseccomp

This fixes a startup crash with libseccomp v2.4.0 if Sandbox is
set to 1.

5 years agoMerge remote-tracking branch 'tor-github/pr/1596'
Nick Mathewson [Tue, 17 Dec 2019 14:39:50 +0000 (09:39 -0500)] 
Merge remote-tracking branch 'tor-github/pr/1596'

5 years agoMerge branch 'tor-github/pr/1608'
David Goulet [Tue, 17 Dec 2019 14:30:19 +0000 (09:30 -0500)] 
Merge branch 'tor-github/pr/1608'

5 years agoMerge branch 'tor-github/pr/1609'
David Goulet [Tue, 17 Dec 2019 14:26:49 +0000 (09:26 -0500)] 
Merge branch 'tor-github/pr/1609'

5 years agoMerge branch 'pr1590_amended_commit'
teor [Mon, 16 Dec 2019 23:49:30 +0000 (09:49 +1000)] 
Merge branch 'pr1590_amended_commit'

5 years agomanpage: fixes to alphabetize General Options
Taylor Yu [Mon, 16 Dec 2019 04:46:31 +0000 (22:46 -0600)] 
manpage: fixes to alphabetize General Options

6 years agoFix formatting in tor_assertf() message in struct_check_magic().
Nick Mathewson [Mon, 16 Dec 2019 20:31:23 +0000 (15:31 -0500)] 
Fix formatting in tor_assertf() message in struct_check_magic().

Closes 32771; bugfix on 0.4.2.1-alpha.

6 years agoMerge branch 'bug32765_041' into bug32771_042
Nick Mathewson [Mon, 16 Dec 2019 20:27:18 +0000 (15:27 -0500)] 
Merge branch 'bug32765_041' into bug32771_042

6 years agoUse CHECK_PRINTF() for printf-like functions in util_bug.h
Nick Mathewson [Mon, 16 Dec 2019 20:14:13 +0000 (15:14 -0500)] 
Use CHECK_PRINTF() for printf-like functions in util_bug.h

6 years agoMerge branch 'tor-github/pr/1591'
George Kadianakis [Mon, 16 Dec 2019 20:01:10 +0000 (22:01 +0200)] 
Merge branch 'tor-github/pr/1591'

6 years agoAdd changes file
Mike Perry [Wed, 11 Dec 2019 21:38:00 +0000 (13:38 -0800)] 
Add changes file

6 years agoAdd circuit padding developer and quickstart docs.
Mike Perry [Thu, 15 Aug 2019 20:35:06 +0000 (15:35 -0500)] 
Add circuit padding developer and quickstart docs.

6 years agoCompact lines in test_e2e_rend_circuit_setup()
Neel Chauhan [Mon, 16 Dec 2019 19:23:09 +0000 (14:23 -0500)] 
Compact lines in test_e2e_rend_circuit_setup()

6 years agoRemove extra space from helper_get_circ_and_stream_for_test() call in test_e2e_rend_c...
Neel Chauhan [Mon, 16 Dec 2019 19:19:55 +0000 (14:19 -0500)] 
Remove extra space from helper_get_circ_and_stream_for_test() call in test_e2e_rend_circuit_setup()

6 years agoMerge branch 'bug32240_32242_042' into bug32240_32242_master
teor [Sun, 15 Dec 2019 23:25:38 +0000 (09:25 +1000)] 
Merge branch 'bug32240_32242_042' into bug32240_32242_master

Merge:
* libzstd-dev from ticket32242_042
* coccinelle from master

6 years agoMerge branch 'bug32240_32242_041' into bug32240_32242_042
teor [Sun, 15 Dec 2019 23:23:46 +0000 (09:23 +1000)] 
Merge branch 'bug32240_32242_041' into bug32240_32242_042

6 years agoMerge branch 'bug32240_32242_040' into bug32240_32242_041
teor [Sun, 15 Dec 2019 23:23:41 +0000 (09:23 +1000)] 
Merge branch 'bug32240_32242_040' into bug32240_32242_041

6 years agoMerge branch 'bug32240_32242_035' into bug32240_32242_040
teor [Sun, 15 Dec 2019 23:22:52 +0000 (09:22 +1000)] 
Merge branch 'bug32240_32242_035' into bug32240_32242_040

Merge:
* libzstd-dev from ticket32242_035
* shellcheck from maint-0.4.0

6 years agoMerge remote-tracking branch 'tor-github/pr/1459' into bug32240_32242_035
teor [Sun, 15 Dec 2019 23:21:05 +0000 (09:21 +1000)] 
Merge remote-tracking branch 'tor-github/pr/1459' into bug32240_32242_035

6 years agoMerge branch 'bug32240_042' into bug32240_master
teor [Sun, 15 Dec 2019 23:17:02 +0000 (09:17 +1000)] 
Merge branch 'bug32240_042' into bug32240_master

6 years agoMerge branch 'bug32240_041' into bug32240_042
teor [Sun, 15 Dec 2019 23:15:42 +0000 (09:15 +1000)] 
Merge branch 'bug32240_041' into bug32240_042

Merge:
* CHUTNEY_TOR_SANDBOX=0 from bug32240_041
* RUST_VERSION from maint-0.4.2

6 years agoMerge branch 'bug32240_040' into bug32240_041
teor [Sun, 15 Dec 2019 23:14:38 +0000 (09:14 +1000)] 
Merge branch 'bug32240_040' into bug32240_041

6 years agoMerge branch 'bug32240_035' into bug32240_040
teor [Sun, 15 Dec 2019 23:14:32 +0000 (09:14 +1000)] 
Merge branch 'bug32240_035' into bug32240_040

6 years agoMerge branch 'bug32240_029' into bug32240_035
teor [Sun, 15 Dec 2019 23:09:16 +0000 (09:09 +1000)] 
Merge branch 'bug32240_029' into bug32240_035

Merge
* Chutney Trusty deletion in bug32240_029
* NSS addition in maint-0.3.5

6 years agochanges: file for 32240 maint-0.2.9
teor [Sun, 15 Dec 2019 23:06:25 +0000 (09:06 +1000)] 
changes: file for 32240

6 years agoTravis: Run Chutney jobs in Ubuntu Bionic images
teor [Sun, 15 Dec 2019 23:03:48 +0000 (09:03 +1000)] 
Travis: Run Chutney jobs in Ubuntu Bionic images

Closes 32240.

6 years agoTravis: Turn off Tor's Sandbox in Chutney jobs
teor [Sun, 15 Dec 2019 23:01:45 +0000 (09:01 +1000)] 
Travis: Turn off Tor's Sandbox in Chutney jobs

We need to set "Sandbox 0", until we fix sandbox errors that are
triggered by Ubuntu Xenial and Bionic. See 32722.

Part of 32240.

6 years agoMerge branch 'maint-0.4.2'
teor [Sun, 15 Dec 2019 22:16:28 +0000 (08:16 +1000)] 
Merge branch 'maint-0.4.2'

6 years agoMerge branch 'maint-0.4.1' into maint-0.4.2
teor [Sun, 15 Dec 2019 22:16:20 +0000 (08:16 +1000)] 
Merge branch 'maint-0.4.1' into maint-0.4.2

6 years agoMerge branch 'maint-0.4.0' into maint-0.4.1
teor [Sun, 15 Dec 2019 22:16:12 +0000 (08:16 +1000)] 
Merge branch 'maint-0.4.0' into maint-0.4.1

6 years agoMerge branch 'maint-0.3.5' into maint-0.4.0
teor [Sun, 15 Dec 2019 22:16:04 +0000 (08:16 +1000)] 
Merge branch 'maint-0.3.5' into maint-0.4.0

6 years agoMerge branch 'maint-0.2.9' into maint-0.3.5
teor [Sun, 15 Dec 2019 22:15:55 +0000 (08:15 +1000)] 
Merge branch 'maint-0.2.9' into maint-0.3.5

6 years agoMerge remote-tracking branch 'tor-github/pr/1505'
teor [Sun, 15 Dec 2019 22:15:19 +0000 (08:15 +1000)] 
Merge remote-tracking branch 'tor-github/pr/1505'

6 years agoMerge remote-tracking branch 'tor-github/pr/1577' into maint-0.4.2
teor [Sun, 15 Dec 2019 22:14:29 +0000 (08:14 +1000)] 
Merge remote-tracking branch 'tor-github/pr/1577' into maint-0.4.2

6 years agoMerge remote-tracking branch 'tor-github/pr/1576' into maint-0.3.5
teor [Sun, 15 Dec 2019 22:14:04 +0000 (08:14 +1000)] 
Merge remote-tracking branch 'tor-github/pr/1576' into maint-0.3.5

6 years agoMerge remote-tracking branch 'tor-github/pr/1575' into maint-0.2.9
teor [Sun, 15 Dec 2019 22:13:38 +0000 (08:13 +1000)] 
Merge remote-tracking branch 'tor-github/pr/1575' into maint-0.2.9

6 years agoAdd torint.h include to confdecl.h.
Nick Mathewson [Sun, 15 Dec 2019 16:46:05 +0000 (11:46 -0500)] 
Add torint.h include to confdecl.h.

This change allows other modules to include confdecl.h without
having first to include integer types they might not even use.

6 years agoMerge remote-tracking branch 'tor-github/pr/1598'
Nick Mathewson [Fri, 13 Dec 2019 16:09:17 +0000 (11:09 -0500)] 
Merge remote-tracking branch 'tor-github/pr/1598'

6 years agomanpage: fix some quoting
Taylor Yu [Thu, 12 Dec 2019 17:19:35 +0000 (11:19 -0600)] 
manpage: fix some quoting

Fix some quoting, especially of constructs like "[address:]port", that
were proving tricky for Asciidoctor tooling to parse correctly.

Also fix formatting of some configuration variable names that
contained double underscores.  Neither asciidoc nor asciidoctor was
rendering some of those correctly.

Part of ticket 32708.

6 years agomanpage: section titles to 1-line
Taylor Yu [Wed, 11 Dec 2019 17:23:27 +0000 (11:23 -0600)] 
manpage: section titles to 1-line

Change the section title formatting to use the one-line format.  This
allows Asciidoctor-based tooling to parse it more easily.

Part of ticket 32708.

6 years agomanpage: indent linebreak markup
Taylor Yu [Wed, 11 Dec 2019 15:27:51 +0000 (09:27 -0600)] 
manpage: indent linebreak markup

Indent the asciidoc markup for lone linebreaks to match the preceding
paragraph line, so that Asciidoctor tools can format them correctly.

Part of ticket 32708.

6 years agochanges file for ticket 32708
Taylor Yu [Mon, 9 Dec 2019 21:44:38 +0000 (15:44 -0600)] 
changes file for ticket 32708

6 years agomanpage: minor formatting fixes
Taylor Yu [Mon, 9 Dec 2019 20:54:24 +0000 (14:54 -0600)] 
manpage: minor formatting fixes

These are unrelated changes done by Swati while doing the alphabetizing.

Part of ticket 32708.

6 years agomanpage: alphabetize General Options
Swati Thacker [Tue, 26 Nov 2019 09:11:03 +0000 (14:41 +0530)] 
manpage: alphabetize General Options

Part of ticket 32708.

6 years agochanges: update changes file for 32609
teor [Thu, 12 Dec 2019 06:12:18 +0000 (16:12 +1000)] 
changes: update changes file for 32609

6 years agoMakefile: Remove the broken, duplicate check-practracker-unit-test
teor [Thu, 12 Dec 2019 06:08:05 +0000 (16:08 +1000)] 
Makefile: Remove the broken, duplicate check-practracker-unit-test

This test doesn't set PYTHON, and ignores USE_PYTHON. And it's already
listed in TEST_SCRIPTS.

Fixes CI issue 32705.

6 years agosrc/ext: Add __future__ imports for python 3 compatibility
teor [Thu, 12 Dec 2019 05:59:47 +0000 (15:59 +1000)] 
src/ext: Add __future__ imports for python 3 compatibility

Closes ticket 32732.

6 years agopython: Add __future__ imports for python 3 compatibility
teor [Thu, 12 Dec 2019 05:58:51 +0000 (15:58 +1000)] 
python: Add __future__ imports for python 3 compatibility

Except for src/ext, which we may not want to modify.

Closes ticket 32732.

6 years agoDocument high-level architecture goals
Taylor Yu [Sun, 8 Dec 2019 23:07:34 +0000 (17:07 -0600)] 
Document high-level architecture goals

Create a high-level description of the long-term software architecture
goals.  Closes ticket 32206.

6 years agoAdd a changes file for ticket 32172.
Nick Mathewson [Tue, 10 Dec 2019 15:54:45 +0000 (10:54 -0500)] 
Add a changes file for ticket 32172.

6 years agoset up tmp dir for test suite to run on Android
Hans-Christoph Steiner [Wed, 16 Oct 2019 16:52:36 +0000 (18:52 +0200)] 
set up tmp dir for test suite to run on Android

There is no /tmp or mkdtemp on Android, there is /data/local/tmp for
root and the shell user. So this fakes mkdtemp.  Also, FYI, tor might
not like the default perms of /data/local/tmp, e.g. 0770.

https://trac.torproject.org/projects/tor/ticket/32172

6 years agoIn cancel_descriptor_fetches(), use connection_list_by_type_purpose() instead of...
Neel Chauhan [Thu, 5 Dec 2019 18:40:49 +0000 (13:40 -0500)] 
In cancel_descriptor_fetches(), use connection_list_by_type_purpose() instead of connection_list_by_type_state()

6 years agoMerge branch 'tor-github/pr/1581'
George Kadianakis [Tue, 10 Dec 2019 16:34:00 +0000 (18:34 +0200)] 
Merge branch 'tor-github/pr/1581'

6 years agohs-v3: Handle client rendezvous circuit timeout
David Goulet [Tue, 3 Dec 2019 16:08:13 +0000 (11:08 -0500)] 
hs-v3: Handle client rendezvous circuit timeout

With v3, the "pending_final_cpath" of a circuit is always NULL which means
that for v3, established client rendezvous circuit waiting for the intro point
to ACK, will always end up timing out quickly.

This can increase the delays to which you connect to a service since in order
to succeed, the rendezvous circuit needs to fully established
(CIRCUIT_PURPOSE_C_REND_JOINED) within the cutoff of the introduction circuit
as well which is these days around 2-3 seconds.

Fixes #32021

Signed-off-by: David Goulet <dgoulet@torproject.org>
6 years agoMerge branch 'tor-github/pr/1583'
David Goulet [Tue, 10 Dec 2019 14:42:09 +0000 (09:42 -0500)] 
Merge branch 'tor-github/pr/1583'

6 years agohs-v3: Fix memory leak in test_hs_control_store_permanent_creds()
George Kadianakis [Wed, 4 Dec 2019 11:40:03 +0000 (13:40 +0200)] 
hs-v3: Fix memory leak in test_hs_control_store_permanent_creds()

6 years agoMerge branch 'maint-0.4.2'
Nick Mathewson [Mon, 9 Dec 2019 21:04:09 +0000 (16:04 -0500)] 
Merge branch 'maint-0.4.2'

"ours" to avoid version bump.

6 years agobump to 0.4.2.5-dev
Nick Mathewson [Mon, 9 Dec 2019 21:03:31 +0000 (16:03 -0500)] 
bump to 0.4.2.5-dev