diff options
author | Nick Mathewson <nickm@torproject.org> | 2006-06-03 21:41:14 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2006-06-03 21:41:14 +0000 |
commit | c660a0f6a2875a8b9b612f28a7f752b3ca8eb5da (patch) | |
tree | 019d62051717340d6b63af87f512120f2f154b85 /src/or/eventdns_tor.h | |
parent | 85a25c8a29e6d612ff33b75464363a51eea42e7b (diff) | |
download | tor-c660a0f6a2875a8b9b612f28a7f752b3ca8eb5da.tar.gz tor-c660a0f6a2875a8b9b612f28a7f752b3ca8eb5da.zip |
More DNS fixes. Send meaningful TTLs back to the client when
possible. Cache at the server side independently from the TTL, to
prevent attackers from probing the server to see who has been asking
for what hostnames. (Hi, Dan Kaminski!)
Also, clean some whitespace.
svn:r6526
Diffstat (limited to 'src/or/eventdns_tor.h')
-rw-r--r-- | src/or/eventdns_tor.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/eventdns_tor.h b/src/or/eventdns_tor.h index 06abe359f7..a18db12d7d 100644 --- a/src/or/eventdns_tor.h +++ b/src/or/eventdns_tor.h @@ -3,3 +3,4 @@ #define DNS_USE_OPENSSL_FOR_ID typedef unsigned int uint; typedef unsigned char u_char; + |