MLDonkey Forum Index
Homepage •  Bugs •  Tasks •  Patches •  SF.net Project Page •  ChangeLog •  German forum •  Links •  Wiki •  Downloads
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Kademlia running, but no kad peers / no kad boot peers

 
Post new topic   Reply to topic    MLDonkey Forum Index -> Problems with MLDonkey Client (in general, and ed2k, kad, overnet)
View previous topic :: View next topic  
Author Message
arny
neophyte


Joined: 21 Feb 2007
Posts: 4

PostPosted: Wed Jun 06, 2007 2:56 pm    Post subject: Kademlia running, but no kad peers / no kad boot peers Reply with quote

Hello all,

I think my problem are missing kad boot peers. Any suggestion how to solve this?

Thanks in advance
Arny

Details:
MLDonkey version 2.8.7.

Kademlia seems to run, port 6749 is not firewalled, the sysinfo page says:
Donkey 6749 kademlia_port UDP

The Kad statistics page says
Kademlia is enabled Kademlia Connectivity: NOT enough online peers
and indeed there are no boot peers.

So I guess the boot peers are missing. When I input the command
kad_load contact.dat
the answer is
0 overnet peers loaded

BTW, in mlnet.log there is the line
2007/06/06 15:45:10 [OV] contact.dat loaded from http://download.overnet.org/contact.dat, added 500 peers
Back to top
View user's profile Send private message
spiralvoice
Sage


Joined: 06 Jan 2003
Posts: 3982
Location: Germany

PostPosted: Wed Jun 06, 2007 9:07 pm    Post subject: Reply with quote

overnet/contact.dat is unrelated to Kad.
Here Kad works for me:
Quote:
Kademlia is enabled Kademlia Connectivity: Got enough online peers

Kademlia statistics Search hits: 1604 Source hits: 735743 Current files: 110

But you have to be connected to an EDK server because MLDonkey gets Kad
peers from connecting eMule clients.
_________________
Link overview and precompiled cores here: http://mldonkey.sourceforge.net/DownloadLinks
Back to top
View user's profile Send private message
arny
neophyte


Joined: 21 Feb 2007
Posts: 4

PostPosted: Wed Jun 06, 2007 11:49 pm    Post subject: Downloadable Kad boot peer databases? Reply with quote

Quote:
But you have to be connected to an EDK server because MLDonkey gets Kad peers from connecting eMule clients.

Thanks, spiralvoice, for the explanation. Yes, I had "enable_servers=false".
It seems to be sufficent to enable servers just for a short time.

Just for completeness, some more questions
    - Are there big advantages when using servers permanently?
    - Would it be reasonable to use downloadable Kad boot peer databases for "kad_load ..." or "urlall kad ..."?
    - If yes, is anyone offering them?

Cheers,
Arny
Back to top
View user's profile Send private message
arny
neophyte


Joined: 21 Feb 2007
Posts: 4

PostPosted: Mon Jan 11, 2010 8:31 pm    Post subject: Get Overnet boot peers, but no kad boot peers Reply with quote

Using mlnet 3.0.1 and a previously working *.ini config files, I don't get kad boot peers any longer. I still do get overnet boot peers.

The only change on my side: as mlnet had warned that it had been compiled for some different shared lib version, I recompiled it (libc-2.9.x.so ==> libc-2.10.2.so).

Donkey servers are enabled. Bittorrent and Edonkey seem to function.

I checked my masquerading router's iptable settings and used tcpdump to find out what is going on on the kad udp port.

When explicitly kad_load-ing the file http://www.nodes-dat.com/dl.php?load=nodes&trace=35090211.6111, tcpdump on my router shows that packets are sent via the ppp interface to many different hosts from the kad port. But there is no single reply.

Also I run tcpdump on another machine on the internet and specified this machine's adress in a kad_boot command. tcpdump showed that Kad packets really arrive.

Then I used hping2 on this other machine, and yes, udp packets arrived at my router on the kad port.

What the heck is going on?

- Has there been a change in the Kad protokoll and other peers don't respond any longer?

- Does my provider (O2 Germany) use deep packet inspection and block incoming kad packets?

Any ideas?
Back to top
View user's profile Send private message
arny
neophyte


Joined: 21 Feb 2007
Posts: 4

PostPosted: Mon Jan 11, 2010 10:38 pm    Post subject: Reply with quote

I made some further investigations. mlnet aquires kad boot peers now. But I don't know why this didn't work in the beginning.

What I did:
- Setup another server on the internet as router (masquerading/forwarding with iptabes)
- Started an openvpn tunnel from my mlnet machine to this other server. So all internet traffic got routed via the server, which is connected to another provider.

Then mlnet started to find kad boot peers.
Good, I thought. Or rather bad. My home provider obviously blocks kad traffic.

But wrong! After terminating the openvpn tunnel, mlnet continued to find kad peers.

Strange!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    MLDonkey Forum Index -> Problems with MLDonkey Client (in general, and ed2k, kad, overnet) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Sourceforge.net Logo