This is an automated email from the git hooks/post-receive script.
dgoulet pushed a change to branch main in repository tor.
from ca135a127d Merge branch 'maint-0.4.7' new 6300a9548d hs: Retry rdv circuit if repurposed new fb21387882 Merge branch 'tor-gitlab/mr/637' new a7aa22a4e7 hs: Retry rdv circuit if repurposed new 95f61cc84f Merge branch 'maint-0.4.7'
The 4 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference.
Summary of changes: changes/ticket40696 | 3 +++ src/feature/hs/hs_circuit.c | 11 +++++++++++ 2 files changed, 14 insertions(+) create mode 100644 changes/ticket40696
This is an automated email from the git hooks/post-receive script.
dgoulet pushed a commit to branch main in repository tor.
commit 6300a9548dcbe11935db374c7e7455743f3283c3 Author: David Goulet dgoulet@torproject.org AuthorDate: Mon Oct 24 11:03:38 2022 -0400
hs: Retry rdv circuit if repurposed
This can happen if our measurement subsystem decides to snatch it.
Fixes #40696
Signed-off-by: David Goulet dgoulet@torproject.org --- changes/ticket40696 | 3 +++ src/feature/hs/hs_circuit.c | 11 +++++++++++ 2 files changed, 14 insertions(+)
diff --git a/changes/ticket40696 b/changes/ticket40696 new file mode 100644 index 0000000000..a2c09f6a83 --- /dev/null +++ b/changes/ticket40696 @@ -0,0 +1,3 @@ + o Minor bugfixes (onion service): + - Make the service retry a rendezvous if the circuit is being repurposed for + measurements. Fixes bug 40696; bugfix on 0.3.5.1-alpha. diff --git a/src/feature/hs/hs_circuit.c b/src/feature/hs/hs_circuit.c index d253802f79..edb5e692e7 100644 --- a/src/feature/hs/hs_circuit.c +++ b/src/feature/hs/hs_circuit.c @@ -1319,6 +1319,17 @@ hs_circ_cleanup_on_repurpose(circuit_t *circ) if (circ->hs_token) { hs_circuitmap_remove_circuit(circ); } + + switch (circ->purpose) { + case CIRCUIT_PURPOSE_S_CONNECT_REND: + /* This circuit was connecting to a rendezvous point but it is being + * repurposed so we need to relaunch an attempt else the client will be + * left hanging waiting for the rendezvous. */ + hs_circ_retry_service_rendezvous_point(TO_ORIGIN_CIRCUIT(circ)); + break; + default: + break; + } }
/** Return true iff the given established client rendezvous circuit was sent
This is an automated email from the git hooks/post-receive script.
dgoulet pushed a commit to branch main in repository tor.
commit a7aa22a4e76d0076e4c46f474708d2386c3139c6 Author: David Goulet dgoulet@torproject.org AuthorDate: Mon Oct 24 11:03:38 2022 -0400
hs: Retry rdv circuit if repurposed
This can happen if our measurement subsystem decides to snatch it.
Fixes #40696
Signed-off-by: David Goulet dgoulet@torproject.org --- changes/ticket40696 | 3 +++ src/feature/hs/hs_circuit.c | 11 +++++++++++ 2 files changed, 14 insertions(+)
diff --git a/changes/ticket40696 b/changes/ticket40696 new file mode 100644 index 0000000000..a2c09f6a83 --- /dev/null +++ b/changes/ticket40696 @@ -0,0 +1,3 @@ + o Minor bugfixes (onion service): + - Make the service retry a rendezvous if the circuit is being repurposed for + measurements. Fixes bug 40696; bugfix on 0.3.5.1-alpha. diff --git a/src/feature/hs/hs_circuit.c b/src/feature/hs/hs_circuit.c index d253802f79..edb5e692e7 100644 --- a/src/feature/hs/hs_circuit.c +++ b/src/feature/hs/hs_circuit.c @@ -1319,6 +1319,17 @@ hs_circ_cleanup_on_repurpose(circuit_t *circ) if (circ->hs_token) { hs_circuitmap_remove_circuit(circ); } + + switch (circ->purpose) { + case CIRCUIT_PURPOSE_S_CONNECT_REND: + /* This circuit was connecting to a rendezvous point but it is being + * repurposed so we need to relaunch an attempt else the client will be + * left hanging waiting for the rendezvous. */ + hs_circ_retry_service_rendezvous_point(TO_ORIGIN_CIRCUIT(circ)); + break; + default: + break; + } }
/** Return true iff the given established client rendezvous circuit was sent
This is an automated email from the git hooks/post-receive script.
dgoulet pushed a commit to branch main in repository tor.
commit fb21387882221e485d8db52ee21e353ec745fda7 Merge: ca135a127d 6300a9548d Author: David Goulet dgoulet@torproject.org AuthorDate: Wed Oct 26 15:07:42 2022 -0400
Merge branch 'tor-gitlab/mr/637'
changes/ticket40696 | 3 +++ src/feature/hs/hs_circuit.c | 11 +++++++++++ 2 files changed, 14 insertions(+)
This is an automated email from the git hooks/post-receive script.
dgoulet pushed a commit to branch main in repository tor.
commit 95f61cc84fef97fa5dfddb6add32b804d80d9563 Merge: fb21387882 a7aa22a4e7 Author: David Goulet dgoulet@torproject.org AuthorDate: Wed Oct 26 15:07:47 2022 -0400
Merge branch 'maint-0.4.7'
tor-commits@lists.torproject.org