[hipl-users] OpenDHT support.

  • From: "Walter Wong" <walterwong@xxxxxxxxx>
  • To: hipl-users@xxxxxxxxxxxxx
  • Date: Mon, 14 Aug 2006 14:38:08 +0000

hi,

I have some trouble here with the opendht support. The hip daemon's
log shows that it changes the ip6 address. It tries to insert the
correct address, which is 3ffe::3 and fails. Then it tries to insert
the ffff:7f00:0001 and shows the message of ip doesn't match. Does
ffff:7f00:0001 have any special meaning?

I took out the entries in the /etc/hosts and left the /etc/hip/hosts
as before, with the HIT and hostname, but I couldn't connect the
client with the server.

I would like some advice

Thanks!

This is the output of the hipd:

debug(hipd.c:513@register_to_dht): Inserting
HIT=1148:b301:1941:56ad:053e:be81:06e6:c267 with
IP=3ffe:0000:0000:0000:0000:0000:0000:0003 and hostname joaquina to
DHT
Getting joaquina from DHT
Doing a get
Get failed!
We should put the HIT
Putting joaquina with ip 1148:b301:1941:56ad:053e:be81:06e6:c267
Doing a put
 key: joaquina val: 1148:b301:1941:56ad:053e:be81:06e6:c267 ttl: 120
Getting 1148:b301:1941:56ad:053e:be81:06e6:c267 from DHT
Doing a get
Get failed!
We should put the HIT
Putting 1148:b301:1941:56ad:053e:be81:06e6:c267 with ip
3ffe:0000:0000:0000:0000:0000:0000:0003
Doing a put
 key: 1148:b301:1941:56ad:053e:be81:06e6:c267 val:
3ffe:0000:0000:0000:0000:0000:0000:0003 ttl: 120
debug(hidb.c:74@hip_get_hostid_entry_by_lhi_and_algo): ALGO VALUE :5,
algo value of id entry :5
debug(hipd.c:513@register_to_dht): Inserting
HIT=1148:b301:1941:56ad:053e:be81:06e6:c267 with
IP=0000:0000:0000:0000:0000:ffff:7f00:0001 and hostname joaquina to
DHT
Getting joaquina from DHT
Doing a get
ip no match
Putting joaquina with ip 1148:b301:1941:56ad:053e:be81:06e6:c267
Doing a put
 key: joaquina val: 1148:b301:1941:56ad:053e:be81:06e6:c267 ttl: 120
Getting 1148:b301:1941:56ad:053e:be81:06e6:c267 from DHT
Doing a get
ip no match
Putting 1148:b301:1941:56ad:053e:be81:06e6:c267 with ip
0000:0000:0000:0000:0000:ffff:7f00:0001
Doing a put
 key: 1148:b301:1941:56ad:053e:be81:06e6:c267 val:
0000:0000:0000:0000:0000:ffff:7f00:0001 ttl: 120
debug(hidb.c:74@hip_get_hostid_entry_by_lhi_and_algo): ALGO VALUE :5,
algo value of id entry :5
debug(hipd.c:513@register_to_dht): Inserting
HIT=1148:b301:1941:56ad:053e:be81:06e6:c267 with
IP=0000:0000:0000:0000:0000:ffff:0a0a:0103 and hostname joaquina to
DHT
Getting joaquina from DHT
Doing a get
ip no match
Putting joaquina with ip 1148:b301:1941:56ad:053e:be81:06e6:c267
Doing a put
 key: joaquina val: 1148:b301:1941:56ad:053e:be81:06e6:c267 ttl: 120
Getting 1148:b301:1941:56ad:053e:be81:06e6:c267 from DHT
Doing a get
ip no match
Putting 1148:b301:1941:56ad:053e:be81:06e6:c267 with ip
0000:0000:0000:0000:0000:ffff:0a0a:0103
Doing a put
 key: 1148:b301:1941:56ad:053e:be81:06e6:c267 val:
0000:0000:0000:0000:0000:ffff:0a0a:0103 ttl: 120
debug(hipd.c:1007@main): Daemon running. Entering select loop.
debug(hipd.c:1012@main): Hipd daemon running.

--
Walter Wong
E-mail:wong at dca.fee.unicamp.br
School of Electrical and Computer Engineering - FEEC
State University at Campinas - UNICAMP

Other related posts: