Hi,

I'm experiencing some problem with ntk 0.0.8b on OpenWrt.

Some time ago I did successfully test on same hardware the previous version , 0.0.7b-1, with no problems.



I did 2 tests: a really short test in restricted mode and longer test in unrestricted mode (before each test the /usr/share/netsukuku/ folder was deleted) The ntkd instances where never launched at same time, I did always wait that first instances did end working before start the instance on the other OpenWrt.
I've attached some log.

Problems found:
- the second instance of ntkd complains at startup that no nodes can be found around; after a while the nodes find each other and a rehook is started, but they put each other in a different gnode. This behavior is very similar to 0.0.7b and was solved in 0.0.7b-1 (the GCC bug: it is back again? :) ).
- The ANDNA is not working at all (worked perfectly in 0.0.7b-1)

bye
midori

-----------------------------------------------------------------------------

[EMAIL PROTECTED]:~# ntkd -r -i eth1 -D -ddddd
# In store_ns(): gai `192.168.1.102' -> Unknown error
# Andna LCL Keyring loaded
# Empty andna_cache file.
# Hostnames file loaded
# SNSD nodes loaded
# Andns init: DNS queries inet-related will be forwarded to: 192.168.1.102.
+ Modifying /etc/resolv.conf
+ Activating the Internet Gateway Search engine
+ Configuring the "tunl0" tunnel device
* In commit_rules: No chain/target/match by that name.
* In mark_init(): commit_rules() returns -> error committing netfilter rules.
* Netfilter mangle table was not altered!
* In init_internet_gateway_search(): mark_init() returns -> mark_init error!.
* Cannot set the netfilter rules needed for the multi-igw. This feature will be 
disabled
# Internal map loaded
# External map loaded
+ NetsukukuD is in restricted mode. Restricted class: 10.0.0.0-10.255.255.255
+ Setting the 10.0.0.29 ip to all the interfaces
# Activating ip_forward and disabling rp_filter
# Activating all daemons
# Evoking the netsukuku udp daemon.
# Preparing the udp listening socket on port 269
# Udp daemon on port 269 up & running
# Evoking the netsukuku udp radar daemon.
# Preparing the udp listening socket on port 271
# Udp daemon on port 271 up & running
# Evoking the netsukuku tcp daemon.
# Preparing the tcp listening socket on port 269
# Tcp daemon on port 269 up & running
+ The hook begins. Starting to scan the area
# new_rnode_allowed: 0, 0, 0, 10. min_lvl: 3, tot_lvl: 4
+ Launching radar_scan 1 of 1
# Radar scan 0x1eb1ac86 activated
+ No nodes found! This is a black zone. Creating a new_gnode.
+ Setting the 10.208.192.94 ip to all the interfaces
+ Now we are in a brand new gnode. The ip 10.208.192.94 is now used.
+ Starting the second radar scan before sending our first tracer_pkt
+ Filling the kernel routing table
+ Hook completed
# Evocating the andna udp daemon.
# Evoking the Internet Gateway Pinger daemon
# Preparing the udp listening socket on port 277
# Udp daemon on port 277 up & running
# Evocating the andna tcp daemon.
# Evoking radar daemon.
# Radar daemon up & running
# Preparing the tcp listening socket on port 277
# Tcp daemon on port 277 up & running
+ Starting the ANDNA hook.
# There are no nodes, skipping the ANDNA hook.
+ ANDNA hook completed
# Evocating the DNS wrapper daemon.
# Preparing the dns_udp listening socket on port 53
# DNS wrapper daemon on port 53 up & running
+ Radar: New node found: 10.193.0.0, ext: 1, level: 2
+ Radar: New node found: 10.193.235.94, ext: 1, level: 0
# tracer_build_bentry: lvl 1 bchunk[0].gnode: 193
# Qspn_round lvl: 1 id: 0x1 sent
# flood_pkt_send(0x1): QSPN_CLOSE to 10.193.235.94 lvl 2
# Qspn_round lvl: 2 id: 0x1 sent
# QSPN_CLOSE(0x1) from 10.193.235.94
# Fwd TRACER_PKT(0x1) lvl 2 to the qspn starters
# QSPN_CLOSE(0x2) from 10.193.235.94
# New qspn_round 0x2 lvl 2 received, new qspn_time: 717ms
# Fwd QSPN_OPEN(0x2) lvl 2, to broadcast
# flood_pkt_send(0x2): QSPN_OPEN to 10.193.235.94 lvl 2
# QSPN_CLOSE(0x3) from 10.193.235.94
# New qspn_round 0x3 lvl 2 received, new qspn_time: 717ms
# Fwd QSPN_CLOSE(0x3) lvl 2 to broadcast
# Saving the internal map
# Saving the external map
# Saving the andna local cache
# Saving the andna cache
# Saving the andna counter cache
# Saving the resolved hnames cache
# mark_close: cleaning is not my task.
! Termination signal caught. Dying, bye, bye


Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
10.193.235.94   10.208.192.94   255.255.255.255 UGH   0      0        0 eth1
192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 vlan0
10.193.0.0      10.193.235.94   255.255.0.0     UG    0      0        0 eth1
10.0.0.0        0.0.0.0         255.0.0.0       U     0      0        0 eth1
10.0.0.0        0.0.0.0         255.0.0.0       U     0      0        0 tunl0
0.0.0.0         192.168.1.102   0.0.0.0         UG    0      0        0 vlan0

