[hipl-users] Re: Test fails due to use the HIT as a *real* address

  • From: "Jesús Rojo Martínez" <jrojomartinez@xxxxxxxxx>
  • To: hipl-users@xxxxxxxxxxxxx
  • Date: Mon, 12 Feb 2007 18:11:47 +0100

Hi!,

Please change the kernel version. Thx,


 I already did it. The results was in the previous mail, where I said:
"**** Prebuilt kernel version and HIPL", that was a 2.6.17.14.
 Anyway I've been doing more tests now, and:

 I got just one hipd running compiling again the sources (today nightly
tarball). Still don't know why there were 2 running... Okey, I just read
your mail :)
 But same error happend, it got stopped "waiting to received daemon info"
:S

 I tried again with your HIPL compiled version for debian, and, it doesn't
get stucked, but he seems to fail to connect:

node1:~# conntest-client-gai node2 tcp 1111
name='node2' service='1111'
flags: 800
not IPv4 or IPv6 address, resolve name (!AI_NUMERICHOST)
HIP_TRANSPARENT_API: fetch HIT addresses
name='planetlab1.diku.dk' service='5851'
flags: 8000
not IPv4 or IPv6 address, resolve name (!AI_NUMERICHOST)
HIP_TRANSPARENT_API: fetch HIT addresses
HIP_TRANSPARENT_API: AI_HIP unset: get IPv6 addresses too
Dumping the structure
AF_INET in_addr=0xc0266d8f (192.38.109.143 )
Dumping the structure after removing IP addreses
AF_INET in_addr=0xc0266d8f (192.38.109.143)
Key was not found from the DHT
HIT received from DHT:
name=' planetlab1.diku.dk' service='5851'
flags: 8000
not IPv4 or IPv6 address, resolve name (!AI_NUMERICHOST)
HIP_TRANSPARENT_API: fetch HIT addresses
HIP_TRANSPARENT_API: AI_HIP unset: get IPv6 addresses too
Dumping the structure
AF_INET in_addr=0xc0266d8f ( 192.38.109.143)
Dumping the structure after removing IP addreses
AF_INET in_addr=0xc0266d8f ( 192.38.109.143)
Error from the openDHT:
HIP_TRANSPARENT_API: AI_HIP set: do not get IPv6 addresses
Dumping the structure
AF_INET6        in6_addr=0x20 01 00 7c d3 97 1b 35 2a e9 ce a3 5f cc 1a fb
AF_INET6        in6_addr=0x3f fe 00 00 00 00 00 00 00 00 00 00 00 00 00 02
AF_INET in_addr=0xa000102 ( 10.0.1.2)
HIT: 2001:007c:d397:1b35:2ae9:cea3:5fcc:1afb
IP: 3ffe:0000:0000:0000:0000:0000:0000:0002
waiting to receive daemon info
88 bytes received
HIT: 2001:007c:d397:1b35:2ae9:cea3:5fcc:1afb
IP: 10.0.1.2
waiting to receive daemon info
88 bytes received
HIP: AI_HIP set: remove IP addresses
Dumping the structure after removing IP addreses
AF_INET6        in6_addr=0x20 01 00 7c d3 97 1b 35 2a e9 ce a3 5f cc 1a fb
Input some text, press enter and ctrl+d
hola
!!!! conntest.c Connecting...
ai_flags 2048
ai_family 10
ai_socktype 1
ai_protocol6
ai_addrlen 28
ai_canonname (null)
Trying to connect to 2001:7c:d397:1b35:2ae9:cea3:5fcc:1afb


 And here it waits indefinitely. Tcpdump doesn't capture anything.
 In /var/log/syslog there are the following errors/info in the attached
file.

 Please check it to see if you see something strange.
 Anyway I have realized that in the other machine where I run the
conntest-server, even if hipd runs, there is no messages in
/var/log/syslog... :S I'll try to fix that and see if there are some problem
there.

 Thanks again.

--
Jesús Rojo Martínez.
Human Resource responsible BEST Stockholm - Kungliga Tekniska Högskolan
BEST - Board of European Students of Technology ( www.BEST.eu.org)

e-mail: jrojomartinez@xxxxxxxxx
phone: +46704369273
MSN: jrojomartinez@xxxxxxx

Other related posts: