Skip to contentSkip to conversation

Cannot get NETKEY working on openwrt ERROR: netlink XFRM_MSG_NEWPOLICY]

Fwd: Re: Weedy 1 participant 1 message Mar 9, 2009

lore
Share & tools
lore

Weedy

author
#0 lore raw

-------- 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

Quoted 21 lines

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

Quoted 14 lines · Paul Wouters
Quoted 8 lines · Weedy

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?

Quoted 9 lines
Quoted 1 line

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