Sunday, March 15, 2009

What does it take to download a torrent?

The simple answer to this question is "All you need is the .torrent file. Stupid n00bs." This is true. The .torrent file contains all the metadata required to A) download the data and B) verify the data. Without this, you can't really do anything. So, do you actually need the .torrent file to begin a download?

No! All you need is the infohash for the .torrent file! The infohash is the SHA1 hash of the metadata in a .torrent file. As such, it can be used as a unique identifier for a particular .torrent file. With this infohash, you can query the BitTorrent DHT for a list of peers downloading that torrent. Then, with the help of the Metadata Exchange extension, you can connect to these peers and request that they send you the metadata from the .torrent file and you're away and downloading. Great!

"But what if some malicious peer sends you corrupt metadata, then you'd never be able to download the torrent properly!", I hear you asking. Well, in a rather beautiful twist, this is next to impossible. As I said earlier, the infohash is generated by putting the metadata in the .torrent file through a SHA1 hash. So all you have to do is hash the metadata once you have received it and then compare the result of that to the SHA1 hash you used to start the download. If they match, then you can be fairly confident that the metadata has not been corrupted/altered in any way.

As of 17:00GMT, March 15th MonoTorrent has completed its first download using only a 20 byte hash to begin the download. This is possible because of some tireless work by Olivier Dufour, who also implemented Peer Exchange, a good few parts of DHT, WebSeeding and SuperSeeding. The code for this still hasn't quite hit SVN, a bit of refactoring remains to be done. It should be in SVN within a week. I'm looking forward to his next patch of awesomenesss now.


Anonymous said...

Does this mean that now you can download torrents by having just a URL? For instance something like bttp://3874A39239827F2937....

Alan said...

Exactly. The actual format is as follows:


btif = bittorrent infohash
dn = display name (optional)
tr = tracker (optional)

If no tracker is specified, DHT is used to find peers. You can read the spec for more details if you want.

Strob said...

But how and where do I enter that info?

I'm trying to download a toorent but I have only the hash and file name

Anny said...

You may try to download the torrent at this site -

Alan said...


There's a constructor overload for TorrentManager which takes an infohash and a path/name instead of an actual Torrent (created from a .torrent file). This is what you need to use.

wow gold said...

Weekends to peopleig2tmean that they can have a two-day wowgold4europe good rest. For example, people gameusdcan go out to enjoy themselves or get meinwowgoldtogether with relatives and friends to talk with each storeingameother or watch interesting video tapes with the speebiewhole family.
Everyone spends agamegoldweekends in his ownmmoflyway. Within two days,some people can relax themselves by listening to music, reading novels,or watchingogeworld films. Others perhaps are more active by playing basketball,wimming ormmorpgvipdancing. Different people have different gamesavorrelaxations.
I often spend weekends withoggsalemy family or my friends. Sometimes my parents take me on a visit to their old friends. Sometimesgamersell I go to the library to study or borrow some books tommovirtexgain much knowledge. I also go to see various exhibition to broadenrpg tradermy vision. An excursion to seashore or mountain resorts is my favorite way of spending weekends. Weekends are always enjoyable for me.
igxe swagvaultoforu wowgold-usaignmax wowgoldlivebrogame thsaleGoldRockU

酒店上班請找艾葳 said...

艾葳酒店經紀公司提供專業的酒店經紀, 酒店上班小姐,八大行業,酒店兼職,傳播妹,或者想要打工兼差打工,兼差,八大行業,酒店兼職,想去酒店上班, 日式酒店,便服店,制服酒店,ktv酒店,禮服店,整天穿得水水漂漂的,還是想去制服店日領上班小姐,水水們如果想要擁有打工工作、晚上兼差工作兼差打工假日兼職兼職工作酒店兼差兼差打工兼差日領工作晚上兼差工作酒店工作酒店上班酒店打工兼職兼差兼差工作酒店上班等,想了解酒店相關工作特種行業內容,想兼職工作日領假日兼職兼差打工、或晚班兼職想擁有鋼琴酒吧又有保障的工作嗎???又可以現領請找專業又有保障的艾葳酒店經紀公司!

