Opened 3 years ago

Last modified 3 years ago

#25630 new defect

Bug: 3-hop circuit 0x55e55d447270 with purpose 5 has no guard state

Reported by: meejah Owned by:
Priority: Medium Milestone: Tor: unspecified
Component: Core Tor/Tor Version: Tor: unspecified
Severity: Normal Keywords: tor-control
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:


After discussion on #tor-dev, arma told me to file this; I am hitting this for every circuit my exit-scanner creates when using tor master (0eed0899cdeadd84).

The circuits created all start with a current guard (but probably not any of "my" current guards). I've tried with both purpose=general and purpose=controller but the result is the same (except for the 5 vs 21 in the error message)

Child Tickets

Change History (2)

comment:1 Changed 3 years ago by arma

To be clear, this is the controller creating circuits using the EXTENDCIRCUIT option. So it is not surprising that the circuit doesn't have a guard state.

I guess the two main options are to somehow cobble together a guard state for circuits that are made over the control port, or go through all the various consistency checks and provide exceptions for circuits that were made over the controller.

(I think we don't even know that they were made over the controller, by the point we're doing many of the consistency checks. We could add an internal flag to remind us about whether they were, if that helps.)

And as another minor fix, it seems clear that circuit_purpose_may_omit_guard() should be ok with CIRCUIT_PURPOSE_CONTROLLER circs not having guard state.

Last edited 3 years ago by arma (previous) (diff)

comment:2 Changed 3 years ago by dgoulet

Keywords: tor-control added
Milestone: Tor: unspecified
Note: See TracTickets for help on using tickets.