Date: Tue, 31 Jul 2007 08:58:53 +0000 (UTC) From: "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net> To: Antony Mawer <fbsd-net@mawer.org> Cc: freebsd-net@freebsd.org, Isaac Kohen <ik1024@gmail.com> Subject: Re: IPSEC connection drops and doesn't recover Message-ID: <20070731085626.R31116@maildrop.int.zabbadoz.net> In-Reply-To: <46AE9D28.6000801@mawer.org> References: <7feb82f40707301752j2ccb235eof197fed852188bd5@mail.gmail.com> <46AE9D28.6000801@mawer.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 31 Jul 2007, Antony Mawer wrote: Hi, > On 31/07/2007 10:52 AM, Isaac Kohen wrote: >> I'm running 6.2-REL. My kernel is compiled with IPSEC, IPSEC_ESP, and >> IPSEC_DEBUG. I've installed ipsec-tools 0.6.7. >> >> I've had an openbsd ipsec/vpn gateway for several years that recently died >> as a result of hardware failure. I moved my configuration from isakmpd to >> racoon >> and can connect successfully to all the linksys vpn "routers" that I could >> connect to before. Problem is that after a few hours the connection drops >> and doesn't come back up until I do setkey -F and setkey -FP and restart >> racoon. My openbsd/isakmpd setup worked very well so I'm guessing it's not >> those cheap linksys boxes. >> >> I thought it was racoon at first, so I installed and ran isakmpd on freebsd >> using my isakmpd.conf from the openbsd box that I knew worked, but the same >> problem persisted. > > Another "me too" -- we have been running an IPSEC link between FreeBSD > 6.2-RELEASE gateway and a Billion 7404VGO VPN router. The VPN link itself > operates fine, but frequently the connection drops and we have to go through > a song-and-dance of restarting racoon, the VPN router, etc trying to get it > back up and running. > > I haven't got around to tracking down the exact sequence necessary to bring > it back up and running, but eventually after restarting everything we manage > to get things operating again (until the next time). > > I will try and find some more details when I get the opportunity... The situation might change if you do a: sysctl net.key.preferred_oldsa=0 -- Bjoern A. Zeeb bzeeb at Zabbadoz dot NeT Software is harder than hardware so better get it right the first time.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070731085626.R31116>