一般的酒店經紀只會在水水們第一次上班和領薪水時出現而已,對水水們的上班安全一點保障都沒有!艾葳酒店經紀公司的水水們上班時全程媽咪作陪,不需擔心!只提供最優質的酒店上班,酒店上班,酒店打工環境、上班條件給水水們。心動嗎!? 趕快來填寫你的酒店上班履歷表

等相關服務 幫您快速的實現您的夢想~!!

milf said...

dessicant air dryer pediatric asthma asthma specialist
carpet cleaning dallas tx carpet cleaners dallas carpet cleaning dallas
beach vacations your beach vacations
bob hairstyle
bob haircuts bob layered pob hairstyle
bobbed classic bob Care for Curly Hair
Tips for Curly Hair curly hair 12r 22.5 best price
tires truck bus tires 12r 22.5 washington new house
new house Houston new house san Antonio new house ventura
sealy air beds portable portables air beds
antique doorknobs drying desiccant
air drying desiccantlipitor allergic reactionsApple prodam iphone praha

milf said...

new houston house houston house tx stains removal dye
stains removal clothes stains removal teeth whitening
teeth whiteningbright teeth jennifer grey nose
jennifer nose jobs calebrities nose jobs Women with Big Noses
Women hairstyles Big Nose Women, hairstylesdvd player troubleshootingtroubleshooting with the dvd playercheap beach vacationsnight vision binoculars bargainsflorida headache clinic

happyhope said...

I like your blog, it's very good!
By the way, do you like spyder down jackets, I think they are very fashionable and chic, especially the spyder ski jackets, I love them so much. In my spare time, I also like playing tennis rackets, it can keep healthy, what do you like to do?
kids north face jackets
polo vest
polo jacket
abercrombie fitch mens shirts
polo jackets for men
polo jackets for women
burberry shirts for men
polo hoodies for women
columbia jackets women
polo sweatshirts for women
north face jackets on sale
polo shirts for women
polo shirts wholesale
spyder jackets
ralph lauren polo shirt
polo pants for men
abercrombie fitch shirt
wholesale abercrombie fitch shirts
polo vests
polo jackets
polo hoodies for men
burberry shirts for women
burberry shirts on sale
polo shirts for men
north face jackets cheap
north face jackets for women
north face jackets for men
polo sweatshirts for men
columbia jackets for men
columbia jackets discount
spyder jackets for men
discount spyder jackets
cheap spyder jackets
spyder jacket
spyder jackets for women
tennis rackets
cheap tennis rackets
discount tennis rackets
tennis rackets on sale
prince tennis racquets
head tennis racquets
wilson tennis racquets
babolat tennis racquets

lady said...

I like the side of the article, and very like your blog, to write well and hope to continue their efforts, we can see more of your articles. ed hardy clothes. After reading this article has strong feelings, the future will be ed hardy womens longsleeve.ed hardy longsleeve
ed hardy hoodies
ed hardy jeans
ed hardy
ed hardy clothing
ed hardy t-shirts
cheap ed hardy clothing
ed hardy shirts
wholesale ed hardy clothing
ed hardy outerwear
ed hardy mens outerwear
ed hardy womens outerwear
ed hardy clothes
ed hardy boots
ed hardy outerwear
ed hardy hoodies
ed hardy Jeans
ed hardy hoodies
ed hardy jackets
ed hardy womens jackets
ed hardy mens jackets
ed hardy bags
ed hardy trousers
ed hardy shoes
ed hardy longsleeve
ed hardy mens longsleeve
ed hardy womens longsleeve
ed hardy jackets
ed hardy suits
ed hardy clothing
ed hardy shoes
ed hardy jeans
ed hardy boots
ed hardy mens sweater
ed hardy womens cotton
ed hardy womens boots
ed hardy
ed hardy womens clothing

cheap nike shoes said...

Nike shoes
puma shoes
Cheap nike shoes
NIKE’s headquartered in Beaverton, Oregon.Nike may be one of the youngest of the major brands, but it is the dominant brand around the world.In 1963-1964 when University of Portland track coach, Bill Bowerman, and Phil Knight, a mid-distance runner joined forces to import and provide low-cost, high tech running shoes from Japan in order to provide alternatives to the German-dominated athletic shoe market.
Discount nike shoes
Wholesale nike shoes
Nike shox r4
Operating under the name Blue Ribbon Sports, Bowerman and Knight began to sell the Japanese Onitsuke Tiger (Nike SB) running shoes. Jeff Johnson, a former rival of Knight, joins the company in 1965 as their first full-time salesperson and sells shoes from the back of his van at local and regional track meets until opening Blue Ribbon Sports’ first retail outlet at 3107 Pico Blvd, Santa Monica California.
nike shox shoes
nike air max
nike running shoes
The Superstar is one of the first designs the Adidas manufactured.The tongue is leather on the outside and cloth of the inside and is thick enough to feel padded, but thin enough to not feel like an obstruction. The heel of the shoe holds up well the curve of the front is great for any kind of feet.
cheap puma shoes
discount puma shoes
nike air max tn
Therefore, Adidas is a collection of trust and respect. Product and marketing initiatives at Adidas primarily focus on five global priorities: football, running, training, basketball and Adidas Originals sneakers. Adidas sports the recognizable logo of three slanted parallel bars of ascending height.
puma mens shoes
puma running shoes
wholesale puma shoes
Everybody like beauty, which is quite commen, especailly womens. Welcom to our store which is focused on sellingghd hair straighteners mk4and hair straightners. For women, especially the young girls, this ghd iv styler hair straightener is the best choice. ghd hair straightners is famouse for the pretty outlook and the top quality. The price of this cheap ghd hair straighteners is acceptable and rational. Ed Hardy Jeans, Ed Hardy Hoodies ed hardy shirts ed hardy clothes ed hardy clothing
ed hardy trousers

Anonymous said...


Anonymous said...


Anonymous said...


Anonymous said...

