Caching Torrent files in DNS
bodin writes "This is a proof of concept version of BitTorrent where the torrent files are transported over DNS. This will of course bog down BIND servers all over the planet. Everyone should be thankful that the files are not sent over DNS."
Great I get to see this article posted just before the internet slows to an unacceptable crawl and names stop resolving.
Bloody hell, that guy has awful spelling!
And he's coded what is obviously the *worst idea ever!*
Do you want to shoot him or shall I?
I'm amazing. You aren't. SUCK IT
I know its sort of a chicken / egg thing... but can someone explain exactly why BT itself can't be used to distribute torrents, or to share the bandwidth of tracking?
Seriously. I don't pretend to understand 100% of the technology involved, but it seems pretty clear even to me that:
- DNS servers, as the name implies, are for serving DNS information.
- For information to be propagated at a good speed, we don't want DNS servers to be bogged down.
- If we start using DNS servers to send information larger than the usual DNS information, we bog them down.
That isn't to say that I think BitTorrent cacheing isn't possible. I just don't think it's a good idea to use existing DNS servers for it, although perhaps something could be built on similar technology, or dedicated Torrent users could run their own DNS servers if they're that determined to do something so bandwidth-intensive..."It is dark. You are likely to be eaten by a grue." -- Zork
I don't think it is a bad idea but I think we must start making "prime directives" ala RoboCop. ....
Prime Directives
1. Get DSL/Cable Modem
2. Install Linux/BSD/OpenSource OS.
3. Do not mess with DNS
Some of us have been using DNS to get through some really draconian firewalls for ages. It was just a matter of time before we saw someone distribute files this way. What is unique is that they will be cached. This in and of itself is an amazing idea. DNS is well designed to cache for well defined amounts of time.
The load on large DNS servers can grow quickly. I wouldn't be surprised if we see a set of patches coming out for DNS servers to combat this. the question is can we find a TTL that reduces the abuse and still makes it useful.
BitTorrent already requires fixed servers for operation (the "trackers"), and serving torrent files from the same trackers isn't a terrible burden. Why on earth would someone want to abuse DNS for this purpose?
Freenet over DHCP;
Gnutella over BOOTP;
And last, but not least, KaZaa over WINS!!! :)
You are not the customer.
Why would anyone want to "combat" it?
Also, if you'd bothered to read the article (all one page of it) you'd have seen:
Sounds pretty much like putting it into the required format, doesn't it?
Meep meep
DNS is being used to exchange the Torrent files, which are small, not the data itself, which is large.
The Torrent files are indexes that tell your BitTorrent program where and how to get its data.
This sounds very useful, since what was missing from the BitTorrent network was a way of distributing cached Torrent files, and this is exactly what DNS provides.
Remains to be seen whether it actually works, but it's a neat concept.
Ceci n'est pas une signature
If you read the article and know anything about DNS, you can see that he is splitting the file into 126 byte segments and storing the parts in TXT records of individual hosts. The host naming scheme is quite clever, I might add.
The goal is to offload the duty of serving up the files from the download servers to an existing distributed network. He even mentions that the DNS servers caching these records would consume massive amounts of memory, and then (like a spammer) blows it off as "its [memory] not that expensive today anyway."
If this is actually implemented on a wide scale, DNS administrators will simply stop caching TXT records, putting the load right back on the original download server where it belongs. Or worse, they may stop caching records altogether, which could only lead us all down the path of chaos, death and destruction.
I agree that it's clever, but like a deadly virus, not something that should leave the lab on a large scale.
Why don't we funnel all trucking traffic into and out of all major port cities through residential streets!
That way, a system we already have in place that seems to work ok can be scrapped, and we can bog down commuters only BLOCKS from their homes!!!!
THEN, I can get my article on Slashdot.
I am become Troll, destroyer of threads
news doesn't exist to just publish the good ideas, unless you really /want/ censorship
He's just talking about the .torrent file, which points to a torrent tracker, not the torrent data itself; and DNS works over TCP also.
Using DNS to cache a dozen or two kilobytes (or less, or more) where it's only meant to handle a few BYTES is likely to cause all sorts of problems.
There are already a number of posts on Slashdot talking about how this is a really bad idea. I disagree (with a big but). It would almost certainly be a Bad Idea (TM) if this were enacted and people tried to make it the main way of distributing torrents. However, I don't think the idea was meant to do that, I think it was more just to show that it could be done. It's akin to people who get put on the mainpage of Slashdot for hacking their Apple IIe's so that they have ethernet and then writing a simple graphical operating system for them so they can browse the web. Impractical and largely useless? Probably. Interesting and fun hack? Definitely.
If people start using this extensively, and the DNS servers start getting clogged up by this, we'll just have to come up with a way to send DNS information over BitTorrent! That way, everything will balance out, right?
If someone adds TXT records to their dnses and in turn to their dns slaves it's their buissnies, how the hell will this affect all dnses available in the world? You generally ask the "owner dns" but yes, if you ask your "ips's dns" or someone elses dns then they might cache the result.
.torrent file? And wouldn't linux distrobutiors enjoy this?
/me is also a typical Swedish geek =)
But how bad is that really? How large is a
$large_isp has several users who wants to download $linux_dist. The first user gets the TXT record and is off downloading. And the rest of em uses the cached record (if it is cached) in either case $linux_dist's webserver dosn't suffer as hard and they can always add more slave dnses to handle the load. Perhaps users even starts slave servers for that zone to help the dist.
(Is there really a rule that says "you have to cache and store TXT for $TTL time".)
And whats this with spelling? I mean you totally miss the point and... complain about spelling? is that the end of the world? =)
DNS is a resource locating service. For example, SRV records are a nicer way of autoconfiging your network.
With SRV records, you say service.domain = port at host. You could do a dig for ldap.slashdot.org and findout that the ldap server is on port 389 at directory.slashdot.org.
This is a slight extension of this. I don't know the exact implementation, but you could have a zone file that looks like:
'file being served'.bt.slashdot.org SRV 0 0 PORT 'seed host'
You can have multiple SRV's per resource and load balance between them.
DNS is currently used for stuff like this all over the place. We already have the technology. IXFR means we can transfer just the changes in the zones when there are updates.
Last time I checked, DNS is not over loaded and will scale to handle this. Even it 50% of the internet uses BT over DNS, 100% of the internet uses DNS for email, web and so forth. Every time an email is delivered, there are at least 6-10 DNS queries.
DNS will not be bogged down.
-- DrZaius - Minister of Sciences and Protector of the Faith
The tracker does not allocate bandwidth, it just introduces peers to each other.
I would guess that serving .torrent files is not a problem compared to the bandwidth and CPU used by the tracker. When downloading a file via BitTorrent, you only download the .torrent once but you check in with the tracker every few minutes.
I've been wondering about (ab)using DNS for FreeBSD Update -- the idea being that when you're updating a system which is not up to date with security fixes, you might want to be behind a draconian firewall. (The caching benefits of DNS are a non-issue; updating a year-old RELEASE takes only a couple MB.)
In the end, I decided that it would be more trouble than it's worth; but if someone else has written code I can borrow (I haven't looked in detail) then I might reconsider this.
Tarsnap: Online backups for the truly paranoid
Often, slashdotted articles are still available thru Google. That might work.
From TFA: "due the nature of the DNS it *CACHES* the entries"
No, that's BIND. And a BIND zonefile is just that: a BIND zonefile. All this is about BIND, not DNS. It does not work "over" or "with" or "through" DNS.
It's not clever either. More like abusing other people's resources.
Less is more !
I discovered this the other day,
http://www.torrentsearch.org/
basically its a p2p program that downloads the whole database of
You can then search for torrents through the gui. You can then download the
nick
Electronic Music Made Using Linux http://soundcloud.com/polyp
I guess one could sarcastically say thanks for the proof of concept, real good job. But then again, its better they did it and let everyone know it could be done, rather than having to find out about it 'in the wild'. I just hope its easy to prevent.
Manipulate the moderator system! Mod someone as "overrated" today.
See, I told you DNS would cause problems
;-)
You should have listened to me and stuck with Host files
Its design supports more networking addressing schemes than TCP/IP. These Bittorrent files are just addresses one/two abstraction levels from raw ip addresses. No big deal. You all sound like a bunch of whiney old ladies. Death of DNS! News at 11! The impact this will have on the DNS system you couldn't even measure with an electron microscope so just calm down.
Lots of postings discuss the load being placed on the DNS servers as lots of mp3's and binaries are transferred through them. Perhaps I am misunderstanding this but surely it's just the .torrent files themselves that are being distributed. The torrent files are just pointers to the trackers which keep a record of the peers who have the files. Distributing the .torrent files probably wouldn't put a massive load on DNS Servers.
The Romans didn't find algebra very challenging, because X was always 10
And he's coded what is obviously the *worst idea ever!*
Does he work for Verisign?
Sounds like a neat program. Unfortunately, it sounds like a festering mound of virus that would singlehandedly OWN any machine it touches and any unfortunate user too impatient or stupid not to click "AGREE: Totally Hose My Machine". I'm quoting the EULA here, not making this stuff up. Gator's spyware is green with envy:
By accepting this agreement, I certify the following:
4) I understand that by accepting these terms and conditions, this program will be installed on my computer and my web browser home and search page will be changed in order to allow me access.
5) I also acknowledge that a Desktop toolbar will be installed on this system as a stand-alone module and that the Desktop toolbar will update itself from time to time in accordance with the EULA Privacy Policy.
6) I further understand that an accessory tool bar will be added to my web browser which will remain visible as long as the software is installed and agree that I wish to use your search engine for my
web browsers auto search option and default error age.
7) To insure you always have the latest version and for your convenience this software will automatically update itself from time to
time once installed in accordance with this EULA and Privacy Policy.
8) If you decide to change your homepage or search page at a later date this information ?the url? will be sent back to our servers and a pass-through toolbar will be installed at the bottom of your web
browser. This toolbar will remain active as long as this software is installed on your system.
9) I understand that, by accepting these terms and conditions, bookmarks will be added to my system, which may be removed manually or via un-installation of the software.
10) In order for us to keep this software free, from time to time promotional offers from our sponsors will be displayed to you.
11) To prevent your browser from becoming cluttered when our toolbar is installed, any other toolbars you currently have visible will
be deactivated. They can be restored manually through the IE view menu.
12) In order for this software to function properly, If incorrect host-file entries are detected for this software's related domain
names, those entries will be removed.
13) If you wish to uninstall this software you may do so at any time by going to your start menu, Control Panel, Add / Remove Programs, and then selecting this application. Additionally a separate uninstaller may be downloaded from the website the Sponsor Software installs
in your web browser, or you mail email support@lop.com for further assistance.
14) Bookmarking to a page on this server/site whereby this warning page is by-passed shall constitute an implicit acceptance of the
foregoing terms herein set forth.
And it does go on.
I don't see what the issue is, exactly. DNS data is propagated lazily. The only issues is that you'd have maybe three machines storing the data instead of one.
.torrent files are particularly big -- I happened to have one on my hard drive, which was under 512 bytes.
.torrent files -- it seems that USENET or similar would be a better choice, given that they tend to only be useful for a short period of time, that announcements of new torrents is a useful characteristic of a .torrent propagation system, and that archiving torrents is useful -- but I also don't really see the harm in this.
.torrent file, the bandwidth will not be an issue.
Unless
I'm not sure that there's much point in using DNS to propagate
Given the kind of load that nameservers happily handle today when you hit a webpage with a number of entries (especially for those annoying little "badges") (and the nameserver potentially gets twenty or more lookup requests all at once), there can't be a huge processing hit.
There *might* be a storage hit...but suppose there are 10,000 torrent files out there, and each is 1K. That's just 10MB of data, and I doubt anyone is interested in storing all available torrents.
Finally, I suppose that bandwidth might be an issue, but I suspect that given the frequency of DNS lookups and the infrequency of someone needing a new
I have done plenty of fun things with DNS and run a small DNS server, but I will freely admit that I am not a DNS wizard, and leave it to the folks on NANOG to debate the merits of this.
For my money, though, this is cute and not harmful at all, though it might not be particularly useful.
May we never see th
Torrentsearch installs a LOT of spyware (more than it admits) - I recommend running it on a PTP bitch box rather than your regular machine.
1. An ugly, ugly hack, and a wrong tool for the job (tm)
2. Wrong using others' resources in a way that is not intended (serving binary data)
My goal of using the DNS is however the same: solve the dead trackers problem. But to serve data directly from DNS, my idea to use what DNS is for: route traffic. You request the torrent's 40 byte info_hash as a subdomain of the DNS server's domain, and it returns you the optimal tracker's IP. For example:
{torrent_hash}.bthub.com
and bthub.com will be where i'll host the DNS service. It's basically a dynamic DNS server, updated frequently, of all known torrent hashes from different trackers in its database (my estimation is around 15000 - 20000 torrents, or subdomains. I know because I run a BT search engine, see my sig). This way, you don't "hack" the DNS, but you get the benefit of:
1. Dynamic routing to the tracker with the most ppl downloading your file, or the biggest "swarm", and hence the highest speed
2. Re-routing to a SINGLE new tracker when one dies
The 2nd benefit is important, as the case today is ppl just randomly pick a new tracker when the original dies, without knowing how big the swarm is on the new tracker. This splits the original torrent swarm across multiple trackers, which don't talk with each other (yet).
There are some discussion on the mail list of adding connectivity between the trackers, similar to how you link IRC servers together into a network. But that's no where near a proposal, and using DNS to act as a "hub" for the trackers would need the least effort and changes to the BT protocol and trackers.
I discussed this idea in detail on this thread "Decentralizing trackers: Use hubs", feel free to take a look.
VIVA1023.com | Political Fashion.