diff options
author | Nick Mathewson <nickm@torproject.org> | 2011-01-26 11:35:24 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2011-01-26 11:35:24 -0500 |
commit | d92a415bedd5220be05f3556007bf29ef18bd2f5 (patch) | |
tree | 960ce03bd56c5eaded80be93f01b2a74210e6e51 /src/or/or.h | |
parent | 411ec3c0f8cd4786233a3bc274cb2b766d4bfe7c (diff) | |
download | tor-d92a415bedd5220be05f3556007bf29ef18bd2f5.tar.gz tor-d92a415bedd5220be05f3556007bf29ef18bd2f5.zip |
Add an option to disable the block-private-addresses feature
Suggested by rransom. Probably necessary for testing network mode.
Diffstat (limited to 'src/or/or.h')
-rw-r--r-- | src/or/or.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/or/or.h b/src/or/or.h index a3ec71a927..752de219ef 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -2756,6 +2756,10 @@ typedef struct { * Helps avoid some cross-site attacks. */ int ClientDNSRejectInternalAddresses; + /** If true, do not accept any requests to connect to internal addresses + * over randomly chosen exits. */ + int ClientRejectInternalAddresses; + /** The length of time that we think a consensus should be fresh. */ int V3AuthVotingInterval; /** The length of time we think it will take to distribute votes. */ |