eth1      Link encap:Ethernet  HWaddr 00:16:B6:
          inet addr:10.208.192.94  Bcast:10.255.255.255  Mask:255.0.0.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:3229 errors:0 dropped:0 overruns:0 frame:13842
          TX packets:3388 errors:112 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:190525 (186.0 KiB)  TX bytes:201874 (197.1 KiB)
          Interrupt:2 Base address:0x5000


-----------------------------------------------------------------------------


[EMAIL PROTECTED]:~# ntkd -i eth1 -D -ddddd
# In store_ns(): gai `192.168.1.102' -> Unknown error
# Hostnames file loaded
# SNSD nodes loaded
+ Generating a new ANDNA keyring
# Saving the new andna local keyring
+ Modifying /etc/resolv.conf
+ Setting the 10.0.0.180 ip to all the interfaces
# Activating ip_forward and disabling rp_filter
# Activating all daemons
# Evoking the netsukuku udp daemon.
# Preparing the udp listening socket on port 269
# Udp daemon on port 269 up & running
# Evoking the netsukuku udp radar daemon.
# Preparing the udp listening socket on port 271
# Udp daemon on port 271 up & running
# Evoking the netsukuku tcp daemon.
# Preparing the tcp listening socket on port 269
# Tcp daemon on port 269 up & running
+ The hook begins. Starting to scan the area
+ Launching radar_scan 1 of 1
# Radar scan 0x55a319af activated
+ No nodes found! This is a black zone. Creating a new_gnode.
+ Setting the 12.77.103.96 ip to all the interfaces
+ Now we are in a brand new gnode. The ip 12.77.103.96 is now used.
+ Starting the second radar scan before sending our first tracer_pkt
+ Filling the kernel routing table
+ Hook completed
# Evocating the andna udp daemon.
# Evoking radar daemon.
# Radar daemon up & running
# Preparing the udp listening socket on port 277
# Udp daemon on port 277 up & running
# Evocating the andna tcp daemon.
# Preparing the tcp listening socket on port 277
# Tcp daemon on port 277 up & running
+ Starting the ANDNA hook.
# There are no nodes, skipping the ANDNA hook.
+ ANDNA hook completed
# Evocating the DNS wrapper daemon.
# Preparing the dns_udp listening socket on port 53
# DNS wrapper daemon on port 53 up & running
+ Radar: New node found: 39.0.0.0, ext: 1, level: 3
+ Radar: New node found: 39.72.170.11, ext: 1, level: 0
# tracer_build_bentry: lvl 2 bchunk[0].gnode: 39
# Qspn_round lvl: 2 id: 0x1 sent
# flood_pkt_send(0x1): QSPN_CLOSE to 39.72.170.11 lvl 3
# Qspn_round lvl: 3 id: 0x1 sent
# QSPN_CLOSE(0x1) from 39.72.170.11
# find_hashgnode: ext_found, err 1, to 39.72.170.11!
# Quest ANDNA_REGISTER_HNAME to 39.72.170.11
# Receiving reply for the ANDNA_REGISTER_HNAME request (id 0x186146)# Andna get 
single cache request 0x6960fe2b from: 39.72.170.11, real from: 39.72.170.11
# find_hashgnode: Internal found: gid0 96, to 12.77.103.96!
# put_single_andna_c: old hash_gnode not found

# pkt_q_wait_recv: Locking 0x1000be64!
# new_rehook: me.gid 12, gnode 39, level 3, gnode_count 1, qspn_gcount 1, our 
rnode: 64
# wait_new_rnode: waiting the 39 rnode 3 lvl appearance
# wait_new_rnode: 39 rnode 3 lvl found
# Fwd TRACER_PKT(0x1) lvl 3 to the qspn starters
+ Setting the 10.0.0.43 ip to all the interfaces
+ The rehook begins. Starting to scan the area
# new_rnode_allowed: 96, 103, 77, 39. min_lvl: 3, tot_lvl: 4
+ Launching radar_scan 1 of 1
# Radar scan 0x661d17b0 activated
+ No nodes found! This is a black zone. Creating a new_gnode.
+ Setting the 71.77.103.96 ip to all the interfaces
+ Now we are in a brand new gnode. The ip 71.77.103.96 is now used.
+ Starting the second radar scan before sending our first tracer_pkt
+ Filling the kernel routing table
+ Rehook completed
+ Starting the ANDNA hook.
# There are no nodes, skipping the ANDNA hook.
+ ANDNA hook completed
+ Hostname "wrt20" registered/updated successfully
+ Radar: New node found: 39.0.0.0, ext: 1, level: 3
+ Radar: New node found: 39.72.170.11, ext: 1, level: 0
# tracer_build_bentry: lvl 2 bchunk[0].gnode: 39# QSPN_CLOSE(0x2) from 
39.72.170.11

# Qspn_round lvl: 2 id: 0x2 sent
# flood_pkt_send(0x2): QSPN_CLOSE to 39.72.170.11 lvl 3
# Qspn_round lvl: 3 id: 0x2 sent
# Fwd TRACER_PKT(0x1) lvl 3 to the qspn starters
# The ext_node (gid 39, lvl 3) is dead
+ Radar: New node found: 108.0.0.0, ext: 1, level: 3
+ Radar: New node found: 108.72.170.11, ext: 1, level: 0
# tracer_build_bentry: lvl 2 bchunk[0].gnode: 108
# Qspn_round lvl: 2 id: 0x3 sent
# flood_pkt_send(0x3): QSPN_CLOSE to 108.72.170.11 lvl 3
# Qspn_round lvl: 3 id: 0x3 sent
# QSPN_CLOSE(0x3) from 108.72.170.11
# new_rehook: me.gid 71, gnode 108, level 3, gnode_count 1, qspn_gcount 1, our 
rnode: 64
# wait_new_rnode: waiting the 108 rnode 3 lvl appearance
# wait_new_rnode: 108 rnode 3 lvl found
# Fwd TRACER_PKT(0x2) lvl 3 to the qspn starters
+ Setting the 10.0.0.29 ip to all the interfaces
+ The rehook begins. Starting to scan the area
# new_rnode_allowed: 96, 103, 77, 108. min_lvl: 3, tot_lvl: 4
+ Launching radar_scan 1 of 1
# Radar scan 0x7a5386c8 activated
+ No nodes found! This is a black zone. Creating a new_gnode.
+ Setting the 12.77.103.96 ip to all the interfaces
+ Now we are in a brand new gnode. The ip 12.77.103.96 is now used.
+ Starting the second radar scan before sending our first tracer_pkt
+ Filling the kernel routing table
+ Rehook completed
+ Starting the ANDNA hook.
# There are no nodes, skipping the ANDNA hook.
+ ANDNA hook completed
+ Hostname "wrt20" registered/updated successfully
+ Radar: New node found: 108.0.0.0, ext: 1, level: 3
+ Radar: New node found: 108.72.170.11, ext: 1, level: 0
# tracer_build_bentry: lvl 2 bchunk[0].gnode: 108
# Qspn_round lvl: 2 id: 0x4 sent
# flood_pkt_send(0x4): QSPN_CLOSE to 108.72.170.11 lvl 3
# Qspn_round lvl: 3 id: 0x4 sent
# QSPN_CLOSE(0x4) from 108.72.170.11
# Fwd TRACER_PKT(0x1) lvl 3 to the qspn starters
# find_hashgnode: ext_found, err 1, to 108.72.170.11!
# Quest ANDNA_RESOLVE_HNAME to 108.72.170.11
# Receiving reply for the ANDNA_RESOLVE_HNAME request (id 0x2d0a5a4)
# pkt_q_wait_recv: Locking 0x1000bd64!
# Andna get single cache request 0x363adc57 from: 108.72.170.11, real from: 
108.72.170.11
# find_hashgnode: Internal found: gid0 96, to 12.77.103.96!
# put_single_andna_c: old hash_gnode not found
# find_hashgnode: ext_found, err 1, to 108.72.170.11!
# Quest ANDNA_RESOLVE_HNAME to 108.72.170.11
# Receiving reply for the ANDNA_RESOLVE_HNAME request (id 0x58151228)
# pkt_q_wait_recv: Locking 0x1000bb0c!
# Andna get single cache request 0x74438a1c from: 108.72.170.11, real from: 
108.72.170.11
# find_hashgnode: Internal found: gid0 96, to 12.77.103.96!
# put_single_andna_c: old hash_gnode not found
# Andna Resolve request 0x2ecea915 from: 108.72.170.11, real from: 108.72.170.11
# find_hashgnode: Internal found: gid0 96, to 12.77.103.96!
# find_hashgnode: ext_found, err 1, to 108.72.170.11!
# Quest ANDNA_GET_SINGLE_ACACHE to 108.72.170.11
# Receiving reply for the ANDNA_GET_SINGLE_ACACHE request (id 0x3c21979b)
# pkt_q_wait_recv: Locking 0x1000c514!
# find_hashgnode: ext_found, err 1, to 108.72.170.11!
# Quest ANDNA_RESOLVE_HNAME to 108.72.170.11
# Receiving reply for the ANDNA_RESOLVE_HNAME request (id 0x137276b3)
# pkt_q_wait_recv: Locking 0x1000c7a4!
# Andna get single cache request 0x63a45405 from: 108.72.170.11, real from: 
108.72.170.11
# find_hashgnode: Internal found: gid0 96, to 12.77.103.96!
# put_single_andna_c: old hash_gnode not found
# Andna Resolve request 0x37f9f377 from: 108.72.170.11, real from: 108.72.170.11
# find_hashgnode: Internal found: gid0 96, to 12.77.103.96!
# find_hashgnode: ext_found, err 1, to 108.72.170.11!
# Quest ANDNA_GET_SINGLE_ACACHE to 108.72.170.11
# Receiving reply for the ANDNA_GET_SINGLE_ACACHE request (id 0x7ae45a4d)
# pkt_q_wait_recv: Locking 0x1000c904!
# Andna Resolve request 0x7053b71d from: 108.72.170.11, real from: 108.72.170.11
# find_hashgnode: Internal found: gid0 96, to 12.77.103.96!
# find_hashgnode: ext_found, err 1, to 108.72.170.11!
# Quest ANDNA_GET_SINGLE_ACACHE to 108.72.170.11
# Receiving reply for the ANDNA_GET_SINGLE_ACACHE request (id 0x230e9d89)
# pkt_q_wait_recv: Locking 0x1000ca14!
# find_hashgnode: ext_found, err 1, to 108.72.170.11!
# Quest ANDNA_RESOLVE_HNAME to 108.72.170.11
# Receiving reply for the ANDNA_RESOLVE_HNAME request (id 0x1c5ff624)
# pkt_q_wait_recv: Locking 0x1000cc1c!
# Andna get single cache request 0x13851d7 from: 108.72.170.11, real from: 
108.72.170.11
# find_hashgnode: Internal found: gid0 96, to 12.77.103.96!
# put_single_andna_c: old hash_gnode not found
# find_hashgnode: ext_found, err 1, to 108.72.170.11!
# Quest ANDNA_RESOLVE_HNAME to 108.72.170.11
# Receiving reply for the ANDNA_RESOLVE_HNAME request (id 0x59d9aab6)
# pkt_q_wait_recv: Locking 0x1000ce2c!
# Andna get single cache request 0x78869f93 from: 108.72.170.11, real from: 
108.72.170.11
# find_hashgnode: Internal found: gid0 96, to 12.77.103.96!
# put_single_andna_c: old hash_gnode not found
# find_hashgnode: ext_found, err 1, to 108.72.170.11!
# Quest ANDNA_RESOLVE_HNAME to 108.72.170.11
# Receiving reply for the ANDNA_RESOLVE_HNAME request (id 0x5356ed9)
# pkt_q_wait_recv: Locking 0x1000d03c!
# Andna get single cache request 0x22fc4944 from: 108.72.170.11, real from: 
108.72.170.11
# find_hashgnode: Internal found: gid0 96, to 12.77.103.96!
# put_single_andna_c: old hash_gnode not found
# Received ANDNA_CHECK_COUNTER from 108.72.170.11, rfrom 108.72.170.11# 
pq->pkt.hdr.id: 0x186146 Timeoutted. mtx: 0x1000BE64
# We've been unlocked: timeout 4
* Error while receving the reply for the ANDNA_REGISTER_HNAME request from 
108.72.170.11.
* andna_register_hname(): Registration of "wrt20" to 108.72.170.11 failed.

# excluded_hgnode: 7c3ffb48
# find_hashgnode: Internal found: gid0 96, to 12.77.103.96!
# Check_counter rq 0x64ef14cd accepted.
# pkt_exec: ACK_AFFERMATIVE Async reply, id 0x186146
# pkt_q_add_pkt: 87387865 == 1597766. data[0]: 0, async replied: 16
# pkt_q_add_pkt: 1507437238 == 1597766. data[0]: 0, async replied: 16
# pkt_q_add_pkt: 476050980 == 1597766. data[0]: 0, async replied: 16
# pkt_q_add_pkt: 588160393 == 1597766. data[0]: 0, async replied: 16
# pkt_q_add_pkt: 2061785677 == 1597766. data[0]: 0, async replied: 16
# pkt_q_add_pkt: 326268595 == 1597766. data[0]: 0, async replied: 16
# pkt_q_add_pkt: 1008834459 == 1597766. data[0]: 0, async replied: 16
# pkt_q_add_pkt: 1477775912 == 1597766. data[0]: 0, async replied: 16
# pkt_q_add_pkt: 47228324 == 1597766. data[0]: 0, async replied: 16
# find_hashgnode: ext_found, err 1, to 108.72.170.11!
# Quest ANDNA_RESOLVE_HNAME to 108.72.170.11
# Receiving reply for the ANDNA_RESOLVE_HNAME request (id 0x408b9bab)
# pkt_q_wait_recv: Locking 0x1000be64!
# Andna get single cache request 0x3db5b125 from: 108.72.170.11, real from: 
108.72.170.11
# find_hashgnode: Internal found: gid0 96, to 12.77.103.96!
# put_single_andna_c: old hash_gnode not found



eth1      Link encap:Ethernet  HWaddr 00:16:B6:
          inet addr:12.77.103.96  Bcast:12.255.255.255  Mask:255.0.0.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:5186 errors:0 dropped:0 overruns:0 frame:25291
          TX packets:5438 errors:336 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:307168 (299.9 KiB)  TX bytes:326059 (318.4 KiB)
          Interrupt:2 Base address:0x5000

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
108.72.170.11   12.77.103.96    255.255.255.255 UGH   0      0        0 eth1
192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 vlan0
10.0.0.0        0.0.0.0         255.0.0.0       U     0      0        0 tunl0
12.0.0.0        0.0.0.0         255.0.0.0       U     0      0        0 eth1
108.0.0.0       108.72.170.11   255.0.0.0       UG    0      0        0 eth1
0.0.0.0         192.168.1.102   0.0.0.0         UG    0      0        0 vlan0


-----------------------------------------------------------------------------

[EMAIL PROTECTED]:~# ntkd -r -i eth1 -D -ddddd
# In store_ns(): gai `192.168.1.102' -> Unknown error
# Andna LCL Keyring loaded
# Empty andna_cache file.
# Hostnames file loaded
# SNSD nodes loaded
# Andns init: DNS queries inet-related will be forwarded to: 192.168.1.102.
+ Modifying /etc/resolv.conf
+ Activating the Internet Gateway Search engine
+ Configuring the "tunl0" tunnel device
* In commit_rules: No chain/target/match by that name.
* In mark_init(): commit_rules() returns -> error committing netfilter rules.
* Netfilter mangle table was not altered!
* In init_internet_gateway_search(): mark_init() returns -> mark_init error!.
* Cannot set the netfilter rules needed for the multi-igw. This feature will be 
disabled
# Internal map loaded
# External map loaded
+ NetsukukuD is in restricted mode. Restricted class: 10.0.0.0-10.255.255.255
+ Setting the 10.0.0.140 ip to all the interfaces
# Activating ip_forward and disabling rp_filter
# Activating all daemons
# Evoking the netsukuku udp daemon.
# Preparing the udp listening socket on port 269
# Udp daemon on port 269 up & running
# Evoking the netsukuku udp radar daemon.
# Preparing the udp listening socket on port 271
# Udp daemon on port 271 up & running
# Evoking the netsukuku tcp daemon.
# Preparing the tcp listening socket on port 269
# Tcp daemon on port 269 up & running
+ The hook begins. Starting to scan the area
# new_rnode_allowed: 0, 0, 0, 10. min_lvl: 3, tot_lvl: 4
+ Launching radar_scan 1 of 1
# Radar scan 0x64890332 activated
+ No nodes found! This is a black zone. Creating a new_gnode.
+ Setting the 10.193.235.94 ip to all the interfaces
+ Now we are in a brand new gnode. The ip 10.193.235.94 is now used.
+ Starting the second radar scan before sending our first tracer_pkt
+ Filling the kernel routing table
+ Hook completed
# Evocating the andna udp daemon.
# Evoking the Internet Gateway Pinger daemon
# Preparing the udp listening socket on port 277
# Udp daemon on port 277 up & running# Evoking radar daemon.
# Radar daemon up & running

# Evocating the andna tcp daemon.
# Preparing the tcp listening socket on port 277
# Tcp daemon on port 277 up & running
+ Starting the ANDNA hook.
# There are no nodes, skipping the ANDNA hook.
+ ANDNA hook completed
# Evocating the DNS wrapper daemon.
# Preparing the dns_udp listening socket on port 53
# DNS wrapper daemon on port 53 up & running
# QSPN_CLOSE(0x1) from 10.208.192.94
# tracer.c:149 gnode: 208, level: 2
# qspn_unpack_pkt(): The 10.208.192.94 node sent an invalid QSPN_CLOSE (0x1) 
pkt here.
+ Radar: New node found: 10.208.0.0, ext: 1, level: 2
+ Radar: New node found: 10.208.192.94, ext: 1, level: 0
# tracer_build_bentry: lvl 1 bchunk[0].gnode: 208
# Qspn_round lvl: 1 id: 0x1 sent
# flood_pkt_send(0x1): QSPN_CLOSE to 10.208.192.94 lvl 2
# Qspn_round lvl: 2 id: 0x1 sent
# node 10.208.192.94 rtt changed, diff: 2171
# tracer_build_bentry: lvl 1 bchunk[0].gnode: 208
# Qspn_round lvl: 1 id: 0x2 sent
# flood_pkt_send(0x2): QSPN_CLOSE to 10.208.192.94 lvl 2
# Qspn_round lvl: 2 id: 0x2 sent
# QSPN_OPEN(0x2) from 10.208.192.94
# node 10.208.192.94 rtt changed, diff: 1203
# tracer_build_bentry: lvl 1 bchunk[0].gnode: 208
# Qspn_round lvl: 1 id: 0x3 sent
# flood_pkt_send(0x3): QSPN_CLOSE to 10.208.192.94 lvl 2
# Qspn_round lvl: 2 id: 0x3 sent
# qspn_open(): 10.208.192.94 sent a qspn_open with a wrong qspn_id (0x2), 
cur_id: 0x3
# The ext_node (gid 208, lvl 2) is dead
# The ext_node (gid 10, lvl 3) is dead
* RTNETLINK answers (-3): No such process
* WARNING: Cannot delete the route entry for the gnode 10 lvl 3!
# Saving the internal map
# Saving the external map
# Saving the andna local cache
# Saving the andna cache
# Saving the andna counter cache
# Saving the resolved hnames cache
# mark_close: cleaning is not my task.
! Termination signal caught. Dying, bye, bye


Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
10.208.192.94   10.193.235.94   255.255.255.255 UGH   0      0        0 eth1
192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 vlan0
10.208.0.0      10.208.192.94   255.255.0.0     UG    0      0        0 eth1
10.0.0.0        0.0.0.0         255.0.0.0       U     0      0        0 eth1
10.0.0.0        0.0.0.0         255.0.0.0       U     0      0        0 tunl0
0.0.0.0         192.168.1.102   0.0.0.0         UG    0      0        0 vlan0

eth1      Link encap:Ethernet  HWaddr 00:16:B6:
          inet addr:10.193.235.94  Bcast:10.255.255.255  Mask:255.0.0.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2777 errors:0 dropped:0 overruns:0 frame:9416
          TX packets:3003 errors:144 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:163811 (159.9 KiB)  TX bytes:178952 (174.7 KiB)
          Interrupt:2 Base address:0x5000

-----------------------------------------------------------------------------


[EMAIL PROTECTED]:~# ntkd -i eth1 -D -ddddd
# In store_ns(): gai `192.168.1.102' -> Unknown error
# Hostnames file loaded
# SNSD nodes loaded
+ Generating a new ANDNA keyring
# Saving the new andna local keyring
+ Modifying /etc/resolv.conf
+ Setting the 10.0.0.138 ip to all the interfaces
# Activating ip_forward and disabling rp_filter
# Activating all daemons
# Evoking the netsukuku udp daemon.
# Preparing the udp listening socket on port 269
# Udp daemon on port 269 up & running
# Evoking the netsukuku udp radar daemon.
# Preparing the udp listening socket on port 271
# Udp daemon on port 271 up & running
# Evoking the netsukuku tcp daemon.
# Preparing the tcp listening socket on port 269
# Tcp daemon on port 269 up & running
+ The hook begins. Starting to scan the area
+ Launching radar_scan 1 of 1
# Radar scan 0x3a50de6 activated
+ No nodes found! This is a black zone. Creating a new_gnode.
+ Setting the 39.72.170.11 ip to all the interfaces
+ Now we are in a brand new gnode. The ip 39.72.170.11 is now used.
+ Starting the second radar scan before sending our first tracer_pkt
+ Filling the kernel routing table
+ Hook completed
# Evoking radar daemon.
# Radar daemon up & running
# Evocating the andna udp daemon.
# Preparing the udp listening socket on port 277
# Udp daemon on port 277 up & running
# Evocating the andna tcp daemon.
# Preparing the tcp listening socket on port 277
# Tcp daemon on port 277 up & running
# Evocating the DNS wrapper daemon.
+ Starting the ANDNA hook.
# There are no nodes, skipping the ANDNA hook.
+ ANDNA hook completed
# Preparing the dns_udp listening socket on port 53
# DNS wrapper daemon on port 53 up & running
# QSPN_CLOSE(0x1) from 12.77.103.96
+ Radar: New node found: 12.0.0.0, ext: 1, level: 3
+ Radar: New node found: 12.77.103.96, ext: 1, level: 0
# tracer_build_bentry: lvl 2 bchunk[0].gnode: 12
# Qspn_round lvl: 2 id: 0x1 sent
# flood_pkt_send(0x1): QSPN_CLOSE to 12.77.103.96 lvl 3
# Qspn_round lvl: 3 id: 0x1 sent
# Fwd TRACER_PKT(0x1) lvl 3 to the qspn starters
# Received ANDNA_REGISTER_HNAME from 12.77.103.96, rfrom 12.77.103.96
# find_hashgnode: Internal found: gid0 11, to 39.72.170.11!
# find_hashgnode: ext_found, err 1, to 12.77.103.96!
# Quest ANDNA_GET_SINGLE_ACACHE to 12.77.103.96
# Receiving reply for the ANDNA_GET_SINGLE_ACACHE request (id 0x6960fe2b)
# pkt_q_wait_recv: Locking 0x1000b994!
# andna_register_hname: hash_gnode not found ;(
# The ext_node (gid 12, lvl 3) is dead
+ Radar: New node found: 71.0.0.0, ext: 1, level: 3
+ Radar: New node found: 71.77.103.96, ext: 1, level: 0
# tracer_build_bentry: lvl 2 bchunk[0].gnode: 71
# Qspn_round lvl: 2 id: 0x2 sent
# flood_pkt_send(0x2): QSPN_CLOSE to 71.77.103.96 lvl 3
# Qspn_round lvl: 3 id: 0x2 sent
# QSPN_CLOSE(0x2) from 71.77.103.96
# new_rehook: me.gid 39, gnode 71, level 3, gnode_count 1, qspn_gcount 1, our 
rnode: 64
# wait_new_rnode: waiting the 71 rnode 3 lvl appearance
# wait_new_rnode: 71 rnode 3 lvl found
# Fwd TRACER_PKT(0x2) lvl 3 to the qspn starters
+ Setting the 10.0.0.41 ip to all the interfaces
+ The rehook begins. Starting to scan the area
# new_rnode_allowed: 11, 170, 72, 71. min_lvl: 3, tot_lvl: 4
+ Launching radar_scan 1 of 1
# Radar scan 0x6b9d39ed activated
+ No nodes found! This is a black zone. Creating a new_gnode.
+ Setting the 108.72.170.11 ip to all the interfaces
+ Now we are in a brand new gnode. The ip 108.72.170.11 is now used.
+ Starting the second radar scan before sending our first tracer_pkt
+ Filling the kernel routing table
+ Rehook completed
+ Starting the ANDNA hook.
# There are no nodes, skipping the ANDNA hook.
+ ANDNA hook completed
# andna_register_hname: hash_gnode not found ;(
# QSPN_CLOSE(0x3) from 71.77.103.96
+ Radar: New node found: 71.0.0.0, ext: 1, level: 3
+ Radar: New node found: 71.77.103.96, ext: 1, level: 0
# tracer_build_bentry: lvl 2 bchunk[0].gnode: 71
# Qspn_round lvl: 2 id: 0x3 sent
# flood_pkt_send(0x3): QSPN_CLOSE to 71.77.103.96 lvl 3
# Qspn_round lvl: 3 id: 0x3 sent
# Fwd TRACER_PKT(0x1) lvl 3 to the qspn starters
# The ext_node (gid 71, lvl 3) is dead
# QSPN_CLOSE(0x4) from 12.77.103.96
+ Radar: New node found: 12.0.0.0, ext: 1, level: 3
+ Radar: New node found: 12.77.103.96, ext: 1, level: 0
# tracer_build_bentry: lvl 2 bchunk[0].gnode: 12
# Qspn_round lvl: 2 id: 0x4 sent
# flood_pkt_send(0x4): QSPN_CLOSE to 12.77.103.96 lvl 3
# Qspn_round lvl: 3 id: 0x4 sent
# Fwd TRACER_PKT(0x2) lvl 3 to the qspn starters
# Andna Resolve request 0x2d0a5a4 from: 12.77.103.96, real from: 12.77.103.96
# find_hashgnode: Internal found: gid0 11, to 108.72.170.11!
# find_hashgnode: ext_found, err 1, to 12.77.103.96!
# Quest ANDNA_GET_SINGLE_ACACHE to 12.77.103.96
# Receiving reply for the ANDNA_GET_SINGLE_ACACHE request (id 0x363adc57)
# pkt_q_wait_recv: Locking 0x1000c28c!
# Andna Resolve request 0x58151228 from: 12.77.103.96, real from: 12.77.103.96
# find_hashgnode: Internal found: gid0 11, to 108.72.170.11!
# find_hashgnode: ext_found, err 1, to 12.77.103.96!
# Quest ANDNA_GET_SINGLE_ACACHE to 12.77.103.96
# Receiving reply for the ANDNA_GET_SINGLE_ACACHE request (id 0x74438a1c)
# pkt_q_wait_recv: Locking 0x1000c55c!
# find_hashgnode: ext_found, err 1, to 12.77.103.96!
# Quest ANDNA_RESOLVE_HNAME to 12.77.103.96
# Receiving reply for the ANDNA_RESOLVE_HNAME request (id 0x2ecea915)
# pkt_q_wait_recv: Locking 0x1000c5ec!
# Andna get single cache request 0x3c21979b from: 12.77.103.96, real from: 
12.77.103.96
# find_hashgnode: Internal found: gid0 11, to 108.72.170.11!
# put_single_andna_c: old hash_gnode not found
# Andna Resolve request 0x137276b3 from: 12.77.103.96, real from: 12.77.103.96
# find_hashgnode: Internal found: gid0 11, to 108.72.170.11!
# find_hashgnode: ext_found, err 1, to 12.77.103.96!
# Quest ANDNA_GET_SINGLE_ACACHE to 12.77.103.96
# Receiving reply for the ANDNA_GET_SINGLE_ACACHE request (id 0x63a45405)
# pkt_q_wait_recv: Locking 0x10002cbc!
# find_hashgnode: ext_found, err 1, to 12.77.103.96!
# Quest ANDNA_RESOLVE_HNAME to 12.77.103.96
# Receiving reply for the ANDNA_RESOLVE_HNAME request (id 0x37f9f377)
# pkt_q_wait_recv: Locking 0x10002e6c!
# Andna get single cache request 0x7ae45a4d from: 12.77.103.96, real from: 
12.77.103.96
# find_hashgnode: Internal found: gid0 11, to 108.72.170.11!
# put_single_andna_c: old hash_gnode not found
# find_hashgnode: ext_found, err 1, to 12.77.103.96!
# Quest ANDNA_RESOLVE_HNAME to 12.77.103.96
# Receiving reply for the ANDNA_RESOLVE_HNAME request (id 0x7053b71d)
# pkt_q_wait_recv: Locking 0x1000305c!
# Andna get single cache request 0x230e9d89 from: 12.77.103.96, real from: 
12.77.103.96
# find_hashgnode: Internal found: gid0 11, to 108.72.170.11!
# put_single_andna_c: old hash_gnode not found
# Andna Resolve request 0x1c5ff624 from: 12.77.103.96, real from: 12.77.103.96
# find_hashgnode: Internal found: gid0 11, to 108.72.170.11!
# find_hashgnode: ext_found, err 1, to 12.77.103.96!
# Quest ANDNA_GET_SINGLE_ACACHE to 12.77.103.96
# Receiving reply for the ANDNA_GET_SINGLE_ACACHE request (id 0x13851d7)
# pkt_q_wait_recv: Locking 0x1000ce2c!
# Andna Resolve request 0x59d9aab6 from: 12.77.103.96, real from: 12.77.103.96
# find_hashgnode: Internal found: gid0 11, to 108.72.170.11!
# find_hashgnode: ext_found, err 1, to 12.77.103.96!
# Quest ANDNA_GET_SINGLE_ACACHE to 12.77.103.96
# Receiving reply for the ANDNA_GET_SINGLE_ACACHE request (id 0x78869f93)
# pkt_q_wait_recv: Locking 0x1000cf3c!
# Andna Resolve request 0x5356ed9 from: 12.77.103.96, real from: 12.77.103.96
# find_hashgnode: Internal found: gid0 11, to 108.72.170.11!
# find_hashgnode: ext_found, err 1, to 12.77.103.96!
# Quest ANDNA_GET_SINGLE_ACACHE to 12.77.103.96
# Receiving reply for the ANDNA_GET_SINGLE_ACACHE request (id 0x22fc4944)
# pkt_q_wait_recv: Locking 0x1000d07c!
# pq->pkt.hdr.id: 0x6960fe2b Timeoutted. mtx: 0x1000B994
# We've been unlocked: timeout 4
* Error while receving the reply for the ANDNA_GET_SINGLE_ACACHE request from 
255.255.255.255.
# find_hashgnode: ext_found, err 1, to 12.77.103.96!
# Quest ANDNA_CHECK_COUNTER to 12.77.103.96
# Receiving reply for the ANDNA_CHECK_COUNTER request (id 0x64ef14cd)
# pkt_q_wait_recv: Locking 0x1000b994!
# pkt_exec: ACK_AFFERMATIVE Async reply, id 0x64ef14cd
# pkt_q_add_pkt: 1693390029 == 1693390029. data[0]: 0, async replied: 16
# pkt_q_add_pkt: Unlocking 0x1000B994
# We've been unlocked: timeout 0
# Registration rq 0x186146 accepted.
# pkt_q_add_pkt: 586959172 == 1693390029. data[0]: 0, async replied: 16
# pkt_q_add_pkt: 2022088595 == 1693390029. data[0]: 0, async replied: 16
# pkt_q_add_pkt: 20468183 == 1693390029. data[0]: 0, async replied: 16
# pkt_q_add_pkt: 1884534557 == 1693390029. data[0]: 0, async replied: 16
# pkt_q_add_pkt: 939127671 == 1693390029. data[0]: 0, async replied: 16
# pkt_q_add_pkt: 1671713797 == 1693390029. data[0]: 0, async replied: 16
# pkt_q_add_pkt: 785295637 == 1693390029. data[0]: 0, async replied: 16
# pkt_q_add_pkt: 1950583324 == 1693390029. data[0]: 0, async replied: 16
# pkt_q_add_pkt: 909827159 == 1693390029. data[0]: 0, async replied: 16
# Andna Resolve request 0x408b9bab from: 12.77.103.96, real from: 12.77.103.96
# find_hashgnode: Internal found: gid0 11, to 108.72.170.11!
# find_hashgnode: ext_found, err 1, to 12.77.103.96!
# Quest ANDNA_GET_SINGLE_ACACHE to 12.77.103.96
# Receiving reply for the ANDNA_GET_SINGLE_ACACHE request (id 0x3db5b125)
# pkt_q_wait_recv: Locking 0x100034fc!
# pq->pkt.hdr.id: 0x363adc57 Timeoutted. mtx: 0x1000C28C
# We've been unlocked: timeout 4
* Error while receving the reply for the ANDNA_GET_SINGLE_ACACHE request from 
12.77.103.96.
# Request ANDNA_RESOLVE_HNAME (0x2d0a5a4) rejected: Inexistent host name


eth1      Link encap:Ethernet  HWaddr 00:16:B6:
          inet addr:108.72.170.11  Bcast:108.255.255.255  Mask:255.0.0.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:6131 errors:0 dropped:0 overruns:0 frame:12517
          TX packets:6654 errors:256 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:363387 (354.8 KiB)  TX bytes:398503 (389.1 KiB)
          Interrupt:2 Base address:0x5000

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
12.77.103.96    108.72.170.11   255.255.255.255 UGH   0      0        0 eth1
192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 vlan0
10.0.0.0        0.0.0.0         255.0.0.0       U     0      0        0 tunl0
12.0.0.0        12.77.103.96    255.0.0.0       UG    0      0        0 eth1
108.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 eth1
0.0.0.0         192.168.1.102   0.0.0.0         UG    0      0        0 vlan0

_______________________________________________
Netsukuku mailing list
[email protected]
http://lists.dyne.org/mailman/listinfo/netsukuku

Reply via email to