aMule Forum

English => aMule Help => Topic started by: p.r. on March 13, 2009, 03:09:53 PM

Title: dumping nodes.dat
Post by: p.r. on March 13, 2009, 03:09:53 PM
 Script  (http://www.amule.org/wiki/index.php/Nodes.dat_file)  for dumping nodes.dat don't work for me.
I can see only the title of table, but do not KAD  ips:
Code: [Select]
idx type    ip address    udp   tcp


Title: Re: dumping nodes.dat
Post by: p.r. on March 13, 2009, 10:48:12 PM
Thank you,  it works:
Code: [Select]
Version=2; node count=137
 idx type  IP address      udp   tcp
   0    8 120.198.*.*   6142 16978
   1    2 39.233.*.*    4672  4662
 .  .  . 
 135    5 27.229.*.*    45931 46716
 136    4 173.238.*.*   11328 20713
Title: Re: dumping nodes.dat
Post by: Stu Redman on March 14, 2009, 03:05:01 PM
izobbz, could you please update the wiki? 2.1.3 stuff should be removed and replaced by currrent content.
Title: Re: dumping nodes.dat
Post by: GonoszTopi on March 14, 2009, 08:49:09 PM
By the way, where can I find information on nodes.dat formats v2&v3 ?
I mean, besides  RoutingZone.cpp .....

I don't know of any other information source but source code.
However, you might have a look at src/utils/fileview/KadFiles.cpp : DecodeNodesDat(). The code there should be fairly simple and straightforward to reproduce in any script.

Should you have any questions I'd gladly provide you the answers.