Introduction Kad

From EMule Wiki
(Difference between revisions)
Jump to: navigation, search
(New page: {{Stub}})
 
Line 1: Line 1:
{{Stub}}
+
The ''Kad'' network, short for kademilia  is a  a peer-to-peer network which implements the Kademlia P2P overlay protocol. The majority of users on the Kad Network are also connected to servers on the eDonkey network, and Kad Network clients typically query known nodes on the eDonkey network in order to find an initial node on the Kad network.
 +
 
 +
== Overview ==
 +
The kad network uses UDP to
 +
 
 +
* find sources for ed2k hashes,
 +
* search for ed2k hashes based on keywords in the file name
 +
* find comments and ratings on files (hashes)
 +
* provide buddy services for firewalled (low ID) nodes.
 +
* store locations, comments and (keywords out of) filenames.
 +
 
 +
Note that kad is not used to actually transfer the file in the ed2l network.
 +
 
 +
== Kad gui ==
 +
There is a KAd screen in the officiel client. This is mainly used for debug purposes. All al user should see is that the peers turn from yellow (unknown) to green (4 succes connects). If all peers in kad go red(ish) something is likely worng with the udp communication
 +
 
 +
== bootstrap ==
 +
You need to know first some clients to get into the network. This can be down by downloading a nodes.dat files or (simpler) starting a download via the servers and then boostrap kad with the clients found there.
 +
 
 +
== search ==
 +
 
 +
Kad uses the hash of the first word you look for as key where to look in the kad network. SO in general is is better to look for "Moviename the" than "the Moviename".
 +
 
 +
== internal working ==
 +
 
 +
{{stub}}
 +
All lookups and searches are done form the local client. No searches are ofloaded to other clients.
 +
 
 +
 
 +
== external links ==
 +
 
 +
*[http://en.wikipedia.org/wiki/Distributed_hash_table Distributed hash table]
 +
*[http://www.cs.rice.edu/Conferences/IPTPS02/109.pdf]  Kademlia: A Peer-to-peer Information System (pdf)
 +
Based on the XOR Metric
 +
 
 +
 
 +
[[category:Howto]]

Revision as of 12:11, 3 April 2007

The Kad network, short for kademilia is a a peer-to-peer network which implements the Kademlia P2P overlay protocol. The majority of users on the Kad Network are also connected to servers on the eDonkey network, and Kad Network clients typically query known nodes on the eDonkey network in order to find an initial node on the Kad network.

Contents

Overview

The kad network uses UDP to

  • find sources for ed2k hashes,
  • search for ed2k hashes based on keywords in the file name
  • find comments and ratings on files (hashes)
  • provide buddy services for firewalled (low ID) nodes.
  • store locations, comments and (keywords out of) filenames.

Note that kad is not used to actually transfer the file in the ed2l network.

Kad gui

There is a KAd screen in the officiel client. This is mainly used for debug purposes. All al user should see is that the peers turn from yellow (unknown) to green (4 succes connects). If all peers in kad go red(ish) something is likely worng with the udp communication

bootstrap

You need to know first some clients to get into the network. This can be down by downloading a nodes.dat files or (simpler) starting a download via the servers and then boostrap kad with the clients found there.

search

Kad uses the hash of the first word you look for as key where to look in the kad network. SO in general is is better to look for "Moviename the" than "the Moviename".

internal working

All lookups and searches are done form the local client. No searches are ofloaded to other clients.


external links

Based on the XOR Metric

Personal tools