From b443bc3603cc7b5d6e492b955fafc744ade54f04 Mon Sep 17 00:00:00 2001 From: Damian Johnson Date: Fri, 14 Aug 2020 16:07:39 -0700 Subject: Demonstrate how to remove MAPADDRESS entries Our docs accurately describe how to remove MAPADDRESS entries, but doesn't demonstrate it. Exemplifying how to query our mappings and remove them. https://gitlab.torproject.org/tpo/core/tor/-/issues/40104 --- control-spec.txt | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) (limited to 'control-spec.txt') diff --git a/control-spec.txt b/control-spec.txt index e338d79..a5eaeee 100644 --- a/control-spec.txt +++ b/control-spec.txt @@ -516,9 +516,19 @@ Example: - C: MAPADDRESS 0.0.0.0=torproject.org 1.2.3.4=tor.freehaven.net - S: 250-127.192.10.10=torproject.org - S: 250 1.2.3.4=tor.freehaven.net + C: MAPADDRESS 1.2.3.4=torproject.org + S: 250 1.2.3.4=torproject.org + + C: GETINFO address-mappings/control + S: 250-address-mappings/control=1.2.3.4 torproject.org NEVER + S: 250 OK + + C: MAPADDRESS 1.2.3.4=1.2.3.4 + S: 250 1.2.3.4=1.2.3.4 + + C: GETINFO address-mappings/control + S: 250-address-mappings/control= + S: 250 OK {Note: This feature is designed to be used to help Tor-ify applications that need to use SOCKS4 or hostname-less SOCKS5. There are three -- cgit v1.2.3-54-g00ecf