o‰ï‚¢ŒF–{o‰ï‚¢‹ž“so‰ï‚¢ŽOdo‰ï‚¢‹{éo‰ï‚¢‹{èo‰ï‚¢’·–ìo‰ï‚¢’·èo‰ï‚¢“ޗǏo‰ï‚¢VŠƒo‰ï‚¢‘啪o‰ï‚¢‰ªŽRo‰ï‚¢‰«“êo‰ï‚¢‘åão‰ï‚¢²‰êo‰ï‚¢é‹Êo‰ï‚¢Ž ‰êo‰ï‚¢“‡ªo‰ï‚¢Ã‰ªo‰ï‚¢“Ȗ؏o‰ï‚¢“¿“‡

Anonymous said...


Anonymous said...

•Ÿˆäo‰ï‚¢ˆ¤’mo‰ï‚¢Šò•Œo‰ï‚¢Ã‰ªo‰ï‚¢ŽOdo‰ï‚¢•ºŒÉo‰ï‚¢‘åão‰ï‚¢˜a‰ÌŽRo‰ï‚¢Ž ‰êo‰ï‚¢‹ž“so‰ï‚¢“ޗǏo‰ï‚¢ŽRŒûo‰ï‚¢’¹Žæo‰ï‚¢“‡ªo‰ï‚¢‰ªŽRo‰ï‚¢L“‡o‰ï‚¢“¿“‡o‰ï‚¢ìo‰ï‚¢ˆ¤•Qo‰ï‚¢‚’mo‰ï‚¢

Anonymous said...

o‰ï‚¢ŒF–{o‰ï‚¢‹ž“so‰ï‚¢ŽOdo‰ï‚¢‹{éo‰ï‚¢‹{èo‰ï‚¢’·–ìo‰ï‚¢’·èo‰ï‚¢“ޗǏo‰ï‚¢VŠƒo‰ï‚¢‘啪o‰ï‚¢‰ªŽRo‰ï‚¢‰«“êo‰ï‚¢‘åão‰ï‚¢²‰êo‰ï‚¢é‹Êo‰ï‚¢Ž ‰êo‰ï‚¢“‡ªo‰ï‚¢Ã‰ªo‰ï‚¢“Ȗ؏o‰ï‚¢“¿“‡

Anonymous said...

•Ÿˆäo‰ï‚¢ƒJƒtƒFˆ¤’mo‰ï‚¢ƒJƒtƒFŠò•Œo‰ï‚¢ƒJƒtƒFÃ‰ªo‰ï‚¢ƒJƒtƒFŽOdo‰ï‚¢ƒJƒtƒF•ºŒÉo‰ï‚¢ƒJƒtƒF‘åão‰ï‚¢ƒJƒtƒF˜a‰ÌŽRo‰ï‚¢ƒJƒtƒFŽ ‰êo‰ï‚¢ƒJƒtƒF‹ž“so‰ï‚¢ƒJƒtƒF“ޗǏo‰ï‚¢ƒJƒtƒFŽRŒûo‰ï‚¢ƒJƒtƒF’¹Žæo‰ï‚¢ƒJƒtƒF“‡ªo‰ï‚¢ƒJƒtƒF‰ªŽRo‰ï‚¢ƒJƒtƒFL“‡o‰ï‚¢ƒJƒtƒF“¿“‡o‰ï‚¢ƒJƒtƒFìo‰ï‚¢ƒJƒtƒFˆ¤•Qo‰ï‚¢ƒJƒtƒF‚’mo‰ï‚¢ƒJƒtƒF

Anonymous said...

•ŸˆäƒeƒŒƒNƒ‰ˆ¤’mƒeƒŒƒNƒ‰Šò•ŒƒeƒŒƒNƒ‰Ã‰ªƒeƒŒƒNƒ‰ŽOdƒeƒŒƒNƒ‰•ºŒÉƒeƒŒƒNƒ‰‘åãƒeƒŒƒNƒ‰˜a‰ÌŽRƒeƒŒƒNƒ‰Ž ‰êƒeƒŒƒNƒ‰‹ž“sƒeƒŒƒNƒ‰“ޗǃeƒŒƒNƒ‰ŽRŒûƒeƒŒƒNƒ‰’¹ŽæƒeƒŒƒNƒ‰“‡ªƒeƒŒƒNƒ‰‰ªŽRƒeƒŒƒNƒ‰L“‡ƒeƒŒƒNƒ‰“¿“‡ƒeƒŒƒNƒ‰ìƒeƒŒƒNƒ‰ˆ¤•QƒeƒŒƒNƒ‰‚’mƒeƒŒƒNƒ‰

Anonymous said...

•ŸˆäƒZƒtƒŒˆ¤’mƒZƒtƒŒŠò•ŒƒZƒtƒŒÃ‰ªƒZƒtƒŒŽOdƒZƒtƒŒ•ºŒÉƒZƒtƒŒ‘åãƒZƒtƒŒ˜a‰ÌŽRƒZƒtƒŒŽ ‰êƒZƒtƒŒ‹ž“sƒZƒtƒŒ“ޗǃZƒtƒŒŽRŒûƒZƒtƒŒ’¹ŽæƒZƒtƒŒ“‡ªƒZƒtƒŒ‰ªŽRƒZƒtƒŒL“‡ƒZƒtƒŒ“¿“‡ƒZƒtƒŒìƒZƒtƒŒˆ¤•QƒZƒtƒŒ‚’mƒZƒtƒŒ

Anonymous said...

•Ÿˆä•s—ψ¤’m•s—ÏŠò•Œ•s—ϐɪ•s—ÏŽOd•s—Ï•ºŒÉ•s—Ï‘åã•s—Ϙa‰ÌŽR•s—ÏŽ ‰ê•s—Ï‹ž“s•s—Ï“Þ—Ç•s—ÏŽRŒû•s—Ï’¹Žæ•s—Ï“‡ª•s—ωªŽR•s—ύL“‡•s—Ï“¿“‡•s—ύì•s—ψ¤•Q•s—ύ‚’m•s—Ï

Anonymous said...

—D—Ǐo‰ï‚¢ƒTƒCƒgƒAƒ_ƒ‹ƒg“ŽB‘fln—ƒGƒƒAƒjƒAV——Doˆ§‚¢o‡‚¢ŒnƒTƒCƒg‚Å‚ ‚¢deai•s—Ï•s—Ï‚µ‚Ä‚Ý‚Ü‚¹‚ñ‚©•s—σp[ƒgƒi[•s—ψ¤l2ƒVƒ‡ƒbƒgƒ`ƒƒƒbƒgo‰ï‚¢•s—ϐlÈƒNƒŒƒWƒbƒgƒJ[ƒh

gaohui said...

Have you noticed ed hardy Clothing that she is spending time with ed hardy sale one person in particular ed hardy and they seemed to come from ed hardy UK nowhere. When you ask how she ed hardy cheap knows them she becomes aloof and ed hardy Clothes disinterested. Is there someone's house ed hardy store she seems to be always going to? This could spell something is wrong with the christian audigier sale relationship. Is she taking trips, possibly day ed hardy dresses trips or small vacations without you? If ed hardy Polos she was doing this before you even ed hardy sandals got married or dated, then it may be okay, but if it is a recent ed hardy Jackets development then you may have problems.

Sildenafil said...

I was a faithful user of UTorrent, I used to download everything, music, videos, software, TV shows, movies, files, all. But, then I realized that my computer were getting a lot of viruses so I had to stop using it

wedding flowers said...

To select from is indeed significantly wide that you will find elaborate jewelry designs in addition to elegant and straightforward designs. pandora.Buying clothes for comfort can also be yet another practical factor. However, we have a pre-conceived notion that comfortable clothes are not usually stylish and cause you to be appear cool. pandora uk.Positive thing there exists Ed Hardy Clothing. These clothes, although stylish, come in lightweight and comfortable material - permitting individuals to move freely. pandora. A person word of advice-I would prevent acquiring any specific silver jewelry that's not sterling. Pandora Jewelry. Repelling any terrible ingredient during the heavy snow as well as nippy wind, it keeps toes warm along with dry anytime all through winter. ghd sale.Necklaces who have similar sized beads work effectively on tall women and chokers help decrease each side height. ghd straighteners.It truly is accurate cheap Ugg Boots provide method aficionados terrific in addition to broad possibilities to spice up their shows. rrncluding a white and pink compact mirror.ugg boots sale.Longer necklaces aid lengthen each side round or square rings Furthermore they add length when worn beneath the bust-line but above the waist.

camping antibes said...

camping antibes

maison antibes said...

maison antibes

PR5 Directory said...

Free PR5 directory

VPN Torrent said...

VPN Torrent

awe said...

pretty neat!

pH electrodes

London Crumpet said...

London escorts directory London Crumpet is created to expose Independent escorts and escort agencies in London. Everybody can post their advert on this directory for FREE.

hammad sohail said...

Forex Affaris.. Latest Currency news updates, latest forex trading business updates, trading updates, forex trading latest news, forex brokers directory, forex brokers list, Dollars news affairs, Stock Markets, stock market news, stock market analysis, technology news, international forex markets, international forex business news and all updates about Forex Trading

Hit Counter