Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Apr 2003 15:38:22 -0700
From:      "Crist J. Clark" <crist.clark@attbi.com>
To:        Damian Gerow <damian@sentex.net>
Cc:        net@freebsd.org
Subject:   Re: [LONG] Re: IPSec tunnel setup problems
Message-ID:  <20030418223822.GC39466@blossom.cjclark.org>
In-Reply-To: <20030416190520.GJ648@sentex.net>
References:  <20030415223713.GB648@sentex.net> <00d001c303dc$191c2830$0b01a8c0@Beastie> <20030416190520.GJ648@sentex.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030418223822.GC39466>