From: Oredope, A. <ao...@es...> - 2008-02-20 17:33:51
|
Hello Enrico, Thanks a lot for your help, it is highly appreciated. I have tried compiling the new version for sipdht tools and there seems to be an error with an undefined parameter (sipdht_peer_set_routing). Please see error below [root@psr106 sipdht-tools-0.4.1]# make make all-recursive make[1]: Entering directory `/root/sipdht-tools-0.4.1' Making all in src make[2]: Entering directory `/root/sipdht-tools-0.4.1/src' gcc -g -O2 -o sipdht sipdht.o -lsipdht sipdht.o: In function `main': /root/sipdht-tools-0.4.1/src/sipdht.c:286: undefined reference to `sipdht_peer_set_routing' collect2: ld returned 1 exit status make[2]: *** [sipdht] Error 1 make[2]: Leaving directory `/root/sipdht-tools-0.4.1/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/root/sipdht-tools-0.4.1' make: *** [all] Error 2 Regards, Tola -----Original Message----- From: Enrico Marocco [mailto:enr...@te...] Sent: 20 February 2008 15:58 To: Oredope, Adetola Cc: sip...@li... Subject: Re: [Sipdht-devel] SIPDHT Experiments -- with attachment Oredope, Adetola wrote: > I have tried it as suggested but it does not still seem to fin node 19, > please look below > > Trying with node sip:127.0.0.19:5060... > Trying with node sip:80@127.0.0.1:5060;user=node... > Trying with node sip:88@127.0.0.9:5060;user=node... > Trying with node sip:b0@127.0.0.10:5060;user=node... > Trying with node sip:b1@127.0.0.11:5060;user=node... > Trying with node sip:b2@127.0.0.12:5060;user=node... > callback failure invoked: 0 After a second look, I noticed that node 20 has the same id as node 11 ("b1" for both, in the user part of the SIP URI). That is due to the weakness of the hash function and of course makes the join fail. I've made available the latest version of libsipdht and sipdht-tools where the support for SHA-1 was certainly implemented; unfortunately I can't remember if it was enabled by default or if some tricks were needed. -- Ciao, Enrico |