[hipl-users] Re: one way Base Exchange

  • From: Matteo Mosca <matteo.mosca@xxxxxxxxx>
  • To: hipl-users@xxxxxxxxxxxxx
  • Date: Tue, 01 Mar 2005 10:56:14 +0100

Alle 22:41, luned=EC 28 febbraio 2005, Miika Komu ha scritto:
> On Mon, 28 Feb 2005, Matteo Mosca wrote:
> > I have installed on both hosts the same version of HIPL (patch-190).
>
> You are using an outdated version from the old archive. See
> http://hipl.hiit.fi/hipl/download/ for instructions on getting the new
> code.

Yes, thanks. But actually I can not frequently upgrade the code.

> > The Base Exchange from 'Host A' to 'Host B' (by =
'conntest-client-gai')
> > works but the same from 'Host B' to 'Host A' fails (even changing
> > their positions in my LAN)
>
> Does the following work:
> * From host A: ping6 name_of_host_b
> * From host B: ping6 name_of_host_a

It works.

> What does the failed base exchange output on the initiating host? =
Please
> also copy paste the relevant logs from i.e. /var/log/kern.log from =
both
> hosts.

I think the problem is on the 'Host A' as Responder. It receives I1 =
packet=20
from 'Host B', but its log is:

hip_inbound: Received HIT packet type 1
hip_verify_network_header: skb len=3D40, skb data_len=3D0, v6hdr =
payload_len=3D40=20
msgtotlen=3D40
hip_verify_network_header: Received HIT is our or we are RVS
hip_check_network_msg: ***ERROR***: bad param type, current param=3D0
hip_inbound: ***ERROR***: HIP packet is invalid

Anyway this is the log of 'Host B':

hip_create_socket: protocol=3D0
hip_socket_setsockopt:
hip_select_socket_handler: sock_type=3D1 sk_proto=3D6
hip_do_work: map HIT: 5872:c840:6382:4673:024a:6d15:c635:505c
hip_do_work: map IP: 2001:06b8:0070:0003:0211:85ff:fe8d:2371
hip_do_work: New job: type=3D3 subtype=3D202
hip_hadb_add_peer_info: called: HIT =
5872:c840:6382:4673:024a:6d15:c635:505c
hip_hadb_add_peer_addr: SPI is 0, set address as the bex address
hip_worker: Work done (pid=3D5077, cpu=3D0)
hip_socket_release:
hip_select_socket_handler: sock_type=3D1 sk_proto=3D6
hip_hadb_get_peer_addr: default SPI out is 0, try to use the bex address
hip_xfrm_handler_acquire: =
daddr=3D5872:c840:6382:4673:024a:6d15:c635:505c dir=3D1
hip_handle_output: Initiating connection
hip_send_i1:
hip_khexdump: HIT SOURCE in send_i1: begin dump 16 bytes from 0xe8961b6c
   0: 50f52472 78f1adcc 2dd44e9f b4d5e9b4
hip_khexdump: end of dump (0xe8961b7c)
hip_khexdump: HIT DEST in send_i1: begin dump 16 bytes from 0xe8961b7c
   0: 5872c840 63824673 024a6d15 c635505c
hip_khexdump: end of dump (0xe8961b8c)
hip_hadb_get_peer_addr: default SPI out is 0, try to use the bex address
hip_csum_send_fl: pkt out: len=3D40 proto=3D99 csum=3D0xc8d9096a
hip_print_hit: pkt out: src IPv6 addr: :=20
2001:06b8:0070:0001:020d:9dff:fe90:1770
hip_print_hit: pkt out: dst IPv6 addr: :=20
2001:06b8:0070:0003:0211:85ff:fe8d:2371
hip_csum_send_fl: pkt out: checksum value (host order): 0xd2f
hip_xfrm_handler_acquire: ***ERROR***: TODO: handle err=3D-1 [*]
hip_xfrm_handler_acquire: returning, err=3D0

[*] Note that this error is always ouput: it appears also on the 'Host =
A' when=20
it successfully initiates the BE with 'Host B'.

Thank you very much indeed,
Matteo


Gruppo Telecom Italia - Direzione e coordinamento di Telecom Italia =
S.p.A.

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
CONFIDENTIALITY NOTICE
This message and its attachments are addressed solely to the persons
above and may contain confidential information. If you have received
the message in error, be informed that any use of the content hereof
is prohibited. Please return it immediately to the sender and delete
the message. Should you have any questions, please send an e_mail to
MailAdmin@xxxxxxxxxx Thank you
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

Other related posts: