aboutsummaryrefslogtreecommitdiff
path: root/src/or/control.c
diff options
context:
space:
mode:
authorrl1987 <nobody@nowhere.int>2013-08-23 21:06:42 +0300
committerNick Mathewson <nickm@torproject.org>2014-04-08 13:50:02 -0400
commit51e13cd1ad5f7c130521e2a964ea462f35d1880e (patch)
treec7f5cbaf837e96d0bb60f351e67aa724f0f9cdfe /src/or/control.c
parent77e4a01f12cc127022df16922fbe526bfc5824d9 (diff)
downloadtor-51e13cd1ad5f7c130521e2a964ea462f35d1880e.tar.gz
tor-51e13cd1ad5f7c130521e2a964ea462f35d1880e.zip
Making entire exit policy available to Tor controller.
Diffstat (limited to 'src/or/control.c')
-rwxr-xr-x[-rw-r--r--]src/or/control.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/control.c b/src/or/control.c
index 7034605c20..a6caf0d049 100644..100755
--- a/src/or/control.c
+++ b/src/or/control.c
@@ -2201,6 +2201,9 @@ static const getinfo_item_t getinfo_items[] = {
"v3 Networkstatus consensus as retrieved from a DirPort."),
ITEM("exit-policy/default", policies,
"The default value appended to the configured exit policy."),
+ ITEM("exit-policy/full", policies, "The entire exit policy of onion router"),
+ ITEM("exit-policy/ipv4", policies, "IPv4 parts of exit policy"),
+ ITEM("exit-policy/ipv6", policies, "IPv6 parts of exit policy"),
PREFIX("ip-to-country/", geoip, "Perform a GEOIP lookup"),
{ NULL, NULL, NULL, 0 }
};