diff options
author | Nick Mathewson <nickm@torproject.org> | 2007-07-05 14:50:05 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2007-07-05 14:50:05 +0000 |
commit | b5c8a6183ac00782c8b5133791ee566c85f8d35f (patch) | |
tree | fbdf7789f3619120c2b5f0f542d4ebf0edb697de /src/or/dns.c | |
parent | 92b0fc2e5339dbf6cb7281915d89d73d78257022 (diff) | |
download | tor-b5c8a6183ac00782c8b5133791ee566c85f8d35f.tar tor-b5c8a6183ac00782c8b5133791ee566c85f8d35f.tar.gz |
r13452@kushana: nickm | 2007-06-20 09:52:55 -0400
Patch from Robert Hogan: Generate STREAM NEW events for dnsport requests and tunneled directory connections. Log when we are testing for hijacking.
svn:r10737
Diffstat (limited to 'src/or/dns.c')
-rw-r--r-- | src/or/dns.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/dns.c b/src/or/dns.c index 26daf39fb..9bea7f574 100644 --- a/src/or/dns.c +++ b/src/or/dns.c @@ -1407,6 +1407,9 @@ launch_wildcard_check(int min_len, int max_len, const char *suffix) name[len] = '\0'; strlcat(name, suffix, sizeof(name)); + log_info(LD_EXIT, "Testing whether our DNS server is hijacking nonexistent " + "domains with requrest for bogus hostname \"%s\"", name); + addr = tor_strdup(name); r = evdns_resolve_ipv4(name, DNS_QUERY_NO_SEARCH, evdns_wildcard_check_callback, addr); |