aboutsummaryrefslogtreecommitdiff
path: root/spec/rend-spec
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2023-12-11 21:03:51 +0000
committerNick Mathewson <nickm@torproject.org>2023-12-11 21:03:51 +0000
commit2e1daeb8c68bfef36aa218318cbac4594f58826f (patch)
tree558688c5f0ddc3bf33bcdcda9de73246d4875358 /spec/rend-spec
parent94f554b31c26780424ba0a47d8ba40f316236729 (diff)
parent5bd6218ced7bebbf99c32d24f93ea25a34fbcb8e (diff)
downloadtorspec-2e1daeb8c68bfef36aa218318cbac4594f58826f.tar.gz
torspec-2e1daeb8c68bfef36aa218318cbac4594f58826f.zip
Merge branch 'handle_intro_ack' into 'main'
Try to specify what clients should do upon receiving INTRO_ACK See merge request tpo/core/torspec!236
Diffstat (limited to 'spec/rend-spec')
-rw-r--r--spec/rend-spec/introduction-protocol.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/spec/rend-spec/introduction-protocol.md b/spec/rend-spec/introduction-protocol.md
index 94b7145..8b841fc 100644
--- a/spec/rend-spec/introduction-protocol.md
+++ b/spec/rend-spec/introduction-protocol.md
@@ -279,6 +279,15 @@ In reply, the introduction point sends an INTRODUCE_ACK cell back to
the client, either informing it that its request has been delivered,
or that its request will not succeed.
+If the INTRODUCE_ACK message indicates success,
+the client SHOULD close the circuit to the introduction point,
+and not use it for anything else.
+If the INTRODUCE_ACK message indicates failure,
+the client MAY try a different introduction point.
+It MAY reach the different introduction point
+either by extending its introduction circuit an additional hop,
+or by building a new introduction circuit.
+
```text
[TODO: specify what tor should do when receiving a malformed cell. Drop it?
Kill circuit? This goes for all possible cells.]