Article View: alt.privacy.anon-server
Article #254055Tor TCP DNS Daemon
From: S1K
Date: Thu, 09 Feb 2012 01:01
Date: Thu, 09 Feb 2012 01:01
46 lines
3737 bytes
3737 bytes
===================== A New Hope: ttdnsd =============================== The Tor Project has adopted The *Tor TCP DNS Daemon*, herein known as *ttdnsd*, from code originally written by the Fantastic Collin Mulliner. He was kind enough to re-license it under the BSD license and send it our way. Roger, Kragen, Nick, Jacob, and others have spent some spare time over the last month hacking on it. We've made a lot of improvements and we think there's a lot more to be done. ttdnsd is a useful way to work around the limitations inherent in how DNS is currently handled. ttdnsd is a small C program that allows you to make arbitrary DNS requests of any type. This is possible because ttdnsd converts any UDP request it receives into a TCP connection. It shuffles the data to an open recursive DNS server on the internet, waits for a reply, and then sends the reply back over the UDP socket where it received the original query. This means that ttdnsd uses Tor like any other TCP application. It also means that for ttdnsd to function, you'll need to have at least a single public, open, recursive DNS server. ttdnsd is configured by adding name servers to /etc/ttdnsd.conf; by default, we're shipping with a known tested, known open recursive name server run by Google: 8.8.8.8. We'd be more than happy to ship multiple resolvers as long as they don't behave in a funky way[7]. ttdnsd is pretty portable; it was originally designed for embedded Linux based routers. It currently builds on (Debian, Ubuntu, etc) Gnu/Linux, FreeBSD, NetBSD, Mac OS X, and perhaps someday also on Windows. It builds on the iPhone but does not seem to function. Patches are gladly accepted; bug reports are useful too. ttdnsd currently must be run as root to function properly. It drops privileges after it bind()s to port 53 on 127.0.0.1 to listen for UDP DNS requests; this is similar to DNSPort but provides access to a larger set of record types. ttdnsd presents a small privacy trade-off, but it allows for nearly all DNS records to be resolved. The main privacy concern is that there is a particular third party or set of third parties that will always answer your DNS queries. Over time, you may use different exit nodes, but if you are looking up a relatively uncommon hostname, you may make the same or similar requests to these DNS servers. As a result, they may be in a position to speculate about which particular exit node a particular Tor user was using when. It is unclear how widely this differs from the real-world resolution process that's already in use; what is the major DNS resolver used by Tor servers currently? Do we already do this with a third party?
Technical Details
Message-ID:
<jgv2dk$9sf$1@news.mixmin.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.privacy.anon-server.20141023.mbox.gz!border1.nntp.ams3.giganews.com!border1.nntp.ams2.giganews.com!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!news.mixmin.net!.POSTED!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <jgv2dk$9sf$1@news.mixmin.net> Subject: Tor TCP DNS Daemon Date: Thu, 09 Feb 2012 02:01:28 +0100 From: S1K <nobody@domain.invalid> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.privacy.anon-server.20141023.mbox.gz!border1.nntp.ams3.giganews.com!border1.nntp.ams2.giganews.com!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!news.mixmin.net!.POSTED!not-for-mail Newsgroups: alt.privacy.anon-server Organization: *ndnsmkqcb7l3ywck.onion* Reply-To: nobody@domain.invalid Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Injection-Date: Thu, 9 Feb 2012 00:01:58 +0000 (UTC) Injection-Info: news.mixmin.net; posting-host="9kzYv9tSWNvy7tMAgXjOpTzyvSI"; logging-data="10127"; mail-complaints-to="abuse@mixmin.net" User-Agent: <Minorthreat_1973> Lines: 45 X-Original-Bytes: 3433