On Mon, 7 Jan 2008, Jeab wrote: Hi,
Hi,Thank you Miika, now the problem is solved. It is related to the routing iptables, then I stop the service iptables for ipv4 and ipv6. Now two hosts can communicate with HIP. I am happy with the first success :)
As a workaround, you can also use the NAT mode to overcome some firewall problems (hipconf nat on).
Now, I'm trying to work with RVS by setting up the third peer on another network. But, I faced some problems. Pls kindly advise if you have any idea how to fix it.1.) test/conntest-client-gai is failed Here, 3 peers are set up for testing as described in Chap.14. @Initiator> 192.168.232.134 jack @Responder>192.168.232.135 kim @RVS> 192.168.44.130 chloe Every peer is disable the ip routing table service. # service iptables status iptables: Firewall is not running. # service ip6tables status ip6tables: Firewall is not running. @RVS # hipconf add service rvs ...ok @Responder # hipconf add rvs ...ok
What HIT did you use here? Was the same as "hipconf get hi default" would display at @RVS?
# test/conntest-server tcp 5000 @Initiator # test/conntest-client-gai kim tcp 5000 name='kim' service='5000' The name is not an IPv4 or IPv6 address, resolve name (!AI_NUMERICHOST) Asking serving gateway info from daemon... waiting to receive daemon info bytes= 1848 hdr_size = 40 1848 bytes received No gw struct found name=Iÿÿÿÿ,Iÿÿÿÿ`+Z' service='5851' The name is not an IPv4 or IPv6 address, resolve name (!AI_NUMERICHOST) HIP_TRANSPARENT_API: AI_HIP unset: if any HITs are found only HITs will be returned; if not, IPs will be returned OpenDHT gateway resolving failed Error in resolving the DHT gateway address, skipping DHT ** match on line 5 ** HIP_TRANSPARENT_API: AI_HIP set: strictly HITs are returned HIT: 2001:0017:a88b:24e2:4266:679e:cdef:9ef0
Is this HIT the same as "hipconf get hi default" would display at @Responder?
IP: 192.168.44.130 waiting to receive daemon info bytes= 88 hdr_size = 40 88 bytes received HIP: AI_HIP set or HITs were found: removing IP addresses a->addr: 2001:0017:a88b:24e2:4266:679e:cdef:9ef0 a->addr: 192.168.44.130 freeing IP address Input some text, press enter and ctrl+d dddddffff Addr given to connect: 2001:0017:a88b:24e2:4266:679e:cdef:9ef0 !!!! conntest.c Connecting... ai_flags 2048 ai_family 10 ai_socktype 1 ai_protocol6 ai_addrlen 28 ai_canonname (null) local addr: 0000:0000:0000:0000:0000:0000:0000:0000 Trying to connect to IPv6: 2001:0017:a88b:24e2:4266:679e:cdef:9ef0 After call conntest.c: connect to 2001:17:a88b:24e2:4266:679e:cdef:9ef0 connect ret=-1 errno=3 trying next failed to connect @Responder # tcpdump -n -i any esp or proto 253 or port 50500 05:35:38.717249 IP 192.168.232.135> 192.168.44.130: ip-proto-253 40 05:35:50.720367 IP 192.168.232.135> 192.168.44.130: ip-proto-253 40 05:36:02.719972 IP 192.168.232.135> 192.168.44.130: ip-proto-253 40 05:36:14.719005 IP 192.168.232.135> 192.168.44.130: ip-proto-253 40 05:36:26.719531 IP 192.168.232.135> 192.168.44.130: ip-proto-253 40 05:36:38.723151 IP 192.168.232.135> 192.168.44.130: ip-proto-253 40 @Initiator # tcpdump -n -i any esp or proto 253 or port 50500 05:37:48.978554 IP 192.168.232.134> 192.168.44.130: ip-proto-253 40 05:37:59.971988 IP 192.168.232.134> 192.168.44.130: ip-proto-253 40 05:38:12.966374 IP 192.168.232.134> 192.168.44.130: ip-proto-253 40 05:38:24.966452 IP 192.168.232.134> 192.168.44.130: ip-proto-253 40 05:38:36.961179 IP 192.168.232.134> 192.168.44.130: ip-proto-253 40 05:38:48.960387 IP 192.168.232.134> 192.168.44.130: ip-proto-253 40 05:39:03.955194 IP 192.168.232.134> 192.168.44.130: ip-proto-253 40
Can you also send the hipd log or a link to the log at rendezvous server? Thanks.
2.) I download a new tar ball by wget http://hipl.hiit.fi/hipl/hipl.tar.gz this morning. I found the changelog that ... 2008-01-04 09:41:37 GMT Miika Komu patch-298Where can I find the version with patch-299 as Miika posted last night?
Should be there right now (sometimes this updates a little bit slowly): wget hipl.hiit.fi/hipl/hipl.tar.gz head doc/ChangeLog # do not edit -- automatically generated by arch changelog# arch-tag: automatic-ChangeLog--hipl-dev@xxxxxxxxxxxxxxxxxxx/hipl--main--2.6
# 2008-01-06 21:20:31 GMT Miika Komu <miika@xxxxxx> patch-299 .. -- Miika Komu http://www.iki.fi/miika/