Skip to content
Snippets Groups Projects
Commit 79265a6f authored by David Goulet's avatar David Goulet :panda_face:
Browse files

hs-v3: Don't BUG() if the RP node_t is invalid client side


When sending the INTRODUCE1 cell, we acquire the needed data for the cell but
if the RP node_t has invalid data, we'll fail the send and completely kill the
SOCKS connection.

Instead, close the rendezvous circuit and return a transient error meaning
that Tor can recover by selecting a new rendezvous point. We'll also do the
same when we are unable to encode the INTRODUCE1 cell for which at that point,
we'll simply take another shot at a new rendezvous point.

Fixes #27774

Signed-off-by: David Goulet's avatarDavid Goulet <dgoulet@torproject.org>
parent 11915967
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment