[hipl-users] Re: OpenDHT support.

  • From: "Walter Wong" <walterwong@xxxxxxxxx>
  • To: hipl-users@xxxxxxxxxxxxx
  • Date: Mon, 14 Aug 2006 12:21:27 -0300

Hi,

I've also tested with a local implementation of the bamboo dht. I
changed the configuration in the hip-dht package to point to the local
implementation and ran the dht support.

The hip daemon shown that it inserted objects into the dht, but the
dht didn't show any objects inside. Then I used the bamboo client and
it worked fine. I could put and get objects.

I would like to know if there is any extra configuration to run this tests.

Best regards,

Walter

On 8/14/06, Walter Wong <walterwong@xxxxxxxxx> wrote:
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



--
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: