From owner-freebsd-net@FreeBSD.ORG Fri Apr 18 15:38:26 2003 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 E6DDD37B401 for ; Fri, 18 Apr 2003 15:38:26 -0700 (PDT) Received: from sccrmhc02.attbi.com (sccrmhc02.attbi.com [204.127.202.62]) by mx1.FreeBSD.org (Postfix) with ESMTP id 125D543FB1 for ; Fri, 18 Apr 2003 15:38:26 -0700 (PDT) (envelope-from crist.clark@attbi.com) Received: from blossom.cjclark.org (12-234-159-107.client.attbi.com[12.234.159.107]) by sccrmhc02.attbi.com (sccrmhc02) with ESMTP id <2003041822382500200263bje>; Fri, 18 Apr 2003 22:38:25 +0000 Received: from blossom.cjclark.org (localhost. [127.0.0.1]) by blossom.cjclark.org (8.12.8p1/8.12.3) with ESMTP id h3IMcOki040414; Fri, 18 Apr 2003 15:38:24 -0700 (PDT) (envelope-from crist.clark@attbi.com) Received: (from cjc@localhost) by blossom.cjclark.org (8.12.8p1/8.12.8/Submit) id h3IMcMi6040413; Fri, 18 Apr 2003 15:38:22 -0700 (PDT) X-Authentication-Warning: blossom.cjclark.org: cjc set sender to crist.clark@attbi.com using -f Date: Fri, 18 Apr 2003 15:38:22 -0700 From: "Crist J. Clark" To: Damian Gerow Message-ID: <20030418223822.GC39466@blossom.cjclark.org> References: <20030415223713.GB648@sentex.net> <00d001c303dc$191c2830$0b01a8c0@Beastie> <20030416190520.GJ648@sentex.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030416190520.GJ648@sentex.net> User-Agent: Mutt/1.4.1i X-URL: http://people.freebsd.org/~cjc/ cc: net@freebsd.org Subject: Re: [LONG] Re: IPSec tunnel setup problems 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: Fri, 18 Apr 2003 22:38:27 -0000 On Wed, Apr 16, 2003 at 03:05:20PM -0400, Damian Gerow wrote: > Thus spake Barry Irwin (bvi@itouchlabs.com) [16/04/03 01:52]: > > Can I suggest you try using TCPdump to see whats going on as well. > > I've done it. I see continual re-tries for Phase I, nothing for Phase II. > Here's what I see: > > tcpdump: > 14:31:33.613674 pyroxene.sentex.ca.isakmp > asylum.afflictions.org.isakmp: isakmp: phase 1 I agg: [|sa] > 14:31:53.428132 pyroxene.sentex.ca.isakmp > asylum.afflictions.org.isakmp: isakmp: phase 1 I agg: [|sa] Well, one weird thing is that pyroxene must be behind some kind of NAT device, > initiating: [snip] > 43:09.033625 64.7.134.90:500 -> 199.212.134.18:500: isakmp 1.0 msgid 00000000: phase 1 I agg: ^^^ > sa: doi=ipsec situation=identity > p: #1 protoid=isakmp transform=1 > t: #1 id=iketype=lifetype value=sectype=lifeduration value=0e10type=enc value=blowfishtype=keylen value=0080type=auth value=presharedtype=hash value=sha1type=group desc value=0005)))) > ke: key len=192) > nonce: n len=16) > id: idtype=IPv4 protoid=udp port=500 len=4 64.7.134.90) ^^^ > receiving: [snip] > 40:07.915101 64.7.134.90:41889 -> 199.212.134.18:500: isakmp 1.0 msgid 00000000: phase 1 I agg: ^^^^^ > (sa: doi=ipsec situation=identity > (p: #1 protoid=isakmp transform=1 > (t: #1 id=ike (type=lifetype value=sec)(type=lifeduration value=0e10)(type=enc value=blowfish)(type=keylen value=0080)(type=auth value=preshared)(type=hash value=sha1)(type=group desc value=0005)))) > (ke: key len=192) > (nonce: n len=16) > (id: idtype=IPv4 protoid=udp port=500 len=4 64.7.134.90) ^^^ > 2003-04-16 14:40:07: DEBUG: remoteconf.c:134:getrmconf(): no remote configuration found. > 2003-04-16 14:40:07: ERROR: isakmp.c:851:isakmp_ph1begin_r(): couldn't find configuration. I'm not 100% as to whether that is a deal-breaker or not. This doesn't explain why initiating in the other direction doesn't work. But what kind of devices are in between these two hosts? What is doing NAT? -- Crist J. Clark | cjclark@alum.mit.edu | cjclark@jhu.edu http://people.freebsd.org/~cjc/ | cjc@freebsd.org