aboutsummaryrefslogtreecommitdiff
path: root/src/trunnel/pwbox.trunnel
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2018-09-20 09:32:13 -0400
committerDavid Goulet <dgoulet@torproject.org>2018-09-21 08:44:12 -0400
commit79265a6fb606e416529f5a1dd31c94f15edec91b (patch)
tree98e2774b37dc671ef93a2af9a7125e293a1a9500 /src/trunnel/pwbox.trunnel
parent119159677be14351ebcae647d3988f4f2fd9eb72 (diff)
downloadtor-79265a6fb606e416529f5a1dd31c94f15edec91b.tar.gz
tor-79265a6fb606e416529f5a1dd31c94f15edec91b.zip
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 <dgoulet@torproject.org>
Diffstat (limited to 'src/trunnel/pwbox.trunnel')
0 files changed, 0 insertions, 0 deletions