Official eMule-Board: Kad Explained In Detail - Official eMule-Board

Jump to content


  • (2 Pages)
  • +
  • 1
  • 2

Kad Explained In Detail How does it work?

#21 User is offline   Tobias Claren 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 4
  • Joined: 10-May 06

Post icon  Posted 10 May 2006 - 07:27 PM

Does Kademlia need also Portfowarding or other adjustings on the (WLAN)router?
Does Kademlia at a public HotSpot (no Portforwarding) function?
It would be beautifully if p2p at everyone router would function without Portforwarding.
At public HotSpots nothing can be adjusted.

Theoretically I can use a AOL HotSpot (and all the others) from home for 5 euro per month (real Flatrate).
0

#22 User is offline   PacoBell 

  • Professional Lurker ¬_¬ (so kyoot!)
  • PipPipPipPipPipPipPip
  • Group: Moderator
  • Posts: 7296
  • Joined: 04-February 03

Posted 10 May 2006 - 09:47 PM

Tobias Claren, on May 10 2006, 12:27 PM, said:

Does Kademlia need also Portfowarding or other adjustings on the (WLAN)router?
Does Kademlia at a public HotSpot (no Portforwarding) function?
View Post
It works due to Kademlia Buddies, but only suboptimally. Firewalled peers may not join the Kademlia network, but can still pass queries through their Buddy to the network via the UDP callback mechanism. It is still preferable to have open access to Kademlia's port in order to avoid this unfortunate bottleneck. HTH.
Sed quis custodiet ipsos custodes
Math is delicious!
MmMm! Mauna Loa Milk Chocolate Toffee Macadamias are little drops of Heaven ^_^
Si vis pacem, para bellum DIE SPAMMERS DIE!

#23 User is offline   Hairymartin 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 5
  • Joined: 22-February 06

Posted 05 November 2006 - 07:53 PM

This is one of the best, if not the best, threads I've read in this forum. Thanks to all for the explanations. And special thanks to ElChele. :worthy:
:+1:
0

#24 User is offline   emulecool 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 6
  • Joined: 05-September 07

Posted 05 September 2007 - 10:34 AM

I found my user hash in kad is "00000000000000000000000000000000",
I deleted the file "preferencesKad.dat ",then it generated a new and seems correctly user hash in kad,i don't know the influence of user hash in kad.

Is the file "preferencesKad.dat " as important as "preferences.dat" ?Did it influence my credit value in kad network?

I used neo emule 4.25. Thank you very much!
0

#25 User is offline   ElChele 

  • Miembro con emule 0.50a
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 7295
  • Joined: 02-September 04

Posted 05 September 2007 - 10:52 AM

@ emulecool
Click me
bye
Posted Image Make your own ipfilter file, and manage fake files. Take in count, You are the best filter for emule.
0

#26 User is offline   jesusshared 

  • Splendid Member
  • PipPipPipPip
  • Group: Members
  • Posts: 156
  • Joined: 30-January 08

Posted 30 January 2008 - 07:01 PM

Hi, does anybody know how to interpret the Kad visualization? (I'm talking about the graphic on the "Kad" tab in eMule, with bars from 0 to 15 contacts, a lot of smaller red bars and one big grey bar usually).
Thanks

View Posttorpon, on Jan 30 2008, 06:46 PM, said:

It is a graphic representation of number of contacts and distance to your node.
For a normal user like me is absolutely useless. Cheers :D

thanks. I know this in principle. I would be interested in more precise indications as to how the graphic can be interpreted (like: what are the gray and red colour used for, why are the bars right to the gray one always bigger than on the left, what measures are used for the x axis, etc.)
0

#27 User is offline   xnorf 

  • eMule King
  • PipPipPipPipPipPipPip
  • Group: Validating
  • Posts: 4790
  • Joined: 30-December 02

Posted 03 February 2008 - 07:05 PM

View PostEsel4711, on May 7 2006, 08:45 AM, said:

A buddy uses YOU as a gateway to Kad...
So I can't use a buddy to connect to another firewalled Kad user? (I have currently a lowid myself, which I can't change)
0

#28 User is offline   Nissenice 

  • clippetty-clopping...
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 4231
  • Joined: 05-January 06

Posted 03 February 2008 - 09:49 PM

View Postjesusshared, on Jan 30 2008, 08:01 PM, said:

Hi, does anybody know how to interpret the Kad visualization? (I'm talking about the graphic on the "Kad" tab in eMule, with bars from 0 to 15 contacts, a lot of smaller red bars and one big grey bar usually).
Thanks

View Posttorpon, on Jan 30 2008, 06:46 PM, said:

It is a graphic representation of number of contacts and distance to your node.
For a normal user like me is absolutely useless. Cheers :D

thanks. I know this in principle. I would be interested in more precise indications as to how the graphic can be interpreted (like: what are the gray and red colour used for, why are the bars right to the gray one always bigger than on the left, what measures are used for the x axis, etc.)


The Kad histogram is a graphical representation for the distribution of (your Kad-client's) contacts over the KadID space. KadID is a 128-bit number which also can be read as a 32-digit hexadecimal number from 0000..00 to FFFF..FF (= KadID space).
The KadID space is divided into a number of intervalls, which depends on the width of the histogram. So the x-axis represent intervalls (approx 200 in my case) and for each intervall from 0000..00 to FFFF..FF the number of contacts known to your Kad-client are counted and represented in the graph. Red colour = 1 to 14 contacts in the intervall, grey colour >= 15 contacts, no colour = 0 contacts.
There's a relation between the peak in the graph and your own KadID (Kad-hash), because of the simple fact thath you have more contacts which is closer to your ID, which is the hole idea of it.

Two examples: First with KadID=596A..
Posted Image

Second with KadID=17EF..
Posted Image
0

#29 User is offline   jesusshared 

  • Splendid Member
  • PipPipPipPip
  • Group: Members
  • Posts: 156
  • Joined: 30-January 08

Posted 05 February 2008 - 02:52 AM

Hu, very interesting Nissenice. Thanks a lot for sharing your wisdom with us!
0

#30 User is offline   mox69 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 11
  • Joined: 23-March 07

Posted 05 February 2008 - 08:17 AM

Just to add a bit to the "theory" behind Kad.

Kad is technically a DHT (distributed hash table). A google search for this will probably turn up a better explanation than I can.

Everything in the Kad network is represented by a number from 0 to 2^128, which is the "whole" hash table.

When you join the network you become responsible for a small portion of this hash table, specifically the space right around your clientID.

You announce your presence to other people on the network by sending messages out to them. In turn people who want to publish files can find you.

You also maintain a contact list of other people in the network. There is some math behind this list that I won't go into detail about. Because of the way the math works, Kad can guarantee you will be able to "find" anyone in the network (as long as you maintain your list and follow the math correctly).

When I publish files to the network I calculate the files ID, then search the network for everyone who has a clientID that is close to that. Then I send these people publish
requests. I also publish "pointers" to this file by calculating the ID of keywords associated with that file.


Now anyone who searches for my file specifically (via ed2k link) or searches for a keyword will be able to find it.

Note that they just find me, not the file. They still have to talk to me to download the file.
0

#31 User is offline   Nissenice 

  • clippetty-clopping...
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 4231
  • Joined: 05-January 06

Posted 08 February 2008 - 08:28 PM

View Postxnorf, on Feb 3 2008, 08:05 PM, said:

So I can't use a buddy to connect to another firewalled Kad user? (I have currently a lowid myself, which I can't change)

And there was dead silence... :D As always (?) when one of the regular members is asking a question...

@ xnorf: I don't think so... :unsure: I have had the impression it's the same regardless if you get lowID from server or a firewalled status in Kad. I have no personal experience though.

Perhaps someone else know more about this ?

This post has been edited by Nissenice: 08 February 2008 - 08:36 PM

0

#32 User is offline   miniminime 

  • Splendid Member
  • PipPipPipPip
  • Group: Members
  • Posts: 103
  • Joined: 06-March 03

Posted 16 February 2008 - 10:21 PM

View PostNissenice, on Feb 8 2008, 09:28 PM, said:

View Postxnorf, on Feb 3 2008, 08:05 PM, said:

So I can't use a buddy to connect to another firewalled Kad user? (I have currently a lowid myself, which I can't change)

And there was dead silence... :D As always (?) when one of the regular members is asking a question...

@ xnorf: I don't think so... :unsure: I have had the impression it's the same regardless if you get lowID from server or a firewalled status in Kad. I have no personal experience though.

Perhaps someone else know more about this ?


A buddy from the perspective of a firewalled Kad user is his "public" node ID and server to Kadspace. From the perspective of other Kad users in Kadspace, the buddy is simply another user but with a double-sized datastore of published files (his own and his "private" client's). Thus, in Kad, you are guaranteed to find a specific file no matter in whose client it resides (firewalled or not). This is contrasted with ed2k, in which you must diligently connect to the very same server as the lowID client in order to be able to find him as a source and hence request from him the specified file of interest.
Happiness is a virtuous life in a free society. Yeah, yeah, but what are virtues? Virtues are the excellences of being a person. Duh, then, what is a person? A person is a living being endowed with a mind that includes the intellect whose powers include free will. And you're going to tell me what an intellect is, aren't you? An intellect is that part of the mind that distinguishes mankind from animalkind. So, the excellences of being a person have something to do with the intellect and its will? Yes. I don't suppose a life of sex, pizzas, sex, beer, sex, drugs, sex, rock'n'roll, sex, etc. counts as distinguishable from a life of animalkind? No. Grr!
0

#33 User is offline   masterdarkjedi 

  • Member
  • PipPip
  • Group: Members
  • Posts: 15
  • Joined: 11-June 11

Posted 15 February 2012 - 03:15 AM

As of now is there any other way to get it working on high ID or yellow ID?
0

#34 User is offline   xilolee 

  • eMule 0.50b BETA1 user
  • PipPipPipPipPipPipPip
  • Group: Italian Moderators
  • Posts: 7983
  • Joined: 20-August 08

Posted 15 February 2012 - 08:05 PM

what?
INCONCEIVABLE! - You keep using that word. I do not think it means what you think it means.
come ottenere aiuto italian guides - guide della sezione italiana
italian support - sezione italiana scaricare la lista server
ottenere id alto impostare le porte nel router
recuperare file corrotti i filtri ip
Sembra talco ma non è serve a darti l'allegrIa! Se lo lanci e poi lo respiri ti dà subito l'allegrIa! Immagine Postata
0

#35 User is offline   masterdarkjedi 

  • Member
  • PipPip
  • Group: Members
  • Posts: 15
  • Joined: 11-June 11

Posted 16 February 2012 - 12:07 AM

View Postxilolee, on 15 February 2012 - 08:05 PM, said:

what?


Is there any other way to get Yellow ID for KAD AND Edk and have alot of sources using 3G?
0

#36 User is offline   fox88 

  • Golden eMule
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 4974
  • Joined: 13-May 07

Posted 16 February 2012 - 09:31 AM

Wrong place to ask your question, masterdarkjedi. You should start your own topic. UDP may be blocked in 3G.

This post has been edited by fox88: 16 February 2012 - 09:31 AM

0

  • Member Options

  • (2 Pages)
  • +
  • 1
  • 2

Fast Reply

  

2 User(s) are reading this topic
0 members, 2 guests, 0 anonymous users