[support] RO - CN problem

Jakub "Arkon" Syrek arkon at nast.pl
Tue Oct 28 19:39:27 JST 2008


Adding
bce->xfrm_create = 1;

in cn_recv_bu() in cn.c. Resolve my problem.

Regards
Jakub

----- Original Message ----- 
From: "Romain KUNTZ" <kuntz at lsiit.u-strasbg.fr>
To: "Support ML" <support at l2tp.nautilus6.org>
Sent: Wednesday, October 22, 2008 2:24 AM
Subject: Re: [support] RO - CN problem


> Hi Jakub,
>
> Have you tried the chkconf_kernel.sh script included with UMIP? Maybe  a 
> option is missing in your kernel 
> (CONFIG_INET6_XFRM_MODE_ROUTEOPTIMIZATION maybe?). Also, are you  trying 
> to use IPsec on your CN? If yes, could you post the mip6d  configuration 
> file and ipsec setkey.conf file to this list?
>
> It would also help if you could identify where in the code the "Failed  to 
> add state" happens.
>
> Regards,
> romain
>
> On 2008/10/17, at 18:26, Jakub Arkon Syrek wrote:
>
>> Hi and thanks for help.
>>
>> Yes CONFIG_XFRM_USER and CONFIG_XFRM_SUB_POLICY  are included.. MN,  HA 
>> and CN runs on that same kernel in User Mode Linux.
>> I was testing it with NEMO. When I start mip6d and monitoring XFRM  with 
>> ip command I get:
>>
>> router:~# ip -f inet6 xfrm monitor
>> src ::/0 dst ::/0 proto 135 sport 5
>>       dir in priority 9
>>       tmpl src :: dst ::
>>               proto (null) reqid 0 mode 2
>>               level use
>> src :: dst ::
>>       proto (null) spi 0x00000000 reqid 0 mode 2
>>       replay-window 0 flag 8
>>       sel src ::/0 dst ::/0
>> src ::/0 dst ::/0 proto 135
>>       dir out priority 12
>> src ::/0 dst ::/0 proto ipv6-icmp type 135
>>       dir out priority 12
>> src ::/0 dst ::/0 proto ipv6-icmp type 136
>>       dir out priority 3
>> src ::/0 dst ::/0 proto ipv6-icmp type 0
>>       dir out priority 12
>> Unknown message: 00000116 0x0000001e 0x00000000
>>
>> Regards
>> Jakub
>>
>> ----- Original Message ----- From: "Romain KUNTZ" 
>> <kuntz at lsiit.u-strasbg.fr
>> >
>> To: "Support ML" <support at l2tp.nautilus6.org>
>> Sent: Friday, October 17, 2008 10:40 AM
>> Subject: Re: [support] RO - CN problem
>>
>>
>>> Hi Jakub,
>>>
>>> Have you compiled a kernel with the XFRM options enabled on the CN? 
>>> (especially CONFIG_XFRM_USER and CONFIG_XFRM_SUB_POLICY).
>>>
>>> If you have tested with only UMIP 0.4 (i.e. without NEPL), you may 
>>> want to ask on the USAGI mailing list too.
>>>
>>> Cheers,
>>> romain
>>>
>>> On 2008/10/15, at 19:39, Jakub Arkon Syrek wrote:
>>>
>>>> Hello i have problem when i'm trying to test Route Optimization 
>>>> option in my test network.
>>>>
>>>> After ping6 command on CN only odd seq return (for example: 1,3,5 
>>>> etc.)
>>>> CN debug shows that it can't add xfrm state, below is my CN debug 
>>>> output:
>>>> Wed Oct 15 19:37:24 mh_send: sending MH type 7
>>>> from 2001:db8:2:0:0:0:0:2
>>>> to 2001:db8:4:0:fcfd:ff:fe00:106
>>>> Wed Oct 15 19:37:25 mh_try_pad: Added 0 bytes for padding
>>>> Wed Oct 15 19:37:25 mh_send: sending MH type 3
>>>> from 2001:db8:2:0:0:0:0:2
>>>> to 2001:db8:0:0:0:0:0:2
>>>> Wed Oct 15 19:37:25 mh_try_pad: Added 0 bytes for padding
>>>> Wed Oct 15 19:37:25 mh_send: sending MH type 4
>>>> from 2001:db8:2:0:0:0:0:2
>>>> to 2001:db8:4:0:fcfd:ff:fe00:106
>>>> Wed Oct 15 19:37:25 mh_bu_parse: Binding Update Received
>>>> Wed Oct 15 19:37:25 mh_bu_parse: src 2001:db8:0:0:0:0:0:2
>>>> Wed Oct 15 19:37:25 mh_bu_parse: coa 2001:db8:4:0:fcfd:ff:fe00:106
>>>> Wed Oct 15 19:37:25 mh_send_ba: status 135
>>>> Wed Oct 15 19:37:25 mh_send: sending MH type 6
>>>> from 2001:db8:2:0:0:0:0:2
>>>> to 2001:db8:0:0:0:0:0:2
>>>> Wed Oct 15 19:37:25 mh_send: remote CoA  2001:db8:4:0:fcfd:ff:fe00:106
>>>> Wed Oct 15 19:37:25 mh_send: Adding bind auth data
>>>> Wed Oct 15 19:37:25 mh_send: Adding auth_data
>>>> Wed Oct 15 19:37:25 mh_bu_parse: Binding Update Received
>>>> Wed Oct 15 19:37:25 mh_bu_parse: src 2001:db8:0:0:0:0:0:2
>>>> Wed Oct 15 19:37:25 mh_bu_parse: coa 2001:db8:4:0:fcfd:ff:fe00:106
>>>> Wed Oct 15 19:37:25 Failed to add state:
>>>> Wed Oct 15 19:37:25 nlmsg_flags 105
>>>> nlmsg_type 26
>>>> Wed Oct 15 19:37:25 sel.daddr 2001:db8:0:0:0:0:0:2
>>>> sel.saddr 2001:db8:2:0:0:0:0:2
>>>> sel.dport 0
>>>> sel.dport_mask 0
>>>> sel.sport 0
>>>> sel.sport_mask 0
>>>> sel.prefixlen_d 128
>>>> sel.prefixlen_s 128
>>>> sel.proto 0
>>>> sel.ifindex 0
>>>> Wed Oct 15 19:37:25 id.daddr 2001:db8:0:0:0:0:0:2
>>>> id.spi 0
>>>> id.proto 43
>>>> saddr 2001:db8:2:0:0:0:0:2
>>>> reqid 0
>>>> mode 2
>>>> flags 0
>>>> xfrma_addr 2001:db8:4:0:fcfd:ff:fe00:106
>>>> Wed Oct 15 19:37:25 Failed to add state:
>>>> Wed Oct 15 19:37:25 nlmsg_flags 105
>>>> nlmsg_type 26
>>>> Wed Oct 15 19:37:25 sel.daddr 2001:db8:0:0:0:0:0:2
>>>> sel.saddr 2001:db8:2:0:0:0:0:2
>>>> sel.dport 0
>>>> sel.dport_mask 0
>>>> sel.sport 0
>>>> sel.sport_mask 0
>>>> sel.prefixlen_d 128
>>>> sel.prefixlen_s 128
>>>> sel.proto 0
>>>> sel.ifindex 0
>>>> Wed Oct 15 19:37:25 id.daddr 2001:db8:0:0:0:0:0:2
>>>> id.spi 0
>>>> id.proto 43
>>>> saddr 2001:db8:2:0:0:0:0:2
>>>> reqid 0
>>>> mode 2
>>>> flags 0
>>>> xfrma_addr 2001:db8:4:0:fcfd:ff:fe00:106
>>>> Wed Oct 15 19:37:25 mh_send_ba: status 0
>>>> Wed Oct 15 19:37:25 mh_send: sending MH type 6
>>>> from 2001:db8:2:0:0:0:0:2
>>>> to 2001:db8:0:0:0:0:0:2
>>>> Wed Oct 15 19:37:25 mh_send: remote CoA  2001:db8:4:0:fcfd:ff:fe00:106
>>>> Wed Oct 15 19:37:25 mh_send: Adding bind auth data
>>>> Wed Oct 15 19:37:25 mh_send: Adding auth_data
>>>> Wed Oct 15 19:38:45 mh_bu_parse: Binding Update Received
>>>> Wed Oct 15 19:38:45 mh_bu_parse: src 2001:db8:0:0:0:0:0:2
>>>> Wed Oct 15 19:38:45 mh_bu_parse: coa 2001:db8:4:0:fcfd:ff:fe00:106
>>>> Wed Oct 15 19:38:45 Failed to add state:
>>>> Wed Oct 15 19:38:45 nlmsg_flags 105
>>>> nlmsg_type 26
>>>> Wed Oct 15 19:38:45 sel.daddr 2001:db8:0:0:0:0:0:2
>>>> sel.saddr 2001:db8:2:0:0:0:0:2
>>>> sel.dport 0
>>>> sel.dport_mask 0
>>>> sel.sport 0
>>>> sel.sport_mask 0
>>>> sel.prefixlen_d 128
>>>> sel.prefixlen_s 128
>>>> sel.proto 0
>>>> sel.ifindex 0
>>>> Wed Oct 15 19:38:45 id.daddr 2001:db8:0:0:0:0:0:2
>>>> id.spi 0
>>>> id.proto 43
>>>> saddr 2001:db8:2:0:0:0:0:2
>>>> reqid 0
>>>> mode 2
>>>> flags 0
>>>> xfrma_addr 2001:db8:4:0:fcfd:ff:fe00:106
>>>> Wed Oct 15 19:38:45 Failed to add state:
>>>> Wed Oct 15 19:38:45 nlmsg_flags 105
>>>> nlmsg_type 26
>>>> Wed Oct 15 19:38:45 sel.daddr 2001:db8:0:0:0:0:0:2
>>>> sel.saddr 2001:db8:2:0:0:0:0:2
>>>> sel.dport 0
>>>> sel.dport_mask 0
>>>> sel.sport 0
>>>> sel.sport_mask 0
>>>> sel.prefixlen_d 128
>>>> sel.prefixlen_s 128
>>>> sel.proto 0
>>>> sel.ifindex 0
>>>> Wed Oct 15 19:38:45 id.daddr 2001:db8:0:0:0:0:0:2
>>>> id.spi 0
>>>> id.proto 43
>>>> saddr 2001:db8:2:0:0:0:0:2
>>>> reqid 0
>>>> mode 2
>>>> flags 0
>>>> xfrma_addr 2001:db8:4:0:fcfd:ff:fe00:106
>>>> Wed Oct 15 19:38:45 mh_send_ba: status 0
>>>> Wed Oct 15 19:38:45 mh_send: sending MH type 6
>>>>
>>>> Regards
>>>> Jakub
>>>> _______________________________________________
>>>> Support mailing list
>>>> Support at ml.nautilus6.org
>>>> http://ml.nautilus6.org/mailman/listinfo/support
>>>>
>>>
>>> _______________________________________________
>>> Support mailing list
>>> Support at ml.nautilus6.org
>>> http://ml.nautilus6.org/mailman/listinfo/support
>>
>> _______________________________________________
>> Support mailing list
>> Support at ml.nautilus6.org
>> http://ml.nautilus6.org/mailman/listinfo/support
>>
>
> _______________________________________________
> Support mailing list
> Support at ml.nautilus6.org
> http://ml.nautilus6.org/mailman/listinfo/support 




More information about the Support mailing list