[hipl-users] Re: Base Exchange doesn't start

  • From: Miika Komu <miika@xxxxxx>
  • To: hipl-users@xxxxxxxxxxxxx
  • Date: Sat, 4 Mar 2006 17:08:06 +0200 (EET)

On Thu, 2 Mar 2006, Alfredo Matos wrote:

Filed a bug report:

http://hipl.hiit.fi/bugzilla/show_bug.cgi?id=122

Going to fix it as soon as I have time. Thanks, Alfredo and Kristian for
the information.

> I have a two machine setup: 3ffe::1 and 3ffe::2 .
> I installed a 2.6.15.4 kernel, with the BEET patches ( the 2.6.14.2
> pacthes apply cleanly). I am using IPv6, xfrm_user, aes+des+sha1 all as
> modules.
>
> The problem is when that the Initiator hipd never sends out an I1
> packet, although i can see the packets (tcp, from conntest-client-gai)
> going through the dummy0 interface, but nothing happens.
> The other strange thing is when i shutdown the Initiator hipd, it send
> ou a close packet, and this is received and processed at the responder.
>
> This happens both with userspace and main branch of the code.
>
> Any ideas of what i might be doing wrong ? (Debug is below)
>
>
> Best Regards,
>
> Alfredo Matos
>
>
> -- DEBUG BEGIN --
>
>   debug(hipd.c:514@main): Receiving user message.
> debug(hadb.c:266@hip_hadb_add_peer_info): CALLED hip_hadb_add_peer_info
>
>
> debug(debug.c:430@hip_print_hit): HIT:
> 400a:a246:73da:1c0c:eaad:f8d9:c59b:eb53
> debug(debug.c:430@hip_print_hit): addr:
> 3ffe:0000:0000:0000:0000:0000:0000:0002
> debug(debug.c:430@hip_print_hit): try_to_find_by_peer_hit::
> 40e7:dc37:5399:6a04:0145:550b:6469:b04a
> debug(debug.c:430@hip_print_hit): hit::
> 400a:a246:73da:1c0c:eaad:f8d9:c59b:eb53
> info(hadb.c:162@hip_hadb_find_byhits): hit is:
> 0x400aa24673da1c0ceaadf8d9c59beb53
> info(hadb.c:163@hip_hadb_find_byhits): hit2 is:
> 0x40e7dc3753996a040145550b6469b04a
> info(hadb.c:164@hip_hadb_find_byhits): the computed key is:
> 0x00ed7e7120437608ebe8add2a1f25b19
> debug(debug.c:430@hip_print_hit): try_to_find_by_peer_hit::
> 402a:69ef:d6da:d20b:4d06:581b:52b2:554f
> debug(debug.c:430@hip_print_hit): hit::
> 400a:a246:73da:1c0c:eaad:f8d9:c59b:eb53
> info(hadb.c:162@hip_hadb_find_byhits): hit is:
> 0x400aa24673da1c0ceaadf8d9c59beb53
> info(hadb.c:163@hip_hadb_find_byhits): hit2 is:
> 0x402a69efd6dad20b4d06581b52b2554f
> info(hadb.c:164@hip_hadb_find_byhits): the computed key is:
> 0x0020cba9a500ce07a7aba0c29729be1c
> debug(debug.c:430@hip_print_hit): try_to_find_by_peer_hit::
> 4009:16c2:62ee:52ca:76d0:5cca:0563:2241
> debug(debug.c:430@hip_print_hit): hit::
> 400a:a246:73da:1c0c:eaad:f8d9:c59b:eb53
> info(hadb.c:162@hip_hadb_find_byhits): hit is:
> 0x400aa24673da1c0ceaadf8d9c59beb53
> info(hadb.c:163@hip_hadb_find_byhits): hit2 is:
> 0x400916c262ee52ca76d05cca05632241
> info(hadb.c:164@hip_hadb_find_byhits): the computed key is:
> 0x0003b48411344ec69c7da413c0f8c912
> debug(debug.c:430@hip_print_hit): try_to_find_by_peer_hit::
> 409f:0eca:c022:9801:f301:1828:8f19:87f0
> debug(debug.c:430@hip_print_hit): hit::
> 400a:a246:73da:1c0c:eaad:f8d9:c59b:eb53
> info(hadb.c:162@hip_hadb_find_byhits): hit is:
> 0x400aa24673da1c0ceaadf8d9c59beb53
> info(hadb.c:163@hip_hadb_find_byhits): hit2 is:
> 0x409f0ecac0229801f30118288f1987f0
> info(hadb.c:164@hip_hadb_find_byhits): the computed key is:
> 0x0095ac8cb3f8840d19ace0f14a826ca3
> debug(hidb.c:571@hip_get_rsa_public_key): dilen: 4
> debug(hidb.c:580@hip_get_rsa_public_key): Host ID len after cut-off: 152
> debug(debug.c:430@hip_print_hit): our hit seems to be:
> 40e7:dc37:5399:6a04:0145:550b:6469:b04a
> info(hadb.c:239@hip_hadb_insert_state): ha->hit_our is:
> 0x40e7dc3753996a040145550b6469b04a
> info(hadb.c:240@hip_hadb_insert_state): ha->hit_peer is:
> 0x400aa24673da1c0ceaadf8d9c59beb53
> info(hadb.c:241@hip_hadb_insert_state): the hash key is:
> 0x00ed7e7120437608ebe8add2a1f25b19
> debug(hadb.c:45@hip_hadb_hold_entry): HA: 0x8082c28, refcnt incremented
> to: 1
> debug(hadb.c:246@hip_hadb_insert_state): New state added
> debug(hadb.c:615@hip_hadb_add_peer_addr): SPI is 0, set address as the
> bex address
> debug(debug.c:430@hip_print_hit): dst addr ::
> 3ffe:0000:0000:0000:0000:0000:0000:0002
> error(nlink.c:992@parse_rtattr): !!!Deficit len 28, rta_len=0
> debug(debug.c:430@hip_print_hit): src:
> 3ffe:0000:0000:0000:0000:0000:0000:0001
> debug(hadb.c:308@hip_hadb_add_peer_info): Source address found
> debug(hadb.c:325@hip_hadb_add_peer_info): HA: 0x8082c28, refcnt
> decremented to: 1
> error(hipd.c:586@main): Error (1) ignoring.
> debug(hadb.c:2237@hip_for_each_ha): HA: 0x8082c28, refcnt decremented to: 1
> debug(hadb.c:2237@hip_for_each_ha): HA: 0x8082c28, refcnt decremented to: 1
> debug(hadb.c:2237@hip_for_each_ha): HA: 0x8082c28, refcnt decremented to: 1
> debug(hadb.c:2237@hip_for_each_ha): HA: 0x8082c28, refcnt decremented to: 1
> debug(hadb.c:2237@hip_for_each_ha): HA: 0x8082c28, refcnt decremented to: 1
>
> ... (close part) ...
>
> error(hipd.c:237@hip_exit): Signal: 2
> debug(close.c:9@hip_send_close): msg=(nil)
> debug(close.c:37@hip_xmit_close): Sending close to peer
> info(crypto.c:344@hip_write_hmac): Dumping
> key0x0000000000000000000000000000000000000000
> info(crypto.c:366@hip_write_hmac): HMAC
> key0x0000000000000000000000000000000000000000
> info(crypto.c:367@hip_write_hmac): hmac
> in0x3b0508102400000040e7dc3753996a040145550b6469b04a400aa24673da1c0ceaadf8d9c59beb5303810004f56c1f1c
> info(crypto.c:368@hip_write_hmac): hmac
> out0xe249c58dd3ea7277fcea65035c7993d5b2c89c68
> debug(debug.c:430@hip_print_hit): peer_addr:
> 3ffe:0000:0000:0000:0000:0000:0000:0002
> debug(preoutput.c:56@hip_csum_send): Using IPv6 raw socket
> debug(preoutput.c:67@hip_csum_send): no local address, selecting one
> debug(debug.c:430@hip_print_hit): dst addr ::
> 3ffe:0000:0000:0000:0000:0000:0000:0002
> error(nlink.c:992@parse_rtattr): !!!Deficit len 28, rta_len=0
> debug(debug.c:430@hip_print_hit): src:
> 3ffe:0000:0000:0000:0000:0000:0000:0001
> debug(debug.c:430@hip_print_hit): src6:
> 3ffe:0000:0000:0000:0000:0000:0000:0001
> debug(debug.c:430@hip_print_hit): dst6:
> 3ffe:0000:0000:0000:0000:0000:0000:0002
> debug(preinput.c:66@checksum_packet): checksumming 208 bytes of data.
> debug(hipd.c:96@hip_agent_is_alive): Agent is disabled.
> debug(preoutput.c:112@hip_csum_send): No agent running, continuing
> info(preoutput.c:143@hip_csum_send): Dumping packet
> 0x3b1908102400852140e7dc3753996a040145550b6469b04a400aa24673da1c0ceaadf8d9c59beb5303810004f56c1f1cf0410014e249c58dd3ea7277fcea65035c7993d5b2c89c68f10100810527fcbd044f964cc7364f89c9dd6088d21306400d8a7148c051af8a4d709e948a0bd4bfa6ab04de16ae96c6b751162003f8fad0056d6f61eaeae7e4790e1bf7bcad2204cf4d37f8184a70180bdb7aa7871141960476990d1e5f47452c0ab4acf86faf0d02bc9dbec235b0584009c60e91778214e9462fc5f40755fc8040734bff000000
> debug(preoutput.c:151@hip_csum_send): sent=208/208 ipv4=0
> debug(preoutput.c:152@hip_csum_send): Packet sent ok
> debug(hadb.c:2237@hip_for_each_ha): HA: 0x8082c28, refcnt decremented to: 1
> debug(hadb.c:1933@hip_delete_all_sp):
> debug(hadb.c:1935@hip_delete_all_sp): DEBUG: DUMP SPI LISTS
> debug(hadb.c:1945@hip_delete_all_sp): DELETING HA HT
> debug(netdev.c:146@delete_all_addresses): address_count at entry=5
> debug(nlink.c:729@set_up_device): setting dummy0 done
>
> -- DEBUG END --
>
>

-- 
Miika Komu              miika@xxxxxx          http://www.iki.fi/miika/

Other related posts: