Softpedia
 

NEWS CATEGORIES:



NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
Home > News > Webmaster > Internet Life

January 19th, 2010, 15:54 GMT · By

BitTorrent Magnet Links Explained

SHARE:

Adjust text size:


Magnet links are slowly replacing .torrent files on BitTorrent sites
Enlarge picture
Anyone following the BitTorrent scene has been noticing some interesting developments lately and three new technologies in particular have stood out. A couple of them, DHT, PEX, are new ways of finding peers (users with copies of the file you want to download) without relying on the old BitTorrent tracker system. These are very important to the actual downloads but work mostly hidden from the user who may not even now when they kick in.

Magnet links, on the other hand, are a different story. They have been around for quite a few years now, yet most people have started noticing them only recently, notably since the Pirate Bay implemented them. And now that the world's first BitTorrent indexer, which relies solely on magnet links, has showed up, more and more people may find themselves wondering how these links work and what are their advantages over .torrent files, which are still in wide use, if any.

'.torrent' files

For years, BitTorrent clients, trackers and indexers have relied on .torrent files to store information on the files shared with the popular p2p protocol. These files are stored by indexing sites and are used by BitTorrent clients to connect to the tracker sites. The files hold several types of data, a URL of the tracker site, names for the files it shared, as well as hash codes of files.

All of this is used by the client to connect with peers that have the files in the torrent, or portions of them, and also to ensure that the downloaded data is accurate. This system has several disadvantages, some technical, but one of the biggest is that BitTorrent indexers have to store the .torrent files on their servers, which leaves them vulnerable to legal threats if the content shared happens to be infringing despite containing no actual infringing data by themselves.

Magnet links

Magnet links though are just links, they have no files associated with them just data. The links are an evolving URI standard developed primarily to be used by p2p networks. They differ from URLs, for example, in that they don't hold information on the location of a resource but rather on the content of the file or files to which they link. Technically, magnet links are made up of a series of parameters containing various data in no particular order. In the case of BitTorrent, they hold the hash value of the torrent which is then used to locate copies of the files among the peers. They may also hold file name data or links to trackers used by the torrent. You can check out the entry on Wikipedia for a more detailed technical description.

With magnet links, BitTorrent indexers don't have to store any file at all, just a few snippets of data leaving the individual client apps to do all the heavy lifting. In fact, magnet links can be copy-pasted as plain text by users and shared via email, IM or any other medium. For the indexer sites, the allure is clear, using magnet links makes it harder for them to be accused of any wrong-doing in court. Theoretically, magnet links should not have any disadvantages for the users over .torrent files either. It would also potentially make downloads faster as it would enable the clients to download from peers which have identical files but with different names, for example.

Current limitations

In practice though, since the technology is still being actively developed, some kinks still creep up. Up until very recently, many of the major BitTorrent clients didn't support magnet links at all. After the Pirate Bay introduced them, this is no longer a problem, but there are still things to work out. Indexer sites haven't agreed on a single link format, so it’s up to the clients to support the various implementations. And for the users, the experience isn't on par with using plain .torrent files yet. For example, magnet links on the Pirate Bay don't have any additional data on the torrent other than its content so when the link is opened in uTorrent, for example, the torrent won't have a name or list the files in it.

This leads to a second problem, without knowing the contents of the torrent, uTorrent starts downloading it directly in the default location, preventing users from selecting a custom location or selecting just some files in a multiple-file torrent. These are likely to be just temporary set-backs, the recently-launched TorrIndex, the world's first magnet link-only BitTorrent indexer, is listing links which have additional information like tracker URLs and the torrent's name. And with broader support from BitTorrent clients and indexers, magnet links will eventually replace .torrent files sooner than you might expect.

Update: As of January 2012, The Pirate Bay has switched to magnet links as the default option and may use magnet links exclusively eventually. Most BitTorrent clients also support magnet links now.


Some of the most popular BitTorrent clients which support magnet links,

for Windows:
uTorrent is available for download here.
Vuze is available for download here.
BitComet is available for download here.

for Mac OS X:
Transmission is available for download here.

for Linux:
Transmission is available for download here.

TELL US WHAT YOU THINK:

247,226 hits · 21 comments · Link to this article · Print article · Send to friend · Subscribe to news

MUST-READ RELATED ARTICLES:


The Pirate Bay Tracker Is Shutting Down

Canadian Pirate Party Launches Its Own BitTorrent Tracker

The Latest uTorrent 2.0 Could Encourage ISPs to Stop Throttling

The Latest uTorrent 2.1 Alpha Comes with Streaming Video Support

Massive Online Piracy Doesn't Stop Avatar from Raking In $1.3 Billion

READER COMMENTS:


Comment #1 by: Bob on 27 May 2010, 02:26 UTC reply to this comment

cooooooooool, let's get this going and post some links!

Comment #1.1 by: Bonnie on 03 Jun 2011, 14:11 GMT

> In fact, magnet links can be copy-pasted as plain text by users and shared
> via email, IM or any other medium

So can any link to a .torrent file.
I do it all the time.

Comment #1.2 by: ColonelBrowntrousers on 17 Sep 2011, 21:23 GMT

> So can any link to a .torrent file.
> I do it all the time.

But a .torrent file needs a tracker, unless you're using purely DHT, and a tracker requires a copy of the torrent file, thereby putting its owners at risk.

You did read the article, right?


Comment #2 by: eli on 12 Jul 2010, 01:19 UTC reply to this comment

this is great. i just tried it from piratebay but does seeding still work cos mine didnt seem as if it was uploading

Comment #2.1 by: ColonelBrowntrousers on 17 Sep 2011, 21:24 GMT

Seeding definitely will still work, but you won't always successfully connect to other peers. Are your ports open?


Comment #3 by: dark on 03 Aug 2010, 04:36 UTC reply to this comment

Not a review or an opinion but a question.
How do I get Firefox to recognise the Magnet link file type?
I tried using one on TPB but my browser just wouldn't have it.
Ordinary torrent files are simple to download by comparrison.

Comment #3.1 by: anon on 14 Apr 2011, 13:46 GMT

open utorrent and then go to options and associate magnet files with it


Comment #4 by: coolasice on 10 Aug 2010, 05:33 UTC reply to this comment

how to make a magnet

Comment #4.1 by: Mark on 13 Aug 2010, 14:59 GMT

I think you need electrical currents for that...

Comment #4.2 by: Anon on 18 Oct 2010, 09:10 GMT

Just google magnet link generator, it's the first result (as of today). Paste the torrent hash on that site the click generate maganet link, it'll automatically generate a magenet link for you.

Comment #4.3 by: Cidex on 10 Apr 2011, 04:57 GMT

Fffing magnets! How do they work?


Comment #5 by: samuel on 14 Feb 2011, 22:56 UTC reply to this comment

its a good one but the bit torrets are realy slow

Comment #5.1 by: ColonelBrowntrousers on 17 Sep 2011, 21:25 GMT

They're as slow as the upload speed of the peers you're connected to. I use private sites and my download is usually maxed out.


Comment #6 by: Matt on 17 Sep 2011, 06:56 UTC reply to this comment

Excellent info and very clear explaination! Thanks!


Comment #7 by: lamocco on 09 Dec 2011, 21:53 UTC reply to this comment

good info, will use in future!


Comment #8 by: Anonymous on 13 Jan 2012, 20:20 UTC reply to this comment

First used a magnet link just now, then decided to find out what they were... Bit silly but no harm done. Now I don't have to delete my .torrent files, so not bad at all.


Comment #9 by: Shihan on 13 Jan 2012, 23:01 UTC reply to this comment

Thank you for the info. Always wondered what the difference was and shied away from magnet links. Happier to use them now.


Comment #10 by: Jill on 14 Jan 2012, 21:57 UTC reply to this comment

"Theoretically, magnet links should not have any disadvantages for the users over .torrent files either. It would also potentially make downloads faster as it would enable the clients to download from peers which have identical files but with different names, for example."

Not quite. The hash for a bittorrent magnet link (urn:btih) is a hash of the "info" section of the torrent file. It's not a hash of the payload file(s) that you're actually interested in. So even if someone else has the same file under the same name, I don't think it will work unless they also have the same "info" section stored in their client. non-torrent file sharing can find individual files based on their hash, but I don't think torrenting can.


Comment #11 by: stopaskingformyinfo on 16 Jan 2012, 18:30 UTC reply to this comment

There is no date on your article! In which millennium was it written? Geez... you'd think it would be such a simple thing.

Comment #11.1 by: Guest on 19 Jan 2012, 02:16 GMT

top of article


Comment #12 by: Guest 1 on 16 Jan 2012, 22:23 UTC reply to this comment

I don't like magnet files because all the little metal pieces keep getting stuck on them and they are hard to clean.

Copyright © 2001-2012 Softpedia. Contact/Tip us at

WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM