[Openswan Users] Getting "resource temporarily unavailable" error
Marcus Leech
mleech at nortel.com
Thu Feb 24 15:55:01 CET 2005
I've been playing with roadwarrior configuration with modecfg, and got
it working fairly
well from the gateway end, but I'm running into problems on the
roadwarrior end.
Here's the RW configuration file:
version 2
config setup
interfaces=%defaultroute
#nat_traversal=yes
conn %default
keyingtries=2
compress=yes
authby=rsasig
leftrsasigkey=%cert
rightrsasigkey=%cert
conn roadwarrior-net
leftsubnet=47.0.0.0/255.0.0.0
also=roadwarrior
conn roadwarrior
left=192.168.0.222
modecfgpull=yes
rightmodecfgclient=yes
leftmodecfgserver=yes
right=%defaultroute
leftid="C=CA, ST=Ontario, L=Ottawa, O=Nortel, OU=Internet & Security Ser
vices, CN=localhost.localdomain, E=root at localhost.localdomain"
rightcert=mleech at nortel.com.pem
auto=add
pfs=yes
#Disable OE
include /etc/ipsec.d/examples/no_oe.conf
I use "ipsec auto --up roadwarrior-net" to bring it up and
"ipsec auto --down roadwarrior-net" to bring it down.
Once the connection is up, I can happily pass traffic.
But when I bring it down, and then back up again, I get "resource
temporarily unavailable"
when I try to pass traffic to 47.XX.XX.XX.
The following messages in the log seemed relevant to this problem:
Feb 23 16:01:23 localhost pluto[31039]: ERROR: netlink
XFRM_MSG_DELPOLICY response for flow int.0 at 0.0.0.0 included errno 2: No
such file or directory
Feb 23 16:13:50 localhost pluto[31039]: "roadwarrior-net": ERROR:
netlink XFRM_MSG_DELPOLICY response for flow int.0 at 0.0.0.0 included
errno 2: No such file or directory
Feb 24 14:57:42 localhost pluto[6457]: ERROR: netlink XFRM_MSG_DELPOLICY
response for flow int.0 at 0.0.0.0 included errno 2: No such file or directory
Feb 24 14:58:16 localhost pluto[6457]: ERROR: netlink XFRM_MSG_DELPOLICY
response for flow int.0 at 0.0.0.0 included errno 2: No such file or directory
Feb 24 14:58:39 localhost pluto[6457]: ERROR: netlink XFRM_MSG_DELPOLICY
response for flow int.0 at 0.0.0.0 included errno 2: No such file or directory
Feb 24 14:59:55 localhost pluto[6457]: ERROR: netlink XFRM_MSG_DELPOLICY
response for flow int.0 at 0.0.0.0 included errno 2: No such file or directory
Feb 24 15:01:50 localhost pluto[7069]: ERROR: netlink XFRM_MSG_DELPOLICY
response for flow int.0 at 0.0.0.0 included errno 2: No such file or directory
Feb 24 15:03:25 localhost pluto[7069]: ERROR: netlink XFRM_MSG_DELPOLICY
response for flow int.0 at 0.0.0.0 included errno 2: No such file or directory
Feb 24 15:06:48 localhost pluto[7558]: ERROR: netlink XFRM_MSG_DELPOLICY
response for flow int.0 at 0.0.0.0 included errno 2: No such file or directory
Feb 24 15:20:50 localhost pluto[7558]: ERROR: netlink XFRM_MSG_DELPOLICY
response for flow int.0 at 0.0.0.0 included errno 2: No such file or directory
Feb 24 15:21:48 localhost pluto[7558]: ERROR: netlink XFRM_MSG_DELPOLICY
response for flow int.0 at 0.0.0.0 included errno 2: No such file or directory
Feb 24 15:24:22 localhost pluto[8100]: ERROR: netlink XFRM_MSG_DELPOLICY
response for flow int.0 at 0.0.0.0 included errno 2: No such file or directory
I can cure this problem by restarting OpenSwan on the warrior machine,
and re-establishing "roadwarrior-net".
I'm using 2.3.1dr3
with NETKEY on a 2.6.10-1.766_FC3 kernel
More information about the Users
mailing list