Ed2k URI scheme

In computing, eD2k links (ed2k://) are hyperlinks used to denote files stored on computers connected to the eDonkey filesharing P2P network.

General

Many programs, such as eMule, MLDonkey and the original eDonkey2000 client by MetaMachine, which introduced the link type, as well as others using the eDonkey file sharing protocol, can be used to manage files stored in the filesharing network.

eD2k links allow a file to be identified from a link in a web browser and to be downloaded thereafter by a client like eMule, Shareaza or any other compatible software. This linking feature was one of the first URIs to be introduced in peer-to-peer file sharing, and had a vast effect on the development of the eDonkey network, as it allowed external link sites to provide verified content within the network. Nowadays, so-called Magnet links have replaced eD2k links in practice. They serve a similar role, but are not limited to the eD2k hash and can contain other hashes such as SHA-1 or MD5 for example, which makes it possible to use these links to point to files in several networks (as well as in BitTorrent) at once.

eD2k links include file hashes, as these hashes can be used as a unique identifier for files within the network, so even if the linked-to file has a different name on two computers within the network, the file can be found on both of them, and file chunks can be obtained from both sources. This is done by using a hash function on the file to calculate its checksum, depending only from the file content, not from its name.

Like other URI protocols, web browsers can be configured to automatically handle ed2k URIs. After installing an eD2k client, the eD2k protocol is optionally registered so that clicking on it in the browser automatically starts the download or asks whether the user wants to start downloading.

File links are preceded with the "file" token, which indicates that this is a file link, as opposed to a server, serverlist, nodelist or friend link. The typical eD2k file link also includes the filename and the file size. An example (a link to the 15 MB Purist Edit trailer) is provided below:

ed2k://|file|The_Two_Towers-The_Purist_Edit-Trailer.avi|14997504|965c013e991ee246d63d45ea71954c4d|/

eD2k links can also include a reference to the IP address and port of specific clients that are known to share the linked-to file. This is done by adding a list of sources after the main part of the link, like shown in the following example:

ed2k://|file|The_Two_Towers-The_Purist_Edit-Trailer.avi|14997504|965c013e991ee246d63d45ea71954c4d|/|sources,202.89.123.6:4662|/

On eMule, the link often contains also an AICH top hash |h=H52BRVWPBBTAED5NXQDH2RJDDAKRUWST| to help recover the file in case of corruption during file transfer.

eD2k hash algorithm

The eD2k hash function is a root hash of a list of MD4 hashes. It gives a different result than a simple usage of the MD4 algorithm.

The file data is divided into full chunks of 9500 KiB (9728000 bytes) plus a remainder chunk, and a separate 128-bit MD4 checksum is computed for each. If the file is greater than 9500 KiB (which means that there is more than one chunk), the eD2k hash is computed by concatenating the chunks' MD4 checksums in order and hashing the result again using MD4. Otherwise, the MD4 hash of the only chunk of the file is used with no further modifications.[1]

This method of hashing allows the recipient to verify that a hash list corresponds to an original eD2k file hash, without the need to actually have the file present on disk.

In the past, there has been some ambiguity for files whose size is a multiple of the chunk size (9500 KiB). Old versions of some eD2k hash tools computed file hashes with an additional 0-byte chunk at the end. This is because an ambiguity of the term remainder chunk which can be interpreted as either the last chunk or a non-full chunk at the end. Following the latter interpretation, some implementations added a zero byte chunk in case the last chunk of a file was a complete one. This practice is discouraged however and the first interpretation is used as a standard nowadays to prevent some files from having different hashes depending on the algorithm implementation used to calculate their hash.[2]

AICH

The AICH (Advanced Intelligent Corruption Handling) is an eMule extension. It subdivides the 9500 KiB chunk into 180-KiB blocks and builds a Merkle tree out of the SHA1 hashes of the 53 blocks, so that the root hash of each block is called a block hash. The block hashes further feed into a Merkle tree, the root hash of which is the actual AICH root hash. The smaller block size allows eMule clients to more precisely identifify locations of corruption.[3]

A server link is a reference to an eDonkey2000 server; clicking on such a link typically adds it to the server list. Server links are indicated by the server token at the beginning of the link and have the following format:

ed2k://|server|IP|PORT|/
  • IP – IP of the server to connect to.
  • PORT – Port where the server is listening for incoming eD2k connections

Example:

ed2k://|server|207.44.222.51|4242|/

See also

References

  1. ^ emule source, method CKnownFile::CreateFromFile.
  2. ^ "Ed2k-hash - MLDonkey". mldonkey.sourceforge.net. Retrieved 23 April 2018.
  3. ^ "Corruption Handling". www.emule-project.net.

Read other articles:

Peta menunjukkan lokasi Peñarrubia. Peñarrubia adalah munisipalitas yang terletak di provinsi Abra, Filipina. Pada tahun 2011, munisipalitas ini memiliki populasi sebesar 6.657 jiwa atau 1.372 rumah tangga.[1] Pembagian wilayah Peñarrubia terbagi menjadi 9 barangay, yaitu: Barangay Penduduk (2007) Dumayco 1,092 Lusuac 901 Namarabar 577 Patiao 576 Malamsit (Pau-Malamsit) 577 Poblacion 1,121 Riang (Tiang) 764 Santa Rosa 417 Tattawa 418 Referensi ^ Local Governance Performance Managem...

 

 

The Smith–Purcell effect was the precursor of the free-electron laser (FEL). It was studied by Steve Smith, a graduate student under the guidance of Edward Purcell. In their experiment, they sent an energetic beam of electrons very closely parallel to the surface of a ruled optical diffraction grating, and thereby generated visible light.[1] Smith showed there was negligible effect on the trajectory of the inducing electrons. Essentially, this is a form of Cherenkov radiation where ...

 

 

Danger HiptopPembuatDanger Incorporated / Flextronics / Sharp Corporation / MotorolaOperatorT-Mobile (2002-2010)Telstra (2006-2009)Mobilicity (2010-present)Cincinnati Bell (2011-present)JaringanGPRS, EDGE, UMTS, 3GKetersediaan menurut negara2002 - presentPenerusMicrosoft KinTipeQWERTY Slide/Flip/Spin PhoneSistem OperasiDangerOS Danger Hiptop, yang juga di paten ulang dengan nama T-Mobile Sidekick, Mobiflip dan Sharp Jump adalah sebuah ponsel pintar yang berkemampuan jaringan GPRS/EDGE/UMTS, y...

Evan PetersEvan Peters at 2015 San Diego Comic-Con InternationalLahirEvan Thomas Peters20 Januari 1987 (umur 37)St. Louis, Missouri, U.S.PekerjaanActorTahun aktif2004–present Evan Thomas Peters (lahir 20 Januari 1987)[1] adalah aktor berkebangsaan Amerika Serikat. Dia mengawali debut keaktorannya pada saat bermain dalam film drama tahun 2004 berjudul Clipping Adam dan membintangi dalam serial fiksi ilmiah di ABC berjudul Invasion dari 2005 sampai dengan 2006. Sejak 2004-1...

 

 

История Грузииსაქართველოს ისტორია Доисторическая Грузия Шулавери-шомутепинская культураКуро-араксская культураТриалетская культураКолхидская культураКобанская культураДиаухиМушки Древняя история КолхидаАриан-КартлиИберийское царство ФарнавазидыГруз�...

 

 

Welsh actress (born 1969) Catherine Zeta-JonesCBEZeta-Jones at the 2012 Tribeca Film FestivalBornCatherine Zeta Jones (1969-09-25) 25 September 1969 (age 54)Swansea, WalesOccupationActressYears active1981–presentWorksRoles and awardsSpouse Michael Douglas ​(m. 2000)​Children2Websitewww.catherinezetajones.com Catherine Zeta-Jones CBE (/ˈziːtə/; born 25 September 1969)[a] is a Welsh actress. Recognised for her versatility, she has received var...

Danis TanovićDanis Tanovic, Mei 2014Lahir20 Februari 1969 (umur 55)Zenica, RS Bosnia dan Herzegovina, YugoslaviaTempat tinggalSarajevo, Bosnia dan HerzegovinaWarga negaraBosnia dan BelgiaPekerjaanSutradara, produser, dan penulis latarTahun aktif1994–sekarang Danis Tanović (kelahiran 20 Februari 1969) adalah seorang sutradara dan penulis latar Bosnia. Tanović paling dikenal karena menyutradarai dan menulis naskah untuk film Bosnia 2001 No Man's Land yang memenangkan Academy Awa...

 

 

Adventure-reality game television series (franchise) This article is about the reality television franchise. For the original version from the United States, see The Amazing Race (American TV series). For other uses, see The Amazing Race (disambiguation). This article may contain an excessive amount of intricate detail that may interest only a particular audience. Please help by spinning off or relocating any relevant information, and removing excessive detail that may be against Wikipedia's ...

 

 

ПосёлокБайкальский Прибой 51°56′16″ с. ш. 106°11′54″ в. д.HGЯO Страна  Россия Субъект Федерации Бурятия Муниципальный район Кабанский Сельское поселение «Большереченское» Внутреннее деление 5 улиц История и география Часовой пояс UTC+8:00 Население Население ↘118[...

Borough in Pennsylvania, United StatesYoungsville, PennsylvaniaBoroughNickname: The Biggest Little Town on the MapLocation of Youngsville in Warren County, Pennsylvania.Coordinates: 41°51′12″N 79°19′7″W / 41.85333°N 79.31861°W / 41.85333; -79.31861CountryUnited StatesStatePennsylvaniaCountyWarrenFounded1796Government • MayorScott NelsonArea[1] • Total1.33 sq mi (3.45 km2) • Land1.33 sq...

 

 

Cette page énumère les photographes qui ont façonné l'image du groupe rock britannique The Beatles. Les Beatles à l'aéroport de Wellington en 1964 Historique Au cours de leur carrière, d'innombrables photographies des Beatles ont été prises soit par des fans[n 1], des journalistes, des gens de leur entourage ou des photographes professionnels tels David Magnus[1], John Loengard[2], Bob Gomel (en)[3] ou Leslie Bryce, ce dernier attitré au fanzine The Beatles Book Monthly[4]. Rin...

 

 

Coluzzi nell'allevamento di zanzare in casa di suo padre (Casa delle palme), a Monticelli (Esperia) Caio Mario Coluzzi Bartoccioni (Perugia, 30 novembre 1938 – Roma, 20 ottobre 2012) è stato un biologo, epidemiologo e parassitologo italiano, studioso ed esperto di fama internazionale nel campo dell'epidemiologia della malaria. Indice 1 Biografia 1.1 Contributi scientifici 1.2 Affiliazioni e riconoscimenti 2 Note 3 Voci correlate 4 Altri progetti 5 Collegamenti esterni Biografia Figlio dell...

Северный морской котик Самец Научная классификация Домен:ЭукариотыЦарство:ЖивотныеПодцарство:ЭуметазоиБез ранга:Двусторонне-симметричныеБез ранга:ВторичноротыеТип:ХордовыеПодтип:ПозвоночныеИнфратип:ЧелюстноротыеНадкласс:ЧетвероногиеКлада:АмниотыКлада:Синапси...

 

 

Ця стаття потребує додаткових посилань на джерела для поліпшення її перевірності. Будь ласка, допоможіть удосконалити цю статтю, додавши посилання на надійні (авторитетні) джерела. Зверніться на сторінку обговорення за поясненнями та допоможіть виправити недоліки. Мат...

 

 

Commune in Nouvelle-Aquitaine, FranceHendaye HendaiaCommuneHendaye harbour Coat of armsLocation of Hendaye HendayeShow map of FranceHendayeShow map of Nouvelle-AquitaineCoordinates: 43°22′N 1°46′W / 43.36°N 1.77°W / 43.36; -1.77CountryFranceRegionNouvelle-AquitaineDepartmentPyrénées-AtlantiquesArrondissementBayonneCantonHendaye-Côte Basque-SudIntercommunalityCA Pays BasqueGovernment • Mayor (2020–2026) Kotte Écénarro[1]Area18...

Частина серії проФілософіяLeft to right: Plato, Kant, Nietzsche, Buddha, Confucius, AverroesПлатонКантНіцшеБуддаКонфуційАверроес Філософи Епістемологи Естетики Етики Логіки Метафізики Соціально-політичні філософи Традиції Аналітична Арістотелівська Африканська Близькосхідна іранська Буддій�...

 

 

У этого термина существуют и другие значения, см. Туи. Новозеландский туи Научная классификация Домен:ЭукариотыЦарство:ЖивотныеПодцарство:ЭуметазоиБез ранга:Двусторонне-симметричныеБез ранга:ВторичноротыеТип:ХордовыеПодтип:ПозвоночныеИнфратип:ЧелюстноротыеНадкла...

 

 

Naval tactic in gun battle This article includes a list of general references, but it lacks sufficient corresponding inline citations. Please help to improve this article by introducing more precise citations. (September 2009) (Learn how and when to remove this message) In this animation, the ship near the top is crossing the T of the ship on the bottom.The blue ships are crossing the T of the red ships Blue crosses Red's T, animation Crossing the T or capping the T is a classic naval warfare...

American journalist (born 1951) For other people named Steven Levy, see Steven Levy (disambiguation). Steven LevyAuthor Steven Levy at a book signing at Nest Labs in Palo Alto, February 2014Born1951 (1951) (age 73)OccupationAuthor, columnistGenrenon-fiction (science-technology, business)SpouseTeresa CarpenterWebsitestevenlevy.com Steven Levy (born 1951) is an American journalist and editor at large for Wired who has written extensively for publications on computers, technology, cryp...

 

 

Iraqi Islamic militant (1976–2024) Abu Maria al-Qahtaniأبو ماريا القحطانيPersonal detailsBornMaysar Ali Musa Abdullah al-Juburi(1976-06-01)1 June 1976Mosul District, Nineveh Governorate, IraqDied4 April 2024(2024-04-04) (aged 47)Sarmada, Idlib Governorate, SyriaManner of deathAssassination by suicide bombingAlma materUniversity of MosulMilitary careerAllegiance Iraq (?–2003) Fedayeen Saddam[1] Iraq (2004) Federal Police[2][1] Al-Qaeda...