[tor-commits] [torspec/master] Document error handling for #25852

nickm at torproject.org nickm at torproject.org
Mon May 14 18:15:46 UTC 2018


commit c5453a02aefa084868a5bda3972d20de4a5031b4
Author: rl1987 <rl1987 at sdf.lonestar.org>
Date:   Sat May 5 16:05:40 2018 +0200

    Document error handling for #25852
---
 control-spec.txt | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/control-spec.txt b/control-spec.txt
index e2f749e..510dc29 100644
--- a/control-spec.txt
+++ b/control-spec.txt
@@ -563,12 +563,15 @@
       on the current values of ExitPolicyRejectPrivate and
       ExitPolicyRejectLocalInterfaces. These lines are based on the public
       addresses configured in the torrc and present on the relay's
-      interfaces.
+      interfaces. Will send 552 error if the server is not running as
+      onion router or if there's non-transient internal error. Will send
+      551 on transient internal error.
 
     "exit-policy/ipv4"
     "exit-policy/ipv6"
     "exit-policy/full" -- This OR's exit policy, in IPv4-only, IPv6-only, or
-      all-entries flavors.
+      all-entries flavors. Handles errors in the same way as "exit-policy/
+      reject-private/relay" does.
 
     "desc/id/<OR identity>" or "desc/name/<OR nickname>" -- the latest
       server descriptor for a given OR.  (Note that modern Tor clients





More information about the tor-commits mailing list