prevent tor accepting dns requests on dnsport initiated by itself

Robert Hogan robert at roberthogan.net
Wed Jun 27 20:16:05 UTC 2007


On Wednesday 27 June 2007 17:18:22 Nick Mathewson wrote:
<snip>
>
> Hmmm. I really _don't_ like the idea of making good client DNS break
> _ever_, even if it's hard to provoke on your machine.  After all, if
> users see this in practice, it's not likely that they'll even know to
> report it as a bug, since it would be intermittent and hard to prove.
>
> Could it be simpler just to add a function to eventdns.c to make sure
> none of the nameservers are going to the addr:port of our dnsport?
>

A lot simpler. Revised patch attached.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: rejecttordnsreqs.patch
Type: text/x-diff
Size: 1956 bytes
Desc: not available
URL: <http://lists.torproject.org/pipermail/tor-dev/attachments/20070627/51dd9572/attachment.patch>


More information about the tor-dev mailing list