aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: dumping nodes.dat  (Read 2854 times)

p.r.

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 50
dumping nodes.dat
« on: March 13, 2009, 03:09:53 PM »

Script   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


Logged

p.r.

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 50
Re: dumping nodes.dat
« Reply #1 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
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3771
  • Engines screaming
Re: dumping nodes.dat
« Reply #2 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.
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

GonoszTopi

  • The current man in charge of most things.
  • Administrator
  • Hero Member
  • *****
  • Karma: 165
  • Offline Offline
  • Posts: 2675
Re: dumping nodes.dat
« Reply #3 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.
Logged
concordia cum veritate