From owner-freebsd-net@FreeBSD.ORG Mon Mar 29 13:41:01 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 77E1316A4CE for ; Mon, 29 Mar 2004 13:41:01 -0800 (PST) Received: from rwcrmhc12.comcast.net (rwcrmhc12.comcast.net [216.148.227.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 556F243D45 for ; Mon, 29 Mar 2004 13:41:01 -0800 (PST) (envelope-from cristjc@comcast.net) Received: from blossom.cjclark.org (c-67-169-127-171.client.comcast.net[67.169.127.171]) by comcast.net (rwcrmhc12) with ESMTP id <20040329214100014007cj2ae>; Mon, 29 Mar 2004 21:41:00 +0000 Received: from blossom.cjclark.org (localhost. [127.0.0.1]) by blossom.cjclark.org (8.12.9p2/8.12.8) with ESMTP id i2TLex0m009062; Mon, 29 Mar 2004 13:40:59 -0800 (PST) (envelope-from cristjc@comcast.net) Received: (from cjc@localhost) by blossom.cjclark.org (8.12.9p2/8.12.9/Submit) id i2TLewMI009061; Mon, 29 Mar 2004 13:40:58 -0800 (PST) (envelope-from cristjc@comcast.net) X-Authentication-Warning: blossom.cjclark.org: cjc set sender to cristjc@comcast.net using -f Date: Mon, 29 Mar 2004 13:40:58 -0800 From: "Crist J. Clark" To: Cyrill R?ttimann Message-ID: <20040329214057.GA8711@blossom.cjclark.org> References: <257C203C-8104-11D8-9902-00039303AB38@mac.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <257C203C-8104-11D8-9902-00039303AB38@mac.com> User-Agent: Mutt/1.4.1i X-URL: http://people.freebsd.org/~cjc/ cc: freebsd-net@freebsd.org Subject: Re: IPSec troubles X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: "Crist J. Clark" List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Mar 2004 21:41:01 -0000 On Mon, Mar 29, 2004 at 12:06:21AM +0200, Cyrill R?ttimann wrote: > Hello, > > I have troubles setting up an IPSec Host-to-Host connection between > FreeBSD 5.2.1 and MacOS X 10.3.3: Last I knew, 5.2.1 still had broken IPsec. Specifically, the system tries to apply the IPsec policy to the IKE traffic giving us a chicken and egg problem. The Mac end timing out waiting to hear from the FreeBSD system is consistent with this. Run 'tcpdump -n port 500' on the FreeBSD system and watch for outgoing traffic, and have a look at 'netstat -sp ipsec' and see if the 'outbound packets with no SA available' count is increasing. The workaround was to not use IPSEC in the kernel, but FAST_IPSEC. -- Crist J. Clark | cjclark@alum.mit.edu | cjclark@jhu.edu http://people.freebsd.org/~cjc/ | cjc@freebsd.org