2009-03-09 01:19:29

by Weedy

[permalink] [raw]
Subject: [Fwd: Re: [Openswan Users] Cannot get NETKEY working on openwrt ERROR: netlink XFRM_MSG_NEWPOLICY]

-------- Original Message --------
Subject: Re: [Openswan Users] Cannot get NETKEY working on openwrt
ERROR: netlink XFRM_MSG_NEWPOLICY
Date: Sun, 8 Mar 2009 20:02:27 -0400 (EDT)
From: Paul Wouters <[email protected]>
To: Weedy <[email protected]>
References: <[email protected]>
<[email protected]>
<[email protected]>

On Sun, 8 Mar 2009, Weedy wrote:

Then I'm not sure what's wrong with that kernel.

Paul

> Date: Sun, 08 Mar 2009 19:50:03 -0400
> From: Weedy <[email protected]>
> To: Paul Wouters <[email protected]>
> Subject: Re: [Openswan Users] Cannot get NETKEY working on openwrt ERROR:
> netlink XFRM_MSG_NEWPOLICY
>
> Paul Wouters wrote:
> > On Sun, 8 Mar 2009, Weedy wrote:
> >
> >> Openwrt - Linux Openswan U2.4.13/K2.6.28.7 (netkey)
> >> pluto[6262]: "pom" #4: ERROR: netlink response for Add SA
> >> [email protected] included errno 2: No such file or directory
> >
> >> I have tried to sync the kernel config as best as possible for all IPsec
> >> related options but to no avail, any hints would be much appreciated.
> >> (Between the gentoo box and a centos test box it works fine, so I know I
> >> have the configs working and the kernel setup properly)
> >
> > Are you using the real "ip" command, and not the limitel broken "ip"
> > command from busybox?
> >
> > Paul
>
> make[3] -C package/iproute2 compile
> --2009-03-08 19:21:48--
> http://devresources.linux-foundation.org/dev/iproute2/download/iproute2-2.6.28.tar.bz2
>
> root@cbarone:~# ip -V
> ip utility, iproute2-ss090115
>

I'm posting this in hopes that someone more familiar with this area of
the kernel can tell me what the error message means, or what direction I
should go from here.

Openwrt - Linux Openswan U2.4.13/K2.6.28.7 (netkey)
pluto[6262]: "pom" #4: ERROR: netlink response for Add SA
[email protected] included errno 2: No such file or directory

Gentoo - Linux Openswan U2.4.13/K2.6.28-gentoo-r2 (netkey)
pluto[12367]: "cbarone" #5: ERROR: netlink XFRM_MSG_NEWPOLICY response
for flow [email protected] included errno 17: File exists

openwrt modules: aes_generic af_key ah4 arc4 authenc cbc deflate
des_generic ecb esp4 hmac ipcomp ipt_ah md5 sha1_generic xfrm4_mode_beet
xfrm4_mode_transport xfrm4_mode_tunnel xfrm4_tunnel xfrm_ipcomp
xfrm_user xt_esp