Opened 2 months ago

Last modified 11 days ago

#29927 new defect

Tor protocol errors causing silent dropped cells

Reported by: mikeperry Owned by:
Priority: High Milestone: Tor: 0.4.1.x-final
Component: Core Tor/Tor Version:
Severity: Normal Keywords: tor-hs, diagnostic, mystery, security
Cc: starlight@… Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description (last modified by mikeperry)

While testing vanguards, I've got some mystery cases client side where circuits are getting closed with END_CIRC_REASON_TORPROTOCOL, but Tor is not emmitting any log lines that correspond to this, even at debug level.

This is happening for circuits with purpose CIRCUIT_PURPOSE_C_REND_READY_INTRO_ACKED. Additionally, all circuits seem able to fail during construction with END_CIRC_REASON_TORPROTOCOL, with no Tor log messages even at debug loglevel. Possibly more ntor handshake failures, similar to #29700?

Finally, CIRCUIT_PURPOSE_C_INTRODUCE_ACKED circuits are getting closed with a END_CIRC_REASON_FINISHED after receiving an invalid cell, seemingly after they are done being used.

See also

The vanguards addon now outputs this bug number at INFO log level when this happens.

Child Tickets

Change History (4)

comment:1 Changed 2 months ago by mikeperry

Description: modified (diff)

comment:2 Changed 8 weeks ago by starlight

Cc: starlight@… added

comment:3 Changed 7 weeks ago by nickm

Keywords: diagnostic mystery added
Milestone: Tor: 0.4.1.x-final
Priority: MediumHigh

comment:4 Changed 11 days ago by nickm

Keywords: security added
Note: See TracTickets for help on using tickets.