Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Tor Trac #32614]: Flag a v3 intro point as bad if rendezvous fails during cleanup #1682

Closed
wants to merge 2 commits into from

Conversation

Labels
None yet
Projects
None yet
4 participants
@neelchauhan
Copy link
Contributor

@neelchauhan neelchauhan commented Jan 23, 2020

Ticket: https://trac.torproject.org/projects/tor/ticket/32614

@coveralls
Copy link

@coveralls coveralls commented Jan 23, 2020

Pull Request Test Coverage Report for Build 8224

  • 7 of 7 (100.0%) changed or added relevant lines in 1 file are covered.
  • 6162 unchanged lines in 39 files lost coverage.
  • Overall coverage increased (+0.5%) to 63.845%

Files with Coverage Reduction New Missed Lines %
src/core/crypto/hs_ntor.c 1 97.9%
src/core/or/or.h 1 88.89%
src/core/or/or_sys.c 2 86.67%
src/app/main/shutdown.c 3 73.91%
src/app/main/subsysmgr.c 3 84.09%
src/lib/net/address.h 4 73.33%
src/feature/hs/hs_cache.c 7 93.42%
src/feature/control/control_getinfo.c 8 29.09%
src/core/or/circuitmux_ewma.c 9 93.75%
src/core/or/scheduler_kist.c 9 79.76%
Totals Coverage Status
Change from base Build 7855: 0.5%
Covered Lines: 50520
Relevant Lines: 79129

💛 - Coveralls

safe_str_client(ed25519_fmt(&orig_circ->hs_ident->identity_pk)),
safe_str_client(build_state_get_exit_nickname(
orig_circ->build_state)));
hs_cache_client_intro_state_note(&orig_circ->hs_ident->identity_pk,
Copy link
Member

@asn-d6 asn-d6 Jun 30, 2020

Is indentation right here?

@@ -1752,6 +1752,7 @@ hs_client_circuit_cleanup_on_free(const circuit_t *circ)
(circ->marked_for_close_orig_reason == END_CIRC_REASON_TIMEOUT);
if (has_timed_out) {
failure = INTRO_POINT_FAILURE_TIMEOUT;
orig_circ->hs_ident->num_tries += 1;
Copy link
Member

@asn-d6 asn-d6 Jun 30, 2020

Should this counter be on the rendezvous circuit or the introduction circuit?

@@ -0,0 +1,6 @@
o Major bugfixes (onion service):
- If an rendevous point fails multiple times, we mark the intro point
Copy link
Member

@asn-d6 asn-d6 Jun 30, 2020

Changes file should mention that the fail should be "time-out" related.
Also, "Previously, we kept rendezvous points even if they failed open", do you mean to say "intro points"?

@torproject-pusher torproject-pusher deleted the branch torproject:master May 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment