diff options
author | Nick Mathewson <nickm@torproject.org> | 2006-12-28 21:29:11 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2006-12-28 21:29:11 +0000 |
commit | e5f5b96ca6bc35d22478840600c2dfdf2778950f (patch) | |
tree | 1c6d406bffc1d2691ff125894146d191fe17ebd2 /src/or/config.c | |
parent | 4cd302a1ebd44eafe5ac57062288436ab41b1220 (diff) | |
download | tor-e5f5b96ca6bc35d22478840600c2dfdf2778950f.tar.gz tor-e5f5b96ca6bc35d22478840600c2dfdf2778950f.zip |
r11723@Kushana: nickm | 2006-12-28 13:52:48 -0500
Fix bug 364: check for whether popular hostnames (curently google, yahoo, mit, and slashdot) are getting wildcarded. If they are, we are probably behind a DNS server that is useless: change our exit policy to reject *:*.
svn:r9199
Diffstat (limited to 'src/or/config.c')
-rw-r--r-- | src/or/config.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/config.c b/src/or/config.c index 9b3cca19d3..be22da7374 100644 --- a/src/or/config.c +++ b/src/or/config.c @@ -232,6 +232,8 @@ static config_var_t _option_vars[] = { VAR("ServerDNSDetectHijacking",BOOL, ServerDNSDetectHijacking,"1"), VAR("ServerDNSResolvConfFile", STRING, ServerDNSResolvConfFile, NULL), VAR("ServerDNSSearchDomains", BOOL, ServerDNSSearchDomains, "0"), + VAR("ServerDNSTestAddresses", CSV, ServerDNSTestAddresses, + "www.google.com,www.mit.edu,www.yahoo.com,www.slashdot.org"), VAR("ShutdownWaitLength", INTERVAL, ShutdownWaitLength, "30 seconds"), VAR("SocksListenAddress", LINELIST, SocksListenAddress, NULL), VAR("SocksPolicy", LINELIST, SocksPolicy, NULL), |