[tor-commits] [torspec/master] Add "GETINFO address/v(4/6)"

nickm at torproject.org nickm at torproject.org
Mon Aug 10 18:52:52 UTC 2020


commit 3bf47334f39c366235c0451f31df3ad2978edc4f
Author: Neel Chauhan <neel at neelc.org>
Date:   Tue Aug 4 14:03:06 2020 -0700

    Add "GETINFO address/v(4/6)"
---
 control-spec.txt | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/control-spec.txt b/control-spec.txt
index fb35d94..e338d79 100644
--- a/control-spec.txt
+++ b/control-spec.txt
@@ -696,6 +696,11 @@
     "address" -- the best guess at our external IP address. If we
       have no guess, return a 551 error. (Added in 0.1.2.2-alpha)
 
+    "address/v4"
+    "address/v6"
+      the best guess at our respective external IPv4 or IPv6 address.
+      If we have no guess, return a 551 error. (Added in 0.4.5.1-alpha)
+
     "fingerprint" -- the contents of the fingerprint file that Tor
       writes as a relay, or a 551 if we're not a relay currently.
       (Added in 0.1.2.3-alpha)





More information about the tor-commits mailing list