From owner-ipsec@lists.tislabs.com  Fri Aug  1 14:09:30 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA02850
	for <ipsec-archive@lists.ietf.org>; Fri, 1 Aug 2003 14:09:30 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id LAA22360
	Fri, 1 Aug 2003 11:06:17 -0400 (EDT)
Message-Id: <5.2.0.9.0.20030801095032.01ffc870@email>
X-Sender: mduffy@email
X-Mailer: QUALCOMM Windows Eudora Version 5.2.0.9
Date: Fri, 01 Aug 2003 10:29:31 -0400
To: Stephen Kent <kent@bbn.com>
From: Mark Duffy <mduffy@quarrytech.com>
Subject: Re: revised IPsec processing model
Cc: ipsec@lists.tislabs.com
In-Reply-To: <p0521060ebb4f1ad97557@[128.89.89.75]>
References: <5.2.0.9.0.20030731120622.02631138@email>
 <5.2.0.9.0.20030724113200.01feed80@email>
 <5.2.0.9.0.20030724113200.01feed80@email>
 <5.2.0.9.0.20030731120622.02631138@email>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

At 03:22 PM 7/31/2003 -0400, Stephen Kent wrote:
>Mark,
>
>I've trimmed the message to keep it readable, since I think we agree on 
>the facts, just not what to do as a result :-).
>
>So we agree that there is a way to achieve source-based SPD selection, and 
>to provide independent forwarding, but you don't think the mechanism is 
>not elegant.

Well of course a device can select an SPD in any way it wants; the issue 
here is about whether the IPsec standard sanctions it or not.  With the 
proposed model of 2401bis it might be debatable whether certain behaviors 
comply, as it would depend on how liberal one is in defining "interface" 
and "forwarding function".  If 2401bis makes it clear that these terms may 
be widely construed, then I agree that the proposed model is flexible 
enough at least for the devices I am envisioning.


>   If I understand your suggestion, though, you would remove all 
> specification of this functionality, and I don't think we have a useful 
> spec if we do that.  Did I misunderstand what you were suggesting here?

I think maybe you did.  My suggestion in a nutshell is not to remove 
specification but to modify it thus:

  1.  Say that the SPD is selected by an "SPD selection function" rather 
than by a "forwarding function".  If we are considering that the 
"forwarding function" may be arbitrary anyway, this wording change seems to 
me to be no more than being honest with ourselves.

  2.  Explicitly recognize that the forwarding function that chooses an 
outgoing IP interface (i.e. for bypassed packets and for packets that have 
just been encrypted or just been decrypted) need not be the same function 
as the SPD selection function.

The important *results* of those two points are that: outgoing packets A 
and B may be treated under different SPDs but be sent out the same IP 
interface, and outbound packets C and D may be treated under the same SPD 
but be sent out different interfaces.  (And similarly for inbound packets.)



>I agree that one could manage to configure SPDs so that nested SA could 
>result.   But, it's probably hard for most folks to do this, and without 
>explicit, support in IKE, if this fails the results will be hard to 
>diagnose. Also, because one would have to effect two IKE negotiations to 
>create both sets of SAs, there are timing issues that could arise that 
>also would result in possibly confusing behavior.
>
>It's easy to have 2401bis not say that nesting of SAs is prohibited. It's 
>harder to say that that nesting MUST or MAY be supported, and how. What do 
>you think should be said here? My concern, in part, is that if we say 
>nothing, then users don't know what to expect re functionality, nor do 
>they have any sense of whether two implementations by two different 
>vendors will support this sort of nesting. That's not a good thing for a 
>standard.

I would propose to say nothing about the nesting of SAs.  I agree with you 
that the standard must be clear on how implementations behave, but I think 
the issue here is one level above the IPsec protocol itself, dealing 
instead with multiple applications of the protocol.  Consider placing 2 
security gateways in "series" so that the AH or ESP packets emitted by the 
first are considered as plaintext or subscriber packets by the second, and 
nested into another SA.  Each SG is just doing a vanilla thing but the 
network administrator has created nested SAs.  What difference should it 
make to the standard whether someone combines both those SGs into one device?

--Mark


>Steve



From owner-ipsec@lists.tislabs.com  Fri Aug  1 14:17:17 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA03019
	for <ipsec-archive@lists.ietf.org>; Fri, 1 Aug 2003 14:17:17 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id LAA22395
	Fri, 1 Aug 2003 11:16:10 -0400 (EDT)
Message-Id: <5.2.0.9.0.20030801103014.01ffe018@email>
X-Sender: mduffy@email
X-Mailer: QUALCOMM Windows Eudora Version 5.2.0.9
Date: Fri, 01 Aug 2003 11:20:45 -0400
To: "Scott G. Kelly" <scott@airespace.com>
From: Mark Duffy <mduffy@quarrytech.com>
Subject: Re: revised IPsec processing model
Cc: Stephen Kent <kent@bbn.com>, ipsec@lists.tislabs.com
In-Reply-To: <3F2999BF.3020309@airespace.com>
References: <5.2.0.9.0.20030724113200.01feed80@email>
 <5.2.0.9.0.20030724113200.01feed80@email>
 <5.2.0.9.0.20030731120622.02631138@email>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

Hi Scott,

What you describe below is by my understanding the model not only of 
Steve's 2401bis proposal but also the (arguably more limiting) model of rfc 
2401.  And yes, I think it does not permit the processing required for my 
example.

In the 2401 model, the SPD associated with an interface controls IPsec on 
that interface as follows:  It specifies whether outgoing packets SENT out 
that interface should be dropped, bypassed, or have IPsec applied, and 
whether incoming packets RECEIVED on that interface should be dropped, 
bypassed, or must have arrived with IPsec protection.

My example requires that this be turned inside-out in a sense.  To make the 
example work, the SPD associated with one of the LAN (aka subscriber) 
interfaces controls whether incoming packets RECEIVED on that interface 
should be dropped, bypassed, or have IPsec applied, and whether outgoing 
packets SENT out that interface should be dropped, bypassed, or must have 
arrived into the device with IPsec protection.

Again, this was only an example device.  The larger point was to 
demonstrate the generalizing the model to make SPD selection *independent* 
of forwarding decision (i.e. independent of exit interface) enables 
applications of IPsec that are not otherwise possible.  Another example 
that was made earlier in this thread was the case where an SPD should apply 
to a set of interfaces.

Since you have supplied such a nice picture, I'll attempt to edit it to 
represent what I am advocating:

         +----------------------------+    +---------------------+
          | SPD selection   +-------+  |    | packet forwarding   |
         | module          | SPD a |  |    | (routing) module    |
         |                 +-------+  |    |                     |
         |                            |-->---------->            |
          |        /        +-------+  |    |         \           |
         |       -->-----> | SPD b |  |    |          \          |
         |      /          +-------+  |    |           \         |
         +-----/----------------------+    +------------\--------+
           /                                          \
    incoming /                                           \ outgoing
    packet  /                                              | packet
       +----------------+     +----------------+      +-----V----------+
       |   Interface 0  |     |   Interface 1  |      |   Interface n  |
       +----------------+     +----------------+      +----------------+
         ^
  _______/
  incoming
  packet


--Thanks, Mark


At 03:35 PM 7/31/2003 -0700, Scott G. Kelly wrote:
[snip]
>Mark Duffy wrote:
>| It is the "used both for..." part of that that I am resisting.
>|
>| My opinion is that the proposed forwarding function and virtual
>| interface concepts are helpful, but do not go far enough in generalizing
>| the IPsec model.  What I would hope to see 2401bis embrace is a model
>| where packets enter an IPsec device, some device-specific logic selects
>| an SPD to apply, and then the IPsec and bypassed packets are forwarded
>| out an interface chosen by some separate device-specific logic, for
>| example IP longest matching prefix forwarding.
>|
>| Let me give an example of a hypothetical yet reasonable device that is
>| not readily accomodated by the 2401bis model as proposed.  Suppose we
>| have a security gateway sort of device that has 3 LAN interfaces that it
>| is protecting i.e. "protected networks" and 2 WAN interfaces to the
>| Internet i.e. "uplinks."  Plaintext packets are sent and received on the
>| protected network interfaces, and a mix of plaintext and IPsec packets
>| are sent and received on the uplinks.  Suppose that a separate SPD is to
>| be used for each protected network interface.  Consider the case of
>| packets arriving from the protected network interfaces.  The SPD to be
>| applied needs to be selected based on the interface the packet srrived
>| _from_, not the interface the packet (either bypassed, or encapsulated
>| in IPsec) will be forwarded _to_.
>
>Steve can correct me if I've misinterpreted the model, but what you are
>saying here doesn't square with my understanding of the model. Here is
>how I understand it (and have implemented it in a previous life):
>
>~                   +-----------------+
>~                   | packet from an  |
>~                   |  application    |
>~                   +-------+---------+
>~                           | outgoing
>~                           V packet
>~            +----------------------------------------------+
>~            |      packet forwarding (routing) module      |
>~            |
>~            |  +-->----->------+
>~            +-/-----------------\---------------------------+
>~   incoming  /                   \ outgoing
>~   packet   /                     | packet
>~      +----------------+     +----V-----------+      +----------------+
>~      |   Interface 0  |     |   Interface 1  |      |   Interface n  |
>~      |    +-------+   |     |    +-------+   |      |    +-------+   |
>~      |    | SPD 0 |   |     |    | SPD 1 |   | ...  |    | SPD n |   |
>~      |    +-------+   |     |    +-------+   |      |    +-------+   |
>~      +----------------+     +----------------+      +----------------+
>~        ^
>_______/
>incoming
>packet1
>
>
>Note that these interfaces may be physical *or* logical. In this model,
>packets coming in from the network are first evaluated according to the
>policies of the ingress interface. Assuming the packet is allowed to
>continue (i.e. it is not discarded), the next step is to perform a
>forwarding lookup. If the packet is locally destined, it will be passed
>up to the appropriate internal consumer. If not, the egress interface
>must be determined according to the forwarding lookup (which will be
>longest prefix match), and then the policy of the egress interface will
>be examined to determine what to do next. In the case of internally
>generated (outbound) packets, the local application hands them to the
>stack, which first does a forwarding lookup to determine the egress
>interface, and then the policies of that interface are applied.
>
>Why doesn't this model permit the processing you want?
>
>Scott



From owner-ipsec@lists.tislabs.com  Fri Aug  1 14:25:57 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA03201
	for <ipsec-archive@lists.ietf.org>; Fri, 1 Aug 2003 14:25:56 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id LAA22518
	Fri, 1 Aug 2003 11:34:31 -0400 (EDT)
Message-ID: <3F2A89D7.20709@airespace.com>
Date: Fri, 01 Aug 2003 08:40:07 -0700
From: "Scott G. Kelly" <scott@airespace.com>
Organization: Airespace
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.2) Gecko/20030208 Netscape/7.02
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Mark Duffy <mduffy@quarrytech.com>
CC: Stephen Kent <kent@bbn.com>, ipsec@lists.tislabs.com
Subject: Re: revised IPsec processing model
References: <5.2.0.9.0.20030724113200.01feed80@email> <5.2.0.9.0.20030724113200.01feed80@email> <5.2.0.9.0.20030731120622.02631138@email> <5.2.0.9.0.20030801103014.01ffe018@email>
X-Enigmail-Version: 0.75.1.0
X-Enigmail-Supports: pgp-inline, pgp-mime
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-OriginalArrivalTime: 01 Aug 2003 15:41:17.0086 (UTC) FILETIME=[58B5ABE0:01C35843]
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Mark,

I'm doing my best to try to understand, but email is a difficult medium
for conveying complex ideas, so please bear with me while I try to sort
this out. Given the following picture

~               +---------------+
~               |               |             +------+
~ [host a]------|[if0]     [if1]|_____________|      |
~               |  |         |  |_____________| SGW2 |---[host b]
~               |[spd0]   [spd1]| tunnel      |      |
~               +---------------+             +------+

I think you're saying that you want the policy rule causing traffic
from host a to host b to be tunneled to live in spd0 instead of spd1. Is
this right?

Scott


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Using GnuPG with Netscape - http://enigmail.mozdev.org

iD8DBQE/KonXMtIdhO0pgN4RAnA/AJ4iDlbPPLEHVCl5WFfyfzSfKV1TfgCfQ6IF
Pf/TcgOJIZbCPNGciio093E=
=g14L
-----END PGP SIGNATURE-----



From owner-ipsec@lists.tislabs.com  Fri Aug  1 17:34:03 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA13106
	for <ipsec-archive@lists.ietf.org>; Fri, 1 Aug 2003 17:34:03 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id OAA23497
	Fri, 1 Aug 2003 14:27:47 -0400 (EDT)
Message-Id: <200308011523.LAA26422@ietf.org>
Mime-Version: 1.0
Content-Type: Multipart/Mixed; Boundary="NextPart"
To: IETF-Announce: ;
Cc: ipsec@lists.tislabs.com
From: Internet-Drafts@ietf.org
Reply-to: Internet-Drafts@ietf.org
Subject: I-D ACTION:draft-ietf-ipsec-ui-suites-03.txt
Date: Fri, 01 Aug 2003 11:23:54 -0400
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

--NextPart

A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the IP Security Protocol Working Group of the IETF.

	Title		: Cryptographic Suites for IPsec
	Author(s)	: P. Hoffman
	Filename	: draft-ietf-ipsec-ui-suites-03.txt
	Pages		: 5
	Date		: 2003-7-31
	
The IPsec, IKE, and IKEv2 protocols rely on security algorithms to
provide privacy and authentication between the initiator and responder.
There are many such algorithms available, and two IPsec systems cannot
interoperate unless they are using the same algorithms. This document
specifies optional suites of algorithms and attributes that can be used
to simplify the administration of IPsec when used in manual keying mode,
with IKE version 1, or with IKEv2.

A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-ietf-ipsec-ui-suites-03.txt

To remove yourself from the IETF Announcement list, send a message to 
ietf-announce-request with the word unsubscribe in the body of the message.

Internet-Drafts are also available by anonymous FTP. Login with the username
"anonymous" and a password of your e-mail address. After logging in,
type "cd internet-drafts" and then
	"get draft-ietf-ipsec-ui-suites-03.txt".

A list of Internet-Drafts directories can be found in
http://www.ietf.org/shadow.html 
or ftp://ftp.ietf.org/ietf/1shadow-sites.txt


Internet-Drafts can also be obtained by e-mail.

Send a message to:
	mailserv@ietf.org.
In the body type:
	"FILE /internet-drafts/draft-ietf-ipsec-ui-suites-03.txt".
	
NOTE:	The mail server at ietf.org can return the document in
	MIME-encoded form by using the "mpack" utility.  To use this
	feature, insert the command "ENCODING mime" before the "FILE"
	command.  To decode the response(s), you will need "munpack" or
	a MIME-compliant mail reader.  Different MIME-compliant mail readers
	exhibit different behavior, especially when dealing with
	"multipart" MIME messages (i.e. documents which have been split
	up into multiple messages), so check your local documentation on
	how to manipulate these messages.
		
		
Below is the data which will enable a MIME compliant mail reader
implementation to automatically retrieve the ASCII version of the
Internet-Draft.

--NextPart
Content-Type: Multipart/Alternative; Boundary="OtherAccess"

--OtherAccess
Content-Type: Message/External-body;
	access-type="mail-server";
	server="mailserv@ietf.org"

Content-Type: text/plain
Content-ID:	<2003-8-1114301.I-D@ietf.org>

ENCODING mime
FILE /internet-drafts/draft-ietf-ipsec-ui-suites-03.txt

--OtherAccess
Content-Type: Message/External-body;
	name="draft-ietf-ipsec-ui-suites-03.txt";
	site="ftp.ietf.org";
	access-type="anon-ftp";
	directory="internet-drafts"

Content-Type: text/plain
Content-ID:	<2003-8-1114301.I-D@ietf.org>

--OtherAccess--

--NextPart--



From owner-ipsec@lists.tislabs.com  Fri Aug  1 18:25:58 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id SAA15812
	for <ipsec-archive@lists.ietf.org>; Fri, 1 Aug 2003 18:25:56 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id PAA23727
	Fri, 1 Aug 2003 15:30:14 -0400 (EDT)
From: Charlie_Kaufman@notesdev.ibm.com
Subject: Proposed resolution to Issue 1
To: ipsec@lists.tislabs.com
X-Mailer: Lotus Notes Build V601_12032002NP December 03, 2002
Message-ID: <OF6516CEB0.497058C6-ON85256D75.0069282B-85256D75.006954C5@notesdev.ibm.com>
Date: Fri, 1 Aug 2003 15:10:31 -0400
X-MIMETrack: Serialize by Router on Ace/Iris(Release 6.0.2CF2|July 23, 2003) at 08/01/2003
 03:35:45 PM
MIME-Version: 1.0
Content-type: text/plain; charset=US-ASCII
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk





(apologies if this is a duplicate. I sent this two days ago and it never
came back to me from the list).

      --Charlie

Issue 1 notes that it is not clear when a newly created SA can be used. I
propose adding the following text to the end of Section 2.8:

There are timing windows - particularly in the presence of lost packets -
where endpoints may not agree on the state of an SA. The responder to
a CREATE_CHILD_SA MUST be prepared to accept messages on an SA before
sending its response to the creation request, so there is no ambiguity
for the initiator. The initiator may begin sending on an SA as soon as
it processes the response. The initiator, however, cannot receive on a
newly created SA until it receives and processes the response to its
CREATE_CHILD_SA request. How, then, is the responder to know when it is
OK to send on the newly created SA?
.sp
From a technical correctness and interoperability perspective, the
responder MAY begin sending on an SA as soon as it sends its response
to the CREATE_CHILD_SA request. In some situations, however, this could
result in packets unnecessarily being dropped, so an implementation MAY
want to defer such sending.
.sp
The responder can be assured that the initiator is prepared to receive
messages on an SA if either (1) it has received a cryptographically valid
message on the new SA, or (2) the new SA rekeys an existing SA and it
receives an IKE request to close the replaced SA. When rekeying an SA,
the responder SHOULD continue to send requests on the old SA until it
one of those events occurs. When establishing a new SA, the responder
MAY defer sending messages on a new SA until either it receives one or
a timeout has occurred. If an initiator receives a message on an SA for
which it has not received a response to its CREATE_CHILD_SA request, it
SHOULD interpret that as a likely packet loss and retransmit the
CREATE_CHILD_SA request. An initiator MAY send a dummy message on a newly
created SA if it has no messages queued in order to assure the responder
that the initiator is ready to receive
messages.



From owner-ipsec@lists.tislabs.com  Fri Aug  1 19:29:15 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id TAA17076
	for <ipsec-archive@lists.ietf.org>; Fri, 1 Aug 2003 19:29:15 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id QAA24117
	Fri, 1 Aug 2003 16:43:05 -0400 (EDT)
Mime-Version: 1.0
X-Sender: kent@po2.bbn.com
Message-Id: <p05210613bb5080eb0e9d@[128.89.88.34]>
In-Reply-To: <5.2.0.9.0.20030801095032.01ffc870@email>
References: <5.2.0.9.0.20030731120622.02631138@email>
 <5.2.0.9.0.20030724113200.01feed80@email>
 <5.2.0.9.0.20030724113200.01feed80@email>
 <5.2.0.9.0.20030731120622.02631138@email>
 <5.2.0.9.0.20030801095032.01ffc870@email>
Date: Fri, 1 Aug 2003 16:49:58 -0400
To: Mark Duffy <mduffy@quarrytech.com>
From: Stephen Kent <kent@bbn.com>
Subject: Re: revised IPsec processing model
Cc: ipsec@lists.tislabs.com
Content-Type: text/plain; charset="us-ascii" ; format="flowed"
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

At 10:29 -0400 8/1/03, Mark Duffy wrote:
>At 03:22 PM 7/31/2003 -0400, Stephen Kent wrote:
>>Mark,
>>
>>I've trimmed the message to keep it readable, since I think we 
>>agree on the facts, just not what to do as a result :-).
>>
>>So we agree that there is a way to achieve source-based SPD 
>>selection, and to provide independent forwarding, but you don't 
>>think the mechanism is not elegant.
>
>Well of course a device can select an SPD in any way it wants; the 
>issue here is about whether the IPsec standard sanctions it or not. 
>With the proposed model of 2401bis it might be debatable whether 
>certain behaviors comply, as it would depend on how liberal one is 
>in defining "interface" and "forwarding function".  If 2401bis makes 
>it clear that these terms may be widely construed, then I agree that 
>the proposed model is flexible enough at least for the devices I am 
>envisioning.

I agree that we should make sure the text does not convey the wrong impression.

>>   If I understand your suggestion, though, you would remove all 
>>specification of this functionality, and I don't think we have a 
>>useful spec if we do that.  Did I misunderstand what you were 
>>suggesting here?
>
>I think maybe you did.  My suggestion in a nutshell is not to remove 
>specification but to modify it thus:
>
>  1.  Say that the SPD is selected by an "SPD selection function" 
>rather than by a "forwarding function".  If we are considering that 
>the "forwarding function" may be arbitrary anyway, this wording 
>change seems to me to be no more than being honest with ourselves.

the reason for adding the lookup was to provide a forwarding 
function, i.e., selection of the output interface for the simple 
case, or the next (virtual) interface in fancier cases. So I do not 
think it appropriate to consider renaming the function to say that it 
is for SPD lookup. The SPD is selected because it is bound to an 
interface not the other way around.


>  2.  Explicitly recognize that the forwarding function that chooses 
>an outgoing IP interface (i.e. for bypassed packets and for packets 
>that have just been encrypted or just been decrypted) need not be 
>the same function as the SPD selection function.

As I said above, the whole point of the lookup was to select the 
interface, and the SPD has always been bound to an interface. I'm not 
sure why you want to reverse the meaning here.

>The important *results* of those two points are that: outgoing 
>packets A and B may be treated under different SPDs but be sent out 
>the same IP interface, and outbound packets C and D may be treated 
>under the same SPD but be sent out different interfaces.  (And 
>similarly for inbound packets.)

yes, the can be sent to the same interface, after IPsec processing, 
using the second lookup.

>>I agree that one could manage to configure SPDs so that nested SA 
>>could result.   But, it's probably hard for most folks to do this, 
>>and without explicit, support in IKE, if this fails the results 
>>will be hard to diagnose. Also, because one would have to effect 
>>two IKE negotiations to create both sets of SAs, there are timing 
>>issues that could arise that also would result in possibly 
>>confusing behavior.
>>
>>It's easy to have 2401bis not say that nesting of SAs is 
>>prohibited. It's harder to say that that nesting MUST or MAY be 
>>supported, and how. What do you think should be said here? My 
>>concern, in part, is that if we say nothing, then users don't know 
>>what to expect re functionality, nor do they have any sense of 
>>whether two implementations by two different vendors will support 
>>this sort of nesting. That's not a good thing for a standard.
>
>I would propose to say nothing about the nesting of SAs.  I agree 
>with you that the standard must be clear on how implementations 
>behave, but I think the issue here is one level above the IPsec 
>protocol itself, dealing instead with multiple applications of the 
>protocol.  Consider placing 2 security gateways in "series" so that 
>the AH or ESP packets emitted by the first are considered as 
>plaintext or subscriber packets by the second, and nested into 
>another SA.  Each SG is just doing a vanilla thing but the network 
>administrator has created nested SAs.  What difference should it 
>make to the standard whether someone combines both those SGs into 
>one device?

The difference arises at the device where the two SAs must be 
coordinated, else inbound packets drop on the floor, or outbound 
packets fail to be protected as desired. I can be persuaded that we 
ought to say nothing about requiring support for nesting, but since 
we used to mandate such support, we cannot just be silent on the 
issue. Also, since I think a good standard lets users know what they 
can and cannot expect to achieve when communicating between 
implementations produced by different vendors, what do you propose 
that we say in this context?

Steve


From owner-ipsec@lists.tislabs.com  Fri Aug  1 20:08:40 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id UAA18183
	for <ipsec-archive@lists.ietf.org>; Fri, 1 Aug 2003 20:08:40 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id RAA24387
	Fri, 1 Aug 2003 17:29:04 -0400 (EDT)
Mime-Version: 1.0
X-Sender: kent@po2.bbn.com
Message-Id: <p05210614bb50854613bb@[128.89.88.34]>
In-Reply-To: <3F2999BF.3020309@airespace.com>
References: <5.2.0.9.0.20030724113200.01feed80@email>
 <5.2.0.9.0.20030724113200.01feed80@email>
 <5.2.0.9.0.20030731120622.02631138@email> <3F2999BF.3020309@airespace.com>
Date: Fri, 1 Aug 2003 17:33:21 -0400
To: "Scott G. Kelly" <scott@airespace.com>
From: Stephen Kent <kent@bbn.com>
Subject: Re: revised IPsec processing model
Cc: ipsec@lists.tislabs.com
Content-Type: text/plain; charset="us-ascii" ; format="flowed"
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

Scott,

Thanks for trying to construct the diagram. It's something I need to 
do for the ID, but have not done yet.

There are some enhancements I would make to the diagram.

Outbound

	1. for outbound traffic *from the application or the 
protected net) the interface lookup (forwarding function) is the 
first step
	2. then the packet goes to the SPD cache for the selected interface
	3.after processing (bypass or IPsec), there is a second 
lookup, to allow for looping, or for folks like Mark who want to 
separate SPD selection from the output (or next) interface selection
	4. either the packet exits now, or it goes back for another pass



Inbound
	1. demux traffic into one of 3 classes: IKE, IPsec (AH/ESP) 
AND addressed to this device, or NOT AH/ESP
	2a. if IKE, then vector to the IKE processor
	2b. if AH/ESP and for us, then lookup in the SAD (only one 
per implementation) and process accordingly
	2c. if not AH/ESP for us, or just not for us, then lookup in 
inbound bypass cache
	3. for the 2b case, after AH/ESP processing, the inbound SPD 
check is done based on SAD data, not a lookup in the SPD. then, for 
those internal looping fans, one can add yet another lookup to decide 
what interface this is delivered to, e.g., the application, the 
protected LAN, or back to step 1.


Steve


From owner-ipsec@lists.tislabs.com  Sat Aug  2 17:37:01 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA22565
	for <ipsec-archive@lists.ietf.org>; Sat, 2 Aug 2003 17:37:01 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id OAA28314
	Sat, 2 Aug 2003 14:51:14 -0400 (EDT)
Message-Id: <5.2.0.9.0.20030802143907.01e64b18@localhost>
X-Sender: mduffy@localhost
X-Mailer: QUALCOMM Windows Eudora Version 5.2.0.9
Date: Sat, 02 Aug 2003 14:55:54 -0400
To: Stephen Kent <kent@bbn.com>
From: Mark Duffy <mduffy@quarrytech.com>
Subject: Re: revised IPsec processing model
Cc: ipsec@lists.tislabs.com
In-Reply-To: <p05210613bb5080eb0e9d@[128.89.88.34]>
References: <5.2.0.9.0.20030801095032.01ffc870@email>
 <5.2.0.9.0.20030731120622.02631138@email>
 <5.2.0.9.0.20030724113200.01feed80@email>
 <5.2.0.9.0.20030724113200.01feed80@email>
 <5.2.0.9.0.20030731120622.02631138@email>
 <5.2.0.9.0.20030801095032.01ffc870@email>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

At 04:49 PM 8/1/2003 -0400, Stephen Kent wrote:
[snip]
>>>   If I understand your suggestion, though, you would remove all 
>>> specification of this functionality, and I don't think we have a useful 
>>> spec if we do that.  Did I misunderstand what you were suggesting here?
>>
>>I think maybe you did.  My suggestion in a nutshell is not to remove 
>>specification but to modify it thus:
>>
>>  1.  Say that the SPD is selected by an "SPD selection function" rather 
>> than by a "forwarding function".  If we are considering that the 
>> "forwarding function" may be arbitrary anyway, this wording change seems 
>> to me to be no more than being honest with ourselves.
>
>the reason for adding the lookup was to provide a forwarding function, 
>i.e., selection of the output interface for the simple case, or the next 
>(virtual) interface in fancier cases. So I do not think it appropriate to 
>consider renaming the function to say that it is for SPD lookup. The SPD 
>is selected because it is bound to an interface not the other way around.
>
>
>>  2.  Explicitly recognize that the forwarding function that chooses an 
>> outgoing IP interface (i.e. for bypassed packets and for packets that 
>> have just been encrypted or just been decrypted) need not be the same 
>> function as the SPD selection function.
>
>As I said above, the whole point of the lookup was to select the 
>interface, and the SPD has always been bound to an interface. I'm not sure 
>why you want to reverse the meaning here.

Yes the SPD has always been bound to an interface, but that doesn't mean it 
must always be so, and the model would be more flexible if it were not so 
required.  However, maybe this is just too big a change to ask.

[snip]


>>>I agree that one could manage to configure SPDs so that nested SA could 
>>>result.   But, it's probably hard for most folks to do this, and without 
>>>explicit, support in IKE, if this fails the results will be hard to 
>>>diagnose. Also, because one would have to effect two IKE negotiations to 
>>>create both sets of SAs, there are timing issues that could arise that 
>>>also would result in possibly confusing behavior.
>>>
>>>It's easy to have 2401bis not say that nesting of SAs is prohibited. 
>>>It's harder to say that that nesting MUST or MAY be supported, and how. 
>>>What do you think should be said here? My concern, in part, is that if 
>>>we say nothing, then users don't know what to expect re functionality, 
>>>nor do they have any sense of whether two implementations by two 
>>>different vendors will support this sort of nesting. That's not a good 
>>>thing for a standard.
>>
>>I would propose to say nothing about the nesting of SAs.  I agree with 
>>you that the standard must be clear on how implementations behave, but I 
>>think the issue here is one level above the IPsec protocol itself, 
>>dealing instead with multiple applications of the protocol.  Consider 
>>placing 2 security gateways in "series" so that the AH or ESP packets 
>>emitted by the first are considered as plaintext or subscriber packets by 
>>the second, and nested into another SA.  Each SG is just doing a vanilla 
>>thing but the network administrator has created nested SAs.  What 
>>difference should it make to the standard whether someone combines both 
>>those SGs into one device?
>
>The difference arises at the device where the two SAs must be coordinated, 
>else inbound packets drop on the floor, or outbound packets fail to be 
>protected as desired. I can be persuaded that we ought to say nothing 
>about requiring support for nesting, but since we used to mandate such 
>support, we cannot just be silent on the issue. Also, since I think a good 
>standard lets users know what they can and cannot expect to achieve when 
>communicating between implementations produced by different vendors, what 
>do you propose that we say in this context?

No matter what the standard says, it will be possible for someone to apply 
the standard twice, or n times, in succession to a packet and the 
probability approaches 1 that someone will do so.

I'd propose that the standard should say that the requirement to support 
nesting (as it existed in 2401) has been removed.  And I would just stop 
there.  If folks really feel it is necessary to say more, I would add a 
statement acknowledging that it is possible to apply the standard 
iteratively to a given packet and that this will have the effect of 
"nesting" SAs.

--Mark



From owner-ipsec@lists.tislabs.com  Sat Aug  2 18:26:11 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA22564
	for <ipsec-archive@lists.ietf.org>; Sat, 2 Aug 2003 17:37:01 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id OAA28315
	Sat, 2 Aug 2003 14:51:14 -0400 (EDT)
Message-Id: <5.2.0.9.0.20030802142744.01e64f08@localhost>
X-Sender: mduffy@localhost
X-Mailer: QUALCOMM Windows Eudora Version 5.2.0.9
Date: Sat, 02 Aug 2003 14:31:17 -0400
To: "Scott G. Kelly" <scott@airespace.com>
From: Mark Duffy <mduffy@quarrytech.com>
Subject: Re: revised IPsec processing model
Cc: Stephen Kent <kent@bbn.com>, ipsec@lists.tislabs.com
In-Reply-To: <3F2A89D7.20709@airespace.com>
References: <5.2.0.9.0.20030724113200.01feed80@email>
 <5.2.0.9.0.20030724113200.01feed80@email>
 <5.2.0.9.0.20030731120622.02631138@email>
 <5.2.0.9.0.20030801103014.01ffe018@email>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

Yes Scott, that is exactly right.
But again, this was just an example of one situation where one would want 
to decouple the choice of SPD from the choice of exit interface.

--Mark

At 08:40 AM 8/1/2003 -0700, Scott G. Kelly wrote:
>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
>Hi Mark,
>
>I'm doing my best to try to understand, but email is a difficult medium
>for conveying complex ideas, so please bear with me while I try to sort
>this out. Given the following picture
>
>~               +---------------+
>~               |               |             +------+
>~ [host a]------|[if0]     [if1]|_____________|      |
>~               |  |         |  |_____________| SGW2 |---[host b]
>~               |[spd0]   [spd1]| tunnel      |      |
>~               +---------------+             +------+
>
>I think you're saying that you want the policy rule causing traffic
>from host a to host b to be tunneled to live in spd0 instead of spd1. Is
>this right?
>
>Scott



From owner-ipsec@lists.tislabs.com  Mon Aug  4 14:29:20 2003
Received: from lists.tislabs.com (portal.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id OAA06946
	for <ipsec-archive@lists.ietf.org>; Mon, 4 Aug 2003 14:29:20 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id LAA05410
	Mon, 4 Aug 2003 11:12:44 -0400 (EDT)
To: ipsec@lists.tislabs.com
Subject: MS IPR on ikev2-08
Mime-Version: 1.0 (generated by tm-edit 1.8)
Content-Type: text/plain; charset=US-ASCII
Date: Mon, 04 Aug 2003 11:19:50 -0400
Message-ID: <17289.1060010390@marajade.sandelman.ottawa.on.ca>
From: Michael Richardson <mcr@sandelman.ottawa.on.ca>
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

-----BEGIN PGP SIGNED MESSAGE-----


http://www.ietf.org/ietf/IPR/microsoft-ipr-draft-ietf-ipsec-ikev2.txt

claims something. I can't figure out what it is. Section 7 says nothing
about the specifics either. I thought that IDs were supposed to list what
the specific area was, but not who was claiming things.

A royalty-free, RAND license that is *field specific*, is generally believed
to be incompatible with the GPL.

]      Out and about in Ottawa.    hmmm... beer.                |  firewalls  [
]   Michael Richardson, Sandelman Software Works, Ottawa, ON    |net architect[
] mcr@sandelman.ottawa.on.ca http://www.sandelman.ottawa.on.ca/ |device driver[
] panic("Just another Debian/notebook using, kernel hacking, security guy");  [
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Finger me for keys - custom hacks make this fully PGP2 compat

iQCVAwUBPy55lIqHRg3pndX9AQFLeQP/fhB6oY1wU9nYsUog1WXJSlskiR4mSkHi
nEpjQB9iSNCRckNvNXpU5nnDQtxvRis0Wp+oUGha7WDvP4wP+oDlCGsFJqVimvbp
dmgR3csFL08AfNjv7wBtkt68tXHpFbU5mj2nU/nBK5B0YP4kqcEPCCnbRNvtbGH7
mWTyZr7SgXM=
=PuE1
-----END PGP SIGNATURE-----


From owner-ipsec@lists.tislabs.com  Mon Aug  4 15:15:48 2003
Received: from lists.tislabs.com (portal.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id PAA09647
	for <ipsec-archive@lists.ietf.org>; Mon, 4 Aug 2003 15:15:47 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id MAA05578
	Mon, 4 Aug 2003 12:24:37 -0400 (EDT)
Message-ID: <005101c35aa5$d6cf0120$554cc03f@netlock.com>
From: "Neal Taylor" <ntaylor@vitalsoft.com>
To: <ipsec@lists.tislabs.com>, <Charlie_Kaufman@notesdev.ibm.com>
References: <OF6516CEB0.497058C6-ON85256D75.0069282B-85256D75.006954C5@notesdev.ibm.com>
Subject: Re: Proposed resolution to Issue 1
Date: Mon, 4 Aug 2003 09:31:19 -0700
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk
Content-Transfer-Encoding: 7bit

Charlie:

<snip>

> want to defer such sending.
> .sp
> The responder can be assured that the initiator is prepared to receive
> messages on an SA if either (1) it has received a cryptographically valid
> message on the new SA, or (2) the new SA rekeys an existing SA and it
> receives an IKE request to close the replaced SA.

Case (2) may happen for other reasons and so is not a reliable indicator
that the initiator is ready to receive. These other reasons include the
expiration of the SA lifetime during the rekeying process which could be the
result of a poorly configured system or unexpectedly high data rates.
_____________________________
Neal Taylor
Netlock Technologies
_____________________________




From owner-ipsec@lists.tislabs.com  Mon Aug  4 16:54:09 2003
Received: from lists.tislabs.com (portal.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id QAA11753
	for <ipsec-archive@lists.ietf.org>; Mon, 4 Aug 2003 16:54:07 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id OAA05978
	Mon, 4 Aug 2003 14:06:21 -0400 (EDT)
Mime-Version: 1.0
X-Sender: kent@po2.bbn.com
Message-Id: <p05210609bb54513ba1df@[128.89.88.34]>
In-Reply-To: <5.2.0.9.0.20030802143907.01e64b18@localhost>
References: <5.2.0.9.0.20030801095032.01ffc870@email>
 <5.2.0.9.0.20030731120622.02631138@email>
 <5.2.0.9.0.20030724113200.01feed80@email>
 <5.2.0.9.0.20030724113200.01feed80@email>
 <5.2.0.9.0.20030731120622.02631138@email>
 <5.2.0.9.0.20030801095032.01ffc870@email>
 <5.2.0.9.0.20030802143907.01e64b18@localhost>
Date: Mon, 4 Aug 2003 14:11:23 -0400
To: Mark Duffy <mduffy@quarrytech.com>
From: Stephen Kent <kent@bbn.com>
Subject: Re: revised IPsec processing model
Cc: ipsec@lists.tislabs.com
Content-Type: text/plain; charset="us-ascii" ; format="flowed"
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

Mark,

>Yes the SPD has always been bound to an interface, but that doesn't 
>mean it must always be so, and the model would be more flexible if 
>it were not so required.  However, maybe this is just too big a 
>change to ask.

If we want to consider that change, we should have folks on both side 
of the debate comment.

>No matter what the standard says, it will be possible for someone to 
>apply the standard twice, or n times, in succession to a packet and 
>the probability approaches 1 that someone will do so.

agreed, but non-complaint behavior should be something we can 
objectively identify. a standard for which one cannot describe a 
non-compliant implementation is not a useful standard (and, or 
course, the conevrse is true too!)

>I'd propose that the standard should say that the requirement to 
>support nesting (as it existed in 2401) has been removed.  And I 
>would just stop there.  If folks really feel it is necessary to say 
>more, I would add a statement acknowledging that it is possible to 
>apply the standard iteratively to a given packet and that this will 
>have the effect of "nesting" SAs.

I'm happy to say that we have removed the requirement re nesting, and 
also say that one can offer the feature via appropriate configuration 
of SPDs and forwarding tables within an implementation, but that 
there is no IKE support for this and thus care must be exercised in 
enabling this capability.

Steve


From owner-ipsec@lists.tislabs.com  Mon Aug  4 17:07:53 2003
Received: from lists.tislabs.com (portal.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id RAA12143
	for <ipsec-archive@lists.ietf.org>; Mon, 4 Aug 2003 17:07:53 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id OAA06138
	Mon, 4 Aug 2003 14:39:51 -0400 (EDT)
Message-ID: <3F2EAA0F.7010707@americasm06.nt.com>
Date: Mon, 04 Aug 2003 14:46:39 -0400
X-Sybari-Space: 00000000 00000000 00000000 00000000
From: "Lakshminath Dondeti" <ldondeti@nortelnetworks.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: ipsec@lists.tislabs.com
Subject: transform type 5 in ui-suites-03
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk
Content-Transfer-Encoding: 7bit

Hi,

Why is transform type 5 (Extended Sequence Numbers) excluded from Suite 
definitions in the ui-suites I-D? 

IKEv2-08 says "If Transform Type 5 is not included in a proposal, use of 
Extended Sequence Numbers is assumed."   Thus a VPN-A proposal needs to 
send ESN=0 as part of the transforms.

Thanks in advance for any insight into this.

regards,
Lakshminath



From owner-ipsec@lists.tislabs.com  Mon Aug  4 19:04:10 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id TAA15105
	for <ipsec-archive@lists.ietf.org>; Mon, 4 Aug 2003 19:04:10 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id QAA06547
	Mon, 4 Aug 2003 16:23:05 -0400 (EDT)
Message-ID: <3F2EC241.4080902@isi.edu>
Date: Mon, 04 Aug 2003 13:29:53 -0700
From: Joe Touch <touch@ISI.EDU>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4b) Gecko/20030507
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Stephen Kent <kent@bbn.com>
CC: Ricky Charlet <rcharlet@speakeasy.net>,
        ipsec mailingList <ipsec@lists.tislabs.com>
Subject: Re: revised IPsec processing model: Q: VID and forwarding function
References: <682DFC4C-BA03-11D7-B9FF-00039349B0FC@speakeasy.net> <p05210607bb41b765706a@[128.89.89.40]>
In-Reply-To: <p05210607bb41b765706a@[128.89.89.40]>
X-Enigmail-Version: 0.74.1.0
X-Enigmail-Supports: pgp-inline, pgp-mime
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk
Content-Transfer-Encoding: 7bit

Stephen Kent wrote:
> At 9:09 -0700 7/19/03, Ricky Charlet wrote:
> 
>> Hello,
>>
>>     I'm trying to understand the motivations for VIDs and explicit 
>> forwarding function separation. Currently, I am guessing (based on 
>> your first paragraph) that these new features enable PPVPNs and/or 
>> overlay networks. If so, how so? If not, what new functionality is 
>> enabled by these features?
> 
> 
> There was a long series of off-list and post-WG meetings discussions 
> involving folks had expressed concern over how to modify IPsec 
> processing to better accommodate PPVPNs and overlay nets. The grouops 
> included  Mark Duffy, Greg Lebovitz, and Joe Touch I developed this 
> model and vetted it with this group some months ago.

FYI (all):

At best, only the basic concept of doing a forwarding lookup was 
presented during a brief conversation at the Atlanta IETF; I cannot 
speak for the others, but this thread was the first I've seen of this 
proposal, and we certainly were not involved in developing it, or 
participating in a "long series" of meetings about it.

I would not consider it 'vetted', but rather proposed at best. Even at 
that time Lars Eggert and I expressed significant concerns about this 
proposal.

A brief summary of some of those concerns, to the extent that we could 
address them absent a detailed proposal, was discussed in section 4.1.3 
as "Alternative 3" of the final update of our ID on the issue of support 
for dynamic routing in IPsec (draft-touch-ipsec-vpn-05.txt).

Joe



From owner-ipsec@lists.tislabs.com  Mon Aug  4 19:09:57 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id TAA15198
	for <ipsec-archive@lists.ietf.org>; Mon, 4 Aug 2003 19:09:56 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id QAA06630
	Mon, 4 Aug 2003 16:42:36 -0400 (EDT)
Mime-Version: 1.0
X-Sender: kent@po2.bbn.com
Message-Id: <p05210601bb54753d4745@[128.89.88.34]>
In-Reply-To: <3F2EC241.4080902@isi.edu>
References: <682DFC4C-BA03-11D7-B9FF-00039349B0FC@speakeasy.net>
 <p05210607bb41b765706a@[128.89.89.40]> <3F2EC241.4080902@isi.edu>
Date: Mon, 4 Aug 2003 16:48:47 -0400
To: Joe Touch <touch@ISI.EDU>
From: Stephen Kent <kent@bbn.com>
Subject: Re: revised IPsec processing model: Q: VID and forwarding function
Cc: Ricky Charlet <rcharlet@speakeasy.net>,
        ipsec mailingList <ipsec@lists.tislabs.com>
Content-Type: text/plain; charset="us-ascii" ; format="flowed"
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

At 13:29 -0700 8/4/03, Joe Touch wrote:
>Stephen Kent wrote:
>>At 9:09 -0700 7/19/03, Ricky Charlet wrote:
>>
>>>Hello,
>>>
>>>     I'm trying to understand the motivations for VIDs and explicit 
>>>forwarding function separation. Currently, I am guessing (based on 
>>>your first paragraph) that these new features enable PPVPNs and/or 
>>>overlay networks. If so, how so? If not, what new functionality is 
>>>enabled by these features?
>>
>>
>>There was a long series of off-list and post-WG meetings 
>>discussions involving folks had expressed concern over how to 
>>modify IPsec processing to better accommodate PPVPNs and overlay 
>>nets. The grouops included  Mark Duffy, Greg Lebovitz, and Joe 
>>Touch I developed this model and vetted it with this group some 
>>months ago.
>
>FYI (all):
>
>At best, only the basic concept of doing a forwarding lookup was 
>presented during a brief conversation at the Atlanta IETF; I cannot 
>speak for the others, but this thread was the first I've seen of 
>this proposal, and we certainly were not involved in developing it, 
>or participating in a "long series" of meetings about it.

Joe, sorry for the confusion caused by a misplaced "s" in the above 
text. My message was supposed to refer to "post-WG meeting 
discussions."  I think others who read the message interpreted my 
typo as I had intended, and as restated, it is accurate. I did not 
mean to suggest that there were a set of post-WG meetings among the 
interested parties.  We did, however, exchange a number of e-mail 
messages on the topic.

>I would not consider it 'vetted', but rather proposed at best. Even 
>at that time Lars Eggert and I expressed significant concerns about 
>this proposal.
>
>A brief summary of some of those concerns, to the extent that we 
>could address them absent a detailed proposal, was discussed in 
>section 4.1.3 as "Alternative 3" of the final update of our ID on 
>the issue of support for dynamic routing in IPsec 
>(draft-touch-ipsec-vpn-05.txt).

My view is that the majority of the participants in the discussions 
found it an acceptable model, but you and Lars did not.  rough 
consensus?

Steve


From owner-ipsec@lists.tislabs.com  Mon Aug  4 19:15:00 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id TAA15249
	for <ipsec-archive@lists.ietf.org>; Mon, 4 Aug 2003 19:14:59 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id QAA06664
	Mon, 4 Aug 2003 16:49:04 -0400 (EDT)
Message-ID: <3F2EC870.4010102@isi.edu>
Date: Mon, 04 Aug 2003 13:56:16 -0700
From: Joe Touch <touch@ISI.EDU>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030529
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Stephen Kent <kent@bbn.com>
CC: Ricky Charlet <rcharlet@speakeasy.net>,
        ipsec mailingList <ipsec@lists.tislabs.com>
Subject: Re: revised IPsec processing model: Q: VID and forwarding function
References: <682DFC4C-BA03-11D7-B9FF-00039349B0FC@speakeasy.net> <p05210607bb41b765706a@[128.89.89.40]> <3F2EC241.4080902@isi.edu> <p05210601bb54753d4745@[128.89.88.34]>
In-Reply-To: <p05210601bb54753d4745@[128.89.88.34]>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk
Content-Transfer-Encoding: 7bit



Stephen Kent wrote:
> At 13:29 -0700 8/4/03, Joe Touch wrote:
> 
>> Stephen Kent wrote:
>>
>>> At 9:09 -0700 7/19/03, Ricky Charlet wrote:
>>>
>>>> Hello,
>>>>
>>>>     I'm trying to understand the motivations for VIDs and explicit 
>>>> forwarding function separation. Currently, I am guessing (based on 
>>>> your first paragraph) that these new features enable PPVPNs and/or 
>>>> overlay networks. If so, how so? If not, what new functionality is 
>>>> enabled by these features?
>>>
>>>
>>>
>>> There was a long series of off-list and post-WG meetings discussions 
>>> involving folks had expressed concern over how to modify IPsec 
>>> processing to better accommodate PPVPNs and overlay nets. The grouops 
>>> included  Mark Duffy, Greg Lebovitz, and Joe Touch I developed this 
>>> model and vetted it with this group some months ago.
>>
>>
>> FYI (all):
>>
>> At best, only the basic concept of doing a forwarding lookup was 
>> presented during a brief conversation at the Atlanta IETF; I cannot 
>> speak for the others, but this thread was the first I've seen of this 
>> proposal, and we certainly were not involved in developing it, or 
>> participating in a "long series" of meetings about it.
> 
> Joe, sorry for the confusion caused by a misplaced "s" in the above 
> text. My message was supposed to refer to "post-WG meeting 
> discussions."  I think others who read the message interpreted my typo 
> as I had intended, and as restated, it is accurate. I did not mean to 
> suggest that there were a set of post-WG meetings among the interested 
> parties.  We did, however, exchange a number of e-mail messages on the 
> topic.

Agreed.


>> I would not consider it 'vetted', but rather proposed at best. Even at 
>> that time Lars Eggert and I expressed significant concerns about this 
>> proposal.
>>
>> A brief summary of some of those concerns, to the extent that we could 
>> address them absent a detailed proposal, was discussed in section 
>> 4.1.3 as "Alternative 3" of the final update of our ID on the issue of 
>> support for dynamic routing in IPsec (draft-touch-ipsec-vpn-05.txt).
> 
> My view is that the majority of the participants in the discussions 
> found it an acceptable model, but you and Lars did not.  rough consensus?

I recall only 1-2 other participants in those meetings; it was a quick 
chat over the break, as I recall as well. I wouldn't consider that brief 
discussion sufficient for anyone to establish consensus, certainly not 
based on the absence of detail at that time.

Joe



From owner-ipsec@lists.tislabs.com  Mon Aug  4 19:26:42 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id TAA15449
	for <ipsec-archive@lists.ietf.org>; Mon, 4 Aug 2003 19:26:42 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id QAA06566
	Mon, 4 Aug 2003 16:29:57 -0400 (EDT)
Message-ID: <3F2EC3DC.6010803@isi.edu>
Date: Mon, 04 Aug 2003 13:36:44 -0700
From: Joe Touch <touch@ISI.EDU>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4b) Gecko/20030507
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Stephen Kent <kent@bbn.com>
CC: Mark Duffy <mduffy@quarrytech.com>, ipsec@lists.tislabs.com
Subject: Re: revised IPsec processing model
References: <5.2.0.9.0.20030724113200.01feed80@email> <p05210613bb4db57e16c7@[128.89.89.75]>
In-Reply-To: <p05210613bb4db57e16c7@[128.89.89.75]>
X-Enigmail-Version: 0.74.1.0
X-Enigmail-Supports: pgp-inline, pgp-mime
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk
Content-Transfer-Encoding: 7bit

Hi, all,

Stephen Kent wrote:
> Mark,
> 
> responses inline to your comments:
> 
>     <SNIP>
> 
>> Regarding the virtual interface and the forwarding function:
>>
>> A close reading shows that the "forwarding function" may be an 
>> arbitrary function of the packet (and hopefully of meta-information 
>> about the packet, such as where it was received from).  However, the 
>> term itself is fairly loaded and will suggest 
>> destination-address-based IP forwarding to many readers.  Moreover, 
>> 2401bis should IMO permit a separation between where a packet is 
>> forwarded to, and what SPD is applied to it.  This for example to 
>> support a device that has one uplink to the Internet and provides 
>> protection for different LANs using different SPDs: in this case the 
>> SPD to use for outbound processing might be implied by the interface 
>> the packet came in on rather than by the interface it goes out on.
> 
> The intent is that the forwarding function can use any data from the 
> packet. I'm open to suggestions for other names for the function, but I 
> think Joe Touch suggested this one, and he definitely intended it to 
> cover the broader set of possible inputs.

FYI, we call it forwarding since it would do what IP forwarding does. 
However, note that IP forwarding, as we have pointed out before, 
involves more than finding the outgoing interface.

Consider a system:

                 c
               /
	a----b
               \
                 d

Where a packet comes from 'a' and goes many hops downstream of 'c' or 
'd', where c,d are the nexthops from b. It is possible that c and d are 
on the same LAN as b, e.g., an FDDI ring or ethernet switch at a POP.

In that case, regardless of whether c or d is chosen, the packet will 
have the same outgoing interface. Outgoing interface alone will be 
insufficient to support dynamic routing.

As we have observed before, IP forwarding specifies both the outgoing 
interface and the next-hop IP address; both are required to specify the 
appropriate database.

However, as our ID points out, this is a cumbersome solution compared to 
the alternatives.

Joe



From owner-ipsec@lists.tislabs.com  Mon Aug  4 19:27:17 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id TAA15499
	for <ipsec-archive@lists.ietf.org>; Mon, 4 Aug 2003 19:27:17 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id QAA06688
	Mon, 4 Aug 2003 16:53:29 -0400 (EDT)
Message-ID: <3F2EC97D.5050800@isi.edu>
Date: Mon, 04 Aug 2003 14:00:45 -0700
From: Joe Touch <touch@ISI.EDU>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030529
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Stephen Kent <kent@bbn.com>
CC: Mark Duffy <mduffy@quarrytech.com>, ipsec@lists.tislabs.com
Subject: Re: revised IPsec processing model
References: <5.2.0.9.0.20030724113200.01feed80@email> <p05210613bb4db57e16c7@[128.89.89.75]> <3F2EC3DC.6010803@isi.edu> <p05210602bb5476a89c38@[128.89.88.34]>
In-Reply-To: <p05210602bb5476a89c38@[128.89.88.34]>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk
Content-Transfer-Encoding: 7bit



Stephen Kent wrote:

> At 13:36 -0700 8/4/03, Joe Touch wrote:
> 
>> Hi, all,
>>
>> Stephen Kent wrote:
>>
>>> Mark,
>>>
>>> responses inline to your comments:
>>>
>>>     <SNIP>
>>>
>>>> Regarding the virtual interface and the forwarding function:
>>>>
>>>> A close reading shows that the "forwarding function" may be an 
>>>> arbitrary function of the packet (and hopefully of meta-information 
>>>> about the packet, such as where it was received from).  However, the 
>>>> term itself is fairly loaded and will suggest 
>>>> destination-address-based IP forwarding to many readers. Moreover, 
>>>> 2401bis should IMO permit a separation between where a packet is 
>>>> forwarded to, and what SPD is applied to it.  This for example to 
>>>> support a device that has one uplink to the Internet and provides 
>>>> protection for different LANs using different SPDs: in this case the 
>>>> SPD to use for outbound processing might be implied by the interface 
>>>> the packet came in on rather than by the interface it goes out on.
>>>
>>>
>>> The intent is that the forwarding function can use any data from the 
>>> packet. I'm open to suggestions for other names for the function, but 
>>> I think Joe Touch suggested this one, and he definitely intended it 
>>> to cover the broader set of possible inputs.
>>
>>
>> FYI, we call it forwarding since it would do what IP forwarding does. 
>> However, note that IP forwarding, as we have pointed out before, 
>> involves more than finding the outgoing interface.
>>
>> Consider a system:
>>
>>                 c
>>               /
>>     a----b
>>               \
>>                 d
>>
>> Where a packet comes from 'a' and goes many hops downstream of 'c' or 
>> 'd', where c,d are the nexthops from b. It is possible that c and d 
>> are on the same LAN as b, e.g., an FDDI ring or ethernet switch at a POP.
>>
>> In that case, regardless of whether c or d is chosen, the packet will 
>> have the same outgoing interface. Outgoing interface alone will be 
>> insufficient to support dynamic routing.
>>
>> As we have observed before, IP forwarding specifies both the outgoing 
>> interface and the next-hop IP address; both are required to specify 
>> the appropriate database.
>>
>> However, as our ID points out, this is a cumbersome solution compared 
>> to the alternatives.
> 
> 
> Joe,
> 
> Cumbersome is in the eye of the beholder :-).
> 
> The other folks who participated in the discussions, who are vendors, 
> did not seem to agree with the overlay net model you & Lars proposed. 

Having just participated in one such meeting in the U.K., at least one 
major vendor is prescribing our model as a preferred solution.

> Also, that model seems narrowly focused on end system, vs. SG or BITW, 
> implementations.  It is preferable to have a simple model that is 
> generally applicable, and that's what we have strived to achieve.

I certainly appreciate, as you have observed, that our perspective is 
end-system based. You have also noted:

> ...I am not knowledgeable enough about the details of host
 > implementations to have provided an answer like this.

It would be useful at least if this proposal could be vetted with a 
working implementation on both a router and an end host before being 
considered as such a major modification to the architecture.

-----------

One other question:

What happens to packets when the IPsec-time forwarding lookup differs 
from the forwarding that actually happens when the packet would be emitted?

I.e., it seems possible that if I had weak or no encryption on one link, 
that it might be possible to leak such packets out onto a link that I 
needed strong protection on. If this is not the case, a specific example 
would help.

Joe



From owner-ipsec@lists.tislabs.com  Mon Aug  4 19:30:25 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id TAA15523
	for <ipsec-archive@lists.ietf.org>; Mon, 4 Aug 2003 19:30:25 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id QAA06635
	Mon, 4 Aug 2003 16:42:38 -0400 (EDT)
Mime-Version: 1.0
X-Sender: kent@po2.bbn.com
Message-Id: <p05210602bb5476a89c38@[128.89.88.34]>
In-Reply-To: <3F2EC3DC.6010803@isi.edu>
References: <5.2.0.9.0.20030724113200.01feed80@email>
 <p05210613bb4db57e16c7@[128.89.89.75]> <3F2EC3DC.6010803@isi.edu>
Date: Mon, 4 Aug 2003 16:48:41 -0400
To: Joe Touch <touch@ISI.EDU>
From: Stephen Kent <kent@bbn.com>
Subject: Re: revised IPsec processing model
Cc: Mark Duffy <mduffy@quarrytech.com>, ipsec@lists.tislabs.com
Content-Type: text/plain; charset="us-ascii" ; format="flowed"
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

At 13:36 -0700 8/4/03, Joe Touch wrote:
>Hi, all,
>
>Stephen Kent wrote:
>>Mark,
>>
>>responses inline to your comments:
>>
>>     <SNIP>
>>
>>>Regarding the virtual interface and the forwarding function:
>>>
>>>A close reading shows that the "forwarding function" may be an 
>>>arbitrary function of the packet (and hopefully of 
>>>meta-information about the packet, such as where it was received 
>>>from).  However, the term itself is fairly loaded and will suggest 
>>>destination-address-based IP forwarding to many readers. 
>>>Moreover, 2401bis should IMO permit a separation between where a 
>>>packet is forwarded to, and what SPD is applied to it.  This for 
>>>example to support a device that has one uplink to the Internet 
>>>and provides protection for different LANs using different SPDs: 
>>>in this case the SPD to use for outbound processing might be 
>>>implied by the interface the packet came in on rather than by the 
>>>interface it goes out on.
>>
>>The intent is that the forwarding function can use any data from 
>>the packet. I'm open to suggestions for other names for the 
>>function, but I think Joe Touch suggested this one, and he 
>>definitely intended it to cover the broader set of possible inputs.
>
>FYI, we call it forwarding since it would do what IP forwarding 
>does. However, note that IP forwarding, as we have pointed out 
>before, involves more than finding the outgoing interface.
>
>Consider a system:
>
>                 c
>               /
>	a----b
>               \
>                 d
>
>Where a packet comes from 'a' and goes many hops downstream of 'c' 
>or 'd', where c,d are the nexthops from b. It is possible that c and 
>d are on the same LAN as b, e.g., an FDDI ring or ethernet switch at 
>a POP.
>
>In that case, regardless of whether c or d is chosen, the packet 
>will have the same outgoing interface. Outgoing interface alone will 
>be insufficient to support dynamic routing.
>
>As we have observed before, IP forwarding specifies both the 
>outgoing interface and the next-hop IP address; both are required to 
>specify the appropriate database.
>
>However, as our ID points out, this is a cumbersome solution 
>compared to the alternatives.

Joe,

Cumbersome is in the eye of the beholder :-).

The other folks who participated in the discussions, who are vendors, 
did not seem to agree with the overlay net model you & Lars proposed. 
Also, that model seems narrowly focused on end system, vs. SG or 
BITW, implementations.  It is preferable to have a simple model that 
is generally applicable, and that's what we have strived to achieve.

Steve


From owner-ipsec@lists.tislabs.com  Mon Aug  4 19:34:37 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id TAA15604
	for <ipsec-archive@lists.ietf.org>; Mon, 4 Aug 2003 19:34:37 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id QAA06717
	Mon, 4 Aug 2003 16:57:34 -0400 (EDT)
Mime-Version: 1.0
X-Sender: kent@po2.bbn.com
Message-Id: <p05210603bb547a537866@[128.89.88.34]>
In-Reply-To: <3F2EC870.4010102@isi.edu>
References: <682DFC4C-BA03-11D7-B9FF-00039349B0FC@speakeasy.net>
 <p05210607bb41b765706a@[128.89.89.40]> <3F2EC241.4080902@isi.edu>
 <p05210601bb54753d4745@[128.89.88.34]> <3F2EC870.4010102@isi.edu>
Date: Mon, 4 Aug 2003 17:04:20 -0400
To: Joe Touch <touch@ISI.EDU>
From: Stephen Kent <kent@bbn.com>
Subject: Re: revised IPsec processing model: Q: VID and forwarding function
Cc: Ricky Charlet <rcharlet@speakeasy.net>,
        ipsec mailingList <ipsec@lists.tislabs.com>
Content-Type: text/plain; charset="us-ascii" ; format="flowed"
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

>>>I would not consider it 'vetted', but rather proposed at best. 
>>>Even at that time Lars Eggert and I expressed significant concerns 
>>>about this proposal.
>>>
>>>A brief summary of some of those concerns, to the extent that we 
>>>could address them absent a detailed proposal, was discussed in 
>>>section 4.1.3 as "Alternative 3" of the final update of our ID on 
>>>the issue of support for dynamic routing in IPsec 
>>>(draft-touch-ipsec-vpn-05.txt).
>>
>>My view is that the majority of the participants in the discussions 
>>found it an acceptable model, but you and Lars did not.  rough 
>>consensus?
>
>I recall only 1-2 other participants in those meetings; it was a 
>quick chat over the break, as I recall as well. I wouldn't consider 
>that brief discussion sufficient for anyone to establish consensus, 
>certainly not based on the absence of detail at that time.
>
>Joe

I was referring to the e-mail messages that were exchanged over a 
several month period, during which I proposed the model, not to any 
in-person discussions. Again, I apologize for the ambiguity of the 
reference to "discussions."

Steve


From owner-ipsec@lists.tislabs.com  Mon Aug  4 21:43:39 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id VAA17619
	for <ipsec-archive@lists.ietf.org>; Mon, 4 Aug 2003 21:43:39 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id SAA07517
	Mon, 4 Aug 2003 18:54:39 -0400 (EDT)
Mime-Version: 1.0
X-Sender: kent@po2.bbn.com
Message-Id: <p05210605bb5490d4bea5@[128.89.88.34]>
In-Reply-To: <3F2EC97D.5050800@isi.edu>
References: <5.2.0.9.0.20030724113200.01feed80@email>
 <p05210613bb4db57e16c7@[128.89.89.75]> <3F2EC3DC.6010803@isi.edu>
 <p05210602bb5476a89c38@[128.89.88.34]> <3F2EC97D.5050800@isi.edu>
Date: Mon, 4 Aug 2003 19:01:22 -0400
To: Joe Touch <touch@ISI.EDU>
From: Stephen Kent <kent@bbn.com>
Subject: Re: revised IPsec processing model
Cc: Mark Duffy <mduffy@quarrytech.com>, ipsec@lists.tislabs.com
Content-Type: text/plain; charset="us-ascii" ; format="flowed"
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

At 14:00 -0700 8/4/03, Joe Touch wrote:
>>
>>Joe,
>>
>>Cumbersome is in the eye of the beholder :-).
>>
>>The other folks who participated in the discussions, who are 
>>vendors, did not seem to agree with the overlay net model you & 
>>Lars proposed.
>
>Having just participated in one such meeting in the U.K., at least 
>one major vendor is prescribing our model as a preferred solution.

OK.

>
>>Also, that model seems narrowly focused on end system, vs. SG or 
>>BITW, implementations.  It is preferable to have a simple model 
>>that is generally applicable, and that's what we have strived to 
>>achieve.
>
>I certainly appreciate, as you have observed, that our perspective 
>is end-system based. You have also noted:
>
>>...I am not knowledgeable enough about the details of host
>  > implementations to have provided an answer like this.
>
>It would be useful at least if this proposal could be vetted with a 
>working implementation on both a router and an end host before being 
>considered as such a major modification to the architecture.

After that exchange, two folks with knowledge of host OS internals, 
and who are implementors of IPv6 and IPsec, confirmed that they saw 
no problems with the proposed processing model via messages to the 
list. Two individuals have told me privately, in the last few weeks, 
that their implementations are equivalent to the processing model, in 
person or in e-mails.  I do not agree that there needs to be working 
examples before we proceed with a new version of 2401, although I 
think I am hearing that there will be several in the near future.

>-----------
>
>One other question:
>
>What happens to packets when the IPsec-time forwarding lookup 
>differs from the forwarding that actually happens when the packet 
>would be emitted?
>
>I.e., it seems possible that if I had weak or no encryption on one 
>link, that it might be possible to leak such packets out onto a link 
>that I needed strong protection on. If this is not the case, a 
>specific example would help.

If I understand correctly, your concern is that there could be a 
mismatch between an SPD lookup that maps a packet to a interface that 
is deemed implicitly secure and thus does not warrant IPsec 
protection, but a later forwarding decision that puts the packet out 
over a link that does warrant protection.  Is that right?

I certainly agree that this would be a "bad thing" and one must 
configure the SPDs and the forwarding tables to avoid the problem. If 
we allow the first forwarding table to select the appropriate SPD, 
then we have to rely on that forwarding function to operate 
correctly, IF we allow any sensitive traffic to be emitted without 
IPsec protection on ANY link. Otherwise, the first forwarding lookup 
could map the traffic to an SPD that allowed bypass such traffic for 
a specific interface, but then the traffic could be emitted via a 
different interface, thus defeating the intent of the policy 
specification.

Also, if the SPD does allow bypassing of any sensitive traffic, then 
the post IPsec processing forwarding lookup also must function 
properly, lest the same bad effect take place despite the correct 
functioning of the first lookup (and the correct config of the 
corresponding SPD).  Frankly, this is why I worry about anything 
other than the trivial case with one SPD and no per-interface 
distinctions about what classes of traffic to protect.  If the WG 
feels that we do not require per-interface SPDs, as Mark suggested, I 
am happy to make that change. But I note that Mark did call for 
multiple SPDs (just not tied to an interface by the first forwarding 
function), and I see the same opportunity for security problems due 
to lookup errors in that case as well.

I think the fundamental problem here is the opportunity to emit 
traffic without appropriate protection, due to a mismatch between 
what an SPD says and what a forwarding function does.  This is 
ultimately a config management problem, made worse by a desire to 
support fancier access controls and fancier forwarding options.

Steve


From owner-ipsec@lists.tislabs.com  Mon Aug  4 21:54:48 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id VAA17815
	for <ipsec-archive@lists.ietf.org>; Mon, 4 Aug 2003 21:54:47 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id TAA07859
	Mon, 4 Aug 2003 19:32:15 -0400 (EDT)
Message-ID: <3F2EEEB2.5030109@isi.edu>
Date: Mon, 04 Aug 2003 16:39:30 -0700
From: Joe Touch <touch@ISI.EDU>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030529
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Stephen Kent <kent@bbn.com>
CC: Mark Duffy <mduffy@quarrytech.com>, ipsec@lists.tislabs.com
Subject: Re: revised IPsec processing model
References: <5.2.0.9.0.20030724113200.01feed80@email> <p05210613bb4db57e16c7@[128.89.89.75]> <3F2EC3DC.6010803@isi.edu> <p05210602bb5476a89c38@[128.89.88.34]> <3F2EC97D.5050800@isi.edu> <p05210605bb5490d4bea5@[128.89.88.34]>
In-Reply-To: <p05210605bb5490d4bea5@[128.89.88.34]>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk
Content-Transfer-Encoding: 7bit



Stephen Kent wrote:

> At 14:00 -0700 8/4/03, Joe Touch wrote:
>> One other question:
>>
>> What happens to packets when the IPsec-time forwarding lookup differs 
>> from the forwarding that actually happens when the packet would be 
>> emitted?
>>
>> I.e., it seems possible that if I had weak or no encryption on one 
>> link, that it might be possible to leak such packets out onto a link 
>> that I needed strong protection on. If this is not the case, a 
>> specific example would help.
> 
> If I understand correctly, your concern is that there could be a 
> mismatch between an SPD lookup that maps a packet to a interface that is 
> deemed implicitly secure and thus does not warrant IPsec protection, but 
> a later forwarding decision that puts the packet out over a link that 
> does warrant protection.  Is that right?

Yes.

> I certainly agree that this would be a "bad thing" and one must 
> configure the SPDs and the forwarding tables to avoid the problem. 

IPsec can have no control over the forwarding tables.

Other than ensuring that one can -never- configure two tunnels with one 
being weaker, there doesn't seem to be a solution that is enforceable 
within IPsec using this architecture.

> If we 
> allow the first forwarding table to select the appropriate SPD, then we 
> have to rely on that forwarding function to operate correctly, IF we 
> allow any sensitive traffic to be emitted without IPsec protection on 
> ANY link.

I'm considering a case where the forwarding table isn't malicious; the 
trick is that this model (using forwarding inside IPsec) requires that 
there be a lock between doing a forwarding lookup and emitting the packet.

A forwarding table must be able to change, e.g., that's the definition 
of dynamic routing.

> Otherwise, the first forwarding lookup could map the traffic 
> to an SPD that allowed bypass such traffic for a specific interface, but 
> then the traffic could be emitted via a different interface, thus 
> defeating the intent of the policy specification.

That's the problem I'm worried about.

> Also, if the SPD does allow bypassing of any sensitive traffic, then the 
> post IPsec processing forwarding lookup also must function properly, 
> lest the same bad effect take place despite the correct functioning of 
> the first lookup (and the correct config of the corresponding SPD).  

Aggred - but again, it's not malicious behavior, but normal operation 
that might cause this.

> Frankly, this is why I worry about anything other than the trivial case 
> with one SPD and no per-interface distinctions about what classes of 
> traffic to protect.  If the WG feels that we do not require 
> per-interface SPDs, as Mark suggested, I am happy to make that change. 
> But I note that Mark did call for multiple SPDs (just not tied to an 
> interface by the first forwarding function), and I see the same 
> opportunity for security problems due to lookup errors in that case as 
> well.

Agreed. Note that this is not a problem with the solution we propose, 
because the routing table is involved exactly once for each packet for us.

> I think the fundamental problem here is the opportunity to emit traffic 
> without appropriate protection, due to a mismatch between what an SPD 
> says and what a forwarding function does.  This is ultimately a config 
> management problem, made worse by a desire to support fancier access 
> controls and fancier forwarding options.

Agreed - except that, as above, I don't see how to configure dynamic 
routing except across two _identically protected_ tunnels. That is a 
requirement that severely limits the utility of such a solution, IMO.

Joe



From owner-ipsec@lists.tislabs.com  Tue Aug  5 02:24:26 2003
Received: from lists.tislabs.com (portal.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id CAA03296
	for <ipsec-archive@lists.ietf.org>; Tue, 5 Aug 2003 02:24:26 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id XAA08814
	Mon, 4 Aug 2003 23:39:48 -0400 (EDT)
Message-Id: <5.2.0.9.0.20030804231150.01e39840@localhost>
X-Sender: mduffy@localhost
X-Mailer: QUALCOMM Windows Eudora Version 5.2.0.9
Date: Mon, 04 Aug 2003 23:39:43 -0400
To: Joe Touch <touch@ISI.EDU>, Stephen Kent <kent@bbn.com>
From: Mark Duffy <mduffy@quarrytech.com>
Subject: Re: revised IPsec processing model
Cc: ipsec@lists.tislabs.com
In-Reply-To: <3F2EEEB2.5030109@isi.edu>
References: <p05210605bb5490d4bea5@[128.89.88.34]>
 <5.2.0.9.0.20030724113200.01feed80@email>
 <p05210613bb4db57e16c7@[128.89.89.75]>
 <3F2EC3DC.6010803@isi.edu>
 <p05210602bb5476a89c38@[128.89.88.34]>
 <3F2EC97D.5050800@isi.edu>
 <p05210605bb5490d4bea5@[128.89.88.34]>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

Hi all,

I'm a bit mystified about this line of discussion.  The change that Steve 
has proposed in the processing model is IMO a clarification (in that the 
packet forwarding decision that takes place in an IP device is explicitly 
recognized) and a generalization (in that it recognizes that an 
implementation *may* make more than one "forwarding" decision on a packet, 
an implementation *may* pass a packet through more than one SPD and IPsec 
treatment, and the "forwarding" function used is beyond the scope of 
IPsec.)  There is nothing in this that *requires* any implementation to 
take advantage of any of that.  So I would expect that if the RFC 2401 
model is sufficient for a given purpose, the proposed one should be also.  No?

There is always the risk of misconfiguring the device (any configurable 
IPsec device) and thereby compromising security.  I agree that as 
flexibility of a device goes up (e.g. from 1 SPD per box to one per 
interface, or to more complex behaviors) the risk of misconfiguration 
generally goes up.  But the benefits of using the device also go up.  This 
tradeoff between functionality and risk is for those deploying equipment to 
make.  (Obviously, anyone would be ill-advised to manufacture or deploy 
devices that perform improperly as with the hypothetical race conditions 
described below.)

Mark

At 04:39 PM 8/4/2003 -0700, Joe Touch wrote:


>Stephen Kent wrote:
>
>>At 14:00 -0700 8/4/03, Joe Touch wrote:
>>>One other question:
>>>
>>>What happens to packets when the IPsec-time forwarding lookup differs 
>>>from the forwarding that actually happens when the packet would be emitted?
>>>
>>>I.e., it seems possible that if I had weak or no encryption on one link, 
>>>that it might be possible to leak such packets out onto a link that I 
>>>needed strong protection on. If this is not the case, a specific example 
>>>would help.
>>If I understand correctly, your concern is that there could be a mismatch 
>>between an SPD lookup that maps a packet to a interface that is deemed 
>>implicitly secure and thus does not warrant IPsec protection, but a later 
>>forwarding decision that puts the packet out over a link that does 
>>warrant protection.  Is that right?
>
>Yes.
>
>>I certainly agree that this would be a "bad thing" and one must configure 
>>the SPDs and the forwarding tables to avoid the problem.
>
>IPsec can have no control over the forwarding tables.
>
>Other than ensuring that one can -never- configure two tunnels with one 
>being weaker, there doesn't seem to be a solution that is enforceable 
>within IPsec using this architecture.
>
>>If we allow the first forwarding table to select the appropriate SPD, 
>>then we have to rely on that forwarding function to operate correctly, IF 
>>we allow any sensitive traffic to be emitted without IPsec protection on 
>>ANY link.
>
>I'm considering a case where the forwarding table isn't malicious; the 
>trick is that this model (using forwarding inside IPsec) requires that 
>there be a lock between doing a forwarding lookup and emitting the packet.
>
>A forwarding table must be able to change, e.g., that's the definition of 
>dynamic routing.
>
>>Otherwise, the first forwarding lookup could map the traffic to an SPD 
>>that allowed bypass such traffic for a specific interface, but then the 
>>traffic could be emitted via a different interface, thus defeating the 
>>intent of the policy specification.
>
>That's the problem I'm worried about.
>
>>Also, if the SPD does allow bypassing of any sensitive traffic, then the 
>>post IPsec processing forwarding lookup also must function properly, lest 
>>the same bad effect take place despite the correct functioning of the 
>>first lookup (and the correct config of the corresponding SPD).
>
>Aggred - but again, it's not malicious behavior, but normal operation that 
>might cause this.
>
>>Frankly, this is why I worry about anything other than the trivial case 
>>with one SPD and no per-interface distinctions about what classes of 
>>traffic to protect.  If the WG feels that we do not require per-interface 
>>SPDs, as Mark suggested, I am happy to make that change. But I note that 
>>Mark did call for multiple SPDs (just not tied to an interface by the 
>>first forwarding function), and I see the same opportunity for security 
>>problems due to lookup errors in that case as well.
>
>Agreed. Note that this is not a problem with the solution we propose, 
>because the routing table is involved exactly once for each packet for us.
>
>>I think the fundamental problem here is the opportunity to emit traffic 
>>without appropriate protection, due to a mismatch between what an SPD 
>>says and what a forwarding function does.  This is ultimately a config 
>>management problem, made worse by a desire to support fancier access 
>>controls and fancier forwarding options.
>
>Agreed - except that, as above, I don't see how to configure dynamic 
>routing except across two _identically protected_ tunnels. That is a 
>requirement that severely limits the utility of such a solution, IMO.
>
>Joe



From owner-ipsec@lists.tislabs.com  Tue Aug  5 13:08:42 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id NAA19290
	for <ipsec-archive@lists.ietf.org>; Tue, 5 Aug 2003 13:08:41 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id JAA10786
	Tue, 5 Aug 2003 09:45:39 -0400 (EDT)
Mime-Version: 1.0
X-Sender: kent@po2.bbn.com
Message-Id: <p05210603bb5563deac67@[128.89.88.34]>
In-Reply-To: <3F2EEEB2.5030109@isi.edu>
References: <5.2.0.9.0.20030724113200.01feed80@email>
 <p05210613bb4db57e16c7@[128.89.89.75]> <3F2EC3DC.6010803@isi.edu>
 <p05210602bb5476a89c38@[128.89.88.34]> <3F2EC97D.5050800@isi.edu>
 <p05210605bb5490d4bea5@[128.89.88.34]> <3F2EEEB2.5030109@isi.edu>
Date: Tue, 5 Aug 2003 09:52:14 -0400
To: Joe Touch <touch@ISI.EDU>
From: Stephen Kent <kent@bbn.com>
Subject: Re: revised IPsec processing model
Cc: Mark Duffy <mduffy@quarrytech.com>, ipsec@lists.tislabs.com
Content-Type: text/plain; charset="us-ascii" ; format="flowed"
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

At 16:39 -0700 8/4/03, Joe Touch wrote:
>Stephen Kent wrote:
>
>>At 14:00 -0700 8/4/03, Joe Touch wrote:
>>>One other question:
>>>
>>>What happens to packets when the IPsec-time forwarding lookup 
>>>differs from the forwarding that actually happens when the packet 
>>>would be emitted?
>>>
>>>I.e., it seems possible that if I had weak or no encryption on one 
>>>link, that it might be possible to leak such packets out onto a 
>>>link that I needed strong protection on. If this is not the case, 
>>>a specific example would help.
>>
>>If I understand correctly, your concern is that there could be a 
>>mismatch between an SPD lookup that maps a packet to a interface 
>>that is deemed implicitly secure and thus does not warrant IPsec 
>>protection, but a later forwarding decision that puts the packet 
>>out over a link that does warrant protection.  Is that right?
>
>Yes.
>
>I certainly agree that this would be a "bad thing" and one must 
>configure the SPDs and the forwarding tables to avoid the problem.
>
>IPsec can have no control over the forwarding tables.

I cam see how you might come to that conclusion in some contexts, but 
it certainly is not true in all contexts. For example, some vendors 
of BITW and SG IPsec products provide a unified management interface 
that allows a sys admin to configure the forwarding tables and the 
SPDs together, to avoid the sort of problems we both agree are a 
concern.

>Other than ensuring that one can -never- configure two tunnels with 
>one being weaker, there doesn't seem to be a solution that is 
>enforceable within IPsec using this architecture.

This is definitely not true, as stated. What I think you mean to say 
is that IF we specify two or more entries in multiple SPDs for the 
same class of traffic (e.g., the same selector sets) AND they have 
different security properties (e.g., IPsec protection vvs. bypass) 
THEN an error in the lookup that selects an SPD (and virtual 
interface) or in the lookup that selects the ultimate outbound 
interface, could result in a security breach. But, to get into this 
situation we have to have several precursor conditions satisfied, and 
I expect that in many environments the configurations will not be so 
complex as to facilitate these sorts of problems.

>
>>If we allow the first forwarding table to select the appropriate 
>>SPD, then we have to rely on that forwarding function to operate 
>>correctly, IF we allow any sensitive traffic to be emitted without 
>>IPsec protection on ANY link.
>
>I'm considering a case where the forwarding table isn't malicious; 
>the trick is that this model (using forwarding inside IPsec) 
>requires that there be a lock between doing a forwarding lookup and 
>emitting the packet.
>
>A forwarding table must be able to change, e.g., that's the 
>definition of dynamic routing.

But not all routing is dynamic.  My first hop router may be fixed in 
many contexts, because I have only one choice to exit my LAN. In many 
cases where the choice of first hop router is not known in advance, 
e.g., in my hotel room, I may have only only interface to deal with 
and thus avoid the security problems in that fashion.

>
>>Otherwise, the first forwarding lookup could map the traffic to an 
>>SPD that allowed bypass such traffic for a specific interface, but 
>>then the traffic could be emitted via a different interface, thus 
>>defeating the intent of the policy specification.
>
>That's the problem I'm worried about.
>
>Also, if the SPD does allow bypassing of any sensitive traffic, then 
>the post IPsec processing forwarding lookup also must function 
>properly, lest the same bad effect take place despite the correct 
>functioning of the first lookup (and the correct config of the 
>corresponding SPD).

>
>Aggred - but again, it's not malicious behavior, but normal 
>operation that might cause this.

If normal behavior in common circumstances would cause this to 
happen, then the configuration is inherently insecure. If that 
possibility can be detected by a config admin tool, then the admin 
can be warned.

>
>>Frankly, this is why I worry about anything other than the trivial 
>>case with one SPD and no per-interface distinctions about what 
>>classes of traffic to protect.  If the WG feels that we do not 
>>require per-interface SPDs, as Mark suggested, I am happy to make 
>>that change. But I note that Mark did call for multiple SPDs (just 
>>not tied to an interface by the first forwarding function), and I 
>>see the same opportunity for security problems due to lookup errors 
>>in that case as well.
>
>Agreed. Note that this is not a problem with the solution we 
>propose, because the routing table is involved exactly once for each 
>packet for us.

I don't see how this problem is avoidable in any context where you 
maintain that a table used for forwarding is outside the scope of the 
security boundary.  Could you elaborate, without merely referring to 
your ID?

>
>>I think the fundamental problem here is the opportunity to emit 
>>traffic without appropriate protection, due to a mismatch between 
>>what an SPD says and what a forwarding function does.  This is 
>>ultimately a config management problem, made worse by a desire to 
>>support fancier access controls and fancier forwarding options.
>
>Agreed - except that, as above, I don't see how to configure dynamic 
>routing except across two _identically protected_ tunnels. That is a 
>requirement that severely limits the utility of such a solution, IMO.

First, we probably do not agree on the extent to which dynamic 
routing is always going to be a factor here.  Second, there are means 
to provide security for routing data. For example, in high assurance 
contexts where IPsec-like protection is to be employed, it is 
appropriate to use S-BGP to ensure that the ability to advertise 
prefixes for the hosts "behind" a security device is done securely, 
i.e., the advertisements are authorized.

Steve


From owner-ipsec@lists.tislabs.com  Tue Aug  5 13:30:23 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id NAA19749
	for <ipsec-archive@lists.ietf.org>; Tue, 5 Aug 2003 13:30:22 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id KAA11046
	Tue, 5 Aug 2003 10:37:44 -0400 (EDT)
Message-Id: <200308051415.KAA12839@ietf.org>
Mime-Version: 1.0
Content-Type: Multipart/Mixed; Boundary="NextPart"
To: IETF-Announce: ;
CC: mobile-ip@sunroof.eng.sun.com, ipsec@lists.tislabs.com, nemo@ietf.org
From: Internet-Drafts@ietf.org
Reply-to: Internet-Drafts@ietf.org
Subject: I-D ACTION:draft-ivancic-layer3-encryptors-00.txt
Date: Tue, 05 Aug 2003 10:15:36 -0400
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

--NextPart

A New Internet-Draft is available from the on-line Internet-Drafts directories.


	Title		: Use And Implementation of Layer-3 Encryption Devices
	Author(s)	: W. Ivancic, D. Stewart
	Filename	: draft-ivancic-layer3-encryptors-00.txt
	Pages		: 6
	Date		: 2003-8-5
	
This document  describes some issues related to performing 
encryption at layer-3.  In particular, routing protocol problems 
may result if the time-to-live (TTL) field in IPv4 or the Hop Limit 
field in IPv6 is decremented once before encapsulation [1][2].   
Also, special provisions may be necessary within the encryptor 
devices if broadcast messages are to transition the encryptor 
pairs.  Maximum Transmission Unit (MTU) issues are also presented.

A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-ivancic-layer3-encryptors-00.txt

To remove yourself from the IETF Announcement list, send a message to 
ietf-announce-request with the word unsubscribe in the body of the message.

Internet-Drafts are also available by anonymous FTP. Login with the username
"anonymous" and a password of your e-mail address. After logging in,
type "cd internet-drafts" and then
	"get draft-ivancic-layer3-encryptors-00.txt".

A list of Internet-Drafts directories can be found in
http://www.ietf.org/shadow.html 
or ftp://ftp.ietf.org/ietf/1shadow-sites.txt


Internet-Drafts can also be obtained by e-mail.

Send a message to:
	mailserv@ietf.org.
In the body type:
	"FILE /internet-drafts/draft-ivancic-layer3-encryptors-00.txt".
	
NOTE:	The mail server at ietf.org can return the document in
	MIME-encoded form by using the "mpack" utility.  To use this
	feature, insert the command "ENCODING mime" before the "FILE"
	command.  To decode the response(s), you will need "munpack" or
	a MIME-compliant mail reader.  Different MIME-compliant mail readers
	exhibit different behavior, especially when dealing with
	"multipart" MIME messages (i.e. documents which have been split
	up into multiple messages), so check your local documentation on
	how to manipulate these messages.
		
		
Below is the data which will enable a MIME compliant mail reader
implementation to automatically retrieve the ASCII version of the
Internet-Draft.

--NextPart
Content-Type: Multipart/Alternative; Boundary="OtherAccess"

--OtherAccess
Content-Type: Message/External-body;
	access-type="mail-server";
	server="mailserv@ietf.org"

Content-Type: text/plain
Content-ID:	<2003-8-5100517.I-D@ietf.org>

ENCODING mime
FILE /internet-drafts/draft-ivancic-layer3-encryptors-00.txt

--OtherAccess
Content-Type: Message/External-body;
	name="draft-ivancic-layer3-encryptors-00.txt";
	site="ftp.ietf.org";
	access-type="anon-ftp";
	directory="internet-drafts"

Content-Type: text/plain
Content-ID:	<2003-8-5100517.I-D@ietf.org>

--OtherAccess--

--NextPart--



From owner-ipsec@lists.tislabs.com  Tue Aug  5 17:10:47 2003
Received: from lists.tislabs.com (portal.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA28951
	for <ipsec-archive@lists.ietf.org>; Tue, 5 Aug 2003 17:10:46 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id NAA11565
	Tue, 5 Aug 2003 13:12:31 -0400 (EDT)
X-Authentication-Warning: ryijy.hel.fi.ssh.com: kivinen set sender to kivinen@ssh.fi using -f
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <16175.59110.776033.269367@ryijy.hel.fi.ssh.com>
Date: Tue, 5 Aug 2003 20:18:30 +0300
From: Tero Kivinen <kivinen@ssh.fi>
To: tomhu@cisco.com
Cc: ietf ipsec <ipsec@lists.tislabs.com>
Subject: NAT-T, IKEv2, Vendor ID, port floating??
In-Reply-To: <3F2838C4.CC8A3B21@cisco.com>
References: <3F2838C4.CC8A3B21@cisco.com>
X-Mailer: VM 7.07 under Emacs 20.7.1
Organization: SSH Communications Security Oy
X-Edit-Time: 12 min
X-Total-Time: 15 min
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk
Content-Transfer-Encoding: 7bit

Tom Hu writes:
> In IKEv1, peers should exchange vendor ID to know each other capability
> of NAT-T.
> In IKEv2, NAT-T implementation is optional. Should we exchange Vendor ID
> (NAT-T) at Initial exchange? 

No. In IKEv1 we needed to have vendor ID, because we needed to know if
the other end supported NAT-T discovery payloads or not.

In the IKEv2 ALL implementations MUST be able to at least ignore the
NAT_DETECTION_* notification payloads, i.e there is no need to know if
the other end supports NAT_DETECTION_* notifications or not (see
section 3.10.1 third paragraph saying that unknown status
notifications MUST be ignored if not recognized). If initiator
supports NAT-T, it includes NAT_DETECTION_* notifications to all
requests. If responder supports NAT-T, and it received NAT_DETECTION_*
notifications from the initiator it includes its own NAT_DETECTION_*
notifications.

There is no point for the responder to include those notifications if
it didn't receive them from the initiators, is it knows that the other
end does not support NAT-T (or it is disabled), because it didn't
include NAT_DETECTION_* notifications. The initiator must still be
able to ignore those if the responder decides to include them.

Both ends should only enable NAT-T if they have both sent and received
NAT_DETECTION_* notifications, and detected that there is NAT between.
If the NAT-T is disabled by configuration then the end MUST NOT send
NAT_DETECTION_* payloads, because if there is NAT between the other
end will enable the NAT-T and there is no way to tell it otherwise. 

> Another question is that Initiator and Responder exchange the NAT-D to
> find the NAT existence at Initial Exchange. Does it mean at the AUTH
> exchange, both peers should float the port to 4500?

If the NAT is detected inside the IKE_SA_INIT exchange then the
initiator should change the source and destination port to 4500 (the
responder MUST support listening of port 4500 if it has NAT-T
supported and enabled (2.23 second last paragraph)).

I.e the AUTH exchange is done over port 4500. The initiator can
initiate IKE_SA_INIT on port 4500 if it knows by some other means that
the other end supports and allows NAT-T (i.e either by manual
configuration, or because other end supported it earlier etc). The
initiator can also always start by using port 500 if it wants to. 
-- 
kivinen@ssh.fi
SSH Communications Security                  http://www.ssh.fi/
SSH IPSEC Toolkit                            http://www.ssh.fi/ipsec/


From owner-ipsec@lists.tislabs.com  Tue Aug  5 17:42:25 2003
Received: from lists.tislabs.com (portal.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA29654
	for <ipsec-archive@lists.ietf.org>; Tue, 5 Aug 2003 17:42:24 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id NAA11613
	Tue, 5 Aug 2003 13:19:38 -0400 (EDT)
X-Authentication-Warning: ryijy.hel.fi.ssh.com: kivinen set sender to kivinen@ssh.fi using -f
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <16175.59540.652638.310947@ryijy.hel.fi.ssh.com>
Date: Tue, 5 Aug 2003 20:25:40 +0300
From: Tero Kivinen <kivinen@ssh.fi>
To: Francis Dupont <Francis.Dupont@enst-bretagne.fr>
Cc: tomhu@cisco.com, ietf ipsec <ipsec@lists.tislabs.com>
Subject: Re: NAT-T, IKEv2, Vendor ID, port floating?? 
In-Reply-To: <200307310910.h6V9Afof005498@givry.rennes.enst-bretagne.fr>
References: <3F2838C4.CC8A3B21@cisco.com>
	<200307310910.h6V9Afof005498@givry.rennes.enst-bretagne.fr>
X-Mailer: VM 7.07 under Emacs 20.7.1
Organization: SSH Communications Security Oy
X-Edit-Time: 7 min
X-Total-Time: 6 min
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk
Content-Transfer-Encoding: 7bit

Francis Dupont writes:
> => this is in fact unclear:
>  - is the support of UDP port 4500 mandatory? Current text says
>    it is only when NAT-T is supported. As when there is no listener
>    at port 4500 the initiator gets an ICMP port unreachable, IMHO
>    we can keep the document idea that no support of port 4500 implies
>    no NAT-T support.

I think the easier is to start by using port 500 unless you know from
somewhere else that NAT-T is supported and enabled. You cannot trust
ICMP port unreachable messages, i.e initiating to 4500 to host which
does not listen it would cause timeout. 

>  - is the support of NAT detection mandatory? For some other reasons
>    (implicit peer address protection) I stronly believe it should be
>    mandatory when the IKE_SA_INIT is done over port 500 and to answer
>    the next point it should be mandatory in all cases.

It is mandatory to be able to ignore those packets. It is not
mandatory to be able to reply to them. 

>  - does the support of UDP port 4500 imply the support of NAT-T?

No. 

>    I don't think so because a responder can reject the NAT-T in
>    IKE_AUTH, i.e., I makes a distinction between no NAT-T support
>    and disabled NAT-T support: real no NAT-T support is just
>    inconvenience, NAT-T should be supported but can be disabled
>    for policy reasons for instance. Note the NAT detection works
>    for both the initiator and the responder even only the initiator
>    use it, so the next point is:

To detect that NAT-T is supported AND enabled, you must have both
received and sent NAT_DETECTION_* notifications. If those payloads
are only going in one direction, that means that other end either does
not support NAT-T or it is disabled. 

>  - does the use of UDP port 4500 imply the use of NAT-T? As the
>    NAT detection (which I want to make mandatory) is reliable for
>    both peers, this doesn't really matter but the document should
>    be clarified about this point.

Use of port 4500 only implies that the other end supports the
different format used for that port. It does not imply support of the
NAT-T (altought I see no point of supporting the format only used by
NAT-T if you do not support NAT-T). It also does not imply whether the
NAT-T is enabled.
-- 
kivinen@ssh.fi
SSH Communications Security                  http://www.ssh.fi/
SSH IPSEC Toolkit                            http://www.ssh.fi/ipsec/


From owner-ipsec@lists.tislabs.com  Tue Aug  5 21:42:27 2003
Received: from lists.tislabs.com (portal.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id VAA05767
	for <ipsec-archive@lists.ietf.org>; Tue, 5 Aug 2003 21:42:27 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id SAA01123
	Tue, 5 Aug 2003 18:59:43 -0400 (EDT)
To: "Steven M. Bellovin" <smb@research.att.com>
Cc: byfraser@cisco.com, Tero Kivinen <kivinen@ssh.fi>, angelos@cs.columbia.edu,
        Russ Housley <housley@vigilsec.com>, ipsec@lists.tislabs.com
Subject: Please move  draft-ietf-ipsec-ciph-aes-ccm-04 to publication requested
From: "Theodore Ts'o" <tytso@mit.edu>
Phone: (781) 391-3464
Message-Id: <E19kAsr-0001Cj-00@think.thunk.org>
Date: Tue, 05 Aug 2003 19:06:25 -0400
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

Hi Steve,

draft-ietf-ipsec-ciph-aes-ccm has been updated to address the IKEv2
specificity problem which Tero raised, and a reference to [CCM] for test
vectors.   In addition, as 2401bis and ESPbis have been pushed to
publication requested, it seems appropriate to put this on your queue
for review and for IETF last call.

Many thanks!!

					- Ted


From owner-ipsec@lists.tislabs.com  Tue Aug  5 21:44:24 2003
Received: from lists.tislabs.com (portal.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id VAA05811
	for <ipsec-archive@lists.ietf.org>; Tue, 5 Aug 2003 21:44:23 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id TAA01183
	Tue, 5 Aug 2003 19:08:30 -0400 (EDT)
To: ipsec@lists.tislabs.com
Subject: WG Last call for draft-ietf-ipsec-aes-xcbc-prf-00.txt
From: "Theodore Ts'o" <tytso@mit.edu>
Phone: (781) 391-3464
Message-Id: <E19kB1X-0001Da-00@think.thunk.org>
Date: Tue, 05 Aug 2003 19:15:23 -0400
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk


As this document is relatively straight-forward, and there has been no
discussion on it, we'd like initiate a working group last call on this
document.  This working group last call will terminate on August 12,
2003.

					- Ted and Barbara



From owner-ipsec@lists.tislabs.com  Wed Aug  6 05:01:09 2003
Received: from lists.tislabs.com (portal.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id FAA09807
	for <ipsec-archive@lists.ietf.org>; Wed, 6 Aug 2003 05:01:09 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id CAA02696
	Wed, 6 Aug 2003 02:26:45 -0400 (EDT)
Message-ID: <3F30A148.5040400@isi.edu>
Date: Tue, 05 Aug 2003 23:33:44 -0700
From: Joe Touch <touch@ISI.EDU>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4b) Gecko/20030507
X-Accept-Language: en-us, en
MIME-Version: 1.0
CC: mobile-ip@sunroof.eng.sun.com, ipsec@lists.tislabs.com, nemo@ietf.org
Subject: Re: I-D ACTION:draft-ivancic-layer3-encryptors-00.txt
References: <200308051415.KAA12839@ietf.org>
In-Reply-To: <200308051415.KAA12839@ietf.org>
X-Enigmail-Version: 0.74.1.0
X-Enigmail-Supports: pgp-inline, pgp-mime
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk
Content-Transfer-Encoding: 7bit

Internet-Drafts@ietf.org wrote:

> A New Internet-Draft is available from the on-line Internet-Drafts directories.
> 
> 
> 	Title		: Use And Implementation of Layer-3 Encryption Devices
> 	Author(s)	: W. Ivancic, D. Stewart
> 	Filename	: draft-ivancic-layer3-encryptors-00.txt
> 	Pages		: 6
> 	Date		: 2003-8-5
 >
 > This document  describes some issues related to performing
 > encryption at layer-3.  In particular, routing protocol problems
 > may result if the time-to-live (TTL) field in IPv4 or the Hop Limit
 > field in IPv6 is decremented once before encapsulation [1][2].
 > Also, special provisions may be necessary within the encryptor
 > devices if broadcast messages are to transition the encryptor
 > pairs.  Maximum Transmission Unit (MTU) issues are also presented.

This draft refers to RFC1853 for IP-in-IP encapsulation which was 
Informational. The more useful reference would be to RFC2003, which is 
Standards Track.

RFC2003 appears to cover most of the issues in this document, where 
IPsec-specific issues are further covered already in RFC2401 and its 
pending update.

Joe



From owner-ipsec@lists.tislabs.com  Wed Aug  6 06:52:30 2003
Received: from lists.tislabs.com (portal.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id GAA11833
	for <ipsec-archive@lists.ietf.org>; Wed, 6 Aug 2003 06:52:30 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id EAA03190
	Wed, 6 Aug 2003 04:26:10 -0400 (EDT)
Message-Id: <200308060831.h768Vlof025620@givry.rennes.enst-bretagne.fr>
From: Francis Dupont <Francis.Dupont@enst-bretagne.fr>
To: Tero Kivinen <kivinen@ssh.fi>
cc: tomhu@cisco.com, ietf ipsec <ipsec@lists.tislabs.com>
Subject: Re: NAT-T, IKEv2, Vendor ID, port floating?? 
In-reply-to: Your message of Tue, 05 Aug 2003 20:18:30 +0300.
             <16175.59110.776033.269367@ryijy.hel.fi.ssh.com> 
Date: Wed, 06 Aug 2003 10:31:47 +0200
X-Virus-Scanned: by amavisd-milter (http://amavis.org/) at enst-bretagne.fr
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

 In your previous mail you wrote:

   Both ends should only enable NAT-T if they have both sent and received
   NAT_DETECTION_* notifications, and detected that there is NAT between.
   If the NAT-T is disabled by configuration then the end MUST NOT send
   NAT_DETECTION_* payloads, because if there is NAT between the other
   end will enable the NAT-T and there is no way to tell it otherwise. 
   
=> I don't understand how the second sentence applies to the responder:
when a NAT is detected and NAT-T not supported or enabled, the IKE
session has to be dropped before the end of the IKE_AUTH exchange.
Not to put NAT_DETECTION_* notifications will enable the initiator
to send the third message but it is not enough.

Thanks

Francis.Dupont@enst-bretagne.fr


From owner-ipsec@lists.tislabs.com  Wed Aug  6 06:52:55 2003
Received: from lists.tislabs.com (portal.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id GAA11851
	for <ipsec-archive@lists.ietf.org>; Wed, 6 Aug 2003 06:52:55 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id EAA03154
	Wed, 6 Aug 2003 04:17:01 -0400 (EDT)
Message-Id: <200308060822.h768Mcof025595@givry.rennes.enst-bretagne.fr>
From: Francis Dupont <Francis.Dupont@enst-bretagne.fr>
To: Tero Kivinen <kivinen@ssh.fi>
cc: tomhu@cisco.com, ietf ipsec <ipsec@lists.tislabs.com>
Subject: Re: NAT-T, IKEv2, Vendor ID, port floating?? 
In-reply-to: Your message of Tue, 05 Aug 2003 20:25:40 +0300.
             <16175.59540.652638.310947@ryijy.hel.fi.ssh.com> 
Date: Wed, 06 Aug 2003 10:22:38 +0200
X-Virus-Scanned: by amavisd-milter (http://amavis.org/) at enst-bretagne.fr
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

 In your previous mail you wrote:

   >  - is the support of NAT detection mandatory? For some other reasons
   >    (implicit peer address protection) I stronly believe it should be
   >    mandatory when the IKE_SA_INIT is done over port 500 and to answer
   >    the next point it should be mandatory in all cases.
   
   It is mandatory to be able to ignore those packets. It is not
   mandatory to be able to reply to them. 
   
=> in my idea to make NAT detection mandatory there are two parts:
 - the initiator must put NAT_DETECTION_* notifications in the
   first message.
 - the responder must reply to the NAT_DETECTION_* notifications.
I agree this is a change from the current specs.

   >    I don't think so because a responder can reject the NAT-T in
   >    IKE_AUTH, i.e., I makes a distinction between no NAT-T support
   >    and disabled NAT-T support: real no NAT-T support is just
   >    inconvenience, NAT-T should be supported but can be disabled
   >    for policy reasons for instance. Note the NAT detection works
   >    for both the initiator and the responder even only the initiator
   >    use it, so the next point is:
   
   To detect that NAT-T is supported AND enabled, you must have both
   received and sent NAT_DETECTION_* notifications. If those payloads
   are only going in one direction, that means that other end either does
   not support NAT-T or it is disabled. 
   
=> this makes sense only if NAT detection is not mandatory...
Obviously my idea to use NAT detection to indirectly protect
the peer addresses has an impact here but it is the simplest
way to avoid attacks on the peer addresses and one can still
reject IKE_AUTH what a NAT is detected but not accepted.

   >  - does the use of UDP port 4500 imply the use of NAT-T? As the
   >    NAT detection (which I want to make mandatory) is reliable for
   >    both peers, this doesn't really matter but the document should
   >    be clarified about this point.
   
   Use of port 4500 only implies that the other end supports the
   different format used for that port. It does not imply support of the
   NAT-T (altought I see no point of supporting the format only used by
   NAT-T if you do not support NAT-T). It also does not imply whether the
   NAT-T is enabled.

=> fine with me (when it will be in the document or its companion tutorial).

Thanks

Francis.Dupont@enst-bretagne.fr


From owner-ipsec@lists.tislabs.com  Wed Aug  6 10:11:58 2003
Received: from lists.tislabs.com (portal.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id KAA17654
	for <ipsec-archive@lists.ietf.org>; Wed, 6 Aug 2003 10:11:58 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id GAA03659
	Wed, 6 Aug 2003 06:15:52 -0400 (EDT)
Message-ID: <3F30D712.2040003@f-secure.com>
Date: Wed, 06 Aug 2003 13:23:14 +0300
From: Ari Huttunen <Ari.Huttunen@f-secure.com>
Organization: F-Secure Corporation
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Francis Dupont <Francis.Dupont@enst-bretagne.fr>
CC: Tero Kivinen <kivinen@ssh.fi>, tomhu@cisco.com,
        ietf ipsec <ipsec@lists.tislabs.com>
Subject: Re: NAT-T, IKEv2, Vendor ID, port floating??
References: <200308060822.h768Mcof025595@givry.rennes.enst-bretagne.fr>
In-Reply-To: <200308060822.h768Mcof025595@givry.rennes.enst-bretagne.fr>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-OriginalArrivalTime: 06 Aug 2003 10:23:14.0930 (UTC) FILETIME=[BEEC7D20:01C35C04]
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk
Content-Transfer-Encoding: 7bit

Francis Dupont wrote:

>  In your previous mail you wrote:
> 
>    >  - is the support of NAT detection mandatory? For some other reasons
>    >    (implicit peer address protection) I stronly believe it should be
>    >    mandatory when the IKE_SA_INIT is done over port 500 and to answer
>    >    the next point it should be mandatory in all cases.
>    
>    It is mandatory to be able to ignore those packets. It is not
>    mandatory to be able to reply to them. 
>    
> => in my idea to make NAT detection mandatory there are two parts:
>  - the initiator must put NAT_DETECTION_* notifications in the
>    first message.
>  - the responder must reply to the NAT_DETECTION_* notifications.
> I agree this is a change from the current specs.

I would hesitate to make NAT detection mandatory, just for patenting
reasons. I'm not saying there is necessarily any problem with that,
but I remember that detection of a NAT was one thing being claimed by
an SSH patent application. So, if we assume that there are relatively
paranoid people out there who are paranoid about the patent issues, they
wouldn't want NAT detection being mandatory.

(If that didn't contain enough disclaimers) I would point out that it's
a long while since I read those patent applications, and I've no idea
about their current status. Nor do I care about their status.

Ari

-- 
I play it cool and dig all jive,
  that's the reason I stay alive.
   My motto as I live and learn,
    is dig and be dug in return. <Langston Hughes>

Ari Huttunen                   phone: +358 9 2520 0700
Software Architect             fax  : +358 9 2520 5001

F-Secure Corporation       http://www.F-Secure.com

F(ully)-Secure products: Securing the Mobile Enterprise



From owner-ipsec@lists.tislabs.com  Wed Aug  6 11:25:02 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA21226
	for <ipsec-archive@lists.ietf.org>; Wed, 6 Aug 2003 11:25:01 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id IAA04156
	Wed, 6 Aug 2003 08:34:43 -0400 (EDT)
X-Info: ODIN / NASA Glenn Research Center
Message-Id: <5.1.1.5.2.20030806082504.02257bf8@popserve.grc.nasa.gov>
X-Sender: caivanc@popserve.grc.nasa.gov
X-Mailer: QUALCOMM Windows Eudora Version 5.1.1
Date: Wed, 06 Aug 2003 08:37:54 -0400
To: nemo@nal.motlabs.com, mobile-ip@sunroof.eng.sun.com,
        ipsec@lists.tislabs.com
From: William D Ivancic <William.D.Ivancic@grc.nasa.gov>
Subject: ID regarding interactions of IPSec encryption devices and
  mobile-ip (and other protocols)
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk


During my work with mobile-ipv4 mobile router code and deployment in 
operational networks, We have ran across a number of problems that had to 
be resolved.  Also, during my last trip to IETF (San Francisco), there was 
much talk in mobile-ip, NEMO and IPSec on the need for these groups to 
understand each others issues and workings as securing mobile users and 
networks is ..... challenging (nasty).

I wrote this draft in hopes of highlighting some of the issues and 
hopefully preventing others from banging their head against the walls 
trying to figure out why things don't work.   Also,  the NSA is currently 
working on a specification similar to IPSec and needs to understand some of 
these issues if they want to use such devices in mobile environments.

Any suggestions on improving this document would be greatly appreciated.

http://www.ietf.org/internet-drafts/draft-ivancic-layer3-encryptors-00.txt


Abstract

This document describes some issues related to performing encryption at 
layer-3. In particular, routing protocol problems may result if the 
time-to-live (TTL) field in IPv4 or the Hop Limit field in IPv6 is 
decremented once before encapsulation [1][2]. Also, special provisions may 
be necessary within the encryptor devices if broadcast messages are to 
transition the encryptor pairs. Maximum Transmission Unit (MTU) issues are 
also presented.


Will Ivancic



From owner-ipsec@lists.tislabs.com  Wed Aug  6 11:29:15 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA21320
	for <ipsec-archive@lists.ietf.org>; Wed, 6 Aug 2003 11:29:14 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id IAA04276
	Wed, 6 Aug 2003 08:59:15 -0400 (EDT)
Message-ID: <3F30FD5D.4010509@f-secure.com>
Date: Wed, 06 Aug 2003 16:06:37 +0300
From: Ari Huttunen <Ari.Huttunen@f-secure.com>
Organization: F-Secure Corporation
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Yoav Nir <ynir@CheckPoint.com>
CC: "'ietf ipsec'" <ipsec@lists.tislabs.com>
Subject: Re: NAT-T, IKEv2, Vendor ID, port floating??
References: <00f401c35c20$b9225650$292e1dc2@YnirNew>
In-Reply-To: <00f401c35c20$b9225650$292e1dc2@YnirNew>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-OriginalArrivalTime: 06 Aug 2003 13:06:38.0064 (UTC) FILETIME=[920C0700:01C35C1B]
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk
Content-Transfer-Encoding: 7bit

I don't have any disagreement with what you said, but you shouldn't have
deleted Francis's comment, for which I was replying to:
> => in my idea to make NAT detection mandatory there are two parts:
>  - the initiator must put NAT_DETECTION_* notifications in the
>    first message.
>  - the responder must reply to the NAT_DETECTION_* notifications.
> I agree this is a change from the current specs.

Ari


Yoav Nir wrote:

> The minimum support mandated by the draft is to ignore NAT detection.  I
> doubt if even the most paranoid would be afraid of SSH suing over ignoring
> notification payloads with message type 24582 and 24583.
> 
> If we interpret the draft as requiring you to calculate the hash and verify
> it, there may be something to worry about, but as long as we agree that
> ignoring is acceptable, I don't see the problem with making support
> mandatory.  All we want to do is to make sure that even if you don't support
> NAT traversal, you won't be unable to interoperate just because the peer
> sends the notification.
> 
> -----Original Message-----
> From: owner-ipsec@lists.tislabs.com
> [mailto:owner-ipsec@lists.tislabs.com]On Behalf Of Ari Huttunen
> Sent: Wednesday, August 06, 2003 12:23 PM
> To: Francis Dupont
> Cc: Tero Kivinen; tomhu@cisco.com; ietf ipsec
> Subject: Re: NAT-T, IKEv2, Vendor ID, port floating??
> 
> 
> I would hesitate to make NAT detection mandatory, just for patenting
> reasons. I'm not saying there is necessarily any problem with that,
> but I remember that detection of a NAT was one thing being claimed by
> an SSH patent application. So, if we assume that there are relatively
> paranoid people out there who are paranoid about the patent issues, they
> wouldn't want NAT detection being mandatory.
> 
> (If that didn't contain enough disclaimers) I would point out that it's
> a long while since I read those patent applications, and I've no idea
> about their current status. Nor do I care about their status.
> 
> Ari
> 

-- 
I play it cool and dig all jive,
  that's the reason I stay alive.
   My motto as I live and learn,
    is dig and be dug in return. <Langston Hughes>

Ari Huttunen                   phone: +358 9 2520 0700
Software Architect             fax  : +358 9 2520 5001

F-Secure Corporation       http://www.F-Secure.com

F(ully)-Secure products: Securing the Mobile Enterprise



From owner-ipsec@lists.tislabs.com  Wed Aug  6 11:30:36 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA21350
	for <ipsec-archive@lists.ietf.org>; Wed, 6 Aug 2003 11:30:36 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id IAA04187
	Wed, 6 Aug 2003 08:38:29 -0400 (EDT)
From: "Yoav Nir" <ynir@CheckPoint.com>
To: "'Ari Huttunen'" <Ari.Huttunen@f-secure.com>,
        "'ietf ipsec'" <ipsec@lists.tislabs.com>
Subject: RE: NAT-T, IKEv2, Vendor ID, port floating??
Date: Wed, 6 Aug 2003 15:43:30 +0200
Message-ID: <00f401c35c20$b9225650$292e1dc2@YnirNew>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2911.0)
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
In-Reply-To: <3F30D712.2040003@f-secure.com>
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk
Content-Transfer-Encoding: 7bit

The minimum support mandated by the draft is to ignore NAT detection.  I
doubt if even the most paranoid would be afraid of SSH suing over ignoring
notification payloads with message type 24582 and 24583.

If we interpret the draft as requiring you to calculate the hash and verify
it, there may be something to worry about, but as long as we agree that
ignoring is acceptable, I don't see the problem with making support
mandatory.  All we want to do is to make sure that even if you don't support
NAT traversal, you won't be unable to interoperate just because the peer
sends the notification.

-----Original Message-----
From: owner-ipsec@lists.tislabs.com
[mailto:owner-ipsec@lists.tislabs.com]On Behalf Of Ari Huttunen
Sent: Wednesday, August 06, 2003 12:23 PM
To: Francis Dupont
Cc: Tero Kivinen; tomhu@cisco.com; ietf ipsec
Subject: Re: NAT-T, IKEv2, Vendor ID, port floating??


I would hesitate to make NAT detection mandatory, just for patenting
reasons. I'm not saying there is necessarily any problem with that,
but I remember that detection of a NAT was one thing being claimed by
an SSH patent application. So, if we assume that there are relatively
paranoid people out there who are paranoid about the patent issues, they
wouldn't want NAT detection being mandatory.

(If that didn't contain enough disclaimers) I would point out that it's
a long while since I read those patent applications, and I've no idea
about their current status. Nor do I care about their status.

Ari



From owner-ipsec@lists.tislabs.com  Wed Aug  6 11:38:07 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA21590
	for <ipsec-archive@lists.ietf.org>; Wed, 6 Aug 2003 11:38:06 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id JAA04468
	Wed, 6 Aug 2003 09:32:46 -0400 (EDT)
Date: Wed, 6 Aug 2003 13:13:55 +0200
From: Markus Friedl <markus@openbsd.org>
To: Francis Dupont <Francis.Dupont@enst-bretagne.fr>
Cc: ietf ipsec <ipsec@lists.tislabs.com>
Subject: Re: NAT-T, IKEv2, Vendor ID, port floating??
Message-ID: <20030806111355.GA8090@folly>
References: <16175.59540.652638.310947@ryijy.hel.fi.ssh.com> <200308060822.h768Mcof025595@givry.rennes.enst-bretagne.fr>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <200308060822.h768Mcof025595@givry.rennes.enst-bretagne.fr>
User-Agent: Mutt/1.4.1i
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

On Wed, Aug 06, 2003 at 10:22:38AM +0200, Francis Dupont wrote:
> => in my idea to make NAT detection mandatory there are two parts:

I don't like the idea of having NAT detection mandatory.

How is it possible to avoid potential NAT-T patent problems?

Especially since nobody seems to know the nature of these
problems.



From owner-ipsec@lists.tislabs.com  Wed Aug  6 12:03:20 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA22335
	for <ipsec-archive@lists.ietf.org>; Wed, 6 Aug 2003 12:03:19 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id JAA04404
	Wed, 6 Aug 2003 09:25:47 -0400 (EDT)
Mime-Version: 1.0
X-Sender: kent@po2.bbn.com
Message-Id: <p05210602bb56b2dc7ceb@[128.89.88.34]>
In-Reply-To: <E19kAsr-0001Cj-00@think.thunk.org>
References: <E19kAsr-0001Cj-00@think.thunk.org>
Date: Wed, 6 Aug 2003 09:29:04 -0400
To: "Theodore Ts'o" <tytso@mit.edu>
From: Stephen Kent <kent@bbn.com>
Subject: Re: Please move  draft-ietf-ipsec-ciph-aes-ccm-04 to publication
 requested
Cc: "Steven M. Bellovin" <smb@research.att.com>, byfraser@cisco.com,
        Tero Kivinen <kivinen@ssh.fi>, angelos@cs.columbia.edu,
        Russ Housley <housley@vigilsec.com>, ipsec@lists.tislabs.com
Content-Type: text/plain; charset="us-ascii" ; format="flowed"
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

At 19:06 -0400 8/5/03, Theodore Ts'o wrote:
>Hi Steve,
>
>draft-ietf-ipsec-ciph-aes-ccm has been updated to address the IKEv2
>specificity problem which Tero raised, and a reference to [CCM] for test
>vectors.   In addition, as 2401bis and ESPbis have been pushed to
>publication requested, it seems appropriate to put this on your queue
>for review and for IETF last call.
>
>Many thanks!!
>
>					- Ted

Ted,

There is an error in the list of documents above.  AH, ESP, and the 
ESN DOI docs are ready to go, but we are still debating 2401bis 
issues in the WG and will be for a while I expect.

Steve


From owner-ipsec@lists.tislabs.com  Wed Aug  6 12:04:27 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA22400
	for <ipsec-archive@lists.ietf.org>; Wed, 6 Aug 2003 12:04:27 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id JAA04487
	Wed, 6 Aug 2003 09:33:51 -0400 (EDT)
Date: Tue, 5 Aug 2003 18:06:57 -0400
From: "Theodore Ts'o" <tytso@mit.edu>
To: ipsec@lists.tislabs.com
Subject: [housley@vigilsec.com: Re: Please move AH, ESP, and ESN drafts to "Publication Requested"]
Message-ID: <20030805220657.GB1994@think>
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="jho1yZJdad60DJr+"
Content-Disposition: inline
User-Agent: Mutt/1.5.4i
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk


--jho1yZJdad60DJr+
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Apologies for forgetting to cc the IPSEC mailing list on the original message.

						- Ted

-- 

--jho1yZJdad60DJr+
Content-Type: message/rfc822
Content-Disposition: inline

MIME-Version: 1.0

Return-Path: <housley@vigilsec.com>
Received: from po14.mit.edu [18.7.21.72]
	by localhost with IMAP (fetchmail-5.9.11)
	for tytso@localhost (single-drop); Tue, 05 Aug 2003 00:30:07 -0400 (EDT)
Received: from po14.mit.edu (po14.mit.edu [18.7.21.72])
	by po14.mit.edu (Cyrus v2.1.5) with LMTP; Mon, 04 Aug 2003 20:46:25 -0400
X-Sieve: CMU Sieve 2.2
Received: from fort-point-station.mit.edu by po14.mit.edu (8.12.4/4.7) id h750kOQ6014806; Mon, 4 Aug 2003 20:46:24 -0400 (EDT)
Received: from woodstock.binhost.com (woodstock.binhost.com [207.228.252.5])
	by fort-point-station.mit.edu (8.12.4/8.9.2) with SMTP id h750hNbN023498
	for <tytso@mit.edu>; Mon, 4 Aug 2003 20:43:23 -0400 (EDT)
Received: (qmail 20101 invoked by uid 0); 5 Aug 2003 00:42:02 -0000
Received: from unknown (HELO Russ-Laptop.vigilsec.com) (66.44.62.139)
  by woodstock.binhost.com with SMTP; 5 Aug 2003 00:42:02 -0000
Message-Id: <5.2.0.9.2.20030804203617.03645e78@mail.binhost.com>
X-Sender: housley@mail.binhost.com
X-Mailer: QUALCOMM Windows Eudora Version 5.2.0.9
Date: Mon, 04 Aug 2003 20:37:49 -0400
To: "Theodore Ts'o" <tytso@mit.edu>
From: Russ Housley <housley@vigilsec.com>
Subject: Re: Please move AH, ESP, and ESN drafts to "Publication
  Requested"
Cc: byfraser@cisco.com, Tero Kivinen <kivinen@ssh.fi>, angelos@cs.columbia.edu,
   "Steven M. Bellovin" <smb@research.att.com>
In-Reply-To: <E19jgnp-00017K-00@think.thunk.org>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed
X-Spam-Score: 0.9
X-Spam-Flag: NO
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)

ACK.

At 10:59 AM 8/4/2003 -0400, Theodore Ts'o wrote:
>Hi Russ,
>
>         The following documents:
>
>                 draft-ietf-ipsec-rfc2402bis-04.txt
>                 draft-ietf-ipsec-esn-addendum-02.txt
>                 draft-ietf-ipsec-esp-v3-06.txt
>
>have gone through working group last call, and have been revised to deal
>with the issues raised during that wg last call process.  No issues
>remain open in the issue tracker for these documents; therefore, if you
>could push the state of these documents to "Publication Requested" and
>put them on your queue to review for IETF Last Call, we would appreciate
>it.
>
>         Many thanks!!
>
>                                                         - Ted

--jho1yZJdad60DJr+--



From owner-ipsec@lists.tislabs.com  Wed Aug  6 12:15:30 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA22807
	for <ipsec-archive@lists.ietf.org>; Wed, 6 Aug 2003 12:15:30 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id JAA04554
	Wed, 6 Aug 2003 09:37:58 -0400 (EDT)
Date: Wed, 06 Aug 2003 17:03:29 +0800
From: wzshi <wzshi@netrd.iii.org.tw>
Subject: about DHCP over IPsec
To: ipsec@lists.tislabs.com
Message-id: <002301c35bf9$9a8b4a70$833c5c8c@NCL.iii.org.tw>
MIME-version: 1.0
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
X-Mailer: Microsoft Outlook, Build 10.0.2627
Content-type: multipart/alternative;
 boundary="Boundary_(ID_aZfRffrnkQcwEvhfTP0yZA)"
Importance: Normal
X-Priority: 3 (Normal)
X-MSMail-priority: Normal
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

This is a multi-part message in MIME format.

--Boundary_(ID_aZfRffrnkQcwEvhfTP0yZA)
Content-type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7BIT

 
Hi :-)
        I have some problem about DHCP over IPsec. I designed a VPN
gateway, and SSH Sentinel is peer. Now I want to add the function of
DHCP over IPsec on this gateway.
        After IKE Phase 1 and Phase 2 success, SSH Sentinel sends DHCP
discover packet.
DHCP server reply DHCP offer packet. Gateway relay these packet between
Sentinel and
DHCP server.
        When Sentinel get DHCP offer packet, it sends ISAKMP information
to delete IPsec
SA. The problem is. RFC wrote that if the client delete SA, client
should initiate the second Quick mode negotiation. But it does not
happen.
        Would you please help me to find what and where it'd go wrong?
       Wish you a good day
       Sincerly,
               W.Z Hsu
 
        Sentinel log as below:
Phase-2 [initiator] done bundle 1 with 2 SA's by rule 23:`ipsec
ipv4(udp:68,[0..3]=140.92.60.131)<->ipv4_subnet(udp:67,[0..7]=0.0.0.0/0)
(gw:ipv4(any:0,[0..3]=140.92.60.100))'
SA ESP[10000001] alg [3des-cbc/24]+hmac[hmac-sha1-96] bundle [1,0] pri 0
opts src=ipv4(udp:68,[0..3]=140.92.60.131)
dst=ipv4_subnet(udp:67,[0..7]=0.0.0.0/0)
SA ESP[842832d6] alg [3des-cbc/24]+hmac[hmac-sha1-96] bundle [1,0] pri 0
opts src=ipv4_subnet(udp:67,[0..7]=0.0.0.0/0)
dst=ipv4(udp:68,[0..3]=140.92.60.131)
0.0.0.0:500 (Initiator) <-> 140.92.60.100:500 QM; Encode packet, version
= 1.0, flags = 0x00000001
0.0.0.0:500 (Initiator) <-> 140.92.60.100:500QM; Sending packet[52] =
0x32bdec80 c1000000 7048e07a d9db0f53 08102001 0d215563 00000034
36623125 13416536 b9f1b028 c1d44a68 c6fc8dff f26a23f2
0.0.0.0:500 (Initiator) <-> 140.92.60.100:500 QM; Connected
0.0.0.0:500 (Initiator) <-> 140.92.60.100:500  Info; Start delete
negotiation
0.0.0.0:500 (Initiator) <-> 140.92.60.100:500  Info; Encode packet,
version = 1.0, flags = 0x00000001
0.0.0.0:500 (Initiator) <-> 140.92.60.100:500Info; Encode HASH: hash[20]
= 0x00000000 00000000 00000000 00000000 00000000
0.0.0.0:500 (Initiator) <-> 140.92.60.100:500 Info; enc->dec IV[8] =
0x8002c370 944bb2e6
0.0.0.0:500 (Initiator) <-> 140.92.60.100:500 Info; Sending packet[68] =
0x32bdec80 c1000000 7048e07a d9db0f53 08100501 96d206b9 00000044
f8bdfdbc 40ffbee7 bafec9d8 63a4f0c0 7f1e0204 f76cd92d bee5e22a 4c34aa01
8002c370 944bb2e6
0.0.0.0:500 (Initiator) <-> 140.92.60.100:500  Info; Deleting
negotiation
DHCP Over IPSEC status: BOUND
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mean?
0.0.0.0:500 (Initiator) <-> 140.92.60.100:500 QM; Restart packet
0.0.0.0:500 (Initiator) <-> 140.92.60.100:500 QM; Version = 1.0, Input
packet fields = 0037 SA KE ID HASH NONCE 
0.0.0.0:500 (Initiator) <-> 140.92.60.100:500 QM; Connected
0.0.0.0:500 (Initiator) <-> 140.92.60.100:500 QM; Deleting negotiation
DHCP Over IPSEC status: ABORTED
 

--Boundary_(ID_aZfRffrnkQcwEvhfTP0yZA)
Content-type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7BIT

 

Hi J

        I have some problem about DHCP over IPsec. I designed a VPN gateway, and SSH Sentinel is peer. Now I want to add the function of DHCP over IPsec on this gateway.

        After IKE Phase 1 and Phase 2 success, SSH Sentinel sends DHCP discover packet.

DHCP server reply DHCP offer packet. Gateway relay these packet between Sentinel and

DHCP server.

        When Sentinel get DHCP offer packet, it sends ISAKMP information to delete IPsec

SA. The problem is. RFC wrote that if the client delete SA, client should initiate the second Quick mode negotiation. But it does not happen.

        Would you please help me to find what and where it'd go wrong?

       Wish you a good day

       Sincerly,

               W.Z Hsu

 

        Sentinel log as below:

Phase-2 [initiator] done bundle 1 with 2 SA's by rule 23:`ipsec ipv4(udp:68,[0..3]=140.92.60.131)<->ipv4_subnet(udp:67,[0..7]=0.0.0.0/0)(gw:ipv4(any:0,[0..3]=140.92.60.100))'

SA ESP[10000001] alg [3des-cbc/24]+hmac[hmac-sha1-96] bundle [1,0] pri 0 opts src=ipv4(udp:68,[0..3]=140.92.60.131) dst=ipv4_subnet(udp:67,[0..7]=0.0.0.0/0)

SA ESP[842832d6] alg [3des-cbc/24]+hmac[hmac-sha1-96] bundle [1,0] pri 0 opts src=ipv4_subnet(udp:67,[0..7]=0.0.0.0/0) dst=ipv4(udp:68,[0..3]=140.92.60.131)

0.0.0.0:500 (Initiator) <-> 140.92.60.100:500 QM; Encode packet, version = 1.0, flags = 0x00000001

0.0.0.0:500 (Initiator) <-> 140.92.60.100:500QM; Sending packet[52] = 0x32bdec80 c1000000 7048e07a d9db0f53 08102001 0d215563 00000034 36623125 13416536 b9f1b028 c1d44a68 c6fc8dff f26a23f2

0.0.0.0:500 (Initiator) <-> 140.92.60.100:500 QM; Connected

0.0.0.0:500 (Initiator) <-> 140.92.60.100:500  Info; Start delete negotiation

0.0.0.0:500 (Initiator) <-> 140.92.60.100:500  Info; Encode packet, version = 1.0, flags = 0x00000001

0.0.0.0:500 (Initiator) <-> 140.92.60.100:500Info; Encode HASH: hash[20] = 0x00000000 00000000 00000000 00000000 00000000

0.0.0.0:500 (Initiator) <-> 140.92.60.100:500 Info; enc->dec IV[8] = 0x8002c370 944bb2e6

0.0.0.0:500 (Initiator) <-> 140.92.60.100:500 Info; Sending packet[68] = 0x32bdec80 c1000000 7048e07a d9db0f53 08100501 96d206b9 00000044 f8bdfdbc 40ffbee7 bafec9d8 63a4f0c0 7f1e0204 f76cd92d bee5e22a 4c34aa01 8002c370 944bb2e6

0.0.0.0:500 (Initiator) <-> 140.92.60.100:500  Info; Deleting negotiation

DHCP Over IPSEC status: BOUND

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mean?

0.0.0.0:500 (Initiator) <-> 140.92.60.100:500 QM; Restart packet

0.0.0.0:500 (Initiator) <-> 140.92.60.100:500 QM; Version = 1.0, Input packet fields = 0037 SA KE ID HASH NONCE 

0.0.0.0:500 (Initiator) <-> 140.92.60.100:500 QM; Connected

0.0.0.0:500 (Initiator) <-> 140.92.60.100:500 QM; Deleting negotiation

DHCP Over IPSEC status: ABORTED

 

--Boundary_(ID_aZfRffrnkQcwEvhfTP0yZA)--

--=====================_162491540==_.ALT
Content-Type: text/html; charset="us-ascii"

Approved: Dob.ipsec
>From majordomo-owner  Wed Aug  6 04:59:26 2003
Received: from netrd (h149-203-70-85.seed.net.tw [203.70.85.149] (may be forged))
        by lists.tislabs.com (8.9.1/8.9.1) with ESMTP id EAA03314
        Wed, 6 Aug 2003 04:59:24 -0400 (EDT)
Received: from cat (131.60.ncl.iii.org.tw [140.92.60.131])
 by netrd.iii.org.tw (iPlanet Messaging Server 5.1 Patch 1 (built Jun  6 2002))
 with ESMTPA id <0HJ6003GZXA6J3@netrd.iii.org.tw> for ipsec@lists.tislabs.com;
 Wed, 06 Aug 2003 17:06:07 +0800 (CST)
Date: Wed, 06 Aug 2003 17:03:29 +0800
From: wzshi <wzshi@netrd.iii.org.tw>
Subject: about DHCP over IPsec
To: ipsec@lists.tislabs.com
Message-id: <002301c35bf9$9a8b4a70$833c5c8c@NCL.iii.org.tw>
MIME-version: 1.0
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
X-Mailer: Microsoft Outlook, Build 10.0.2627
Content-type: multipart/alternative;
 boundary="Boundary_(ID_aZfRffrnkQcwEvhfTP0yZA)"
Importance: Normal
X-Priority: 3 (Normal)
X-MSMail-priority: Normal

This is a multi-part message in MIME format.

--Boundary_(ID_aZfRffrnkQcwEvhfTP0yZA)
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7BIT

 
Hi :-)
        I have some problem about DHCP over IPsec. I designed a VPN
gateway, and SSH Sentinel is peer. Now I want to add the function of
DHCP over IPsec on this gateway.
        After IKE Phase 1 and Phase 2 success, SSH Sentinel sends DHCP
discover packet.
DHCP server reply DHCP offer packet. Gateway relay these packet between
Sentinel and
DHCP server.
        When Sentinel get DHCP offer packet, it sends ISAKMP information
to delete IPsec
SA. The problem is. RFC wrote that if the client delete SA, client
should initiate the second Quick mode negotiation. But it does not
happen.
        Would you please help me to find what and where it'd go wrong?
       Wish you a good day
       Sincerly,
               W.Z Hsu
 
        Sentinel log as below:
Phase-2 [initiator] done bundle 1 with 2 SA's by rule 23:`ipsec
ipv4(udp:68,[0..3]=140.92.60.131)<->ipv4_subnet(udp:67,[0..7]=0.0.0.0/0)
(gw:ipv4(any:0,[0..3]=140.92.60.100))'
SA ESP[10000001] alg [3des-cbc/24]+hmac[hmac-sha1-96] bundle [1,0] pri 0
opts src=ipv4(udp:68,[0..3]=140.92.60.131)
dst=ipv4_subnet(udp:67,[0..7]=0.0.0.0/0)
SA ESP[842832d6] alg [3des-cbc/24]+hmac[hmac-sha1-96] bundle [1,0] pri 0
opts src=ipv4_subnet(udp:67,[0..7]=0.0.0.0/0)
dst=ipv4(udp:68,[0..3]=140.92.60.131)
0.0.0.0:500 (Initiator) <-> 140.92.60.100:500 QM; Encode packet, version
= 1.0, flags = 0x00000001
0.0.0.0:500 (Initiator) <-> 140.92.60.100:500QM; Sending packet[52] =
0x32bdec80 c1000000 7048e07a d9db0f53 08102001 0d215563 00000034
36623125 13416536 b9f1b028 c1d44a68 c6fc8dff f26a23f2
0.0.0.0:500 (Initiator) <-> 140.92.60.100:500 QM; Connected
0.0.0.0:500 (Initiator) <-> 140.92.60.100:500  Info; Start delete
negotiation
0.0.0.0:500 (Initiator) <-> 140.92.60.100:500  Info; Encode packet,
version = 1.0, flags = 0x00000001
0.0.0.0:500 (Initiator) <-> 140.92.60.100:500Info; Encode HASH: hash[20]
= 0x00000000 00000000 00000000 00000000 00000000
0.0.0.0:500 (Initiator) <-> 140.92.60.100:500 Info; enc->dec IV[8] =
0x8002c370 944bb2e6
0.0.0.0:500 (Initiator) <-> 140.92.60.100:500 Info; Sending packet[68] =
0x32bdec80 c1000000 7048e07a d9db0f53 08100501 96d206b9 00000044
f8bdfdbc 40ffbee7 bafec9d8 63a4f0c0 7f1e0204 f76cd92d bee5e22a 4c34aa01
8002c370 944bb2e6
0.0.0.0:500 (Initiator) <-> 140.92.60.100:500  Info; Deleting
negotiation
DHCP Over IPSEC status: BOUND
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mean?
0.0.0.0:500 (Initiator) <-> 140.92.60.100:500 QM; Restart packet
0.0.0.0:500 (Initiator) <-> 140.92.60.100:500 QM; Version = 1.0, Input
packet fields = 0037 SA KE ID HASH NONCE 
0.0.0.0:500 (Initiator) <-> 140.92.60.100:500 QM; Connected
0.0.0.0:500 (Initiator) <-> 140.92.60.100:500 QM; Deleting negotiation
DHCP Over IPSEC status: ABORTED
 

--Boundary_(ID_aZfRffrnkQcwEvhfTP0yZA)
Content-type: text/html; charset=us-ascii
Content-transfer-encoding: 7BIT

 

Hi J

        I have some problem about DHCP over IPsec. I designed a VPN gateway, and SSH Sentinel is peer. Now I want to add the function of DHCP over IPsec on this gateway.

        After IKE Phase 1 and Phase 2 success, SSH Sentinel sends DHCP discover packet.

DHCP server reply DHCP offer packet. Gateway relay these packet between Sentinel and

DHCP server.

        When Sentinel get DHCP offer packet, it sends ISAKMP information to delete IPsec

SA. The problem is. RFC wrote that if the client delete SA, client should initiate the second Quick mode negotiation. But it does not happen.

        Would you please help me to find what and where it'd go wrong?

       Wish you a good day

       Sincerly,

               W.Z Hsu

 

        Sentinel log as below:

Phase-2 [initiator] done bundle 1 with 2 SA's by rule 23:`ipsec ipv4(udp:68,[0..3]=140.92.60.131)<->ipv4_subnet(udp:67,[0..7]=0.0.0.0/0)(gw:ipv4(any:0,[0..3]=140.92.60.100))'

SA ESP[10000001] alg [3des-cbc/24]+hmac[hmac-sha1-96] bundle [1,0] pri 0 opts src=ipv4(udp:68,[0..3]=140.92.60.131) dst=ipv4_subnet(udp:67,[0..7]=0.0.0.0/0)

SA ESP[842832d6] alg [3des-cbc/24]+hmac[hmac-sha1-96] bundle [1,0] pri 0 opts src=ipv4_subnet(udp:67,[0..7]=0.0.0.0/0) dst=ipv4(udp:68,[0..3]=140.92.60.131)

0.0.0.0:500 (Initiator) <-> 140.92.60.100:500 QM; Encode packet, version = 1.0, flags = 0x00000001

0.0.0.0:500 (Initiator) <-> 140.92.60.100:500QM; Sending packet[52] = 0x32bdec80 c1000000 7048e07a d9db0f53 08102001 0d215563 00000034 36623125 13416536 b9f1b028 c1d44a68 c6fc8dff f26a23f2

0.0.0.0:500 (Initiator) <-> 140.92.60.100:500 QM; Connected

0.0.0.0:500 (Initiator) <-> 140.92.60.100:500  Info; Start delete negotiation

0.0.0.0:500 (Initiator) <-> 140.92.60.100:500  Info; Encode packet, version = 1.0, flags = 0x00000001

0.0.0.0:500 (Initiator) <-> 140.92.60.100:500Info; Encode HASH: hash[20] = 0x00000000 00000000 00000000 00000000 00000000

0.0.0.0:500 (Initiator) <-> 140.92.60.100:500 Info; enc->dec IV[8] = 0x8002c370 944bb2e6

0.0.0.0:500 (Initiator) <-> 140.92.60.100:500 Info; Sending packet[68] = 0x32bdec80 c1000000 7048e07a d9db0f53 08100501 96d206b9 00000044 f8bdfdbc 40ffbee7 bafec9d8 63a4f0c0 7f1e0204 f76cd92d bee5e22a 4c34aa01 8002c370 944bb2e6

0.0.0.0:500 (Initiator) <-> 140.92.60.100:500  Info; Deleting negotiation

DHCP Over IPSEC status: BOUND

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mean?

0.0.0.0:500 (Initiator) <-> 140.92.60.100:500 QM; Restart packet

0.0.0.0:500 (Initiator) <-> 140.92.60.100:500 QM; Version = 1.0, Input packet fields = 0037 SA KE ID HASH NONCE 

0.0.0.0:500 (Initiator) <-> 140.92.60.100:500 QM; Connected

0.0.0.0:500 (Initiator) <-> 140.92.60.100:500 QM; Deleting negotiation

DHCP Over IPSEC status: ABORTED

 

--Boundary_(ID_aZfRffrnkQcwEvhfTP0yZA)--

--=====================_162491540==_.ALT--



From owner-ipsec@lists.tislabs.com  Wed Aug  6 13:48:52 2003
Received: from lists.tislabs.com (portal.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id NAA26620
	for <ipsec-archive@lists.ietf.org>; Wed, 6 Aug 2003 13:48:52 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id LAA05427
	Wed, 6 Aug 2003 11:26:45 -0400 (EDT)
Message-Id: <200308061532.h76FWKof026722@givry.rennes.enst-bretagne.fr>
From: Francis Dupont <Francis.Dupont@enst-bretagne.fr>
To: Markus Friedl <markus@openbsd.org>
cc: ietf ipsec <ipsec@lists.tislabs.com>
Subject: Re: NAT-T, IKEv2, Vendor ID, port floating?? 
In-reply-to: Your message of Wed, 06 Aug 2003 13:13:55 +0200.
             <20030806111355.GA8090@folly> 
Date: Wed, 06 Aug 2003 17:32:20 +0200
X-Virus-Scanned: by amavisd-milter (http://amavis.org/) at enst-bretagne.fr
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

 In your previous mail you wrote:

   On Wed, Aug 06, 2003 at 10:22:38AM +0200, Francis Dupont wrote:
   > => in my idea to make NAT detection mandatory there are two parts:
   
   I don't like the idea of having NAT detection mandatory.
   
=> there is the simplest way to get a defense for attacks
on peer addresses. But perhaps you can propose a better one?

   How is it possible to avoid potential NAT-T patent problems?
   
=> IMHO the patent problem is more about NAT-T itself.

Regards

Francis.Dupont@enst-bretagne.fr


From owner-ipsec@lists.tislabs.com  Wed Aug  6 13:57:14 2003
Received: from lists.tislabs.com (portal.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id NAA27119
	for <ipsec-archive@lists.ietf.org>; Wed, 6 Aug 2003 13:57:14 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id LAA05361
	Wed, 6 Aug 2003 11:22:07 -0400 (EDT)
Message-Id: <200308061527.h76FRfof026699@givry.rennes.enst-bretagne.fr>
From: Francis Dupont <Francis.Dupont@enst-bretagne.fr>
To: Ari Huttunen <Ari.Huttunen@f-secure.com>
cc: Tero Kivinen <kivinen@ssh.fi>, tomhu@cisco.com,
        ietf ipsec <ipsec@lists.tislabs.com>
Subject: Re: NAT-T, IKEv2, Vendor ID, port floating?? 
In-reply-to: Your message of Wed, 06 Aug 2003 13:23:14 +0300.
             <3F30D712.2040003@f-secure.com> 
Date: Wed, 06 Aug 2003 17:27:41 +0200
X-Virus-Scanned: by amavisd-milter (http://amavis.org/) at enst-bretagne.fr
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

 In your previous mail you wrote:

   I would hesitate to make NAT detection mandatory, just for patenting
   reasons.

=> I don't believe the NAT detection is patented even if not all
patent applications for trivial things are rejected.

   I'm not saying there is necessarily any problem with that,
   but I remember that detection of a NAT was one thing being claimed by
   an SSH patent application. So, if we assume that there are relatively
   paranoid people out there who are paranoid about the patent issues, they
   wouldn't want NAT detection being mandatory.
   
=> I am not paranoid (about patents or other things) but I'll strongly
object if IKEv2 has no defense against attacks on peer addresses.

   (If that didn't contain enough disclaimers) I would point out that it's
   a long while since I read those patent applications, and I've no idea
   about their current status. Nor do I care about their status.
   
=> this is not at all against you but IMHO there is some FUD about IKEv2
and patent issues. This has to be fixed (if some real patents apply)
or to cease (if none applies).

Regards

Francis.Dupont@enst-bretagne.fr


From owner-ipsec@lists.tislabs.com  Wed Aug  6 14:20:58 2003
Received: from lists.tislabs.com (portal.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA28056
	for <ipsec-archive@lists.ietf.org>; Wed, 6 Aug 2003 14:20:57 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id LAA05559
	Wed, 6 Aug 2003 11:49:15 -0400 (EDT)
X-Authentication-Warning: ryijy.hel.fi.ssh.com: kivinen set sender to kivinen@ssh.fi using -f
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <16177.9445.945148.300588@ryijy.hel.fi.ssh.com>
Date: Wed, 6 Aug 2003 18:55:17 +0300
From: Tero Kivinen <kivinen@ssh.fi>
To: Francis Dupont <Francis.Dupont@enst-bretagne.fr>
Cc: tomhu@cisco.com, ietf ipsec <ipsec@lists.tislabs.com>
Subject: Re: NAT-T, IKEv2, Vendor ID, port floating?? 
In-Reply-To: <200308060831.h768Vlof025620@givry.rennes.enst-bretagne.fr>
References: <16175.59110.776033.269367@ryijy.hel.fi.ssh.com>
	<200308060831.h768Vlof025620@givry.rennes.enst-bretagne.fr>
X-Mailer: VM 7.07 under Emacs 20.7.1
Organization: SSH Communications Security Oy
X-Edit-Time: 2 min
X-Total-Time: 2 min
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk
Content-Transfer-Encoding: 7bit

Francis Dupont writes:
>    Both ends should only enable NAT-T if they have both sent and received
>    NAT_DETECTION_* notifications, and detected that there is NAT between.
>    If the NAT-T is disabled by configuration then the end MUST NOT send
>    NAT_DETECTION_* payloads, because if there is NAT between the other
>    end will enable the NAT-T and there is no way to tell it otherwise. 
> => I don't understand how the second sentence applies to the responder:
> when a NAT is detected and NAT-T not supported or enabled, the IKE
> session has to be dropped before the end of the IKE_AUTH exchange.

It depends on the implementation. If the NAT-T is disabled on the
responder it might not even check the NAT_DETECTION_* notifications
sent by the initiator, thus it might not even notice there is NAT
between. Anyways it MUST not send NAT_DETECTION_* packets back to
initiator if it does not want to allow NAT-T. 

> Not to put NAT_DETECTION_* notifications will enable the initiator
> to send the third message but it is not enough.

It depends. If the NAT is smart enough and there is only one initiator
behind the NAT the ipsec might still work even when NAT-T is disabled. 
-- 
kivinen@ssh.fi
SSH Communications Security                  http://www.ssh.fi/
SSH IPSEC Toolkit                            http://www.ssh.fi/ipsec/


From owner-ipsec@lists.tislabs.com  Wed Aug  6 18:42:49 2003
Received: from lists.tislabs.com (portal.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id SAA08998
	for <ipsec-archive@lists.ietf.org>; Wed, 6 Aug 2003 18:42:48 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id PAA06544
	Wed, 6 Aug 2003 15:35:11 -0400 (EDT)
Message-Id: <200308061940.h76Jeiof027790@givry.rennes.enst-bretagne.fr>
From: Francis Dupont <Francis.Dupont@enst-bretagne.fr>
To: Tero Kivinen <kivinen@ssh.fi>
cc: tomhu@cisco.com, ietf ipsec <ipsec@lists.tislabs.com>
Subject: Re: NAT-T, IKEv2, Vendor ID, port floating?? 
In-reply-to: Your message of Wed, 06 Aug 2003 18:55:17 +0300.
             <16177.9445.945148.300588@ryijy.hel.fi.ssh.com> 
Date: Wed, 06 Aug 2003 21:40:44 +0200
X-Virus-Scanned: by amavisd-milter (http://amavis.org/) at enst-bretagne.fr
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk


 In your previous mail you wrote:

   Francis Dupont writes:
   >    Both ends should only enable NAT-T if they have both sent and received
   >    NAT_DETECTION_* notifications, and detected that there is NAT between.
   >    If the NAT-T is disabled by configuration then the end MUST NOT send
   >    NAT_DETECTION_* payloads, because if there is NAT between the other
   >    end will enable the NAT-T and there is no way to tell it otherwise. 
   > => I don't understand how the second sentence applies to the responder:
   > when a NAT is detected and NAT-T not supported or enabled, the IKE
   > session has to be dropped before the end of the IKE_AUTH exchange.
   
   It depends on the implementation.

=> I forgot to specify I considered enviroments where NATs are not smart
and there can be more than one initiator behind, i.e., as we have a
NAT-T mechanism, I considered things work with a NAT only when NAT-T
is used.

   If the NAT-T is disabled on the responder it might not even check
   the NAT_DETECTION_* notifications sent by the initiator, thus it
   might not even notice there is NAT between.

=> I'd like the responder always notices because either there is a
real NAT and NAT-T is needed, or there is an attacker playing NAT
and I'd like to know this.

   Anyways it MUST not send NAT_DETECTION_* packets back to
   initiator if it does not want to allow NAT-T. 
   
=> this MUST is not in the document so at least we should agree
something important is not in the document.

   > Not to put NAT_DETECTION_* notifications will enable the initiator
   > to send the third message but it is not enough.
   
   It depends. If the NAT is smart enough and there is only one initiator
   behind the NAT the ipsec might still work even when NAT-T is disabled. 

=> I don't believe in this case: we have a nice NAT-T mechanism which
works in all cases.

Thanks

Francis.Dupont@enst-bretagne.fr


From owner-ipsec@lists.tislabs.com  Thu Aug  7 04:26:48 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id EAA04271
	for <ipsec-archive@lists.ietf.org>; Thu, 7 Aug 2003 04:26:48 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id BAA08576
	Thu, 7 Aug 2003 01:33:40 -0400 (EDT)
X-Authentication-Warning: ryijy.hel.fi.ssh.com: kivinen set sender to kivinen@ssh.fi using -f
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <16177.58907.284022.304385@ryijy.hel.fi.ssh.com>
Date: Thu, 7 Aug 2003 08:39:39 +0300
From: Tero Kivinen <kivinen@ssh.fi>
To: Francis Dupont <Francis.Dupont@enst-bretagne.fr>
Cc: tomhu@cisco.com, ietf ipsec <ipsec@lists.tislabs.com>
Subject: Re: NAT-T, IKEv2, Vendor ID, port floating?? 
In-Reply-To: <200308061940.h76Jeiof027790@givry.rennes.enst-bretagne.fr>
References: <16177.9445.945148.300588@ryijy.hel.fi.ssh.com>
	<200308061940.h76Jeiof027790@givry.rennes.enst-bretagne.fr>
X-Mailer: VM 7.07 under Emacs 20.7.1
Organization: SSH Communications Security Oy
X-Edit-Time: 3 min
X-Total-Time: 3 min
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk
Content-Transfer-Encoding: 7bit

Francis Dupont writes:
>    Anyways it MUST not send NAT_DETECTION_* packets back to
>    initiator if it does not want to allow NAT-T. 
> => this MUST is not in the document so at least we should agree
> something important is not in the document.

The current document is missing pieces of the NAT-T text. There have
been text proposed to be added, so I am currently waiting for the next
version of the ikev2 document to see if we still need more text there
or not... I will comment this more when the next version is out, and I
can see what is already added there, and how it was added. 

>    > Not to put NAT_DETECTION_* notifications will enable the initiator
>    > to send the third message but it is not enough.
>    It depends. If the NAT is smart enough and there is only one initiator
>    behind the NAT the ipsec might still work even when NAT-T is disabled. 
> => I don't believe in this case: we have a nice NAT-T mechanism which
> works in all cases.

If the adminstrator decided to disable NAT-T then we have two options,
either we fail immediately always when there is NAT between (your
option), or we just try to see if it works through the NAT without
NAT-T (I said we should leave this option also open). If it does not
work through the NAT and adminstrator has disabled the NAT-T, then
we are going to fail later anyways. 
-- 
kivinen@ssh.fi
SSH Communications Security                  http://www.ssh.fi/
SSH IPSEC Toolkit                            http://www.ssh.fi/ipsec/


From owner-ipsec@lists.tislabs.com  Thu Aug  7 14:18:10 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA25195
	for <ipsec-archive@lists.ietf.org>; Thu, 7 Aug 2003 14:18:10 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id LAA10689
	Thu, 7 Aug 2003 11:11:52 -0400 (EDT)
Message-Id: <200308071356.JAA12606@ietf.org>
Mime-Version: 1.0
Content-Type: Multipart/Mixed; Boundary="NextPart"
To: IETF-Announce: ;
Cc: ipsec@lists.tislabs.com
From: Internet-Drafts@ietf.org
Reply-to: Internet-Drafts@ietf.org
Subject: I-D ACTION:draft-ietf-ipsec-nat-reqts-05.txt
Date: Thu, 07 Aug 2003 09:56:22 -0400
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

--NextPart

A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the IP Security Protocol Working Group of the IETF.

	Title		: IPsec-NAT Compatibility Requirements
	Author(s)	: B. Aboba, W. Dixon
	Filename	: draft-ietf-ipsec-nat-reqts-05.txt
	Pages		: 17
	Date		: 2003-8-7
	
Perhaps the most common use of IPsec is in providing virtual private
networking capabilities. One very popular use of VPNs is to provide
telecommuter access to the corporate Intranet.  Today NATs are widely
deployed in home gateways, as well as in other locations likely to be
used by telecommuters, such as hotels. The result is that IPsec-NAT
incompatibilities have become a major barrier to deployment of IPsec in
one of its principal uses. This draft describes known incompatibilities
between NAT and IPsec, and describes the requirements for addressing
them.

A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-ietf-ipsec-nat-reqts-05.txt

To remove yourself from the IETF Announcement list, send a message to 
ietf-announce-request with the word unsubscribe in the body of the message.

Internet-Drafts are also available by anonymous FTP. Login with the username
"anonymous" and a password of your e-mail address. After logging in,
type "cd internet-drafts" and then
	"get draft-ietf-ipsec-nat-reqts-05.txt".

A list of Internet-Drafts directories can be found in
http://www.ietf.org/shadow.html 
or ftp://ftp.ietf.org/ietf/1shadow-sites.txt


Internet-Drafts can also be obtained by e-mail.

Send a message to:
	mailserv@ietf.org.
In the body type:
	"FILE /internet-drafts/draft-ietf-ipsec-nat-reqts-05.txt".
	
NOTE:	The mail server at ietf.org can return the document in
	MIME-encoded form by using the "mpack" utility.  To use this
	feature, insert the command "ENCODING mime" before the "FILE"
	command.  To decode the response(s), you will need "munpack" or
	a MIME-compliant mail reader.  Different MIME-compliant mail readers
	exhibit different behavior, especially when dealing with
	"multipart" MIME messages (i.e. documents which have been split
	up into multiple messages), so check your local documentation on
	how to manipulate these messages.
		
		
Below is the data which will enable a MIME compliant mail reader
implementation to automatically retrieve the ASCII version of the
Internet-Draft.

--NextPart
Content-Type: Multipart/Alternative; Boundary="OtherAccess"

--OtherAccess
Content-Type: Message/External-body;
	access-type="mail-server";
	server="mailserv@ietf.org"

Content-Type: text/plain
Content-ID:	<2003-8-7091238.I-D@ietf.org>

ENCODING mime
FILE /internet-drafts/draft-ietf-ipsec-nat-reqts-05.txt

--OtherAccess
Content-Type: Message/External-body;
	name="draft-ietf-ipsec-nat-reqts-05.txt";
	site="ftp.ietf.org";
	access-type="anon-ftp";
	directory="internet-drafts"

Content-Type: text/plain
Content-ID:	<2003-8-7091238.I-D@ietf.org>

--OtherAccess--

--NextPart--



From owner-ipsec@lists.tislabs.com  Mon Aug 11 13:15:10 2003
Received: from lists.tislabs.com (portal.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id NAA24243
	for <ipsec-archive@lists.ietf.org>; Mon, 11 Aug 2003 13:15:10 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id JAA27372
	Mon, 11 Aug 2003 09:48:59 -0400 (EDT)
From: Charlie_Kaufman@notesdev.ibm.com
To: ipsec@lists.tislabs.com
Subject: New IKEv2 draft -09
MIME-Version: 1.0
X-Mailer: Lotus Notes Build V602_05062003 May 06, 2003
Message-ID: <OF4E275C54.2A468ED7-ON85256D7E.007CF00E-85256D7E.007DE324@notesdev.ibm.com>
Date: Sun, 10 Aug 2003 18:53:43 -0400
X-MIMETrack: Serialize by Router on Ace/Iris(Release 6.0.2CF2|July 23, 2003) at 08/10/2003
 06:55:01 PM,
	Serialize complete at 08/10/2003 06:55:01 PM
Content-Type: multipart/alternative; boundary="=_alternative 007D585885256D7E_="
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

This is a multipart message in MIME format.
--=_alternative 007D585885256D7E_=
Content-Type: text/plain; charset="US-ASCII"

I have posted a new version of the IKEv2 draft that I believe reflects the 
comments received during last call and the issues on the
https://roundup.machshav.com/ site. I copied Paul Hoffman in hopes that he 
would post it on his site more quickly than the I-D editor could process 
it.

        --Charlie

--=_alternative 007D585885256D7E_=
Content-Type: text/html; charset="US-ASCII"


<br><font size=2 face="sans-serif">I have posted a new version of the IKEv2
draft that I believe reflects the comments received during last call and
the issues on the</font><font size=2><tt>https://roundup.machshav.com/
site. I copied Paul Hoffman in hopes that he would post it on his site
more quickly than the I-D editor could process it.</tt></font>
<br>
<br><font size=2><tt>&nbsp; &nbsp; &nbsp; &nbsp; --Charlie<br>
</tt></font>
--=_alternative 007D585885256D7E_=--



From owner-ipsec@lists.tislabs.com  Mon Aug 11 13:37:35 2003
Received: from lists.tislabs.com (portal.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id NAA25174
	for <ipsec-archive@lists.ietf.org>; Mon, 11 Aug 2003 13:37:35 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id KAA27564
	Mon, 11 Aug 2003 10:44:26 -0400 (EDT)
Message-ID: <3F37AD6A.4060500@americasm06.nt.com>
Date: Mon, 11 Aug 2003 10:51:22 -0400
X-Sybari-Space: 00000000 00000000 00000000 00000000
From: "Lakshminath Dondeti" <ldondeti@nortelnetworks.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Charlie_Kaufman@notesdev.ibm.com
CC: ipsec@lists.tislabs.com, paul.hoffman@vpnc.org
Subject: Re: transform type 5 in ui-suites-03
References: <OFA0D9AF6C.AD166060-ON85256D7E.00704F55-85256D7E.0074D11A@notesdev.ibm.com>
In-Reply-To: <OFA0D9AF6C.AD166060-ON85256D7E.00704F55-85256D7E.0074D11A@notesdev.ibm.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk
Content-Transfer-Encoding: 7bit

The current version (option 2 below) is fine (except for not leaving '0' 
as RESERVED, as in the other transform types!).  

However, the ui-suites I-D needs to be corrected accordingly, i.e., 
VPN-A proposal needs to send ESN=0 as part of the transforms.

regards,
Lakshminath

Charlie_Kaufman@notesdev.ibm.com wrote:

>
>
> Lakshminath Dondeti wrote on 08/04/2003 02:46:39 PM:
> > Hi,
> >
> > Why is transform type 5 (Extended Sequence Numbers) excluded from Suite
> > definitions in the ui-suites I-D?
> >
> > IKEv2-08 says "If Transform Type 5 is not included in a proposal, 
> use of
> > Extended Sequence Numbers is assumed."   Thus a VPN-A proposal needs to
> > send ESN=0 as part of the transforms.
> >
> > Thanks in advance for any insight into this.
> >
> > regards,
> > Lakshminath
> >
>
> I agree that the current wording of the IKEv2 spec implies that any 
> proposal
> that excludes use of ESNs requires a Transform Type 5 w/ESN=0 to be 
> included.
>
> I worded it the way I did because I assumed that going forward use of 
> Extended
> Sequence Numbers would likely become universal and that therefore 
> using them
> would be the right default (and have the shorter encoding).
>
> The alternatives are:
>
> 1) Require that transform type 5 (ESN) always be provided in a 
> proposal for
> ESP or AH.
>
> 2) Allow it to be specified, but choose a default value that is 
> implied and
> allow the transform to be omitted if only the default is proposed. (This
> is the current wording).
>
> 3) Allow it to be specified, but choose a default value that is 
> implied and
> *require* the transform to be omitted if only the default is proposed.
>
> The trade-offs involve a minimal amount of complexity in proposal 
> generation
> and parsing and 4 bytes on the wire in each direction. I don't believe 
> any
> of the arguments is very strong, and wrote the current text after 
> flipping
> a (virtual) three sided coin.
>
> But perhaps others see this differently (or perhaps the text does not
> express what I think it does).
>
>         --Charlie 




From owner-ipsec@lists.tislabs.com  Mon Aug 11 14:20:12 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA27068
	for <ipsec-archive@lists.ietf.org>; Mon, 11 Aug 2003 14:20:12 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id JAA27386
	Mon, 11 Aug 2003 09:50:02 -0400 (EDT)
From: Charlie_Kaufman@notesdev.ibm.com
In-Reply-To: <541402FFDC56DA499E7E13329ABFEA8701EA9325@SARATOGA.netscreen.com>
To: Gregory Lebovitz <Gregory@netscreen.com>
Cc: Francis Dupont <Francis.Dupont@enst-bretagne.fr>,
        ipsec mailingList <ipsec@lists.tislabs.com>
Subject: RE: Q: EAP Message Format
MIME-Version: 1.0
X-Mailer: Lotus Notes Build V602_05062003 May 06, 2003
Message-ID: <OFD33302E7.43401E2B-ON85256D7F.000B2AB6-85256D7F.0016F2F8@notesdev.ibm.com>
Date: Mon, 11 Aug 2003 00:09:21 -0400
X-MIMETrack: Serialize by Router on Ace/Iris(Release 6.0.2CF2|July 23, 2003) at 08/11/2003
 12:24:51 AM,
	Serialize complete at 08/11/2003 12:24:51 AM
Content-Type: multipart/alternative; boundary="=_alternative 000B8BA685256D7F_="
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

This is a multipart message in MIME format.
--=_alternative 000B8BA685256D7F_=
Content-Type: text/plain; charset="US-ASCII"

Oops.

After submitting -09, I'm cleaning up my files and discovered that this 
change never made it to the issue tracker and never made it to the draft. 
The one word change s/types/codes/ fixes a typo. I've put it in my source 
so if there is another revision it will get in. If there isn't, I doubt it 
will be the most dire typo that sneaks through.

Sorry.

        --Charlie

Gregory Lebovitz <Gregory@netscreen.com> wrote on 07/14/2003 03:13:41 PM:
> so, Francis and Charlie, will your suggested change to the text be made 
in
> the -09?
> 
> > -----Original Message-----
> > From: Francis Dupont [mailto:Francis.Dupont@enst-bretagne.fr]
> > Sent: Wednesday, July 09, 2003 1:13 AM
> > To: Ricky Charlet
> > Cc: ipsec mailingList
> > Subject: Re: Q: EAP Message Format 
> > 
> > 
> >  In your previous mail you wrote:
> > 
> >       So, as currently specified in draft-08, the length 
> > field of the EAP 
> >    message format may be either 2 or 4 bytes depending upon the type.
> > 
> > => no, the text in the draft is buggy but is simpler than 
> > your proposal.
> > Current text is:
> > 
> >    o  Type (one octet) is present only if the Code field is Request
> >       (1) or Response (2). For other types, the EAP message length
> >       MUST be four octets and the Type and Type_Data fields MUST NOT
> >       be present. ...
> > 
> > The fixed text should be:
> > 
> >    o  Type (one octet) is present only if the Code field is Request
> >       (1) or Response (2). For other codes, the EAP message length
> >                                      ^^^^^
> >       MUST be four octets and the Type and Type_Data fields MUST NOT
> >       be present. ...
> > 
> > So if the code is not Request or Response the length field 
> > *value* is 4
> > and there is nothing after the length field.
> > 
> > Regards
> > 
> > Francis.Dupont@enst-bretagne.fr
> > 

--=_alternative 000B8BA685256D7F_=
Content-Type: text/html; charset="US-ASCII"


<br><font size=2 face="sans-serif">Oops.</font>
<br>
<br><font size=2 face="sans-serif">After submitting -09, I'm cleaning up
my files and discovered that this change never made it to the issue tracker
and never made it to the draft. The one word change s/types/codes/ fixes
a typo. I've put it in my source so if there is another revision it will
get in. If there isn't, I doubt it will be the most dire typo that sneaks
through.</font>
<br>
<br><font size=2 face="sans-serif">Sorry.</font>
<br>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; --Charlie</font>
<br>
<br><font size=2><tt>Gregory Lebovitz &lt;Gregory@netscreen.com&gt; wrote
on 07/14/2003 03:13:41 PM:<br>
&gt; so, Francis and Charlie, will your suggested change to the text be
made in<br>
&gt; the -09?<br>
&gt; <br>
&gt; &gt; -----Original Message-----<br>
&gt; &gt; From: Francis Dupont [mailto:Francis.Dupont@enst-bretagne.fr]<br>
&gt; &gt; Sent: Wednesday, July 09, 2003 1:13 AM<br>
&gt; &gt; To: Ricky Charlet<br>
&gt; &gt; Cc: ipsec mailingList<br>
&gt; &gt; Subject: Re: Q: EAP Message Format <br>
&gt; &gt; <br>
&gt; &gt; <br>
&gt; &gt; &nbsp;In your previous mail you wrote:<br>
&gt; &gt; <br>
&gt; &gt; &nbsp; &nbsp; &nbsp; So, as currently specified in draft-08,
the length <br>
&gt; &gt; field of the EAP <br>
&gt; &gt; &nbsp; &nbsp;message format may be either 2 or 4 bytes depending
upon the type.<br>
&gt; &gt; <br>
&gt; &gt; =&gt; no, the text in the draft is buggy but is simpler than
<br>
&gt; &gt; your proposal.<br>
&gt; &gt; Current text is:<br>
&gt; &gt; <br>
&gt; &gt; &nbsp; &nbsp;o &nbsp;Type (one octet) is present only if the
Code field is Request<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; (1) or Response (2). For other types, the
EAP message length<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; MUST be four octets and the Type and Type_Data
fields MUST NOT<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; be present. ...<br>
&gt; &gt; <br>
&gt; &gt; The fixed text should be:<br>
&gt; &gt; <br>
&gt; &gt; &nbsp; &nbsp;o &nbsp;Type (one octet) is present only if the
Code field is Request<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; (1) or Response (2). For other codes, the
EAP message length<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;^^^^^<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; MUST be four octets and the Type and Type_Data
fields MUST NOT<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; be present. ...<br>
&gt; &gt; <br>
&gt; &gt; So if the code is not Request or Response the length field <br>
&gt; &gt; *value* is 4<br>
&gt; &gt; and there is nothing after the length field.<br>
&gt; &gt; <br>
&gt; &gt; Regards<br>
&gt; &gt; <br>
&gt; &gt; Francis.Dupont@enst-bretagne.fr<br>
&gt; &gt; <br>
</tt></font>
--=_alternative 000B8BA685256D7F_=--



From owner-ipsec@lists.tislabs.com  Mon Aug 11 17:16:03 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA06765
	for <ipsec-archive@lists.ietf.org>; Mon, 11 Aug 2003 17:16:03 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id OAA28477
	Mon, 11 Aug 2003 14:07:48 -0400 (EDT)
Message-ID: <3F37DD33.8030604@isi.edu>
Date: Mon, 11 Aug 2003 11:15:15 -0700
From: Joe Touch <touch@ISI.EDU>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030529
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Mark Duffy <mduffy@quarrytech.com>
CC: Stephen Kent <kent@bbn.com>, ipsec@lists.tislabs.com
Subject: Re: revised IPsec processing model
References: <p05210605bb5490d4bea5@[128.89.88.34]> <5.2.0.9.0.20030724113200.01feed80@email> <p05210613bb4db57e16c7@[128.89.89.75]> <3F2EC3DC.6010803@isi.edu> <p05210602bb5476a89c38@[128.89.88.34]> <3F2EC97D.5050800@isi.edu> <p05210605bb5490d4bea5@[128.89.88.34]> <5.2.0.9.0.20030804231150.01e39840@localhost>
In-Reply-To: <5.2.0.9.0.20030804231150.01e39840@localhost>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk
Content-Transfer-Encoding: 7bit



Mark Duffy wrote:

> Hi all,
> 
> I'm a bit mystified about this line of discussion.  The change that 
> Steve has proposed in the processing model is IMO a clarification (in 
> that the packet forwarding decision that takes place in an IP device is 
> explicitly recognized) and a generalization (in that it recognizes that 
> an implementation *may* make more than one "forwarding" decision on a 
> packet, an implementation *may* pass a packet through more than one SPD 
> and IPsec treatment, and the "forwarding" function used is beyond the 
> scope of IPsec.)  There is nothing in this that *requires* any 
> implementation to take advantage of any of that.  So I would expect that 
> if the RFC 2401 model is sufficient for a given purpose, the proposed 
> one should be also.  No?

This "clarification" highlights an undesirable interaction between 
dynamic routing and IPsec. While we wouldn't want that interaction to be 
'required', highlighting it alone is insufficient if the interaction has 
undesirable consequences.

> There is always the risk of misconfiguring the device (any configurable 
> IPsec device) and thereby compromising security. 

Agreed; however, what we've been talking about is a properly configured 
device. Unless

	a) all tunnels with overlapping traffic selectors must have
	identical security

	or

	b) IPsec is not run in conjunction with dynamic routing

 > I agree that as
> flexibility of a device goes up (e.g. from 1 SPD per box to one per 
> interface, or to more complex behaviors) the risk of misconfiguration 
> generally goes up.  But the benefits of using the device also go up.  
> This tradeoff between functionality and risk is for those deploying 
> equipment to make.  (Obviously, anyone would be ill-advised to 
> manufacture or deploy devices that perform improperly as with the 
> hypothetical race conditions described below.)

These 'race' conditions are the result of normal operation, not 
misconfiguration or misimplementation.

Joe


> At 04:39 PM 8/4/2003 -0700, Joe Touch wrote:
> 
> 
>> Stephen Kent wrote:
>>
>>> At 14:00 -0700 8/4/03, Joe Touch wrote:
>>>
>>>> One other question:
>>>>
>>>> What happens to packets when the IPsec-time forwarding lookup 
>>>> differs from the forwarding that actually happens when the packet 
>>>> would be emitted?
>>>>
>>>> I.e., it seems possible that if I had weak or no encryption on one 
>>>> link, that it might be possible to leak such packets out onto a link 
>>>> that I needed strong protection on. If this is not the case, a 
>>>> specific example would help.
>>>
>>> If I understand correctly, your concern is that there could be a 
>>> mismatch between an SPD lookup that maps a packet to a interface that 
>>> is deemed implicitly secure and thus does not warrant IPsec 
>>> protection, but a later forwarding decision that puts the packet out 
>>> over a link that does warrant protection.  Is that right?
>>
>>
>> Yes.
>>
>>> I certainly agree that this would be a "bad thing" and one must 
>>> configure the SPDs and the forwarding tables to avoid the problem.
>>
>>
>> IPsec can have no control over the forwarding tables.
>>
>> Other than ensuring that one can -never- configure two tunnels with 
>> one being weaker, there doesn't seem to be a solution that is 
>> enforceable within IPsec using this architecture.
>>
>>> If we allow the first forwarding table to select the appropriate SPD, 
>>> then we have to rely on that forwarding function to operate 
>>> correctly, IF we allow any sensitive traffic to be emitted without 
>>> IPsec protection on ANY link.
>>
>>
>> I'm considering a case where the forwarding table isn't malicious; the 
>> trick is that this model (using forwarding inside IPsec) requires that 
>> there be a lock between doing a forwarding lookup and emitting the 
>> packet.
>>
>> A forwarding table must be able to change, e.g., that's the definition 
>> of dynamic routing.
>>
>>> Otherwise, the first forwarding lookup could map the traffic to an 
>>> SPD that allowed bypass such traffic for a specific interface, but 
>>> then the traffic could be emitted via a different interface, thus 
>>> defeating the intent of the policy specification.
>>
>>
>> That's the problem I'm worried about.
>>
>>> Also, if the SPD does allow bypassing of any sensitive traffic, then 
>>> the post IPsec processing forwarding lookup also must function 
>>> properly, lest the same bad effect take place despite the correct 
>>> functioning of the first lookup (and the correct config of the 
>>> corresponding SPD).
>>
>>
>> Aggred - but again, it's not malicious behavior, but normal operation 
>> that might cause this.
>>
>>> Frankly, this is why I worry about anything other than the trivial 
>>> case with one SPD and no per-interface distinctions about what 
>>> classes of traffic to protect.  If the WG feels that we do not 
>>> require per-interface SPDs, as Mark suggested, I am happy to make 
>>> that change. But I note that Mark did call for multiple SPDs (just 
>>> not tied to an interface by the first forwarding function), and I see 
>>> the same opportunity for security problems due to lookup errors in 
>>> that case as well.
>>
>>
>> Agreed. Note that this is not a problem with the solution we propose, 
>> because the routing table is involved exactly once for each packet for 
>> us.
>>
>>> I think the fundamental problem here is the opportunity to emit 
>>> traffic without appropriate protection, due to a mismatch between 
>>> what an SPD says and what a forwarding function does.  This is 
>>> ultimately a config management problem, made worse by a desire to 
>>> support fancier access controls and fancier forwarding options.
>>
>>
>> Agreed - except that, as above, I don't see how to configure dynamic 
>> routing except across two _identically protected_ tunnels. That is a 
>> requirement that severely limits the utility of such a solution, IMO.
>>
>> Joe



From owner-ipsec@lists.tislabs.com  Mon Aug 11 17:17:07 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA06810
	for <ipsec-archive@lists.ietf.org>; Mon, 11 Aug 2003 17:17:07 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id OAA28449
	Mon, 11 Aug 2003 14:00:56 -0400 (EDT)
Message-ID: <3F37DB9B.5010601@isi.edu>
Date: Mon, 11 Aug 2003 11:08:27 -0700
From: Joe Touch <touch@ISI.EDU>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030529
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Stephen Kent <kent@bbn.com>
CC: Mark Duffy <mduffy@quarrytech.com>, ipsec@lists.tislabs.com
Subject: Re: revised IPsec processing model
References: <5.2.0.9.0.20030724113200.01feed80@email> <p05210613bb4db57e16c7@[128.89.89.75]> <3F2EC3DC.6010803@isi.edu> <p05210602bb5476a89c38@[128.89.88.34]> <3F2EC97D.5050800@isi.edu> <p05210605bb5490d4bea5@[128.89.88.34]> <3F2EEEB2.5030109@isi.edu> <p05210603bb5563deac67@[128.89.88.34]>
In-Reply-To: <p05210603bb5563deac67@[128.89.88.34]>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk
Content-Transfer-Encoding: 7bit

Stephen Kent wrote:

> At 16:39 -0700 8/4/03, Joe Touch wrote:
> 
>> Stephen Kent wrote:
>>
>>> At 14:00 -0700 8/4/03, Joe Touch wrote:
>>>
>>>> One other question:
>>>>
>>>> What happens to packets when the IPsec-time forwarding lookup 
>>>> differs from the forwarding that actually happens when the packet 
>>>> would be emitted?
>>>>
>>>> I.e., it seems possible that if I had weak or no encryption on one 
>>>> link, that it might be possible to leak such packets out onto a link 
>>>> that I needed strong protection on. If this is not the case, a 
>>>> specific example would help.
>>>
>>>
>>> If I understand correctly, your concern is that there could be a 
>>> mismatch between an SPD lookup that maps a packet to a interface that 
>>> is deemed implicitly secure and thus does not warrant IPsec 
>>> protection, but a later forwarding decision that puts the packet out 
>>> over a link that does warrant protection.  Is that right?
>>
>>
>> Yes.
>>
>> I certainly agree that this would be a "bad thing" and one must 
>> configure the SPDs and the forwarding tables to avoid the problem.
>>
>> IPsec can have no control over the forwarding tables.
> 
> I cam see how you might come to that conclusion in some contexts, but it 
> certainly is not true in all contexts. For example, some vendors of BITW 
> and SG IPsec products provide a unified management interface that allows 
> a sys admin to configure the forwarding tables and the SPDs together, to 
> avoid the sort of problems we both agree are a concern.

An implementation may certainly control both the SPDs and forwarding
tables in concert. However, short of specifying that in 2401bis, it
would not be required, and thus open a substantial security hole.

>> Other than ensuring that one can -never- configure two tunnels with 
>> one being weaker, there doesn't seem to be a solution that is 
>> enforceable within IPsec using this architecture.
> 
> This is definitely not true, as stated.  What I think you mean to say is
> that IF we specify two or more entries in multiple SPDs for the same 
> class of traffic (e.g., the same selector sets) 

That's assumed when we're talking about dynamic routing; otherwise, the
traffic doesn't go out two different SAs depending on the routing table ;-)

> AND they have different 
> security properties (e.g., IPsec protection vvs. bypass) THEN an error 
> in the lookup that selects an SPD (and virtual interface) or in the 
> lookup that selects the ultimate outbound interface, could result in a 
> security breach.

The remainder is basically what I said. And (again) this isn't an
'error'; it's normal operation _whenever_ the routing table changes
under constant packet load.

> But, to get into this situation we have to have several
> precursor conditions satisfied, and I expect that in many environments 
> the configurations will not be so complex as to facilitate these sorts 
> of problems.

I believe I have given an entirely reasonable set of configurations that
are desired for those using dynamic routing. It would rarely be the case
that two alternate forwarding tunnels would have _exactly_ the same
security properties.

>>> If we allow the first forwarding table to select the appropriate SPD, 
>>> then we have to rely on that forwarding function to operate 
>>> correctly, IF we allow any sensitive traffic to be emitted without 
>>> IPsec protection on ANY link.
>>
>> I'm considering a case where the forwarding table isn't malicious; the 
>> trick is that this model (using forwarding inside IPsec) requires that 
>> there be a lock between doing a forwarding lookup and emitting the 
>> packet.
>>
>> A forwarding table must be able to change, e.g., that's the definition 
>> of dynamic routing.
> 
> But not all routing is dynamic.

Agreed. If the proposed solution is limited to static routing
environments, sure, fine - there's still the issue of the missing 
next-hop info (which hasn't been addressed yet), but no  issue of 
leakage. However all my issues with this solution have presumed
the primary reason for its use, or at least a major reason, is to
support dynamic routing.

...
...
>> Aggred - but again, it's not malicious behavior, but normal operation 
>> that might cause this.
> 
> If normal behavior in common circumstances would cause this to happen, 
> then the configuration is inherently insecure. 

Or the mechanism. ;-)

> If that possibility can 
> be detected by a config admin tool, then the admin can be warned.

That puts the reliability of security in a tool that needs to look at
more than the SPD, i.e., confirming that IPsec isn't a 'closed bottle'.

>>> Frankly, this is why I worry about anything other than the trivial 
>>> case with one SPD and no per-interface distinctions about what 
>>> classes of traffic to protect.  If the WG feels that we do not 
>>> require per-interface SPDs, as Mark suggested, I am happy to make 
>>> that change. But I note that Mark did call for multiple SPDs (just 
>>> not tied to an interface by the first forwarding function), and I see 
>>> the same opportunity for security problems due to lookup errors in 
>>> that case as well.
>>
>>
>> Agreed. Note that this is not a problem with the solution we propose, 
>> because the routing table is involved exactly once for each packet for 
>> us.
> 
> I don't see how this problem is avoidable in any context where you 
> maintain that a table used for forwarding is outside the scope of the 
> security boundary.  Could you elaborate, without merely referring to 
> your ID?

In our solution, a packet A is forwarded to an encapsulation interface
where it is wrapped B(A) and the result [header=B] is indexed in an SPD
and the result is forwarded.

Dynamic routing, in this case, determines whether A is wrapped with B or
another header (e.g., C). The encryption step - whether involving
routing lookups to resolve the SPD or not - relies on routing table 
entries and SPD entries that are, by _construction_, static, _even in a 
dynamically-routed environment_ (the entries at issue are internal to 
the node, by the way in which we create 'tunneled IPsec traffic' - see 
our ID for those details).

It seems easier to control the interaction between forwarding and IPsec
in the above, notably because dynamic routing would affect only the A->B 
or A->C step.

And as a result, typical changes in the dynamic routing do not affect
whether packets using different paths could go to the incorrect next-hop.

Note that under this solution:

	1. the routing table doesn't determine security policy,
	only IPsec does

	2. correct configuration of the tunnels _does_ involve
	coordianted configuration of the encapsulation and
	encryption steps, but isn't compromised by expected
	routing table changes

>>> I think the fundamental problem here is the opportunity to emit 
>>> traffic without appropriate protection, due to a mismatch between 
>>> what an SPD says and what a forwarding function does.  This is 
>>> ultimately a config management problem, made worse by a desire to 
>>> support fancier access controls and fancier forwarding options.
>>
>>
>> Agreed - except that, as above, I don't see how to configure dynamic 
>> routing except across two _identically protected_ tunnels. That is a 
>> requirement that severely limits the utility of such a solution, IMO.
> 
> First, we probably do not agree on the extent to which dynamic routing 
> is always going to be a factor here. 

Agreed. We're certainly focusing on support for dynamic routing, or at
least the impact of dynamic routing on any IPsec configuration. The key
issue is that dynamic routing is often enabled independently of IPsec;
coupling them together and describing the constraints is, I believe, a
significant issue that probably warrants a separate document (e.g, our
ID ;-)

However, if your proposed solution precludes dynamic routing altogether, 
it may not be a viable alternative.

> Second, there are means to provide 
> security for routing data. For example, in high assurance contexts where 
> IPsec-like protection is to be employed, it is appropriate to use S-BGP 
> to ensure that the ability to advertise prefixes for the hosts "behind" 
> a security device is done securely, i.e., the advertisements are 
> authorized.

Certainly. However, that would require that this document, beyond adding
forwarding as an explicit step, further describe the scope under which
IPsec could be deployed in dynamically routed environments at all. IMO, 
since there are ways of making security independent of expected routing 
changes while allowing alternate paths for the same packet, further 
limiting the scope of IPsec can and should be avoided.

Joe





From owner-ipsec@lists.tislabs.com  Mon Aug 11 21:42:38 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id VAA13344
	for <ipsec-archive@lists.ietf.org>; Mon, 11 Aug 2003 21:42:36 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id SAA29658
	Mon, 11 Aug 2003 18:13:44 -0400 (EDT)
Mime-Version: 1.0
X-Sender: kent@po2.bbn.com
Message-Id: <p05210600bb5dc500e5c7@[128.89.88.34]>
In-Reply-To: <3F380E81.9060209@isi.edu>
References: <5.2.0.9.0.20030724113200.01feed80@email>
 <p05210613bb4db57e16c7@[128.89.89.75]> <3F2EC3DC.6010803@isi.edu>
 <p05210602bb5476a89c38@[128.89.88.34]> <3F2EC97D.5050800@isi.edu>
 <p05210605bb5490d4bea5@[128.89.88.34]> <3F2EEEB2.5030109@isi.edu>
 <p05210603bb5563deac67@[128.89.88.34]> <3F37DB9B.5010601@isi.edu>
 <p05210604bb5dac22119b@[128.89.88.34]> <3F380E81.9060209@isi.edu>
Date: Mon, 11 Aug 2003 18:17:34 -0400
To: Joe Touch <touch@ISI.EDU>
From: Stephen Kent <kent@bbn.com>
Subject: Re: revised IPsec processing model
Cc: ipsec@lists.tislabs.com
Content-Type: text/plain; charset="us-ascii" ; format="flowed"
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

At 14:45 -0700 8/11/03, Joe Touch wrote:
>Stephen Kent wrote:
>
>>Joe,
>>
>>I believe the bottom line here is that you view situations where 
>>dynamic routing will affect the choice of an SPD as common, whereas 
>>many of us view them as relatively rare.  We each have our own 
>>models of common vs. rare operation and there is probably no point 
>>inn debating further which is more common in what context and/or at 
>>what time (now vs. future).
>
>Steve,
>
>An IP security architecture ought to support IP, which includes 
>dynamic routing. Dynamic routing necessarily involves overlapping 
>traffic selectors; it is a disservice to assert this is a mere 
>'difference of opinions'.
>
>>As I revise the processing model to take into account the comments 
>>I have received, I will try to reword it to be as clear as possible 
>>about the security implications associated with different 
>>assumptions about routing tables and the extent to which they may 
>>change without secure intermediation, as the security implications 
>>of such changes.
>
>That is a good first step, but I remain concerned about whether this 
>realization/clarification warrants other, more significant changes.
>
>Joe

Joe,

I have had considerable experience developing IP layer security 
technology over the last 25 years.  The dynamic routing concerns you 
cite have rarely arisen in those systems, but then they also didn't 
tend to have the equivalent of multiple SPDs. More recently dynamic 
routing has become an issue for some systems of this sort, and the 
need to ensure the security of routing data that will be used in a 
way that might affect security is something that I have personally 
emphasized. One need not even have multiple SPDs or overlapping 
selectors for this to be a concern.

In revising the processing model I will try to accurately reflect these issues.

Steve


From owner-ipsec@lists.tislabs.com  Mon Aug 11 22:27:40 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id VAA13343
	for <ipsec-archive@lists.ietf.org>; Mon, 11 Aug 2003 21:42:36 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id QAA29240
	Mon, 11 Aug 2003 16:23:31 -0400 (EDT)
Mime-Version: 1.0
X-Sender: kent@po2.bbn.com
Message-Id: <p05210604bb5dac22119b@[128.89.88.34]>
In-Reply-To: <3F37DB9B.5010601@isi.edu>
References: <5.2.0.9.0.20030724113200.01feed80@email>
 <p05210613bb4db57e16c7@[128.89.89.75]> <3F2EC3DC.6010803@isi.edu>
 <p05210602bb5476a89c38@[128.89.88.34]> <3F2EC97D.5050800@isi.edu>
 <p05210605bb5490d4bea5@[128.89.88.34]> <3F2EEEB2.5030109@isi.edu>
 <p05210603bb5563deac67@[128.89.88.34]> <3F37DB9B.5010601@isi.edu>
Date: Mon, 11 Aug 2003 16:29:07 -0400
To: Joe Touch <touch@ISI.EDU>
From: Stephen Kent <kent@bbn.com>
Subject: Re: revised IPsec processing model
Cc: Mark Duffy <mduffy@quarrytech.com>, ipsec@lists.tislabs.com
Content-Type: text/plain; charset="us-ascii" ; format="flowed"
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

Joe,

I believe the bottom line here is that you view situations where 
dynamic routing will affect the choice of an SPD as common, whereas 
many of us view them as relatively rare.  We each have our own models 
of common vs. rare operation and there is probably no point inn 
debating further which is more common in what context and/or at what 
time (now vs. future).

As I revise the processing model to take into account the comments I 
have received, I will try to reword it to be as clear as possible 
about the security implications associated with different assumptions 
about routing tables and the extent to which they may change without 
secure intermediation, as the security implications of such changes.

Steve


From owner-ipsec@lists.tislabs.com  Mon Aug 11 23:03:44 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id XAA14829
	for <ipsec-archive@lists.ietf.org>; Mon, 11 Aug 2003 23:03:44 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id RAA29486
	Mon, 11 Aug 2003 17:38:06 -0400 (EDT)
Message-ID: <3F380E81.9060209@isi.edu>
Date: Mon, 11 Aug 2003 14:45:37 -0700
From: Joe Touch <touch@ISI.EDU>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030529
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Stephen Kent <kent@bbn.com>
CC: Mark Duffy <mduffy@quarrytech.com>, ipsec@lists.tislabs.com
Subject: Re: revised IPsec processing model
References: <5.2.0.9.0.20030724113200.01feed80@email> <p05210613bb4db57e16c7@[128.89.89.75]> <3F2EC3DC.6010803@isi.edu> <p05210602bb5476a89c38@[128.89.88.34]> <3F2EC97D.5050800@isi.edu> <p05210605bb5490d4bea5@[128.89.88.34]> <3F2EEEB2.5030109@isi.edu> <p05210603bb5563deac67@[128.89.88.34]> <3F37DB9B.5010601@isi.edu> <p05210604bb5dac22119b@[128.89.88.34]>
In-Reply-To: <p05210604bb5dac22119b@[128.89.88.34]>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk
Content-Transfer-Encoding: 7bit



Stephen Kent wrote:

> Joe,
> 
> I believe the bottom line here is that you view situations where dynamic 
> routing will affect the choice of an SPD as common, whereas many of us 
> view them as relatively rare.  We each have our own models of common vs. 
> rare operation and there is probably no point inn debating further which 
> is more common in what context and/or at what time (now vs. future).

Steve,

An IP security architecture ought to support IP, which includes dynamic 
routing. Dynamic routing necessarily involves overlapping traffic 
selectors; it is a disservice to assert this is a mere 'difference of 
opinions'.

> As I revise the processing model to take into account the comments I 
> have received, I will try to reword it to be as clear as possible about 
> the security implications associated with different assumptions about 
> routing tables and the extent to which they may change without secure 
> intermediation, as the security implications of such changes.

That is a good first step, but I remain concerned about whether this 
realization/clarification warrants other, more significant changes.

Joe



From owner-ipsec@lists.tislabs.com  Tue Aug 12 00:34:15 2003
Received: from lists.tislabs.com (portal.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id AAA16389
	for <ipsec-archive@lists.ietf.org>; Tue, 12 Aug 2003 00:34:14 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id VAA00371
	Mon, 11 Aug 2003 21:37:13 -0400 (EDT)
To: Stephen Kent <kent@bbn.com>
Cc: Joe Touch <touch@ISI.EDU>, Mark Duffy <mduffy@quarrytech.com>,
        ipsec@lists.tislabs.com, guttman@mitre.org (Joshua D. Guttman)
Subject: Re: revised IPsec processing model
Reply-To: guttman@mitre.org (Joshua D. Guttman disp: current)
References: <5.2.0.9.0.20030724113200.01feed80@email>
	<p05210613bb4db57e16c7@[128.89.89.75]> <3F2EC3DC.6010803@isi.edu>
	<p05210602bb5476a89c38@[128.89.88.34]> <3F2EC97D.5050800@isi.edu>
	<p05210605bb5490d4bea5@[128.89.88.34]> <3F2EEEB2.5030109@isi.edu>
	<p05210603bb5563deac67@[128.89.88.34]> <3F37DB9B.5010601@isi.edu>
	<p05210604bb5dac22119b@[128.89.88.34]>
From: guttman@mitre.org (Joshua D. Guttman)
Date: 11 Aug 2003 21:44:20 -0400
In-Reply-To: <p05210604bb5dac22119b@[128.89.88.34]>
Message-ID: <nhahe4n4pl7.fsf@malabar.mitre.org>
Lines: 48
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

Stephen Kent <kent@bbn.com> writes:

>   As I revise the processing model to take into account the comments
>   I have received, I will try to reword it to be as clear as
>   possible about the security implications associated with different
>   assumptions about routing tables and the extent to which they may
>   change without secure intermediation, as the security implications
>   of such changes.

It might be useful to consider the methods described in
"Authentication and Confidentiality via IPsec" (ESORICS, 2000) by
myself, Amy Herzog, and Javier Thayer.  That way people could
establish that certain security goals depend only on specific aspects
of a network's IPsec configuration.  In this case, one knows whether
those goals could be undermined by changes in routing tables.

The paper is available at http://www.ccs.neu.edu/home/guttman, and the
abstract is below.  

More work along this line has been done, including some
implementations to analyze configurations.  Another paper will be
available shortly.

        Joshua 


The IP security protocols (\ipsec) may be used via security gateways
that apply cryptographic operations to provide security services to
datagrams, and this mode of use is supported by an increasing number
of commercial products.  In this paper, we formalize the types of
authentication and confidentiality goal that {\ipsec} is capable of
achieving, and we provide criteria that entail that a network with
particular {\ipsec} processing achieves its security goals.

This requires us to formalize the structure of networks using
{\ipsec}, and the state of packets relevant to {\ipsec} processing.
We can then prove confidentiality goals as invariants of the
formalized systems.  Authentication goals are formalized in the manner
of~\cite{Schneider96}, and a simple proof method using ``unwinding
sets'' is introduced.  We end the paper by explaining the network
threats that are prevented by correct {\ipsec} processing.   


-- 
	Joshua D. Guttman		<guttman@mitre.org>
	MITRE, Mail Stop S119		Office:	+1 781 271 2654
	202 Burlington Rd.		Fax:	+1 781 271 8953
	Bedford, MA 01730-1420 USA	Cell:	+1 781 526 5713




From owner-ipsec@lists.tislabs.com  Tue Aug 12 12:16:11 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA20242
	for <ipsec-archive@lists.ietf.org>; Tue, 12 Aug 2003 12:16:10 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id JAA02366
	Tue, 12 Aug 2003 09:26:15 -0400 (EDT)
X-test-idtracker: no
From: The IESG <iesg-secretary@ietf.org>
To: IETF-Announce:;
Cc: Internet Architecture Board <iab@iab.org>,
        RFC Editor <rfc-editor@rfc-editor.org>, <ipsec@lists.tislabs.com>
Subject: Protocol Action: 'Using AES Counter Mode With IPsec ESP' 
         to Proposed Standard 
Message-Id: <E19mIkC-0001Px-1I@asgard.ietf.org>
Date: Mon, 11 Aug 2003 15:54:16 -0400
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

The IESG has approved the Internet-Draft 'Using AES Counter Mode With IPsec 
ESP' <draft-ietf-ipsec-ciph-aes-ctr-05.txt> as a Proposed Standard. This 
document is the product of the IP Security Protocol Working Group. The IESG 
contact persons are Steve Bellovin and Russ Housley

Technical Summary

This is a new cipher description for IPsec.  In particular, it describes how to 
use AES in counter mode within the ESP framework.  Counter mode is especially 
useful for very high speed implementations, since it can be parallelized very 
easily.  Counter mode is easily misused; however, this draft contains adequate 
warnings, cautions, and requirements to prevent such misue.

Working Group Summary

There was strong working group consensus to advance this document and it has a 
significant pull from the community, including groups that need high-speed IPsec.

Protocol Quality

This document was reviewed for the IESG by Steve Bellovin.



From owner-ipsec@lists.tislabs.com  Tue Aug 12 12:16:43 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA20307
	for <ipsec-archive@lists.ietf.org>; Tue, 12 Aug 2003 12:16:43 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id JAA02340
	Tue, 12 Aug 2003 09:22:39 -0400 (EDT)
X-Authentication-Warning: gandalf.sctc.com: allison owned process doing -bs
Date: Tue, 12 Aug 2003 08:29:39 -0500 (CDT)
From: Tylor Allison <allison@securecomputing.com>
X-X-Sender:  <allison@gandalf.sctc.com>
To: <ipsec@lists.tislabs.com>
Subject: ESPv3 TFC padding
Message-ID: <Pine.GSO.4.33.0308120809220.24171-100000@gandalf.sctc.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from QUOTED-PRINTABLE to 8bit by lists.tislabs.com id JAA02337
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk
Content-Transfer-Encoding: 8bit

Hi,

I have a few questions on what folks are doing for the Traffic-Flow
Confidentiality (TFC) padding for ESPv3.  Is there an algorithm being
deployed for determining how much padding to add, or is that implementation
specific?  Sorry, I couldn't find any documentation for this feature,
outside of the ESPv3 draft.

I'm trying to figure out if it is best to use a random amount of TFC padding,
or to pad out to a certain size (e.g. segment size) for all packets.
It would seem that random padding probably isn't sufficient, as if you're
trying to mask small packets, adding a random pad will just result in a
bigger packet on average, but will still be discernable from a VPN which is
just passing large packets.

If this is truly implentation specific, I'll just pick what I think is
best.  But if there has been some discussion on this, or this is a draft
out there somewhere, I'd like to try and do as others are doing.

Thanks!

Tylor

--------------------------------------------------------------------------------
Tylor Allison
Principal Engineer

Secure Computing®
Protecting the world's most important networks (TM)
www.securecomputing.com
NASDAQ: SCUR
--------------------------------------------------------------------------------



From owner-ipsec@lists.tislabs.com  Tue Aug 12 12:29:09 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA20739
	for <ipsec-archive@lists.ietf.org>; Tue, 12 Aug 2003 12:29:08 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id JAA02442
	Tue, 12 Aug 2003 09:55:48 -0400 (EDT)
Mime-Version: 1.0
X-Sender: kent@po2.bbn.com
Message-Id: <p05210604bb5ea2f3e9b4@[128.89.88.34]>
In-Reply-To: <Pine.GSO.4.33.0308120809220.24171-100000@gandalf.sctc.com>
References: <Pine.GSO.4.33.0308120809220.24171-100000@gandalf.sctc.com>
Date: Tue, 12 Aug 2003 10:00:33 -0400
To: Tylor Allison <allison@securecomputing.com>
From: Stephen Kent <kent@bbn.com>
Subject: Re: ESPv3 TFC padding
Cc: <ipsec@lists.tislabs.com>
Content-Type: text/plain; charset="us-ascii" ; format="flowed"
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

At 8:29 -0500 8/12/03, Tylor Allison wrote:
>Hi,
>
>I have a few questions on what folks are doing for the Traffic-Flow
>Confidentiality (TFC) padding for ESPv3.  Is there an algorithm being
>deployed for determining how much padding to add, or is that implementation
>specific?  Sorry, I couldn't find any documentation for this feature,
>outside of the ESPv3 draft.
>
>I'm trying to figure out if it is best to use a random amount of TFC padding,
>or to pad out to a certain size (e.g. segment size) for all packets.
>It would seem that random padding probably isn't sufficient, as if you're
>trying to mask small packets, adding a random pad will just result in a
>bigger packet on average, but will still be discernable from a VPN which is
>just passing large packets.
>
>If this is truly implentation specific, I'll just pick what I think is
>best.  But if there has been some discussion on this, or this is a draft
>out there somewhere, I'd like to try and do as others are doing.
>
>Thanks!
>
>Tylor
>

Tylor,

The safest bet is to add padding to packets to make them all the same 
size, e.g, on a per-SA basis,  but this may yield unacceptable 
performance in many contexts. So, we have no standard for how to 
choose the amount of padding to add to traffic. It ought not be an 
implementation decision, however, but rather a parameter under 
control of the local admin.

Steve


From owner-ipsec@lists.tislabs.com  Tue Aug 12 14:17:46 2003
Received: from lists.tislabs.com (portal.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA23257
	for <ipsec-archive@lists.ietf.org>; Tue, 12 Aug 2003 14:17:45 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id LAA02880
	Tue, 12 Aug 2003 11:30:03 -0400 (EDT)
Message-Id: <200308111946.PAA01442@ietf.org>
Mime-Version: 1.0
Content-Type: Multipart/Mixed; Boundary="NextPart"
To: IETF-Announce: ;
Cc: ipsec@lists.tislabs.com
From: Internet-Drafts@ietf.org
Reply-to: Internet-Drafts@ietf.org
Subject: I-D ACTION:draft-ietf-ipsec-ikev2-09.txt
Date: Mon, 11 Aug 2003 15:46:41 -0400
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

--NextPart

A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the IP Security Protocol Working Group of the IETF.

	Title		: Internet Key Exchange (IKEv2) Protocol
	Author(s)	: C. Kaufman
	Filename	: draft-ietf-ipsec-ikev2-09.txt
	Pages		: 98
	Date		: 2003-8-11
	
This document describes version 2 of the IKE (Internet Key Exchange)
protocol.  IKE is a component of IPsec used for performing mutual
authentication and establishing and maintaining security
associations.
This version of IKE simplifies the design by removing options that
were rarely used and simplifying the encoding. This version of the
IKE specification combines the contents of what were previously
separate documents, including ISAKMP (RFC 2408), IKE (RFC 2409), the
Internet DOI (RFC 2407), NAT Traversal, Legacy authentication, and
remote address acquisition.

A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-ietf-ipsec-ikev2-09.txt

To remove yourself from the IETF Announcement list, send a message to 
ietf-announce-request with the word unsubscribe in the body of the message.

Internet-Drafts are also available by anonymous FTP. Login with the username
"anonymous" and a password of your e-mail address. After logging in,
type "cd internet-drafts" and then
	"get draft-ietf-ipsec-ikev2-09.txt".

A list of Internet-Drafts directories can be found in
http://www.ietf.org/shadow.html 
or ftp://ftp.ietf.org/ietf/1shadow-sites.txt


Internet-Drafts can also be obtained by e-mail.

Send a message to:
	mailserv@ietf.org.
In the body type:
	"FILE /internet-drafts/draft-ietf-ipsec-ikev2-09.txt".
	
NOTE:	The mail server at ietf.org can return the document in
	MIME-encoded form by using the "mpack" utility.  To use this
	feature, insert the command "ENCODING mime" before the "FILE"
	command.  To decode the response(s), you will need "munpack" or
	a MIME-compliant mail reader.  Different MIME-compliant mail readers
	exhibit different behavior, especially when dealing with
	"multipart" MIME messages (i.e. documents which have been split
	up into multiple messages), so check your local documentation on
	how to manipulate these messages.
		
		
Below is the data which will enable a MIME compliant mail reader
implementation to automatically retrieve the ASCII version of the
Internet-Draft.

--NextPart
Content-Type: Multipart/Alternative; Boundary="OtherAccess"

--OtherAccess
Content-Type: Message/External-body;
	access-type="mail-server";
	server="mailserv@ietf.org"

Content-Type: text/plain
Content-ID:	<2003-8-11143344.I-D@ietf.org>

ENCODING mime
FILE /internet-drafts/draft-ietf-ipsec-ikev2-09.txt

--OtherAccess
Content-Type: Message/External-body;
	name="draft-ietf-ipsec-ikev2-09.txt";
	site="ftp.ietf.org";
	access-type="anon-ftp";
	directory="internet-drafts"

Content-Type: text/plain
Content-ID:	<2003-8-11143344.I-D@ietf.org>

--OtherAccess--

--NextPart--



From owner-ipsec@lists.tislabs.com  Tue Aug 12 14:24:03 2003
Received: from lists.tislabs.com (portal.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA23548
	for <ipsec-archive@lists.ietf.org>; Tue, 12 Aug 2003 14:24:02 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id LAA03138
	Tue, 12 Aug 2003 11:59:53 -0400 (EDT)
X-Authentication-Warning: shell4.bayarea.net: heard owned process doing -bs
Date: Tue, 12 Aug 2003 09:07:23 -0700 (PDT)
From: "C. M. Heard" <heard@pobox.com>
X-Sender: heard@shell4.bayarea.net
To: ipsec@lists.tislabs.com
cc: tytso@mit.edu, hilarie@xmission.com, lsanchez@xapiens.com,
        bwijnen@lucent.com, jshriver+ietf@sockeye.com, rks@cisco.com,
        byfraser@cisco.com, angelos@cs.columbia.edu, kivinen@ssh.fi
Subject: Re: The IPSEC MIB documents
In-Reply-To: <E19mbP8-0000Pw-00@think.thunk.org>
Message-ID: <Pine.LNX.4.10.10308120859000.19862-100000@shell4.bayarea.net>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

I support this proposal.  -- cmh

On Tue, 12 Aug 2003, Theodore Ts'o wrote:
> There seems to be very little interest within the IPSEC working
> group towards completing many of the IPSEC MIB documents.  To
> that end, after consulting with the relevant wg chairs and I-D
> authors, Barbara and I propose the following path forward:
> 
> 1)  That the following I-D's be dropped as IPSEC wg work items:
> 
>         draft-ietf-ipsec-ike-monitor-mib
>         draft-ietf-ipsec-isakmp-di-mon-mib
>         draft-ietf-ipsec-monitor-mib
>         draft-ietf-ipsec-doi-tc-mib
> 
> 2) Since the IPSP working group has an I-D (draft-ietf-ipsp-ipsec-conf-mib)
>     ready for advancement to RFC status which has a dependency on the 
>     draft-ietf-ipsec-doi-tc-mib document, that this document be
>     reassigned to the IPSP working group for completion to support their
>     work.  Alternatively, the wg authors of ipsec-conf-mib may decide
>     that is more suitable to lift the necessary sections out of the
>     doi-tc-mib and simply drop it into their document.  That decision
>     should be left up to them.
> 
> 3) That the draft-ietf-ipsec-flow-montioring-mib and
>     draft-ietf-ipsec-flowmon-mib-tc documents should be modified to
>     document exactly what is currently being shipped and deployed by
>     various vendors, and then published as informational RFC's.  
> 
> In the future, there will no doubt be a need to create MIB's for IKEv2
> protocol.  It is the our opinion as working group chairs that it will
> probably be better to create a new working group to take on this task.
> Hopefully this new working group will be able to focus only on this
> task, and will be able to attract the necessary people with the
> interest, time, and expertise to craft the necessary MIB documents.
> This work might use the current IPSEC MIB documents as a base, or they
> may decide that it is better to start from a clean slate --- that
> decision should be left up a future working group.
> 
>                                         - Ted and Barbara




From owner-ipsec@lists.tislabs.com  Tue Aug 12 14:24:59 2003
Received: from lists.tislabs.com (portal.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA23584
	for <ipsec-archive@lists.ietf.org>; Tue, 12 Aug 2003 14:24:59 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id LAA02966
	Tue, 12 Aug 2003 11:42:39 -0400 (EDT)
To: ipsec@lists.tislabs.com
cc: hilarie@xmission.com, lsanchez@xapiens.com, bwijnen@lucent.com,
        heard@pobox.com, jshriver+ietf@sockeye.com, rks@cisco.com,
        byfraser@cisco.com, angelos@cs.columbia.edu, kivinen@ssh.fi
Subject: The IPSEC MIB documents
From: "Theodore Ts'o" <tytso@mit.edu>
Phone: (781) 391-3464
Message-Id: <E19mbP8-0000Pw-00@think.thunk.org>
Date: Tue, 12 Aug 2003 11:49:46 -0400
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk


There seems to be very little interest within the IPSEC working group
towards completing many of the IPSEC MIB documents.  To that end, after
consulting with the relevant wg chairs and I-D authors, Barbara and I
propose the following path forward:

1)  That the following I-D's be dropped as IPSEC wg work items:

        draft-ietf-ipsec-ike-monitor-mib
        draft-ietf-ipsec-isakmp-di-mon-mib
        draft-ietf-ipsec-monitor-mib
        draft-ietf-ipsec-doi-tc-mib

2) Since the IPSP working group has an I-D (draft-ietf-ipsp-ipsec-conf-mib)
    ready for advancement to RFC status which has a dependency on the 
    draft-ietf-ipsec-doi-tc-mib document, that this document be
    reassigned to the IPSP working group for completion to support their
    work.  Alternatively, the wg authors of ipsec-conf-mib may decide
    that is more suitable to lift the necessary sections out of the
    doi-tc-mib and simply drop it into their document.  That decision
    should be left up to them.

3) That the draft-ietf-ipsec-flow-montioring-mib and
    draft-ietf-ipsec-flowmon-mib-tc documents should be modified to
    document exactly what is currently being shipped and deployed by
    various vendors, and then published as informational RFC's.  

In the future, there will no doubt be a need to create MIB's for IKEv2
protocol.  It is the our opinion as working group chairs that it will
probably be better to create a new working group to take on this task.
Hopefully this new working group will be able to focus only on this
task, and will be able to attract the necessary people with the
interest, time, and expertise to craft the necessary MIB documents.
This work might use the current IPSEC MIB documents as a base, or they
may decide that it is better to start from a clean slate --- that
decision should be left up a future working group.

                                        - Ted and Barbara



From owner-ipsec@lists.tislabs.com  Tue Aug 12 14:44:47 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA24080
	for <ipsec-archive@lists.ietf.org>; Tue, 12 Aug 2003 14:44:47 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id MAA03306
	Tue, 12 Aug 2003 12:24:31 -0400 (EDT)
Date: Tue, 12 Aug 2003 12:31:35 -0400
From: "Theodore Ts'o" <tytso@mit.edu>
To: Paul Hoffman / VPNC <paul.hoffman@vpnc.org>
Cc: Barbara Fraser <byfraser@cisco.com>, Russ Housley <housley@vigilsec.com>,
        secretariat@ietf.org, ipsec@lists.tislabs.com
Subject: Re: Both archives are broken
Message-ID: <20030812163135.GC883@think>
References: <p05210619bb5ec29938ae@[63.202.92.152]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <p05210619bb5ec29938ae@[63.202.92.152]>
User-Agent: Mutt/1.5.4i
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

On Tue, Aug 12, 2003 at 09:16:38AM -0700, Paul Hoffman / VPNC wrote:
> Hi again. The IETF WG page lists the following as the archives for 
> the IPsec WG:
> 
> ftp://ftp.tis.com/pub/lists/ipsec
> ftp.ans.net/pub/archive/ipsec
> 
> Both are broken. ftp.tis.com does not resolve, and ftp.ans.net is 
> offline. The archive at VPNC is still alive, of course.

Hi Paul,

Thanks for pointing this out.  As part of the TIS/TIS Labs
reorganization, the ftp server for ftp.tis.com changed to
ftp.tislabs.com.

We will ask the secretariat to update the URL to:

	ftp://ftp.tislabs.com/pub/lists/ipsec

... and delete the ans.net URL, since the ftp.tislabs.com archive
contains the very old mailing list archives from ans.net as well.

						- Ted



From owner-ipsec@lists.tislabs.com  Tue Aug 12 14:45:29 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA24114
	for <ipsec-archive@lists.ietf.org>; Tue, 12 Aug 2003 14:45:28 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id MAA03269
	Tue, 12 Aug 2003 12:18:19 -0400 (EDT)
To: skent@bbn.com, kseo@bbn.com
cc: ipsec@lists.tislabs.com
Cc: angelos@cs.columbia.edu, kivinen@ssh.fi, byfraser@cisco.com
Subject: Moving forward on RFC 2401-bis
From: "Theodore Ts'o" <tytso@mit.edu>
Phone: (781) 391-3464
Message-Id: <E19mbxP-0000Ug-00@think.thunk.org>
Date: Tue, 12 Aug 2003 12:25:11 -0400
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

Hi Steve, Karen.

We'd like to thank you for your excellent work in preparing the list of
issues and proposed changes/updates to RFC 2401.  Hopefully the members
of the IPSEC working group have had time to read over these lists we've
had a week or two of unstructured discussion over the changes to the
IPSEC processing model.

However, it is now time that we go through each of the changes in a
slightly more structured format.  To that end, Angelos has taken your
initial list of proposed changes and put them into the Roundup issues
tracker:

		https://roundup.machshav.com/ipsec

We would appreciate it if you could look over the list of changes let us
know if they are complete.  Then, if you could prepare a paragraph or
two for each proposed change, so the working group can consider each
change one at a time.  We would like to quickly, but explicitly have the
working group approve each change to RFC 2401, one at a time.

As a suggestion, we believe that issues #48 and #47 which is related to
the addition/changes of traffic selectors in IKEv2, be worked on first,
since they affect the IKEv2 document which is being finalized.  (As a
reminder, we wll not add traffic selectors for ToS in IKEv2 --- see
issue #16 --- unless we come to consensus that they should be added in
the architecture document.  If IKEv2 is published before we come to
consensus on issue #48, and issue #48 is adopted, this can always be
fixed by a supplemental RFC which documents the new TOS traffic
selector.  But this is a reason why we suggest that issue #48 be tackled
first.)

If you could post an short e-mail summarizing the costs and benefits of
adopting the TOS Traffic Selectors to the ipsec mailing list at your
earliest convenient to start discussion on that change, we would greatly
appreciate it.  Hopefully we will be able to come to consensus on all of
the changes to RFC 2401 with dispatch.

					- Ted and Barbara



From owner-ipsec@lists.tislabs.com  Tue Aug 12 14:59:34 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA25085
	for <ipsec-archive@lists.ietf.org>; Tue, 12 Aug 2003 14:59:33 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id MAA03341
	Tue, 12 Aug 2003 12:32:33 -0400 (EDT)
Message-Id: <200308121632.MAA03337@lists.tislabs.com>
X-Authentication-Warning: gandalf.sctc.com: allison owned process doing -bs
Date: Tue, 12 Aug 2003 11:30:38 -0500 (CDT)
From: Tylor Allison <allison@securecomputing.com>
X-X-Sender:  <allison@gandalf.sctc.com>
To: Stephen Kent <kent@bbn.com>
cc: <ipsec@lists.tislabs.com>
Subject: Re: ESPv3 TFC padding
In-Reply-To: <p05210604bb5ea2f3e9b4@[128.89.88.34]>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

Two more questions:

First, with TFC padding, the ESPv3 draft states that the SA management
protocol MUST negotiate the TFC service prior to employing the service.  Is
there any draft in the works for how this would be done in IKEv1?  I
suppose it could either be done via a Notify or in the QM SA attributes.

My second question is regarding "dummy" packet generation, and the intended
usage of this feature.  The current draft states that an implementation
MUST support this feature as both a transmitter and a receiver.  I'm
assuming that the purpose of this feature is to be able mask traffic
patterns of normal IPsec traffic, inserting dummy packets into the mix at
random intervals.  Is this assumption correct?  Also, is it really intended
that all IPsec implementations supporting ESPv3 MUST implement this
feature, as the current draft states?  I could see the case where all must
be able to receive such packets.

Thanks!

Tylor Allison

On Tue, 12 Aug 2003, Stephen Kent wrote:

> At 8:29 -0500 8/12/03, Tylor Allison wrote:
> >Hi,
> >
> >I have a few questions on what folks are doing for the Traffic-Flow
> >Confidentiality (TFC) padding for ESPv3.  Is there an algorithm being
> >deployed for determining how much padding to add, or is that implementation
> >specific?  Sorry, I couldn't find any documentation for this feature,
> >outside of the ESPv3 draft.
> >
> >I'm trying to figure out if it is best to use a random amount of TFC padding,
> >or to pad out to a certain size (e.g. segment size) for all packets.
> >It would seem that random padding probably isn't sufficient, as if you're
> >trying to mask small packets, adding a random pad will just result in a
> >bigger packet on average, but will still be discernable from a VPN which is
> >just passing large packets.
> >
> >If this is truly implentation specific, I'll just pick what I think is
> >best.  But if there has been some discussion on this, or this is a draft
> >out there somewhere, I'd like to try and do as others are doing.
> >
> >Thanks!
> >
> >Tylor
> >
>
> Tylor,
>
> The safest bet is to add padding to packets to make them all the same
> size, e.g, on a per-SA basis,  but this may yield unacceptable
> performance in many contexts. So, we have no standard for how to
> choose the amount of padding to add to traffic. It ought not be an
> implementation decision, however, but rather a parameter under
> control of the local admin.
>
> Steve



From owner-ipsec@lists.tislabs.com  Tue Aug 12 15:06:02 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id PAA25528
	for <ipsec-archive@lists.ietf.org>; Tue, 12 Aug 2003 15:06:02 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id MAA03425
	Tue, 12 Aug 2003 12:45:53 -0400 (EDT)
Mime-Version: 1.0
X-Sender: kent@po2.bbn.com
Message-Id: <p0521060ebb5ec9b5ff17@[128.89.88.34]>
In-Reply-To: <200308121640.h7CGeDu3028144@gollum.bbn.com>
References: <200308121640.h7CGeDu3028144@gollum.bbn.com>
Date: Tue, 12 Aug 2003 12:53:01 -0400
To: Tylor Allison <allison@securecomputing.com>
From: Stephen Kent <kent@bbn.com>
Subject: Re: ESPv3 TFC padding
Cc: <ipsec@lists.tislabs.com>
Content-Type: text/plain; charset="us-ascii" ; format="flowed"
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

At 11:30 -0500 8/12/03, Tylor Allison wrote:
>Two more questions:
>
>First, with TFC padding, the ESPv3 draft states that the SA management
>protocol MUST negotiate the TFC service prior to employing the service.  Is
>there any draft in the works for how this would be done in IKEv1?  I
>suppose it could either be done via a Notify or in the QM SA attributes.

I am not aware of an explicit provision for IKE v1 negotiation of this feature.

>My second question is regarding "dummy" packet generation, and the intended
>usage of this feature.  The current draft states that an implementation
>MUST support this feature as both a transmitter and a receiver.  I'm
>assuming that the purpose of this feature is to be able mask traffic
>patterns of normal IPsec traffic, inserting dummy packets into the mix at
>random intervals.  Is this assumption correct?  Also, is it really intended
>that all IPsec implementations supporting ESPv3 MUST implement this
>feature, as the current draft states?  I could see the case where all must
>be able to receive such packets.


As you noted, dummy packets could be inserted at random intervals to 
mask the absence of actual traffic. One can get fancier and "shape" 
the actual traffic to match some distribution to which dummy traffic 
is added as dictated by the distribution parameters.  (another 
obvious candidate for local management controls).

As with the packet length padding facility for TFS, the most secure 
approach would be to generate dummy packets at whatever rate is 
needed to maintain a constant rate on an SA.  If packets are all the 
same size, then the SA presents the appearance of a constant bit rate 
data stream, analogous to what a link crypto would offer at layer 
1/2.  However, this is unlikely to be practical in many contexts, 
e.g., when there are multiple SAs active, because it would imply 
reducing the allowed bandwidth for a site, based on the number of 
SAs, and that really undermines the benefits of packet switching.

It is certainly easier to receive and discard dummy packets than to 
generate them, but nobody complained during the during WG period on 
this document, so I assume that nobody had a problem with this 
requirement. So, yes, it is a MUST and it is universally applicable.

Steve


From owner-ipsec@lists.tislabs.com  Tue Aug 12 15:11:31 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id PAA26106
	for <ipsec-archive@lists.ietf.org>; Tue, 12 Aug 2003 15:11:31 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id NAA03598
	Tue, 12 Aug 2003 13:00:28 -0400 (EDT)
Message-Id: <200308121656.h7CGuScJ022252@coredump.cs.columbia.edu>
X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4
To: ipsec@lists.tislabs.com, byfraser@cisco.com, tytso@mit.edu
Subject: IKEv2 status
Cc: housley@vigilsec.com, smb%research.att.com.kivinen@ssh.fi
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Tue, 12 Aug 2003 12:56:28 -0400
From: "Angelos D. Keromytis" <angelos@cs.columbia.edu>
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk


Folks,
as you've seen, Charlie has posted a new draft. As a result, the following
issues in the Issue Tracker (https://roundup.machshav.com/ipsec) have been
marked as closed:

 2: (Use different concatenation character)
 3: (DH group negotiation)
 4: (Remove duplicate text)
 5: (ECN text in USE_TRANSPORT_MODE)
 6: (Problems with changed encoding between IKE and IKEv2)
 8: (IPcomp editorial suggestions)
 9: (Identity protection)
 11: (Nonce length)
 12: (Payload 14 reuse from IKE)
 13: (Clarification on Reserved Exchanged Types)
 14: (Clarification on sending responses)
 15: (Clarification on retransmission text)
 17: (Traffic Selector types definition/allocation fix)
 52: (Remove group from Appendix B.5)
 53: (Key length attribute)
 54: (Two reserved ranges for NOTIFY status numbers --- why ?)
 56: (IKEv2 SCTP support)
 58: (Remove section 2.24 (ECN support))

Those that submitted the issues, please verify that they have been addressed
appropriately (we believe they have).

The remaining issues are still open:

 1: (Rekeyed SA use)
 7: (Fragmentation negotiation (before/after IPsec processing)
 10: (NAT Traversal support)
 16: (Negotiate ToS in IKEv2)
 41: (NAT traversal missing text)
 55: (ICMP fields as selectors ?)
 64: (Use the SPI of SA being rekeyed in a notify payload during rekey)
 65: (EAP)

We are working on closing some of these in the next few days (1, 10, 41, 55,
64, 65). Issues 7 and 16 require discussion along with 2401bis; if that
discussion can be concluded quickly, then any necessary changes will be added
to the IKEv2 draft; otherwise, the draft will remain as is and will be amended
by additional RFCs as needed.

-Angelos




From owner-ipsec@lists.tislabs.com  Tue Aug 12 17:54:31 2003
Received: from lists.tislabs.com (portal.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA00181
	for <ipsec-archive@lists.ietf.org>; Tue, 12 Aug 2003 17:54:31 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id OAA04681
	Tue, 12 Aug 2003 14:54:30 -0400 (EDT)
X-test-idtracker: no
To: IETF-Announce :;
Cc: ipsec@lists.tislabs.com
From: The IESG <iesg-secretary@ietf.org>
Subject: Last Call: 'Using AES CCM Mode With IPsec ESP' to Standard 
Reply-to: iesg@ietf.org
Message-Id: <E19me6C-0005ro-Os@asgard.ietf.org>
Date: Tue, 12 Aug 2003 14:42:24 -0400
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

The IESG has received a request from the IP Security Protocol WG to 
consider 'Using AES CCM Mode With IPsec ESP' 
<draft-ietf-ipsec-ciph-aes-ccm-04.txt> as a Standard. 

The IESG plans to make a decision in the next few weeks, and solicits
final comments on this action.  Please send any comments to the
iesg@ietf.org or ietf@ietf.org mailing lists by 2003-08-26.
                                                                                       
File(s) can be obtained via
http://www.ietf.org/internet-drafts/draft-ietf-ipsec-ciph-aes-ccm-04.txt



From owner-ipsec@lists.tislabs.com  Tue Aug 12 22:11:26 2003
Received: from lists.tislabs.com (portal.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id WAA06864
	for <ipsec-archive@lists.ietf.org>; Tue, 12 Aug 2003 22:11:25 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id TAA05910
	Tue, 12 Aug 2003 19:18:10 -0400 (EDT)
Mime-Version: 1.0
X-Sender: phoffvpnc@mail.vpnc.org
Message-Id: <p05210621bb5f27a7e7e7@[63.202.92.152]>
In-Reply-To: <3F37AD6A.4060500@americasm06.nt.com>
References: 
 <OFA0D9AF6C.AD166060-ON85256D7E.00704F55-85256D7E.0074D11A@notesdev.ibm.co
 m> <3F37AD6A.4060500@americasm06.nt.com>
X-Habeas-SWE-1: winter into spring
X-Habeas-SWE-2: brightly anticipated
X-Habeas-SWE-3: like Habeas SWE (tm)
X-Habeas-SWE-4: Copyright 2002 Habeas (tm)
X-Habeas-SWE-5: Sender Warranted Email (SWE) (tm). The sender of this
X-Habeas-SWE-6: email in exchange for a license for this Habeas
X-Habeas-SWE-7: warrant mark warrants that this is a Habeas Compliant
X-Habeas-SWE-8: Message (HCM) and not spam. Please report use of this
X-Habeas-SWE-9: mark in spam to <http://www.habeas.com/report>.
Date: Tue, 12 Aug 2003 16:26:36 -0700
To: "Lakshminath Dondeti" <ldondeti@nortelnetworks.com>,
        Charlie_Kaufman@notesdev.ibm.com
From: Paul Hoffman / VPNC <paul.hoffman@vpnc.org>
Subject: Re: transform type 5 in ui-suites-03
Cc: ipsec@lists.tislabs.com
Content-Type: text/plain; charset="us-ascii" ; format="flowed"
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

At 10:51 AM -0400 8/11/03, Lakshminath Dondeti wrote:
>The current version (option 2 below) is fine (except for not leaving 
>'0' as RESERVED, as in the other transform types!). 
>However, the ui-suites I-D needs to be corrected accordingly, i.e., 
>VPN-A proposal needs to send ESN=0 as part of the transforms.

Or, better yet, simply remove it from both of the suites, leaving the 
ESN handling as the default for IKEv2. Doing so would make 
implementations of the UI suites more likely to interoperate. Does 
anyone have any objection to me making this simplifying change?

--Paul Hoffman, Director
--VPN Consortium


From owner-ipsec@lists.tislabs.com  Thu Aug 14 19:19:34 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id TAA01363
	for <ipsec-archive@lists.ietf.org>; Thu, 14 Aug 2003 19:19:33 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id OAA18255
	Thu, 14 Aug 2003 14:59:49 -0400 (EDT)
X-test-idtracker: no
To: IETF-Announce :;
Cc: ipsec@lists.tislabs.com
From: The IESG <iesg-secretary@ietf.org>
Subject: Last Call **Revised**: 'Using AES CCM Mode With IPsec ESP' to Proposed 
         Standard 
Reply-to: iesg@ietf.org
Message-Id: <E19nMvq-0001IP-Fd@asgard.ietf.org>
Date: Thu, 14 Aug 2003 14:34:42 -0400
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

The IESG has received a request from the IP Security Protocol WG to 
consider 'Using AES CCM Mode With IPsec ESP' 
<draft-ietf-ipsec-ciph-aes-ccm-04.txt> as a Proposed Standard. 

The IESG plans to make a decision in the next few weeks, and solicits
final comments on this action.  Please send any comments to the
iesg@ietf.org or ietf@ietf.org mailing lists by 2003-08-28.
                                                                                       
File(s) can be obtained via
http://www.ietf.org/internet-drafts/draft-ietf-ipsec-ciph-aes-ccm-04.txt



From owner-ipsec@lists.tislabs.com  Sun Aug 17 20:38:18 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id UAA24845
	for <ipsec-archive@lists.ietf.org>; Sun, 17 Aug 2003 20:38:17 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id QAA28498
	Sun, 17 Aug 2003 16:18:08 -0400 (EDT)
Mime-Version: 1.0
X-Sender: phoffvpnc@mail.vpnc.org
Message-Id: <p05210605bb6594d75a4d@[63.202.92.152]>
X-Habeas-SWE-1: winter into spring
X-Habeas-SWE-2: brightly anticipated
X-Habeas-SWE-3: like Habeas SWE (tm)
X-Habeas-SWE-4: Copyright 2002 Habeas (tm)
X-Habeas-SWE-5: Sender Warranted Email (SWE) (tm). The sender of this
X-Habeas-SWE-6: email in exchange for a license for this Habeas
X-Habeas-SWE-7: warrant mark warrants that this is a Habeas Compliant
X-Habeas-SWE-8: Message (HCM) and not spam. Please report use of this
X-Habeas-SWE-9: mark in spam to <http://www.habeas.com/report>.
Date: Sun, 17 Aug 2003 13:25:24 -0700
To: ipsec@lists.tislabs.com
From: Paul Hoffman / VPNC <paul.hoffman@vpnc.org>
Subject: New draft from Charlie
Content-Type: text/plain; charset="us-ascii" ; format="flowed"
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

Greetings again. Charlie has sent a new draft of the IKEv2 document 
to the Internet Drafts directory. While we wait for it to be 
officially posted, you can reach it at 
<http://www.vpnc.org/ietf-ipsec/TEMP-draft-ietf-ipsec-ikev2-10.txt>. 
That link will go away after the official posting.

--Paul Hoffman, Director
--VPN Consortium


From owner-ipsec@lists.tislabs.com  Mon Aug 18 15:45:53 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id PAA02237
	for <ipsec-archive@lists.ietf.org>; Mon, 18 Aug 2003 15:45:53 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id NAA02102
	Mon, 18 Aug 2003 13:17:08 -0400 (EDT)
Message-Id: <200308181514.LAA22259@ietf.org>
Mime-Version: 1.0
Content-Type: Multipart/Mixed; Boundary="NextPart"
To: IETF-Announce: ;
Cc: ipsec@lists.tislabs.com
From: Internet-Drafts@ietf.org
Reply-to: Internet-Drafts@ietf.org
Subject: I-D ACTION:draft-ietf-ipsec-ikev2-10.txt
Date: Mon, 18 Aug 2003 11:14:38 -0400
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

--NextPart

A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the IP Security Protocol Working Group 
of the IETF.

	Title		: Internet Key Exchange (IKEv2) Protocol
	Author(s)	: C. Kaufman
	Filename	: draft-ietf-ipsec-ikev2-10.txt
	Pages		: 99
	Date		: 2003-8-18

This document describes version 2 of the Internet Key Exchange (IKE)
protocol.  IKE is a component of IPsec used for performing mutual
authentication and establishing and maintaining security
associations.
This version of the IKE specification combines the contents of what
were previously separate documents, including ISAKMP (RFC 2408), IKE
(RFC 2409), the Internet DOI (RFC 2407), NAT Traversal, Legacy
authentication, and remote address acquisition.
Version 2 of IKE does not interoperate with version 1, but it has
enough of the header format in common that both versions can
unambiguously run over the same UDP port.

A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-ietf-ipsec-ikev2-10.txt

To remove yourself from the IETF Announcement list, send a message to
ietf-announce-request with the word unsubscribe in the body of the message.

Internet-Drafts are also available by anonymous FTP. Login with the username
"anonymous" and a password of your e-mail address. After logging in,
type "cd internet-drafts" and then
	"get draft-ietf-ipsec-ikev2-10.txt".

A list of Internet-Drafts directories can be found in
http://www.ietf.org/shadow.html
or ftp://ftp.ietf.org/ietf/1shadow-sites.txt


Internet-Drafts can also be obtained by e-mail.

Send a message to:
	mailserv@ietf.org.
In the body type:
	"FILE /internet-drafts/draft-ietf-ipsec-ikev2-10.txt".

NOTE:	The mail server at ietf.org can return the document in
	MIME-encoded form by using the "mpack" utility.  To use this
	feature, insert the command "ENCODING mime" before the "FILE"
	command.  To decode the response(s), you will need "munpack" or
	a MIME-compliant mail reader.  Different MIME-compliant mail readers
	exhibit different behavior, especially when dealing with
	"multipart" MIME messages (i.e. documents which have been split
	up into multiple messages), so check your local documentation on
	how to manipulate these messages.


Below is the data which will enable a MIME compliant mail reader
implementation to automatically retrieve the ASCII version of the
Internet-Draft.

--NextPart
Content-Type: Multipart/Alternative; Boundary="OtherAccess"

--OtherAccess
Content-Type: Message/External-body;
	access-type="mail-server";
	server="mailserv@ietf.org"

Content-Type: text/plain
Content-ID:	<2003-8-18112801.I-D@ietf.org>

ENCODING mime
FILE /internet-drafts/draft-ietf-ipsec-ikev2-10.txt

--OtherAccess
Content-Type: Message/External-body;
	name="draft-ietf-ipsec-ikev2-10.txt";
	site="ftp.ietf.org";
	access-type="anon-ftp";
	directory="internet-drafts"

Content-Type: text/plain
Content-ID:	<2003-8-18112801.I-D@ietf.org>

--OtherAccess--

--NextPart--


From owner-ipsec@lists.tislabs.com  Mon Aug 18 15:46:59 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id PAA02262
	for <ipsec-archive@lists.ietf.org>; Mon, 18 Aug 2003 15:46:58 -0400 (EDT)
From: owner-ipsec@lists.tislabs.com
Received: by lists.tislabs.com (8.9.1/8.9.1) id MAA02003
	Mon, 18 Aug 2003 12:51:52 -0400 (EDT)
Date: Mon, 18 Aug 2003 12:51:52 -0400 (EDT)
Message-Id: <200308181651.MAA02003@lists.tislabs.com>

[129.42.208.172])
	by lists.tislabs.com (8.9.1/8.9.1) with ESMTP id RAA25691
	Sat, 16 Aug 2003 17:57:08 -0400 (EDT)
From: Charlie_Kaufman@notesdev.ibm.com
To: ipsec@lists.tislabs.com
Subject: draft-ietf-ipsec-ikev2-10.txt
MIME-Version: 1.0
X-Mailer: Lotus Notes Build V602_05062003 May 06, 2003
Message-ID: 
<OF9A61FC2D.B25DC186-ON85256D84.0075D370-85256D84.0076CDD3@notesdev.ibm.com>
Date: Sat, 16 Aug 2003 17:36:21 -0400
X-MIMETrack: Serialize by Router on Ace/Iris(Release 6.0.2CF2|July 
23, 2003) at 08/16/2003
  06:05:13 PM,
	Serialize complete at 08/16/2003 06:05:13 PM
Content-Type: multipart/alternative; boundary="=_alternative 
007643D285256D84_="
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

This is a multipart message in MIME format.
--=_alternative 007643D285256D84_=
Content-Type: text/plain; charset="US-ASCII"

After a phone call with Barbara and Ted, I submitted another update to
IKEv2. This one has no technical changes. The only editorial change is a
warning in security considerations against use of non-key-generating EAP
methods. I fixed some typos reported in the last few days, and made some
boilerplate changes in accordance with ID-Nits.

         --Charlie
--=_alternative 007643D285256D84_=
Content-Type: text/html; charset="US-ASCII"


<br><font size=2 face="sans-serif">After a phone call with Barbara and
Ted, I submitted another update to IKEv2. This one has no technical changes.
The only editorial change is a warning in security considerations against
use of non-key-generating EAP methods. I fixed some typos reported in the
last few days, and made some boilerplate changes in accordance with 
ID-Nits.</font>
<br>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; --Charlie</font>
--=_alternative 007643D285256D84_=--


From owner-ipsec@lists.tislabs.com  Mon Aug 18 15:51:06 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id PAA02346
	for <ipsec-archive@lists.ietf.org>; Mon, 18 Aug 2003 15:51:05 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id NAA02148
	Mon, 18 Aug 2003 13:19:04 -0400 (EDT)
Message-Id: <200308181514.LAA22244@ietf.org>
To: IETF-Announce: ;
Cc: ipsec@lists.tislabs.com
From: Internet-Drafts@ietf.org
Reply-To: Internet-Drafts@ietf.org
Subject: I-D ACTION:draft-ietf-ipsec-ikev2-algorithms-03.txt
Date: Mon, 18 Aug 2003 11:14:33 -0400
MIME-Version: 1.0
Content-Type: Multipart/Mixed; 

boundary="MIMEStream=_0+33743_28646386356125_02438850648"
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk


--MIMEStream=_0+33743_28646386356125_02438850648

A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the IP Security Protocol Working Group 
of the IETF.

	Title		: Cryptographic Algorithms for use in the Internet Key
                           Exchange Version 2
	Author(s)	: J. Schiller
	Filename	: draft-ietf-ipsec-ikev2-algorithms-03.txt
	Pages		: 5
	Date		: 2003-8-18

The IPSec series of protocols makes use of various cryptographic
algorithms in order to provide security services. The Internet Key
Exchange (IKE [RFC2409] and IKEv2 [IKEv2]) provide a mechanism to
negotiate which algorithms should be used in any even association.
However to ensure interoperability between disparate implementations it
is necessary to specify a set of mandatory to implement algorithms to
ensure at least one algorithm that all implementations will have
available. This document defines the current set of mandatory to
implement algorithms for use of IKEv2 as well as specifying algorithms
that should be implemented because they made be promoted to mandatory
at some future time.

A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-ietf-ipsec-ikev2-algorithms-03.txt

To remove yourself from the IETF Announcement list, send a message to
ietf-announce-request with the word unsubscribe in the body of the message.

Internet-Drafts are also available by anonymous FTP. Login with the username
"anonymous" and a password of your e-mail address. After logging in,
type "cd internet-drafts" and then
	"get draft-ietf-ipsec-ikev2-algorithms-03.txt".

A list of Internet-Drafts directories can be found in
http://www.ietf.org/shadow.html
or ftp://ftp.ietf.org/ietf/1shadow-sites.txt


Internet-Drafts can also be obtained by e-mail.

Send a message to:
	mailserv@ietf.org.
In the body type:
	"FILE /internet-drafts/draft-ietf-ipsec-ikev2-algorithms-03.txt".

NOTE:	The mail server at ietf.org can return the document in
	MIME-encoded form by using the "mpack" utility.  To use this
	feature, insert the command "ENCODING mime" before the "FILE"
	command.  To decode the response(s), you will need "munpack" or
	a MIME-compliant mail reader.  Different MIME-compliant mail readers
	exhibit different behavior, especially when dealing with
	"multipart" MIME messages (i.e. documents which have been split
	up into multiple messages), so check your local documentation on
	how to manipulate these messages.


Below is the data which will enable a MIME compliant mail reader
implementation to automatically retrieve the ASCII version of the
Internet-Draft.

--MIMEStream=_0+33743_28646386356125_02438850648
Content-Type: Multipart/Alternative; 
boundary="MIMEStream=_1+166822_0253450726131_07263095297"


--MIMEStream=_1+166822_0253450726131_07263095297
Content-Type: Message/External-body; access-type="mail-server"; 
server="mailserv@ietf.org"

Content-Type: text/plain
Content-ID:	<2003-8-18112752.I-D@ietf.org>

ENCODING mime
FILE /internet-drafts/draft-ietf-ipsec-ikev2-algorithms-03.txt

--MIMEStream=_1+166822_0253450726131_07263095297
Content-Type: Message/External-body; 
name="draft-ietf-ipsec-ikev2-algorithms-03.txt"; site="ftp.ietf.org"; 
access-type="anon-ftp"; directory="internet-drafts"

Content-Type: text/plain
Content-ID:	<2003-8-18112752.I-D@ietf.org>

--MIMEStream=_1+166822_0253450726131_07263095297--
--MIMEStream=_0+33743_28646386356125_02438850648--
-------


From owner-ipsec@lists.tislabs.com  Mon Aug 18 15:54:13 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id PAA02407
	for <ipsec-archive@lists.ietf.org>; Mon, 18 Aug 2003 15:54:12 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id NAA02135
	Mon, 18 Aug 2003 13:18:41 -0400 (EDT)
Message-Id: <200308181514.LAA22259@ietf.org>
To: IETF-Announce: ;
Cc: ipsec@lists.tislabs.com
From: Internet-Drafts@ietf.org
Reply-To: Internet-Drafts@ietf.org
Subject: I-D ACTION:draft-ietf-ipsec-ikev2-10.txt
Date: Mon, 18 Aug 2003 11:14:38 -0400
MIME-Version: 1.0
Content-Type: Multipart/Mixed; 

boundary="MIMEStream=_0+262632_322548235925_886807099994"
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk


--MIMEStream=_0+262632_322548235925_886807099994

A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the IP Security Protocol Working Group 
of the IETF.

	Title		: Internet Key Exchange (IKEv2) Protocol
	Author(s)	: C. Kaufman
	Filename	: draft-ietf-ipsec-ikev2-10.txt
	Pages		: 99
	Date		: 2003-8-18

This document describes version 2 of the Internet Key Exchange (IKE)
protocol.  IKE is a component of IPsec used for performing mutual
authentication and establishing and maintaining security
associations.
This version of the IKE specification combines the contents of what
were previously separate documents, including ISAKMP (RFC 2408), IKE
(RFC 2409), the Internet DOI (RFC 2407), NAT Traversal, Legacy
authentication, and remote address acquisition.
Version 2 of IKE does not interoperate with version 1, but it has
enough of the header format in common that both versions can
unambiguously run over the same UDP port.

A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-ietf-ipsec-ikev2-10.txt

To remove yourself from the IETF Announcement list, send a message to
ietf-announce-request with the word unsubscribe in the body of the message.

Internet-Drafts are also available by anonymous FTP. Login with the username
"anonymous" and a password of your e-mail address. After logging in,
type "cd internet-drafts" and then
	"get draft-ietf-ipsec-ikev2-10.txt".

A list of Internet-Drafts directories can be found in
http://www.ietf.org/shadow.html
or ftp://ftp.ietf.org/ietf/1shadow-sites.txt


Internet-Drafts can also be obtained by e-mail.

Send a message to:
	mailserv@ietf.org.
In the body type:
	"FILE /internet-drafts/draft-ietf-ipsec-ikev2-10.txt".

NOTE:	The mail server at ietf.org can return the document in
	MIME-encoded form by using the "mpack" utility.  To use this
	feature, insert the command "ENCODING mime" before the "FILE"
	command.  To decode the response(s), you will need "munpack" or
	a MIME-compliant mail reader.  Different MIME-compliant mail readers
	exhibit different behavior, especially when dealing with
	"multipart" MIME messages (i.e. documents which have been split
	up into multiple messages), so check your local documentation on
	how to manipulate these messages.


Below is the data which will enable a MIME compliant mail reader
implementation to automatically retrieve the ASCII version of the
Internet-Draft.

--MIMEStream=_0+262632_322548235925_886807099994
Content-Type: Multipart/Alternative; 
boundary="MIMEStream=_1+21985_85547255247090_48069736344"


--MIMEStream=_1+21985_85547255247090_48069736344
Content-Type: Message/External-body; access-type="mail-server"; 
server="mailserv@ietf.org"

Content-Type: text/plain
Content-ID:	<2003-8-18112801.I-D@ietf.org>

ENCODING mime
FILE /internet-drafts/draft-ietf-ipsec-ikev2-10.txt

--MIMEStream=_1+21985_85547255247090_48069736344
Content-Type: Message/External-body; 
name="draft-ietf-ipsec-ikev2-10.txt"; site="ftp.ietf.org"; 
access-type="anon-ftp"; directory="internet-drafts"

Content-Type: text/plain
Content-ID:	<2003-8-18112801.I-D@ietf.org>

--MIMEStream=_1+21985_85547255247090_48069736344--
--MIMEStream=_0+262632_322548235925_886807099994--
-------


From owner-ipsec@lists.tislabs.com  Mon Aug 18 15:58:02 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id PAA02534
	for <ipsec-archive@lists.ietf.org>; Mon, 18 Aug 2003 15:58:02 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id NAA02118
	Mon, 18 Aug 2003 13:17:32 -0400 (EDT)
Message-Id: <200308181514.LAA22244@ietf.org>
Mime-Version: 1.0
Content-Type: Multipart/Mixed; Boundary="NextPart"
To: IETF-Announce: ;
Cc: ipsec@lists.tislabs.com
From: Internet-Drafts@ietf.org
Reply-to: Internet-Drafts@ietf.org
Subject: I-D ACTION:draft-ietf-ipsec-ikev2-algorithms-03.txt
Date: Mon, 18 Aug 2003 11:14:33 -0400
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

--NextPart

A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the IP Security Protocol Working Group 
of the IETF.

	Title		: Cryptographic Algorithms for use in the Internet Key
                           Exchange Version 2
	Author(s)	: J. Schiller
	Filename	: draft-ietf-ipsec-ikev2-algorithms-03.txt
	Pages		: 5
	Date		: 2003-8-18

The IPSec series of protocols makes use of various cryptographic
algorithms in order to provide security services. The Internet Key
Exchange (IKE [RFC2409] and IKEv2 [IKEv2]) provide a mechanism to
negotiate which algorithms should be used in any even association.
However to ensure interoperability between disparate implementations it
is necessary to specify a set of mandatory to implement algorithms to
ensure at least one algorithm that all implementations will have
available. This document defines the current set of mandatory to
implement algorithms for use of IKEv2 as well as specifying algorithms
that should be implemented because they made be promoted to mandatory
at some future time.

A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-ietf-ipsec-ikev2-algorithms-03.txt

To remove yourself from the IETF Announcement list, send a message to
ietf-announce-request with the word unsubscribe in the body of the message.

Internet-Drafts are also available by anonymous FTP. Login with the username
"anonymous" and a password of your e-mail address. After logging in,
type "cd internet-drafts" and then
	"get draft-ietf-ipsec-ikev2-algorithms-03.txt".

A list of Internet-Drafts directories can be found in
http://www.ietf.org/shadow.html
or ftp://ftp.ietf.org/ietf/1shadow-sites.txt


Internet-Drafts can also be obtained by e-mail.

Send a message to:
	mailserv@ietf.org.
In the body type:
	"FILE /internet-drafts/draft-ietf-ipsec-ikev2-algorithms-03.txt".

NOTE:	The mail server at ietf.org can return the document in
	MIME-encoded form by using the "mpack" utility.  To use this
	feature, insert the command "ENCODING mime" before the "FILE"
	command.  To decode the response(s), you will need "munpack" or
	a MIME-compliant mail reader.  Different MIME-compliant mail readers
	exhibit different behavior, especially when dealing with
	"multipart" MIME messages (i.e. documents which have been split
	up into multiple messages), so check your local documentation on
	how to manipulate these messages.


Below is the data which will enable a MIME compliant mail reader
implementation to automatically retrieve the ASCII version of the
Internet-Draft.

--NextPart
Content-Type: Multipart/Alternative; Boundary="OtherAccess"

--OtherAccess
Content-Type: Message/External-body;
	access-type="mail-server";
	server="mailserv@ietf.org"

Content-Type: text/plain
Content-ID:	<2003-8-18112752.I-D@ietf.org>

ENCODING mime
FILE /internet-drafts/draft-ietf-ipsec-ikev2-algorithms-03.txt

--OtherAccess
Content-Type: Message/External-body;
	name="draft-ietf-ipsec-ikev2-algorithms-03.txt";
	site="ftp.ietf.org";
	access-type="anon-ftp";
	directory="internet-drafts"

Content-Type: text/plain
Content-ID:	<2003-8-18112752.I-D@ietf.org>

--OtherAccess--

--NextPart--


From owner-ipsec@lists.tislabs.com  Mon Aug 18 16:23:17 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id QAA03332
	for <ipsec-archive@lists.ietf.org>; Mon, 18 Aug 2003 16:23:17 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id NAA02054
	Mon, 18 Aug 2003 13:11:15 -0400 (EDT)
To: ipsec@lists.tislabs.com
cc: ipsec@lists.tislabs.com, byfraser@cisco.com, tytso@mit.edu
Cc: housley@vigilsec.com, smb@research.att.com, kivinen@ssh.fi
Subject: The remaining IKEv2 issues
From: "Theodore Ts'o" <tytso@mit.edu>
Phone: (781) 391-3464
Message-Id: <E19oneL-0003NU-00@think.thunk.org>
Date: Mon, 18 Aug 2003 13:18:33 -0400
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

Last week on August 12, Angelos posted a status of the remaining issues
reamining open on the IKEv2 document at the end of wg last call, and
thos that were closed as of the -09 document.  The only comments made to
Angelos' issues were some editorial nits raised by Abraham Shacham,
which were recorded in the issue tracker as issue #66.

Of the remaining issues left open per Angelos' message of August 12:

 1: (Rekeyed SA use)
 7: (Fragmentation negotiation (before/after IPsec processing)
 10: (NAT Traversal support)
 16: (Negotiate ToS in IKEv2)
 41: (NAT traversal missing text)
 55: (ICMP fields as selectors ?)
 64: (Use the SPI of SA being rekeyed in a notify payload during rekey)
 65: (EAP)

Issues 1, 10, 41, 55, and 64 were actually addressed in the -09, but had
not been marked as closed.

Of the remaining three issues:

 7: (Fragmentation negotiation (before/after IPsec processing)
 16: (Negotiate ToS in IKEv2)
 65: (EAP)

There does not seem to be consensus for issue #7, and this is something
which can be added later as an extension to IKE if and when there is
consensus.  Nor does it seem that the lack the ability to do red side
fragmentation (and the ability to forbid black side fragmentation) to be
a fundemental lack in the IKEv2 specification.  (Indeed, it has been
pointed out that the transmitter can not guarantee that other gateways
might fragmented encrypted packets, and that this situation might change
dynamically as routing changes.)

Issue #16 is something which has yet to be discussed as part of the RFC
2401-bis discussion.  As we discussed earlier, if we came to consensus
before this document exited IETF last call, subject to AD approval, we
could add the necessary text to support TOS selectors to the IKE
specification.  (The IKEv2 specification has a dependency on RFC
2401-bis, so it can't be published by the RFC editor until we finish RFC
2401-bis anyway.)  Alternatively, if we do not come to consensus,
support for TOS selectors can be added in a subsequent document easily
enough.

The final issue #65, concerns whether or not non key-generating EAP
methods should be supported, in order to avoid a Man-in-the-middle
attack (MITM) attack.  However, as Charlie has pointed out, as used in
IKEv2, the server is authenticated with a certificate before the
authentication code is passed.  In addition, given the requirement to
support one-time password and Generic Token cards, we can not forbid the
use of non-kg EAP schemes.  Hence, given that the MITM attack which was
the concern raised by issue #65 is not an issue for IKEv2, we believe
that this is not something that should hold back the publication of
IKEv2 as a Proposed Standard.

Charlie has just put out the -10 version of the IKEv2 document, which
addresses the editorial nits which were raised by Abraham Shacham and
others after -09 was released.  With these issues closed (or as closed
as they are going to be), we believe that the -10 version is ready for
IETF last call, once it the -10 version has been processed by the IETF
secretariat.

					- Ted and Barbara


From owner-ipsec@lists.tislabs.com  Mon Aug 18 17:18:53 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA05024
	for <ipsec-archive@lists.ietf.org>; Mon, 18 Aug 2003 17:18:52 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id OAA02958
	Mon, 18 Aug 2003 14:21:20 -0400 (EDT)
Date: Mon, 18 Aug 2003 11:25:32 -0700
From: Nicolas Williams <Nicolas.Williams@sun.com>
To: ipsec@lists.tislabs.com
Cc: Mike Eisler <mike@eisler.com>
Subject: IKEv2 SA rekeying - naming an initial SA
Message-ID: <20030818182532.GF27057@binky.central.sun.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.4i
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

I'm glad to see that there is some SA rekeying functionality in IKEv2
that is somewhat like the rekeying functionality in SSHv2, that is, that
a new SA can be established under the protection of and bound to a
previous (still live) SA.

Now, if only there was a concept similar to the SSHv2 session ID.  (Or
is it there and I just missed it?)

If there is no IKEv2 equivalent to the SSHv2 session ID, I would like to
have one defined.

We have a need for a way to name a [transport mode] SA and its rekeyed
replacements where the name is cryptographically bound to the initial SA
key exchange.

See:

http://www.ietf.org/internet-drafts/draft-ietf-nfsv4-ccm-01.txt

(and please note that we already know that sections 5.1 and 5.2 of
draft-ietf-nfsv4-ccm-01.txt are wrong.)

Thanks,

Nico
-- 


From owner-ipsec@lists.tislabs.com  Mon Aug 18 17:18:54 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA05027
	for <ipsec-archive@lists.ietf.org>; Mon, 18 Aug 2003 17:18:53 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id OAA03184
	Mon, 18 Aug 2003 14:34:34 -0400 (EDT)
Mime-Version: 1.0
X-Sender: phoffvpnc@mail.vpnc.org
Message-Id: <p0521061dbb66cc32b41a@[63.202.92.152]>
X-Habeas-SWE-1: winter into spring
X-Habeas-SWE-2: brightly anticipated
X-Habeas-SWE-3: like Habeas SWE (tm)
X-Habeas-SWE-4: Copyright 2002 Habeas (tm)
X-Habeas-SWE-5: Sender Warranted Email (SWE) (tm). The sender of this
X-Habeas-SWE-6: email in exchange for a license for this Habeas
X-Habeas-SWE-7: warrant mark warrants that this is a Habeas Compliant
X-Habeas-SWE-8: Message (HCM) and not spam. Please report use of this
X-Habeas-SWE-9: mark in spam to <http://www.habeas.com/report>.
Date: Mon, 18 Aug 2003 11:41:50 -0700
To: ipsec@lists.tislabs.com
From: Paul Hoffman / VPNC <paul.hoffman@vpnc.org>
Subject: Unfixed errors and issues in
 draft-ietf-ipsec-ikev2-algorithms-03.txt
Content-Type: text/plain; charset="us-ascii" ; format="flowed"
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

Greetings again. The latest version of the IKEv2 algorithms document 
still has significant errors and issues that were pointed out earlier 
but not fixed. The WG discussion made it clear that the algorithms 
document should only list strong cryptography that is expected to 
widely used.

- There is still a definition for "SHOULD-" even though it not used 
as a designator in the document.

- PRF_HMAC_TIGER is given a value even though it is wholly unused in 
the real world in IKEv1.

- AUTH_DES_MAC and AUTH_KPDK_MD5 are listed even though few (if any!) 
implementations of IKEv1 have them. Further, the reference for 
AUTH_KPDK_MD5 seems bogus.

Also, as a nit, there are many references missing.

--Paul Hoffman, Director
--VPN Consortium


From owner-ipsec@lists.tislabs.com  Mon Aug 18 18:50:12 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id SAA08362
	for <ipsec-archive@lists.ietf.org>; Mon, 18 Aug 2003 18:50:12 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id QAA04180
	Mon, 18 Aug 2003 16:12:14 -0400 (EDT)
Message-ID: <3F4134CC.DFD222F@cisco.com>
Date: Mon, 18 Aug 2003 13:19:24 -0700
From: Tom Hu <tomhu@cisco.com>
X-Mailer: Mozilla 4.79 [en]C-CCK-MCD   (Windows NT 5.0; U)
X-Accept-Language: en
MIME-Version: 1.0
To: ipsec wg <ipsec@lists.tislabs.com>
Subject: IKEv2 INFO exchange question???
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk
Content-Transfer-Encoding: 7bit

Hi all,

I have question regarding to INFO exchange.

If the responder receives AUTH payload with piggyback SA, and the
responder found a bad SA (or TS), it looks like the AUTH with
N(notification) is the only choice to notify the Initiator by the
responder. If not, the responder sends INFO notify  instead, the
Initiator can not handle this notification because the initiator does
not auth the responder yet. Is it a correct statement?

In the draft, it says the INFO exchange only and must occurrs after
initial exchange (after 4th message) no matter it is piggyback exchange
or not. The only exception is that "Invalid SPI" notification can be
sent in the any state when you lost the track of sa. Is any other
exception ?.

Thanks,

Tom Hu



From owner-ipsec@lists.tislabs.com  Mon Aug 18 19:00:12 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id TAA08602
	for <ipsec-archive@lists.ietf.org>; Mon, 18 Aug 2003 19:00:11 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id QAA04203
	Mon, 18 Aug 2003 16:15:50 -0400 (EDT)
Message-ID: <3F4135CF.6030106@creeksidenet.com>
Date: Mon, 18 Aug 2003 16:23:43 -0400
From: "jpickering@creeksidenet.com" <jpickering@creeksidenet.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; m18) Gecko/20001108 Netscape6/6.0
X-Accept-Language: en
MIME-Version: 1.0
To: "Theodore Ts'o" <tytso@mit.edu>
CC: ipsec@lists.tislabs.com, byfraser@cisco.com, housley@vigilsec.com,
        smb@research.att.com, kivinen@ssh.fi
Subject: Re: The remaining IKEv2 issues
References: <E19oneL-0003NU-00@think.thunk.org>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk
Content-Transfer-Encoding: 7bit


I must have missed the resolution on issue 64, can someone remind me of 
the resolution
and rationale?

Thanks,
Jeff

Theodore Ts'o wrote:

> Last week on August 12, Angelos posted a status of the remaining issues
> reamining open on the IKEv2 document at the end of wg last call, and
> thos that were closed as of the -09 document.  The only comments made to
> Angelos' issues were some editorial nits raised by Abraham Shacham,
> which were recorded in the issue tracker as issue #66.
> 
> Of the remaining issues left open per Angelos' message of August 12:
> 
>  1: (Rekeyed SA use)
>  7: (Fragmentation negotiation (before/after IPsec processing)
>  10: (NAT Traversal support)
>  16: (Negotiate ToS in IKEv2)
>  41: (NAT traversal missing text)
>  55: (ICMP fields as selectors ?)
>  64: (Use the SPI of SA being rekeyed in a notify payload during rekey)
>  65: (EAP)
> 
> Issues 1, 10, 41, 55, and 64 were actually addressed in the -09, but had
> not been marked as closed.
> 
> Of the remaining three issues:
> 
>  7: (Fragmentation negotiation (before/after IPsec processing)
>  16: (Negotiate ToS in IKEv2)
>  65: (EAP)
> 
> There does not seem to be consensus for issue #7, and this is something
> which can be added later as an extension to IKE if and when there is
> consensus.  Nor does it seem that the lack the ability to do red side
> fragmentation (and the ability to forbid black side fragmentation) to be
> a fundemental lack in the IKEv2 specification.  (Indeed, it has been
> pointed out that the transmitter can not guarantee that other gateways
> might fragmented encrypted packets, and that this situation might change
> dynamically as routing changes.)
> 
> Issue #16 is something which has yet to be discussed as part of the RFC
> 2401-bis discussion.  As we discussed earlier, if we came to consensus
> before this document exited IETF last call, subject to AD approval, we
> could add the necessary text to support TOS selectors to the IKE
> specification.  (The IKEv2 specification has a dependency on RFC
> 2401-bis, so it can't be published by the RFC editor until we finish RFC
> 2401-bis anyway.)  Alternatively, if we do not come to consensus,
> support for TOS selectors can be added in a subsequent document easily
> enough.
> 
> The final issue #65, concerns whether or not non key-generating EAP
> methods should be supported, in order to avoid a Man-in-the-middle
> attack (MITM) attack.  However, as Charlie has pointed out, as used in
> IKEv2, the server is authenticated with a certificate before the
> authentication code is passed.  In addition, given the requirement to
> support one-time password and Generic Token cards, we can not forbid the
> use of non-kg EAP schemes.  Hence, given that the MITM attack which was
> the concern raised by issue #65 is not an issue for IKEv2, we believe
> that this is not something that should hold back the publication of
> IKEv2 as a Proposed Standard.
> 
> Charlie has just put out the -10 version of the IKEv2 document, which
> addresses the editorial nits which were raised by Abraham Shacham and
> others after -09 was released.  With these issues closed (or as closed
> as they are going to be), we believe that the -10 version is ready for
> IETF last call, once it the -10 version has been processed by the IETF
> secretariat.
> 
> 					- Ted and Barbara
> 
> 
> 



From owner-ipsec@lists.tislabs.com  Mon Aug 18 19:16:26 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id TAA09039
	for <ipsec-archive@lists.ietf.org>; Mon, 18 Aug 2003 19:16:26 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id QAA04306
	Mon, 18 Aug 2003 16:31:36 -0400 (EDT)
Message-ID: <3F413956.4E35A393@cisco.com>
Date: Mon, 18 Aug 2003 13:38:46 -0700
From: Tom Hu <tomhu@cisco.com>
X-Mailer: Mozilla 4.79 [en]C-CCK-MCD   (Windows NT 5.0; U)
X-Accept-Language: en
MIME-Version: 1.0
To: ipsec wg <ipsec@lists.tislabs.com>
Subject: Initiator exposes DOS attack for IKEv2?
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk
Content-Transfer-Encoding: 7bit

Hi all,

Hopefully, I do not misunderstand the draft in this DOS attack scenario.
Welcome any input.

Assume Initiator creates the Diffe-Herman group x public key and sends
the KE payload to the responder in the IKE_SA_INIT exchange. The
responder does not like this group x DH. It should response back with
"INVLID_KE_PAYLOAD" indicating the corrected DH group (see 2.7). Since
IKE_SA_INIT exchange is clear text exchange, there is a possible the
third party acts as the responder to reply this "INVALID _KE_PAYLOAD"
for each initiator' request.

This causes the initiator continues changing the DH group and re-send
the KE payload that the responder wants.

We know DH calculation is very CPU-intensive. Initiator system can have
very bad DOS attack by this scenario. Any comment?

Thanks,

Tom Hu



From owner-ipsec@lists.tislabs.com  Mon Aug 18 19:35:34 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id TAA09461
	for <ipsec-archive@lists.ietf.org>; Mon, 18 Aug 2003 19:35:33 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id QAA04491
	Mon, 18 Aug 2003 16:57:01 -0400 (EDT)
To: ipsec@lists.tislabs.com
Subject: Re: The remaining IKEv2 issues 
In-reply-to: Your message of "Mon, 18 Aug 2003 13:18:33 EDT."
             <E19oneL-0003NU-00@think.thunk.org> 
Mime-Version: 1.0 (generated by tm-edit 1.8)
Content-Type: text/plain; charset=US-ASCII
Date: Mon, 18 Aug 2003 17:04:36 -0400
Message-ID: <20934.1061240676@marajade.sandelman.ottawa.on.ca>
From: Michael Richardson <mcr@sandelman.ottawa.on.ca>
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

-----BEGIN PGP SIGNED MESSAGE-----


>>>>> "Theodore" == Theodore Ts'o <tytso@mit.edu> writes:
    Theodore> The final issue #65, concerns whether or not non key-generating
    Theodore> EAP methods should be supported, in order to avoid a
    Theodore> Man-in-the-middle attack (MITM) attack.  However, as Charlie
    Theodore> has pointed out, as used in IKEv2, the server is authenticated
    Theodore> with a certificate before the authentication code is passed.

  My understanding of the MITM attack on non key-generating EAP methods is
that nothing we do in IKEv2 prevents this. This is because the attack is
not between two IPsec devices, but between different kinds of devices.

  I.e. you do key-less EAP with a web server as part of HTTPS, and the
*web server* then does key-less EAP IKE2, acting a kind of nefarious
algorithm proxy.

  We demand that each end know the generated EAP key so that we can bind the
key to the authenticator used. The above web server wouldn't know the
generated key, so the attack is defeated.

    Theodore> In addition, given the requirement to support one-time password
    Theodore> and Generic Token cards, we can not forbid the use of non-kg
    Theodore> EAP schemes.  Hence, given that the MITM attack which was the
    Theodore> concern raised by issue #65 is not an issue for IKEv2, we
    Theodore> believe that this is not something that should hold back the
    Theodore> publication of IKEv2 as a Proposed Standard.

  So, the only way to support these kind of things is by using EAP?
  I'm not complaining, I'm just asking for confirmation.

    Theodore> closed (or as closed as they are going to be), we believe that
    Theodore> the -10 version is ready for IETF last call, once it the -10
    Theodore> version has been processed by the IETF secretariat.

  wow.

]      Out and about in Ottawa.    hmmm... beer.                |  firewalls  [
]   Michael Richardson, Sandelman Software Works, Ottawa, ON    |net architect[
] mcr@sandelman.ottawa.on.ca http://www.sandelman.ottawa.on.ca/ |device driver[
] panic("Just another Debian/notebook using, kernel hacking, security guy");  [


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Finger me for keys - custom hacks make this fully PGP2 compat

iQCVAwUBP0E/Y4qHRg3pndX9AQFXWgQA0qqnN3niE1NQOXNOPKxhsGxRodzaQmpc
ko6m3StDaQzbsB4v9TEOGa5KRcQXeNCoYcDn6ZeHeN5C2qkv4V8PpWajMNUr35mL
c49sz8Yjse8VlIJ+snX8KONC3pAH5H/dnqbZ5JV0y62JA7WWSfgvDXcoNBW6hHzE
M81ks/EmnRA=
=f8LX
-----END PGP SIGNATURE-----


From owner-ipsec@lists.tislabs.com  Mon Aug 18 19:38:06 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id TAA09511
	for <ipsec-archive@lists.ietf.org>; Mon, 18 Aug 2003 19:38:05 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id RAA04518
	Mon, 18 Aug 2003 17:00:35 -0400 (EDT)
To: Nicolas Williams <Nicolas.Williams@sun.com>
cc: ipsec@lists.tislabs.com, Mike Eisler <mike@eisler.com>
Subject: Re: IKEv2 SA rekeying - naming an initial SA 
In-reply-to: Your message of "Mon, 18 Aug 2003 11:25:32 PDT."
             <20030818182532.GF27057@binky.central.sun.com> 
Mime-Version: 1.0 (generated by tm-edit 1.8)
Content-Type: text/plain; charset=US-ASCII
Date: Mon, 18 Aug 2003 17:08:08 -0400
Message-ID: <21027.1061240888@marajade.sandelman.ottawa.on.ca>
From: Michael Richardson <mcr@sandelman.ottawa.on.ca>
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk


>>>>> "Nicolas" == Nicolas Williams <Nicolas.Williams@sun.com> writes:
    Nicolas> I'm glad to see that there is some SA rekeying functionality in
    Nicolas> IKEv2 that is somewhat like the rekeying functionality in SSHv2,
    Nicolas> that is, that a new SA can be established under the protection
    Nicolas> of and bound to a previous (still live) SA.

    Nicolas> Now, if only there was a concept similar to the SSHv2 session
    Nicolas> ID.  (Or is it there and I just missed it?)

  I'd like to see such a thing as well.

]      Out and about in Ottawa.    hmmm... beer.                |  firewalls  [
]   Michael Richardson, Sandelman Software Works, Ottawa, ON    |net architect[
] mcr@sandelman.ottawa.on.ca http://www.sandelman.ottawa.on.ca/ |device driver[
] panic("Just another Debian/notebook using, kernel hacking, security guy");  [


From owner-ipsec@lists.tislabs.com  Mon Aug 18 20:30:10 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id UAA10385
	for <ipsec-archive@lists.ietf.org>; Mon, 18 Aug 2003 20:30:10 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id RAA04807
	Mon, 18 Aug 2003 17:37:04 -0400 (EDT)
Date: Mon, 18 Aug 2003 14:40:40 -0700
From: Nicolas Williams <Nicolas.Williams@sun.com>
To: Michael Richardson <mcr@sandelman.ottawa.on.ca>
Cc: ipsec@lists.tislabs.com, Mike Eisler <mike@eisler.com>
Subject: Re: IKEv2 SA rekeying - naming an initial SA
Message-ID: <20030818214040.GH27057@binky.central.sun.com>
References: <20030818182532.GF27057@binky.central.sun.com> <21027.1061240888@marajade.sandelman.ottawa.on.ca>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <21027.1061240888@marajade.sandelman.ottawa.on.ca>
User-Agent: Mutt/1.4i
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

On Mon, Aug 18, 2003 at 05:08:08PM -0400, Michael Richardson wrote:
> 
> >>>>> "Nicolas" == Nicolas Williams <Nicolas.Williams@sun.com> writes:
>     Nicolas> I'm glad to see that there is some SA rekeying functionality in
>     Nicolas> IKEv2 that is somewhat like the rekeying functionality in SSHv2,
>     Nicolas> that is, that a new SA can be established under the protection
>     Nicolas> of and bound to a previous (still live) SA.
> 
>     Nicolas> Now, if only there was a concept similar to the SSHv2 session
>     Nicolas> ID.  (Or is it there and I just missed it?)
> 
>   I'd like to see such a thing as well.

Perhaps a quantity derived from SK_d and the SPIs of the initial IKE_SA,
or from SKEYSEED and the SPIs of the initial IKE_SA.  Perhaps it would
be useful generally to include AUTH or other material pertaining to
authentication in the derivation, but for use with CCM (the proposed
GSS-API mechanism, not the cipher mode) that is not necessary.

Background:

The Channel Conjunction Mechanism (CCM) is a GSS-API pseudo-mechanism
for negotiating the use of GSS-API channel bindings and the non-use of
session cryptographic protection at the application/GSS-API layer
because a lower layer provides acceptable session protection.  Thus, if
the GSS-API initiator and acceptor have the same channel bindings to a
lower layer session (e.g., an SSHv2 session, or an IKEv2 SA) and a GSS
security context bound to those channel bindings, and if these channel
bindings are derived from a key exchange involving DH, then there is no
MITM and the GSS-API need not provide any session cryptographic
protection.

Summary:  Authentication at one layer (application/GSS-API) bound to
secure sessions at a lower layer (IPsec).

See the NFSv4 list's archives from last December through May or so for
more information, including expected performance savings from using the
CCM GSS-API mechanism in conjunction with secure transports.

Cheers,

Nico
-- 


From owner-ipsec@lists.tislabs.com  Mon Aug 18 20:38:02 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id UAA10554
	for <ipsec-archive@lists.ietf.org>; Mon, 18 Aug 2003 20:38:01 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id RAA04968
	Mon, 18 Aug 2003 17:54:03 -0400 (EDT)
Cc: ipsec@lists.tislabs.com
Message-ID: <3F414CA0.1090105@lucent.com>
Date: Mon, 18 Aug 2003 18:01:04 -0400
From: Uri Blumenthal <uri@lucent.com>
Organization: Lucent Technologies / Bell Labs
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 (CK-LucentTPES)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Michael Richardson <mcr@sandelman.ottawa.on.ca>
Original-CC: ipsec@lists.tislabs.com
Subject: Re: The remaining IKEv2 issues
References: <20934.1061240676@marajade.sandelman.ottawa.on.ca>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

>     Theodore> The final issue #65, concerns whether or not non
> key-generating
>     Theodore> EAP methods should be supported, in order to avoid a
>     Theodore> Man-in-the-middle attack (MITM) attack.  However, as
> Charlie
>     Theodore> has pointed out, as used in IKEv2, the server is
> authenticated
>     Theodore> with a certificate before the authentication code is
> passed.
>
> My understanding of the MITM attack on non key-generating EAP
> methods is that nothing we do in IKEv2 prevents this. This is
> because the attack is not between two IPsec devices, but between
> different kinds of devices...

I concur.

> We demand that each end know the generated EAP key so that we can
> bind the key to the authenticator used. The above web server
> wouldn't know the generated key, so the attack is defeated.

I strongly believe that non key-generating methods must not
be allowed, period. Regarding "special auth" methods - see
below.


>     Theodore> In addition, given the requirement to support
> one-time password
>     Theodore> and Generic Token cards, we can not forbid the use of
> non-kg
>     Theodore> EAP schemes....
>
>   So, the only way to support these kind of things is by using EAP?
>   I'm not complaining, I'm just asking for confirmation.

Probably - but these methods don't have to be non-kg. They
may contribute, even though not much - to the kg procedure.

Why not?


-----BEGIN PGP SIGNATURE-----
Version: PGP 8.0.2

iQA/AwUBP0FMmLaoikcyvR59EQISdgCgvxwd4Ss9q242AH3BnCd2mMn3z8UAoMPd
hKEX0AyngXQ7w9SZjAItGcWq
=aWob
-----END PGP SIGNATURE-----



From owner-ipsec@lists.tislabs.com  Mon Aug 18 22:09:47 2003
Received: from lists.tislabs.com (portal.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id WAA12280
	for <ipsec-archive@lists.ietf.org>; Mon, 18 Aug 2003 22:09:47 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id TAA05670
	Mon, 18 Aug 2003 19:23:22 -0400 (EDT)
To: Nicolas Williams <Nicolas.Williams@sun.com>
cc: ipsec@lists.tislabs.com, Mike Eisler <mike@eisler.com>
Subject: Re: IKEv2 SA rekeying - naming an initial SA 
In-reply-to: Your message of "Mon, 18 Aug 2003 14:40:40 PDT."
             <20030818214040.GH27057@binky.central.sun.com> 
Mime-Version: 1.0 (generated by tm-edit 1.8)
Content-Type: text/plain; charset=US-ASCII
Date: Mon, 18 Aug 2003 19:30:53 -0400
Message-ID: <9959.1061249453@marajade.sandelman.ottawa.on.ca>
From: Michael Richardson <mcr@sandelman.ottawa.on.ca>
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

-----BEGIN PGP SIGNED MESSAGE-----


>>>>> "Nicolas" == Nicolas Williams <Nicolas.Williams@sun.com> writes:
    Nicolas> Now, if only there was a concept similar to the SSHv2 session
    Nicolas> ID.  (Or is it there and I just missed it?)

    >> I'd like to see such a thing as well.

    Nicolas> Perhaps a quantity derived from SK_d and the SPIs of the initial
    Nicolas> IKE_SA, or from SKEYSEED and the SPIs of the initial IKE_SA.

  Hmm. That wasn't what I was thinking about.
  Such a thing would not be able to persist across phase 1 rekeys.
 
  I was thinking more like... initiator contributes 16 or 32 bits from a
PRNG, and responder the same. We have a 32 or 64 bit value which we call
"Channel ID" or some such, and we then mention this in the rekey operation
to be clear we want a rekey (add/delete) rather than an entirely new SA
that might be identical, but will be used for a different QoS or some such.
(based upon a selector that we do not need to communicate to the peer)

  The PPVPN people wanted this.  
  I gotta read -9 and -10 :-(

  The number is also

    Nicolas> Summary: Authentication at one layer (application/GSS-API) bound
    Nicolas> to secure sessions at a lower layer (IPsec).

    Nicolas> See the NFSv4 list's archives from last December through May or
    Nicolas> so for more information, including expected performance savings
    Nicolas> from using the CCM GSS-API mechanism in conjunction with secure
    Nicolas> transports.

  It makes a good number to stick on the packets as they wander through the
kernel. I think that's what you are saying.

]      Out and about in Ottawa.    hmmm... beer.                |  firewalls  [
]   Michael Richardson, Sandelman Software Works, Ottawa, ON    |net architect[
] mcr@sandelman.ottawa.on.ca http://www.sandelman.ottawa.on.ca/ |device driver[
] panic("Just another Debian/notebook using, kernel hacking, security guy");  [


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Finger me for keys - custom hacks make this fully PGP2 compat

iQCVAwUBP0Fhq4qHRg3pndX9AQF9RAP8CmDd9Yv0PtjOwN0d4S54Kt61jvltT0x1
r7dW+mTZdlkEP1etQGXabPWpv8qzvR3Wh6JsWX54+GTKJ/qwFDl+aT4HNJFR86a4
HMfzjuSAurXbwc3TmEzIyB5h9r3AOKALbkyNjWYXSdPNh4Um0AOV4lO/7/K75JF+
VG9sQgu1F5M=
=d9Ya
-----END PGP SIGNATURE-----


From owner-ipsec@lists.tislabs.com  Tue Aug 19 01:16:28 2003
Received: from lists.tislabs.com (portal.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id BAA14967
	for <ipsec-archive@lists.ietf.org>; Tue, 19 Aug 2003 01:16:27 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id WAA06410
	Mon, 18 Aug 2003 22:26:15 -0400 (EDT)
Mime-Version: 1.0
X-Sender: kent@localhost
Message-Id: <p05210603bb673c47be19@[12.159.173.175]>
In-Reply-To: <9959.1061249453@marajade.sandelman.ottawa.on.ca>
References: <9959.1061249453@marajade.sandelman.ottawa.on.ca>
Date: Mon, 18 Aug 2003 22:32:05 -0400
To: Michael Richardson <mcr@sandelman.ottawa.on.ca>
From: Stephen Kent <kent@bbn.com>
Subject: Re: IKEv2 SA rekeying - naming an initial SA
Cc: ipsec@lists.tislabs.com
Content-Type: text/plain; charset="us-ascii" ; format="flowed"
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

Michael,

A while ago I proposed using the combination of the sender and 
receiver SPIs, for a pair of SAs when we need to refer to them, as we 
tend to create them in pairs and the numbers are unique relative to 
the sender and receiver.

Steve


From owner-ipsec@lists.tislabs.com  Tue Aug 19 02:26:43 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id CAA28792
	for <ipsec-archive@lists.ietf.org>; Tue, 19 Aug 2003 02:26:42 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id XAA06605
	Mon, 18 Aug 2003 23:19:50 -0400 (EDT)
Date: Mon, 18 Aug 2003 23:23:06 -0400
From: "Theodore Ts'o" <tytso@mit.edu>
To: Michael Richardson <mcr@sandelman.ottawa.on.ca>
Cc: ipsec@lists.tislabs.com
Subject: Re: The remaining IKEv2 issues
Message-ID: <20030819032306.GA1306@think>
References: <E19oneL-0003NU-00@think.thunk.org> <20934.1061240676@marajade.sandelman.ottawa.on.ca>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20934.1061240676@marajade.sandelman.ottawa.on.ca>
User-Agent: Mutt/1.5.4i
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

On Mon, Aug 18, 2003 at 05:04:36PM -0400, Michael Richardson wrote:
> 
>   My understanding of the MITM attack on non key-generating EAP methods is
> that nothing we do in IKEv2 prevents this. This is because the attack is
> not between two IPsec devices, but between different kinds of devices.
> 

OK, my bad.  I didn't recognize issue #65 as being related to the
desire to thwart the tunnel/protocol composition problem, as
documented Asokan, Niemi, and Nyberg:

	http://eprint.iacr.org/2002/163.pdf

I'm embarassed didn't make the connection from going over the mail
messages and the issue tracker.  I suppose I can take some small
comfort (but only a little) in that Charlie and Angelos didn't notice
it either when we discussed things last week.  Thanks for bringing
that to our attention.

OK, so, how do we resolve this?

It's certainly true that in the general case, the EAP tunnelling
attack can be a real problem.  And if only to make ourselves feel
better about not leaving behind what might considered an attractive
nuisance, perhaps we should mark it as a MUST NOT.  With my working
group chair hat off and my security hat on, I think I would have to
agree with that sentiment.

On the other hand, in order to be realistic, we should at least take a
moment to recognize that there is going to be a very strong market
demand for this support, given the assumption by many corporations
that everything behind the firewire is goodness and light and is fully
secure.  In those environments, if the only use of EAP outside of the
firewall is in protected tunnels (such as IKEv2) used to gain access
to the protected intravent via a VPN solution, then this is in fact no
worse than making the original assumption that everything behind the
firewall is safe.  (After all, if the attacker has access to
unprotected EAP transactions happening behind the firewall, then s/he
has no need to try to use this to break a VPN solution trying to gain
access behind the firewall.)

Of course, this is a very silly, stupid assumption, and with my
security directorate hat on, I deplore it as being bad and horrible
and everyone who does this sort of thing ought to be ashamed of
themselves.  Tsk, tsk, tsk.  Taking that hat off for a moment, though,
I can think of a very large number of companies (including cough,
cough, my current employer, and probably many other complanies who
employ members of this working group), who make precisely this
assumption regarding firewalls and the relative security inside
vs. outside the firewall, and who make use of VPN solutions today.

Hence, I suspect that even if we were to very strongly forbid the use
of non-kg EAP mechanisms, the market pressure for vendors to implement
them for in VPN solutions, for applications such as SecureID and even
simple username/password passed to a Radius server (where more
advanced forms of CHAP-like authentication schemese are not an option
thanks to the customer's antiquated legacy infrastructure), will be
very strong indeed.  Of course, with all of this being said, we still
don't necessary have to condone this outcome (even if some of our
employers will either be building, buying, or deploying such
solutions).

So given this, I propose that we open a 48-hour discussion on this
issue.  Should we (a) say nothing about non-kg types, thus implicitly
allowing them, (b) specify that vendors SHOULD NOT use non-kg EAP
types, or (c) specify that vendors MUST NOT use non-kg EAP types?

Arguments in favor include the originally stated requirement that we
support legacy password authentication schemes; arguments against are
that given some operating environments, there may be an EAP tunnelling
attack, which we shouldn't encourage.  And then of course there's the
pragmatic observation that no matter whether we say MUST NOT or not,
it may in the end have little effect on what VPN vendors actually
choose to ship.

Have I missed any of the arguments either against or for?  If so,
please speak up, but otherwise, let's just take a straw poll and then
just decide this one way or another.

					- Ted


From owner-ipsec@lists.tislabs.com  Tue Aug 19 02:42:18 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id CAA29429
	for <ipsec-archive@lists.ietf.org>; Tue, 19 Aug 2003 02:42:18 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id XAA06705
	Mon, 18 Aug 2003 23:45:33 -0400 (EDT)
Date: Mon, 18 Aug 2003 23:52:41 -0400 (EDT)
From: Henry Spencer <henry@spsystems.net>
To: IP Security List <ipsec@lists.tislabs.com>
Subject: Re: ESPv3 TFC padding
In-Reply-To: <Pine.GSO.4.33.0308120809220.24171-100000@gandalf.sctc.com>
Message-ID: <Pine.BSI.3.91.1030818234500.26894D-100000@spsystems.net>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

On Tue, 12 Aug 2003, Tylor Allison wrote:
> It would seem that random padding probably isn't sufficient, as if you're
> trying to mask small packets, adding a random pad will just result in a
> bigger packet on average, but will still be discernable from a VPN which is
> just passing large packets.

Barring grossly bandwidth-intensive measures like padding all packets out
to a constant size and regularly injecting dummy packets if no real ones
appear, all you can accomplish with such measures is to add noise to the
data obtained by traffic analysis.  If the underlying "signal" is strong
enough, it will eventually show through the noise.

But this doesn't make noise addition worthless.  The noise can *hamper*
traffic analysis even if entirely precluding it is impractical.  The
trickier the particular analysis is in the first place, e.g. trying to
figure out what's going on inside a multi-user SA carrying several kinds
of traffic simultaneously, the more it hurts to add a bit of extra noise
to the data. 

                                                          Henry Spencer
                                                       henry@spsystems.net



From owner-ipsec@lists.tislabs.com  Tue Aug 19 03:22:47 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id DAA00181
	for <ipsec-archive@lists.ietf.org>; Tue, 19 Aug 2003 03:22:46 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id AAA07037
	Tue, 19 Aug 2003 00:40:17 -0400 (EDT)
Date: Mon, 18 Aug 2003 21:43:53 -0700
From: Nicolas Williams <Nicolas.Williams@sun.com>
To: Michael Richardson <mcr@sandelman.ottawa.on.ca>
Cc: ipsec@lists.tislabs.com, Mike Eisler <mike@eisler.com>
Subject: Re: IKEv2 SA rekeying - naming an initial SA
Message-ID: <20030819044353.GJ27057@binky.central.sun.com>
References: <20030818214040.GH27057@binky.central.sun.com> <9959.1061249453@marajade.sandelman.ottawa.on.ca>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <9959.1061249453@marajade.sandelman.ottawa.on.ca>
User-Agent: Mutt/1.4i
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

On Mon, Aug 18, 2003 at 07:30:53PM -0400, Michael Richardson wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> 
> 
> >>>>> "Nicolas" == Nicolas Williams <Nicolas.Williams@sun.com> writes:
>     Nicolas> Now, if only there was a concept similar to the SSHv2 session
>     Nicolas> ID.  (Or is it there and I just missed it?)
> 
>     >> I'd like to see such a thing as well.
> 
>     Nicolas> Perhaps a quantity derived from SK_d and the SPIs of the initial
>     Nicolas> IKE_SA, or from SKEYSEED and the SPIs of the initial IKE_SA.
> 
>   Hmm. That wasn't what I was thinking about.
>   Such a thing would not be able to persist across phase 1 rekeys.
>  
>   I was thinking more like... initiator contributes 16 or 32 bits from a
> PRNG, and responder the same. We have a 32 or 64 bit value which we call
> "Channel ID" or some such, and we then mention this in the rekey operation
> to be clear we want a rekey (add/delete) rather than an entirely new SA
> that might be identical, but will be used for a different QoS or some such.
> (based upon a selector that we do not need to communicate to the peer)

No, it HAS to be cryptographically bound to the DH exchange.

The whole point of CCM (the proposed GSS mech) is to prove that an
underlying secure layer has no MITM - we can do this by proving that
both peers had the same DH public numbers and/or DH key.

>   The PPVPN people wanted this.  
>   I gotta read -9 and -10 :-(
> 
>   The number is also
> 
>     Nicolas> Summary: Authentication at one layer (application/GSS-API) bound
>     Nicolas> to secure sessions at a lower layer (IPsec).
> 
>     Nicolas> See the NFSv4 list's archives from last December through May or
>     Nicolas> so for more information, including expected performance savings
>     Nicolas> from using the CCM GSS-API mechanism in conjunction with secure
>     Nicolas> transports.
> 
>   It makes a good number to stick on the packets as they wander through the
> kernel. I think that's what you are saying.

No, that's not what I'm saying.

Please see:

http://www.ietf.org/internet-drafts/draft-ietf-nfsv4-ccm-01.txt

Nico
-- 


From owner-ipsec@lists.tislabs.com  Tue Aug 19 03:38:32 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id DAA00513
	for <ipsec-archive@lists.ietf.org>; Tue, 19 Aug 2003 03:38:32 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id AAA07133
	Tue, 19 Aug 2003 00:55:39 -0400 (EDT)
Date: Mon, 18 Aug 2003 21:59:55 -0700
From: Nicolas Williams <Nicolas.Williams@sun.com>
To: "Theodore Ts'o" <tytso@mit.edu>
Cc: Michael Richardson <mcr@sandelman.ottawa.on.ca>, ipsec@lists.tislabs.com
Subject: Re: The remaining IKEv2 issues
Message-ID: <20030819045955.GK27057@binky.central.sun.com>
References: <E19oneL-0003NU-00@think.thunk.org> <20934.1061240676@marajade.sandelman.ottawa.on.ca> <20030819032306.GA1306@think>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20030819032306.GA1306@think>
User-Agent: Mutt/1.4i
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

For challenge/response token EAPs one could define a challenge based on
some derivative of the key exchange.  Thus the client could verify that
the challenge corresponds to the KE and the server could verify that the
response corresponds to the challenge and if both check out then the KE
is authenticated.

Obviously NOT a general solution for non-kg EAPs and probably not very
strong either, but for at least one class of non-kg EAPs it is a
possible solution.

I have an ulterior motive for proposing such a thing - see my post today
with subject "IKEv2 SA rekeying - naming an initial SA."

Cheers,

Nico
-- 


From owner-ipsec@lists.tislabs.com  Tue Aug 19 03:50:32 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id DAA00775
	for <ipsec-archive@lists.ietf.org>; Tue, 19 Aug 2003 03:50:32 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id BAA07291
	Tue, 19 Aug 2003 01:08:22 -0400 (EDT)
Date: Mon, 18 Aug 2003 22:12:21 -0700
From: Nicolas Williams <Nicolas.Williams@sun.com>
To: Stephen Kent <kent@bbn.com>
Cc: Michael Richardson <mcr@sandelman.ottawa.on.ca>, ipsec@lists.tislabs.com
Subject: Re: IKEv2 SA rekeying - naming an initial SA
Message-ID: <20030819051220.GL27057@binky.central.sun.com>
References: <9959.1061249453@marajade.sandelman.ottawa.on.ca> <p05210603bb673c47be19@[12.159.173.175]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <p05210603bb673c47be19@[12.159.173.175]>
User-Agent: Mutt/1.4i
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

On Mon, Aug 18, 2003 at 10:32:05PM -0400, Stephen Kent wrote:
> Michael,
> 
> A while ago I proposed using the combination of the sender and 
> receiver SPIs, for a pair of SAs when we need to refer to them, as we 
> tend to create them in pairs and the numbers are unique relative to 
> the sender and receiver.

This is fine for a lot of things, but it's not ok when it comes to
defining a quantity that can be bound to by other crypto protocols.
That's because the SPIs are self-selected (IIUC) and not bound to the
key exchange, so a MITM could cause the SPIi/r pairss to match on both
sides, whereas it could not force the DH public numbers and g^ir mod p
to match on both sides.

You may answer "sure, but IKEv2 takes care of this by authenticating the
KE," but there's a problem with that: if you're trying to securely bind
authentication at an application layer to IKEv2 at a lower layer you may
not care about or be able to intelligently say anything about the
identities authenticated at the IKEv2 layer.  One could use those
identities as the channel bindings quantity, but that automatically and
forever prevents the combined use of anonymous key exchanges at the
lower layer with channel binding (I realize that there is no recognized
anonymous mode for IPsec, but the proposed CCM GSS-API mechanism makes
such a thing worthwhile).

Cheers,

Nico
-- 


From owner-ipsec@lists.tislabs.com  Tue Aug 19 05:01:02 2003
Received: from lists.tislabs.com (portal.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id FAA02211
	for <ipsec-archive@lists.ietf.org>; Tue, 19 Aug 2003 05:01:02 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id BAA07447
	Tue, 19 Aug 2003 01:25:17 -0400 (EDT)
Date: Mon, 18 Aug 2003 22:29:31 -0700
From: Nicolas Williams <Nicolas.Williams@sun.com>
To: "Theodore Ts'o" <tytso@mit.edu>
Cc: Michael Richardson <mcr@sandelman.ottawa.on.ca>, ipsec@lists.tislabs.com
Subject: Re: The remaining IKEv2 issues
Message-ID: <20030819052931.GM27057@binky.central.sun.com>
References: <E19oneL-0003NU-00@think.thunk.org> <20934.1061240676@marajade.sandelman.ottawa.on.ca> <20030819032306.GA1306@think>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20030819032306.GA1306@think>
User-Agent: Mutt/1.4i
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

On Mon, Aug 18, 2003 at 11:23:06PM -0400, Theodore Ts'o wrote:
> On Mon, Aug 18, 2003 at 05:04:36PM -0400, Michael Richardson wrote:
> > 
> >   My understanding of the MITM attack on non key-generating EAP methods is
> > that nothing we do in IKEv2 prevents this. This is because the attack is
> > not between two IPsec devices, but between different kinds of devices.
> > 
> 
> OK, so, how do we resolve this?
[...]
> Arguments in favor include the originally stated requirement that we
> support legacy password authentication schemes; arguments against are
> that given some operating environments, there may be an EAP tunnelling
> attack, which we shouldn't encourage.  And then of course there's the
> pragmatic observation that no matter whether we say MUST NOT or not,
> it may in the end have little effect on what VPN vendors actually
> choose to ship.

IMO, any non-kg EAPs that also cannot somehow be bound to the IKE_SA KE
should not be allowed ("MUST NOT"), but in a pinch (i.e., no consensus)
"SHOULD NOT," accompanied by LOUD warnings of dire, dire consequences
could do.

> Have I missed any of the arguments either against or for?  If so,
> please speak up, but otherwise, let's just take a straw poll and then
> just decide this one way or another.

Well, I have a use for "anonymous IPsec," that is, unauthenticated IKE
key exchanges.  Anonymous KEs can be rather useful, at least if we
define a "session ID" like SSHv2's[*], then we can bind authentication
at higher network layers (e.g., Secure NFS) to anonymous IPsec
"sessions," thus proving that there is no MITM.

Of course, this is not a solution to the non-kg EAP problem, though it
is related to the solution I offered for [some] challenge/response EAPs.

[*]  Derived from, and thus bound to DH and other KE material of an
initial IKE_SA, and which remains unchanged through subsequent re-keys.

Cheers,

Nico
-- 


From owner-ipsec@lists.tislabs.com  Tue Aug 19 06:15:30 2003
Received: from lists.tislabs.com (portal.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id GAA03503
	for <ipsec-archive@lists.ietf.org>; Tue, 19 Aug 2003 06:15:30 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id DAA08141
	Tue, 19 Aug 2003 03:15:57 -0400 (EDT)
Date: Tue, 19 Aug 2003 10:23:06 +0300
Subject: Re: The remaining IKEv2 issues
Content-Type: text/plain; charset=US-ASCII; format=flowed
Mime-Version: 1.0 (Apple Message framework v552)
From: Yoav Nir <ynir@CheckPoint.com>
To: ipsec@lists.tislabs.com
Content-Transfer-Encoding: 7bit
In-Reply-To: <20030819032306.GA1306@think>
Message-Id: <FA1E512B-D215-11D7-A2AC-000A95834BAA@checkpoint.com>
X-Mailer: Apple Mail (2.552)
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk
Content-Transfer-Encoding: 7bit

As many times as I read that article, I can't see how this is a 
problem.  It makes a very strong assumption, that EAP methods are used 
outside of secure tunnels.  IMO this is not true:

- The easiest case is the user/password.  This could be handled using 
EAP-MD5 or EAP-GTC.  In an average company, the user/password 
combination is used to log in to your workstation, to log in to 
servers, or to connect from home or while on the road.  You do not use 
it from home to do things that are not related to IKE.  When at work, 
you log on to the Windows domain controller or to some RADIUS server, 
but you do not use EAP.  The only cases where you actually use EAP is 
when connecting to a wireless LAN equipped with 802.1x or when 
connecting to a relatively new RAS.  These RAS usually also use 
L2TP/IPsec, so that's not snoopable either.  In short, I don't see the 
case where the user will pass their password through unprotected GTC.  
Since both GTC and MD5 are not good protection for passwords, it is up 
to the administrator to prevent these methods from being used in 
unprotected tunnels.

- Another case is the one-time password.  Here, the danger is real, 
although the user will notice that the authentication failed.

- An other case is the SecurID.  This will be done either by GTC or by 
SecurID's own EAP methods.  Both are non-kg.  Again I have to ask, why 
would anyone do GTC in an open channel?  You authenticate either inside 
your corporate network, or else at home for IPsec.  The case of a 
university where a lot of students have access to the network simply 
says that you should use IPsec or at least some kind of tunneled EAP 
such as PEAP or TTLS.  The administrator should not allow users to use 
non-kg methods outside tunnels.

To sum it up, I believe that it should be left to administrators to use 
EAP methods appropriately, i.e. not use the same non-kg method both in 
tunnels and in the clear.  That responsibility should not fall on IKE 
implementors.  They SHOULD, however, warn their customers about the 
dangers.

On Tuesday, August 19, 2003, at 06:23 AM, Theodore Ts'o wrote:
<snip>
> So given this, I propose that we open a 48-hour discussion on this
> issue.  Should we (a) say nothing about non-kg types, thus implicitly
> allowing them, (b) specify that vendors SHOULD NOT use non-kg EAP
> types, or (c) specify that vendors MUST NOT use non-kg EAP types?
>
> Arguments in favor include the originally stated requirement that we
> support legacy password authentication schemes; arguments against are
> that given some operating environments, there may be an EAP tunnelling
> attack, which we shouldn't encourage.  And then of course there's the
> pragmatic observation that no matter whether we say MUST NOT or not,
> it may in the end have little effect on what VPN vendors actually
> choose to ship.



From owner-ipsec@lists.tislabs.com  Tue Aug 19 13:19:25 2003
Received: from lists.tislabs.com (portal.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id NAA24269
	for <ipsec-archive@lists.ietf.org>; Tue, 19 Aug 2003 13:19:25 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id JAA14751
	Tue, 19 Aug 2003 09:10:31 -0400 (EDT)
X-Authentication-Warning: gandalf.sctc.com: allison owned process doing -bs
Date: Tue, 19 Aug 2003 08:17:42 -0500 (CDT)
From: Tylor Allison <allison@securecomputing.com>
X-X-Sender:  <allison@gandalf.sctc.com>
To: "Theodore Ts'o" <tytso@mit.edu>
cc: Michael Richardson <mcr@sandelman.ottawa.on.ca>, <ipsec@lists.tislabs.com>
Subject: Re: The remaining IKEv2 issues
In-Reply-To: <20030819032306.GA1306@think>
Message-ID: <Pine.GSO.4.33.0308190738520.24171-100000@gandalf.sctc.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

So the MITM attack on non-kg methods is possible for EAP messages being
transmitted outside of IKEv2 (e.g. not between IPsec peers), and occurs
because either the EAP messages are being passed in the clear, or the
server in a protected EAP protocol (e.g. PEAP) is not being authenticated
properly.

Why not make doing this a MUST NOT?  Aren't there many ways to make non-kg
EAP methods protected from MITM?  How about:

    o   Securing the EAP with another protocol (PEAP, others).

    o   Securing the network that the auth server is on (e.g. dedicated
        network for the server)

    o   Having IKEv2 peers consume the EAP messages directly ... e.g for
        small scale deployments, the IKEv2 firewall could locally manage a
        small set of user/passwords.

        Another example is that the firewall consumes the EAP messages and
        translates to other (proprietary) security protocols to communicate
        to the authentication servers.

Unless I'm misunderstanding the vulnerability, I think any of these may be
viable, and, as Ted points out, many IKEv2 vendors may be forced to provide
one or more of these solutions to customers with existing legacy auth servers.

My vote... I'm not sure I like the choices.  I would like to see a warning
in the draft regarding the use of EAP outside of IKEv2 (transmissions to
auth server), stating that this transmission needs to be secured.  But
perhaps that should be obvious to implementors and isn't needed?  I don't
want either of the "SHOULD NOT" or "MUST NOT" options.  I think there's
valid reasons why these legacy auth methods need to be supported, and there
are ways to make them secure.

Regards,

Tylor Allison

On Mon, 18 Aug 2003, Theodore Ts'o wrote:

> On Mon, Aug 18, 2003 at 05:04:36PM -0400, Michael Richardson wrote:
> >
> >   My understanding of the MITM attack on non key-generating EAP methods is
> > that nothing we do in IKEv2 prevents this. This is because the attack is
> > not between two IPsec devices, but between different kinds of devices.
> >
>
> OK, my bad.  I didn't recognize issue #65 as being related to the
> desire to thwart the tunnel/protocol composition problem, as
> documented Asokan, Niemi, and Nyberg:
>
> 	http://eprint.iacr.org/2002/163.pdf
>
> I'm embarassed didn't make the connection from going over the mail
> messages and the issue tracker.  I suppose I can take some small
> comfort (but only a little) in that Charlie and Angelos didn't notice
> it either when we discussed things last week.  Thanks for bringing
> that to our attention.
>
> OK, so, how do we resolve this?
>
> It's certainly true that in the general case, the EAP tunnelling
> attack can be a real problem.  And if only to make ourselves feel
> better about not leaving behind what might considered an attractive
> nuisance, perhaps we should mark it as a MUST NOT.  With my working
> group chair hat off and my security hat on, I think I would have to
> agree with that sentiment.
>
> On the other hand, in order to be realistic, we should at least take a
> moment to recognize that there is going to be a very strong market
> demand for this support, given the assumption by many corporations
> that everything behind the firewire is goodness and light and is fully
> secure.  In those environments, if the only use of EAP outside of the
> firewall is in protected tunnels (such as IKEv2) used to gain access
> to the protected intravent via a VPN solution, then this is in fact no
> worse than making the original assumption that everything behind the
> firewall is safe.  (After all, if the attacker has access to
> unprotected EAP transactions happening behind the firewall, then s/he
> has no need to try to use this to break a VPN solution trying to gain
> access behind the firewall.)
>
> Of course, this is a very silly, stupid assumption, and with my
> security directorate hat on, I deplore it as being bad and horrible
> and everyone who does this sort of thing ought to be ashamed of
> themselves.  Tsk, tsk, tsk.  Taking that hat off for a moment, though,
> I can think of a very large number of companies (including cough,
> cough, my current employer, and probably many other complanies who
> employ members of this working group), who make precisely this
> assumption regarding firewalls and the relative security inside
> vs. outside the firewall, and who make use of VPN solutions today.
>
> Hence, I suspect that even if we were to very strongly forbid the use
> of non-kg EAP mechanisms, the market pressure for vendors to implement
> them for in VPN solutions, for applications such as SecureID and even
> simple username/password passed to a Radius server (where more
> advanced forms of CHAP-like authentication schemese are not an option
> thanks to the customer's antiquated legacy infrastructure), will be
> very strong indeed.  Of course, with all of this being said, we still
> don't necessary have to condone this outcome (even if some of our
> employers will either be building, buying, or deploying such
> solutions).
>
> So given this, I propose that we open a 48-hour discussion on this
> issue.  Should we (a) say nothing about non-kg types, thus implicitly
> allowing them, (b) specify that vendors SHOULD NOT use non-kg EAP
> types, or (c) specify that vendors MUST NOT use non-kg EAP types?
>
> Arguments in favor include the originally stated requirement that we
> support legacy password authentication schemes; arguments against are
> that given some operating environments, there may be an EAP tunnelling
> attack, which we shouldn't encourage.  And then of course there's the
> pragmatic observation that no matter whether we say MUST NOT or not,
> it may in the end have little effect on what VPN vendors actually
> choose to ship.
>
> Have I missed any of the arguments either against or for?  If so,
> please speak up, but otherwise, let's just take a straw poll and then
> just decide this one way or another.
>
> 					- Ted




From owner-ipsec@lists.tislabs.com  Tue Aug 19 13:33:02 2003
Received: from lists.tislabs.com (portal.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id NAA25078
	for <ipsec-archive@lists.ietf.org>; Tue, 19 Aug 2003 13:33:02 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id KAA21207
	Tue, 19 Aug 2003 10:11:37 -0400 (EDT)
Date: Tue, 19 Aug 2003 17:17:27 +0300
Subject: Re: The remaining IKEv2 issues
Content-Type: text/plain; charset=US-ASCII; format=flowed
Mime-Version: 1.0 (Apple Message framework v552)
Cc: "Theodore Ts'o" <tytso@mit.edu>,
        Michael Richardson <mcr@sandelman.ottawa.on.ca>,
        <ipsec@lists.tislabs.com>
To: Tylor Allison <allison@securecomputing.com>
From: Yoav Nir <ynir@CheckPoint.com>
In-Reply-To: <Pine.GSO.4.33.0308190738520.24171-100000@gandalf.sctc.com>
Message-Id: <DC40C944-D24F-11D7-BEF6-000A95834BAA@checkpoint.com>
Content-Transfer-Encoding: 7bit
X-Mailer: Apple Mail (2.552)
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk
Content-Transfer-Encoding: 7bit

Hi Tylor,

The reason we can't make doing this a MUST NOT is that the IKEv2 
document is designed to be used by implementors, not administrators and 
definitely not users.  We can say "GTC is OK" or "MUST NOT use GTC".  
We can even say "GTC MUST NOT be used unless the passwords are local to 
the VPN endpoint".  We can't mandate user behavior like "you can't use 
the GTC server for IKE if you can also do GTC over unencrypted PPTP or 
over unauthenticated PEAP".  We can definitely not say "you should only 
authenticate with GTC if you verify the server's certificate correctly 
in PEAP"

In short, you can mandate things about IKE, but not about other users 
of the legacy authentication.  It would be up to the implementor to 
tell the user not to use insecure methods, perhaps by displaying a 
warning message in the GUI.  For the RFC, it's either in or out.

On Tuesday, August 19, 2003, at 04:17 PM, Tylor Allison wrote:

> So the MITM attack on non-kg methods is possible for EAP messages being
> transmitted outside of IKEv2 (e.g. not between IPsec peers), and occurs
> because either the EAP messages are being passed in the clear, or the
> server in a protected EAP protocol (e.g. PEAP) is not being 
> authenticated
> properly.
>
> Why not make doing this a MUST NOT?  Aren't there many ways to make 
> non-kg
> EAP methods protected from MITM?  How about:



From owner-ipsec@lists.tislabs.com  Tue Aug 19 14:06:57 2003
Received: from lists.tislabs.com (portal.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA26890
	for <ipsec-archive@lists.ietf.org>; Tue, 19 Aug 2003 14:06:57 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id LAA26997
	Tue, 19 Aug 2003 11:02:54 -0400 (EDT)
To: ipsec@lists.tislabs.com
Subject: Re: IKEv2 SA rekeying - naming an initial SA 
In-reply-to: Your message of "Mon, 18 Aug 2003 22:32:05 EDT."
             <p05210603bb673c47be19@[12.159.173.175]> 
Mime-Version: 1.0 (generated by tm-edit 1.8)
Content-Type: text/plain; charset=US-ASCII
Date: Tue, 19 Aug 2003 11:10:33 -0400
Message-ID: <27177.1061305833@marajade.sandelman.ottawa.on.ca>
From: Michael Richardson <mcr@sandelman.ottawa.on.ca>
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

-----BEGIN PGP SIGNED MESSAGE-----


>>>>> "Stephen" == Stephen Kent <kent@bbn.com> writes:
    Stephen> A while ago I proposed using the combination of the sender and
    Stephen> receiver SPIs, for a pair of SAs when we need to refer to them,
    Stephen> as we tend to create them in pairs and the numbers are unique
    Stephen> relative to the sender and receiver.

  This will work if you keep this number for all subsequent SAs which are
keyed. How we create the number isn't so important - what matters is that
there is a place to put it when we rekey.

]      Out and about in Ottawa.    hmmm... beer.                |  firewalls  [
]   Michael Richardson, Sandelman Software Works, Ottawa, ON    |net architect[
] mcr@sandelman.ottawa.on.ca http://www.sandelman.ottawa.on.ca/ |device driver[
] panic("Just another Debian/notebook using, kernel hacking, security guy");  [


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Finger me for keys - custom hacks make this fully PGP2 compat

iQCVAwUBP0I95oqHRg3pndX9AQEeUQQAv/DGcjMWEON2TMVkkxJGjI811mSYl7Xp
tNxeTkllg9oQG0wDRdal9otf/XMGlKG6NFHqSFMOdNnHMIkH5Qjlqh+ht/zqMNft
11z0CFehVXAaNkHZ0i5yTnP3wjDMFOQq9j2ULBZAnntsozJVLUD+7pqbUqF4uIY+
2f+jdT2REH8=
=wV27
-----END PGP SIGNATURE-----


From owner-ipsec@lists.tislabs.com  Tue Aug 19 14:09:40 2003
Received: from lists.tislabs.com (portal.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA27038
	for <ipsec-archive@lists.ietf.org>; Tue, 19 Aug 2003 14:09:40 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id KAA25686
	Tue, 19 Aug 2003 10:50:35 -0400 (EDT)
To: ipsec@lists.tislabs.com
Subject: Re: The remaining IKEv2 issues 
In-reply-to: Your message of "Mon, 18 Aug 2003 23:23:06 EDT."
             <20030819032306.GA1306@think> 
Mime-Version: 1.0 (generated by tm-edit 1.8)
Content-Type: text/plain; charset=US-ASCII
Date: Tue, 19 Aug 2003 10:58:08 -0400
Message-ID: <26888.1061305088@marajade.sandelman.ottawa.on.ca>
From: Michael Richardson <mcr@sandelman.ottawa.on.ca>
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

-----BEGIN PGP SIGNED MESSAGE-----


>>>>> "Theodore" == Theodore Ts'o <tytso@mit.edu> writes:
    Theodore> OK, so, how do we resolve this?

    Theodore> On the other hand, in order to be realistic, we should at least
    Theodore> take a moment to recognize that there is going to be a very
    Theodore> strong market demand for this support, given the assumption by
    Theodore> many corporations that everything behind the firewire is
    Theodore> goodness and light and is fully secure.  In those environments,

  One simple answer is that we do not accept non-kg EAP as the way to do
X9.9/SecureID/token based authentication. We accept do, instead XAUTH or
something.

  {I say all of this, still prefering SMB's original proposal...}

  If we accept non-kg EAP methods, then we must make a strong statement to
the effect that the credentials MUST not be used to authenticate to parties
of differing trust. 
  I.e. maybe it is okay for the corporate "extranet" web server to use the
employees EAP credentials to form an IPsec tunnel to the employee's desktop
to retrieve that file. It just isn't okay for company A's web server to
use credentials from company B for things they weren't intended for. (noting
that B's web server must already have some radius-like relationship with A's
authentication server in order to perform the legitimate authentication)

]      Out and about in Ottawa.    hmmm... beer.                |  firewalls  [
]   Michael Richardson, Sandelman Software Works, Ottawa, ON    |net architect[
] mcr@sandelman.ottawa.on.ca http://www.sandelman.ottawa.on.ca/ |device driver[
] panic("Just another Debian/notebook using, kernel hacking, security guy");  [

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Finger me for keys - custom hacks make this fully PGP2 compat

iQCVAwUBP0I6/4qHRg3pndX9AQHdOAQAnpWpBrA2DZZnrizXBDF+45wEldmXiJYE
tNMBG3NGsTC2YTZ9tQOeePNvQBE5WqOeskPlDC4Mkcyhxfg3LOlPrp5e9f+rY7pq
Zq1WuwJca+pFr3q9ojW2H9DDQrF5mN9BO9Lpx3qoLX99EIH+9KWxvz7eVZPu7v4+
TI8x0bE630k=
=tLq0
-----END PGP SIGNATURE-----


From owner-ipsec@lists.tislabs.com  Tue Aug 19 15:07:56 2003
Received: from lists.tislabs.com (portal.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id PAA01229
	for <ipsec-archive@lists.ietf.org>; Tue, 19 Aug 2003 15:07:55 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id LAA27932
	Tue, 19 Aug 2003 11:10:55 -0400 (EDT)
To: ipsec@lists.tislabs.com
Subject: Re: The remaining IKEv2 issues 
In-reply-to: Your message of "Mon, 18 Aug 2003 21:59:55 PDT."
             <20030819045955.GK27057@binky.central.sun.com> 
Mime-Version: 1.0 (generated by tm-edit 1.8)
Content-Type: text/plain; charset=US-ASCII
Date: Tue, 19 Aug 2003 11:18:33 -0400
Message-ID: <27415.1061306313@marajade.sandelman.ottawa.on.ca>
From: Michael Richardson <mcr@sandelman.ottawa.on.ca>
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

-----BEGIN PGP SIGNED MESSAGE-----


>>>>> "Nicolas" == Nicolas Williams <Nicolas.Williams@sun.com> writes:
    Nicolas> For challenge/response token EAPs one could define a challenge
    Nicolas> based on some derivative of the key exchange.  Thus the client
    Nicolas> could verify that the challenge corresponds to the KE and the
    Nicolas> server could verify that the response corresponds to the
    Nicolas> challenge and if both check out then the KE is authenticated.

  There is a key thing that you should realize: in general, the responder
(aka "gateway") won't be able to derive the appropriate response itself.

     i.e. we can't do something like CHAP.

  The reason is that the gateway will likely have to provide the literal
reply via EAP/Radius to another machine for checking.

  I'm not certain what systems your proposal would work for.
  Not SecureID, not X9.9, not passwords-over-radius.

]      Out and about in Ottawa.    hmmm... beer.                |  firewalls  [
]   Michael Richardson, Sandelman Software Works, Ottawa, ON    |net architect[
] mcr@sandelman.ottawa.on.ca http://www.sandelman.ottawa.on.ca/ |device driver[
] panic("Just another Debian/notebook using, kernel hacking, security guy");  [


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Finger me for keys - custom hacks make this fully PGP2 compat

iQCVAwUBP0I/yIqHRg3pndX9AQEG0gQAvebuW2tKZrO/DJ7Wp+azOJA5+fePy+BM
qC75cqYwyLoRklFwWNT3GmAwQCOa3iX5iBFFB/o6z6Zj6xbcfZqWZOdPnz0lMpOb
aGo3vwGL8kknYB6a+pxZZL1Vf50SnkASBL3Bp2Ss3akvFlLelhLw+3jXu7M2n+f/
aywNPkYq6v4=
=Xn0O
-----END PGP SIGNATURE-----


From owner-ipsec@lists.tislabs.com  Tue Aug 19 17:15:23 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA09455
	for <ipsec-archive@lists.ietf.org>; Tue, 19 Aug 2003 17:15:22 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id NAA12392
	Tue, 19 Aug 2003 13:27:04 -0400 (EDT)
Date: Tue, 19 Aug 2003 10:31:18 -0700
From: Nicolas Williams <Nicolas.Williams@sun.com>
To: Michael Richardson <mcr@sandelman.ottawa.on.ca>
Cc: ipsec@lists.tislabs.com
Subject: Re: The remaining IKEv2 issues
Message-ID: <20030819173118.GX27057@binky.central.sun.com>
References: <20030819045955.GK27057@binky.central.sun.com> <27415.1061306313@marajade.sandelman.ottawa.on.ca>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <27415.1061306313@marajade.sandelman.ottawa.on.ca>
User-Agent: Mutt/1.4i
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

On Tue, Aug 19, 2003 at 11:18:33AM -0400, Michael Richardson wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> 
> 
> >>>>> "Nicolas" == Nicolas Williams <Nicolas.Williams@sun.com> writes:
>     Nicolas> For challenge/response token EAPs one could define a challenge
>     Nicolas> based on some derivative of the key exchange.  Thus the client
>     Nicolas> could verify that the challenge corresponds to the KE and the
>     Nicolas> server could verify that the response corresponds to the
>     Nicolas> challenge and if both check out then the KE is authenticated.
> 
>   There is a key thing that you should realize: in general, the responder
> (aka "gateway") won't be able to derive the appropriate response itself.
> 
>      i.e. we can't do something like CHAP.
> 
>   The reason is that the gateway will likely have to provide the literal
> reply via EAP/Radius to another machine for checking.
> 
>   I'm not certain what systems your proposal would work for.
>   Not SecureID, not X9.9, not passwords-over-radius.

The challenge function would have to be modified in those systems - it's
not applicable only at the responder.  This means that the responder
would have to be able to pass the "session ID" to the token system that
generates the challenge, so not only would existing systems have to
change, existing interfaces would have to change.  And initators would
have to be able to verify that the challenge is derived from or bound to
the "session ID."  Large changes indeed.

That's why I said "[some]" in one post - I couldn't say that this
applies easily to any one challenge/response token system, not with any
useful degree of certainty.

(I did have a challenge/response system like SafeWord's in mind though.)

The situation could change in the future though (that is, implementors
could follow the spec in this case, rather than the spec follow the
implementors).

I did also own up to my ulterior motive for offering this :)

Cheers,

Nico
-- 


From owner-ipsec@lists.tislabs.com  Tue Aug 19 17:19:35 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA09562
	for <ipsec-archive@lists.ietf.org>; Tue, 19 Aug 2003 17:19:34 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id NAA15023
	Tue, 19 Aug 2003 13:56:28 -0400 (EDT)
To: Yoav Nir <ynir@CheckPoint.com>
cc: ipsec@lists.tislabs.com
Subject: Re: The remaining IKEv2 issues 
In-reply-to: Your message of "Tue, 19 Aug 2003 10:23:06 +0300."
             <FA1E512B-D215-11D7-A2AC-000A95834BAA@checkpoint.com> 
Mime-Version: 1.0 (generated by tm-edit 1.8)
Content-Type: text/plain; charset=US-ASCII
Date: Tue, 19 Aug 2003 14:03:54 -0400
Message-ID: <30952.1061316234@marajade.sandelman.ottawa.on.ca>
From: Michael Richardson <mcr@sandelman.ottawa.on.ca>
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

-----BEGIN PGP SIGNED MESSAGE-----


>>>>> "Yoav" == Yoav Nir <ynir@CheckPoint.com> writes:
    Yoav> As many times as I read that article, I can't see how this is a
    Yoav> problem.  It makes a very strong assumption, that EAP methods are
    Yoav> used outside of secure tunnels.  IMO this is not true:

  Sure it is, because the problem is not just with non-private uses, but
with the end points as well.

  The point of having that radius-backed token system is that you are using
it for multiple system. The extranet web site would apply. Your assumption
is that every system that is authenticating users is equally trusted.

  You are assuming that the end point of the "secure tunnels" are trusted.
That is, if you are using EAP to authenticate to your "extranet" as well
as your IPsec, then a compromise of *either* system will compromise both
if you are using non-kg EAP.

  This is worse if you have some kind of non-kg EAP system that has multiple
mutually distrusting parties involved. I can easily imagine roaming dialup
ISP stuff, which is all based upon radius proxy that would be involved.

    Yoav> servers, or to connect from home or while on the road.  You do not
    Yoav> use it from home to do things that are not related to IKE.  When at

  Might be true for username/password, but it isn't true about physical
tokens, which are expensive, and the point of "legacy auth" is that people
want to amortize that token across more uses.

    Yoav> work, you log on to the Windows domain controller or to some RADIUS
    Yoav> server, but you do not use EAP.  The only cases where you actually

  How do you know that the domain controller isn't using EAP?

]      Out and about in Ottawa.    hmmm... beer.                |  firewalls  [
]   Michael Richardson, Sandelman Software Works, Ottawa, ON    |net architect[
] mcr@sandelman.ottawa.on.ca http://www.sandelman.ottawa.on.ca/ |device driver[
] panic("Just another Debian/notebook using, kernel hacking, security guy");  [
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Finger me for keys - custom hacks make this fully PGP2 compat

iQCVAwUBP0JmiIqHRg3pndX9AQGBQAQAmwheLXX1W73QKMuV448vhTdeDkEqUHD2
u1TzXFYpvGA0blfoAB6aNVnQuqJcm5V5ZKSYJjb1hxM4NIlAoaePTvRAXz8Kb2GD
ncYT6vMLqDPK6q1gFX0L7iwKC5hCQjbiKcQvnhxVe4GBCHUQMNqM8dlwGRaXLAcg
tGWGjCuW9Ys=
=3twK
-----END PGP SIGNATURE-----


From owner-ipsec@lists.tislabs.com  Tue Aug 19 17:57:19 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA11054
	for <ipsec-archive@lists.ietf.org>; Tue, 19 Aug 2003 17:57:19 -0400 (EDT)
From: owner-ipsec@lists.tislabs.com
Received: by lists.tislabs.com (8.9.1/8.9.1) id NAA12120
	Tue, 19 Aug 2003 13:24:02 -0400 (EDT)
Date: Tue, 19 Aug 2003 13:24:02 -0400 (EDT)
Message-Id: <200308191724.NAA12120@lists.tislabs.com>

(stealth-10-32-244-18.cisco.com [10.32.244.18])
	by sj-core-4.cisco.com (8.12.6/8.12.6) with SMTP id h7JHIhAj004572;
	Tue, 19 Aug 2003 10:18:44 -0700 (PDT)
Message-Id: <4.3.2.7.2.20030819095833.024a98b8@mira-sjc5-4.cisco.com>
X-Sender: byfraser@mira-sjc5-4.cisco.com
X-Mailer: QUALCOMM Windows Eudora Version 4.3.2
Date: Tue, 19 Aug 2003 10:18:23 -0700
To: skent@bbn.com, kseo@bbn.com
From: Barbara Fraser <byfraser@cisco.com>
Subject: Fwd: Moving forward on RFC 2401-bis
Cc: ipsec@lists.tislabs.com, angelos@cs.columbia.edu, kivinen@ssh.fi,
         byfraser@cisco.com, tytso@mit.edu, Russ Housley <housley@vigilsec.com>
Mime-Version: 1.0
Content-Type: multipart/alternative;
	boundary="=====================_138072878==_.ALT"
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

--=====================_138072878==_.ALT
Content-Type: text/plain; charset="us-ascii"; format=flowed

Hi Steve and Karen,

This is a friendly ping-o-gram regarding our note to you a week ago. We
would very much appreciate it if you could take a look at the issues in the
issue tracker, check to see that we've captured all your suggested changes,
and provide to the list a brief description for each issue, submitting each
issue as a separate thread to the wg.  At the moment, many of the issues
are single sentences that don't convey enough information for the wg to
fully understand what is being suggested.

We would also like to request a time estimate for when you expect to
provide these issue descriptions/rationales to the list.  This is the last
major work item for the working group and we would like to complete it in
the very near future.

thanks,
Barb and Ted



>To: skent@bbn.com, kseo@bbn.com
>cc: ipsec@lists.tislabs.com
>Cc: angelos@cs.columbia.edu, kivinen@ssh.fi, byfraser@cisco.com
>Subject: Moving forward on RFC 2401-bis
>From: "Theodore Ts'o" <tytso@mit.edu>
>Phone: (781) 391-3464
>Date: Tue, 12 Aug 2003 12:25:11 -0400
>Sender: owner-ipsec@lists.tislabs.com
>
>Hi Steve, Karen.
>
>We'd like to thank you for your excellent work in preparing the list of
>issues and proposed changes/updates to RFC 2401.  Hopefully the members
>of the IPSEC working group have had time to read over these lists we've
>had a week or two of unstructured discussion over the changes to the
>IPSEC processing model.
>
>However, it is now time that we go through each of the changes in a
>slightly more structured format.  To that end, Angelos has taken your
>initial list of proposed changes and put them into the Roundup issues
>tracker:
>
>                  https://roundup.machshav.com/ipsec
>
>We would appreciate it if you could look over the list of changes let us
>know if they are complete.  Then, if you could prepare a paragraph or
>two for each proposed change, so the working group can consider each
>change one at a time.  We would like to quickly, but explicitly have the
>working group approve each change to RFC 2401, one at a time.
>
>As a suggestion, we believe that issues #48 and #47 which is related to
>the addition/changes of traffic selectors in IKEv2, be worked on first,
>since they affect the IKEv2 document which is being finalized.  (As a
>reminder, we wll not add traffic selectors for ToS in IKEv2 --- see
>issue #16 --- unless we come to consensus that they should be added in
>the architecture document.  If IKEv2 is published before we come to
>consensus on issue #48, and issue #48 is adopted, this can always be
>fixed by a supplemental RFC which documents the new TOS traffic
>selector.  But this is a reason why we suggest that issue #48 be tackled
>first.)
>
>If you could post an short e-mail summarizing the costs and benefits of
>adopting the TOS Traffic Selectors to the ipsec mailing list at your
>earliest convenient to start discussion on that change, we would greatly
>appreciate it.  Hopefully we will be able to come to consensus on all of
>the changes to RFC 2401 with dispatch.
>
>                                          - Ted and Barbara

--=====================_138072878==_.ALT
Content-Type: text/html; charset="us-ascii"

<html>
<font size=3>Hi Steve and Karen,<br>
<br>
</font><font face="Arial, Helvetica" size=3>This is a friendly
ping-o-gram regarding our note to you a week ago. We would very much
appreciate it if you could take a look at the issues in the issue
tracker, check to see that we've captured all your suggested changes, and
provide to the list a brief description for each issue, submitting each
issue as a separate thread to the wg.&nbsp; At the moment, many of the
issues are single sentences that don't convey enough information for the
wg to fully understand what is being suggested.<br>
<br>
We would also like to request a time estimate for when you expect to
provide these issue descriptions/rationales to the list.&nbsp; This is
the last major work item for the working group and we would like to
complete it in the very near future.<br>
<br>
thanks,<br>
Barb and Ted<br>
<br>
<br>
<br>
</font><blockquote type=cite cite>To: skent@bbn.com, kseo@bbn.com<br>
cc: ipsec@lists.tislabs.com<br>
Cc: angelos@cs.columbia.edu, kivinen@ssh.fi, byfraser@cisco.com<br>
Subject: Moving forward on RFC 2401-bis<br>
From: &quot;Theodore Ts'o&quot; &lt;tytso@mit.edu&gt;<br>
Phone: (781) 391-3464<br>
Date: Tue, 12 Aug 2003 12:25:11 -0400<br>
Sender: owner-ipsec@lists.tislabs.com<br>
<br>
Hi Steve, Karen.<br>
<br>
We'd like to thank you for your excellent work in preparing the list
of<br>
issues and proposed changes/updates to RFC 2401.&nbsp; Hopefully the
members<br>
of the IPSEC working group have had time to read over these lists
we've<br>
had a week or two of unstructured discussion over the changes to
the<br>
IPSEC processing model.<br>
<br>
However, it is now time that we go through each of the changes in a<br>
slightly more structured format.&nbsp; To that end, Angelos has taken
your<br>
initial list of proposed changes and put them into the Roundup
issues<br>
tracker:<br>
<br>
<x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab><a 
href="https://roundup.machshav.com/ipsec" 
eudora="autourl">https://roundup.machshav.com/ipsec</a><br>
<br>
We would appreciate it if you could look over the list of changes let
us<br>
know if they are complete.&nbsp; Then, if you could prepare a paragraph
or<br>
two for each proposed change, so the working group can consider
each<br>
change one at a time.&nbsp; We would like to quickly, but explicitly have
the<br>
working group approve each change to RFC 2401, one at a time.<br>
<br>
As a suggestion, we believe that issues #48 and #47 which is related
to<br>
the addition/changes of traffic selectors in IKEv2, be worked on
first,<br>
since they affect the IKEv2 document which is being finalized.&nbsp; (As
a<br>
reminder, we wll not add traffic selectors for ToS in IKEv2 --- see<br>
issue #16 --- unless we come to consensus that they should be added
in<br>
the architecture document.&nbsp; If IKEv2 is published before we come
to<br>
consensus on issue #48, and issue #48 is adopted, this can always
be<br>
fixed by a supplemental RFC which documents the new TOS traffic<br>
selector.&nbsp; But this is a reason why we suggest that issue #48 be
tackled<br>
first.)<br>
<br>
If you could post an short e-mail summarizing the costs and benefits
of<br>
adopting the TOS Traffic Selectors to the ipsec mailing list at
your<br>
earliest convenient to start discussion on that change, we would
greatly<br>
appreciate it.&nbsp; Hopefully we will be able to come to consensus on
all of<br>
the changes to RFC 2401 with dispatch.<br>
<br>
<x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</x-tab>-
Ted and Barbara</blockquote></html>

--=====================_138072878==_.ALT--


From owner-ipsec@lists.tislabs.com  Tue Aug 19 19:15:05 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id TAA15218
	for <ipsec-archive@lists.ietf.org>; Tue, 19 Aug 2003 19:15:05 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id QAA00564
	Tue, 19 Aug 2003 16:03:45 -0400 (EDT)
To: Nicolas Williams <Nicolas.Williams@sun.com>
cc: ipsec@lists.tislabs.com
Subject: Re: The remaining IKEv2 issues 
In-reply-to: Your message of "Tue, 19 Aug 2003 10:31:18 PDT."
             <20030819173118.GX27057@binky.central.sun.com> 
Mime-Version: 1.0 (generated by tm-edit 1.8)
Content-Type: text/plain; charset=US-ASCII
Date: Tue, 19 Aug 2003 16:11:19 -0400
Message-ID: <2097.1061323879@marajade.sandelman.ottawa.on.ca>
From: Michael Richardson <mcr@sandelman.ottawa.on.ca>
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

-----BEGIN PGP SIGNED MESSAGE-----


>>>>> "Nicolas" == Nicolas Williams <Nicolas.Williams@sun.com> writes:
    >> i.e. we can't do something like CHAP.
    >> 
    >> The reason is that the gateway will likely have to provide the literal
    >> reply via EAP/Radius to another machine for checking.
    >> 
    >> I'm not certain what systems your proposal would work for.  Not
    >> SecureID, not X9.9, not passwords-over-radius.

    Nicolas> The challenge function would have to be modified in those
    Nicolas> systems - it's not applicable only at the responder.  This means

  I wish it were that simple, but the tokens and servers are out of our
control.

]      Out and about in Ottawa.    hmmm... beer.                |  firewalls  [
]   Michael Richardson, Sandelman Software Works, Ottawa, ON    |net architect[
] mcr@sandelman.ottawa.on.ca http://www.sandelman.ottawa.on.ca/ |device driver[
] panic("Just another Debian/notebook using, kernel hacking, security guy");  [
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Finger me for keys - custom hacks make this fully PGP2 compat

iQCVAwUBP0KEZoqHRg3pndX9AQGECgP/cl1uEjjV2J42H8jdqPL1yMVCv/i3Egqz
mqBDtKUr3iLnnMD5+APrqEMfam1qjjHKOtwkvmbpn5iURvxU7PgrwlCiSNJEnDpK
rqU4c8CDDRjO0qdIQyVRcnvfBGjRZEr/wAlnEdzX1h6LIe/z7KtU0nzSuiAJcDCS
shQm9xguyEU=
=Pr14
-----END PGP SIGNATURE-----


From owner-ipsec@lists.tislabs.com  Tue Aug 19 19:21:05 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id TAA15461
	for <ipsec-archive@lists.ietf.org>; Tue, 19 Aug 2003 19:21:05 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id QAA00318
	Tue, 19 Aug 2003 16:01:58 -0400 (EDT)
Message-ID: <3F428364.3040101@kolumbus.fi>
Date: Tue, 19 Aug 2003 23:07:00 +0300
From: Jari Arkko <jari.arkko@kolumbus.fi>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: ipsec@lists.tislabs.com
Cc: "Theodore Ts'o" <tytso@mit.edu>,
        "Puthenkulam, Jose P" <jose.p.puthenkulam@intel.com>
Subject: EAP-IKEv2 MITM prevention (Was: Re: The remaining IKEv2 issues)
References: <E19oneL-0003NU-00@think.thunk.org>
In-Reply-To: <E19oneL-0003NU-00@think.thunk.org>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk
Content-Transfer-Encoding: 7bit


I'd like to turn your attention to a document we are
developing in the EAP WG. "The Compound Authentication Binding
Problem" discusses the MITM problem which affects IKEv2 as
well as a number of other protocols such as PIC, PEAP, or
even HTTP Digest inside TLS. The document includes alternative
solutions and a discussion of their properties. It may be useful
reading in terms of the the IKEv2 EAP MITM discussion. The
document is work in progress; the authors feel that its more
or less done, but it has not been very widely reviewed. So,
we'd be very happy if some members of this WG could review the
document, particularly in the context of IKEv2. Here's the URL:

   http://www.ietf.org/internet-drafts/draft-puthenkulam-eap-binding-03.txt

Thanks,

Jari Arkko
(Co-chair of the EAP WG)



From owner-ipsec@lists.tislabs.com  Tue Aug 19 20:25:48 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id UAA17971
	for <ipsec-archive@lists.ietf.org>; Tue, 19 Aug 2003 20:25:47 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id RAA13624
	Tue, 19 Aug 2003 17:37:37 -0400 (EDT)
To: ipsec@lists.tislabs.com
Subject: Re: The remaining IKEv2 issues 
In-reply-to: Your message of "Tue, 19 Aug 2003 14:19:44 PDT."
             <16194.38000.3727.78988@thomasm-u1.cisco.com> 
Mime-Version: 1.0 (generated by tm-edit 1.8)
Content-Type: text/plain; charset=US-ASCII
Date: Tue, 19 Aug 2003 17:45:11 -0400
Message-ID: <4290.1061329511@marajade.sandelman.ottawa.on.ca>
From: Michael Richardson <mcr@sandelman.ottawa.on.ca>
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

-----BEGIN PGP SIGNED MESSAGE-----


Matt, go back a couple of messages.

http://www.sandelman.ca/ipsec/2003/08/msg00077.html

and:
http://www.sandelman.ca/ipsec/2003/05/msg00003.html

specifically: 

http://www.sandelman.ca/ipsec/2003/05/msg00074.html

I can't find the scenario that was proposed. I think it is in the
original paper?

]      Out and about in Ottawa.    hmmm... beer.                |  firewalls  [
]   Michael Richardson, Sandelman Software Works, Ottawa, ON    |net architect[
] mcr@sandelman.ottawa.on.ca http://www.sandelman.ottawa.on.ca/ |device driver[
] panic("Just another Debian/notebook using, kernel hacking, security guy");  [


     
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Finger me for keys - custom hacks make this fully PGP2 compat

iQCVAwUBP0KaZoqHRg3pndX9AQF41gQA6XsMWI4jc1/aGd1g65lZIAs+592rBvoA
hoXiELxevgrU6X36mRYp2jBobOJCcHFTd+z4N25hDHl9ZNwpmXrcgH0UUKqd801+
JsGdvjBhVwDzoj9VjykC8h48f64YITkSe0kyQhP+8iaw5hUCe6Y/NDb0Er2o6oLM
6geoXzvWgM0=
=qfhe
-----END PGP SIGNATURE-----


From owner-ipsec@lists.tislabs.com  Tue Aug 19 20:45:20 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id UAA18791
	for <ipsec-archive@lists.ietf.org>; Tue, 19 Aug 2003 20:45:20 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id RAA10268
	Tue, 19 Aug 2003 17:12:49 -0400 (EDT)
From: Michael Thomas <mat@cisco.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <16194.38000.3727.78988@thomasm-u1.cisco.com>
Date: Tue, 19 Aug 2003 14:19:44 -0700 (PDT)
To: Michael Richardson <mcr@sandelman.ottawa.on.ca>
Cc: Yoav Nir <ynir@CheckPoint.com>, ipsec@lists.tislabs.com
Subject: Re: The remaining IKEv2 issues 
In-Reply-To: <30952.1061316234@marajade.sandelman.ottawa.on.ca>
References: <FA1E512B-D215-11D7-A2AC-000A95834BAA@checkpoint.com>
	<30952.1061316234@marajade.sandelman.ottawa.on.ca>
X-Mailer: VM 6.72 under 21.1 (patch 6) "Big Bend" XEmacs Lucid
X-Face: &,heK/V66p?[2!i|tVn,9lN0TUvEv7:9FzXREj/AuzN4m<D]vnFJ>u!4x[/Z4t{V}~L]+Sk
 @RFNnJEg~WZ/(8<`5a),-7ukALWa^&?&D2R0CSG3kO5~#6JxLF\d,g">$%B!0w{W)qIhmwhye104zd
 bUcI'1!
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk
Content-Transfer-Encoding: 7bit


Sorry if I've lamely missed this, but can somebody
in a nutshell describe the attack here? I'm not
quite groking what's being discussed here...

	      Mike

Michael Richardson writes:
 > -----BEGIN PGP SIGNED MESSAGE-----
 > 
 > 
 > >>>>> "Yoav" == Yoav Nir <ynir@CheckPoint.com> writes:
 >     Yoav> As many times as I read that article, I can't see how this is a
 >     Yoav> problem.  It makes a very strong assumption, that EAP methods are
 >     Yoav> used outside of secure tunnels.  IMO this is not true:
 > 
 >   Sure it is, because the problem is not just with non-private uses, but
 > with the end points as well.
 > 
 >   The point of having that radius-backed token system is that you are using
 > it for multiple system. The extranet web site would apply. Your assumption
 > is that every system that is authenticating users is equally trusted.
 > 
 >   You are assuming that the end point of the "secure tunnels" are trusted.
 > That is, if you are using EAP to authenticate to your "extranet" as well
 > as your IPsec, then a compromise of *either* system will compromise both
 > if you are using non-kg EAP.
 > 
 >   This is worse if you have some kind of non-kg EAP system that has multiple
 > mutually distrusting parties involved. I can easily imagine roaming dialup
 > ISP stuff, which is all based upon radius proxy that would be involved.
 > 
 >     Yoav> servers, or to connect from home or while on the road.  You do not
 >     Yoav> use it from home to do things that are not related to IKE.  When at
 > 
 >   Might be true for username/password, but it isn't true about physical
 > tokens, which are expensive, and the point of "legacy auth" is that people
 > want to amortize that token across more uses.
 > 
 >     Yoav> work, you log on to the Windows domain controller or to some RADIUS
 >     Yoav> server, but you do not use EAP.  The only cases where you actually
 > 
 >   How do you know that the domain controller isn't using EAP?
 > 
 > ]      Out and about in Ottawa.    hmmm... beer.                |  firewalls  [
 > ]   Michael Richardson, Sandelman Software Works, Ottawa, ON    |net architect[
 > ] mcr@sandelman.ottawa.on.ca http://www.sandelman.ottawa.on.ca/ |device driver[
 > ] panic("Just another Debian/notebook using, kernel hacking, security guy");  [
 > -----BEGIN PGP SIGNATURE-----
 > Version: GnuPG v1.2.2 (GNU/Linux)
 > Comment: Finger me for keys - custom hacks make this fully PGP2 compat
 > 
 > iQCVAwUBP0JmiIqHRg3pndX9AQGBQAQAmwheLXX1W73QKMuV448vhTdeDkEqUHD2
 > u1TzXFYpvGA0blfoAB6aNVnQuqJcm5V5ZKSYJjb1hxM4NIlAoaePTvRAXz8Kb2GD
 > ncYT6vMLqDPK6q1gFX0L7iwKC5hCQjbiKcQvnhxVe4GBCHUQMNqM8dlwGRaXLAcg
 > tGWGjCuW9Ys=
 > =3twK
 > -----END PGP SIGNATURE-----


From owner-ipsec@lists.tislabs.com  Tue Aug 19 22:06:55 2003
Received: from lists.tislabs.com (portal.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id WAA21149
	for <ipsec-archive@lists.ietf.org>; Tue, 19 Aug 2003 22:06:54 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id TAA04000
	Tue, 19 Aug 2003 19:13:36 -0400 (EDT)
Message-ID: <3F42B046.9050802@kolumbus.fi>
Date: Wed, 20 Aug 2003 02:18:30 +0300
From: Jari Arkko <jari.arkko@kolumbus.fi>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Yoav Nir <ynir@CheckPoint.com>
Cc: ipsec@lists.tislabs.com
Subject: Re: The remaining IKEv2 issues
References: <FA1E512B-D215-11D7-A2AC-000A95834BAA@checkpoint.com>
In-Reply-To: <FA1E512B-D215-11D7-A2AC-000A95834BAA@checkpoint.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk
Content-Transfer-Encoding: 7bit

Yoav Nir wrote:
> As many times as I read that article, I can't see how this is a 
> problem.  It makes a very strong assumption, that EAP methods are used 
> outside of secure tunnels.  IMO this is not true:
> 
> - The easiest case is the user/password.  This could be handled using 
> EAP-MD5 or EAP-GTC.  In an average company, the user/password 
> combination is used to log in to your workstation, to log in to servers, 
> or to connect from home or while on the road.  You do not use it from 
> home to do things that are not related to IKE.  When at work, you log on 
> to the Windows domain controller or to some RADIUS server, but you do 
> not use EAP.  The only cases where you actually use EAP is when 
> connecting to a wireless LAN equipped with 802.1x or when connecting to 
> a relatively new RAS.  These RAS usually also use L2TP/IPsec, so that's 
> not snoopable either.  In short, I don't see the case where the user 

1) Its snoopable/mitmable from the client to the RAS. Sure, it may
not be an IP network, but nevertheless...

2) Its snoopable/mitmable in the wireless LAN. New wireless LAN
standards require kg methods, but I'm not sure if this holds true
of all previous standards and products.

> will pass their password through unprotected GTC.  Since both GTC and 

3) If the <whatever> box that runs EAP talks RADIUS, it is not
certain that the RADIUS communication is encrypted. For PAP/CHAP
there's a lame encryption scheme, but for EAP there isn't since
EAP methods are expected to be secure by themselves. A recent
update of the RADIUS RFCs upgraded IPsec support to a SHOULD,
but common industry practise appears to be (like it or not)
that the lame scheme is enough.

> MD5 are not good protection for passwords, it is up to the administrator 
> to prevent these methods from being used in unprotected tunnels.

--Jari



From owner-ipsec@lists.tislabs.com  Tue Aug 19 22:09:49 2003
Received: from lists.tislabs.com (portal.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id WAA21217
	for <ipsec-archive@lists.ietf.org>; Tue, 19 Aug 2003 22:09:49 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id TAA01861
	Tue, 19 Aug 2003 19:04:32 -0400 (EDT)
Message-ID: <3F42AE2F.3040308@kolumbus.fi>
Date: Wed, 20 Aug 2003 02:09:35 +0300
From: Jari Arkko <jari.arkko@kolumbus.fi>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: "Theodore Ts'o" <tytso@mit.edu>
Cc: Michael Richardson <mcr@sandelman.ottawa.on.ca>, ipsec@lists.tislabs.com
Subject: Re: The remaining IKEv2 issues
References: <E19oneL-0003NU-00@think.thunk.org> <20934.1061240676@marajade.sandelman.ottawa.on.ca> <20030819032306.GA1306@think>
In-Reply-To: <20030819032306.GA1306@think>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk
Content-Transfer-Encoding: 7bit

Theodore Ts'o wrote:

> On the other hand, in order to be realistic, we should at least take a
> moment to recognize that there is going to be a very strong market
> demand for this support, given the assumption by many corporations
> that everything behind the firewire is goodness and light and is fully
> secure.  In those environments, if the only use of EAP outside of the
> firewall is in protected tunnels (such as IKEv2) used to gain access
> to the protected intravent via a VPN solution, then this is in fact no
> worse than making the original assumption that everything behind the
> firewall is safe.  (After all, if the attacker has access to
> unprotected EAP transactions happening behind the firewall, then s/he
> has no need to try to use this to break a VPN solution trying to gain
> access behind the firewall.)

I'm not sure compound authentication has the same kind of situation
as the protected "hard outside, soft inside" intranets have.

If the inside was safe, why would there be authentication?
I'd say its very likely that the same credentials are primarily
used for coming in to the intranet from the outside, using dial-in
or something like that. Or used for on-site WLAN access using
802.1X. Either way, its possible to that outsiders can see the
authentication message sequence, or act as MITMs and grab the
packets somewhere else.

> So given this, I propose that we open a 48-hour discussion on this
> issue.  Should we (a) say nothing about non-kg types, thus implicitly
> allowing them, (b) specify that vendors SHOULD NOT use non-kg EAP
> types, or (c) specify that vendors MUST NOT use non-kg EAP types?

I'd prefer very much (c), but can live with (b).

I think (c) is the best match to IKEv2's secure design.
We know the MITM problem exists, and we know how to avoid
it. According to the Bernard's method and RADIUS server
information, we don't appear to have to suffer too much
from choosing the secure approach...

--Jari



From owner-ipsec@lists.tislabs.com  Tue Aug 19 22:12:16 2003
Received: from lists.tislabs.com (portal.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id WAA21376
	for <ipsec-archive@lists.ietf.org>; Tue, 19 Aug 2003 22:12:16 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id SAA25077
	Tue, 19 Aug 2003 18:35:43 -0400 (EDT)
Message-ID: <3F42A76A.1050800@kolumbus.fi>
Date: Wed, 20 Aug 2003 01:40:42 +0300
From: Jari Arkko <jari.arkko@kolumbus.fi>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: "Theodore Ts'o" <tytso@mit.edu>, ipsec@lists.tislabs.com
Cc: smb@research.att.com, Charlie_Kaufman@notesdev.ibm.com,
        Bernard Aboba <aboba@internaut.com>
Subject: EAP-IKEv2 MITM prevention (Was: Re: The remaining IKEv2 issues)
References: <E19oneL-0003NU-00@think.thunk.org>
In-Reply-To: <E19oneL-0003NU-00@think.thunk.org>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk
Content-Transfer-Encoding: 7bit


A few days before this thread on the mailing list, we had an
off-line discussion about the IKEv2 problem with Charlie, Bernard
Aboba, and myself. I thought I'd summarize what was said in
that discussion:

* The primary discussion is whether the non-kg methods should
   be allowed. See NON-KG METHODS below.

   We did not come to a specific conclusion in this discussion,
   but Bernard and myself felt that non-kg methods should not
   be allowed, kg variants of "legacy" methods exist and that
   sufficient support already exists in common RADIUS servers
   etc so that there's no real reason to support non-kg methods.

   We also felt that the primary requirement for support of legacy
   is to avoid redistributing new credentials for users. This can be
   avoided, new kg methods can use old non-kg credentials.

   Charlie felt that it is more important to ensure support
   for legacy authentication infrastructure, and in his opinion
   this is more widespread than what we believed.

   It seems that the primary disagreement is about the
   extent legacy authentication infrastructure really
   exists vs. the threat posed by the MITM attacks.

* A related issue is what exactly is the IKEv2 requirement
   for "username and password" authentication, and whether
   the currently planned use of such authentication is
   proper for EAP. See USERNAME AND PASSWORD AUTH below.

   This partly a debate of what requirements there are for
   EAP methods, and how existing methods satisfy those
   requirements.

   Bernard argues that EAP should not be used for cleartext
   passwords, and that EAP OTP or GTC should not be used in
   this manner. One of the problems with this is that if a
   RADIUS backend were to be used, the passwords might be
   exposed since common RADIUS implementations may not use
   encryption for sending the messages to the server. (Recently
   approved RFC 2869bis upgrades IPsec support in RADIUS
   to a SHOULD, but its still not a MUST.)

   Charlie argues that the requirement is a username/password
   authentication, in its simple form. He felt that if this
   can't be done in EAP, it needs to be added to IKEv2
   explicitly.

* In addition, the IKEv2 document currently disagrees with the
   way the EAP keying framework wants EAP keys to be used,
   when a key-generating method is used. See KEY USAGE below.

   The problem is that the EAP keying framework specifies
   a key hierarchy, and link layers (or IKEv2) are expected
   to use a specific part in this key hierarchy. Currently,
   this is unspecified in IKEv2-10. Specifying it appears easy,
   and this should be done.

Charlie, Bernard, feel free to correct/comment where necessary...

NON-KG METHODS
==============

Jari: We'd like to suggeste that only allow key generating
methods be allowed. Such variants of currently existing non-kg
methods are available, we think, for most or all practically available
methods without requring a change to the already deployed
credentials).

Charlie: I don't believe it is a good idea. Perhaps you can
convince me otherwise. I don't want to rule out EAP methods
because EAP was explicitly added to support current and future
"legacy" authentication methods. I would hate to see yet another method added
to support methods we aren't allowed to use with EAP.

Bernard:  While RFC 2284 did include definition of "legacy" methods such as
MD5-Challenge, OTP, and Generic Token Card, most of the methods created
since then have been considerably more advanced, and most cannot be
classified as "legacy."  In fact, there is even an EAP-IKEv2 method being
proposed!  So overall I don't believe that the above characterization
correclty describes today's uses of EAP.

In practice, EAP today is largely focused on meeting the needs of
wireless authentication such as IEEE 802.11, which does not permit use of
"legacy" methods, and the general trend is toward phasing out these
methods.  In fact, I'd go so far as to say that there is no RADIUS server
supporting EAP today that doesn't support at least some "non-legacy"
methods, since that is required for 802.11 compatibility which is a
practical necessity for most implementations.

Token card vendors such as RSA now provide key-deriving EAP
methods for their token cards.  The bottom line is that the need for
"legacy" methods is decreasing and there is no reason to require their
support any more.

Charlie: I think you're missing my point. EAP is expanding in some very
positive ways. EAP with non-key-generating methods produces dramatically
poorer security than EAP with key-generating methods, particular in the
context of IKE. But the reason EAP was integrated into IKEv2 was not for
any of those reasons. It was because IKEv2 had to support "username/password"
authentication for backwards compatibility with deployed authentication
infrastructures in spite of the fact that the security was going to suck.
And some wise person said: "Rather than just supporting username/password,
why don't you support EAP. That way, you get username/password when you have
to and can migrate to better methods when people roll them out without
updating the spec (though they will still have to update their implementations).
It's a little extra work in the spec now to save us a lot later. But I don't
think we can then turn around and tell them that they can't do
username/password authentication. Even though it's not very secure.


USERNAME AND PASSWORD AUTH
===========================

Charlie: I am disappointed that
EAP does not include simple user name and password, but am reassured that
people assure me that you can do it by telling EAP it's a one time password.

I don't believe it's cryptographically possible to do better than EAP in IKEv2
does if you assume the user has a password and the server holds a non-password
equivalent and doesn't either infringe a patent or require periodic reset
(as with OTP). I believe this case is important. Tell me how I'm wrong.

Bernard: I think you're thinking about PPP authentication algorithms,
not EAP.

There are at least four EAP methods defined that fall into this category,
including EAP MD5-Challenge (CHAP equivalent) and EAP LEAP, and two
MS-CHAP variants, both of which do mutual authentication.  There has also
been an EAP SRP proposal that has been worked on off-and-on over the
years. So I'm not clear what is missing.

In practice, most modern RADIUS servers are not limited to a single
non-password equivalent, since they are typically capable of interacting
with an LDAP backend which can either store the password in encrypted
form, or has an extensible schema capable of handling multiple
non-password equivalent forms.  For example, with EAP SRP it is necessary
to store several additional parameters such as the generator and this is
not an issue.

In any case, even where a non-password equivalent is used, it is still
possible to do mutual authentication and key derivation as is done in EAP
LEAP and MS-CHAPv2.

Similarly, token card vendors such as RSA now provide key-deriving EAP
methods for their token cards.  The bottom line is that the need for
"legacy" methods is decreasing and there is no reason to require their
support any more.

Bernard: EAP does not include support for cleartext passwords, by
design.  EAP OTP is not for use with cleartext passwords.

 > I don't believe it's cryptographically possible to do better than EAP in
 > IKEv2 does if you assume the user has a password and the server holds a
 > non-password equivalent and doesn't either infringe a patent or require
 > periodic reset (as with OTP). I believe this case is important. Tell me
 > how I'm wrong.

There is no EAP password-based authentication method that fits these
assumptions. MD5-Challenge requires the server to hold the cleartext password.
MS-CHAPv2 requires the server to hold a non-password equivalent, but does
mutual authentication and generates a key.

Charlie: Oh dear. It's possible that we've added EAP to IKE to support
a case that EAP can't support.

My reading of the spec (and I think I recall someone confirming it, though
I don't remember who) was that a client that implemented authentication
types (5) or (6) would display a server provided string to the user and
then forward whatever the user typed to the server. If true, then a server
could use either of these mechanisms to implement simple username
and password authentication. It would be wrong, and out of the spirit
of EAP, but it would work and people do it today. I didn't explicitly say
so in the spec because it seemed politically incorrect, but that's what
I expected people to do.

I would be wrong about this if either of these mechanisms required
mechanism specific processing in the client - like changing the
wordy form of an OTP into the condensed form. But it didn't look
like that was expected.

If this isn't going to work, we need to know right away because people
are counting on having a username/password authentication
mechanism and if you can't do it with EAP we will have to add it
explicitly.

Jari: What exactly is the requirement? To support username/password
authentication? We got that in the form of EAP MSCHAPv2, for
instance. But it does more than you've been assuming so far,
i.e. it also generates keys which would enable you to avoid
the MitM attack.

Or is the requirement to support token cards? As was mentioned
by Bernard, there are EAP methods to support them as well.

Bernard: You wrote:

 > My reading of the spec (and I think I recall someone confirming it, though
 > I don't remember who) was that a client that implemented authentication
 > types (5) or (6) would display a server provided string to the user and
 > then forward whatever the user typed to the server.

This much is true.

 > If true, then a server
 > could use either of these mechanisms to implement simple username
 > and password authentication.

This is not true.  A compliant EAP-OTP or GTC implementation cannot be
used to implement cleartext passwords.  Since this apparently not
clear to some implementors, we may have to add a MUST NOT to RFC
2284bis to make sure this doesn't happen. This would be a bad idea for
several reasons:

a. EAP is used on wireless media where cleartext passwords would allow an
attacker to capture the password.

b. In the case of RADIUS, whereas PAP passwords are hidden via a (lame)
attribute-hiding scheme, in the case of EAP methods [RFC3579] does not
mandate any encryption, although IPsec is a SHOULD. This means that the
cleartext password would be exposed over the Internet as well.

So even of IKEv2 were to address problem a), it would not address problem
b) -- and would violate the IETF prohibition on use of cleartext
passwords.

 > It would be wrong, and out of the spirit
 > of EAP, but it would work and people do it today.

We did an implementation survey two years ago, and were not aware of any
such usage.  In fact, to date I'm only aware of a single implementation of
EAP OTP, and none of EAP GTC.

For OTP there is certainly processing expected on the server -- and any
server that used it as a cleartext password mechanism would be violating
the spec.  GTC is designed to be "generic" -- usable by any
challenge/response mechanism, but for that reason it's never been entirely
clear why it was needed.  If this opens a huge hole for abuse, then maybe
we should deprecate it.

If the goal is to introduce PAP into EAP (something we went to great pains
to avoid), then it isn't going to work, either in EAP or in RADIUS on the
backend either.

Bernard:  It's very hard to argue that support of PAP is a requirement
because RFC 2865 supported CHAP as well as does every RADIUS server I've
ever seen, and MD5-Challenge is mandatory-to-implement in RFC 2284.

If you buy the idea that all legacy RADIUS servers support CHAP or
MD5-Challenge, then this implies that those same servers have access to
cleartext passwords and could be upgraded to support RADIUS/EAP with a
variety of methods.  All the commercial RADIUS servers and several of the
free ones support MS-CHAPv2 in some form, or other password based methods
offering mutual auth and key derivation (Interlink even supports EAP
SKEME).

KEY USAGE
=========

Bernard wrote: For key generating methods, the IKEv2 specification uses
the "key" generated by EAP methods in a manner that is prohibited by the EAP Key
framework.

EAP methods generate two quantities, the MSK (64 octets) and the EMSK (64
octets).  These quantities are used to compute the AAA-Key.  In situations
not involving fast handoff, the MSK is used as the AAA-Key, and the EMSK
is unavailable to the VPN server.  So the specification needs to call out
what particular portion of the "key" is being used.

Also, counter to the IKEv2 specification, the AAA-Key is never used
directly to protect data.  Rather, a PRF expansion is done to generate
authentication and encryption keys which are then used directly.

Please see the following document for details:

http://www.drizzle.com/~aboba/EAP/draft-aboba-pppext-key-problem-07.txt

--Jari



From owner-ipsec@lists.tislabs.com  Tue Aug 19 22:59:06 2003
Received: from lists.tislabs.com (portal.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id WAA22778
	for <ipsec-archive@lists.ietf.org>; Tue, 19 Aug 2003 22:59:05 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id TAA08347
	Tue, 19 Aug 2003 19:32:03 -0400 (EDT)
Message-ID: <3F42B49F.8080500@kolumbus.fi>
Date: Wed, 20 Aug 2003 02:37:03 +0300
From: Jari Arkko <jari.arkko@kolumbus.fi>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Michael Thomas <mat@cisco.com>
Cc: ipsec@lists.tislabs.com
Subject: Re: The remaining IKEv2 issues
References: <FA1E512B-D215-11D7-A2AC-000A95834BAA@checkpoint.com>	<30952.1061316234@marajade.sandelman.ottawa.on.ca> <16194.38000.3727.78988@thomasm-u1.cisco.com>
In-Reply-To: <16194.38000.3727.78988@thomasm-u1.cisco.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk
Content-Transfer-Encoding: 7bit

Michael Thomas wrote:
> Sorry if I've lamely missed this, but can somebody
> in a nutshell describe the attack here? I'm not
> quite groking what's being discussed here...

The problem is any type of compound authentication, where
there's one outer and one inner authentication that are not
tied together cryptographically. This problem was first found for
an IETF protocol called PIC, which tried to use EAP to
generate certs for IKE. But it applies to any compound
authentication, such as TLS + HTTP Digest, EAP within EAP,
etc. The "kg EAP method" comes from the ability of newer
EAP authentication methods to produce keys, and the
keys enable you to make the cryptographic binding.

Here's the attack: Lets assume you have the FOO method
to authenticate, a perfect method in all respects. Then
you have the BAR protocol which has the capability to
use FOO inside itself. BAR is also perfect.
Now, you go to Alice, user of FOO (who hasn't perhaps
even heard of BAR). You pretend to be her peer and
ask her to authenticate using FOO. She does so, and you
tunnel all authentication packets via BAR to Bob,
who supports FOO-over-BAR. In the end, Alice believes she
authenticated to Bob, and Bob believes he authenticated
to Alice. In reality the other end of BAR is not Alice,
its the attacker. The attacker then proceeds to do
whatever he can with that fact. In the case of IKEv2,
he'd be able to send and receive packets to Bob as Alice.

The conditions of the attack are

(1) Same credentials used for multiple purposes
(2) No cryptographic binding between the authentications

--Jari



From owner-ipsec@lists.tislabs.com  Wed Aug 20 00:47:51 2003
Received: from lists.tislabs.com (portal.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id AAA26367
	for <ipsec-archive@lists.ietf.org>; Wed, 20 Aug 2003 00:47:51 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id UAA24964
	Tue, 19 Aug 2003 20:53:50 -0400 (EDT)
Mime-Version: 1.0
X-Sender: kent@localhost
Message-Id: <p05210602bb67b6145975@[12.159.173.175]>
In-Reply-To: <20030819051220.GL27057@binky.central.sun.com>
References: <9959.1061249453@marajade.sandelman.ottawa.on.ca>
 <p05210603bb673c47be19@[12.159.173.175]>
 <20030819051220.GL27057@binky.central.sun.com>
Date: Tue, 19 Aug 2003 16:31:36 -0400
To: Nicolas Williams <Nicolas.Williams@sun.com>
From: Stephen Kent <kent@bbn.com>
Subject: Re: IKEv2 SA rekeying - naming an initial SA
Cc: Michael Richardson <mcr@sandelman.ottawa.on.ca>, ipsec@lists.tislabs.com
Content-Type: text/plain; charset="us-ascii" ; format="flowed"
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

Nico,

sorry for the confusion on my part. I though you were trying to find 
a way to ID SAs for rekeying in IKE.  That was the context in which I 
made my original suggestion. With the sorts of authentication we have 
historically defined for use with IKE, MITM attacks are not an issue, 
s

IPsec has no anonymous mode, because access control is an essential 
feature of IPsec, unlike SSL.  So, no arguments based on the latter 
paragraph of your message are likely to be appropriate in this 
context.

Steve


From owner-ipsec@lists.tislabs.com  Wed Aug 20 00:52:52 2003
Received: from lists.tislabs.com (portal.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id AAA26476
	for <ipsec-archive@lists.ietf.org>; Wed, 20 Aug 2003 00:52:51 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id VAA28309
	Tue, 19 Aug 2003 21:44:25 -0400 (EDT)
From: Charlie_Kaufman@notesdev.ibm.com
Subject: Re: Initiator exposes DOS attack for IKEv2?
To: Tom Hu <tomhu@cisco.com>
Cc: ipsec wg <ipsec@lists.tislabs.com>
X-Mailer: Lotus Notes Build V602_05062003 May 06, 2003
Message-ID: <OFB79ECEA7.DFFC400A-ON85256D88.0005DB36-85256D88.00068F5E@notesdev.ibm.com>
Date: Tue, 19 Aug 2003 21:11:39 -0400
X-MIMETrack: Serialize by Router on Ace/Iris(Release 6.0.2CF2|July 23, 2003) at 08/19/2003
 09:52:41 PM
MIME-Version: 1.0
Content-type: text/plain; charset=US-ASCII
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk





The DOS protection designed in IKEv2 is designed to protect responders
from malicious initiators, but not vice versa. Someone impersonating
a server can waste the client's time by sending invalid responses, but
cannot overwhelm the client with traffic because the request rate is
ultimately controlled by the client.

If the attacker can prevent packets from flowing between the two parties,
it can prevent communication. If the attacker can only insert additional
bogus packets but not prevent the real ones from being delivered, it would
be possible to design a client that resisted such DOS attacks given the
current protocol, but the current specification doesn't say how, it would
be tricky to get right, and I don't expect anyone to do it.

      --Charlie

> Hi all,
>
> Hopefully, I do not misunderstand the draft in this DOS attack scenario.
> Welcome any input.
>
> Assume Initiator creates the Diffe-Herman group x public key and sends
> the KE payload to the responder in the IKE_SA_INIT exchange. The
> responder does not like this group x DH. It should response back with
> "INVLID_KE_PAYLOAD" indicating the corrected DH group (see 2.7). Since
> IKE_SA_INIT exchange is clear text exchange, there is a possible the
> third party acts as the responder to reply this "INVALID _KE_PAYLOAD"
> for each initiator' request.
>
> This causes the initiator continues changing the DH group and re-send
> the KE payload that the responder wants.
>
> We know DH calculation is very CPU-intensive. Initiator system can have
> very bad DOS attack by this scenario. Any comment?
>
> Thanks,
>
> Tom Hu



From owner-ipsec@lists.tislabs.com  Wed Aug 20 01:03:05 2003
Received: from lists.tislabs.com (portal.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id BAA26780
	for <ipsec-archive@lists.ietf.org>; Wed, 20 Aug 2003 01:03:05 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id VAA28313
	Tue, 19 Aug 2003 21:44:33 -0400 (EDT)
From: Charlie_Kaufman@notesdev.ibm.com
In-Reply-To: <26888.1061305088@marajade.sandelman.ottawa.on.ca>
Subject: Re: The remaining IKEv2 issues
To: Michael Richardson <mcr@sandelman.ottawa.on.ca>
Cc: ipsec@lists.tislabs.com, owner-ipsec@lists.tislabs.com
X-Mailer: Lotus Notes Build V602_05062003 May 06, 2003
Message-ID: <OF80E9F9B0.3A5F82F7-ON85256D88.0008D421-85256D88.000A0379@notesdev.ibm.com>
Date: Tue, 19 Aug 2003 21:49:22 -0400
X-MIMETrack: Serialize by Router on Ace/Iris(Release 6.0.2CF2|July 23, 2003) at 08/19/2003
 09:52:41 PM
MIME-Version: 1.0
Content-type: text/plain; charset=US-ASCII
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk







Michael Richardson <mcr@sandelman.ottawa.on.ca> wrote on 08/19/2003
10:58:08 AM:
>   If we accept non-kg EAP methods, then we must make a strong statement
to
> the effect that the credentials MUST not be used to authenticate to
parties
> of differing trust.
>   I.e. maybe it is okay for the corporate "extranet" web server to use
the
> employees EAP credentials to form an IPsec tunnel to the employee's
desktop
> to retrieve that file. It just isn't okay for company A's web server to
> use credentials from company B for things they weren't intended for.
(noting
> that B's web server must already have some radius-like relationship with
A's
> authentication server in order to perform the legitimate authentication)

You can tell people not to write their PIN number on their ATM cards all
you
want. They will do it anyway.

non-kg EAP methods are inherently weak. If they are used carefully, they
may
be acceptably safe in some environments, but users and administrators
*will*
screw it up.

If we want to insert warnings as to the dangers into the IKE spec, I'd
rather
do it by referencing some other document, but if we could agree on text in
less than negative 3 months, I'd be happy with that too.

Our real choice is whether to say non-kg methods MUST NOT be used or not.
If
we say they MUST NOT be used, people will implement them anyway but they
won't
get the same degree of interoperability testing at the bakeoffs. People
want
to use SecureID cards and challenge response cards and they don't want to
depend on some future enhancements to those devices in order to make IPsec
work. There are no kg methods for generic challenge response cards (though
one
could invent them for specific challenge response cards).

The following warning already appears in the Security Considerations
section:

> When using an EAP authentication method that does not generate a shared
> key for protecting a subsequent AUTH payload, certain man-in-the-middle
> and server impersonation attacks are possible. Use of such methods should
> be avoided where possible and where they are used, it is particularly
> important that the initiator validate the responder's certificate before
> initiating the EAP exchange.

We could add a stronger warning. But is there really any point?

      --Charlie



From owner-ipsec@lists.tislabs.com  Wed Aug 20 01:04:54 2003
Received: from lists.tislabs.com (portal.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id BAA26820
	for <ipsec-archive@lists.ietf.org>; Wed, 20 Aug 2003 01:04:54 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id VAA28303
	Tue, 19 Aug 2003 21:44:21 -0400 (EDT)
From: Charlie_Kaufman@notesdev.ibm.com
In-Reply-To: <20934.1061240676@marajade.sandelman.ottawa.on.ca>
Subject: Re: The remaining IKEv2 issues
To: Michael Richardson <mcr@sandelman.ottawa.on.ca>
Cc: ipsec@lists.tislabs.com
X-Mailer: Lotus Notes Build V602_05062003 May 06, 2003
Message-ID: <OFAFA48D54.D79726AE-ON85256D88.0007AC49-85256D88.0008071C@notesdev.ibm.com>
Date: Tue, 19 Aug 2003 21:27:41 -0400
X-MIMETrack: Serialize by Router on Ace/Iris(Release 6.0.2CF2|July 23, 2003) at 08/19/2003
 09:52:41 PM
MIME-Version: 1.0
Content-type: text/plain; charset=US-ASCII
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk





Michael Richardson <mcr@sandelman.ottawa.on.ca> wrote on 08/18/2003
05:04:36 PM:
>     Theodore> In addition, given the requirement to support one-time
password
>     Theodore> and Generic Token cards, we can not forbid the use of
non-kg
>     Theodore> EAP schemes.  Hence, given that the MITM attack which was
the
>     Theodore> concern raised by issue #65 is not an issue for IKEv2, we
>     Theodore> believe that this is not something that should hold back
the
>     Theodore> publication of IKEv2 as a Proposed Standard.
>
>   So, the only way to support these kind of things is by using EAP?
>   I'm not complaining, I'm just asking for confirmation.

Yes. IKEv2 natively supports authentication via public key certificate and
by shared secret key. When it was proposed that we add support for OTP and
Token cards, we could see that down that road lay reinventing
authentication
protocols over and over, so we incorporated EAP as the mechanism for any
form of authentication other than public key certificate and shared secret
key.

      --Charlie



From owner-ipsec@lists.tislabs.com  Wed Aug 20 01:14:27 2003
Received: from lists.tislabs.com (portal.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id BAA27050
	for <ipsec-archive@lists.ietf.org>; Wed, 20 Aug 2003 01:14:27 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id VAA28314
	Tue, 19 Aug 2003 21:44:36 -0400 (EDT)
From: Charlie_Kaufman@notesdev.ibm.com
In-Reply-To: <20030818182532.GF27057@binky.central.sun.com>
Subject: Re: IKEv2 SA rekeying - naming an initial SA
To: Nicolas Williams <Nicolas.Williams@sun.com>
Cc: ipsec@lists.tislabs.com, Mike Eisler <mike@eisler.com>,
        owner-ipsec@lists.tislabs.com
X-Mailer: Lotus Notes Build V602_05062003 May 06, 2003
Message-ID: <OFAD462166.1412EACE-ON85256D88.0004C2E6-85256D88.0005B541@notesdev.ibm.com>
Date: Tue, 19 Aug 2003 21:02:20 -0400
X-MIMETrack: Serialize by Router on Ace/Iris(Release 6.0.2CF2|July 23, 2003) at 08/19/2003
 09:52:42 PM
MIME-Version: 1.0
Content-type: text/plain; charset=US-ASCII
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk





I believe this functionality was added as a side effect of addressing
Issue #64 (though it's a little different and might not address all
imaginable cases). When an SA is rekeyed, the SPI of the old SA is
now specified, so there is no ambiguity. The binding between the old
SA and the new is not cryptographic, but in every case I could think of
the assertion of the SPI by the trusted IKE association defeats the
same attacks.

      --Charlie

p.s. There remains the problem - inherent to the layering in IPsec - that
there is no specified API by which an app receiving packets can ask IPsec
whether this packet is coming from the same authenticated entity as
another packet with the same source address received in the past.

> I'm glad to see that there is some SA rekeying functionality in IKEv2
> that is somewhat like the rekeying functionality in SSHv2, that is, that
> a new SA can be established under the protection of and bound to a
> previous (still live) SA.
>
> Now, if only there was a concept similar to the SSHv2 session ID.  (Or
> is it there and I just missed it?)
>
> If there is no IKEv2 equivalent to the SSHv2 session ID, I would like to
> have one defined.
>
> We have a need for a way to name a [transport mode] SA and its rekeyed
> replacements where the name is cryptographically bound to the initial SA
> key exchange.



From owner-ipsec@lists.tislabs.com  Wed Aug 20 01:27:40 2003
Received: from lists.tislabs.com (portal.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id BAA27547
	for <ipsec-archive@lists.ietf.org>; Wed, 20 Aug 2003 01:27:40 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id VAA28310
	Tue, 19 Aug 2003 21:44:30 -0400 (EDT)
From: Charlie_Kaufman@notesdev.ibm.com
In-Reply-To: <3F4135CF.6030106@creeksidenet.com>
Subject: Re: The remaining IKEv2 issues - #64
To: "jpickering@creeksidenet.com" <jpickering@creeksidenet.com>
Cc: ipsec@lists.tislabs.com
X-Mailer: Lotus Notes Build V602_05062003 May 06, 2003
Message-ID: <OF826E6DC6.403D6F65-ON85256D88.0006C75D-85256D88.00076C81@notesdev.ibm.com>
Date: Tue, 19 Aug 2003 21:21:05 -0400
X-MIMETrack: Serialize by Router on Ace/Iris(Release 6.0.2CF2|July 23, 2003) at 08/19/2003
 09:52:41 PM
MIME-Version: 1.0
Content-type: text/plain; charset=US-ASCII
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk





jpickering@creeksidenet.com wrote:
> I must have missed the resolution on issue 64, can someone remind me of
> the resolution
> and rationale?

The issue was that people were concerned about how an implementation could
know which SA was being rekeyed when a rekey request arrived. In the past,
I had assumed that they would know because the traffic selectors would
match the traffic selectors on the replaced SA. But recent discussions have
allowed for the possibility of multiple SAs with the same traffic selectors
for playing games with QOS and such.

The proposed solution was to include the SPI of the rekeyed SA in the
request to create a new SA, so there would be no ambiguity. It might also
help with the race conditions that can produce duplicate SAs and the
"continuity across rekeying" issue raised by Nicolas Williams. I added an
additional field to the Create_Child_SA exchange to carry the SPI.

      --Charlie



From owner-ipsec@lists.tislabs.com  Wed Aug 20 14:19:25 2003
Received: from lists.tislabs.com (portal.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA26898
	for <ipsec-archive@lists.ietf.org>; Wed, 20 Aug 2003 14:19:24 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id KAA09259
	Wed, 20 Aug 2003 10:41:38 -0400 (EDT)
X-Authentication-Warning: gandalf.sctc.com: allison owned process doing -bs
Date: Wed, 20 Aug 2003 09:48:27 -0500 (CDT)
From: Tylor Allison <allison@securecomputing.com>
X-X-Sender:  <allison@gandalf.sctc.com>
To: Yoav Nir <ynir@CheckPoint.com>
cc: "Theodore Ts'o" <tytso@mit.edu>,
        Michael Richardson <mcr@sandelman.ottawa.on.ca>,
        <ipsec@lists.tislabs.com>
Subject: Re: The remaining IKEv2 issues
In-Reply-To: <DC40C944-D24F-11D7-BEF6-000A95834BAA@checkpoint.com>
Message-ID: <Pine.GSO.4.33.0308200923200.24171-100000@gandalf.sctc.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

On Tue, 19 Aug 2003, Yoav Nir wrote:

> Hi Tylor,
>
> The reason we can't make doing this a MUST NOT is that the IKEv2
> document is designed to be used by implementors, not administrators and
> definitely not users.  We can say "GTC is OK" or "MUST NOT use GTC".
> We can even say "GTC MUST NOT be used unless the passwords are local to
> the VPN endpoint".  We can't mandate user behavior like "you can't use
> the GTC server for IKE if you can also do GTC over unencrypted PPTP or
> over unauthenticated PEAP".  We can definitely not say "you should only
> authenticate with GTC if you verify the server's certificate correctly
> in PEAP"

This is all under the assumption that the IKEv2 server is talking to the
AAA server using EAP (GTC or otherwise).  The point I was trying to make is
that it seems that we are trying to force a requirement based on one
potential implementation choice for using non-kg EAP methods.  We needed a
mechanism to transmit user credentials in IKEv2; EAP was chosen.  This
doesn't mean that EAP must be used by the IKEv2 gateway to communicate with
a AAA server.  EAP-GTC in IKEv2 seems like a generic method for performing
various forms of auth, fulfilling customer requirements to allow non-kg to
be used.  If this method is not secure _WITHIN THE IKEv2 PROTOCOL_ (e.g.
susceptable to MITM or other attacks), then I would agree that it MUST NOT
be used.  If it is not secure outside of the IKEv2 protocol, then I think
it is really up to the vendors to choose whether or not to use it.... at
that point it is really outside the scope of IKEv2.

> In short, you can mandate things about IKE, but not about other users
> of the legacy authentication.  It would be up to the implementor to
> tell the user not to use insecure methods, perhaps by displaying a
> warning message in the GUI.  For the RFC, it's either in or out.
>
> On Tuesday, August 19, 2003, at 04:17 PM, Tylor Allison wrote:
>
> > So the MITM attack on non-kg methods is possible for EAP messages being
> > transmitted outside of IKEv2 (e.g. not between IPsec peers), and occurs
> > because either the EAP messages are being passed in the clear, or the
> > server in a protected EAP protocol (e.g. PEAP) is not being
> > authenticated
> > properly.
> >
> > Why not make doing this a MUST NOT?  Aren't there many ways to make
> > non-kg
> > EAP methods protected from MITM?  How about:

Tylor



From owner-ipsec@lists.tislabs.com  Wed Aug 20 14:22:41 2003
Received: from lists.tislabs.com (portal.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA27035
	for <ipsec-archive@lists.ietf.org>; Wed, 20 Aug 2003 14:22:40 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id LAA14207
	Wed, 20 Aug 2003 11:07:56 -0400 (EDT)
X-Authentication-Warning: gandalf.sctc.com: allison owned process doing -bs
Date: Wed, 20 Aug 2003 10:15:06 -0500 (CDT)
From: Tylor Allison <allison@securecomputing.com>
X-X-Sender:  <allison@gandalf.sctc.com>
To: <Charlie_Kaufman@notesdev.ibm.com>
cc: Michael Richardson <mcr@sandelman.ottawa.on.ca>, <ipsec@lists.tislabs.com>,
        <owner-ipsec@lists.tislabs.com>
Subject: Re: The remaining IKEv2 issues
In-Reply-To: <OF80E9F9B0.3A5F82F7-ON85256D88.0008D421-85256D88.000A0379@notesdev.ibm.com>
Message-ID: <Pine.GSO.4.33.0308200919560.24171-100000@gandalf.sctc.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

On Tue, 19 Aug 2003 Charlie_Kaufman@notesdev.ibm.com wrote:

> You can tell people not to write their PIN number on their ATM cards all you
> want. They will do it anyway.
>
> non-kg EAP methods are inherently weak. If they are used carefully, they may
> be acceptably safe in some environments, but users and administrators *will*
> screw it up.

As defined and used within IKEv2, these methods are secure, though, aren't
they?  (OK, not as secure as kg methods...) To mount the MITM attack on
IKEv2, you have to have the Initiator not verify the responder/gateway's
identity... that sounds like a broken client implementation.  There's been
quite a bit of discussion about using MITM attacks on the AAA server which
is listening for the EAP-GTC (or otherwise plaintext EAP messages) that
could occur between the IKEv2 server and the AAA server.  But this assumes
that EAP is being used to communicate with the AAA server... other
protocols may be used by the IKEv2 gateway instead.

Administrators can and will screw anything up... it's scary some of the
shared-secret policies or private key distribution methods I've seen
customers actually use.  The question is, is it reasonable to expect that a
security-aware administrator can setup a policy that will be secure?  Or
atleast are they no worse off then if they were setting up any other type
of policy (cert-based, pre-shared key, etc.)?

> If we want to insert warnings as to the dangers into the IKE spec, I'd rather
> do it by referencing some other document, but if we could agree on text in
> less than negative 3 months, I'd be happy with that too.

I think the warning already present is sufficient.

> Our real choice is whether to say non-kg methods MUST NOT be used or not.  If
> we say they MUST NOT be used, people will implement them anyway but they won't
> get the same degree of interoperability testing at the bakeoffs. People want
> to use SecureID cards and challenge response cards and they don't want to
> depend on some future enhancements to those devices in order to make IPsec
> work. There are no kg methods for generic challenge response cards (though one
> could invent them for specific challenge response cards).

If we are expecting that people are going to implement these methods and
customer are going to make use of these methods, I would much rather see a
standards-based way of doing so, and have this method be tested at bakeoffs.

> The following warning already appears in the Security Considerations
> section:
>
> > When using an EAP authentication method that does not generate a shared
> > key for protecting a subsequent AUTH payload, certain man-in-the-middle
> > and server impersonation attacks are possible. Use of such methods should
> > be avoided where possible and where they are used, it is particularly
> > important that the initiator validate the responder's certificate before
> > initiating the EAP exchange.
>
> We could add a stronger warning. But is there really any point?
>
>       --Charlie

Tylor Allison




From owner-ipsec@lists.tislabs.com  Wed Aug 20 14:56:19 2003
Received: from lists.tislabs.com (portal.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA29680
	for <ipsec-archive@lists.ietf.org>; Wed, 20 Aug 2003 14:56:19 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id LAA17272
	Wed, 20 Aug 2003 11:24:35 -0400 (EDT)
Mime-Version: 1.0
X-Sender: kent@localhost
Message-Id: <p05210600bb690eebbed1@[12.159.173.175]>
In-Reply-To: <20030820032523.GK27057@binky.central.sun.com>
References: <9959.1061249453@marajade.sandelman.ottawa.on.ca>
 <p05210603bb673c47be19@[12.159.173.175]>
 <20030819051220.GL27057@binky.central.sun.com>
 <p05210602bb67b6145975@[12.159.173.175]>
 <20030820032523.GK27057@binky.central.sun.com>
Date: Wed, 20 Aug 2003 07:43:25 -0400
To: Nicolas Williams <Nicolas.Williams@sun.com>
From: Stephen Kent <kent@bbn.com>
Subject: Re: IKEv2 SA rekeying - naming an initial SA
Cc: Michael Richardson <mcr@sandelman.ottawa.on.ca>, ipsec@lists.tislabs.com
Content-Type: text/plain; charset="us-ascii" ; format="flowed"
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

At 20:25 -0700 8/19/03, Nicolas Williams wrote:
>On Tue, Aug 19, 2003 at 04:31:36PM -0400, Stephen Kent wrote:
>>  Nico,
>>
>>  sorry for the confusion on my part. I though you were trying to find
>>  a way to ID SAs for rekeying in IKE.  That was the context in which I
>>  made my original suggestion. With the sorts of authentication we have
>>  historically defined for use with IKE, MITM attacks are not an issue,
>>  s
>>
>>  IPsec has no anonymous mode, because access control is an essential
>>  feature of IPsec, unlike SSL.  So, no arguments based on the latter
>>  paragraph of your message are likely to be appropriate in this
>>  context.
>
>One would never want to use anonymous IPsec with any application *other*
>than applications which bind authentication at higher layers to IPsec
>SAs.
>
>But if one can do that, then the authenticated identities at the IPsec
>layer become irrelevant, particularly if such applications are doing
>mutual authentication at the application layer.
>
>Thus one would want to set policies that allow the use of anon IPsec
>ONLY for apps such as NFS (w/ RPCSEC_GSS & CCM).
>
>Cheers,
>
>Nico
>--

Nico,

I'm not arguing about one might do with an IP layer security protocol 
in general. I am noting that this WG has made a decision about the 
services offered in IPsec a number of years ago.

steve


From owner-ipsec@lists.tislabs.com  Wed Aug 20 16:26:59 2003
Received: from lists.tislabs.com (portal.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id QAA08306
	for <ipsec-archive@lists.ietf.org>; Wed, 20 Aug 2003 16:26:58 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id KAA02171
	Wed, 20 Aug 2003 10:04:37 -0400 (EDT)
From: Black_David@emc.com
Message-ID: <B459CE1AFFC52D4688B2A5B842CA35EA7A4E62@corpmx14.us.dg.com>
To: ipsec@lists.tislabs.com
Subject: IKEv2 issue #16
Date: Wed, 20 Aug 2003 10:09:58 -0400
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

Angelos's summary of open issues included:

 16: (Negotiate ToS in IKEv2)

This issue is marked as closed without adding any negotiation
support, and (IMHO) that's the right approach.  As I understood
the list discussion, the support for parallel SAs with the identical
traffic selectors introduced as part of resolving issue #64 is the
only IKEv2 mechanism required - given this, implementations can do
what they like in distributing traffic among parallel SAs that they
set up, so nothing more is needed (aside from my previous message
on adding a warning against the use of the IKEv1 rekeying heuristic).

IKEv2 is a security protocol and I strongly believe that it should
not be trying to do QoS negotiation for a number of reasons,
including preservation of the sanity of all involved :-).

Thanks,
--David
----------------------------------------------------
David L. Black, Senior Technologist
EMC Corporation, 176 South St., Hopkinton, MA  01748
+1 (508) 293-7953             FAX: +1 (508) 293-7786
black_david@emc.com        Mobile: +1 (978) 394-7754
----------------------------------------------------


From owner-ipsec@lists.tislabs.com  Wed Aug 20 16:59:30 2003
Received: from lists.tislabs.com (portal.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id QAA10638
	for <ipsec-archive@lists.ietf.org>; Wed, 20 Aug 2003 16:59:30 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id IAA08674
	Wed, 20 Aug 2003 08:50:58 -0400 (EDT)
Date: Tue, 19 Aug 2003 19:58:34 -0700
From: Nicolas Williams <Nicolas.Williams@sun.com>
To: Charlie_Kaufman@notesdev.ibm.com
Cc: ipsec@lists.tislabs.com, Mike Eisler <mike@eisler.com>,
        owner-ipsec@lists.tislabs.com
Subject: Re: IKEv2 SA rekeying - naming an initial SA
Message-ID: <20030820025834.GJ27057@binky.central.sun.com>
References: <20030818182532.GF27057@binky.central.sun.com> <OFAD462166.1412EACE-ON85256D88.0004C2E6-85256D88.0005B541@notesdev.ibm.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <OFAD462166.1412EACE-ON85256D88.0004C2E6-85256D88.0005B541@notesdev.ibm.com>
User-Agent: Mutt/1.4i
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

On Tue, Aug 19, 2003 at 09:02:20PM -0400, Charlie_Kaufman@notesdev.ibm.com wrote:
> 
> 
> 
> 
> I believe this functionality was added as a side effect of addressing
> Issue #64 (though it's a little different and might not address all
> imaginable cases). When an SA is rekeyed, the SPI of the old SA is
> now specified, so there is no ambiguity. The binding between the old
> SA and the new is not cryptographic, but in every case I could think of
> the assertion of the SPI by the trusted IKE association defeats the
> same attacks.
> 
>       --Charlie
> 
> p.s. There remains the problem - inherent to the layering in IPsec - that
> there is no specified API by which an app receiving packets can ask IPsec
> whether this packet is coming from the same authenticated entity as
> another packet with the same source address received in the past.

Indeed.  But I'm taking each step one at a time.  The crucial feature we
need for the CCM GSS-API mechanism is cryptographically chained SA
re-keys and an identifier cryptographically bound to the initial SA.

The interface issue is relatively simple to deal with, but it won't help
to have it and not have the above.

Nico
-- 


From owner-ipsec@lists.tislabs.com  Wed Aug 20 17:24:48 2003
Received: from lists.tislabs.com (portal.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA12120
	for <ipsec-archive@lists.ietf.org>; Wed, 20 Aug 2003 17:24:46 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id KAA01370
	Wed, 20 Aug 2003 10:00:38 -0400 (EDT)
Date: Wed, 20 Aug 2003 09:28:33 -0400
From: "Theodore Ts'o" <tytso@mit.edu>
To: Jari Arkko <jari.arkko@kolumbus.fi>
Cc: Michael Richardson <mcr@sandelman.ottawa.on.ca>, ipsec@lists.tislabs.com
Subject: Re: The remaining IKEv2 issues
Message-ID: <20030820132833.GA1503@think>
References: <E19oneL-0003NU-00@think.thunk.org> <20934.1061240676@marajade.sandelman.ottawa.on.ca> <20030819032306.GA1306@think> <3F42AE2F.3040308@kolumbus.fi>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <3F42AE2F.3040308@kolumbus.fi>
User-Agent: Mutt/1.5.4i
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

On Wed, Aug 20, 2003 at 02:09:35AM +0300, Jari Arkko wrote:
> I'm not sure compound authentication has the same kind of situation
> as the protected "hard outside, soft inside" intranets have.
> 
> If the inside was safe, why would there be authentication?
> I'd say its very likely that the same credentials are primarily
> used for coming in to the intranet from the outside, using dial-in
> or something like that. Or used for on-site WLAN access using
> 802.1X. Either way, its possible to that outsiders can see the
> authentication message sequence, or act as MITMs and grab the
> packets somewhere else.

[With my wg chair hat off]

I know, I know.  Most companies that I've seen still do very simple
authentication on the intranet just to prevent an entry-level QA
engineer from impersonating the the CEO.  However, the authentication
is often done using cleartext, reusable passwords via unencrypted
http.  Such companies are often running NFS wide open with no
protections as well, behind the firewall.  I also can't count the
number of times that I've been left alone in a conference room when
visiting one of these companies, and had the opportunity to plug my
laptop into the ethernet jack in the conference room table, and then
found myself on the inside of the corporate intranet.

(This is why I've always suspected that firewalls very often make
security worse, not better, because it lulls companies into a very
false sense of security.  Of course, many of these companies also
don't bother doing background checks before they hire temp workers who
are given free run of the building and computer networks, so one could
argue that trying to bolt a vault door onto a paper-mache house is
kind of silly anyway.)

Said companies will also assume that using cleartext, unprotected
access over dial-in access is perfectly safe, because everyone *knows*
it's hard to tap a phone line and figure out a v.90 modem tone, and
the IP path between the dialup servers and rest of the corporate
intranet is considered safe.  This might or might not be true,
depending on the threat model and the architecture of the dialup pool.

And I could be wrong, not being an expert in this area, but I was
fairly sure 802.1X involved the use of TLS, where the client is
supposed to validate the server certificates, so outsiders wouldn't be
able to see the authentication message sequence anyway.  At least,
that's the way Xsupplicant and FreeRadius, the open-source 802.1X
client/server implementations, work.  (One of my free-time projects
which I'm currently engaged in is to secure my home wireless network
using Cisco Aironet 350 access points and wireless cards.  It looks
like all the bits are there, but the documentation about the
FreeRadius configuration files is a bit meager.  If anyone has gotten
this working, let me know...)

In any case, the point is that I can imagine situations where given
the other choices in the convenience vs. security continuum that
various companies have made, using non-kg EAP mechanism wouldn't be
considered totally insane.  It is certainly is a much more fragile
system from a security standpoint, granted, and my personal belief is
that at the very minimum we should say SHOULD NOT, and include a very
long, explicit security considerations write up that explains the
risks very clearly, just to keep our consciences clear.

> >So given this, I propose that we open a 48-hour discussion on this
> >issue.  Should we (a) say nothing about non-kg types, thus implicitly
> >allowing them, (b) specify that vendors SHOULD NOT use non-kg EAP
> >types, or (c) specify that vendors MUST NOT use non-kg EAP types?
> 
> I'd prefer very much (c), but can live with (b).
> 
> I think (c) is the best match to IKEv2's secure design.
> We know the MITM problem exists, and we know how to avoid
> it. According to the Bernard's method and RADIUS server
> information, we don't appear to have to suffer too much
> from choosing the secure approach...

I am fairly sure that if we say MUST NOT, customers will force vendors
to either (1) simply violate the RFC and support non-kg EAP types
anyway, because they need the functionality, or (2) there will be a
configuration option, "strict RFC conformance", which when turned off,
will allow the further configuration option to allow the use of
plaintext passwords, one time passwords, or token authentication
responses tunnelled over EAP.

However, it is certainly perfectly fair to say that this Isn't Our
Problem (tm), although some VPN vendors might not want to be in the
uncomfortable position of being forced by the market to violate the
RFC.  But if they don't mind, it certainly is the safer, more "secure"
option to say MUST NOT, assuming that people actually implement to the
RFC.

But given the past history where we told people they SHOULD use
certificates with IKE, and they rejected that advice in favor of using
the more insecure XAUTH approach so they could continue using their
legacy authentication systems ---- you'll have to pardon me if I'm a
bit skeptical.  Fool me once, shame on you, fool me twice...

						- Ted


From owner-ipsec@lists.tislabs.com  Wed Aug 20 17:28:06 2003
Received: from lists.tislabs.com (portal.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA12223
	for <ipsec-archive@lists.ietf.org>; Wed, 20 Aug 2003 17:28:04 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id KAA01395
	Wed, 20 Aug 2003 10:00:46 -0400 (EDT)
Date: Wed, 20 Aug 2003 10:13:36 +0300
Subject: Re: EAP-IKEv2 MITM prevention (Was: Re: The remaining IKEv2 issues)
Content-Type: text/plain; charset=US-ASCII; format=flowed
Mime-Version: 1.0 (Apple Message framework v552)
From: Yoav Nir <ynir@CheckPoint.com>
To: ipsec@lists.tislabs.com
Content-Transfer-Encoding: 7bit
In-Reply-To: <3F42A76A.1050800@kolumbus.fi>
Message-Id: <D1151204-D2DD-11D7-BEF6-000A95834BAA@checkpoint.com>
X-Mailer: Apple Mail (2.552)
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk
Content-Transfer-Encoding: 7bit

I found the statement below very interesting.  While it is true that 
there are key-generating methods for most authentication methods, it is 
not always possible to implement them.

Under "PPP EAP REQUEST/RESPONSE TYPES" in 
http://www.iana.org/assignments/ppp-numbers there are 40 authentication 
methods listed.  However, for most of these, there is no published 
draft or RFC.  While it is good to know that #32 SecurID EAP is 
key-generating, there is no published document anywhere that says how 
the protocol works.  While the likes of Microsoft, Cisco, Check Point 
and Netscreen can probably negotiate with RSA to get the specifics of 
this protocol, smaller vendors and open-source developers cannot.  I 
very much dislike the idea of mandating the use of proprietary, 
unpublished methods.  If EAP method owners are forced to publish, I 
might feel differently.

XAUTH gave us generic message passing that the closest thing I see in 
EAP is GTC.  However, GTC seems to be reviled here.  I'd like to know 
what kg method can be used for generic challenge and response, like 
XAUTH allowed.

On Wednesday, August 20, 2003, at 01:40 AM, Jari Arkko wrote:

>
>   We did not come to a specific conclusion in this discussion,
>   but Bernard and myself felt that non-kg methods should not
>   be allowed, kg variants of "legacy" methods exist and that
>   sufficient support already exists in common RADIUS servers
>   etc so that there's no real reason to support non-kg methods.
>



From owner-ipsec@lists.tislabs.com  Wed Aug 20 17:28:09 2003
Received: from lists.tislabs.com (portal.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA12222
	for <ipsec-archive@lists.ietf.org>; Wed, 20 Aug 2003 17:28:04 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id NAA03098
	Wed, 20 Aug 2003 13:27:14 -0400 (EDT)
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
X-MimeOLE: Produced By Microsoft Exchange V6.0.6375.0
Subject: RE: EAP-IKEv2 MITM prevention (Was: Re: The remaining IKEv2 issues)
Date: Wed, 20 Aug 2003 06:56:49 -0700
Message-ID: <E8C74888AB06D74BA416003617C07CEFDC8AFB@orsmsx401.jf.intel.com>
Thread-Topic: EAP-IKEv2 MITM prevention (Was: Re: The remaining IKEv2 issues)
Thread-Index: AcNmqIaRV3+KcB6mRaerxCDd6dqQrwAAVrUQ
From: "Walker, Jesse" <jesse.walker@intel.com>
To: "Jari Arkko" <jari.arkko@kolumbus.fi>, "Theodore Ts'o" <tytso@mit.edu>,
        <ipsec@lists.tislabs.com>
Cc: <smb@research.att.com>, <Charlie_Kaufman@notesdev.ibm.com>,
        "Bernard Aboba" <aboba@internaut.com>
X-OriginalArrivalTime: 20 Aug 2003 13:56:49.0878 (UTC) FILETIME=[E702DF60:01C36722]
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by lists.tislabs.com id NAA03087
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk
Content-Transfer-Encoding: 8bit

> * The primary discussion is whether the non-kg methods should
>    be allowed. See NON-KG METHODS below.
> 
>    We did not come to a specific conclusion in this discussion,
>    but Bernard and myself felt that non-kg methods should not
>    be allowed, kg variants of "legacy" methods exist and that
>    sufficient support already exists in common RADIUS servers
>    etc so that there's no real reason to support non-kg methods.
> 
>    We also felt that the primary requirement for support of legacy
>    is to avoid redistributing new credentials for users. This can be
>    avoided, new kg methods can use old non-kg credentials.
> 
>    Charlie felt that it is more important to ensure support
>    for legacy authentication infrastructure, and in his opinion
>    this is more widespread than what we believed.
> 
>    It seems that the primary disagreement is about the
>    extent legacy authentication infrastructure really
>    exists vs. the threat posed by the MITM attacks.

A keying EAP method has much different properties than a non-keying EAP method, which make each vulnerable to different threats.

As far as I can tell, none of the legacy non-keying EAP methods in question natively resist MITM attack anyway, so protecting them with IKE does not introduce a new problem. People shouldn't ever use them across any unprotected network, but they do.

On the other hand, by protecting the legacy EAP method with an IKE SA, the IKE peer is asserting that the client is communicating with the legacy authentication server. While such an assertion might often (usually?) be meaningless or fraudulant, it is not necessarily so.

This reasoning suggests supporting these legacy non-keying EAP methods in IKE is a clear win.

It seems to me that the debate is yet really again about eradicating legacy authentication methods that don't work but that the market demands anyway, to our collective dispair. The IPsec working group is probably the wrong forum to wage this battle.

Just my two cents.

-- Jesse Walker


From owner-ipsec@lists.tislabs.com  Wed Aug 20 17:34:30 2003
Received: from lists.tislabs.com (portal.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA12518
	for <ipsec-archive@lists.ietf.org>; Wed, 20 Aug 2003 17:34:27 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id NAA06759
	Wed, 20 Aug 2003 13:50:41 -0400 (EDT)
Date: Wed, 20 Aug 2003 10:54:11 -0700
From: Nicolas Williams <Nicolas.Williams@sun.com>
To: Charlie_Kaufman@notesdev.ibm.com
Cc: ipsec@lists.tislabs.com, Mike Eisler <mike@eisler.com>
Subject: Re: IKEv2 SA rekeying - naming an initial SA
Message-ID: <20030820175411.GJ1319@binky.central.sun.com>
References: <20030818182532.GF27057@binky.central.sun.com> <OFAD462166.1412EACE-ON85256D88.0004C2E6-85256D88.0005B541@notesdev.ibm.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <OFAD462166.1412EACE-ON85256D88.0004C2E6-85256D88.0005B541@notesdev.ibm.com>
User-Agent: Mutt/1.4i
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

On Tue, Aug 19, 2003 at 09:02:20PM -0400, Charlie_Kaufman@notesdev.ibm.com wrote:
> I believe this functionality was added as a side effect of addressing
> Issue #64 (though it's a little different and might not address all
> imaginable cases). When an SA is rekeyed, the SPI of the old SA is
> now specified, so there is no ambiguity. The binding between the old
> SA and the new is not cryptographic, but in every case I could think of
> the assertion of the SPI by the trusted IKE association defeats the
> same attacks.

Section 2.18 says pretty clearly shows that rekeyed IKE_SAs are
cryptographically bound to their immediate predecessors by binding the
new SKEYSEED (and the new SK_d, SK_ai, SK_ar, and SK_ei, and SK_er) to
the SK_d of the previous IKE_SA.  The SKEYSEED, of course, is bound to
the key exchange.

(Thus every rekeyed IKE_SAs is ultimately bound to its initial IKE_SA by
 chained binding to each previous IKE_SA's SK_d.  Does the binding
 decrease in strength with each rekey?)

I proposed that the session ID of an initial IKE_SA be derived from
either its SKEYSEED or SK_d.  E.g.,

       {SK_d, SK_ai, SK_ar, SK_ei, SK_er, SK_id}
                 = prf+ (SKEYSEED, Ni | Nr | SPIi | SPIr )

       session ID = SK_id | SPIi | SPIr

or

       session ID = prf(SK_d | "IKE session ID") | SPIi | SPIr

Or something of the sort.  It should fit right in.

Cheers,

Nico
-- 


From owner-ipsec@lists.tislabs.com  Wed Aug 20 19:12:59 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id TAA18160
	for <ipsec-archive@lists.ietf.org>; Wed, 20 Aug 2003 19:12:51 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id NAA04210
	Wed, 20 Aug 2003 13:34:09 -0400 (EDT)
Cc: "Theodore Ts'o" <tytso@mit.edu>, ipsec@lists.tislabs.com,
        smb@research.att.com, Charlie_Kaufman@notesdev.ibm.com,
        Bernard Aboba <aboba@internaut.com>
Message-ID: <3F43B2B8.2010203@lucent.com>
Date: Wed, 20 Aug 2003 13:41:12 -0400
From: Uri Blumenthal <uri@lucent.com>
Organization: Lucent Technologies / Bell Labs
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 (CK-LucentTPES)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Jari Arkko <jari.arkko@kolumbus.fi>
Original-CC: "Theodore Ts'o" <tytso@mit.edu>, ipsec@lists.tislabs.com,
   smb@research.att.com, Charlie_Kaufman@notesdev.ibm.com,
   Bernard Aboba
 <aboba@internaut.com>
Subject: Re: EAP-IKEv2 MITM prevention (Was: Re: The remaining IKEv2 issues)
References: <E19oneL-0003NU-00@think.thunk.org> <3F42A76A.1050800@kolumbus.fi>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk
Content-Transfer-Encoding: 7bit

In short. I disagree with Charlie wrt. the reasons EAP was
included. In my view it was not to be able to reuse the old
METHODS - but to reuse the old CREDENTIALS.

The exact "grinder" through which those credentials are
run, IMHO doesn't really matter to the users.

Ergo, we can and should use key-generating methods with
"legacy" credentials. Everybody will benefit.


On 8/19/2003 6:40 PM, Jari Arkko wrote:
> A few days before this thread on the mailing list, we had an
> off-line discussion about the IKEv2 problem with Charlie, Bernard
> Aboba, and myself. I thought I'd summarize what was said in
> that discussion:
> 
> * The primary discussion is whether the non-kg methods should
>    be allowed. See NON-KG METHODS below.
> 
>    We did not come to a specific conclusion in this discussion,
>    but Bernard and myself felt that non-kg methods should not
>    be allowed, kg variants of "legacy" methods exist and that
>    sufficient support already exists in common RADIUS servers
>    etc so that there's no real reason to support non-kg methods.
> 
>    We also felt that the primary requirement for support of legacy
>    is to avoid redistributing new credentials for users. This can be
>    avoided, new kg methods can use old non-kg credentials.
> 
>    Charlie felt that it is more important to ensure support
>    for legacy authentication infrastructure, and in his opinion
>    this is more widespread than what we believed.
> 
>    It seems that the primary disagreement is about the
>    extent legacy authentication infrastructure really
>    exists vs. the threat posed by the MITM attacks.
> 
> * A related issue is what exactly is the IKEv2 requirement
>    for "username and password" authentication, and whether
>    the currently planned use of such authentication is
>    proper for EAP. See USERNAME AND PASSWORD AUTH below.
> 
>    This partly a debate of what requirements there are for
>    EAP methods, and how existing methods satisfy those
>    requirements.
> 
>    Bernard argues that EAP should not be used for cleartext
>    passwords, and that EAP OTP or GTC should not be used in
>    this manner. One of the problems with this is that if a
>    RADIUS backend were to be used, the passwords might be
>    exposed since common RADIUS implementations may not use
>    encryption for sending the messages to the server. (Recently
>    approved RFC 2869bis upgrades IPsec support in RADIUS
>    to a SHOULD, but its still not a MUST.)
> 
>    Charlie argues that the requirement is a username/password
>    authentication, in its simple form. He felt that if this
>    can't be done in EAP, it needs to be added to IKEv2
>    explicitly.
> 
> * In addition, the IKEv2 document currently disagrees with the
>    way the EAP keying framework wants EAP keys to be used,
>    when a key-generating method is used. See KEY USAGE below.
> 
>    The problem is that the EAP keying framework specifies
>    a key hierarchy, and link layers (or IKEv2) are expected
>    to use a specific part in this key hierarchy. Currently,
>    this is unspecified in IKEv2-10. Specifying it appears easy,
>    and this should be done.
> 
> Charlie, Bernard, feel free to correct/comment where necessary...
> 
> NON-KG METHODS
> ==============
> 
> Jari: We'd like to suggeste that only allow key generating
> methods be allowed. Such variants of currently existing non-kg
> methods are available, we think, for most or all practically available
> methods without requring a change to the already deployed
> credentials).
> 
> Charlie: I don't believe it is a good idea. Perhaps you can
> convince me otherwise. I don't want to rule out EAP methods
> because EAP was explicitly added to support current and future
> "legacy" authentication methods. I would hate to see yet another method added
> to support methods we aren't allowed to use with EAP.
> 
> Bernard:  While RFC 2284 did include definition of "legacy" methods such as
> MD5-Challenge, OTP, and Generic Token Card, most of the methods created
> since then have been considerably more advanced, and most cannot be
> classified as "legacy."  In fact, there is even an EAP-IKEv2 method being
> proposed!  So overall I don't believe that the above characterization
> correclty describes today's uses of EAP.
> 
> In practice, EAP today is largely focused on meeting the needs of
> wireless authentication such as IEEE 802.11, which does not permit use of
> "legacy" methods, and the general trend is toward phasing out these
> methods.  In fact, I'd go so far as to say that there is no RADIUS server
> supporting EAP today that doesn't support at least some "non-legacy"
> methods, since that is required for 802.11 compatibility which is a
> practical necessity for most implementations.
> 
> Token card vendors such as RSA now provide key-deriving EAP
> methods for their token cards.  The bottom line is that the need for
> "legacy" methods is decreasing and there is no reason to require their
> support any more.
> 
> Charlie: I think you're missing my point. EAP is expanding in some very
> positive ways. EAP with non-key-generating methods produces dramatically
> poorer security than EAP with key-generating methods, particular in the
> context of IKE. But the reason EAP was integrated into IKEv2 was not for
> any of those reasons. It was because IKEv2 had to support "username/password"
> authentication for backwards compatibility with deployed authentication
> infrastructures in spite of the fact that the security was going to suck.
> And some wise person said: "Rather than just supporting username/password,
> why don't you support EAP. That way, you get username/password when you have
> to and can migrate to better methods when people roll them out without
> updating the spec (though they will still have to update their implementations).
> It's a little extra work in the spec now to save us a lot later. But I don't
> think we can then turn around and tell them that they can't do
> username/password authentication. Even though it's not very secure.
> 
> 
> USERNAME AND PASSWORD AUTH
> ===========================
> 
> Charlie: I am disappointed that
> EAP does not include simple user name and password, but am reassured that
> people assure me that you can do it by telling EAP it's a one time password.
> 
> I don't believe it's cryptographically possible to do better than EAP in IKEv2
> does if you assume the user has a password and the server holds a non-password
> equivalent and doesn't either infringe a patent or require periodic reset
> (as with OTP). I believe this case is important. Tell me how I'm wrong.
> 
> Bernard: I think you're thinking about PPP authentication algorithms,
> not EAP.
> 
> There are at least four EAP methods defined that fall into this category,
> including EAP MD5-Challenge (CHAP equivalent) and EAP LEAP, and two
> MS-CHAP variants, both of which do mutual authentication.  There has also
> been an EAP SRP proposal that has been worked on off-and-on over the
> years. So I'm not clear what is missing.
> 
> In practice, most modern RADIUS servers are not limited to a single
> non-password equivalent, since they are typically capable of interacting
> with an LDAP backend which can either store the password in encrypted
> form, or has an extensible schema capable of handling multiple
> non-password equivalent forms.  For example, with EAP SRP it is necessary
> to store several additional parameters such as the generator and this is
> not an issue.
> 
> In any case, even where a non-password equivalent is used, it is still
> possible to do mutual authentication and key derivation as is done in EAP
> LEAP and MS-CHAPv2.
> 
> Similarly, token card vendors such as RSA now provide key-deriving EAP
> methods for their token cards.  The bottom line is that the need for
> "legacy" methods is decreasing and there is no reason to require their
> support any more.
> 
> Bernard: EAP does not include support for cleartext passwords, by
> design.  EAP OTP is not for use with cleartext passwords.
> 
>  > I don't believe it's cryptographically possible to do better than EAP in
>  > IKEv2 does if you assume the user has a password and the server holds a
>  > non-password equivalent and doesn't either infringe a patent or require
>  > periodic reset (as with OTP). I believe this case is important. Tell me
>  > how I'm wrong.
> 
> There is no EAP password-based authentication method that fits these
> assumptions. MD5-Challenge requires the server to hold the cleartext password.
> MS-CHAPv2 requires the server to hold a non-password equivalent, but does
> mutual authentication and generates a key.
> 
> Charlie: Oh dear. It's possible that we've added EAP to IKE to support
> a case that EAP can't support.
> 
> My reading of the spec (and I think I recall someone confirming it, though
> I don't remember who) was that a client that implemented authentication
> types (5) or (6) would display a server provided string to the user and
> then forward whatever the user typed to the server. If true, then a server
> could use either of these mechanisms to implement simple username
> and password authentication. It would be wrong, and out of the spirit
> of EAP, but it would work and people do it today. I didn't explicitly say
> so in the spec because it seemed politically incorrect, but that's what
> I expected people to do.
> 
> I would be wrong about this if either of these mechanisms required
> mechanism specific processing in the client - like changing the
> wordy form of an OTP into the condensed form. But it didn't look
> like that was expected.
> 
> If this isn't going to work, we need to know right away because people
> are counting on having a username/password authentication
> mechanism and if you can't do it with EAP we will have to add it
> explicitly.
> 
> Jari: What exactly is the requirement? To support username/password
> authentication? We got that in the form of EAP MSCHAPv2, for
> instance. But it does more than you've been assuming so far,
> i.e. it also generates keys which would enable you to avoid
> the MitM attack.
> 
> Or is the requirement to support token cards? As was mentioned
> by Bernard, there are EAP methods to support them as well.
> 
> Bernard: You wrote:
> 
>  > My reading of the spec (and I think I recall someone confirming it, though
>  > I don't remember who) was that a client that implemented authentication
>  > types (5) or (6) would display a server provided string to the user and
>  > then forward whatever the user typed to the server.
> 
> This much is true.
> 
>  > If true, then a server
>  > could use either of these mechanisms to implement simple username
>  > and password authentication.
> 
> This is not true.  A compliant EAP-OTP or GTC implementation cannot be
> used to implement cleartext passwords.  Since this apparently not
> clear to some implementors, we may have to add a MUST NOT to RFC
> 2284bis to make sure this doesn't happen. This would be a bad idea for
> several reasons:
> 
> a. EAP is used on wireless media where cleartext passwords would allow an
> attacker to capture the password.
> 
> b. In the case of RADIUS, whereas PAP passwords are hidden via a (lame)
> attribute-hiding scheme, in the case of EAP methods [RFC3579] does not
> mandate any encryption, although IPsec is a SHOULD. This means that the
> cleartext password would be exposed over the Internet as well.
> 
> So even of IKEv2 were to address problem a), it would not address problem
> b) -- and would violate the IETF prohibition on use of cleartext
> passwords.
> 
>  > It would be wrong, and out of the spirit
>  > of EAP, but it would work and people do it today.
> 
> We did an implementation survey two years ago, and were not aware of any
> such usage.  In fact, to date I'm only aware of a single implementation of
> EAP OTP, and none of EAP GTC.
> 
> For OTP there is certainly processing expected on the server -- and any
> server that used it as a cleartext password mechanism would be violating
> the spec.  GTC is designed to be "generic" -- usable by any
> challenge/response mechanism, but for that reason it's never been entirely
> clear why it was needed.  If this opens a huge hole for abuse, then maybe
> we should deprecate it.
> 
> If the goal is to introduce PAP into EAP (something we went to great pains
> to avoid), then it isn't going to work, either in EAP or in RADIUS on the
> backend either.
> 
> Bernard:  It's very hard to argue that support of PAP is a requirement
> because RFC 2865 supported CHAP as well as does every RADIUS server I've
> ever seen, and MD5-Challenge is mandatory-to-implement in RFC 2284.
> 
> If you buy the idea that all legacy RADIUS servers support CHAP or
> MD5-Challenge, then this implies that those same servers have access to
> cleartext passwords and could be upgraded to support RADIUS/EAP with a
> variety of methods.  All the commercial RADIUS servers and several of the
> free ones support MS-CHAPv2 in some form, or other password based methods
> offering mutual auth and key derivation (Interlink even supports EAP
> SKEME).
> 
> KEY USAGE
> =========
> 
> Bernard wrote: For key generating methods, the IKEv2 specification uses
> the "key" generated by EAP methods in a manner that is prohibited by the EAP Key
> framework.
> 
> EAP methods generate two quantities, the MSK (64 octets) and the EMSK (64
> octets).  These quantities are used to compute the AAA-Key.  In situations
> not involving fast handoff, the MSK is used as the AAA-Key, and the EMSK
> is unavailable to the VPN server.  So the specification needs to call out
> what particular portion of the "key" is being used.
> 
> Also, counter to the IKEv2 specification, the AAA-Key is never used
> directly to protect data.  Rather, a PRF expansion is done to generate
> authentication and encryption keys which are then used directly.
> 
> Please see the following document for details:
> 
> http://www.drizzle.com/~aboba/EAP/draft-aboba-pppext-key-problem-07.txt
> 
> --Jari
> 




From owner-ipsec@lists.tislabs.com  Wed Aug 20 23:49:02 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id XAA00029
	for <ipsec-archive@lists.ietf.org>; Wed, 20 Aug 2003 23:48:53 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id QAA10611
	Wed, 20 Aug 2003 16:47:22 -0400 (EDT)
Cc: Jari Arkko <jari.arkko@kolumbus.fi>, "Theodore Ts'o" <tytso@mit.edu>,
        ipsec@lists.tislabs.com, smb@research.att.com,
        Charlie_Kaufman@notesdev.ibm.com, Bernard Aboba <aboba@internaut.com>
Message-ID: <3F43DFF2.8030608@lucent.com>
Date: Wed, 20 Aug 2003 16:54:10 -0400
From: Uri Blumenthal <uri@lucent.com>
Organization: Lucent Technologies / Bell Labs
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 (CK-LucentTPES)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Michael Thomas <mat@cisco.com>
Original-CC: Jari Arkko <jari.arkko@kolumbus.fi>, "Theodore Ts'o" <tytso@mit.edu>,
   ipsec@lists.tislabs.com, smb@research.att.com,
   Charlie_Kaufman@notesdev.ibm.com, Bernard Aboba <aboba@internaut.com>
Subject: Re: EAP-IKEv2 MITM prevention (Was: Re: The remaining IKEv2 issues)
References: <E19oneL-0003NU-00@think.thunk.org>	<3F42A76A.1050800@kolumbus.fi>	<3F43B2B8.2010203@lucent.com> <16195.57195.361779.466156@thomasm-u1.cisco.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk
Content-Transfer-Encoding: 7bit

On 8/20/2003 4:51 PM, Michael Thomas wrote:
> Uri Blumenthal writes:
>  > In short. I disagree with Charlie wrt. the reasons EAP was
>  > included. In my view it was not to be able to reuse the old
>  > METHODS - but to reuse the old CREDENTIALS.
>  > 
>  > The exact "grinder" through which those credentials are
>  > run, IMHO doesn't really matter to the users.
> 
> Having been through this once before in the SIP
> world, there were really two considerations:
> 
> 1) reuse of credentials as you state

Which is perfectly OK.

> 2) keeping the AAA clueless that any of this 
>    is going on.

I don't think it's (a) feasible, or (b) desirable. Let's
NOT keep AAA clueless. Especially since in EAP it's the
AAA that will have to actually run the "new" EAP method.

If it means fighting reality as it is - so be it. :-)




From owner-ipsec@lists.tislabs.com  Wed Aug 20 23:49:57 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id XAA00075
	for <ipsec-archive@lists.ietf.org>; Wed, 20 Aug 2003 23:49:50 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id QAA10089
	Wed, 20 Aug 2003 16:45:05 -0400 (EDT)
From: Michael Thomas <mat@cisco.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <16195.57195.361779.466156@thomasm-u1.cisco.com>
Date: Wed, 20 Aug 2003 13:51:55 -0700 (PDT)
To: Uri Blumenthal <uri@lucent.com>
Cc: Jari Arkko <jari.arkko@kolumbus.fi>, "Theodore Ts'o" <tytso@mit.edu>,
        ipsec@lists.tislabs.com, smb@research.att.com,
        Charlie_Kaufman@notesdev.ibm.com, Bernard Aboba <aboba@internaut.com>
Subject: Re: EAP-IKEv2 MITM prevention (Was: Re: The remaining IKEv2 issues)
In-Reply-To: <3F43B2B8.2010203@lucent.com>
References: <E19oneL-0003NU-00@think.thunk.org>
	<3F42A76A.1050800@kolumbus.fi>
	<3F43B2B8.2010203@lucent.com>
X-Mailer: VM 6.72 under 21.1 (patch 6) "Big Bend" XEmacs Lucid
X-Face: &,heK/V66p?[2!i|tVn,9lN0TUvEv7:9FzXREj/AuzN4m<D]vnFJ>u!4x[/Z4t{V}~L]+Sk
 @RFNnJEg~WZ/(8<`5a),-7ukALWa^&?&D2R0CSG3kO5~#6JxLF\d,g">$%B!0w{W)qIhmwhye104zd
 bUcI'1!
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk
Content-Transfer-Encoding: 7bit

Uri Blumenthal writes:
 > In short. I disagree with Charlie wrt. the reasons EAP was
 > included. In my view it was not to be able to reuse the old
 > METHODS - but to reuse the old CREDENTIALS.
 > 
 > The exact "grinder" through which those credentials are
 > run, IMHO doesn't really matter to the users.

Uri, 

Having been through this once before in the SIP
world, there were really two considerations:

1) reuse of credentials as you state
2) keeping the AAA clueless that any of this 
   is going on.

In particular, there was a large desire in SIP to
have CHAP, etc, instead of HTTP-digest so that the
blob delivered to the AAA would be
indistinguishable from, oh say, a PPP-dialin
authentication request. So in that case, the
grinder in fact did figure pretty largely in
people's considerations as CHAP and http-digest
are essentially the same thing except for the bits
on the wire.

This was a few years ago and maybe the AAA servers
have been upgraded to be more accommodating, so
take this with a grain of salt.

	  Mike


From owner-ipsec@lists.tislabs.com  Wed Aug 20 23:50:09 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id XAA00093
	for <ipsec-archive@lists.ietf.org>; Wed, 20 Aug 2003 23:49:59 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id QAA13541
	Wed, 20 Aug 2003 16:59:34 -0400 (EDT)
From: Michael Thomas <mat@cisco.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <16195.58080.436917.536620@thomasm-u1.cisco.com>
Date: Wed, 20 Aug 2003 14:06:40 -0700 (PDT)
To: Uri Blumenthal <uri@lucent.com>
Cc: Michael Thomas <mat@cisco.com>, Jari Arkko <jari.arkko@kolumbus.fi>,
        "Theodore Ts'o" <tytso@mit.edu>, ipsec@lists.tislabs.com,
        smb@research.att.com, Charlie_Kaufman@notesdev.ibm.com,
        Bernard Aboba <aboba@internaut.com>
Subject: Re: EAP-IKEv2 MITM prevention (Was: Re: The remaining IKEv2 issues)
In-Reply-To: <3F43DFF2.8030608@lucent.com>
References: <E19oneL-0003NU-00@think.thunk.org>
	<3F42A76A.1050800@kolumbus.fi>
	<3F43B2B8.2010203@lucent.com>
	<16195.57195.361779.466156@thomasm-u1.cisco.com>
	<3F43DFF2.8030608@lucent.com>
X-Mailer: VM 6.72 under 21.1 (patch 6) "Big Bend" XEmacs Lucid
X-Face: &,heK/V66p?[2!i|tVn,9lN0TUvEv7:9FzXREj/AuzN4m<D]vnFJ>u!4x[/Z4t{V}~L]+Sk
 @RFNnJEg~WZ/(8<`5a),-7ukALWa^&?&D2R0CSG3kO5~#6JxLF\d,g">$%B!0w{W)qIhmwhye104zd
 bUcI'1!
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk
Content-Transfer-Encoding: 7bit

Uri Blumenthal writes:
 > On 8/20/2003 4:51 PM, Michael Thomas wrote:
 > > 2) keeping the AAA clueless that any of this 
 > >    is going on.
 > 
 > I don't think it's (a) feasible, or (b) desirable. Let's
 > NOT keep AAA clueless. Especially since in EAP it's the
 > AAA that will have to actually run the "new" EAP method.
 > 
 > If it means fighting reality as it is - so be it. :-)

   Yes, that's it exactly -- reality. Note that I'm
   not defending this, just stating my experience in 
   the matter. My personal observation is that
   there seems to be a lot of both use for better
   or worse, and reticence to change people's AAA's. 

   Does anybody --  Jari? -- have any idea how the 
   SIP saga ended? Were AAA's eventually upgraded
   to deal with http-digest? My guess is that if
   they weren't willing to deal with it for SIP,
   they're probably not going to be any more
   willing with IKE...

	   Mike


From owner-ipsec@lists.tislabs.com  Thu Aug 21 18:36:53 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id SAA06706
	for <ipsec-archive@lists.ietf.org>; Thu, 21 Aug 2003 18:36:53 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id OAA00881
	Thu, 21 Aug 2003 14:16:38 -0400 (EDT)
Mime-Version: 1.0
X-Sender: phoffvpnc@mail.vpnc.org
Message-Id: <p05210612bb6aa83b7866@[63.202.92.152]>
In-Reply-To: <B459CE1AFFC52D4688B2A5B842CA35EA7A4E61@corpmx14.us.dg.com>
References: <B459CE1AFFC52D4688B2A5B842CA35EA7A4E61@corpmx14.us.dg.com>
X-Habeas-SWE-1: winter into spring
X-Habeas-SWE-2: brightly anticipated
X-Habeas-SWE-3: like Habeas SWE (tm)
X-Habeas-SWE-4: Copyright 2002 Habeas (tm)
X-Habeas-SWE-5: Sender Warranted Email (SWE) (tm). The sender of this
X-Habeas-SWE-6: email in exchange for a license for this Habeas
X-Habeas-SWE-7: warrant mark warrants that this is a Habeas Compliant
X-Habeas-SWE-8: Message (HCM) and not spam. Please report use of this
X-Habeas-SWE-9: mark in spam to <http://www.habeas.com/report>.
Date: Thu, 21 Aug 2003 09:49:01 -0700
To: Black_David@emc.com, Charlie_Kaufman@notesdev.ibm.com
From: Paul Hoffman / VPNC <paul.hoffman@vpnc.org>
Subject: RE: The remaining IKEv2 issues - #64
Cc: ipsec@lists.tislabs.com
Content-Type: text/plain; charset="us-ascii" ; format="flowed"
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

At 9:56 AM -0400 8/20/03, Black_David@emc.com wrote:
>Charlie,
>
>As part of this (unless I missed it), please add sentences
>to make the following points:
>
>- IKEv2 deliberately allows parallel SAs with the same traffic
>	selectors between common endpoints.  One of the purposes of
>	this is to support traffic QoS differences among the SAs;
>	see Section 4.1 of RFC 2983 (informative reference).
>- Hence unlike IKEv1, given two endpoints, traffic selectors need
>	not uniquely identify an SA between those endpoints.
>- Therefore the IKEv1 rekeying heuristic (use of same traffic
>	selectors as an existing SA indicates rekeying, so existing
>	SA should be deleted shortly after new one is up) SHOULD NOT
>	be used, as it will result in unintended SA deletion.
>
>This may help avoid some surprises arising from implementation code
>reuse.

I fully agree that these sentences (or something like them) needs to 
be added to avoid interop problems that will be similar to the 
"dangling SA" disagreemetns we see in IKEv1.

--Paul Hoffman, Director
--VPN Consortium


From owner-ipsec@lists.tislabs.com  Thu Aug 21 19:06:40 2003
Received: from lists.tislabs.com (portal.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id TAA07811
	for <ipsec-archive@lists.ietf.org>; Thu, 21 Aug 2003 19:06:40 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id OAA07171
	Thu, 21 Aug 2003 14:55:52 -0400 (EDT)
Mime-Version: 1.0
X-Sender: phoffvpnc@mail.vpnc.org
Message-Id: <p0521061ebb6ac6869210@[63.202.92.152]>
In-Reply-To: <Pine.GSO.4.33.0308200919560.24171-100000@gandalf.sctc.com>
References: <Pine.GSO.4.33.0308200919560.24171-100000@gandalf.sctc.com>
X-Habeas-SWE-1: winter into spring
X-Habeas-SWE-2: brightly anticipated
X-Habeas-SWE-3: like Habeas SWE (tm)
X-Habeas-SWE-4: Copyright 2002 Habeas (tm)
X-Habeas-SWE-5: Sender Warranted Email (SWE) (tm). The sender of this
X-Habeas-SWE-6: email in exchange for a license for this Habeas
X-Habeas-SWE-7: warrant mark warrants that this is a Habeas Compliant
X-Habeas-SWE-8: Message (HCM) and not spam. Please report use of this
X-Habeas-SWE-9: mark in spam to <http://www.habeas.com/report>.
Date: Thu, 21 Aug 2003 12:04:49 -0700
To: ipsec@lists.tislabs.com
From: Paul Hoffman / VPNC <paul.hoffman@vpnc.org>
Subject: Re: The remaining IKEv2 issues
Content-Type: text/plain; charset="us-ascii" ; format="flowed"
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

At 10:15 AM -0500 8/20/03, Tylor Allison wrote:
>On Tue, 19 Aug 2003 Charlie_Kaufman@notesdev.ibm.com wrote:
>  > If we want to insert warnings as to the dangers into the IKE 
>spec, I'd rather
>>  do it by referencing some other document, but if we could agree on text in
>>  less than negative 3 months, I'd be happy with that too.
>
>I think the warning already present is sufficient.

Fully agree. When Bernard et. al.'s document comes out later, it will 
apply to lots of protocols, not just IKEv2. We should not delay IKEv2 
waiting for that document. We already explain the problem in the 
Security Considerations section, which is the proper place to do so.

>  > Our real choice is whether to say non-kg methods MUST NOT be used 
>or not.  If
>>  we say they MUST NOT be used, people will implement them anyway 
>>but they won't
>>  get the same degree of interoperability testing at the bakeoffs. People want
>>  to use SecureID cards and challenge response cards and they don't want to
>>  depend on some future enhancements to those devices in order to make IPsec
>>  work. There are no kg methods for generic challenge response cards 
>>(though one
>>  could invent them for specific challenge response cards).
>
>If we are expecting that people are going to implement these methods and
>customer are going to make use of these methods, I would much rather see a
>standards-based way of doing so, and have this method be tested at bakeoffs.

Fully agree. One of the main goals of IKEv2 was to avoid re-creating 
the XAUTH fiasco. Saying "'MUST NOT' or 'SHOULD NOT' do the things 
that your customers are demanding" is a really good way to cripple 
IKEv2 deployment.

--Paul Hoffman, Director
--VPN Consortium


From owner-ipsec@lists.tislabs.com  Thu Aug 21 19:16:35 2003
Received: from lists.tislabs.com (portal.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id TAA08348
	for <ipsec-archive@lists.ietf.org>; Thu, 21 Aug 2003 19:16:35 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id NAA28932
	Thu, 21 Aug 2003 13:17:12 -0400 (EDT)
Date: Thu, 21 Aug 2003 13:06:46 -0400 (EDT)
From: TIS Majordomo <majordom@lists.tislabs.com>
Message-Id: <200308211706.NAA28918@lists.tislabs.com>
To: ipsec@lists.tislabs.com
Subject: lists.tislabs.com being affected by SoBig
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk




We are experiencing delays and outages on lists.tislabs.com due to the recent
worm on the Internet.

-John Kelley  (tislabs.com majordomo admin)


From owner-ipsec@lists.tislabs.com  Thu Aug 21 19:36:37 2003
Received: from lists.tislabs.com (portal.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id TAA09220
	for <ipsec-archive@lists.ietf.org>; Thu, 21 Aug 2003 19:36:36 -0400 (EDT)
From: owner-ipsec@lists.tislabs.com
Received: by lists.tislabs.com (8.9.1/8.9.1) id PAA17535
	Thu, 21 Aug 2003 15:49:05 -0400 (EDT)
Date: Thu, 21 Aug 2003 15:49:05 -0400 (EDT)
Message-Id: <200308211949.PAA17535@lists.tislabs.com>

(1Cust116.tnt1.sedona.az.da.uu.net [68.129.19.116])
	by TheWorld.com (8.12.8p1/8.12.8) with ESMTP id h7LGk3HU010376;
	Thu, 21 Aug 2003 12:46:15 -0400
Message-Id: <5.1.1.6.0.20030821012129.00adc220@pop.theworld.com>
X-Sender: dpj@pop.theworld.com
X-Mailer: QUALCOMM Windows Eudora Version 5.1.1
Date: Thu, 21 Aug 2003 02:37:08 -0400
To: Jari Arkko <jari.arkko@kolumbus.fi>
From: David Jablon <dpj@theworld.com>
Subject: Re: EAP-IKEv2 MITM prevention (Was: Re: The remaining IKEv2
   issues)
Cc: ipsec@lists.tislabs.com
In-Reply-To: <3F42A76A.1050800@kolumbus.fi>
References: <E19oneL-0003NU-00@think.thunk.org>
  <E19oneL-0003NU-00@think.thunk.org>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

It's confusing to discuss patent infringement issues in a statement of
what is "cryptographically possible".  It introduces the notion of something
being "cryptographically possible" in some parts of the world, but not
elsewhere.  For this and other reasons one should separate statements
of technological possibility from statements about IP rights or other
deployment issues.

At 01:40 AM 8/20/2003 +0300, Jari Arkko wrote:
>[...]
>USERNAME AND PASSWORD AUTH
>===========================
>
>Charlie: I am disappointed that
>EAP does not include simple user name and password, but am reassured that
>people assure me that you can do it by telling EAP it's a one time password.
>
>I don't believe it's cryptographically possible to do better than EAP in IKEv2
>does if you assume the user has a password and the server holds a non-password
>equivalent and doesn't either infringe a patent or require periodic reset
>(as with OTP). I believe this case is important. Tell me how I'm wrong.

Also, I don't know exactly what is believed to be possible in the above, but
there are augmented password-authenticated key agreement methods
(see IEEE P1363.2) that are available, under the above assumptions, for use
in most of the world.   (semi-plug:  And, of course, it's possible for any
vendor to acquire appropriate license for their customers to use any
cryptographically possible method anywhere, should they care to do so.)

>[...]
>Bernard:  It's very hard to argue that support of PAP is a requirement
>because RFC 2865 supported CHAP as well as does every RADIUS server I've
>ever seen, and MD5-Challenge is mandatory-to-implement in RFC 2284.
>
>If you buy the idea that all legacy RADIUS servers support CHAP or
>MD5-Challenge, then this implies that those same servers have access to
>cleartext passwords and could be upgraded to support RADIUS/EAP with a
>variety of methods.  All the commercial RADIUS servers and several of the
>free ones support MS-CHAPv2 in some form, or other password based methods
>offering mutual auth and key derivation (Interlink even supports EAP
>SKEME).

Correction:  I think that mutual auth password based method is EAP SPEKE,
Simple Password-authenticated blah blah blah, not SKEME.

-- David


From owner-ipsec@lists.tislabs.com  Thu Aug 21 19:55:03 2003
Received: from lists.tislabs.com (portal.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id TAA09807
	for <ipsec-archive@lists.ietf.org>; Thu, 21 Aug 2003 19:55:03 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id QAA20375
	Thu, 21 Aug 2003 16:03:43 -0400 (EDT)
Cc: ipsec@lists.tislabs.com
Message-ID: <3F452753.6020600@lucent.com>
Date: Thu, 21 Aug 2003 16:10:59 -0400
From: Uri Blumenthal <uri@lucent.com>
Organization: Lucent Technologies / Bell Labs
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 (CK-LucentTPES)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Paul Hoffman / VPNC <paul.hoffman@vpnc.org>
Original-CC: ipsec@lists.tislabs.com
Subject: Re: The remaining IKEv2 issues
References: <Pine.GSO.4.33.0308200919560.24171-100000@gandalf.sctc.com> <p0521061ebb6ac6869210@[63.202.92.152]>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk
Content-Transfer-Encoding: 7bit

On 8/21/2003 3:04 PM, Paul Hoffman / VPNC wrote:
>>If we are expecting that people are going to implement these methods and
>>customer are going to make use of these methods, I would much rather see
>>a standards-based way of doing so, and have this method be tested at
>>bakeoffs.
> 
> Fully agree.........
> Saying "'MUST NOT' or 'SHOULD NOT' do the things
> that your customers are demanding" is a really good way to cripple
> IKEv2 deployment.

Well yes, I agree too. What I don't understand if why we
cannot create kg methods using the same credentials? It
seems to be the only way to satisfy both the customers
who need to use devices like SecureID (hey, I'm one
of those), and the security requirements.

> One of the main goals of IKEv2 was to avoid re-creating
> the XAUTH fiasco.

Please educate me - I didn't keep track of XAUTH. Why did
it fail? What was wrong with it?

Thanks!



From owner-ipsec@lists.tislabs.com  Thu Aug 21 23:37:12 2003
Received: from lists.tislabs.com (portal.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id XAA18212
	for <ipsec-archive@lists.ietf.org>; Thu, 21 Aug 2003 23:37:12 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id TAA20809
	Thu, 21 Aug 2003 19:14:04 -0400 (EDT)
Mime-Version: 1.0
X-Sender: phoffprop@mail.proper.com
Message-Id: <p0521062ebb6b04ac0379@[63.202.92.152]>
X-Habeas-SWE-1: winter into spring
X-Habeas-SWE-2: brightly anticipated
X-Habeas-SWE-3: like Habeas SWE (tm)
X-Habeas-SWE-4: Copyright 2002 Habeas (tm)
X-Habeas-SWE-5: Sender Warranted Email (SWE) (tm). The sender of this
X-Habeas-SWE-6: email in exchange for a license for this Habeas
X-Habeas-SWE-7: warrant mark warrants that this is a Habeas Compliant
X-Habeas-SWE-8: Message (HCM) and not spam. Please report use of this
X-Habeas-SWE-9: mark in spam to <http://www.habeas.com/report>.
Date: Thu, 21 Aug 2003 16:22:52 -0700
To: ipsec@lists.tislabs.com
From: Internet-Drafts@ietf.org
Subject: I-D ACTION:draft-ietf-ipsec-ui-suites-04.txt
Content-Type: text/plain; charset="us-ascii" ; format="flowed"
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the IP Security Protocol Working Group 
of the IETF.

	Title		: Cryptographic Suites for IPsec
	Author(s)	: P. Hoffman
	Filename	: draft-ietf-ipsec-ui-suites-04.txt
	Pages		: 5
	Date		: 2003-8-20

The IPsec, IKE, and IKEv2 protocols rely on security algorithms to
provide privacy and authentication between the initiator and responder.
There are many such algorithms available, and two IPsec systems cannot
interoperate unless they are using the same algorithms. This document
specifies optional suites of algorithms and attributes that can be used
to simplify the administration of IPsec when used in manual keying mode,
with IKE version 1, or with IKEv2.

A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-ietf-ipsec-ui-suites-04.txt

To remove yourself from the IETF Announcement list, send a message to
ietf-announce-request with the word unsubscribe in the body of the message.

Internet-Drafts are also available by anonymous FTP. Login with the username
"anonymous" and a password of your e-mail address. After logging in,
type "cd internet-drafts" and then
	"get draft-ietf-ipsec-ui-suites-04.txt".

A list of Internet-Drafts directories can be found in
http://www.ietf.org/shadow.html
or ftp://ftp.ietf.org/ietf/1shadow-sites.txt


Internet-Drafts can also be obtained by e-mail.

Send a message to:
	mailserv@ietf.org.
In the body type:
	"FILE /internet-drafts/draft-ietf-ipsec-ui-suites-04.txt".

NOTE:	The mail server at ietf.org can return the document in
	MIME-encoded form by using the "mpack" utility.  To use this
	feature, insert the command "ENCODING mime" before the "FILE"
	command.  To decode the response(s), you will need "munpack" or
	a MIME-compliant mail reader.  Different MIME-compliant mail readers
	exhibit different behavior, especially when dealing with
	"multipart" MIME messages (i.e. documents which have been split
	up into multiple messages), so check your local documentation on
	how to manipulate these messages.


Below is the data which will enable a MIME compliant mail reader
implementation to automatically retrieve the ASCII version of the
Internet-Draft.


[The following attachment must be fetched by mail. Command-click the 
URL below and send the resulting message to get the attachment.]
<mailto:mailserv@ietf.org?body=ENCODING%20mime%0D%0AFILE%20/internet-drafts/draft-ietf-ipsec-ui-suites-04.txt>
[The following attachment must be fetched by ftp.  Command-click the 
URL below to ask your ftp client to fetch it.]
<ftp://ftp.ietf.org/internet-drafts/draft-ietf-ipsec-ui-suites-04.txt>


From owner-ipsec@lists.tislabs.com  Thu Aug 21 23:56:06 2003
Received: from lists.tislabs.com (portal.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id XAA18843
	for <ipsec-archive@lists.ietf.org>; Thu, 21 Aug 2003 23:56:06 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id UAA28576
	Thu, 21 Aug 2003 20:03:01 -0400 (EDT)
Date: Tue, 19 Aug 2003 20:42:47 -0700
From: Nicolas Williams <Nicolas.Williams@sun.com>
To: Charlie_Kaufman@notesdev.ibm.com
Cc: ipsec@lists.tislabs.com, Mike Eisler <mike@eisler.com>,
        owner-ipsec@lists.tislabs.com
Subject: Re: IKEv2 SA rekeying - naming an initial SA
Message-ID: <20030820034246.GN27057@binky.central.sun.com>
References: <20030818182532.GF27057@binky.central.sun.com> <OFAD462166.1412EACE-ON85256D88.0004C2E6-85256D88.0005B541@notesdev.ibm.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <OFAD462166.1412EACE-ON85256D88.0004C2E6-85256D88.0005B541@notesdev.ibm.com>
User-Agent: Mutt/1.4i
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

On Tue, Aug 19, 2003 at 09:02:20PM -0400, Charlie_Kaufman@notesdev.ibm.com wrote:
> I believe this functionality was added as a side effect of addressing
> Issue #64 (though it's a little different and might not address all
> imaginable cases). When an SA is rekeyed, the SPI of the old SA is
> now specified, so there is no ambiguity. The binding between the old
> SA and the new is not cryptographic, but in every case I could think of
> the assertion of the SPI by the trusted IKE association defeats the
> same attacks.

My understanding of the text in -9/-10 is that "rekeys" occur under the
protection of the SA being rekeyed.  That suffices, from my p.o.v. to
bind the new SA to the old SA and all that's missing is a session ID
cryptographically bound to the initial IKE_SA KE.

It's more than possible that I misunderstood the text on rekeying in
draft-ietf-ipsec-ikev2-10 - if so I hope it's not too late to fix the
rekeying functionality (and in any case I hope it's not too late to add
the session ID I also need).

Cheers,

Nico
-- 


From owner-ipsec@lists.tislabs.com  Fri Aug 22 01:18:45 2003
Received: from lists.tislabs.com (portal.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id BAA21695
	for <ipsec-archive@lists.ietf.org>; Fri, 22 Aug 2003 01:18:45 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id VAA11966
	Thu, 21 Aug 2003 21:37:22 -0400 (EDT)
Date: Tue, 19 Aug 2003 22:55:20 -0500
From: Nicolas Williams <Nicolas.Williams@sun.com>
To: Stephen Kent <kent@bbn.com>
Cc: Michael Richardson <mcr@sandelman.ottawa.on.ca>, ipsec@lists.tislabs.com
Subject: Re: IKEv2 SA rekeying - naming an initial SA
Message-ID: <20030820035520.GC19235@binky.central.sun.com>
References: <9959.1061249453@marajade.sandelman.ottawa.on.ca> <p05210603bb673c47be19@[12.159.173.175]> <20030819051220.GL27057@binky.central.sun.com> <p05210602bb67b6145975@[12.159.173.175]> <20030820032523.GK27057@binky.central.sun.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20030820032523.GK27057@binky.central.sun.com>
User-Agent: Mutt/1.4i
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

On Tue, Aug 19, 2003 at 08:25:23PM -0700, Nicolas Williams wrote:
> On Tue, Aug 19, 2003 at 04:31:36PM -0400, Stephen Kent wrote:
> > IPsec has no anonymous mode, because access control is an essential 
> > feature of IPsec, unlike SSL.  So, no arguments based on the latter 
> > paragraph of your message are likely to be appropriate in this 
> > context.
> 
> One would never want to use anonymous IPsec with any application *other*
> than applications which bind authentication at higher layers to IPsec
> SAs.
...

I'd also like to point out that if we allow non-kg EAPs then we might as
well allow anonymous IKEv2 :) :)

And if we allow IKEv2 w/ non-kg EAPs (with loud warnings) because we
think that others will implement the same regardless of whether it is a
MUST NOT, then we ought to allow anon IKEv2 for the same reason (and
also with loud warnings).

And note that anon IPsec with GSS-API CCM channel bindings to the same
is quite strong[*], compared to IPsec w/ non-kg EAPs.  The former is not
subject to MITMs or spoofing, the latter is.

[*]  As strong as the authentication and integrity protection services
     of the underlying GSS-API mechanism.

Cheers,

Nico
-- 


From owner-ipsec@lists.tislabs.com  Fri Aug 22 03:32:44 2003
Received: from lists.tislabs.com (portal.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id DAA08833
	for <ipsec-archive@lists.ietf.org>; Fri, 22 Aug 2003 03:32:44 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id VAA11958
	Thu, 21 Aug 2003 21:37:21 -0400 (EDT)
Date: Tue, 19 Aug 2003 20:25:24 -0700
From: Nicolas Williams <Nicolas.Williams@sun.com>
To: Stephen Kent <kent@bbn.com>
Cc: Michael Richardson <mcr@sandelman.ottawa.on.ca>, ipsec@lists.tislabs.com
Subject: Re: IKEv2 SA rekeying - naming an initial SA
Message-ID: <20030820032523.GK27057@binky.central.sun.com>
References: <9959.1061249453@marajade.sandelman.ottawa.on.ca> <p05210603bb673c47be19@[12.159.173.175]> <20030819051220.GL27057@binky.central.sun.com> <p05210602bb67b6145975@[12.159.173.175]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <p05210602bb67b6145975@[12.159.173.175]>
User-Agent: Mutt/1.4i
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

On Tue, Aug 19, 2003 at 04:31:36PM -0400, Stephen Kent wrote:
> Nico,
> 
> sorry for the confusion on my part. I though you were trying to find 
> a way to ID SAs for rekeying in IKE.  That was the context in which I 
> made my original suggestion. With the sorts of authentication we have 
> historically defined for use with IKE, MITM attacks are not an issue, 
> s
> 
> IPsec has no anonymous mode, because access control is an essential 
> feature of IPsec, unlike SSL.  So, no arguments based on the latter 
> paragraph of your message are likely to be appropriate in this 
> context.

One would never want to use anonymous IPsec with any application *other*
than applications which bind authentication at higher layers to IPsec
SAs.

But if one can do that, then the authenticated identities at the IPsec
layer become irrelevant, particularly if such applications are doing
mutual authentication at the application layer.

Thus one would want to set policies that allow the use of anon IPsec
ONLY for apps such as NFS (w/ RPCSEC_GSS & CCM).

Cheers,

Nico
-- 


From owner-ipsec@lists.tislabs.com  Fri Aug 22 12:15:00 2003
Received: from lists.tislabs.com (portal.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA05077
	for <ipsec-archive@lists.ietf.org>; Fri, 22 Aug 2003 12:14:59 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id IAA20472
	Fri, 22 Aug 2003 08:05:36 -0400 (EDT)
X-Authentication-Warning: amme.hel.fi.ssh.com: kivinen set sender to kivinen@ssh.fi using -f
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <16197.61579.798381.701236@amme.hel.fi.ssh.com>
Date: Fri, 22 Aug 2003 13:29:31 +0300
From: Tero Kivinen <kivinen@ssh.fi>
To: Paul Hoffman / VPNC <paul.hoffman@vpnc.org>
Cc: ipsec@lists.tislabs.com
Subject: Re: The remaining IKEv2 issues
In-Reply-To: <p0521061ebb6ac6869210@[63.202.92.152]>
References: <Pine.GSO.4.33.0308200919560.24171-100000@gandalf.sctc.com>
	<p0521061ebb6ac6869210@[63.202.92.152]>
X-Mailer: VM 7.04 under Emacs 20.7.1
Organization: SSH Communications Security Oy
X-Edit-Time: 4 min
X-Total-Time: 4 min
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk
Content-Transfer-Encoding: 7bit

Paul Hoffman / VPNC writes:
> the XAUTH fiasco. Saying "'MUST NOT' or 'SHOULD NOT' do the things 
> that your customers are demanding" is a really good way to cripple 
> IKEv2 deployment.

I agree that "MUST NOT" will be crippling the deployment, but "SHOULD
NOT" is fine. From the RFC-2119:

----------------------------------------------------------------------
4. SHOULD NOT   This phrase, or the phrase "NOT RECOMMENDED" mean that
   there may exist valid reasons in particular circumstances when the
   particular behavior is acceptable or even useful, but the full
   implications should be understood and the case carefully weighed
   before implementing any behavior described with this label.
----------------------------------------------------------------------

So I think non-kg EAP methods SHOULD NOT be used. There are cases
where they are acceptable, or even useful, but the full implications
of using them should be understood...
-- 
kivinen@ssh.fi
SSH Communications Security                  http://www.ssh.fi/
SSH IPSEC Toolkit                            http://www.ssh.fi/ipsec/


From owner-ipsec@lists.tislabs.com  Fri Aug 22 12:41:17 2003
Received: from lists.tislabs.com (portal.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA06242
	for <ipsec-archive@lists.ietf.org>; Fri, 22 Aug 2003 12:41:16 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id JAA28795
	Fri, 22 Aug 2003 09:04:52 -0400 (EDT)
Mime-Version: 1.0
X-Sender: kent@po2.bbn.com
Message-Id: <p05210600bb6bc6fcfd39@[128.89.88.34]>
In-Reply-To: <20030820035520.GC19235@binky.central.sun.com>
References: <9959.1061249453@marajade.sandelman.ottawa.on.ca>
 <p05210603bb673c47be19@[12.159.173.175]>
 <20030819051220.GL27057@binky.central.sun.com>
 <p05210602bb67b6145975@[12.159.173.175]>
 <20030820032523.GK27057@binky.central.sun.com>
 <20030820035520.GC19235@binky.central.sun.com>
Date: Fri, 22 Aug 2003 09:12:28 -0400
To: Nicolas Williams <Nicolas.Williams@sun.com>
From: Stephen Kent <kent@bbn.com>
Subject: Re: IKEv2 SA rekeying - naming an initial SA
Cc: Michael Richardson <mcr@sandelman.ottawa.on.ca>, ipsec@lists.tislabs.com
Content-Type: text/plain; charset="us-ascii" ; format="flowed"
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

At 22:55 -0500 8/19/03, Nicolas Williams wrote:
>On Tue, Aug 19, 2003 at 08:25:23PM -0700, Nicolas Williams wrote:
>>  On Tue, Aug 19, 2003 at 04:31:36PM -0400, Stephen Kent wrote:
>>  > IPsec has no anonymous mode, because access control is an essential
>>  > feature of IPsec, unlike SSL.  So, no arguments based on the latter
>>  > paragraph of your message are likely to be appropriate in this
>>  > context.
>>
>>  One would never want to use anonymous IPsec with any application *other*
>>  than applications which bind authentication at higher layers to IPsec
>>  SAs.
>...
>
>I'd also like to point out that if we allow non-kg EAPs then we might as
>well allow anonymous IKEv2 :) :)
>
>And if we allow IKEv2 w/ non-kg EAPs (with loud warnings) because we
>think that others will implement the same regardless of whether it is a
>MUST NOT, then we ought to allow anon IKEv2 for the same reason (and
>also with loud warnings).
>
>And note that anon IPsec with GSS-API CCM channel bindings to the same
>is quite strong[*], compared to IPsec w/ non-kg EAPs.  The former is not
>subject to MITMs or spoofing, the latter is.
>
>[*]  As strong as the authentication and integrity protection services
>      of the underlying GSS-API mechanism.
>
>Cheers,
>
>Nico
>--

what part of "no" do you find puzzling :-)

Steve


From owner-ipsec@lists.tislabs.com  Fri Aug 22 23:25:20 2003
Received: from lists.tislabs.com (portal.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id XAA06144
	for <ipsec-archive@lists.ietf.org>; Fri, 22 Aug 2003 23:25:20 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id TAA22316
	Fri, 22 Aug 2003 19:14:14 -0400 (EDT)
Mime-Version: 1.0
X-Sender: kseo@po2.bbn.com
Message-Id: <p05200f0dbb6c4b053bc0@[128.89.89.115]>
In-Reply-To: <E19mbxP-0000Ug-00@think.thunk.org>
References: <E19mbxP-0000Ug-00@think.thunk.org>
Date: Fri, 22 Aug 2003 18:57:23 -0400
To: Barbara Fraser <byfraser@cisco.com>, "Theodore Ts'o" <tytso@mit.edu>
From: Karen Seo <kseo@bbn.com>
Subject: Re: Moving forward on RFC 2401-bis
Cc: ipsec@lists.tislabs.com, angelos@cs.columbia.edu, kivinen@ssh.fi,
        byfraser@cisco.com, tytso@mit.edu, Russ Housley <housley@vigilsec.com>
Content-Type: text/plain; charset="us-ascii" ; format="flowed"
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

Folks,

Just an update... We've reviewed the 9 items on the IPsec tracking 
list for 2401:

1. We believe the following 5 items have been resolved.  At the 
beginning of next week, we will send out individual writeups for the 
following items:
	47	All selectors can be a list of ranges, per IKEv2 spec
	48 	Add ToS traffic selector option
	49	Red-side fragmentation option
	50	Tunnel vs transport mode
	57	ECN support

2. Four of the items are inter-related and should be addressed 
together as part of the new IPsec processing model, which is still 
being discussed.  Later next week, we will send out a revised version 
of the write up on the processing model with updates reflecting 
feedback/conclusions to date.  This will cover the following items:
	40 	Interface SPD selector vs per-interface SPD
	44 	Forwarding table lookup to select virtual interface ID
	45 	Use of cache with de-correlated SPD
	46	No need for iterated processing

3. In addition to the items in the tracking system, there are a 
number of other issues that have come up during the past months. 
Over the next couple of weeks, we will be sending out descriptions of 
these issues for group review/discussion.

Have a good weekend!
Karen




From owner-ipsec@lists.tislabs.com  Sun Aug 24 03:50:35 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id DAA26453
	for <ipsec-archive@lists.ietf.org>; Sun, 24 Aug 2003 03:50:35 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id AAA10157
	Sun, 24 Aug 2003 00:11:36 -0400 (EDT)
Mime-Version: 1.0
X-Sender: kseo@po2.bbn.com
Message-Id: <p05200f01bb6de70acd16@[128.89.89.115]>
In-Reply-To: <200308231725.h7NHPYcJ028122@coredump.cs.columbia.edu>
References: <200308231725.h7NHPYcJ028122@coredump.cs.columbia.edu>
Date: Sat, 23 Aug 2003 23:56:21 -0400
To: "Angelos D. Keromytis" <angelos@cs.columbia.edu>
From: Karen Seo <kseo@bbn.com>
Subject: Re: Moving forward on RFC 2401-bis
Cc: Barbara Fraser <byfraser@cisco.com>, "Theodore Ts'o" <tytso@mit.edu>,
        ipsec@lists.tislabs.com, kivinen@ssh.fi,
        Russ Housley <housley@vigilsec.com>
Content-Type: text/plain; charset="us-ascii" ; format="flowed"
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

Angelos,

>Karen, great. One nit: none of the items are "resolved" as such. They need to
>be discussed on the list first. (That's because, unlike the issues in the IKE
>draft, these are architectural changes that have not been previously
>discussed.)

	Sorry for not being clear.  What I was trying to say is
	that we "believe" they've been resolved (because they've
	been discussed on the list and a consensus appeared to have
	been reached) and that we'll circulate descriptions of each
	issue.  I was assuming that when these were distributed to
	the list, folks would get a chance to look at the writeups
	and assess them, presumably with the opportunity to change
	things etc.

Karen

>Cheers,
>-Angelos
>
>In message <p05200f0dbb6c4b053bc0@[128.89.89.115]>, Karen Seo writes:
>>Folks,
>>
>>Just an update... We've reviewed the 9 items on the IPsec tracking
>>list for 2401:
>>
>>1. We believe the following 5 items have been resolved.  At the
>>beginning of next week, we will send out individual writeups for the
>>following items:
>>	47	All selectors can be a list of ranges, per IKEv2 spec
>>	48	Add ToS traffic selector option
>>	49	Red-side fragmentation option
>>	50	Tunnel vs transport mode
>>	57	ECN support
>>
>>2. Four of the items are inter-related and should be addressed
>>together as part of the new IPsec processing model, which is still
>>being discussed.  Later next week, we will send out a revised version
>>of the write up on the processing model with updates reflecting
>>feedback/conclusions to date.  This will cover the following items:
>>	40	Interface SPD selector vs per-interface SPD
>>	44	Forwarding table lookup to select virtual interface ID
>>	45	Use of cache with de-correlated SPD
>>	46	No need for iterated processing
>>
>>3. In addition to the items in the tracking system, there are a
>>number of other issues that have come up during the past months.
>>Over the next couple of weeks, we will be sending out descriptions of
>>these issues for group review/discussion.
>>
>>Have a good weekend!
>>Karen
>>



From owner-ipsec@lists.tislabs.com  Sun Aug 24 07:13:22 2003
Received: from lists.tislabs.com (portal.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id HAA02459
	for <ipsec-archive@lists.ietf.org>; Sun, 24 Aug 2003 07:13:22 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id EAA24680
	Sun, 24 Aug 2003 04:00:28 -0400 (EDT)
Message-Id: <200308231725.h7NHPYcJ028122@coredump.cs.columbia.edu>
X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4
To: Karen Seo <kseo@bbn.com>
Cc: Barbara Fraser <byfraser@cisco.com>, "Theodore Ts'o" <tytso@mit.edu>,
        ipsec@lists.tislabs.com, kivinen@ssh.fi,
        Russ Housley <housley@vigilsec.com>
Subject: Re: Moving forward on RFC 2401-bis 
In-reply-to: Your message of "Fri, 22 Aug 2003 18:57:23 EDT."
             <p05200f0dbb6c4b053bc0@[128.89.89.115]> 
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Sat, 23 Aug 2003 13:25:34 -0400
From: "Angelos D. Keromytis" <angelos@cs.columbia.edu>
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk


Karen, great. One nit: none of the items are "resolved" as such. They need to
be discussed on the list first. (That's because, unlike the issues in the IKE
draft, these are architectural changes that have not been previously 
discussed.)
Cheers,
-Angelos

In message <p05200f0dbb6c4b053bc0@[128.89.89.115]>, Karen Seo writes:
>Folks,
>
>Just an update... We've reviewed the 9 items on the IPsec tracking 
>list for 2401:
>
>1. We believe the following 5 items have been resolved.  At the 
>beginning of next week, we will send out individual writeups for the 
>following items:
>	47	All selectors can be a list of ranges, per IKEv2 spec
>	48 	Add ToS traffic selector option
>	49	Red-side fragmentation option
>	50	Tunnel vs transport mode
>	57	ECN support
>
>2. Four of the items are inter-related and should be addressed 
>together as part of the new IPsec processing model, which is still 
>being discussed.  Later next week, we will send out a revised version 
>of the write up on the processing model with updates reflecting 
>feedback/conclusions to date.  This will cover the following items:
>	40 	Interface SPD selector vs per-interface SPD
>	44 	Forwarding table lookup to select virtual interface ID
>	45 	Use of cache with de-correlated SPD
>	46	No need for iterated processing
>
>3. In addition to the items in the tracking system, there are a 
>number of other issues that have come up during the past months. 
>Over the next couple of weeks, we will be sending out descriptions of 
>these issues for group review/discussion.
>
>Have a good weekend!
>Karen
>




From owner-ipsec@lists.tislabs.com  Sun Aug 24 13:20:35 2003
Received: from lists.tislabs.com (portal.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id NAA13755
	for <ipsec-archive@lists.ietf.org>; Sun, 24 Aug 2003 13:20:35 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id KAA16928
	Sun, 24 Aug 2003 10:13:10 -0400 (EDT)
Date: Sun, 24 Aug 2003 10:32:09 +0300
Subject: Re: The remaining IKEv2 issues
Content-Type: text/plain; charset=US-ASCII; format=flowed
Mime-Version: 1.0 (Apple Message framework v552)
Cc: Paul Hoffman / VPNC <paul.hoffman@vpnc.org>, ipsec@lists.tislabs.com
To: Uri Blumenthal <uri@lucent.com>
From: Yoav Nir <ynir@CheckPoint.com>
In-Reply-To: <3F452753.6020600@lucent.com>
Message-Id: <11F4181E-D605-11D7-8A52-000A95834BAA@checkpoint.com>
Content-Transfer-Encoding: 7bit
X-Mailer: Apple Mail (2.552)
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk
Content-Transfer-Encoding: 7bit

Hi Uri,

Re: XAUTH.  There was nothing particularly wrong with XAUTH.  The 
fiasco is that the original IKE proved to be unusable in the 
remote-access scenario, because customers demanded authentication using 
RADIUS servers, OS passwords and SecurID tokens.  This led vendors like 
Cisco and Check Point to develop XAUTH which is not quite standard, so 
that remote-access becomes useable.  With IKEv2, we want to avoid 
making it necessary to develop such an add-on.

Re: not using kg methods.  SecurID belongs to a certain vendor, and 
they can create a kg method that suits them.  In fact, they have, but 
they won't publish the spec, so I can't implement it.  I could install 
their add-on (not yet available) on the client, and then the gateway 
only needs to channel the EAP messages between SecurID server and IKE 
client.  However, if we do that, we lose all the advantages of having a 
kg method, because the gateway does not know the shared secret.  Of 
course, you could implement something like you do in 802.1x where the 
server sends the shared secret to the gateway, but that's bad ( a 
shared secret isn't ).

Now let's take another example.  A customer keeps all his 
username/passwords on the mainframe, because that's the only computer 
they trust.  The only access our IKE gateway has to the mainframe is 
running something called a RACINIT, that allows you to pass the 
username and the password, and get a yes/no response.  How can we get 
this to work, if the gateway never knows what the password is?  Even 
MD5-Challenge won't work here.  Passing the password "in the clear" 
through GTC is the only way to go here.  Now if we could come up with 
some method that generates keys and passes the password from the client 
to the gateway, we'd have a solution, but here we can't use 
challenge-response as in MD5-Challenge or MSCHAPv2.

On Thursday, August 21, 2003, at 11:10 PM, Uri Blumenthal wrote:

> On 8/21/2003 3:04 PM, Paul Hoffman / VPNC wrote:
>>> If we are expecting that people are going to implement these methods 
>>> and
>>> customer are going to make use of these methods, I would much rather 
>>> see
>>> a standards-based way of doing so, and have this method be tested at
>>> bakeoffs.
>>
>> Fully agree.........
>> Saying "'MUST NOT' or 'SHOULD NOT' do the things
>> that your customers are demanding" is a really good way to cripple
>> IKEv2 deployment.
>
> Well yes, I agree too. What I don't understand if why we
> cannot create kg methods using the same credentials? It
> seems to be the only way to satisfy both the customers
> who need to use devices like SecureID (hey, I'm one
> of those), and the security requirements.
>
>> One of the main goals of IKEv2 was to avoid re-creating
>> the XAUTH fiasco.
>
> Please educate me - I didn't keep track of XAUTH. Why did
> it fail? What was wrong with it?
>
> Thanks!
>
>



From owner-ipsec@lists.tislabs.com  Mon Aug 25 01:39:37 2003
Received: from lists.tislabs.com (portal.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id BAA13694
	for <ipsec-archive@lists.ietf.org>; Mon, 25 Aug 2003 01:39:37 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id VAA24135
	Sun, 24 Aug 2003 21:12:34 -0400 (EDT)
Message-Id: <200308241604.h7OG4HcJ025718@coredump.cs.columbia.edu>
X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4
To: Karen Seo <kseo@bbn.com>
Cc: Barbara Fraser <byfraser@cisco.com>, "Theodore Ts'o" <tytso@mit.edu>,
        ipsec@lists.tislabs.com, kivinen@ssh.fi,
        Russ Housley <housley@vigilsec.com>
Subject: Re: Moving forward on RFC 2401-bis 
In-reply-to: Your message of "Sat, 23 Aug 2003 23:56:21 EDT."
             <p05200f01bb6de70acd16@[128.89.89.115]> 
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Sun, 24 Aug 2003 12:04:17 -0400
From: "Angelos D. Keromytis" <angelos@cs.columbia.edu>
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk


Great, we're in agreement.
-Angelos

In message <p05200f01bb6de70acd16@[128.89.89.115]>, Karen Seo writes:
>Angelos,
>
>>Karen, great. One nit: none of the items are "resolved" as such. They need to
>>be discussed on the list first. (That's because, unlike the issues in the IKE
>>draft, these are architectural changes that have not been previously
>>discussed.)
>
>	Sorry for not being clear.  What I was trying to say is
>	that we "believe" they've been resolved (because they've
>	been discussed on the list and a consensus appeared to have
>	been reached) and that we'll circulate descriptions of each
>	issue.  I was assuming that when these were distributed to
>	the list, folks would get a chance to look at the writeups
>	and assess them, presumably with the opportunity to change
>	things etc.
>
>Karen
>
>>Cheers,
>>-Angelos
>>
>>In message <p05200f0dbb6c4b053bc0@[128.89.89.115]>, Karen Seo writes:
>>>Folks,
>>>
>>>Just an update... We've reviewed the 9 items on the IPsec tracking
>>>list for 2401:
>>>
>>>1. We believe the following 5 items have been resolved.  At the
>>>beginning of next week, we will send out individual writeups for the
>>>following items:
>>>	47	All selectors can be a list of ranges, per IKEv2 spec
>>>	48	Add ToS traffic selector option
>>>	49	Red-side fragmentation option
>>>	50	Tunnel vs transport mode
>>>	57	ECN support
>>>
>>>2. Four of the items are inter-related and should be addressed
>>>together as part of the new IPsec processing model, which is still
>>>being discussed.  Later next week, we will send out a revised version
>>>of the write up on the processing model with updates reflecting
>>>feedback/conclusions to date.  This will cover the following items:
>>>	40	Interface SPD selector vs per-interface SPD
>>>	44	Forwarding table lookup to select virtual interface ID
>>>	45	Use of cache with de-correlated SPD
>>>	46	No need for iterated processing
>>>
>>>3. In addition to the items in the tracking system, there are a
>>>number of other issues that have come up during the past months.
>>>Over the next couple of weeks, we will be sending out descriptions of
>>>these issues for group review/discussion.
>>>
>>>Have a good weekend!
>>>Karen
>>>




From owner-ipsec@lists.tislabs.com  Mon Aug 25 22:23:39 2003
Received: from lists.tislabs.com (portal.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id WAA27963
	for <ipsec-archive@lists.ietf.org>; Mon, 25 Aug 2003 22:23:34 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id OAA03612
	Mon, 25 Aug 2003 14:00:39 -0400 (EDT)
X-Authentication-Warning: amme.hel.fi.ssh.com: kivinen set sender to kivinen@ssh.fi using -f
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <16202.20597.251921.660731@amme.hel.fi.ssh.com>
Date: Mon, 25 Aug 2003 21:07:49 +0300
From: Tero Kivinen <kivinen@ssh.fi>
To: Charlie_Kaufman@notesdev.ibm.com
CC: ipsec@lists.tislabs.com
Subject: ECN and issue 58
X-Mailer: VM 7.04 under Emacs 20.7.1
Organization: SSH Communications Security Oy
X-Edit-Time: 3 min
X-Total-Time: 2 min
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk
Content-Transfer-Encoding: 7bit

The issue 58 is marked closed, but the section 2.24 is still there in
the draft-ietf-ipsec-ikev2-10.txt. I think we should remove the first
paragraph of the section, and simply say that we will do ECN as
specified in the RFC@401bis.
-- 
kivinen@ssh.fi
SSH Communications Security                  http://www.ssh.fi/
SSH IPSEC Toolkit                            http://www.ssh.fi/ipsec/


From owner-ipsec@lists.tislabs.com  Tue Aug 26 00:35:37 2003
Received: from lists.tislabs.com (portal.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id AAA03394
	for <ipsec-archive@lists.ietf.org>; Tue, 26 Aug 2003 00:35:30 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id SAA00349
	Mon, 25 Aug 2003 18:42:53 -0400 (EDT)
Date: Mon, 25 Aug 2003 15:42:50 -0700
From: Nicolas Williams <Nicolas.Williams@sun.com>
To: Stephen Kent <kent@bbn.com>
Cc: Michael Richardson <mcr@sandelman.ottawa.on.ca>, ipsec@lists.tislabs.com
Subject: Re: IKEv2 SA rekeying - naming an initial SA
Message-ID: <20030825224250.GI1319@binky.central.sun.com>
References: <9959.1061249453@marajade.sandelman.ottawa.on.ca> <p05210603bb673c47be19@[12.159.173.175]> <20030819051220.GL27057@binky.central.sun.com> <p05210602bb67b6145975@[12.159.173.175]> <20030820032523.GK27057@binky.central.sun.com> <20030820035520.GC19235@binky.central.sun.com> <p05210600bb6bc6fcfd39@[128.89.88.34]> <20030822153949.GY1319@binky.central.sun.com> <p05210601bb6fb3045088@[128.89.88.34]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <p05210601bb6fb3045088@[128.89.88.34]>
User-Agent: Mutt/1.4i
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

On Mon, Aug 25, 2003 at 08:39:36AM -0400, Stephen Kent wrote:
> At 8:39 -0700 8/22/03, Nicolas Williams wrote:
> >If there will never be anon IPsec then the AUTH values will do - but I'd
> >like to not discount the possibility that there might be an anon IPsec
> >formulation in the future.
> 
> Any admin managing an IPsec environment has the ability to issue 
> credentials that are effectively anonymous, and that allows the 
> effect of anonymous use of IPsec, in a given context.  Unless the WG 
> changes direction in a significant way, to support unauthenticated 
> IPsec, then it would be inappropriate to use the possibility of this 
> change as an input in deciding on how to make a decision re this IKE 
> v2 authentication issue.

Sure, but this does not dispose of the issue - you're merely rejecting
one rationale for specifying a "session ID" as anything other than the
AUTH values.  But then, if the WG ignores the session ID issue we can
default to using the AUTH values as such, since they are bound to the
KE.

Between each IKE_SA rekey being bound to the previous IKE_SA's KE and
the AUTH values I think we have enough to specify how to use th GSS CCM
mechanism with IKEv2 and the IPSEC interfaces requirements.

Nico
-- 


From owner-ipsec@lists.tislabs.com  Tue Aug 26 01:49:10 2003
Received: from lists.tislabs.com (portal.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id BAA05640
	for <ipsec-archive@lists.ietf.org>; Tue, 26 Aug 2003 01:49:09 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id UAA10717
	Mon, 25 Aug 2003 20:39:54 -0400 (EDT)
From: Mukesh.Gupta@nokia.com
X-MimeOLE: Produced By Microsoft Exchange V6.0.6375.0
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Subject: ICMP Parameter Problem Message.
Date: Mon, 25 Aug 2003 19:44:37 -0500
Message-ID: <8D260779A766FB4A9C1739A476F84FA42ABD77@daebe009.americas.nokia.com>
Thread-Topic: ECN and issue 58
Thread-Index: AcNrOtpg76dAXlDATUiHRdy5/rOREgAK2w2w
To: <ipsec@lists.tislabs.com>
X-OriginalArrivalTime: 26 Aug 2003 00:44:37.0674 (UTC) FILETIME=[3A16A0A0:01C36B6B]
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by lists.tislabs.com id UAA10547
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk
Content-Transfer-Encoding: 8bit

Hi,

Let say a gateway has a loadable ipsec module and it loads it 
only when it has a IPsec policy configured. This gateway receives
an IPv6 ESP packet. As the IPsec module is not loaded, the IPv6 
stack doesn't recongnize the next header type ESP and reply with
ICMP Parameter Problem (unrecognized next header type).

The question is:

should this ICMP message be sent in this case or should the ESP
packet be dropped silently ?
because the gateway does recognize next header type ESP.

regards
Mukesh


From owner-ipsec@lists.tislabs.com  Tue Aug 26 01:49:09 2003
Received: from lists.tislabs.com (portal.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id BAA05641
	for <ipsec-archive@lists.ietf.org>; Tue, 26 Aug 2003 01:49:09 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id UAA07807
	Mon, 25 Aug 2003 20:07:07 -0400 (EDT)
From: Black_David@emc.com
Message-ID: <B459CE1AFFC52D4688B2A5B842CA35EA7A4E9F@corpmx14.us.dg.com>
To: kivinen@ssh.fi
Cc: ipsec@lists.tislabs.com
Subject: RE: ECN and issue 58
Date: Mon, 25 Aug 2003 20:14:01 -0400
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

Tero,

> The issue 58 is marked closed, but the section 2.24 is still there in
> the draft-ietf-ipsec-ikev2-10.txt. I think we should remove the first
> paragraph of the section, and simply say that we will do ECN as
> specified in the RFC2401bis.

I'm a little uncomfortable with the wholesale removal of design
explanation/rationale that would result.  As an alternative, would
it be ok w/you if I whacked that first paragraph down to a fraction of
its size (and took out some of the details) to focus on the important
point (RFC2401bis encapsulation changes are "MUST use" in order to
avoid breaking ECN)?

Thanks,
--David
----------------------------------------------------
David L. Black, Senior Technologist
EMC Corporation, 176 South St., Hopkinton, MA  01748
+1 (508) 293-7953             FAX: +1 (508) 293-7786
black_david@emc.com        Mobile: +1 (978) 394-7754
----------------------------------------------------


From owner-ipsec@lists.tislabs.com  Tue Aug 26 04:57:41 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id EAA24035
	for <ipsec-archive@lists.ietf.org>; Tue, 26 Aug 2003 04:57:40 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id AAA01180
	Tue, 26 Aug 2003 00:06:01 -0400 (EDT)
To: ipsec@lists.tislabs.com
Subject: Re: ICMP Parameter Problem Message. 
In-reply-to: Your message of "Mon, 25 Aug 2003 19:44:37 CDT."
             <8D260779A766FB4A9C1739A476F84FA42ABD77@daebe009.americas.nokia.com> 
Mime-Version: 1.0 (generated by tm-edit 1.8)
Content-Type: text/plain; charset=US-ASCII
Date: Mon, 25 Aug 2003 23:55:32 -0400
Message-ID: <28964.1061870132@marajade.sandelman.ottawa.on.ca>
From: Michael Richardson <mcr@sandelman.ottawa.on.ca>
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

-----BEGIN PGP SIGNED MESSAGE-----


>>>>> "Mukesh" == Mukesh Gupta <Mukesh.Gupta@nokia.com> writes:

    Mukesh> Let say a gateway has a loadable ipsec module and it loads it 
    Mukesh> only when it has a IPsec policy configured. This gateway receives
    Mukesh> an IPv6 ESP packet. As the IPsec module is not loaded, the IPv6 
    Mukesh> stack doesn't recongnize the next header type ESP and reply with
    Mukesh> ICMP Parameter Problem (unrecognized next header type).

    Mukesh> The question is:

    Mukesh> should this ICMP message be sent in this case or should the ESP
    Mukesh> packet be dropped silently ?
    Mukesh> because the gateway does recognize next header type ESP.

  Assuming that the module was loaded, an ICMP SPI unknown might be sent
by some implementations. Most drop it. 
  So, what is the concern exactly?

]      Out and about in Ottawa.    hmmm... beer.                |  firewalls  [
]   Michael Richardson, Sandelman Software Works, Ottawa, ON    |net architect[
] mcr@sandelman.ottawa.on.ca http://www.sandelman.ottawa.on.ca/ |device driver[
] panic("Just another Debian/notebook using, kernel hacking, security guy");  [


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Finger me for keys - custom hacks make this fully PGP2 compat

iQCVAwUBP0raM4qHRg3pndX9AQEOLAP+PoMAMQZ3nzFxqrozOO9+rnin4YVeCqfF
BQB6EFXFkchmuMSze2+1MzP4nMcJCMy0oo+iE0E9xv27MnkKpNn94K2fQzmzcs7A
4OxdohkdbVXyGZ7LKLTdZgmxjNlNAsD9M7Jc+HDgywzEoBSck3A8KP0LpsrmQ6tP
wkw88KhvYN8=
=WA/s
-----END PGP SIGNATURE-----


From owner-ipsec@lists.tislabs.com  Tue Aug 26 05:05:16 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id FAA24230
	for <ipsec-archive@lists.ietf.org>; Tue, 26 Aug 2003 05:05:16 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id AAA01496
	Tue, 26 Aug 2003 00:11:03 -0400 (EDT)
Mime-Version: 1.0
X-Sender: kseo@po2.bbn.com
Message-Id: <p05200f0bbb707b6391c4@[128.89.89.115]>
Date: Mon, 25 Aug 2003 23:13:17 -0400
To: ipsec@lists.tislabs.com
From: Karen Seo <kseo@bbn.com>
Subject: IPsec issue #47 -- selectors can be a list of ranges
Cc: "Angelos D. Keromytis" <angelos@cs.columbia.edu>, kivinen@ssh.fi,
        kseo@bbn.com
Content-Type: text/plain; charset="us-ascii" ; format="flowed"
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

Folks,

Here's a description and proposed approach for:

IPsec Issue #:	47

Title:		All selectors can be a list of ranges, per IKEv2 spec

Description:	A list of ranges is now supported by IKEv2 for all
		non-symbolic selector types.  The IPsec architecture
		document needs to be brought into alignment with IKEv2.

Proposed approach:

      1. Update selector section to indicate that:

	"For all non-symbolic selector types, selector values may be a
	a single value, a list of values, a range, a list of ranges,
	or any combination of these."

      2. Add text about the SPD along the lines of:

	The SPD contains an ordered list of policy entries.  Each policy
	entry is keyed by one or more selectors that define the set of
	IP traffic to which this policy entry applies.  (The required
	selector types are defined in Section x.x.x.)  The SPD MUST
	permit a security administrator to specify the values for each
	non-symbolic selector type to be specified as a list of ranges.
	In this fashion one may represent an individual value (a list
	consisting of one entry which represents a trivial range), an
	enumerated list of individual values, a single range entry, a
	list or ranges, or any combination of these.  This will enable
	policies to be specified that, for example, support use of a
	single SA to carry traffic for multiple protocols. Note that
	this text describes the representation in the SPD that maps
	into IKE payloads. The management GUI can offer the user other
	forms of data entry and display, e.g., the option of using
	address masks as well as ranges not representable by a mask,
	and symbolic names for protocols, ports, etc. (Do not confuse
	the use of symbolic names in a management interface with the
	reference to symbolic SPD selector types.) If the reserved,
	symbolic selector value OPAQUE is employed for a given selector
	type, only it may appear in the list for that type, and it must
	appear only once in the list for that type.

Open Question for the WG:
      a. How many values per SPD selector type entry should an
	implementation support?

Thank you,
Karen


From owner-ipsec@lists.tislabs.com  Wed Aug 27 19:32:40 2003
Received: from lists.tislabs.com (portal.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id TAA18768
	for <ipsec-archive@lists.ietf.org>; Wed, 27 Aug 2003 19:32:40 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id OAA12914
	Wed, 27 Aug 2003 14:47:08 -0400 (EDT)
Mime-Version: 1.0
X-Sender: kent@po2.bbn.com
Message-Id: <p05210611bb72adf02555@[128.89.88.34]>
In-Reply-To: <3F4CF5C2.7070704@lucent.com>
References: <11F4181E-D605-11D7-8A52-000A95834BAA@checkpoint.com>
 <3F4CF5C2.7070704@lucent.com>
Date: Wed, 27 Aug 2003 14:51:44 -0400
To: Uri Blumenthal <uri@lucent.com>
From: Stephen Kent <kent@bbn.com>
Subject: Re: The remaining IKEv2 issues
Cc: Yoav Nir <ynir@CheckPoint.com>, ipsec@lists.tislabs.com
Content-Type: text/plain; charset="us-ascii" ; format="flowed"
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

At 14:17 -0400 8/27/03, Uri Blumenthal wrote:
>On 8/24/2003 3:32 AM, Yoav Nir wrote:
>>  Hi Uri,
>
>Hi, and thanks for your response.
>
>>  Re: not using kg methods.  SecurID belongs to a certain vendor, and
>>  they can create a kg method that suits them.  In fact, they have, but
>>  they won't publish the spec, so I can't implement it.
>
>Yes, but what I had in mind is - at the very worst we can mix the
>data from the exchange into the key generation mechanism input.
>
>Would it not make sense?

We have managed to cleanly separate the key generation function from 
the authentication function in IKE v2 and I think it would be 
preferable to keep them separate.

Steve


From owner-ipsec@lists.tislabs.com  Wed Aug 27 19:37:49 2003
Received: from lists.tislabs.com (portal.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id TAA19095
	for <ipsec-archive@lists.ietf.org>; Wed, 27 Aug 2003 19:37:49 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id PAA17854
	Wed, 27 Aug 2003 15:26:09 -0400 (EDT)
Date: Wed, 27 Aug 2003 12:24:46 -0700
From: Nicolas Williams <Nicolas.Williams@sun.com>
To: Stephen Kent <kent@bbn.com>
Cc: Michael Richardson <mcr@sandelman.ottawa.on.ca>, ipsec@lists.tislabs.com
Subject: Re: IKEv2 SA rekeying - naming an initial SA
Message-ID: <20030827192446.GP1319@binky.central.sun.com>
References: <p05210603bb673c47be19@[12.159.173.175]> <20030819051220.GL27057@binky.central.sun.com> <p05210602bb67b6145975@[12.159.173.175]> <20030820032523.GK27057@binky.central.sun.com> <20030820035520.GC19235@binky.central.sun.com> <p05210600bb6bc6fcfd39@[128.89.88.34]> <20030822153949.GY1319@binky.central.sun.com> <p05210601bb6fb3045088@[128.89.88.34]> <20030825224250.GI1319@binky.central.sun.com> <p05210615bb72b25d2eb1@[128.89.88.34]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <p05210615bb72b25d2eb1@[128.89.88.34]>
User-Agent: Mutt/1.4i
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

On Wed, Aug 27, 2003 at 03:10:39PM -0400, Stephen Kent wrote:
> At 15:42 -0700 8/25/03, Nicolas Williams wrote:
> >On Mon, Aug 25, 2003 at 08:39:36AM -0400, Stephen Kent wrote:
> >> At 8:39 -0700 8/22/03, Nicolas Williams wrote:
> >> >If there will never be anon IPsec then the AUTH values will do - but I'd
> >> >like to not discount the possibility that there might be an anon IPsec
> >> >formulation in the future.
> >>
> >> Any admin managing an IPsec environment has the ability to issue
> >> credentials that are effectively anonymous, and that allows the
> >> effect of anonymous use of IPsec, in a given context.  Unless the WG
> >> changes direction in a significant way, to support unauthenticated
> >> IPsec, then it would be inappropriate to use the possibility of this
> >> change as an input in deciding on how to make a decision re this IKE
> >> v2 authentication issue.
> >
> >Sure, but this does not dispose of the issue - you're merely rejecting
> >one rationale for specifying a "session ID" as anything other than the
> >AUTH values.  But then, if the WG ignores the session ID issue we can
> >default to using the AUTH values as such, since they are bound to the
> >KE.
> 
> I'm rejecting an argument for why we should change the specs to 
> accommodate a function that we can already provide, irrespective of 
> the discussion about session IDs.

I'll wait a bit for answers from other participants.  If there are none
I will go ahead and use the AUTH values as the session ID to bind
GSS-API contexts to.

I would rather see a session ID defined that is bound to the KE but not
to the authentication.

Cheers,

Nico
-- 


From owner-ipsec@lists.tislabs.com  Wed Aug 27 19:51:29 2003
Received: from lists.tislabs.com (portal.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id TAA20074
	for <ipsec-archive@lists.ietf.org>; Wed, 27 Aug 2003 19:51:29 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id PAA15498
	Wed, 27 Aug 2003 15:06:19 -0400 (EDT)
Mime-Version: 1.0
X-Sender: kent@po2.bbn.com
Message-Id: <p05210615bb72b25d2eb1@[128.89.88.34]>
In-Reply-To: <20030825224250.GI1319@binky.central.sun.com>
References: <9959.1061249453@marajade.sandelman.ottawa.on.ca>
 <p05210603bb673c47be19@[12.159.173.175]>
 <20030819051220.GL27057@binky.central.sun.com>
 <p05210602bb67b6145975@[12.159.173.175]>
 <20030820032523.GK27057@binky.central.sun.com>
 <20030820035520.GC19235@binky.central.sun.com>
 <p05210600bb6bc6fcfd39@[128.89.88.34]>
 <20030822153949.GY1319@binky.central.sun.com>
 <p05210601bb6fb3045088@[128.89.88.34]>
 <20030825224250.GI1319@binky.central.sun.com>
Date: Wed, 27 Aug 2003 15:10:39 -0400
To: Nicolas Williams <Nicolas.Williams@sun.com>
From: Stephen Kent <kent@bbn.com>
Subject: Re: IKEv2 SA rekeying - naming an initial SA
Cc: Michael Richardson <mcr@sandelman.ottawa.on.ca>, ipsec@lists.tislabs.com
Content-Type: text/plain; charset="us-ascii" ; format="flowed"
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

At 15:42 -0700 8/25/03, Nicolas Williams wrote:
>On Mon, Aug 25, 2003 at 08:39:36AM -0400, Stephen Kent wrote:
>>  At 8:39 -0700 8/22/03, Nicolas Williams wrote:
>>  >If there will never be anon IPsec then the AUTH values will do - but I'd
>>  >like to not discount the possibility that there might be an anon IPsec
>>  >formulation in the future.
>>
>>  Any admin managing an IPsec environment has the ability to issue
>>  credentials that are effectively anonymous, and that allows the
>>  effect of anonymous use of IPsec, in a given context.  Unless the WG
>>  changes direction in a significant way, to support unauthenticated
>>  IPsec, then it would be inappropriate to use the possibility of this
>>  change as an input in deciding on how to make a decision re this IKE
>>  v2 authentication issue.
>
>Sure, but this does not dispose of the issue - you're merely rejecting
>one rationale for specifying a "session ID" as anything other than the
>AUTH values.  But then, if the WG ignores the session ID issue we can
>default to using the AUTH values as such, since they are bound to the
>KE.

I'm rejecting an argument for why we should change the specs to 
accommodate a function that we can already provide, irrespective of 
the discussion about session IDs.

Steve


From owner-ipsec@lists.tislabs.com  Wed Aug 27 19:56:37 2003
Received: from lists.tislabs.com (portal.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id TAA20453
	for <ipsec-archive@lists.ietf.org>; Wed, 27 Aug 2003 19:56:37 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id OAA09398
	Wed, 27 Aug 2003 14:23:49 -0400 (EDT)
Cc: ipsec@lists.tislabs.com
Message-ID: <3F4CF5C2.7070704@lucent.com>
Date: Wed, 27 Aug 2003 14:17:38 -0400
From: Uri Blumenthal <uri@lucent.com>
Organization: Lucent Technologies / Bell Labs
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 (CK-LucentTPES)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Yoav Nir <ynir@checkpoint.com>
Original-CC: ipsec@lists.tislabs.com
Subject: Re: The remaining IKEv2 issues
References: <11F4181E-D605-11D7-8A52-000A95834BAA@checkpoint.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk
Content-Transfer-Encoding: 7bit

On 8/24/2003 3:32 AM, Yoav Nir wrote:
> Hi Uri,

Hi, and thanks for your response.

> Re: not using kg methods.  SecurID belongs to a certain vendor, and 
> they can create a kg method that suits them.  In fact, they have, but 
> they won't publish the spec, so I can't implement it. 

Yes, but what I had in mind is - at the very worst we can mix the
data from the exchange into the key generation mechanism input.

Would it not make sense?

> Now let's take another example.  A customer keeps all his 
> username/passwords on the mainframe, because that's the only computer 
> they trust.  The only access our IKE gateway has to the mainframe is 
> running something called a RACINIT, that allows you to pass the 
> username and the password, and get a yes/no response.  How can we get 
> this to work, if the gateway never knows what the password is?....

Yes I see your point...

Thanks!

Regards,
Uri.



From owner-ipsec@lists.tislabs.com  Wed Aug 27 23:33:18 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id XAA09881
	for <ipsec-archive@lists.ietf.org>; Wed, 27 Aug 2003 23:33:16 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id TAA01441
	Wed, 27 Aug 2003 19:09:05 -0400 (EDT)
Cc: Yoav Nir <ynir@CheckPoint.com>, ipsec@lists.tislabs.com
Message-ID: <3F4D21F2.8040308@lucent.com>
Date: Wed, 27 Aug 2003 17:26:10 -0400
From: Uri Blumenthal <uri@lucent.com>
Organization: Lucent Technologies / Bell Labs
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 (CK-LucentTPES)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Stephen Kent <kent@bbn.com>
Original-CC: Yoav Nir <ynir@checkpoint.com>, ipsec@lists.tislabs.com
Subject: Re: The remaining IKEv2 issues
References: <11F4181E-D605-11D7-8A52-000A95834BAA@checkpoint.com> <3F4CF5C2.7070704@lucent.com> <p05210611bb72adf02555@[128.89.88.34]>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk
Content-Transfer-Encoding: 7bit

On 8/27/2003 2:51 PM, Stephen Kent wrote:
>>Yes, but what I had in mind is - at the very worst we can mix the
>>data from the exchange into the key generation mechanism input.
>>
>>Would it not make sense?
> 
> We have managed to cleanly separate the key generation function from 
> the authentication function in IKE v2 and I think it would be 
> preferable to keep them separate.

Well, you can consider SecureID output as one of the nonces,
or append it to the client's nonce... I see your point - but
I'm sure you see mine.



From owner-ipsec@lists.tislabs.com  Thu Aug 28 01:57:16 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id BAA21996
	for <ipsec-archive@lists.ietf.org>; Thu, 28 Aug 2003 01:57:16 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id VAA06116
	Wed, 27 Aug 2003 21:02:30 -0400 (EDT)
Cc: Yoav Nir <ynir@CheckPoint.com>, ipsec@lists.tislabs.com
Message-ID: <3F4D21F2.8040308@lucent.com>
Date: Wed, 27 Aug 2003 17:26:10 -0400
From: Uri Blumenthal <uri@lucent.com>
Organization: Lucent Technologies / Bell Labs
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 (CK-LucentTPES)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Stephen Kent <kent@bbn.com>
Original-CC: Yoav Nir <ynir@checkpoint.com>, ipsec@lists.tislabs.com
Subject: Re: The remaining IKEv2 issues
References: <11F4181E-D605-11D7-8A52-000A95834BAA@checkpoint.com> <3F4CF5C2.7070704@lucent.com> <p05210611bb72adf02555@[128.89.88.34]>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk
Content-Transfer-Encoding: 7bit

On 8/27/2003 2:51 PM, Stephen Kent wrote:
>>Yes, but what I had in mind is - at the very worst we can mix the
>>data from the exchange into the key generation mechanism input.
>>
>>Would it not make sense?
> 
> We have managed to cleanly separate the key generation function from 
> the authentication function in IKE v2 and I think it would be 
> preferable to keep them separate.

Well, you can consider SecureID output as one of the nonces,
or append it to the client's nonce... I see your point - but
I'm sure you see mine.



From owner-ipsec@lists.tislabs.com  Thu Aug 28 20:54:30 2003
Received: from lists.tislabs.com (portal.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id UAA06701
	for <ipsec-archive@lists.ietf.org>; Thu, 28 Aug 2003 20:54:29 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id RAA05710
	Thu, 28 Aug 2003 17:05:09 -0400 (EDT)
Mime-Version: 1.0
X-Sender: kent@localhost
Message-Id: <p05210608bb741a9d6724@[12.159.173.175]>
In-Reply-To: <3F4D21F2.8040308@lucent.com>
References: <11F4181E-D605-11D7-8A52-000A95834BAA@checkpoint.com>
 <3F4CF5C2.7070704@lucent.com> <p05210611bb72adf02555@[128.89.88.34]>
 <3F4D21F2.8040308@lucent.com>
Date: Thu, 28 Aug 2003 16:49:29 -0400
To: Uri Blumenthal <uri@lucent.com>
From: Stephen Kent <kent@bbn.com>
Subject: Re: The remaining IKEv2 issues
Cc: Yoav Nir <ynir@CheckPoint.com>, ipsec@lists.tislabs.com
Content-Type: text/plain; charset="us-ascii" ; format="flowed"
X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang)
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

At 17:26 -0400 8/27/03, Uri Blumenthal wrote:
>On 8/27/2003 2:51 PM, Stephen Kent wrote:
>>>Yes, but what I had in mind is - at the very worst we can mix the
>>>data from the exchange into the key generation mechanism input.
>>>
>>>Would it not make sense?
>>
>>  We have managed to cleanly separate the key generation function from
>>  the authentication function in IKE v2 and I think it would be
>>  preferable to keep them separate.
>
>Well, you can consider SecureID output as one of the nonces,
>or append it to the client's nonce... I see your point - but
>I'm sure you see mine.

I fear you are right, i.e., I don't see your point. But, unless other 
folks want to pursue approach this at this late stage in the IKE 
work, let's not devote more time to debating this.

Steve


From owner-ipsec@lists.tislabs.com  Fri Aug 29 23:22:48 2003
Received: from lists.tislabs.com (portal.gw.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id XAA04762
	for <ipsec-archive@lists.ietf.org>; Fri, 29 Aug 2003 23:22:47 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id TAA09722
	Fri, 29 Aug 2003 19:57:36 -0400 (EDT)
Message-Id: <200308292339.h7TNdxcJ010996@coredump.cs.columbia.edu>
X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4
To: Karen Seo <kseo@bbn.com>
Cc: ipsec@lists.tislabs.com, kivinen@ssh.fi
Subject: Re: IPsec issue #46 -- No need for nested SAs or SA bundles 
In-reply-to: Your message of "Wed, 27 Aug 2003 11:10:02 EDT."
             <p05200f16bb72791c0917@[128.89.89.115]> 
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Fri, 29 Aug 2003 19:39:59 -0400
From: "Angelos D. Keromytis" <angelos@cs.columbia.edu>
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk


Just to start some discussion on this issue: wouldn't this break (or make it
very difficult) for IPSP to deal with intermediate gateways etc. ? The 
advantage
of the current model with respect to nested IPsec processing is that it allows
an implementation to inject a new SPD entry (and associated SAs), and not 
having
to link that SA to a bundle but instead deal with the SPD.
-Angelos

In message <p05200f16bb72791c0917@[128.89.89.115]>, Karen Seo writes:
>Folks,
>
>Here's a description and proposed approach for:
>
>IPsec Issue #:	46
>
>Title:		No need for nested SAs or SA bundles
>
>Description:	There is no mandate to support nested SAs or SA bundles.
>		It would be easy to include support for the simple
>		AH+ESP combination that IKEv1 was able to negotiate, and
>		that 2401 mandates, if that combination is still viewed
>		as needed. However, IKEv1 was not able to negotiate any
>		other nested protocol combinations and IKEv2 does not
>		support negotiation of SA bundles.
>
>Proposed approach:
>
>      1. There will be no support for nesting or SA bundles except via
>	iteration through IPsec processing.  Add text to the discussion
>	of differences between 2401 and 2401bis, along the lines of:
>
>	"The requirement to support nesting of SAs and the concept of
>	SA bundles has been removed. An SPD entry specifies application
>	or removal of only one IPsec header. An implementation MAY
>	choose to offer SA nesting via appropriate configuration of
>	SPDs and forwarding tables. After the packet has passed through
>	IPsec processing, it can be redirected through the IPsec module
>	again via local, ipsec-virtual-interfaces and use of the [still
>	under discussion] forwarding lookup function, to cause more
>	than one layer of IPsec headers to be applied or removed. Note
>	that to accomplish this, multiple entries would have to be
>	created, in distinct SPDs, each specifying a layer of IPsec
>	processing to be applied.  There is no IKE support for
>	negotiating nested SAs, which implies that manual configuration
>	or use of additional policy management protocols would be
>	required to coordinate processing at peer IPsec implementations."
>
>Thank you,
>Karen




From owner-ipsec@lists.tislabs.com  Sat Aug 30 05:08:06 2003
Received: from lists.tislabs.com (portal.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id FAA03024
	for <ipsec-archive@lists.ietf.org>; Sat, 30 Aug 2003 05:08:06 -0400 (EDT)
Received: by lists.tislabs.com (8.9.1/8.9.1) id BAA05669
	Sat, 30 Aug 2003 01:57:07 -0400 (EDT)
To: ipsec@lists.tislabs.com
Subject: Re: IPsec issue #46 -- No need for nested SAs or SA bundles 
In-reply-to: Your message of "Fri, 29 Aug 2003 19:39:59 EDT."
             <200308292339.h7TNdxcJ010996@coredump.cs.columbia.edu> 
Mime-Version: 1.0 (generated by tm-edit 1.8)
Content-Type: text/plain; charset=US-ASCII
Date: Fri, 29 Aug 2003 23:15:49 -0400
Message-ID: <12109.1062213349@marajade.sandelman.ottawa.on.ca>
From: Michael Richardson <mcr@sandelman.ottawa.on.ca>
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

-----BEGIN PGP SIGNED MESSAGE-----


>>>>> "Angelos" == Angelos D Keromytis <angelos@cs.columbia.edu> writes:
    Angelos> Just to start some discussion on this issue: wouldn't this break
    Angelos> (or make it very difficult) for IPSP to deal with intermediate
    Angelos> gateways etc. ? The advantage of the current model with respect

  It isn't clear to me if it does or doesn't.

  Just because IKEv2 can't negotiate bundles, doesn't mean that I can't
negotiate multiple things to do a 5-tuple with different end
points. FreeS/WAN is currently dealing with the question of how much
information we can derive from the policy about the ordering of this
nesting, vs how much we need to be told about. 

  It also isn't clear to me why it is any business of 2401bis to say anything
about this. Permitting looping in SA processing is not a good idea - the
policy daemon should do the looping and tell the kernel what to do. But
again, WHY IS THIS THE DOMAIN OF THE IETF? 

  As expressed, it appears that 2401bis is addressing the "kernel" issues,
not the architecture. It is turning the problem into a design issue, 
rather than a functional requirements issue. 

  There is a functional requirement for the *SYSTEM* to deal with multiple
operations on a 5-tuple. It is not the place for the IETF to tell me where
to put that functionality.

]      Out and about in Ottawa.    hmmm... beer.                |  firewalls  [
]   Michael Richardson, Sandelman Software Works, Ottawa, ON    |net architect[
] mcr@sandelman.ottawa.on.ca http://www.sandelman.ottawa.on.ca/ |device driver[
] panic("Just another Debian/notebook using, kernel hacking, security guy");  [


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Finger me for keys - custom hacks make this fully PGP2 compat

iQCVAwUBP1AW44qHRg3pndX9AQFW1AP/amYB2K2ixhqhdG+c4NGvLqyLZ9Atq1i0
Dj7khLu/fTdDcAxWPQeWJIJ72r4AF6wqRdh+H1w2lgjfyeo62JHkioM9CsWQ4QS4
JGXq8xzHUoblN5Pq54T+CY2HKH7bPRIuAeXuTNt30+RSkQQxtaBptCdi1dIxTEwA
atR1jotp8LM=
=J4De
-----END PGP SIGNATURE-----


