[Openswan Users] Unstable behavior with 2 tunnels connecting the same sites

Greg Scott GregScott at Infrasupport.com
Thu Jul 15 23:54:45 EDT 2010

What are %acquire messages?  I wonder if I can put in some iptables rules to block the ones I don't like?

- Greg

-----Original Message-----
From: Paul Wouters [mailto:paul at xelerance.com] 
Sent: Wednesday, July 14, 2010 11:11 AM
To: Greg Scott
Cc: users at openswan.org; dev at openswan.org
Subject: Re: [Openswan Users] Unstable behavior with 2 tunnels connecting the same sites

On Wed, 14 Jul 2010, Greg Scott wrote:

> Something unhealthy is going on with configs that have multiple tunnels connecting the same sites. 

> Every once-in-a-while, one or more of these tunnels decides to go out to lunch.  This is usually when there’s a telcom interruption.  IPSEC is
> supposed to hook both sites back up after the telecom comes back online, but this doesn’t always work here.  The only solution is to manually
> restart ipsec on one side or the other. 

> When the problem is happening, I see lots of messages coming into /var/log/secure.  Here is a sample:

> Jul 14 08:00:00 localhost pluto[23465]: initiate on demand from to proto=1 state: fos_start be

This is the netkey bug I posted about to dev at openswan.org yesterday. This bug appeared when David applied
some KLIPS rekey patches a month ago :(

We have not been able to address it. It is related to NETKEY sending an endless stream of %acquire messages.

The quick fix is to use KLIPS. If you don't need NAT-T, which it seems you don't, it should be a relatively
straightforward compile.

export KERNELSRC=/usr/src/kernels/linux-2.6.xxxx/
make module module_install

and set protostack=klips in ipsec.conf


More information about the Users mailing list