[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [arm/master] Interpretor help for MAPADDRESS
commit c3b70bef3e9f85b733d7087963374b58f73b9240
Author: Damian Johnson <atagar@xxxxxxxxxxxxxx>
Date: Mon Sep 19 07:28:47 2011 -0700
Interpretor help for MAPADDRESS
Basic description and the example from the control spec.
---
src/util/torInterpretor.py | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/src/util/torInterpretor.py b/src/util/torInterpretor.py
index 3726517..658b65e 100644
--- a/src/util/torInterpretor.py
+++ b/src/util/torInterpretor.py
@@ -166,6 +166,11 @@ Example:
ExitPolicy reject *:*
."""
+HELP_MAPADDRESS = """Replaces future requests for one address with another.
+
+Example:
+ MAPADDRESS 0.0.0.0=torproject.org 1.2.3.4=tor.freehaven.net"""
+
HELP_OPTIONS = {
"HELP": ("/help [OPTION]", HELP_HELP),
"WRITE": ("/write [PATH]", HELP_WRITE),
@@ -181,6 +186,7 @@ HELP_OPTIONS = {
"USEFEATURE": ("USEFEATURE OPTION", HELP_USEFEATURE),
"SAVECONF": ("SAVECONF", HELP_SAVECONF),
"LOADCONF": ("LOADCONF", HELP_LOADCONF),
+ "MAPADDRESS": ("MAPADDRESS SOURCE_ADDR=DESTINATION_ADDR", HELP_MAPADDRESS),
}
class InterpretorClosed(Exception):
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits