From owner-ipsec@lists.tislabs.com  Fri Jan  9 10:34:06 2004
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 KAA05417
	for <ipsec-archive@lists.ietf.org>; Fri, 9 Jan 2004 10:34:06 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id TAA12488
	Thu, 8 Jan 2004 19:31:04 -0500 (EST)
Date: Thu, 8 Jan 2004 16:39:55 -0800 (PST)
From: Scott Fluhrer <sfluhrer@cisco.com>
To: Tarun Ahuja <tarun.ahuja@cavium.com>
cc: ipsec@lists.tislabs.com
Subject: Re: length of IV in ESP_NULL cipher
In-Reply-To: <0ac801c3d640$98c6eb10$b110a8c0@Tarun>
Message-ID: <Pine.GSO.4.58.0401081638360.29410@irp-view4.cisco.com>
References: <0ac801c3d640$98c6eb10$b110a8c0@Tarun>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk



On Thu, 8 Jan 2004, Tarun Ahuja wrote:

> Hi all
>
> What should be the length of the IV in case of NULL cipher when using ESP
> protocol?
>
> As per RFC 2410
> "Because of the stateless nature of the NULL encryption algorithm, it is not
> necessary to transmit an IV or similar cryptographic
> synchronization data on a per packet (or even a per SA) basis".

To quote later on in RFC 2410:

   To facilitate interoperability, the IV size for this algorithm MUST
   be zero (0) bits.

>
> Which essentially means the length of the IV should be 0 but FreeSWAN uses a
> length of 4bytes IV (equal to blocksize) for NULL cipher.

Well, either FreeSWAN is broke (at least in this respect) or you are
mistaken about the operation of the FreeSWAN code.

-- 
scott


From owner-ipsec@lists.tislabs.com  Fri Jan  9 10:34:41 2004
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 KAA05502
	for <ipsec-archive@lists.ietf.org>; Fri, 9 Jan 2004 10:34:41 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id EAA15543
	Fri, 9 Jan 2004 04:19:07 -0500 (EST)
Message-Id: <200401090927.i099RNSj037727@givry.rennes.enst-bretagne.fr>
From: Francis Dupont <Francis.Dupont@enst-bretagne.fr>
To: "Mohan Parthasarathy" <mohanp@sbcglobal.net>
cc: ipsec@lists.tislabs.com
Subject: Re: IKEv1 and multiple SAs ? 
In-reply-to: Your message of Thu, 08 Jan 2004 15:04:18 PST.
             <003101c3d63b$bec7de50$c91167c0@adithya> 
Date: Fri, 09 Jan 2004 10:27:23 +0100
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:

   IKEv2 (section 2.8) draft talks about the IKEv1 rekying heuristic where
   IKEv1 implementations delete old SAs when a new SA is established for the
   same traffic selector.

=> this is about rekeying of IPsec SAs (not what happens with IKE/ISAKMP SAs).
In IKEv1 the replaced IPsec SAs are explicitely deleted, in IKEv2 they are
flushed on timeout, i.e., implicitely deleted.

   Do these implementations delete the SA always in these cases

=> IPsec SAs are always deleted when asked or when they have reached their
hard timeout.

   or only when they see a INITIAL_CONTACT notify message also ?

=> the INITIAL_CONTACT is very different: it is sent by a peer which
believes it has no SA, i.e., already existing SAs are from a previous
session and the peer has lost any state about it.

   Any information would be appreciated.
   
=> RFC 2407 4.6.3.3 for INITIAL_CONTACT
   draft-ietf-ipsec-ikev2-11.txt pages 64-65
    (different because the IKEv2 spec is about previous IKE SAs)
   isakmp_inf.c:info_recv_initialcontact()
     (with this cryptic comment:
        /*
         * delete all phase2 sa relatived to the destination address.
         * Don't delete Phase 1 handlers on INITIAL-CONTACT, and don't ignore
         * an INITIAL-CONTACT if we have contacted the peer.  This matches the
         * Sun IKE behavior, and makes rekeying work much better when the peer
         * restarts.
         */)

Regards

Francis.Dupont@enst-bretagne.fr



From owner-ipsec@lists.tislabs.com  Fri Jan  9 10:39:04 2004
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 KAA06618
	for <ipsec-archive@lists.ietf.org>; Fri, 9 Jan 2004 10:39:04 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id IAA08775
	Thu, 8 Jan 2004 08:10:25 -0500 (EST)
Message-Id: <200401072101.QAA01462@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-12.txt
Date: Wed, 07 Jan 2004 16:01:15 -0500
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-12.txt
	Pages		: 102
	Date		: 2004-1-7
	
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-12.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-12.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-12.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:	<2004-1-7152620.I-D@ietf.org>

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

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

Content-Type: text/plain
Content-ID:	<2004-1-7152620.I-D@ietf.org>

--OtherAccess--

--NextPart--



From owner-ipsec@lists.tislabs.com  Fri Jan  9 10:41:01 2004
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 KAA06893
	for <ipsec-archive@lists.ietf.org>; Fri, 9 Jan 2004 10:40:58 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id IAA08791
	Thu, 8 Jan 2004 08:11:48 -0500 (EST)
Message-Id: <200401072101.QAA01481@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-rfc2401bis-01.txt
Date: Wed, 07 Jan 2004 16:01:24 -0500
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		: Security Architecture for the Internet Protocol
	Author(s)	: S. Kent, K. Seo
	Filename	: draft-ietf-ipsec-rfc2401bis-01.txt
	Pages		: 53
	Date		: 2004-1-7
	
This memo specifies the base architecture for IPsec compliant systems.  The goal of the architecture is to provide various security services for traffic at the IP layer, in both the IPv4 and IPv6 environments.  This document describes the goals of such systems, their components and how they fit together with each other and into the IP environment.  It also describes the security services offered by the IPsec protocols, and how these services can be employed in the IP environment.  This document does not address all aspects of IPsec architecture.  Subsequent documents will address additional architectural details of a more advanced nature, e.g., use of IPsec in NAT environments and more complete support for IP multicast.  The following fundamental components of the IPsec security architecture are discussed in terms of their underlying, required functionality. Additional RFCs (see Section 1.3 for pointers to other documents) define the protocols in (a), (c), and (d).

A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-ietf-ipsec-rfc2401bis-01.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-rfc2401bis-01.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-rfc2401bis-01.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:	<2004-1-7152637.I-D@ietf.org>

ENCODING mime
FILE /internet-drafts/draft-ietf-ipsec-rfc2401bis-01.txt

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

Content-Type: text/plain
Content-ID:	<2004-1-7152637.I-D@ietf.org>

--OtherAccess--

--NextPart--



From owner-ipsec@lists.tislabs.com  Fri Jan  9 10:47:59 2004
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 KAA07970
	for <ipsec-archive@lists.ietf.org>; Fri, 9 Jan 2004 10:47:58 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id RAA11809
	Thu, 8 Jan 2004 17:56:52 -0500 (EST)
Message-ID: <003101c3d63b$bec7de50$c91167c0@adithya>
From: "Mohan Parthasarathy" <mohanp@sbcglobal.net>
To: <ipsec@lists.tislabs.com>
Subject: IKEv1 and multiple SAs ?
Date: Thu, 8 Jan 2004 15:04:18 -0800
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.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk
Content-Transfer-Encoding: 7bit

IKEv2 (section 2.8) draft talks about the IKEv1 rekying heuristic where
IKEv1 implementations delete old SAs when a new SA is established for the
same traffic selector. Do these implementations delete the SA always in
these cases or only when they see a INITIAL_CONTACT notify message also ?
Are these common ?

Any information would be appreciated.

thanks
mohan



From owner-ipsec@lists.tislabs.com  Fri Jan  9 11:07:15 2004
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 LAA09851
	for <ipsec-archive@lists.ietf.org>; Fri, 9 Jan 2004 11:07:15 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id RAA11773
	Thu, 8 Jan 2004 17:52:55 -0500 (EST)
Mime-Version: 1.0
X-Sender: kent@po2.bbn.com
Message-Id: <p06020404bc2390b05a8a@[128.89.89.75]>
In-Reply-To: <5.2.0.9.0.20040107150509.04536e98@10.1.5.10>
References: <5.2.0.9.0.20040107150509.04536e98@10.1.5.10>
Date: Thu, 8 Jan 2004 17:59:11 -0500
To: vamsi <vamsi@intotoinc.com>
From: Stephen Kent <kent@bbn.com>
Subject: Re: TFC in IKEv1
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 18:47 -0800 1/7/04, vamsi wrote:
>Hi,
>TFC padding in  the ESPv3 draft states that the SA management 
>protocol must negotiate the TFC service prior to employing the 
>service.
>  Is there any draft  explaining how TFC attribute can be negotiated 
>as part of IKE v1 exchanges?
>Can any one Please share the information how to use TFC (Traffic 
>Flow confidentiality)  in IKEv1?
>
>
>regards
>    vamsi

There is no provision to negotiate this facility in IKEv1, as you 
have noticed. Since the extensions for TFC are in ESPv2, and since we 
anticipate folks who use ESPv2 will also use IKEv2, we have not made 
plans to create a DOI for IKEv1 that defines a suitable extension. 
However, note that one probably could use the ESP TFC conventions 
safely even without negotiation, in many cases.

Steve


From owner-ipsec@lists.tislabs.com  Fri Jan  9 11:10:27 2004
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 LAA09948
	for <ipsec-archive@lists.ietf.org>; Fri, 9 Jan 2004 11:10:26 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id SAA11975
	Thu, 8 Jan 2004 18:25:39 -0500 (EST)
Message-ID: <0ac801c3d640$98c6eb10$b110a8c0@Tarun>
From: "Tarun Ahuja" <tarun.ahuja@cavium.com>
To: <ipsec@lists.tislabs.com>
Subject: length of IV in ESP_NULL cipher
Date: Thu, 8 Jan 2004 15:38:59 -0800
Organization: Cavium Networks Inc.
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.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
X-OriginalArrivalTime: 08 Jan 2004 23:36:08.0081 (UTC) FILETIME=[30C28010:01C3D640]
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk
Content-Transfer-Encoding: 7bit

Hi all

What should be the length of the IV in case of NULL cipher when using ESP
protocol?

As per RFC 2410
"Because of the stateless nature of the NULL encryption algorithm, it is not
necessary to transmit an IV or similar cryptographic
synchronization data on a per packet (or even a per SA) basis".

Which essentially means the length of the IV should be 0 but FreeSWAN uses a
length of 4bytes IV (equal to blocksize) for NULL cipher.

-Tarun



From owner-ipsec@lists.tislabs.com  Fri Jan  9 11:11:02 2004
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 LAA09974
	for <ipsec-archive@lists.ietf.org>; Fri, 9 Jan 2004 11:11:02 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id MAA10118
	Thu, 8 Jan 2004 12:05:42 -0500 (EST)
Mime-Version: 1.0
X-Sender: kent@po2.bbn.com
Message-Id: <p06020401bc233f465d3d@[128.33.244.157]>
In-Reply-To: <20040107225007.GI1663@datapower.com>
References: <20040107225007.GI1663@datapower.com>
Date: Thu, 8 Jan 2004 12:10:32 -0500
To: Ken Ballou <ballou@crab.mv.com>
From: Stephen Kent <kent@bbn.com>
Subject: Re: Contradictory language in the 2401bis draft section 4.1?
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 17:50 -0500 1/7/04, Ken Ballou wrote:
>Am I misreading the text?  I believe there is contradictory text in
>section 4.1 (draft-ietf-ipsec-rfc2401bis-02.txt).
>
>On one hand, in the third full paragraph on page 10, I read:
>
>"... transport mode MAY be used between security gateways or between a
>security gateway and a host."
>
>On the other hand, in the paragraph that spans pages 11 and 12, I read:
>
>"In general, whenever either end of a security association is a security
>gateway, the SA MUST be tunnel mode."

whoops. we missed that old text. we will fix it to be consistent with 
the new guidance on use of transport mode.


Steve


From owner-ipsec@lists.tislabs.com  Fri Jan  9 13:22:09 2004
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 NAA21302
	for <ipsec-archive@lists.ietf.org>; Fri, 9 Jan 2004 13:22:08 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id JAA17192
	Fri, 9 Jan 2004 09:21:20 -0500 (EST)
Mime-Version: 1.0
X-Sender: kent@po2.bbn.com
Message-Id: <p06020401bc246abe387a@[128.89.89.75]>
In-Reply-To: <0ac801c3d640$98c6eb10$b110a8c0@Tarun>
References: <0ac801c3d640$98c6eb10$b110a8c0@Tarun>
Date: Fri, 9 Jan 2004 09:28:03 -0500
To: "Tarun Ahuja" <tarun.ahuja@cavium.com>
From: Stephen Kent <kent@bbn.com>
Subject: Re: length of IV in ESP_NULL cipher
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 15:38 -0800 1/8/04, Tarun Ahuja wrote:
>Hi all
>
>What should be the length of the IV in case of NULL cipher when using ESP
>protocol?
>
>As per RFC 2410
>"Because of the stateless nature of the NULL encryption algorithm, it is not
>necessary to transmit an IV or similar cryptographic
>synchronization data on a per packet (or even a per SA) basis".
>
>Which essentially means the length of the IV should be 0 but FreeSWAN uses a
>length of 4bytes IV (equal to blocksize) for NULL cipher.
>
>-Tarun

If FreeSWAN used an IV length of 4, someone needs to have a talk with 
them. Of course the length should be 0. Anything else is just wasted 
overhead.

Steve


From owner-ipsec@lists.tislabs.com  Fri Jan  9 13:25:13 2004
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 NAA21917
	for <ipsec-archive@lists.ietf.org>; Fri, 9 Jan 2004 13:25:13 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id JAA17503
	Fri, 9 Jan 2004 09:59:29 -0500 (EST)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <16382.50245.682335.168125@gargle.gargle.HOWL>
Date: Fri, 9 Jan 2004 10:09:57 -0500
From: Paul Koning <pkoning@equallogic.com>
To: tarun.ahuja@cavium.com
CC: ipsec@lists.tislabs.com
Subject: Re: length of IV in ESP_NULL cipher
References: <0ac801c3d640$98c6eb10$b110a8c0@Tarun>
	<Pine.GSO.4.58.0401081638360.29410@irp-view4.cisco.com>
X-Mailer: VM 7.07 under 21.4 (patch 8) "Honest Recruiter" XEmacs Lucid
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk
Content-Transfer-Encoding: 7bit

>>>>> "Scott" == Scott Fluhrer <sfluhrer@cisco.com> writes:

 Scott> On Thu, 8 Jan 2004, Tarun Ahuja wrote:

 >> Which essentially means the length of the IV should be 0 but
 >> FreeSWAN uses a length of 4bytes IV (equal to blocksize) for NULL
 >> cipher.

 Scott> Well, either FreeSWAN is broke (at least in this respect) or
 Scott> you are mistaken about the operation of the FreeSWAN code.

Agreed.  I'm pretty sure I had our (Xedia) implementation talking to
FreeSWAN some years ago, so my suspicion is that the implementation is
actually correct.

Are you looking at the packet length when you made this observation?
Remember that ESP_NULL DOES require padding (to multiples of four)
because that's the minimum requirement in ESP independent of cipher.
I think I have seen implementations (at least back in 1999 or so) that
got this wrong.

    paul



From owner-ipsec@lists.tislabs.com  Fri Jan  9 16:50:18 2004
Received: from lists.tislabs.com (portal.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id QAA18722
	for <ipsec-archive@lists.ietf.org>; Fri, 9 Jan 2004 16:50:16 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id NAA18622
	Fri, 9 Jan 2004 13:07:04 -0500 (EST)
Message-ID: <003201c3d6dc$54c5bc60$c91167c0@adithya>
From: "Mohan Parthasarathy" <mohanp@sbcglobal.net>
To: "Francis Dupont" <Francis.Dupont@enst-bretagne.fr>
Cc: <ipsec@lists.tislabs.com>
References: <200401090927.i099RNSj037727@givry.rennes.enst-bretagne.fr>
Subject: Re: IKEv1 and multiple SAs ? 
Date: Fri, 9 Jan 2004 10:13:49 -0800
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.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk
Content-Transfer-Encoding: 7bit

Francis,


> In your previous mail you wrote:
>
>    IKEv2 (section 2.8) draft talks about the IKEv1 rekying heuristic where
>    IKEv1 implementations delete old SAs when a new SA is established for
the
>    same traffic selector.
>
> => this is about rekeying of IPsec SAs (not what happens with IKE/ISAKMP
SAs).
> In IKEv1 the replaced IPsec SAs are explicitely deleted, in IKEv2 they are
> flushed on timeout, i.e., implicitely deleted.
>
Thanks for the clarification. I  was asking about the old IPsec SAs (not the
replaced SAs)
which IKEv1 implementations implicitly deleted. Does all IKEv1
implementations do so when
a new IPsec SA is setup for the same traffic selectors ?

>    Do these implementations delete the SA always in these cases
>
> => IPsec SAs are always deleted when asked or when they have reached their
> hard timeout.
>
That's not what i read from section 2.8 of IKEv2 draft.

>    or only when they see a INITIAL_CONTACT notify message also ?
>
> => the INITIAL_CONTACT is very different: it is sent by a peer which
> believes it has no SA, i.e., already existing SAs are from a previous
> session and the peer has lost any state about it.
>
This means, only when i see a INITIAL_CONTACT, i can clean up all old
IKE SAs and IPsec SAs. Correct ? Is that what the existing implementations
do ?

>    Any information would be appreciated.
>
> => RFC 2407 4.6.3.3 for INITIAL_CONTACT
>    draft-ietf-ipsec-ikev2-11.txt pages 64-65
>     (different because the IKEv2 spec is about previous IKE SAs)

This is a bit confusing. Why would you keep the IPsec SAs around in this
case ?
The sender by sending INITIAL_CONTACT says that this is the only IKE SA.
This implies that he has no previous IKE SAs or IPsec SAs which means the
receiver can delete all of them. Why is it specific to IKE SAs ?

-mohan

>    isakmp_inf.c:info_recv_initialcontact()
>      (with this cryptic comment:
>         /*
>          * delete all phase2 sa relatived to the destination address.
>          * Don't delete Phase 1 handlers on INITIAL-CONTACT, and don't
ignore
>          * an INITIAL-CONTACT if we have contacted the peer.  This matches
the
>          * Sun IKE behavior, and makes rekeying work much better when the
peer
>          * restarts.
>          */)
>
> Regards
>
> Francis.Dupont@enst-bretagne.fr



From owner-ipsec@lists.tislabs.com  Fri Jan  9 17:56:58 2004
Received: from lists.tislabs.com (portal.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA25961
	for <ipsec-archive@lists.ietf.org>; Fri, 9 Jan 2004 17:56:57 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id PAA19402
	Fri, 9 Jan 2004 15:09:17 -0500 (EST)
Message-ID: <005401c3d6ed$f0d7bed0$b110a8c0@Tarun>
From: "Tarun Ahuja" <tarun.ahuja@cavium.com>
To: "Paul Koning" <pkoning@equallogic.com>
Cc: <ipsec@lists.tislabs.com>
References: <0ac801c3d640$98c6eb10$b110a8c0@Tarun><Pine.GSO.4.58.0401081638360.29410@irp-view4.cisco.com> <16382.50245.682335.168125@gargle.gargle.HOWL>
Subject: Re: length of IV in ESP_NULL cipher
Date: Fri, 9 Jan 2004 12:19:50 -0800
Organization: Cavium Networks Inc.
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.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
X-OriginalArrivalTime: 09 Jan 2004 20:17:00.0198 (UTC) FILETIME=[89ADFC60:01C3D6ED]
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk
Content-Transfer-Encoding: 7bit

The padding is at the end of the packet (before authentication data)
but the IV after the ESP header and I am definitely seeing 4 extra
bytes after the ESP header.

Actually FreeSWAN doesnot have inbuilt support for NULL cipher
but there is an unofficial patch available for adding NULL cipher support.
I believe, the patch developers are aware of the problem because,
in the beta for the next release, the IV length has been changed to
0 but the version I am using, the IV length is 4 for NULL cipher. Looks like
the developer used IV length to be equal to the number of padding bytes.
As for Xedia talking to freeswan, I don't know, if you are talking about
communication using NULL cipher because, because the problem seems
related only to NULL cipher while other ciphers (3DES, AES at least) seem
to work fine.

Tarun

----- Original Message ----- 
From: "Paul Koning" <pkoning@equallogic.com>
To: <tarun.ahuja@cavium.com>
Cc: <ipsec@lists.tislabs.com>
Sent: Friday, January 09, 2004 7:09 AM
Subject: Re: length of IV in ESP_NULL cipher


> >>>>> "Scott" == Scott Fluhrer <sfluhrer@cisco.com> writes:
>
>  Scott> On Thu, 8 Jan 2004, Tarun Ahuja wrote:
>
>  >> Which essentially means the length of the IV should be 0 but
>  >> FreeSWAN uses a length of 4bytes IV (equal to blocksize) for NULL
>  >> cipher.
>
>  Scott> Well, either FreeSWAN is broke (at least in this respect) or
>  Scott> you are mistaken about the operation of the FreeSWAN code.
>
> Agreed.  I'm pretty sure I had our (Xedia) implementation talking to
> FreeSWAN some years ago, so my suspicion is that the implementation is
> actually correct.
>
> Are you looking at the packet length when you made this observation?
> Remember that ESP_NULL DOES require padding (to multiples of four)
> because that's the minimum requirement in ESP independent of cipher.
> I think I have seen implementations (at least back in 1999 or so) that
> got this wrong.
>
>     paul
>



From owner-ipsec@lists.tislabs.com  Fri Jan  9 20:01:08 2004
Received: from lists.tislabs.com (portal.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id UAA02522
	for <ipsec-archive@lists.ietf.org>; Fri, 9 Jan 2004 20:01:08 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id RAA20457
	Fri, 9 Jan 2004 17:41:05 -0500 (EST)
To: Paul Hoffman / VPNC <paul.hoffman@vpnc.org>
Cc: "Bepsy Paul" <bepsy@airBB.com>, <ipsec@lists.tislabs.com>
Subject: Re: Open source IPsec
References: <BLEIILDABHKJOPDGKAEKOEJBCCAA.bepsy@airbb.com>
	<p0602047ebc211ed01131@[63.202.92.157]>
From: Wes Hardaker <wes@hardakers.net>
Organization: Sparta
Date: Fri, 09 Jan 2004 14:51:42 -0800
In-Reply-To: <p0602047ebc211ed01131@[63.202.92.157]> (Paul Hoffman's message
 of "Tue, 6 Jan 2004 18:28:33 -0800")
Message-ID: <sdeku8ybup.fsf@wanderer.hardakers.net>
User-Agent: Gnus/5.1003 (Gnus v5.10.3) XEmacs/21.5 (brussels sprouts, linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

>>>>> On Tue, 6 Jan 2004 18:28:33 -0800, Paul Hoffman / VPNC <paul.hoffman@vpnc.org> said:

>> I am looking for an open-source implementation of IKE & IPSEC which is
>> available for download. Can anyone point out any useful link for downloading
>> such a source code? your help will be highly appreciated.

Paul> Here are three well-known packages that contain open-source IPsec and IKE:

Paul> <http://www.kame.net/>
Paul> <http://www.openbsd.org/>
Paul> <http://www.freeswan.org/>

Additionally: net-policy.sourceforge.net which is a expanded version
of the NIST reference release for linux (ported to Linux 2.4 from
NIST's original 2.2 code).

-- 
Wes Hardaker
Sparta


From owner-ipsec@lists.tislabs.com  Sat Jan 10 09:47:33 2004
Received: from lists.tislabs.com (portal.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id JAA06869
	for <ipsec-archive@lists.ietf.org>; Sat, 10 Jan 2004 09:47:32 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id GAA24915
	Sat, 10 Jan 2004 06:59:52 -0500 (EST)
Message-Id: <200401101210.i0ACAkSj043848@givry.rennes.enst-bretagne.fr>
From: Francis Dupont <Francis.Dupont@enst-bretagne.fr>
To: "Mohan Parthasarathy" <mohanp@sbcglobal.net>
cc: ipsec@lists.tislabs.com
Subject: Re: IKEv1 and multiple SAs ? 
In-reply-to: Your message of Fri, 09 Jan 2004 10:13:49 PST.
             <003201c3d6dc$54c5bc60$c91167c0@adithya> 
Date: Sat, 10 Jan 2004 13:10:46 +0100
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:

   > => this is about rekeying of IPsec SAs (not what happens with IKE/ISAKMP
   SAs).
   > In IKEv1 the replaced IPsec SAs are explicitely deleted, in IKEv2 they are
   > flushed on timeout, i.e., implicitely deleted.

=> note that I was wrong: in IKEv2 one should delete the replaced SA too.
The IKEv2 spec is not very clear, for instance it implicitely uses the
terms delete and close for ending a SA. I believe that "delete" implies
sending a delete payload.

   Thanks for the clarification. I  was asking about the old IPsec SAs (not the
   replaced SAs)
   which IKEv1 implementations implicitly deleted. Does all IKEv1
   implementations do so when
   a new IPsec SA is setup for the same traffic selectors ?
   
=> I believe you refer to: "the IKEv1 rekeying heuristic of deleting
SAs on the basis of duplicate traffic selectors" (BTW where this is
specified?). Racoon doesn't do this: in racoon only the initiator
rekeys (something which doesn't work in IKEv2 because the lifetimes
are no more negociated).
This is not explained in section 2.8 but the rekey collision can be
detected because a REKEY_SA notification is in the CREATE_CHILD_SA.
As this message is copied in the list, I'd like this is explained
in the next IKEv2 spec or rationale/tutorial.

   >    Do these implementations delete the SA always in these cases?
   >
   > => IPsec SAs are always deleted when asked or when they have reached their
   > hard timeout.

   That's not what i read from section 2.8 of IKEv2 draft.
   
=> An IPsec SA has two lifetimes, a soft one (when it is reached, the SA
enters the DYING state and a PF_KEY SADB_EXPIRE is sent to IKE) and a hard
one (when it is reached, the SA enters the DEAD state. is no more usable
and will be garbaged collected), this is managed by the kernel itself
(in KAME the SADB is scaned every second).

   > => the INITIAL_CONTACT is very different: it is sent by a peer which
   > believes it has no SA, i.e., already existing SAs are from a previous
   > session and the peer has lost any state about it.
   >
   This means, only when i see a INITIAL_CONTACT, i can clean up all old
   IKE SAs and IPsec SAs. Correct ?

=> yes. BTW racoon only deletes IPsec SAs matching source and destination.

   Is that what the existing implementations do ?

=> IMHO yes when they don't implement some kind of dead peer detection.
   
   > => RFC 2407 4.6.3.3 for INITIAL_CONTACT
   >    draft-ietf-ipsec-ikev2-11.txt pages 64-65
   >     (different because the IKEv2 spec is about previous IKE SAs)
   
   This is a bit confusing. Why would you keep the IPsec SAs around in this
   case ?

=> in IKEv2 when an IKE SA is closed all the IPsec SAs it manages are
closed too. So the effect is the same but in a cleaner way (the fact
in IKEv2 the IKE SA is used to manage the IPsec SAs (in place of to be
used only to establish and delete some of them) is one of its major
improvements).

   The sender by sending INITIAL_CONTACT says that this is the only IKE SA.
   This implies that he has no previous IKE SAs or IPsec SAs which means the
   receiver can delete all of them. Why is it specific to IKE SAs ?
   
Regards

Francis.Dupont@enst-bretagne.fr


From owner-ipsec@lists.tislabs.com  Sun Jan 11 17:37:45 2004
Received: from lists.tislabs.com (portal.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA19394
	for <ipsec-archive@lists.ietf.org>; Sun, 11 Jan 2004 17:37:40 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id OAA04304
	Sun, 11 Jan 2004 14:58:27 -0500 (EST)
Message-Id: <200401092127.QAA16833@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-iana-01.txt
Date: Fri, 09 Jan 2004 16:27:49 -0500
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		: Initial IANA registry contents
	Author(s)	: M. Richardson
	Filename	: draft-ietf-ipsec-ikev2-iana-01.txt
	Pages		: 23
	Date		: 2004-1-9
	
This is a non-standards track document that tells IANA how to
populate the initial IKEv2 registries.

A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-ietf-ipsec-ikev2-iana-01.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-iana-01.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-iana-01.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:	<2004-1-9164708.I-D@ietf.org>

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

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

Content-Type: text/plain
Content-ID:	<2004-1-9164708.I-D@ietf.org>

--OtherAccess--

--NextPart--



From owner-ipsec@lists.tislabs.com  Mon Jan 12 15:30:10 2004
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 PAA17412
	for <ipsec-archive@lists.ietf.org>; Mon, 12 Jan 2004 15:30:09 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id LAA10919
	Mon, 12 Jan 2004 11:37:19 -0500 (EST)
Message-ID: <4002CFD0.4060008@nortelnetworks.com>
Date: Mon, 12 Jan 2004 11:48:16 -0500
X-Sybari-Space: 00000000 00000000 00000000 00000000
From: "Dondeti, Lakshminath" <ldondeti@nortelnetworks.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20031007
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: ipsec@lists.tislabs.com
Subject: Why is the length of transform ID 2 octets in IKEv2?
References: <200401072101.QAA01462@ietf.org>
In-Reply-To: <200401072101.QAA01462@ietf.org>
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,

The length of the transform ID is 2 octets  in IKEv2 (was 2 octets in 
00, changed to 1 octet in 01, and back to 2 octets in 08 and stayed that 
way) whereas it is 1 octet in 2408.  I am curious about the reasoning 
behind the change(s).  Do we really need 2 octets for this field?

regards,
Lakshminath

Internet-Drafts@ietf.org wrote:

>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-12.txt
>	Pages		: 102
>	Date		: 2004-1-7
>	
>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-12.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-12.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-12.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.
>
>  
>




From owner-ipsec@lists.tislabs.com  Mon Jan 12 16:13:43 2004
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 QAA20162
	for <ipsec-archive@lists.ietf.org>; Mon, 12 Jan 2004 16:13:43 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id MAA11348
	Mon, 12 Jan 2004 12:43:23 -0500 (EST)
Message-ID: <003a01c3d935$1e433180$c91167c0@adithya>
From: "Mohan Parthasarathy" <mohanp@sbcglobal.net>
To: "Francis Dupont" <Francis.Dupont@enst-bretagne.fr>
Cc: <ipsec@lists.tislabs.com>
References: <200401101210.i0ACAkSj043848@givry.rennes.enst-bretagne.fr>
Subject: Re: IKEv1 and multiple SAs ? 
Date: Mon, 12 Jan 2004 09:54:25 -0800
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.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk
Content-Transfer-Encoding: 7bit


> In your previous mail you wrote:
>
>    > => this is about rekeying of IPsec SAs (not what happens with
IKE/ISAKMP
>    SAs).
>    > In IKEv1 the replaced IPsec SAs are explicitely deleted, in
IKEv2 they are
>    > flushed on timeout, i.e., implicitely deleted.
>
> => note that I was wrong: in IKEv2 one should delete the replaced SA
too.
> The IKEv2 spec is not very clear, for instance it implicitely uses
the
> terms delete and close for ending a SA. I believe that "delete"
implies
> sending a delete payload.
>
>    Thanks for the clarification. I  was asking about the old IPsec
SAs (not the
>    replaced SAs)
>    which IKEv1 implementations implicitly deleted. Does all IKEv1
>    implementations do so when
>    a new IPsec SA is setup for the same traffic selectors ?
>
> => I believe you refer to: "the IKEv1 rekeying heuristic of deleting
> SAs on the basis of duplicate traffic selectors" (BTW where this is
> specified?). Racoon doesn't do this: in racoon only the initiator
> rekeys (something which doesn't work in IKEv2 because the lifetimes
> are no more negociated).
> This is not explained in section 2.8 but the rekey collision can be
> detected because a REKEY_SA notification is in the CREATE_CHILD_SA.
> As this message is copied in the list, I'd like this is explained
> in the next IKEv2 spec or rationale/tutorial.
>
Right. If REKEY_SA is explained in section 2.8 which explains about
rekeying,
it would really clarify this case.  Only if REKEY_SA is included, the
old IPsec SAs
SHOULD be deleted. Otherwise, the old IPsec SA should be left around
till it expires.

-mohan



From owner-ipsec@lists.tislabs.com  Mon Jan 12 22:30:49 2004
Received: from lists.tislabs.com (portal.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id WAA10423
	for <ipsec-archive@lists.ietf.org>; Mon, 12 Jan 2004 22:30:48 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id TAA13583
	Mon, 12 Jan 2004 19:03:22 -0500 (EST)
X-Authentication-Warning: fireball.acr.fi: kivinen set sender to kivinen@iki.fi using -f
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <16387.14413.826253.631634@fireball.acr.fi>
Date: Tue, 13 Jan 2004 02:14:05 +0200
From: Tero Kivinen <kivinen@iki.fi>
To: "Dondeti, Lakshminath" <ldondeti@nortelnetworks.com>
Cc: ipsec@lists.tislabs.com
Subject: Why is the length of transform ID 2 octets in IKEv2?
In-Reply-To: <4002CFD0.4060008@nortelnetworks.com>
References: <200401072101.QAA01462@ietf.org>
	<4002CFD0.4060008@nortelnetworks.com>
X-Mailer: VM 7.17 under Emacs 21.3.1
Organization: Helsinki University of Technology
X-Edit-Time: 13 min
X-Total-Time: 15 min
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk
Content-Transfer-Encoding: 7bit

Dondeti, Lakshminath writes:
> The length of the transform ID is 2 octets  in IKEv2 (was 2 octets in 
> 00, changed to 1 octet in 01, and back to 2 octets in 08 and stayed that 
> way) whereas it is 1 octet in 2408.  I am curious about the reasoning 
> behind the change(s).  Do we really need 2 octets for this field?

The rfc2408 transform id only contained parts of the things we
currently store in the transform id (i.e crypto algorithm). Some of
the data stored now in the transform id used to be in the transform
attributes, where they were 16 or 32 bit values (for example the
Diffie-Hellman group, authentication algorithm etc).

We did have space there, and there is also some space needed for
private use values. I think there might be more semi-permanent and
semi-documented private use values for the Diffie-Hellman groups, as
the current document says that the support for defining private
Diffie-Hellman groups is SHOULD, and there are organizations requiring
them. As the group parameters are no longer exchanged inside the IKE,
the requirements for the internal documentation for the private
groups used is much higher, and organizations propably tries to keep
the numbering separate (i.e people do not take the first private use
number, but instead take random value and start using groups from that
point).

On the other hand to be able to use the private use numbers, the
management interface should also allow adding vendor ID payloads to
identify the private use number space used. I.e the organization
defining that number 12314 is their first private group, should also
be able to add vendor ID specified by them to identify that group (i.e
the managment facility which allows specification of Diffie-Hellman
parameters should also include the vendor ID associated to the group.
-- 
kivinen@iki.fi


From owner-ipsec@lists.tislabs.com  Tue Jan 13 15:19:36 2004
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 PAA10628
	for <ipsec-archive@lists.ietf.org>; Tue, 13 Jan 2004 15:19:35 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id MAA19278
	Tue, 13 Jan 2004 12:32:30 -0500 (EST)
Message-Id: <5.2.0.9.2.20040113124242.03142610@mail.binhost.com>
X-Sender: housley@mail.binhost.com
X-Mailer: QUALCOMM Windows Eudora Version 5.2.0.9
Date: Tue, 13 Jan 2004 12:43:29 -0500
To: "Theodore Ts'o" <tytso@mit.edu>, byfraser@cisco.com
From: Russ Housley <housley@vigilsec.com>
Subject: Re: Charlie has submitted a new version of
  draft-ietf-ipsec-ikev2
Cc: ipsec@lists.tislabs.com
In-Reply-To: <E1AgSUq-0007aZ-KR@thunk.org>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

I have no problem with two documents, but it needs to be done very 
soon.  It is best for the IESG to ballot the two documents together.

Russ

At 12:38 PM 1/13/2004 -0500, Theodore Ts'o wrote:

>[ This note should have been sent last week, but for some reason it
>   apparently never made it out of my sent mail queue.  My
>   apologies... -- Ted ]
>
>Hi Russ,
>
>Charlie has submitted a new version of the ikev2-bis document:
>
>         draft-ietf-ipsec-ikev2-12.txt
>
>This draft contains fixes to various nits and errors that were raised
>after the wg last call (including the ones which you had found during
>your initial review of the ikev2-11 I-D after we had forwarded it to
>you).  We believe that none of the changes are controversial, and so
>the document should be ready for IETF-wide last call.
>
>One change that in the document dependency structure which is present
>in the -12 document is that the IANA considerations section has been
>moved to a separate document which Michael Richardson has been
>developing.
>
>Do you have an opinion about whether the IANA considerations should be
>kept in a separate document, which would make it easier for the IANA
>to review (and which truly isn't really necessary for implementors to
>see), or whether it should be combined into one document (which is
>already 102 pages and over 250k long)?  It seemed to us that it might
>make more sense for the IANA considerations to be in a separate
>informational RFC, but there are certainly arguments to do things
>either way.  Do you believe the IESG and the IANA would have a strong
>preference to do things one way or the other?
>
>Many thanks!!
>
>                                                 - Ted



From owner-ipsec@lists.tislabs.com  Tue Jan 13 15:20:45 2004
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 PAA10707
	for <ipsec-archive@lists.ietf.org>; Tue, 13 Jan 2004 15:20:44 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id MAA19285
	Tue, 13 Jan 2004 12:33:34 -0500 (EST)
To: Russ Housley <housley@vigilsec.com>, byfraser@cisco.com
cc: ipsec@lists.tislabs.com
Subject: Charlie has submitted a new version of draft-ietf-ipsec-ikev2
From: "Theodore Ts'o" <tytso@mit.edu>
Phone: (781) 391-3464
Message-Id: <E1AgSUq-0007aZ-KR@thunk.org>
Date: Tue, 13 Jan 2004 12:38:32 -0500
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/>.
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk


[ This note should have been sent last week, but for some reason it
  apparently never made it out of my sent mail queue.  My
  apologies... -- Ted ]

Hi Russ,

Charlie has submitted a new version of the ikev2-bis document:

	draft-ietf-ipsec-ikev2-12.txt

This draft contains fixes to various nits and errors that were raised
after the wg last call (including the ones which you had found during
your initial review of the ikev2-11 I-D after we had forwarded it to
you).  We believe that none of the changes are controversial, and so
the document should be ready for IETF-wide last call.

One change that in the document dependency structure which is present
in the -12 document is that the IANA considerations section has been
moved to a separate document which Michael Richardson has been
developing.  

Do you have an opinion about whether the IANA considerations should be
kept in a separate document, which would make it easier for the IANA
to review (and which truly isn't really necessary for implementors to
see), or whether it should be combined into one document (which is
already 102 pages and over 250k long)?  It seemed to us that it might
make more sense for the IANA considerations to be in a separate
informational RFC, but there are certainly arguments to do things
either way.  Do you believe the IESG and the IANA would have a strong
preference to do things one way or the other?

Many thanks!!

						- Ted


From owner-ipsec@lists.tislabs.com  Tue Jan 13 15:40:37 2004
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 PAA11894
	for <ipsec-archive@lists.ietf.org>; Tue, 13 Jan 2004 15:40:36 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id NAA19520
	Tue, 13 Jan 2004 13:06:22 -0500 (EST)
Mime-Version: 1.0
X-Sender: phoffvpnc@mail.vpnc.org
Message-Id: <p0602049cbc29e50ee8fd@[10.0.2.2]>
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, 13 Jan 2004 10:16:39 -0800
To: ipsec@lists.tislabs.com
From: Paul Hoffman / VPNC <paul.hoffman@vpnc.org>
Subject: New version of Don's ESP and AH algorithms document
Content-Type: text/plain; charset="us-ascii" ; format="flowed"
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

Greetings again. The Internet Draft processor is being very slow 
again, so I have posted a temporary version of the ESP and AH 
algorithms document at 
<http://www.vpnc.org/ietf-ipsec/TEMP-draft-ietf-ipsec-esp-ah-algorithms-01.txt>. 
That file will disappear when the draft is posted in the official 
Internet Draft repository.

On a somewhat-related note, VPNC keeps a categorized list of Internet 
Draft and RFCs relating to VPNs at 
<http://www.vpnc.org/vpn-standards.html>. The Internet Drafts in that 
list are automatically updated when higher-numbered drafts appear. 
This list is not updated for the temporary drafts such as the one 
above are posted: it tracks the official repository. If you have 
suggestions for the list, please let me know.

--Paul Hoffman, Director
--VPN Consortium


From owner-ipsec@lists.tislabs.com  Tue Jan 13 16:40:37 2004
Received: from lists.tislabs.com (portal.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id QAA16643
	for <ipsec-archive@lists.ietf.org>; Tue, 13 Jan 2004 16:40:37 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id NAA19771
	Tue, 13 Jan 2004 13:40:15 -0500 (EST)
Mime-Version: 1.0
X-Sender: phoffvpnc@mail.vpnc.org
Message-Id: <p0602049fbc29edc1f30c@[10.0.2.2]>
In-Reply-To: <E1AgSUq-0007aZ-KR@thunk.org>
References: <E1AgSUq-0007aZ-KR@thunk.org>
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, 13 Jan 2004 10:51:11 -0800
To: "Theodore Ts'o" <tytso@mit.edu>, Russ Housley <housley@vigilsec.com>,
        byfraser@cisco.com
From: Paul Hoffman / VPNC <paul.hoffman@vpnc.org>
Subject: Re: Charlie has submitted a new version of draft-ietf-ipsec-ikev2
Cc: ipsec@lists.tislabs.com
Content-Type: text/plain; charset="us-ascii" ; format="flowed"
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

At 12:38 PM -0500 1/13/04, Theodore Ts'o wrote:
>One change that in the document dependency structure which is present
>in the -12 document is that the IANA considerations section has been
>moved to a separate document which Michael Richardson has been
>developing. 
>
>Do you have an opinion about whether the IANA considerations should be
>kept in a separate document, which would make it easier for the IANA
>to review (and which truly isn't really necessary for implementors to
>see), or whether it should be combined into one document (which is
>already 102 pages and over 250k long)?  It seemed to us that it might
>make more sense for the IANA considerations to be in a separate
>informational RFC, but there are certainly arguments to do things
>either way.

Why do you want the IANA Considerations document to be an RFC at all? 
It is meant as *one-time* advice to IANA about what to do when the 
IKEv2 document becomes a Proposed Standard. Michael's document should 
remain an Internet Draft until IANA needs it, and it should then 
disappear after IANA uses it.

--Paul Hoffman, Director
--VPN Consortium


From owner-ipsec@lists.tislabs.com  Tue Jan 13 16:43:09 2004
Received: from lists.tislabs.com (portal.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id QAA16797
	for <ipsec-archive@lists.ietf.org>; Tue, 13 Jan 2004 16:43:08 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id OAA20174
	Tue, 13 Jan 2004 14:21:02 -0500 (EST)
X-Authentication-Warning: fireball.acr.fi: kivinen set sender to kivinen@iki.fi using -f
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <16388.18353.362889.658207@fireball.acr.fi>
Date: Tue, 13 Jan 2004 21:32:01 +0200
From: Tero Kivinen <kivinen@iki.fi>
To: ipsec@lists.tislabs.com
CC: charliek@microsoft.com
Subject: draft-ietf-ipsec-ikev2-12.txt reference section
X-Mailer: VM 7.17 under Emacs 21.3.1
Organization: Helsinki University of Technology
X-Edit-Time: 5 min
X-Total-Time: 4 min
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk
Content-Transfer-Encoding: 7bit

I think the UDP encapsulation draft
(draft-ietf-ipsec-udp-encaps-07.txt) reference should be normative not
informative. The implementators need to read and implement the
encapsulation specified there to implement the NAT traversal.

On the other hand it should have informative reference to the
draft-ietf-ipsec-nat-reqts-06.txt which describes the NAT traversal
requirements and background (and perhaps a reference to there in the
beginning of the section 2.23). 
-- 
kivinen@safenet-inc.com


From owner-ipsec@lists.tislabs.com  Tue Jan 13 17:51:39 2004
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 RAA19523
	for <ipsec-archive@lists.ietf.org>; Tue, 13 Jan 2004 17:51:38 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id OAA20487
	Tue, 13 Jan 2004 14:58:38 -0500 (EST)
Date: Tue, 13 Jan 2004 22:10:50 +0200 (IST)
From: Hugo Krawczyk <hugo@ee.technion.ac.il>
To: "Theodore Ts'o" <tytso@mit.edu>
cc: Russ Housley <housley@vigilsec.com>, <byfraser@cisco.com>,
        Charlie Kaufman <charliek@microsoft.com>,
        IPsec WG <ipsec@lists.tislabs.com>
Subject: Keing the prf
In-Reply-To: <E1AgSUq-0007aZ-KR@thunk.org>
Message-ID: <Pine.GSO.4.44_heb2.09.0401132205510.29728-100000@ee.technion.ac.il>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

There is one issue that was subject of discussion in the last weeks and I
believe requires a better resolution. I refer to the problem that ikev2
(including -12) defines two uses of the prf function (in sections 2.15 and
2.16)  where the prf is keyed with SK_a. This is problematic since SK_a is
defined as a key to the "integrity algorithm" which may be different than
the prf. Indeed the integrity algorithm and prf have different transform
types (#3 and #2) respectively, and then are negotiated independetly (in
particular they may use different algorihms).

Why is this a problem?

First, because the two transforms may require keys of different lengths,
in particular SK_a may be too short to key the prf.

Second, it is a wrong cryptographic practice to use the same key with two
different algorithms. This may or may not translate into actual attacks,
but it certainly spoils the otherwise sound design of the protocol.
It will also invite "attacks" from future formal analysts (beyond the
operational issues referred to in the first item).

I believe that the problem is best solved by deriving an additional pair
of keys from SKEYSEED (call them SK_pi and SK_pr) for keying the prf in the
above two cases. It is certainly easy to specify and to implement
(and easier than to justify why this wasn't done).

Specifically add the pair SK_pi, SK_pr to the key derivation formula in
2.14. Change prf(SK_ar,IDr') to prf(SK_pr,IDr') and prf(SK_ai,IDr') to
prf(SK_pi,IDr') in section 2.15. Change "SK_ai and SK_ar" in the next to
last paragraph of section 2.16 with "SK_pi and SK_pr"

I suggest that this be solved before the official last call (otherwise you
can see this as a comment provided in the last call phase).

Hugo



From owner-ipsec@lists.tislabs.com  Tue Jan 13 18:26:57 2004
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 SAA22324
	for <ipsec-archive@lists.ietf.org>; Tue, 13 Jan 2004 18:26:54 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id PAA20944
	Tue, 13 Jan 2004 15:42:00 -0500 (EST)
To: ipsec@lists.tislabs.com
Subject: Re: Charlie has submitted a new version of draft-ietf-ipsec-ikev2 
In-reply-to: Your message of "Tue, 13 Jan 2004 10:51:11 PST."
             <p0602049fbc29edc1f30c@[10.0.2.2]> 
Mime-Version: 1.0 (generated by tm-edit 1.8)
Content-Type: text/plain; charset=US-ASCII
Date: Tue, 13 Jan 2004 15:42:58 -0500
Message-ID: <18186.1074026578@marajade.sandelman.ottawa.on.ca>
From: Michael Richardson <mcr@sandelman.ottawa.on.ca>
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk


>>>>> "VPNC" == VPNC  <Paul> writes:
    VPNC> Why do you want the IANA Considerations document to be an RFC at
    VPNC> all? It is meant as *one-time* advice to IANA about what to do when
    VPNC> the IKEv2 document becomes a Proposed Standard. Michael's document
    VPNC> should remain an Internet Draft until IANA needs it, and it should
    VPNC> then disappear after IANA uses it.

  And it was in this spirit that I wrote the document.

]       ON HUMILITY: to err is human. To moo, bovine.           |  firewalls  [
]   Michael Richardson,    Xelerance Corporation, Ottawa, ON    |net architect[
] mcr@xelerance.com      http://www.sandelman.ottawa.on.ca/mcr/ |device driver[
] panic("Just another Debian GNU/Linux using, kernel hacking, security guy"); [




From owner-ipsec@lists.tislabs.com  Tue Jan 13 20:25:51 2004
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 UAA25986
	for <ipsec-archive@lists.ietf.org>; Tue, 13 Jan 2004 20:25:50 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id SAA22098
	Tue, 13 Jan 2004 18:05:04 -0500 (EST)
Message-Id: <5.2.0.9.0.20040113144759.045cc418@10.1.5.10>
X-Sender: vamsi@10.1.5.10
X-Mailer: QUALCOMM Windows Eudora Version 5.2.0.9
Date: Tue, 13 Jan 2004 15:13:59 -0800
To: ipsec@lists.tislabs.com
From: vamsi <vamsi@intotoinc.com>
Subject: Initial Contact Message processing
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk


Hi,
    We found one problem during inter operability testing and I thought
    I will inform to the list for feedback.

    It seems that some implementations, while processing IC message,
    delete all IPSEC and IKE SAs that correspond to source IP address of
    the IC message.

    This works well, in most of the scenarios, but fails to work when there
    are more than one Security Gateway or Clients behind a NAT gateway.
    For instance, take this example:

    Security Client 1
                            ----------NAT 
Gateway-------Internet--------SG-----LAN
    Security Client 2

    At one time, both clients have tunnels established with SG (acting as 
remote
    access server and only Clients initiate phase1 exchange)
    and  SG will see both the tunnels from NAT Gateway IP address.

    If Client 1 gets restarted, it sends IC message to the SG.
    SG, upon receipt, deletes tunnels established by Client 1 and also
    it deletes the tunnels, that are created by Client 2.

    DOI (RFC2407) states that, upon receipt of IC message, the implementations
    might delete tunnels associated with the sending system.

     It is observed that, identification of 'sending system' is being done 
based on source IP
     address of the IC message in some implementations. I feel that, it 
should be based
     on 'Phase1 ID' (FQDN, USER FQDN, USER DN etc..) and/or with source IP 
address.

     Some clarification on IC message processing in DOI  document, might be 
helpful.

Thanks
Vamsi



From owner-ipsec@lists.tislabs.com  Wed Jan 14 00:50:12 2004
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 AAA03650
	for <ipsec-archive@lists.ietf.org>; Wed, 14 Jan 2004 00:50:11 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id WAA23907
	Tue, 13 Jan 2004 22:38:08 -0500 (EST)
Date: Tue, 13 Jan 2004 22:49:07 -0500
From: Thor Lancelot Simon <tls@rek.tjls.com>
To: ipsec@lists.tislabs.com
Subject: Re: Initial Contact Message processing
Message-ID: <20040114034907.GA29766@panix.com>
Reply-To: tls@rek.tjls.com
References: <5.2.0.9.0.20040113144759.045cc418@10.1.5.10>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <5.2.0.9.0.20040113144759.045cc418@10.1.5.10>
User-Agent: Mutt/1.4.1i
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

On Tue, Jan 13, 2004 at 03:13:59PM -0800, vamsi wrote:
> 
> Hi,
>    We found one problem during inter operability testing and I thought
>    I will inform to the list for feedback.
> 
>    It seems that some implementations, while processing IC message,
>    delete all IPSEC and IKE SAs that correspond to source IP address of
>    the IC message.
> 
>    This works well, in most of the scenarios, but fails to work when there
>    are more than one Security Gateway or Clients behind a NAT gateway.
>    For instance, take this example:

This is a pretty dubious way to use IKE.  That aside for the moment,
it seems to me to be only one of a number of reasons why implementations
should track the _port_ they receive the initial message of a conversation
from, not just the source IP address.



From owner-ipsec@lists.tislabs.com  Wed Jan 14 00:55:25 2004
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 AAA03775
	for <ipsec-archive@lists.ietf.org>; Wed, 14 Jan 2004 00:55:24 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id WAA23892
	Tue, 13 Jan 2004 22:34:36 -0500 (EST)
Message-Id: <5.1.0.14.0.20040114092228.00a98f58@172.16.1.10>
X-Sender: suram@172.16.1.10
X-Mailer: QUALCOMM Windows Eudora Version 5.1
Date: Wed, 14 Jan 2004 09:25:27 +0530
To: ipsec@lists.tislabs.com
From: Suram Chandra Sekhar <suram@intotoinc.com>
Subject: DPD Inter operability testing
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed
X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/)
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

Hi all,
Are there any open/free implementations  OR  sites of VPN implementation 
where I can inter-operate my DPD implementation.

I would be grateful if I can get some information on Vendors that support DPD.

Awaiting for your valuable response..

Regards
Suram



From owner-ipsec@lists.tislabs.com  Wed Jan 14 07:00:24 2004
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 HAA14461
	for <ipsec-archive@lists.ietf.org>; Wed, 14 Jan 2004 07:00:24 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id EAA26253
	Wed, 14 Jan 2004 04:40:33 -0500 (EST)
Date: Wed, 14 Jan 2004 10:51:34 +0100
From: =?iso-8859-2?Q?Pawe=B3?= Krawczyk <kravietz@aba.krakow.pl>
To: Suram Chandra Sekhar <suram@intotoinc.com>
Cc: ipsec@lists.tislabs.com
Subject: Re: DPD Inter operability testing
Message-ID: <20040114095134.GA14700@aba.krakow.pl>
References: <5.1.0.14.0.20040114092228.00a98f58@172.16.1.10>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-2
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <5.1.0.14.0.20040114092228.00a98f58@172.16.1.10>
User-Agent: Mutt/1.3.28i
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk
Content-Transfer-Encoding: 8bit

On Wed, Jan 14, 2004 at 09:25:27AM +0530, Suram Chandra Sekhar wrote:

> Are there any open/free implementations  OR  sites of VPN implementation 
> where I can inter-operate my DPD implementation.
> I would be grateful if I can get some information on Vendors that support 
> DPD.

There's DPD implementation in http://www.openswan.org/
It has been tested with Cisco several months ago.

-- 
Pawe³ Krawczyk, Kraków, Poland  http://echelon.pl/kravietz/
ABA Kraków: http://www.aba.krakow.pl/
horses: http://kabardians.com/
crypto: http://ipsec.pl/


From owner-ipsec@lists.tislabs.com  Wed Jan 14 08:23:33 2004
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 IAA16397
	for <ipsec-archive@lists.ietf.org>; Wed, 14 Jan 2004 08:23:27 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id FAA26641
	Wed, 14 Jan 2004 05:59:15 -0500 (EST)
X-Authentication-Warning: fireball.acr.fi: kivinen set sender to kivinen@iki.fi using -f
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <16389.9111.10031.817363@fireball.acr.fi>
Date: Wed, 14 Jan 2004 13:10:15 +0200
From: Tero Kivinen <kivinen@iki.fi>
To: tls@rek.tjls.com
Cc: ipsec@lists.tislabs.com
Subject: Re: Initial Contact Message processing
In-Reply-To: <20040114034907.GA29766@panix.com>
References: <5.2.0.9.0.20040113144759.045cc418@10.1.5.10>
	<20040114034907.GA29766@panix.com>
X-Mailer: VM 7.17 under Emacs 21.3.1
Organization: Helsinki University of Technology
X-Edit-Time: 5 min
X-Total-Time: 4 min
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk
Content-Transfer-Encoding: 7bit

Thor Lancelot Simon writes:
> On Tue, Jan 13, 2004 at 03:13:59PM -0800, vamsi wrote:
> > 
> > Hi,
> >    We found one problem during inter operability testing and I thought
> >    I will inform to the list for feedback.
> > 
> >    It seems that some implementations, while processing IC message,
> >    delete all IPSEC and IKE SAs that correspond to source IP address of
> >    the IC message.
> > 
> >    This works well, in most of the scenarios, but fails to work when there
> >    are more than one Security Gateway or Clients behind a NAT gateway.
> >    For instance, take this example:

If you are using IPsec through NAT you should be using NAT Traversal
as defined in the draft-ietf-ipsec-nat-t-ike-07.txt document. It
states that:
----------------------------------------------------------------------
6.  Initial contact notifications

The source IP and port address of the INITIAL-CONTACT notification for
the host behind NAT are not meaningful, so the IP and port numbers
MUST NOT be used for the determine which IKE/IPsec SAs to remove. The
ID payload sent from the other SHOULD be used instead. I.e when
INITIAL-CONTACT notification is received from the other end, the
receiving end SHOULD remove all the SAs associated with the same ID
payload.
----------------------------------------------------------------------

> This is a pretty dubious way to use IKE.  That aside for the moment,
> it seems to me to be only one of a number of reasons why implementations
> should track the _port_ they receive the initial message of a conversation
> from, not just the source IP address.

This does not work. You MUST use identities for tracking the SAs from
the same identity. If the host behind NAT is rebooted, there is
possibility that the NAT will allocate new IP and port for the host
when it connects again. Now the SGW will see connection coming with
new IP and new port, and the INITIAL-CONTACT will not clear the old
state away at all, meaning that it can still try to send the traffic
to old SAs (== black hole). 
-- 
kivinen@safenet-inc.com


From owner-ipsec@lists.tislabs.com  Wed Jan 14 13:45:19 2004
Received: from lists.tislabs.com (portal.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id NAA02478
	for <ipsec-archive@lists.ietf.org>; Wed, 14 Jan 2004 13:45:19 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id LAA28575
	Wed, 14 Jan 2004 11:15:20 -0500 (EST)
Message-Id: <200401132051.PAA12287@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-esp-ah-algorithms-01.txt
Date: Tue, 13 Jan 2004 15:51:46 -0500
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 Algorithm Implementation Requirements For ESP And AH
	Author(s)	: D. Eastlake 3rd
	Filename	: draft-ietf-ipsec-esp-ah-algorithms-01.txt
	Pages		: 10
	Date		: 2004-1-13
	
The IPSEC series of protocols makes use of various cryptographic
algorithms in order to provide security services. The Encapsulating
Security Payload (ESP) and the Authentication Header (AH) provide two
mechanisms for protecting data being sent over an IPSEC Security
Association (SA).  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 ESP and AH as
well as specifying algorithms that should be implemented because they
may be promoted to mandatory at some future time.

A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-ietf-ipsec-esp-ah-algorithms-01.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-esp-ah-algorithms-01.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-esp-ah-algorithms-01.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:	<2004-1-13160040.I-D@ietf.org>

ENCODING mime
FILE /internet-drafts/draft-ietf-ipsec-esp-ah-algorithms-01.txt

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

Content-Type: text/plain
Content-ID:	<2004-1-13160040.I-D@ietf.org>

--OtherAccess--

--NextPart--



From owner-ipsec@lists.tislabs.com  Wed Jan 14 14:11:39 2004
Received: from lists.tislabs.com (portal.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA03915
	for <ipsec-archive@lists.ietf.org>; Wed, 14 Jan 2004 14:11:39 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id LAA28763
	Wed, 14 Jan 2004 11:51:23 -0500 (EST)
Subject: Re: Initial Contact Message processing
To: ipsec@lists.tislabs.com
X-Mailer: Lotus Notes Release 5.0.11   July 24, 2002
Message-ID: <OF3AB51022.73474592-ON85256E1B.005C28CE-85256E1B.005DF0BE@us.ibm.com>
From: David Wierbowski <wierbows@us.ibm.com>
Date: Wed, 14 Jan 2004 12:02:21 -0500
X-MIMETrack: Serialize by Router on D01MLC96/01/M/IBM(Release 6.0.2CF2 HFB2 IGS HF12C|January
 9, 2004) at 01/14/2004 12:02:22
MIME-Version: 1.0
Content-type: text/plain; charset=US-ASCII
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk






>> This is a pretty dubious way to use IKE.  That aside for the moment,
>> it seems to me to be only one of a number of reasons why implementations
>> should track the _port_ they receive the initial message of a
conversation
>> from, not just the source IP address.
>
> This does not work. You MUST use identities for tracking the SAs from
> the same identity. If the host behind NAT is rebooted, there is
> possibility that the NAT will allocate new IP and port for the host
> when it connects again. Now the SGW will see connection coming with
> new IP and new port, and the INITIAL-CONTACT will not clear the old
> state away at all, meaning that it can still try to send the traffic
> to old SAs (== black hole).

Are you saying that an identity may use IPSec from one device only?
It seems to me that I may want to establish a phase 1 SA with you from
two different work stations at the same time.  Are you saying that I
would need 2 phase 1 IDs to do that?  Is it a generally accepted limitation
of IPSec that identities are tied to a particular device?  This would have
to be true in order to process an INITIAL-CONTACT notification based on IDs
only.



From owner-ipsec@lists.tislabs.com  Wed Jan 14 16:10:28 2004
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 QAA12816
	for <ipsec-archive@lists.ietf.org>; Wed, 14 Jan 2004 16:10:27 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id NAA29532
	Wed, 14 Jan 2004 13:57:43 -0500 (EST)
Message-Id: <5.2.0.9.0.20040114110336.045bdc68@10.1.5.10>
X-Sender: vamsi@10.1.5.10
X-Mailer: QUALCOMM Windows Eudora Version 5.2.0.9
Date: Wed, 14 Jan 2004 11:06:26 -0800
To: Tero Kivinen <kivinen@iki.fi>, tls@rek.tjls.com
From: vamsi <vamsi@intotoinc.com>
Subject: Re: Initial Contact Message processing
Cc: ipsec@lists.tislabs.com
In-Reply-To: <16389.9111.10031.817363@fireball.acr.fi>
References: <20040114034907.GA29766@panix.com>
 <5.2.0.9.0.20040113144759.045cc418@10.1.5.10>
 <20040114034907.GA29766@panix.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

Hi,
     Thank you for pointing out the text and draft number. This
      text clearly indicates the solution, that is inter-operable and
      I am  comfortable with this text.

Thanks again
Vamsi
CTO office
Intoto Inc.
www.intoto.com

At 01:10 PM 1/14/2004 +0200, Tero Kivinen wrote:
>Thor Lancelot Simon writes:
> > On Tue, Jan 13, 2004 at 03:13:59PM -0800, vamsi wrote:
> > >
> > > Hi,
> > >    We found one problem during inter operability testing and I thought
> > >    I will inform to the list for feedback.
> > >
> > >    It seems that some implementations, while processing IC message,
> > >    delete all IPSEC and IKE SAs that correspond to source IP address of
> > >    the IC message.
> > >
> > >    This works well, in most of the scenarios, but fails to work when 
> there
> > >    are more than one Security Gateway or Clients behind a NAT gateway.
> > >    For instance, take this example:
>
>If you are using IPsec through NAT you should be using NAT Traversal
>as defined in the draft-ietf-ipsec-nat-t-ike-07.txt document. It
>states that:
>----------------------------------------------------------------------
>6.  Initial contact notifications
>
>The source IP and port address of the INITIAL-CONTACT notification for
>the host behind NAT are not meaningful, so the IP and port numbers
>MUST NOT be used for the determine which IKE/IPsec SAs to remove. The
>ID payload sent from the other SHOULD be used instead. I.e when
>INITIAL-CONTACT notification is received from the other end, the
>receiving end SHOULD remove all the SAs associated with the same ID
>payload.
>----------------------------------------------------------------------
>
> > This is a pretty dubious way to use IKE.  That aside for the moment,
> > it seems to me to be only one of a number of reasons why implementations
> > should track the _port_ they receive the initial message of a conversation
> > from, not just the source IP address.
>
>This does not work. You MUST use identities for tracking the SAs from
>the same identity. If the host behind NAT is rebooted, there is
>possibility that the NAT will allocate new IP and port for the host
>when it connects again. Now the SGW will see connection coming with
>new IP and new port, and the INITIAL-CONTACT will not clear the old
>state away at all, meaning that it can still try to send the traffic
>to old SAs (== black hole).
>--
>kivinen@safenet-inc.com



From owner-ipsec@lists.tislabs.com  Wed Jan 14 18:32:40 2004
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 SAA21453
	for <ipsec-archive@lists.ietf.org>; Wed, 14 Jan 2004 18:32:40 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id QAA00195
	Wed, 14 Jan 2004 16:04:50 -0500 (EST)
Mime-Version: 1.0
X-Sender: kent@po2.bbn.com
Message-Id: <p0602040dbc2b60433d2a@[128.89.89.75]>
In-Reply-To: 
 <OF3AB51022.73474592-ON85256E1B.005C28CE-85256E1B.005DF0BE@us.ibm.com>
References: 
 <OF3AB51022.73474592-ON85256E1B.005C28CE-85256E1B.005DF0BE@us.ibm.com>
Date: Wed, 14 Jan 2004 16:12:26 -0500
To: David Wierbowski <wierbows@us.ibm.com>
From: Stephen Kent <kent@bbn.com>
Subject: Re: Initial Contact Message processing
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 12:02 -0500 1/14/04, David Wierbowski wrote:
>  >> This is a pretty dubious way to use IKE.  That aside for the moment,
>>>  it seems to me to be only one of a number of reasons why implementations
>>>  should track the _port_ they receive the initial message of a
>conversation
>>>  from, not just the source IP address.
>>
>>  This does not work. You MUST use identities for tracking the SAs from
>>  the same identity. If the host behind NAT is rebooted, there is
>>  possibility that the NAT will allocate new IP and port for the host
>>  when it connects again. Now the SGW will see connection coming with
>>  new IP and new port, and the INITIAL-CONTACT will not clear the old
>>  state away at all, meaning that it can still try to send the traffic
>>  to old SAs (== black hole).
>
>Are you saying that an identity may use IPSec from one device only?
>It seems to me that I may want to establish a phase 1 SA with you from
>two different work stations at the same time.  Are you saying that I
>would need 2 phase 1 IDs to do that?  Is it a generally accepted limitation
>of IPSec that identities are tied to a particular device?  This would have
>to be true in order to process an INITIAL-CONTACT notification based on IDs
>only.

In general one would not expect the same entity to be present at 
multiple addresses at the same time, although I agree that there are 
circumstances where this might legitimately happen. However, the 
observation about the inadequacy of relying on addresses and ports to 
identify a peer in all circumstances is still true. So, if one wants 
to allow the same identified entity to connect to the same 
destination from multiple sources simultaneously, there needs to be 
an instance-specific form of identification that IKE can use to 
distinguish among the multiple instances of the same entity, for 
housekeeping purposes.

Steve


From owner-ipsec@lists.tislabs.com  Thu Jan 15 00:33:09 2004
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 AAA01526
	for <ipsec-archive@lists.ietf.org>; Thu, 15 Jan 2004 00:33:08 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id WAA02203
	Wed, 14 Jan 2004 22:10:18 -0500 (EST)
X-Authentication-Warning: fireball.acr.fi: kivinen set sender to kivinen@iki.fi using -f
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <16390.1836.832224.368241@fireball.acr.fi>
Date: Thu, 15 Jan 2004 05:21:16 +0200
From: Tero Kivinen <kivinen@iki.fi>
To: David Wierbowski <wierbows@us.ibm.com>
Cc: ipsec@lists.tislabs.com
Subject: Re: Initial Contact Message processing
In-Reply-To: <OF3AB51022.73474592-ON85256E1B.005C28CE-85256E1B.005DF0BE@us.ibm.com>
References: <OF3AB51022.73474592-ON85256E1B.005C28CE-85256E1B.005DF0BE@us.ibm.com>
X-Mailer: VM 7.17 under Emacs 21.3.1
Organization: Helsinki University of Technology
X-Edit-Time: 7 min
X-Total-Time: 7 min
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk
Content-Transfer-Encoding: 7bit

David Wierbowski writes:
> Are you saying that an identity may use IPSec from one device only?

USer can use IPsec from multiple devices, but if you want to have
working solution going through NATs each identity should only be tied
to one device. This normally is the case, your private key is only
stored in exactly one machine, and it is tied to one certificate
having one identity. If you have another device you use to connect to
the same VPN you should have separate private key and identity for
that (for example FQDN).

In some cases you might want to use only one identity and you want to
clear out old identities, for example in cases where you use securID
card or similar and you have forgotten to log out from the office
workstation, and you then log in with same card from your home.

All of this depends on the configuration and policy defined in the VPN
gateway. 

> It seems to me that I may want to establish a phase 1 SA with you from
> two different work stations at the same time.

There is nothing preventing you to configure your systems to allow
that. 

> Are you saying that I would need 2 phase 1 IDs to do that?

Yes, if you want to use NAT traversal or IKEv2 and you want to send
INITIAL_CONTACT notifications. 

> Is it a generally accepted limitation of IPSec that identities are
> tied to a particular device?

Normally identities are tied either to the device or to the user.
Everything again depends on the policy. 

> This would have to be true in order to process an INITIAL-CONTACT
> notification based on IDs only.

In NAT-T draft and also in the IKEv2 the INITIAL-CONTACT is only
processed based on the authenticated identities only:

from the draft-ietf-ipsec-ikev2-12.txt:
----------------------------------------------------------------------
        INITIAL_CONTACT                          16384

            This notification asserts that this IKE_SA is the only
            IKE_SA currently active between the authenticated
            identities. It MAY be sent when an IKE_SA is established
            after a crash, and the recipient MAY use this information to
            delete any other IKE_SAs it has to the same authenticated
            identity without waiting for a timeout.  This notification
            MUST NOT be sent by an entity that may be replicated (e.g.,
            a roaming user's credentials where the user is allowed to
            connect to the corporate firewall from two remote systems at
            the same time).
-- 
kivinen@iki.fi


From owner-ipsec@lists.tislabs.com  Thu Jan 15 03:28:13 2004
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 DAA18758
	for <ipsec-archive@lists.ietf.org>; Thu, 15 Jan 2004 03:28:12 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id AAA03200
	Thu, 15 Jan 2004 00:57:32 -0500 (EST)
Date: Thu, 15 Jan 2004 01:08:35 -0500
From: Thor Lancelot Simon <tls@rek.tjls.com>
To: ipsec@lists.tislabs.com
Subject: Re: Initial Contact Message processing
Message-ID: <20040115060835.GA26600@panix.com>
Reply-To: tls@rek.tjls.com
References: <OF3AB51022.73474592-ON85256E1B.005C28CE-85256E1B.005DF0BE@us.ibm.com> <16390.1836.832224.368241@fireball.acr.fi>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <16390.1836.832224.368241@fireball.acr.fi>
User-Agent: Mutt/1.4.1i
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

On Thu, Jan 15, 2004 at 05:21:16AM +0200, Tero Kivinen wrote:
> David Wierbowski writes:
> > Are you saying that an identity may use IPSec from one device only?
> 
> USer can use IPsec from multiple devices, but if you want to have
> working solution going through NATs each identity should only be tied
> to one device. This normally is the case, your private key is only
> stored in exactly one machine, and it is tied to one certificate
> having one identity. If you have another device you use to connect to
> the same VPN you should have separate private key and identity for
> that (for example FQDN).

It seems to me that implementations could easily allow the use of
the identity,address,port tuple instead of just "identity" or
"address,port" (the latter being a bug).  This seems more flexible
and, to be honest, I don't see any downside to it at all.  Do you?

Requiring a different identity for each device used by a given user
is likely to cause severe problems with X.500 identies, considering 
how certificates are usually allocated to users.  I worked on one
implementation (IKEv1 without Initial Contact, FWIW) where this would
have been an utter disaster for some of our largest customers.

Thor


From owner-ipsec@lists.tislabs.com  Thu Jan 15 10:07:46 2004
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 KAA09871
	for <ipsec-archive@lists.ietf.org>; Thu, 15 Jan 2004 10:07:46 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id HAA05314
	Thu, 15 Jan 2004 07:39:10 -0500 (EST)
X-Authentication-Warning: fireball.acr.fi: kivinen set sender to kivinen@iki.fi using -f
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <16390.35968.776961.795764@fireball.acr.fi>
Date: Thu, 15 Jan 2004 14:50:08 +0200
From: Tero Kivinen <kivinen@iki.fi>
To: tls@rek.tjls.com
Cc: ipsec@lists.tislabs.com
Subject: Re: Initial Contact Message processing
In-Reply-To: <20040115060835.GA26600@panix.com>
References: <OF3AB51022.73474592-ON85256E1B.005C28CE-85256E1B.005DF0BE@us.ibm.com>
	<16390.1836.832224.368241@fireball.acr.fi>
	<20040115060835.GA26600@panix.com>
X-Mailer: VM 7.17 under Emacs 21.3.1
Organization: Helsinki University of Technology
X-Edit-Time: 7 min
X-Total-Time: 6 min
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk
Content-Transfer-Encoding: 7bit

Thor Lancelot Simon writes:
> On Thu, Jan 15, 2004 at 05:21:16AM +0200, Tero Kivinen wrote:
> > David Wierbowski writes:
> > > Are you saying that an identity may use IPSec from one device only?
> > 
> > USer can use IPsec from multiple devices, but if you want to have
> > working solution going through NATs each identity should only be tied
> > to one device. This normally is the case, your private key is only
> > stored in exactly one machine, and it is tied to one certificate
> > having one identity. If you have another device you use to connect to
> > the same VPN you should have separate private key and identity for
> > that (for example FQDN).
> 
> It seems to me that implementations could easily allow the use of
> the identity,address,port tuple instead of just "identity" or
> "address,port" (the latter being a bug).  This seems more flexible
> and, to be honest, I don't see any downside to it at all.  Do you?

Yes. In that case it does not work if the other end is behind NAT (i.e
the host is rebooted, and it gets new address or port after reboot, so
the state is not cleared up). It also does not clean up state if the
user simply closes machine and then moves another place and restarts
it there (new IP). The state is left running in those cases.

Anyways this is again somewhat policy matter, and depends on the
configuration and setup. 

> Requiring a different identity for each device used by a given user
> is likely to cause severe problems with X.500 identies, considering 
> how certificates are usually allocated to users.

I do not see any problems there. It is actually much harder to share
the same private key in multiple machines than to create separate
private key and certificate for each device (implementations allowing
pkcs10 based certficiate enrollment or similar, might not allow any
standard way to get private key out to another machine).

> I worked on one implementation (IKEv1 without Initial Contact, FWIW)
> where this would have been an utter disaster for some of our largest
> customers.

I do not see any problem for your implementation then to be configured
to use only IP/port or IP/port/ID if you do not have NATs or mobile
users there.

The use of INITIAL_CONTACT in the IKEv2 is much smaller anyways, as
the dead peer detection will detect the disappearing remote hosts, so
INITIAL_CONTACT only causes that happen little bit sooner. 
-- 
kivinen@safenet-inc.com


From owner-ipsec@lists.tislabs.com  Thu Jan 15 12:23:08 2004
Received: from lists.tislabs.com (portal.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA15802
	for <ipsec-archive@lists.ietf.org>; Thu, 15 Jan 2004 12:23:08 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id KAA06336
	Thu, 15 Jan 2004 10:02:05 -0500 (EST)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <16390.44519.75000.931769@gargle.gargle.HOWL>
Date: Thu, 15 Jan 2004 10:12:39 -0500
From: Paul Koning <pkoning@equallogic.com>
To: tls@rek.tjls.com
Cc: ipsec@lists.tislabs.com
Subject: Re: Initial Contact Message processing
References: <OF3AB51022.73474592-ON85256E1B.005C28CE-85256E1B.005DF0BE@us.ibm.com>
	<16390.1836.832224.368241@fireball.acr.fi>
	<20040115060835.GA26600@panix.com>
X-Mailer: VM 7.07 under 21.4 (patch 10) "Military Intelligence (Windows)" XEmacs Lucid
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk
Content-Transfer-Encoding: 7bit

>>>>> "Thor" == Thor Lancelot Simon <tls@rek.tjls.com> writes:

 Thor> On Thu, Jan 15, 2004 at 05:21:16AM +0200, Tero Kivinen wrote:
 >> David Wierbowski writes: > Are you saying that an identity may use
 >> IPSec from one device only?
 >> 
 >> USer can use IPsec from multiple devices, but if you want to have
 >> working solution going through NATs each identity should only be
 >> tied to one device. This normally is the case, your private key is
 >> only stored in exactly one machine, and it is tied to one
 >> certificate having one identity. If you have another device you
 >> use to connect to the same VPN you should have separate private
 >> key and identity for that (for example FQDN).

 Thor> It seems to me that implementations could easily allow the use
 Thor> of the identity,address,port tuple instead of just "identity"
 Thor> or "address,port" (the latter being a bug).  This seems more
 Thor> flexible and, to be honest, I don't see any downside to it at
 Thor> all.  Do you?

 Thor> Requiring a different identity for each device used by a given
 Thor> user is likely to cause severe problems with X.500 identies,
 Thor> considering how certificates are usually allocated to users.  I
 Thor> worked on one implementation (IKEv1 without Initial Contact,
 Thor> FWIW) where this would have been an utter disaster for some of
 Thor> our largest customers.

Agreed.

Since a "device" can have multiple NICs, it can have multiple
addresses.  So if "address" is used as part of the tuple that
distinguishes devices, how are multi-NIC devices handled?

	      paul



From owner-ipsec@lists.tislabs.com  Thu Jan 15 12:57:29 2004
Received: from lists.tislabs.com (portal.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA17262
	for <ipsec-archive@lists.ietf.org>; Thu, 15 Jan 2004 12:57:28 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id KAA06672
	Thu, 15 Jan 2004 10:49:39 -0500 (EST)
Subject: Re: Initial Contact Message processing
To: ipsec@lists.tislabs.com
X-Mailer: Lotus Notes Release 5.0.11   July 24, 2002
Message-ID: <OF002954DD.D10B4FCE-ON85256E1C.0056D62D-85256E1C.00583FF1@us.ibm.com>
From: David Wierbowski <wierbows@us.ibm.com>
Date: Thu, 15 Jan 2004 11:00:11 -0500
X-MIMETrack: Serialize by Router on D01MLC96/01/M/IBM(Release 6.0.2CF2 HFB2 IGS HF12C|January
 9, 2004) at 01/15/2004 11:00:12
MIME-Version: 1.0
Content-type: text/plain; charset=US-ASCII
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk









 Thor>> It seems to me that implementations could easily allow the use
 Thor>> of the identity,address,port tuple instead of just "identity"
 Thor>> or "address,port" (the latter being a bug).  This seems more
 Thor>> flexible and, to be honest, I don't see any downside to it at
 Thor>> all.  Do you?

 Thor>> Requiring a different identity for each device used by a given
 Thor>> user is likely to cause severe problems with X.500 identies,
 Thor>> considering how certificates are usually allocated to users.  I
 Thor>> worked on one implementation (IKEv1 without Initial Contact,
 Thor>> FWIW) where this would have been an utter disaster for some of
 Thor>> our largest customers.

 Paul> Agreed.

 Paul> Since a "device" can have multiple NICs, it can have multiple
 Paul> addresses.  So if "address" is used as part of the tuple that
 Paul> distinguishes devices, how are multi-NIC devices handled?

 Not sure this is the best answer, but on the implementation that I work
 on we would require multiple phase 1 SAs with that device.  One for every
 every NIC ( IP address) owned by the device from which a phase 2
negotiation
 would be started on.  Based on this thread we might be better off allowing
 all NICs to utilize the same SA.








From owner-ipsec@lists.tislabs.com  Thu Jan 15 18:16:17 2004
Received: from lists.tislabs.com (portal.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id SAA08050
	for <ipsec-archive@lists.ietf.org>; Thu, 15 Jan 2004 18:16:15 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id PAA08498
	Thu, 15 Jan 2004 15:24:59 -0500 (EST)
Message-Id: <5.2.0.9.0.20040115113601.08bfa1c8@10.1.5.10>
X-Sender: vamsi@10.1.5.10
X-Mailer: QUALCOMM Windows Eudora Version 5.2.0.9
Date: Thu, 15 Jan 2004 12:27:13 -0800
To: ipsec@lists.tislabs.com
From: vamsi <vamsi@intotoinc.com>
Subject: Old discussion - subject - Me tarzan and me jane
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk


Hi,
    I went through messages posted on above subject, but did not find
    any conclusion on that.

    IPSEC implementations, today,  compare ID data in received
    ID payload with the ID information in Peer certificate and if no 
certificate
    ID matches with the ID in ID payload, the transaction is declined.
    There was some discussion in Mar/Apr 2003 time frame, about making this 
as local
    matter, but it is creating inter operability problems.

    I see somebody  indicating that it is not possible to extract the ID from
    certificate and that is why check should be made local matter. I hope 
this can't be
    justification and if that is so, then impersonation is possible. 
Implementations,
    at minimum, must ensure that one of IDs in certificate match (full or 
partial)
    with the ID configured locally in IKE policy.

    I see one post indicating that, the sender may not know the ID that 
needs to be
    used while sending the ID in ID payload, as certificate may be having 
multiple
    IDs in it. This may be true, but in my view, any of the IDs can be sent 
in ID
    payload.  Receiver of ID payload can ensure that, the received ID is 
one of
    the IDs in the certificate.

     In my view, we should mandate
       - Sender of ID payload  MUST send any one of the IDs in his/her 
certificate.
         This ID should be one that is used by the receiver to identify for 
giving
          appropriate privileges.
       - Receiver of ID payload  MUST ensure that
              -- Received ID is one of IDs in the peer certificate
              -- Received ID matches (full or partial) with locally 
configured 'Accepted Remote IDs'.


Thanks
Vamsi
CTO Office
www.intoto.com

   



From owner-ipsec@lists.tislabs.com  Thu Jan 15 18:52:19 2004
Received: from lists.tislabs.com (portal.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id SAA09067
	for <ipsec-archive@lists.ietf.org>; Thu, 15 Jan 2004 18:52:19 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id QAA08802
	Thu, 15 Jan 2004 16:36:57 -0500 (EST)
From: chris stillson <stillson@cardholder.eng.sun.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <16391.2371.833481.654023@gargle.gargle.HOWL>
Date: Thu, 15 Jan 2004 13:42:27 -0800
To: ipsec@lists.tislabs.com
Subject: comment on draft-ietf-ipsec-udp-encaps-07.txt
X-Mailer: VM 7.07 under 21.1 (patch 3) "Acadia" XEmacs Lucid
Reply-To: chris.stillson@sun.com
X-Face:  ;>?o+t66!z`OvpX.6T'j.4l4Gi+L*?8ZnU3L[G/^R,ELl3.Stln=12L+t|hsa*<{/D<{OS(
 ybD%5<p1k'KWu~2`ggA_L%P.80xTxo5E[(Co7E2b{4tMN[z59GT8woI?%`|<N_#Hbbq=g?Czs;CGv
 `KH(`'4?OWT.ENXkD6]nt=k)b9pb!Mx<0OJ!l&'SK_@/F]L3-KPn`RvR*Na'T;w;}uk2y`
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk
Content-Transfer-Encoding: 7bit


According to the udp encapsulation draft, 

2. Packet Formats

2.1  UDP-encapsulated ESP Header Format
....
The UDP header is a standard [RFC 768] header, where
- Source Port and Destination Port MUST be the same as used by
   IKE traffic.

But, one of the ports must be 4500 on the wire. And the destination
port seen by any implementation must be 4500. There seems to be some
implication that encapsulation could happen over port 500. I think the 
language should be tightened to that this only happens over port 4500
(and an ephemeral port in some cases). I think this could lead to
possible interoperability problems otherwise.


chris stillson
IPSEC crypto monkey
x82477

Note: Preceding comments written by an engineer. There is nothing
to read into them. He really has no hidden motives or agendas.

1.Right Understanding 2.Right Thoughts 3.Right Speech 4.Right Action 
5.Right Livelihood 6.Right Effort 7.Right Mindfulness 8.Right Concentration 
--Please inform author if he has forgotten about any of these



From owner-ipsec@lists.tislabs.com  Thu Jan 15 19:36:12 2004
Received: from lists.tislabs.com (portal.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id TAA10710
	for <ipsec-archive@lists.ietf.org>; Thu, 15 Jan 2004 19:36:12 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id RAA09022
	Thu, 15 Jan 2004 17:12:56 -0500 (EST)
Mime-Version: 1.0
X-Sender: phoffvpnc@mail.vpnc.org
Message-Id: <p06020411bc2cc1b75fac@[63.202.92.157]>
In-Reply-To: <5.2.0.9.0.20040115113601.08bfa1c8@10.1.5.10>
References: <5.2.0.9.0.20040115113601.08bfa1c8@10.1.5.10>
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, 15 Jan 2004 14:17:37 -0800
To: vamsi <vamsi@intotoinc.com>, ipsec@lists.tislabs.com
From: Paul Hoffman / VPNC <paul.hoffman@vpnc.org>
Subject: Re: Old discussion - subject - Me tarzan and me jane
Content-Type: text/plain; charset="us-ascii" ; format="flowed"
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

This discussion is now happening on a different list for a BOF that 
might become an WG. See 
<http://honor.icsalabs.com/mailman/listinfo/pki4ipsec>

--Paul Hoffman, Director
--VPN Consortium


From owner-ipsec@lists.tislabs.com  Thu Jan 15 22:05:05 2004
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 WAA14614
	for <ipsec-archive@lists.ietf.org>; Thu, 15 Jan 2004 22:05:04 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id TAA10183
	Thu, 15 Jan 2004 19:52:44 -0500 (EST)
Message-ID: <541402FFDC56DA499E7E13329ABFEA8703975BF2@SARATOGA.netscreen.com>
From: Gregory Lebovitz <Gregory@netscreen.com>
To: "'Tero Kivinen'" <kivinen@iki.fi>,
        "'tls@rek.tjls.com'"
	 <tls@rek.tjls.com>
Cc: "'ipsec@lists.tislabs.com'" <ipsec@lists.tislabs.com>
Subject: RE: Initial Contact Message processing
Date: Thu, 15 Jan 2004 17:00:43 -0800
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



> -----Original Message-----
> From: Tero Kivinen [mailto:kivinen@iki.fi] 
> Sent: Thursday, January 15, 2004 4:50 AM
> To: tls@rek.tjls.com
> Cc: ipsec@lists.tislabs.com
> Subject: Re: Initial Contact Message processing
> 
> 
> Thor Lancelot Simon writes:
> > On Thu, Jan 15, 2004 at 05:21:16AM +0200, Tero Kivinen wrote:
> > > David Wierbowski writes:
> > > > Are you saying that an identity may use IPSec from one device 
> > > > only?
> > > 
> > > USer can use IPsec from multiple devices, but if you want to have 
> > > working solution going through NATs each identity should only be 
> > > tied to one device. This normally is the case, your 
> private key is 
> > > only stored in exactly one machine, and it is tied to one 
> > > certificate having one identity. If you have another 
> device you use 
> > > to connect to the same VPN you should have separate 
> private key and 
> > > identity for that (for example FQDN).
> > 
> > It seems to me that implementations could easily allow the 
> use of the 
> > identity,address,port tuple instead of just "identity" or 
> > "address,port" (the latter being a bug).  This seems more flexible 
> > and, to be honest, I don't see any downside to it at all.  Do you?
> 
> Yes. In that case it does not work if the other end is behind 
> NAT (i.e the host is rebooted, and it gets new address or 
> port after reboot, so the state is not cleared up). It also 
> does not clean up state if the user simply closes machine and 
> then moves another place and restarts it there (new IP). The 
> state is left running in those cases.
> 
> Anyways this is again somewhat policy matter, and depends on 
> the configuration and setup. 
> 
> > Requiring a different identity for each device used by a 
> given user is 
> > likely to cause severe problems with X.500 identies, 
> considering how 
> > certificates are usually allocated to users.
> 
> I do not see any problems there. It is actually much harder 
> to share the same private key in multiple machines than to 
> create separate private key and certificate for each device 
> (implementations allowing pkcs10 based certficiate enrollment 
> or similar, might not allow any standard way to get private 
> key out to another machine).
> 
> > I worked on one implementation (IKEv1 without Initial 
> Contact, FWIW) 
> > where this would have been an utter disaster for some of 
> our largest 
> > customers.
> 
> I do not see any problem for your implementation then to be 
> configured to use only IP/port or IP/port/ID if you do not 
> have NATs or mobile users there.
> 
> The use of INITIAL_CONTACT in the IKEv2 is much smaller 
> anyways, as the dead peer detection will detect the 
> disappearing remote hosts, so INITIAL_CONTACT only causes 
> that happen little bit sooner. 
> -- 
> kivinen@safenet-inc.com
> 

I think the initial quesiton on the thread pertained to IKEv1. In IKEv2, I
agree w/ Tero: we should depend more on dead peer detection than
INITIAL_CONTACT to solve the issue in question.

In IKEv1, I don't see a STANDARD way to handle multiple connections from the
same ID along with INTIAL_CONTACT use for reboot handling AND the NAT use
case. You could: 
 (a) create an implementation that somehow appends iterations to IDs, and
can read them too. But both sides of the connection would need to support it
(i.e. it would be a vendor proprietary implementation)
 (b) create different IDs for same entity, thus only ever using one ID at a
time. But this causes config/memory bloat

Gregory.


From owner-ipsec@lists.tislabs.com  Thu Jan 15 22:50:38 2004
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 WAA14615
	for <ipsec-archive@lists.ietf.org>; Thu, 15 Jan 2004 22:05:04 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id TAA10077
	Thu, 15 Jan 2004 19:24:33 -0500 (EST)
Message-ID: <541402FFDC56DA499E7E13329ABFEA8703975BED@SARATOGA.netscreen.com>
From: Gregory Lebovitz <Gregory@netscreen.com>
To: "'Paul Hoffman / VPNC'" <paul.hoffman@vpnc.org>,
        "'vamsi'"
	 <vamsi@intotoinc.com>,
        "'ipsec@lists.tislabs.com'"
	 <ipsec@lists.tislabs.com>
Subject: RE: Old discussion - subject - Me tarzan and me jane
Date: Thu, 15 Jan 2004 16:35:07 -0800
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

Vamsi,
To add a little more meat to Paul's direction...
Yes, this problem is still a problem worth addressing.
Yes, you have hit on some of the key issues.
We have moved solving this problem out of the ipsec WG and into the
pki4ipsec BOF (hopefully soon-to-be WG), where we are profiling the contents
and use of certificates and certificate life cycle management in IKE.
Would you mind terribly reposting your questions/comments to that maillist?

Thanks,
Gregory.


> -----Original Message-----
> From: Paul Hoffman / VPNC [mailto:paul.hoffman@vpnc.org] 
> Sent: Thursday, January 15, 2004 2:18 PM
> To: vamsi; ipsec@lists.tislabs.com
> Subject: Re: Old discussion - subject - Me tarzan and me jane
> 
> 
> This discussion is now happening on a different list for a BOF that 
> might become an WG. See 
> <http://honor.icsalabs.com/mailman/listinfo/pki4ipsec>
> 
> --Paul Hoffman, Director
> --VPN Consortium
> 


From owner-ipsec@lists.tislabs.com  Fri Jan 16 02:46:44 2004
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 CAA04614
	for <ipsec-archive@lists.ietf.org>; Fri, 16 Jan 2004 02:46:43 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id AAA12124
	Fri, 16 Jan 2004 00:07:51 -0500 (EST)
Mime-Version: 1.0
X-Sender: kseo@po2.bbn.com
Message-Id: <p05200f2bbc2d21739a19@[128.89.89.115]>
Date: Fri, 16 Jan 2004 00:22:56 -0500
To: ipsec@lists.tislabs.com
From: Karen Seo <kseo@bbn.com>
Subject: 2401bis -- current version is the correct one
Cc: 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,

Over the past few weeks, we submitted several versions of 2401bis-01 
and there was some confusion in what was posted to the I-D ftp 
server.  The currently posted version is the correct one.  This is 
the same as the one announced on Jan 7 with the exception of some 
formatting changes and one editorial change to put back in the first 
11 words of the first sentence of Section 4.4.

Incorrect version:

    4.4 Major IPsec Databases

    IPsec implementation are largely a local matter, not subject to
    standardization.  However, some external aspects of the processing
    must be standardized......

Current version:

    4.4 Major IPsec Databases

    Many of the details associated with processing IP traffic in an IPsec
    implementation are largely a local matter, not subject to
    standardization.  However, some external aspects of the processing
    must be standardized......

My apologies for any problems the multiple versions may cause. 
Please let us know if you have any questions.  Thank you,

Karen




From owner-ipsec@lists.tislabs.com  Fri Jan 16 13:20:26 2004
Received: from lists.tislabs.com (portal.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id NAA23933
	for <ipsec-archive@lists.ietf.org>; Fri, 16 Jan 2004 13:20:21 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id JAA15723
	Fri, 16 Jan 2004 09:41:32 -0500 (EST)
Message-Id: <200401161433.i0GEXVSj065823@givry.rennes.enst-bretagne.fr>
From: Francis Dupont <Francis.Dupont@enst-bretagne.fr>
To: David Wierbowski <wierbows@us.ibm.com>
cc: ipsec@lists.tislabs.com
Subject: Re: Initial Contact Message processing 
In-reply-to: Your message of Thu, 15 Jan 2004 11:00:11 EST.
             <OF002954DD.D10B4FCE-ON85256E1C.0056D62D-85256E1C.00583FF1@us.ibm.com> 
Date: Fri, 16 Jan 2004 15:33:31 +0100
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:

    Not sure this is the best answer, but on the implementation that I work
    on we would require multiple phase 1 SAs with that device.  One for every
    every NIC ( IP address) owned by the device from which a phase 2
   negotiation
    would be started on.  Based on this thread we might be better off allowing
    all NICs to utilize the same SA.
   
=> MOBIKE stuff should remove the limitation, i.e., one IKE SA should be
able to manage IPsec SAs using different IP addresses of the multi-NIC
devices, at the condition the IPsec SAs are in transport mode of course.
And without strange hacks with its phase one ID.

Regards

Francis.Dupont@enst-bretagne.fr


From owner-ipsec@lists.tislabs.com  Fri Jan 16 17:33:32 2004
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 RAA02826
	for <ipsec-archive@lists.ietf.org>; Fri, 16 Jan 2004 17:33:32 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id PAA17647
	Fri, 16 Jan 2004 15:01:51 -0500 (EST)
Mime-Version: 1.0
X-Sender: phoffvpnc@mail.vpnc.org
Message-Id: <p06020434bc2df5fb0bf9@[63.202.92.157]>
In-Reply-To: <p05200f2bbc2d21739a19@[128.89.89.115]>
References: <p05200f2bbc2d21739a19@[128.89.89.115]>
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: Fri, 16 Jan 2004 12:12:55 -0800
To: ipsec@lists.tislabs.com
From: Paul Hoffman / VPNC <paul.hoffman@vpnc.org>
Subject: Re: 2401bis -- current version is the correct one
Content-Type: text/plain; charset="us-ascii" ; format="flowed"
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

At 12:22 AM -0500 1/16/04, Karen Seo wrote:
>Over the past few weeks, we submitted several versions of 2401bis-01 
>and there was some confusion in what was posted to the I-D ftp 
>server.  The currently posted version is the correct one.

To be clear, Karen is talking about 
<http://www.ietf.org/internet-drafts/draft-ietf-ipsec-rfc2401bis-01.txt>.

--Paul Hoffman, Director
--VPN Consortium


From owner-ipsec@lists.tislabs.com  Tue Jan 20 17:52:59 2004
Received: from lists.tislabs.com (portal.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA29221
	for <ipsec-archive@lists.ietf.org>; Tue, 20 Jan 2004 17:52:58 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id OAA27073
	Tue, 20 Jan 2004 14:51:51 -0500 (EST)
Message-Id: <200401201955.i0KJtHCI021008@coredump.cs.columbia.edu>
X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4
To: ipsec@lists.tislabs.com
Subject: Issue 47: "All selectors can be a list of ranges, per IKEv2 spec"
Cc: byfraser@cisco.com, tytso@mit.edu, kivinen@ssh.fi
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Tue, 20 Jan 2004 14:55:17 -0500
From: "Angelos D. Keromytis" <angelos@cs.columbia.edu>
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk


One question to the WG: should there be a minimum number of entries per list of
selectors that an implementation MUST (or SHOULD) support ? Please comment
by next week.
-Angelos




From owner-ipsec@lists.tislabs.com  Wed Jan 21 16:19:23 2004
Received: from lists.tislabs.com (portal.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id QAA09044
	for <ipsec-archive@lists.ietf.org>; Wed, 21 Jan 2004 16:19:23 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id NAA05498
	Wed, 21 Jan 2004 13:11:56 -0500 (EST)
Mime-Version: 1.0
X-Sender: kent@po2.bbn.com
Message-Id: <p06020409bc3354e3231e@[128.89.89.75]>
Date: Wed, 21 Jan 2004 13:17:00 -0500
To: ipsec@lists.tislabs.com
From: Stephen Kent <kent@bbn.com>
Subject: SPD name entries & IKE
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,

In revising 2401 we tried to more clearly describe how the SPD works, 
as well as expanding it to cover new selector types, i.e., mobility 
header and ICMP type & code values.

In the course of this work we encountered a problem with the use of 
symbolic names. The primary motivation for accommodating a symbolic 
name in an SPD entry is to allow for an incoming SA creation request 
for a user or machine for which no fixed Ip address is known a 
priori. Other possible uses noted in 2401 included providing 
fine-grained access control for individual users/processes on a 
multi-user system. However, this latter case seems to be not a 
significant requirement based on existing practice, right?

In the primary case, the symbolic name in an SPD entry is a 
placeholder to be replaced with the IP address associated with the 
IKE peer, when the peer is authenticated as an authorized 
representative for the name. For example, a road warrior might be 
authenticated using a cert. In that case, the PAD (a newly 
articulated construct in 2401bis) would indicate that the CA who 
issued the cert is authorized to issue credentials to all employees 
(or maybe just to road warriors). Thus the ID asserted by IKE would 
be verified as acceptable, relative to the CA, and the PAD indicates 
how the ID asserted by IKE is verified, e.g., is it matched to the 
cert Subject name, or simply accepted because the cert itself has 
been validated?

However, even with the introduction of the PAD, we still have a 
problem in this case. Specifically, how do we know that, for a 
specific SA establishment activity, we should perform an SPD lookup 
using the ID from IKE in the SPD as a substitute for the source IP 
address for inbound traffic, instead of using the the address that 
appears in the traffic selector payloads?  We need to use the latter 
address when we instantiate the SPD cache and SAD entries, but we 
need to use the name for the initial SPD lookup.

What we discovered, in talking with several folks, is that there 
appears to be no standard way for the IKE initiator to signal to a 
responder that the ID is to be used for the lookup, vs. the selector 
payloads.  To me, this suggests that we need yet one more minor 
modification to IKE to accommodate this case. \

Suggestions?

Steve


From owner-ipsec@lists.tislabs.com  Wed Jan 21 17:11:38 2004
Received: from lists.tislabs.com (portal.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA13641
	for <ipsec-archive@lists.ietf.org>; Wed, 21 Jan 2004 17:11:37 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id OAA05965
	Wed, 21 Jan 2004 14:36:59 -0500 (EST)
Mime-Version: 1.0
X-Sender: kent@po2.bbn.com
Message-Id: <p06020408bc348537cc7f@[128.89.89.75]>
Date: Wed, 21 Jan 2004 14:42:58 -0500
To: ipsec@lists.tislabs.com
From: Stephen Kent <kent@bbn.com>
Subject: an SPD syntax example
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,

In trying to more precisely explain the nominal structure for the 
SPD, we found it helpful to create a sample syntax using ASN.1. 
Remember, this is not a requirement to use ASN.1 to represent the 
SPD, but rather a way of explaining the structure of the SPD, now 
that we have more complex entries. We're thinking of putting this in 
the next rev of 2401bis, either as part of the SPD description, or as 
an appendix.

Comments welcome, other than those arguing for use of another syntax :-)

Steve

P.S.  make your e-mail viewing wide enough to preserve the 
indentation, for easy reading.
---------

SPD ::= SEQUENCE of SPDEntry

SPDEntry ::= SET OF SelectorSet

SelectorSet ::= SEQUENCE {
	sourceAddr	AddrList,
	destAddr	AddrList,
	protocol	INTEGER,	-- 8 bits
	next CHOICE {
		ports	SEQUENCE {
				SourcePort	INTEGER, -- 16 bits
				DestPort }	INTEGER, -- 16 bits
		mobilityHdr	INTEGER, -- 16 bits
		ICMP [0] SEQUENCE {
			type	INTEGER,	-- 8 bits
			code	INTEGER } }	-- 8 bits

AddrList ::=  SET OF AddrOrList

AddrOrList ::= CHOICE {
			iPAddr	IPaddr 	-- individual IP address
			range	IPRange} -- IP address range

IPaddr	::= CHOICE {
			v4Addr		INTEGER, -- 32 bits
			v6Addr [0] 	INTEGER } -- 128 bits

IPRange	::=	CHOICE {
			v4range		SEQUENCE {
						start	INTEGER, -- 32 bits
						end	INTEGER } -- 32 bits
			v6range [0]	SEQUENCE {
						start	INTEGER, -- 128 bits
						end	INTEGER } } -- 128 bits


From owner-ipsec@lists.tislabs.com  Wed Jan 21 17:50:21 2004
Received: from lists.tislabs.com (portal.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA15878
	for <ipsec-archive@lists.ietf.org>; Wed, 21 Jan 2004 17:50:20 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id PAA06131
	Wed, 21 Jan 2004 15:05:38 -0500 (EST)
Message-Id: <5.2.0.9.0.20040121115311.02b8c670@10.1.5.10>
X-Sender: vamsi@10.1.5.10
X-Mailer: QUALCOMM Windows Eudora Version 5.2.0.9
Date: Wed, 21 Jan 2004 12:13:54 -0800
To: Stephen Kent <kent@bbn.com>, ipsec@lists.tislabs.com
From: vamsi <vamsi@intotoinc.com>
Subject: Re: SPD name entries & IKE
In-Reply-To: <p06020409bc3354e3231e@[128.89.89.75]>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk


Some implementation, including ours, identify the remote roaming user by 
their ID (ID in certificate
OR ID from the payload) and corresponding SPD policies are activated upon 
phase1 completion.
While activating the SPD policies, the Destiantion IP address of outbound 
policies and Source IP address
of corresponding incoming policies are changed to the remote user's IP 
address (Source  IP of phase1 first message).
Due to this, Quick Mode (QM) succeeds and finds the right SPD policy by 
matching with the selectors.

At the end of phase1 and phase2  SA termination and
if no phase1 is initiated by remote client for some duration of time, 
corresponding SPD policies are de-activated and go
to dormant state.

Due to this, I don't see any need for searching for SPD policy based on 
symbolic name, during QM.
It might offer other advantages, but for this scenario, I don't see the need.




At 01:17 PM 1/21/2004 -0500, Stephen Kent wrote:
>Folks,
>
>In revising 2401 we tried to more clearly describe how the SPD works, as 
>well as expanding it to cover new selector types, i.e., mobility header 
>and ICMP type & code values.
>
>In the course of this work we encountered a problem with the use of 
>symbolic names. The primary motivation for accommodating a symbolic name 
>in an SPD entry is to allow for an incoming SA creation request for a user 
>or machine for which no fixed Ip address is known a priori. Other possible 
>uses noted in 2401 included providing fine-grained access control for 
>individual users/processes on a multi-user system. However, this latter 
>case seems to be not a significant requirement based on existing practice, 
>right?
>
>In the primary case, the symbolic name in an SPD entry is a placeholder to 
>be replaced with the IP address associated with the IKE peer, when the 
>peer is authenticated as an authorized representative for the name. For 
>example, a road warrior might be authenticated using a cert. In that case, 
>the PAD (a newly articulated construct in 2401bis) would indicate that the 
>CA who issued the cert is authorized to issue credentials to all employees 
>(or maybe just to road warriors). Thus the ID asserted by IKE would be 
>verified as acceptable, relative to the CA, and the PAD indicates how the 
>ID asserted by IKE is verified, e.g., is it matched to the cert Subject 
>name, or simply accepted because the cert itself has been validated?
>
>However, even with the introduction of the PAD, we still have a problem in 
>this case. Specifically, how do we know that, for a specific SA 
>establishment activity, we should perform an SPD lookup using the ID from 
>IKE in the SPD as a substitute for the source IP address for inbound 
>traffic, instead of using the the address that appears in the traffic 
>selector payloads?  We need to use the latter address when we instantiate 
>the SPD cache and SAD entries, but we need to use the name for the initial 
>SPD lookup.
>
>What we discovered, in talking with several folks, is that there appears 
>to be no standard way for the IKE initiator to signal to a responder that 
>the ID is to be used for the lookup, vs. the selector payloads.  To me, 
>this suggests that we need yet one more minor modification to IKE to 
>accommodate this case. \
>
>Suggestions?
>
>Steve



From owner-ipsec@lists.tislabs.com  Wed Jan 21 17:55:31 2004
Received: from lists.tislabs.com (portal.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA16002
	for <ipsec-archive@lists.ietf.org>; Wed, 21 Jan 2004 17:55:29 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id PAA06372
	Wed, 21 Jan 2004 15:37:26 -0500 (EST)
Mime-Version: 1.0
X-Sender: phoffvpnc@mail.vpnc.org
Message-Id: <p0602044dbc34932c46d3@[63.202.92.157]>
In-Reply-To: <p06020409bc3354e3231e@[128.89.89.75]>
References: <p06020409bc3354e3231e@[128.89.89.75]>
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: Wed, 21 Jan 2004 12:43:59 -0800
To: Stephen Kent <kent@bbn.com>, ipsec@lists.tislabs.com
From: Paul Hoffman / VPNC <paul.hoffman@vpnc.org>
Subject: Re: SPD name entries & IKE
Content-Type: text/plain; charset="us-ascii" ; format="flowed"
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

At 1:17 PM -0500 1/21/04, Stephen Kent wrote:
>What we discovered, in talking with several folks, is that there 
>appears to be no standard way for the IKE initiator to signal to a 
>responder that the ID is to be used for the lookup, vs. the selector 
>payloads.

Correct.

>   To me, this suggests that we need yet one more minor modification 
>to IKE to accommodate this case.

Implementers seem to be of (at least) two minds on this. One camp 
says "the initiator has no right telling the responder what the 
responder should be doing in its security policy lookup". The other 
camp says "in a closed IPsec environment, the system administrator 
can tell the initiator how to tell the responder to use the ID for 
lookup". The revised identity discussion didn't come to agreement on 
this; it seems like it is a religious issue.

Looking at it a different way might help. In the presence of an 
authenticator, why would the responder ever use the information in 
the selector payloads? The authenticators are always externally 
assured. If they are preshared keys, the act of presharing assures 
both sides of the identities; if they are certs, the mutually-trusted 
CA assures both sides that the identities in the certs are valid. 
Selector payloads are just assertions by the initiator of what they 
are supposed to have access to. Always using the externally assured 
authenticators seems like a better idea.

--Paul Hoffman, Director
--VPN Consortium


From owner-ipsec@lists.tislabs.com  Wed Jan 21 20:49:28 2004
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 UAA21171
	for <ipsec-archive@lists.ietf.org>; Wed, 21 Jan 2004 20:49:28 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id SAA07670
	Wed, 21 Jan 2004 18:10:26 -0500 (EST)
Date: Wed, 21 Jan 2004 18:21:36 -0500
From: Thor Lancelot Simon <tls@rek.tjls.com>
To: ipsec@lists.tislabs.com
Subject: Re: SPD name entries & IKE
Message-ID: <20040121232136.GA11008@panix.com>
Reply-To: tls@rek.tjls.com
References: <p06020409bc3354e3231e@[128.89.89.75]> <5.2.0.9.0.20040121115311.02b8c670@10.1.5.10>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <5.2.0.9.0.20040121115311.02b8c670@10.1.5.10>
User-Agent: Mutt/1.4.1i
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

On Wed, Jan 21, 2004 at 12:13:54PM -0800, vamsi wrote:
> 
> Some implementation, including ours, identify the remote roaming user by 
> their ID (ID in certificate
> OR ID from the payload) and corresponding SPD policies are activated upon 
> phase1 completion.
> While activating the SPD policies, the Destiantion IP address of outbound 
> policies and Source IP address
> of corresponding incoming policies are changed to the remote user's IP 
> address (Source  IP of phase1 first message).
> Due to this, Quick Mode (QM) succeeds and finds the right SPD policy by 
> matching with the selectors.

The ReefEdge implementation did something similar to this, at least when
I worked on it; I assume it still does.  For users with preshared key
authentication in IKE, we had to use an out-of-band mechanism to identify
the user and communicate a single-use PSK, which is conceptually similar
to what PIC does.

When we added certificate support, we ended up doing approximately what
vamsi describes.  I suspect that others who do so share another of our
concerns, which was that of securely binding together an identity used
in IKE with an identity used by a separate -- legacy or otherwise --
AAA system.  One thing you need to be *extremely* careful of when you
set out to do this is to avoid session-stealing attacks, in which a
different authorized user renegotiates Phase 1 and then may use the
network as the user you originally authenticated, and whose security
policy rules you looked up.  Essentially, this approach obligates you
to track which identities are used in Phase 1 and destroy *all* state
associated with a given IP address when that identity changes.  It is
possible, but I have seen other vendors get it wrong; indeed, we
very nearly got it wrong ourselves, and felt pretty lucky that we
managed to thrash out a better solution than our original one!

Thor



From owner-ipsec@lists.tislabs.com  Thu Jan 22 00:20:14 2004
Received: from lists.tislabs.com (portal.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id AAA26475
	for <ipsec-archive@lists.ietf.org>; Thu, 22 Jan 2004 00:20:13 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id UAA08711
	Wed, 21 Jan 2004 20:53:02 -0500 (EST)
X-Authentication-Warning: fireball.acr.fi: kivinen set sender to kivinen@iki.fi using -f
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <16399.12161.370070.285455@fireball.acr.fi>
Date: Thu, 22 Jan 2004 04:03:45 +0200
From: Tero Kivinen <kivinen@iki.fi>
To: Stephen Kent <kent@bbn.com>
Cc: ipsec@lists.tislabs.com
Subject: an SPD syntax example
In-Reply-To: <p06020408bc348537cc7f@[128.89.89.75]>
References: <p06020408bc348537cc7f@[128.89.89.75]>
X-Mailer: VM 7.17 under Emacs 21.3.1
Organization: Helsinki University of Technology
X-Edit-Time: 27 min
X-Total-Time: 27 min
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk
Content-Transfer-Encoding: 7bit

Stephen Kent writes:
> Comments welcome, other than those arguing for use of another syntax :-)
> 
> SPD ::= SEQUENCE of SPDEntry
> 
> SPDEntry ::= SET OF SelectorSet
> 
> SelectorSet ::= SEQUENCE {
> 	sourceAddr	AddrList,
> 	destAddr	AddrList,

Why are these AddrList types? Why not simply AddrOrList, or actually
even better remove AddrList, AddrOrList, IPaddr and change this to
IPRange, and add comment to IPRange saying that if start == end then
it is single address (==IPaddr). As this is explaining the minimal
SPD, I think it should really be minimal, and it should not do
optimizations where we save 4/16 bytes by not expressing IPaddr as
IPRange constructs, or by having less SelectorSets by allowing each
list have list of ranges, instead of having multiple SelectorSets each
having one range. The bad thing is that now we have two different ways
to express same thing:

SPDEntry = {
	 SelectorSet = {
		     sourceAddr = { 10.0.0.1, 10.0.0.5 }
		     destAddr = { 10.0.2.1 }
		     ... rest omitted
	 }
}

and

SPDEntry = {
	 SelectorSet = {
		     sourceAddr = { 10.0.0.1 }
		     destAddr = { 10.0.2.1 }
		     ... rest omitted
	 }
	 SelectorSet = {
		     sourceAddr = { 10.0.0.5 }
		     destAddr = { 10.0.2.1 }
		     ... rest omitted
	 }
}

of course when the number of items in the list grows then the
combinatory explosion will create huge number of SPDEntry items, but
on the other hand this is simply explaining minimal format for the
SPD, real SPDs will propably have more compressed formats anyways. 

In IKEv2 you still need to convert the IPaddr to IPRange before using
it in the traffic selector.

Also in the IKEv2 there is no construct of AddrList at all, we have
two lists (source and destination) of Traffic Selectors (==
SelectorSet), each having on start and end addresses (IPRange), and
port range.

Because in the IKEv2 we do have separate source and destination lists,
it will remove the combinatory explosion, thus the same example can be
expressed as (using the format described in the end of this email):

SPDEntry = {
	 source = {
		TrafficSelector = { Addr = 10.0.0.1-10.0.0.1, ... }
		TrafficSelector = { Addr = 10.0.0.5-10.0.0.5, ... }
	 }
	 destination = {
		TrafficSelector = { Addr = 10.0.2.1-10.0.2.1, ... }
	 }
}

> 	protocol	INTEGER,	-- 8 bits
> 	next CHOICE {
> 		ports	SEQUENCE {
> 				SourcePort	INTEGER, -- 16 bits
> 				DestPort }	INTEGER, -- 16 bits

This should be range of ports not single port. IKEv2 allows port
ranges. 

> 		mobilityHdr	INTEGER, -- 16 bits

This is not yet negotiable by the IKEv2. 

> 		ICMP [0] SEQUENCE {
> 			type	INTEGER,	-- 8 bits
> 			code	INTEGER } }	-- 8 bits

This is also type and code range in IKEv2. Also one closing } is
missing (matchintg the SelectorSet sequence). 

> AddrList ::=  SET OF AddrOrList

This is not possible in the IKEv2. I assume this is union of all
ranges, and this can be combined with any source and destination
pairs? 

> AddrOrList ::= CHOICE {
> 			iPAddr	IPaddr 	-- individual IP address
> 			range	IPRange} -- IP address range
> 
> IPaddr	::= CHOICE {
> 			v4Addr		INTEGER, -- 32 bits
> 			v6Addr [0] 	INTEGER } -- 128 bits
> 
> IPRange	::=	CHOICE {
> 			v4range		SEQUENCE {
> 						start	INTEGER, -- 32 bits
> 						end	INTEGER } -- 32 bits
> 			v6range [0]	SEQUENCE {
> 						start	INTEGER, -- 128 bits
> 						end	INTEGER } } -- 128 bits

Using same syntax the actual TrafficSelector which can be expressed in
the IKEv2 is:

SPD ::= SEQUENCE of SPDEntry			-- List of SPD Entries

SPDEntry ::= SEQUENCE {				-- Each entry consist of
	source		TrafficSelectorList,	-- source and 
	destination	TrafficSelectorList }	-- destination selectorlists

TrafficSelectorList ::= SET OF TrafficSelector	-- Each selectorList
						-- is list of selectors

TrafficSelector ::= SEQUENCE {			-- either source or
						-- destination selector
	Addr		IPRange,
	protocol	INTEGER,	-- 8 bits
	next CHOICE {
		ports	SEQUENCE {
				portStart	INTEGER, -- 16 bits
				portEnd }	INTEGER, -- 16 bits
		ICMP [0] SEQUENCE {
			typeStart	INTEGER,	-- 8 bits
			codeStart	INTEGER,	-- 8 bits
			typeEnd		INTEGER,	-- 8 bits
			codeEnd		INTEGER } } }	-- 8 bits

IPRange	::=	CHOICE {
			v4range		SEQUENCE {
						start	INTEGER, -- 32 bits
						end	INTEGER } -- 32 bits
			v6range [0]	SEQUENCE {
						start	INTEGER, -- 128 bits
						end	INTEGER } } -- 128 bits
-- 
kivinen@safenet-inc.com


From owner-ipsec@lists.tislabs.com  Thu Jan 22 02:32:17 2004
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 CAA11997
	for <ipsec-archive@lists.ietf.org>; Thu, 22 Jan 2004 02:32:16 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id AAA09986
	Thu, 22 Jan 2004 00:05:23 -0500 (EST)
From: ravivsn@roc.co.in
X-Authentication-Warning: mail.roc.co.in: apache set sender to ravivsn@roc.co.in using -f
Message-ID: <64242.24.4.96.151.1074749112.squirrel@mail.roc.co.in>
Date: Thu, 22 Jan 2004 10:55:12 +0530 (IST)
Subject: Re: an SPD syntax example
To: <kent@bbn.com>
In-Reply-To: <p06020408bc348537cc7f@[128.89.89.75]>
References: <p06020408bc348537cc7f@[128.89.89.75]>
X-Priority: 3
Importance: Normal
Cc: <ipsec@lists.tislabs.com>
X-Mailer: SquirrelMail (version 1.2.10)
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk
Content-Transfer-Encoding: 8bit

> ---------
>
> SPD ::= SEQUENCE of SPDEntry
>
> SPDEntry ::= SET OF SelectorSet
>
> SelectorSet ::= SEQUENCE {
> 	sourceAddr	AddrList,
> 	destAddr	AddrList,
> 	protocol	INTEGER,	-- 8 bits
> 	next CHOICE {
> 		ports	SEQUENCE {
> 				SourcePort	INTEGER, -- 16 bits
> 				DestPort }	INTEGER, -- 16 bits
Range of ports can be allowed.

> 		mobilityHdr	INTEGER, -- 16 bits
> 		ICMP [0] SEQUENCE {
> 			type	INTEGER,	-- 8 bits
> 			code	INTEGER } }	-- 8 bits
>
> AddrList ::=  SET OF AddrOrList

It is better to make this as close to IKEv2 Traffic Selector as
possible. Based on that, each IP address range should be combined with
Protocol/Port Range. This ASN1 description seems to be creating a set with
multiple IP address ranges to a single Protocol and Port (Range).

AddrList ::= AddrOrRangeOrSubnet

>
> AddrOrList ::= CHOICE {
> 			iPAddr	IPaddr 	-- individual IP address
> 			range	IPRange} -- IP address range

Above should become
AddrOrRangeOrSubnet ::= CHOICE {
                         ipAddr IPaddr
                         range IPRange
                         subnet subNet
                      }
>
> IPaddr	::= CHOICE {
> 			v4Addr		INTEGER, -- 32 bits
> 			v6Addr [0] 	INTEGER } -- 128 bits
>
> IPRange	::=	CHOICE {
> 			v4range		SEQUENCE {
> 						start	INTEGER, -- 32 bits
> 						end	INTEGER } -- 32 bits
> 			v6range [0]	SEQUENCE {
> 						start	INTEGER, -- 128 bits
> 						end	INTEGER } } -- 128 bits

Internally, subnet and IPAddr should be converted to range, if IKEv2 is
used for key management.





From owner-ipsec@lists.tislabs.com  Thu Jan 22 11:36:37 2004
Received: from lists.tislabs.com (portal.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA27579
	for <ipsec-archive@lists.ietf.org>; Thu, 22 Jan 2004 11:36:32 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id IAA13393
	Thu, 22 Jan 2004 08:52:45 -0500 (EST)
Mime-Version: 1.0
X-Sender: kent@po2.bbn.com (Unverified)
Message-Id: <p0602040abc349252dee4@[128.89.89.75]>
In-Reply-To: <5.2.0.9.0.20040121115311.02b8c670@10.1.5.10>
References: <5.2.0.9.0.20040121115311.02b8c670@10.1.5.10>
Date: Wed, 21 Jan 2004 16:21:06 -0500
To: vamsi <vamsi@intotoinc.com>
From: Stephen Kent <kent@bbn.com>
Subject: Re: SPD name entries & IKE
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 12:13 -0800 1/21/04, vamsi wrote:
>Some implementation, including ours, identify the remote roaming 
>user by their ID (ID in certificate
>OR ID from the payload) and corresponding SPD policies are activated 
>upon phase1 completion.
>While activating the SPD policies, the Destiantion IP address of 
>outbound policies and Source IP address
>of corresponding incoming policies are changed to the remote user's 
>IP address (Source  IP of phase1 first message).
>Due to this, Quick Mode (QM) succeeds and finds the right SPD policy 
>by matching with the selectors.
>
>At the end of phase1 and phase2  SA termination and
>if no phase1 is initiated by remote client for some duration of 
>time, corresponding SPD policies are de-activated and go
>to dormant state.
>
>Due to this, I don't see any need for searching for SPD policy based 
>on symbolic name, during QM.
>It might offer other advantages, but for this scenario, I don't see the need.

Thanks for the explanation of how you resolve the ambiguity. A few 
details are missing from your description, so let me try to fill them 
in, and you can correct me if I guess wrong.

First, you said that you use the name from the payload (or cert 
Subject) to select an SPD entry. This suggests that a given ID always 
is used to select an named SPD entry, or never is used. (In the new 
model, the PAD is where this info could be maintained.) However, this 
is not a completely general solution, although it may be fine in many 
contexts. For example, if I use my laptop as a road warrior sometimes 
but as my desktop machine at other times (which is exactly what I do) 
I'll always be mapped to a name-based SPD entry. This might not 
always be the desired effect.

also, I'm focusing on IKEv2, not IKEv1, something I should have made 
clear in my message. your message seems to emphasize QM, and what I 
am looking to describe is a uniform mechanism, in the IKE v2 context.

Let's hear from other vendors to see if there is common approach we 
can describe in 2401bis, or if we need to do something new (for 
IKVv2).

Thanks,

Steve


From owner-ipsec@lists.tislabs.com  Thu Jan 22 13:38:42 2004
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 NAA03206
	for <ipsec-archive@lists.ietf.org>; Thu, 22 Jan 2004 13:38:38 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id KAA13971
	Thu, 22 Jan 2004 10:11:28 -0500 (EST)
Mime-Version: 1.0
X-Sender: kent@po2.bbn.com
Message-Id: <p06020401bc3599f84b81@[128.33.244.157]>
In-Reply-To: <64242.24.4.96.151.1074749112.squirrel@mail.roc.co.in>
References: <p06020408bc348537cc7f@[128.89.89.75]>
 <64242.24.4.96.151.1074749112.squirrel@mail.roc.co.in>
Date: Thu, 22 Jan 2004 10:20:32 -0500
To: ravivsn@roc.co.in
From: Stephen Kent <kent@bbn.com>
Subject: Re: an SPD syntax example
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

>
>
>It is better to make this as close to IKEv2 Traffic Selector as
>possible. Based on that, each IP address range should be combined with
>Protocol/Port Range. This ASN1 description seems to be creating a set with
>multiple IP address ranges to a single Protocol and Port (Range).


Good point. I'll change the syntax, and the 2401bis text to align 
with the IKEv2 proposal format more closely.  The effect is the same, 
ultimately, in terms of associating a set of values with the same SA.

>
>AddrList ::= AddrOrRangeOrSubnet
>
>>
>>  AddrOrList ::= CHOICE {
>>			iPAddr	IPaddr	-- individual IP address
>>			range	IPRange} -- IP address range
>
>Above should become
>AddrOrRangeOrSubnet ::= CHOICE {
>                          ipAddr IPaddr
>                          range IPRange
>                          subnet subNet
>                       }

I don't see a need to refer to subnets separately. ranges suffice.

>  >
>>  IPaddr	::= CHOICE {
>>			v4Addr		INTEGER, -- 32 bits
>>			v6Addr [0]	INTEGER } -- 128 bits
>>
>>  IPRange	::=	CHOICE {
>>			v4range		SEQUENCE {
>>						start	INTEGER, -- 32 bits
>>						end	INTEGER } -- 32 bits
>>			v6range [0]	SEQUENCE {
>>						start	INTEGER, -- 128 bits
>>						end	INTEGER } } -- 128 bits
>
>Internally, subnet and IPAddr should be converted to range, if IKEv2 is
>used for key management.

Yes, we ultimately convert to range for the selector payload.

Steve


From owner-ipsec@lists.tislabs.com  Thu Jan 22 18:36:43 2004
Received: from lists.tislabs.com (portal.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id SAA20229
	for <ipsec-archive@lists.ietf.org>; Thu, 22 Jan 2004 18:36:37 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id PAA16004
	Thu, 22 Jan 2004 15:25:35 -0500 (EST)
Message-Id: <5.2.0.9.0.20040122115843.00ac8150@10.1.5.10>
X-Sender: vamsi@10.1.5.10
X-Mailer: QUALCOMM Windows Eudora Version 5.2.0.9
Date: Thu, 22 Jan 2004 12:34:25 -0800
To: Stephen Kent <kent@bbn.com>
From: vamsi <vamsi@intotoinc.com>
Subject: Re: SPD name entries & IKE
Cc: ipsec@lists.tislabs.com
In-Reply-To: <p0602040abc349252dee4@[128.89.89.75]>
References: <5.2.0.9.0.20040121115311.02b8c670@10.1.5.10>
 <5.2.0.9.0.20040121115311.02b8c670@10.1.5.10>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk


Hi Steve,
     I understand the scenario which you described. You seem to indicate that
     you might use two different Identifications - One while using laptop 
as road warrior and
     another by Desktop. I understand that, proposed common name (named 
tag) can be used to
     identify set of policies in both of above cases. If my understanding 
is wrong, following
     text can be skipped.

     Typically, in this case, two different IDs can point to the same set 
of SPD policies.
     Thereby, access from laptop (road warrior) or desktop would give same 
security.

     What I observed is that, user specific SPD policies are activated, not 
only
     by IKE or extended authentication, but also by 802.1x based 
authentication and
     SSL based authentication. In later cases, even the IKE policies are 
associated
     with the user ID. Using user ID (Certificate Id or ID from ID paylaod) 
would be
     good to associate with any kind of policies and it provides uniform 
authorization.

     There is also one more point to be considered. If user ID is not used for
     SPD policy selection, impersonation may be possible. Consider, two 
employees
     with different access permissions are on road and accessing corporate
     resources. It would be possible for anybody to use any ''named tag' and
     get other employees access permissions to the corporate network, 
unless this
     'named tag'  itself  is authenticated.  Since, user ID is 
authenticated, same can
     be used to select the policies, including SPD policies.

     If some scenarios require this type of 'common name' , then I feel 
that it should be
     somehow associated with user ID OR it needs to authenticated.

Thanks
Vamsi
CTO Office
Intoto Inc.
www.intoto.com

At 04:21 PM 1/21/2004 -0500, Stephen Kent wrote:
>At 12:13 -0800 1/21/04, vamsi wrote:
>>Some implementation, including ours, identify the remote roaming user by 
>>their ID (ID in certificate
>>OR ID from the payload) and corresponding SPD policies are activated upon 
>>phase1 completion.
>>While activating the SPD policies, the Destiantion IP address of outbound 
>>policies and Source IP address
>>of corresponding incoming policies are changed to the remote user's IP 
>>address (Source  IP of phase1 first message).
>>Due to this, Quick Mode (QM) succeeds and finds the right SPD policy by 
>>matching with the selectors.
>>
>>At the end of phase1 and phase2  SA termination and
>>if no phase1 is initiated by remote client for some duration of time, 
>>corresponding SPD policies are de-activated and go
>>to dormant state.
>>
>>Due to this, I don't see any need for searching for SPD policy based on 
>>symbolic name, during QM.
>>It might offer other advantages, but for this scenario, I don't see the need.
>
>Thanks for the explanation of how you resolve the ambiguity. A few details 
>are missing from your description, so let me try to fill them in, and you 
>can correct me if I guess wrong.
>
>First, you said that you use the name from the payload (or cert Subject) 
>to select an SPD entry. This suggests that a given ID always is used to 
>select an named SPD entry, or never is used. (In the new model, the PAD is 
>where this info could be maintained.) However, this is not a completely 
>general solution, although it may be fine in many contexts. For example, 
>if I use my laptop as a road warrior sometimes but as my desktop machine 
>at other times (which is exactly what I do) I'll always be mapped to a 
>name-based SPD entry. This might not always be the desired effect.
>
>also, I'm focusing on IKEv2, not IKEv1, something I should have made clear 
>in my message. your message seems to emphasize QM, and what I am looking 
>to describe is a uniform mechanism, in the IKE v2 context.
>
>Let's hear from other vendors to see if there is common approach we can 
>describe in 2401bis, or if we need to do something new (for IKVv2).
>
>Thanks,
>
>Steve



From owner-ipsec@lists.tislabs.com  Thu Jan 22 21:03:56 2004
Received: from lists.tislabs.com (portal.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id VAA24651
	for <ipsec-archive@lists.ietf.org>; Thu, 22 Jan 2004 21:03:50 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id SAA17036
	Thu, 22 Jan 2004 18:43:23 -0500 (EST)
Message-Id: <5.2.0.9.0.20040122150714.030cedc8@10.1.5.10>
X-Sender: vamsi@10.1.5.10
X-Mailer: QUALCOMM Windows Eudora Version 5.2.0.9
Date: Thu, 22 Jan 2004 15:38:43 -0800
To: Stephen Kent <kent@bbn.com>, ravivsn@roc.co.in
From: vamsi <vamsi@intotoinc.com>
Subject: Re: an SPD syntax example
Cc: <ipsec@lists.tislabs.com>
In-Reply-To: <p06020401bc3599f84b81@[128.33.244.157]>
References: <64242.24.4.96.151.1074749112.squirrel@mail.roc.co.in>
 <p06020408bc348537cc7f@[128.89.89.75]>
 <64242.24.4.96.151.1074749112.squirrel@mail.roc.co.in>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk


Hi,
    I felt that original SPD syntax is good, which provides very good
    flexibility and ease of administering the policies in large enterprise
    environments.

    Consider that, there are 50 discrete subnets in an organization and
    the security needs to be applied for port 25, port 80 and port 110.
    With the original approach (ASN1), proposed by Steve, it only requires
    configuration of 50 ranges of IP addresses, 3 ranges of Ports and
    put them in one Selector list.

    If we go by approach suggested by 'Ravi', configuration of 150
    selector lists need to be created. This problem compounds when the
    remote site has multiple discrete subnets. Consider that, remote site
    has 20 subnets and that requires 3000 Selectors lists at the local end.

    Due to this, I feel, original ASN1 text, with some minor modification
    would be good.

SPD ::= SEQUENCE of SPDEntry

SPDEntry ::= SET OF SelectorSet

SelectorSet ::= SEQUENCE {
         sourceAddr      AddrList,
         destAddr        AddrList,
         protocol        INTEGER,        -- 8 bits
           sourcePort   srcPorts,
           destPort       dstPorts
         }

AddrList ::=  SET OF AddrOrList

AddrOrList ::= CHOICE {
                         iPAddr  IPaddr  -- individual IP address
                         range   IPRange} -- IP address range

srcPorts :=  SET OF Ports

Ports :=  SEQUENCE OF {
                    startPort  start
                    endPort    end
               }
   Note: For clarity, I took ICMP part away.

If we go with this approach, some changes to 'Traffic Selector' in IKEv2 
are required.
It means that, each traffic Selector should be able to accommodate
        Number of IP address ranges
        <all IP address ranges>
         Protocol
         Number of Port ranges
         <all Port ranges>

thoughts?


Thanks
Vamsi
CTO Office
www.intoto.com


At 10:20 AM 1/22/2004 -0500, Stephen Kent wrote:


>>It is better to make this as close to IKEv2 Traffic Selector as
>>possible. Based on that, each IP address range should be combined with
>>Protocol/Port Range. This ASN1 description seems to be creating a set with
>>multiple IP address ranges to a single Protocol and Port (Range).
>
>
>Good point. I'll change the syntax, and the 2401bis text to align with the 
>IKEv2 proposal format more closely.  The effect is the same, ultimately, 
>in terms of associating a set of values with the same SA.
>
>>
>>AddrList ::= AddrOrRangeOrSubnet
>>
>>>
>>>  AddrOrList ::= CHOICE {
>>>                         iPAddr  IPaddr  -- individual IP address
>>>                         range   IPRange} -- IP address range
>>
>>Above should become
>>AddrOrRangeOrSubnet ::= CHOICE {
>>                          ipAddr IPaddr
>>                          range IPRange
>>                          subnet subNet
>>                       }
>
>I don't see a need to refer to subnets separately. ranges suffice.
>
>>  >
>>>  IPaddr ::= CHOICE {
>>>                         v4Addr          INTEGER, -- 32 bits
>>>                         v6Addr [0]      INTEGER } -- 128 bits
>>>
>>>  IPRange        ::=     CHOICE {
>>>                         v4range         SEQUENCE {
>>>                                                 start   INTEGER, -- 32 bits
>>>                                                 end     INTEGER } -- 32 
>>> bits
>>>                         v6range [0]     SEQUENCE {
>>>                                                 start   INTEGER, -- 128 
>>> bits
>>>                                                 end     INTEGER } } -- 
>>> 128 bits
>>
>>Internally, subnet and IPAddr should be converted to range, if IKEv2 is
>>used for key management.
>
>Yes, we ultimately convert to range for the selector payload.
>
>Steve



From owner-ipsec@lists.tislabs.com  Thu Jan 22 23:05:22 2004
Received: from lists.tislabs.com (portal.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id XAA27971
	for <ipsec-archive@lists.ietf.org>; Thu, 22 Jan 2004 23:05:18 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id UAA17939
	Thu, 22 Jan 2004 20:43:45 -0500 (EST)
Mime-Version: 1.0
X-Sender: kent@localhost
Message-Id: <p06020402bc359b1b8fac@[128.33.244.157]>
In-Reply-To: <16399.12161.370070.285455@fireball.acr.fi>
References: <p06020408bc348537cc7f@[128.89.89.75]>
 <16399.12161.370070.285455@fireball.acr.fi>
Date: Thu, 22 Jan 2004 20:52:40 -0500
To: Tero Kivinen <kivinen@iki.fi>
From: Stephen Kent <kent@bbn.com>
Subject: Re: an SPD syntax example
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 4:03 +0200 1/22/04, Tero Kivinen wrote:
>Stephen Kent writes:
>>  Comments welcome, other than those arguing for use of another syntax :-)
>>
>>  SPD ::= SEQUENCE of SPDEntry
>>
>>  SPDEntry ::= SET OF SelectorSet
>>
>>  SelectorSet ::= SEQUENCE {
>>	sourceAddr	AddrList,
>>	destAddr	AddrList,
>
>Why are these AddrList types? Why not simply AddrOrList, or actually
>even better remove AddrList, AddrOrList, IPaddr and change this to
>IPRange, and add comment to IPRange saying that if start == end then
>it is single address (==IPaddr). As this is explaining the minimal
>SPD, I think it should really be minimal, and it should not do
>optimizations where we save 4/16 bytes by not expressing IPaddr as
>IPRange constructs, or by having less SelectorSets by allowing each
>list have list of ranges, instead of having multiple SelectorSets each
>having one range. The bad thing is that now we have two different ways
>to express same thing:

Good point.  We'll just refer to ranges, and note that a single 
address is a trivial range.

>
>SPDEntry = {
>	 SelectorSet = {
>		     sourceAddr = { 10.0.0.1, 10.0.0.5 }
>		     destAddr = { 10.0.2.1 }
>		     ... rest omitted
>	 }
>}
>
>and
>
>SPDEntry = {
>	 SelectorSet = {
>		     sourceAddr = { 10.0.0.1 }
>		     destAddr = { 10.0.2.1 }
>		     ... rest omitted
>	 }
>	 SelectorSet = {
>		     sourceAddr = { 10.0.0.5 }
>		     destAddr = { 10.0.2.1 }
>		     ... rest omitted
>	 }
>}
>
>of course when the number of items in the list grows then the
>combinatory explosion will create huge number of SPDEntry items, but
>on the other hand this is simply explaining minimal format for the
>SPD, real SPDs will propably have more compressed formats anyways.

right.  My goal here is just to better explain what the text was 
trying to say, and it is not trying to optimize the representation.

>
>In IKEv2 you still need to convert the IPaddr to IPRange before using
>it in the traffic selector.

right, and the other suggestion we received pointed this out.  We'll 
remind folks that the admin interface can use various syntactic 
options to make it easier, even though a list of ranges is all one 
needs and it is precisely what IKEv2 sends.

>Also in the IKEv2 there is no construct of AddrList at all, we have
>two lists (source and destination) of Traffic Selectors (==
>SelectorSet), each having on start and end addresses (IPRange), and
>port range.
>
>Because in the IKEv2 we do have separate source and destination lists,
>it will remove the combinatory explosion, thus the same example can be
>expressed as (using the format described in the end of this email):

yes, but the SPD is also used to represent bypass and discard access 
controls.  So, maybe we need to define two classes of entries, one 
for IPsec SA creation and one for bypass/discard, where the IKE 
selector payload conventions do not apply. Also, the PFP flag is not 
in this syntax, yet, and it does need to be in the syntax for the 
former class of SPD entries, even though it is not sent in the IKE 
payload.

>SPDEntry = {
>	 source = {
>		TrafficSelector = { Addr = 10.0.0.1-10.0.0.1, ... }
>		TrafficSelector = { Addr = 10.0.0.5-10.0.0.5, ... }
>	 }
>	 destination = {
>		TrafficSelector = { Addr = 10.0.2.1-10.0.2.1, ... }
>	 }
>}
>
>>	protocol	INTEGER,	-- 8 bits
>>	next CHOICE {
>>		ports	SEQUENCE {
>>				SourcePort	INTEGER, -- 16 bits
>>				DestPort }	INTEGER, -- 16 bits
>
>This should be range of ports not single port. IKEv2 allows port
>ranges.

I'm confused. In the current version of IKE (12), section 3.13.1 
describes the Traffic Selector format. It consists of one byte for 
the protocol, not a range, with 0 being the way to indicate ANY. It 
defines a range for ports (directional) and a range for addresses 
(directional). This structure can be repeated multiple times in the 
payload. did this change in the latest version?

>
>>		mobilityHdr	INTEGER, -- 16 bits
>
>This is not yet negotiable by the IKEv2.

it needs to be, and it can be represented using the port fields.

>
>>		ICMP [0] SEQUENCE {
>  >			type	INTEGER,	-- 8 bits
>>			code	INTEGER } }	-- 8 bits
>
>This is also type and code range in IKEv2. Also one closing } is
>missing (matchintg the SelectorSet sequence).

I agree that IKE allows this, but I think it is a bad idea. In 
general it does not make sense to list a range of types for which a 
range of codes is applicable, since codes are interpreted for each 
type differently. It's not like UDP, TCP, and SCTP, where all the 
well known ports are interpreted in the same way for each protocol. 
Yes, it is syntactically possible to list ranges here, but is it a 
good idea? We do have a problem in that the value 0 is assigned to 
echo reply, so we can't use that value to indicate ANY. maybe the 
best solution here is to say that the ICMP Type and Code range MUST 
be trivial, unless we want to signal ANY, in which case the range 
MUST be 0-255.

>
>>  AddrList ::=  SET OF AddrOrList
>
>This is not possible in the IKEv2. I assume this is union of all
>ranges, and this can be combined with any source and destination
>pairs?
>
>>  AddrOrList ::= CHOICE {
>>			iPAddr	IPaddr	-- individual IP address
>>			range	IPRange} -- IP address range
>>
>>  IPaddr	::= CHOICE {
>>			v4Addr		INTEGER, -- 32 bits
>>			v6Addr [0]	INTEGER } -- 128 bits
>  >
>>  IPRange	::=	CHOICE {
>>			v4range		SEQUENCE {
>>						start	INTEGER, -- 32 bits
>>						end	INTEGER } -- 32 bits
>>			v6range [0]	SEQUENCE {
>>						start	INTEGER, -- 128 bits
>>						end	INTEGER } } -- 128 bits
>
>Using same syntax the actual TrafficSelector which can be expressed in
>the IKEv2 is:
>
>SPD ::= SEQUENCE of SPDEntry			-- List of SPD Entries
>
>SPDEntry ::= SEQUENCE {				-- Each entry 
>consist of
>	source		TrafficSelectorList,	-- source and
>	destination	TrafficSelectorList }	-- destination selectorlists
>
>TrafficSelectorList ::= SET OF TrafficSelector	-- Each selectorList
>						-- is list of selectors
>
>TrafficSelector ::= SEQUENCE {			-- either source or
>						-- destination selector
>	Addr		IPRange,
>	protocol	INTEGER,	-- 8 bits
>	next CHOICE {
>		ports	SEQUENCE {
>				portStart	INTEGER, -- 16 bits
>				portEnd }	INTEGER, -- 16 bits
>		ICMP [0] SEQUENCE {
>			typeStart	INTEGER,	-- 8 bits
>			codeStart	INTEGER,	-- 8 bits
>			typeEnd		INTEGER,	-- 8 bits
>			codeEnd		INTEGER } } }	-- 8 bits
>
>IPRange	::=	CHOICE {
>			v4range		SEQUENCE {
>						start	INTEGER, -- 32 bits
>						end	INTEGER } -- 32 bits
>			v6range [0]	SEQUENCE {
>						start	INTEGER, -- 128 bits
>						end	INTEGER } } -- 128 bits

I like the more compact syntax, but we need to resolve the 
disagreement about the protocol field representation in IKE, and 
maybe adopt the conventions re ICMP type/code values. We also need 
text to accommodate the mobility header support. Plus, I need to add 
in the PFP flag, and create a separate entry type for bypass/discard.

I'll take another cut at this at the start of next week.

Thanks for all the feedback.

Steve


From owner-ipsec@lists.tislabs.com  Thu Jan 22 23:15:02 2004
Received: from lists.tislabs.com (portal.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id XAA28086
	for <ipsec-archive@lists.ietf.org>; Thu, 22 Jan 2004 23:15:02 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id VAA18241
	Thu, 22 Jan 2004 21:21:32 -0500 (EST)
X-Authentication-Warning: fireball.acr.fi: kivinen set sender to kivinen@iki.fi using -f
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <16400.34743.209954.305559@fireball.acr.fi>
Date: Fri, 23 Jan 2004 04:32:23 +0200
From: Tero Kivinen <kivinen@iki.fi>
To: Stephen Kent <kent@bbn.com>
Cc: ipsec@lists.tislabs.com
Subject: Re: an SPD syntax example
In-Reply-To: <p06020402bc359b1b8fac@[128.33.244.157]>
References: <p06020408bc348537cc7f@[128.89.89.75]>
	<16399.12161.370070.285455@fireball.acr.fi>
	<p06020402bc359b1b8fac@[128.33.244.157]>
X-Mailer: VM 7.17 under Emacs 21.3.1
Organization: Helsinki University of Technology
X-Edit-Time: 10 min
X-Total-Time: 10 min
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk
Content-Transfer-Encoding: 7bit

Stephen Kent writes:
> >Because in the IKEv2 we do have separate source and destination lists,
> >it will remove the combinatory explosion, thus the same example can be
> >expressed as (using the format described in the end of this email):
> 
> yes, but the SPD is also used to represent bypass and discard access 
> controls.  So, maybe we need to define two classes of entries, one 
> for IPsec SA creation and one for bypass/discard, where the IKE 
> selector payload conventions do not apply. Also, the PFP flag is not 

I do not see need for that. In the IKEv2 format there is source and
destination addresses and ports tied to together under one SPDEntry.
The difference is that the SPD entry consist of two items, one listing
list of source addresses and ports and another listing list of
destination addresses and ports. In your approach the SPD entry
contains list of items each having both source and destination
address.

What is the problem with the IKEv2 style format when using bypass and
discard items?

> >>	protocol	INTEGER,	-- 8 bits
> >>	next CHOICE {
> >>		ports	SEQUENCE {
> >>				SourcePort	INTEGER, -- 16 bits
> >>				DestPort }	INTEGER, -- 16 bits
> >
> >This should be range of ports not single port. IKEv2 allows port
> >ranges.
> 
> I'm confused. In the current version of IKE (12), section 3.13.1 
> describes the Traffic Selector format. It consists of one byte for 
> the protocol, not a range, with 0 being the way to indicate ANY. It 

I said range of PORTS, not range of protocols. The protocol is not
range, it is always only one single value or ANY, and if ANY is used
then port numbers are not used (there is no point using port range as
the usage of the port fields depends on the protocol). 

> defines a range for ports (directional) and a range for addresses 
> (directional). This structure can be repeated multiple times in the 
> payload. did this change in the latest version?

No.

> >>		mobilityHdr	INTEGER, -- 16 bits
> >
> >This is not yet negotiable by the IKEv2.
> 
> it needs to be, and it can be represented using the port fields.

Hmmm.. so we need to add some more text to the IKEv2?

> >
> >>		ICMP [0] SEQUENCE {
> >  >			type	INTEGER,	-- 8 bits
> >>			code	INTEGER } }	-- 8 bits
> >
> >This is also type and code range in IKEv2. Also one closing } is
> >missing (matchintg the SelectorSet sequence).
> 
> I agree that IKE allows this, but I think it is a bad idea. In 
> general it does not make sense to list a range of types for which a 
> range of codes is applicable, since codes are interpreted for each 
> type differently. It's not like UDP, TCP, and SCTP, where all the 
> well known ports are interpreted in the same way for each protocol. 
> Yes, it is syntactically possible to list ranges here, but is it a 
> good idea? We do have a problem in that the value 0 is assigned to 
> echo reply, so we can't use that value to indicate ANY. maybe the 
> best solution here is to say that the ICMP Type and Code range MUST 
> be trivial, unless we want to signal ANY, in which case the range 
> MUST be 0-255.

The reason IKEv2 allows ranges also in the ICMP types is to allow
saying allow ICMP 3/0 - 3/3 (type/code), i.e allow ICMP
NET/HOST/PROTOCOL/PORT unreachable, but do not allow NEEDFRAG, source
route failed etc. Or to allow 3/0 - 3/13 meaning any known ICMP
unreachable erros. Note, that in most cases the code 0 is reserved,
thus it cannot be used as special ANY value.
-- 
kivinen@safenet-inc.com


From owner-ipsec@lists.tislabs.com  Thu Jan 22 23:42:10 2004
Received: from lists.tislabs.com (portal.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id XAA28772
	for <ipsec-archive@lists.ietf.org>; Thu, 22 Jan 2004 23:42:09 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id VAA18287
	Thu, 22 Jan 2004 21:26:19 -0500 (EST)
X-Authentication-Warning: fireball.acr.fi: kivinen set sender to kivinen@iki.fi using -f
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <16400.35031.3820.931112@fireball.acr.fi>
Date: Fri, 23 Jan 2004 04:37:11 +0200
From: Tero Kivinen <kivinen@iki.fi>
To: vamsi <vamsi@intotoinc.com>
Cc: Stephen Kent <kent@bbn.com>, ravivsn@roc.co.in, <ipsec@lists.tislabs.com>
Subject: Re: an SPD syntax example
In-Reply-To: <5.2.0.9.0.20040122150714.030cedc8@10.1.5.10>
References: <64242.24.4.96.151.1074749112.squirrel@mail.roc.co.in>
	<p06020408bc348537cc7f@[128.89.89.75]>
	<5.2.0.9.0.20040122150714.030cedc8@10.1.5.10>
X-Mailer: VM 7.17 under Emacs 21.3.1
Organization: Helsinki University of Technology
X-Edit-Time: 4 min
X-Total-Time: 3 min
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk
Content-Transfer-Encoding: 7bit

vamsi writes:
>     I felt that original SPD syntax is good, which provides very good
>     flexibility and ease of administering the policies in large enterprise
>     environments.

The SPD format described in the RFC2401bis is going to be example SPD,
which gives out the minimal requirements for the SPD to support.
Implementations can implement any kind of compressed / optimized SPDs
as long as they can express same thing that the minimalistic example
SPD in the RFC2401bis can express. 

>     Consider that, there are 50 discrete subnets in an organization and
>     the security needs to be applied for port 25, port 80 and port 110.
>     With the original approach (ASN1), proposed by Steve, it only requires
>     configuration of 50 ranges of IP addresses, 3 ranges of Ports and
>     put them in one Selector list.

So implement it as subnets and compressed source and destination
addresses. You can still "convert" that to the basic format meaning,
that anyone from the outside cannot really see which format you are
using. 

> If we go with this approach, some changes to 'Traffic Selector' in IKEv2 
> are required.
> It means that, each traffic Selector should be able to accommodate
>         Number of IP address ranges
>         <all IP address ranges>
>          Protocol
>          Number of Port ranges
>          <all Port ranges>

No. I think it is way too late to make that kind of changes to IKEv2,
and also I think the current format is so much simplier and easier to
parse, that we can live with the few extra bytes for that kind of
cases. 
-- 
kivinen@safenet-inc.com


From owner-ipsec@lists.tislabs.com  Fri Jan 23 00:10:19 2004
Received: from lists.tislabs.com (portal.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id AAA29240
	for <ipsec-archive@lists.ietf.org>; Fri, 23 Jan 2004 00:10:15 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id VAA18397
	Thu, 22 Jan 2004 21:40:33 -0500 (EST)
Mime-Version: 1.0
X-Sender: kent@localhost
Message-Id: <p06020400bc363a4646e3@[216.88.16.119]>
In-Reply-To: <16400.34743.209954.305559@fireball.acr.fi>
References: <p06020408bc348537cc7f@[128.89.89.75]>
 <16399.12161.370070.285455@fireball.acr.fi>
 <p06020402bc359b1b8fac@[128.33.244.157]>
 <16400.34743.209954.305559@fireball.acr.fi>
Date: Thu, 22 Jan 2004 21:45:43 -0500
To: Tero Kivinen <kivinen@iki.fi>
From: Stephen Kent <kent@bbn.com>
Subject: Re: an SPD syntax example
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 4:32 +0200 1/23/04, Tero Kivinen wrote:
>Stephen Kent writes:
>>  >Because in the IKEv2 we do have separate source and destination lists,
>>  >it will remove the combinatory explosion, thus the same example can be
>>  >expressed as (using the format described in the end of this email):
>>
>>  yes, but the SPD is also used to represent bypass and discard access
>>  controls.  So, maybe we need to define two classes of entries, one
>>  for IPsec SA creation and one for bypass/discard, where the IKE
>>  selector payload conventions do not apply. Also, the PFP flag is not
>
>I do not see need for that. In the IKEv2 format there is source and
>destination addresses and ports tied to together under one SPDEntry.
>The difference is that the SPD entry consist of two items, one listing
>list of source addresses and ports and another listing list of
>destination addresses and ports. In your approach the SPD entry
>contains list of items each having both source and destination
>address.

i was not suggesting that the original synatx was right, just that 
there are syntactic differences between what IKE assumes and what one 
might choose to do for non-SA SPD entries. For example, IKE assumes 
thet the source and destination addresses and ports are flipped re 
directional authorization, something that one need not do for 
bypass/discard entries.

>
>What is the problem with the IKEv2 style format when using bypass and
>discard items?
>
>>  >>	protocol	INTEGER,	-- 8 bits
>>  >>	next CHOICE {
>>  >>		ports	SEQUENCE {
>>  >>				SourcePort	INTEGER, -- 16 bits
>>  >>				DestPort }	INTEGER, -- 16 bits
>>  >
>>  >This should be range of ports not single port. IKEv2 allows port
>>  >ranges.
>>
>>  I'm confused. In the current version of IKE (12), section 3.13.1
>>  describes the Traffic Selector format. It consists of one byte for
>>  the protocol, not a range, with 0 being the way to indicate ANY. It
>
>I said range of PORTS, not range of protocols. The protocol is not
>range, it is always only one single value or ANY, and if ANY is used
>then port numbers are not used (there is no point using port range as
>the usage of the port fields depends on the protocol).

Sorry, I misread your text. Yes, ports are ranges.

>
>>  defines a range for ports (directional) and a range for addresses
>>  (directional). This structure can be repeated multiple times in the
>>  payload. did this change in the latest version?
>
>No.
>
>>  >>		mobilityHdr	INTEGER, -- 16 bits
>>  >
>>  >This is not yet negotiable by the IKEv2.
>>
>>  it needs to be, and it can be represented using the port fields.
>
>Hmmm.. so we need to add some more text to the IKEv2?

yes.

>
>>  >
>>  >>		ICMP [0] SEQUENCE {
>>  >  >			type	INTEGER,	-- 8 bits
>>  >>			code	INTEGER } }	-- 8 bits
>>  >
>>  >This is also type and code range in IKEv2. Also one closing } is
>>  >missing (matchintg the SelectorSet sequence).
>>
>>  I agree that IKE allows this, but I think it is a bad idea. In
>>  general it does not make sense to list a range of types for which a
>>  range of codes is applicable, since codes are interpreted for each
>>  type differently. It's not like UDP, TCP, and SCTP, where all the
>>  well known ports are interpreted in the same way for each protocol.
>>  Yes, it is syntactically possible to list ranges here, but is it a
>>  good idea? We do have a problem in that the value 0 is assigned to
>>  echo reply, so we can't use that value to indicate ANY. maybe the
>>  best solution here is to say that the ICMP Type and Code range MUST
>>  be trivial, unless we want to signal ANY, in which case the range
>>  MUST be 0-255.
>
>The reason IKEv2 allows ranges also in the ICMP types is to allow
>saying allow ICMP 3/0 - 3/3 (type/code), i.e allow ICMP
>NET/HOST/PROTOCOL/PORT unreachable, but do not allow NEEDFRAG, source
>route failed etc. Or to allow 3/0 - 3/13 meaning any known ICMP
>unreachable erros. Note, that in most cases the code 0 is reserved,
>thus it cannot be used as special ANY value.
>-

This works only in some cases, like the example you cite above, but 
not generally.  I think it a bad idea to suggest use of a syntax that 
makes sense only in some cases, maybe only for the case of 
destination unreachable.

Steve


From owner-ipsec@lists.tislabs.com  Fri Jan 23 22:59:45 2004
Received: from lists.tislabs.com (portal.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id WAA10316
	for <ipsec-archive@lists.ietf.org>; Fri, 23 Jan 2004 22:59:44 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id UAA26500
	Fri, 23 Jan 2004 20:00:13 -0500 (EST)
From: ravivsn@roc.co.in
X-Authentication-Warning: mail.roc.co.in: apache set sender to ravivsn@roc.co.in using -f
Message-ID: <62237.24.4.96.151.1074907273.squirrel@mail.roc.co.in>
Date: Sat, 24 Jan 2004 06:51:13 +0530 (IST)
Subject: Re: SPD Syntax Example
To: <ipsec@lists.tislabs.com>
X-Priority: 3
Importance: Normal
X-Mailer: SquirrelMail (version 1.2.10)
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk
Content-Transfer-Encoding: 8bit


Hi,
  After some thinking, I also feel that providing kind of flexibility
  is good. It is really going to solve the problem
  of creating security tunnel between two sites, having multiple
  subnets, when combined with services.

  To support, this kind of flexibility, current TS is not good
  enough. Based on example given, 3000 Traffic Selectors need to
  be sent ( Did I get my math correct? ) which results to 40K of
  data in IKE message.

  I could think of two approaches.
  - Provide flexibility in TS, where IP address ranges represented
    independently from Port ranges.
  - TS payload carrying symbolic name

  I see that rfc2401bis talks about symbolic name and same can
  be sent in TS to facilitate this.

  I hope, IKEv2 can accommodate this.

Thanks
Ravi

----- Original Message -----
From: "Tero Kivinen" <kivinen@iki.fi>
To: "vamsi" <vamsi@intotoinc.com>
Cc: "Stephen Kent" <kent@bbn.com>; <ravivsn@roc.co.in>;
<ipsec@lists.tislabs.com>
Sent: Thursday, January 22, 2004 6:37 PM
Subject: Re: an SPD syntax example


> vamsi writes:
> >     I felt that original SPD syntax is good, which provides very good
> >     flexibility and ease of administering the policies in large
enterprise
> >     environments.
>
> The SPD format described in the RFC2401bis is going to be example SPD,
> which gives out the minimal requirements for the SPD to support.
> Implementations can implement any kind of compressed / optimized SPDs
> as long as they can express same thing that the minimalistic example
> SPD in the RFC2401bis can express.
>
> >     Consider that, there are 50 discrete subnets in an organization and
> >     the security needs to be applied for port 25, port 80 and port 110.
> >     With the original approach (ASN1), proposed by Steve, it only
requires
> >     configuration of 50 ranges of IP addresses, 3 ranges of Ports and
> >     put them in one Selector list.
>
> So implement it as subnets and compressed source and destination
> addresses. You can still "convert" that to the basic format meaning,
> that anyone from the outside cannot really see which format you are
> using.
>
> > If we go with this approach, some changes to 'Traffic Selector' in IKEv2
> > are required.
> > It means that, each traffic Selector should be able to accommodate
> >         Number of IP address ranges
> >         <all IP address ranges>
> >          Protocol
> >          Number of Port ranges
> >          <all Port ranges>
>
> No. I think it is way too late to make that kind of changes to IKEv2,
> and also I think the current format is so much simplier and easier to
> parse, that we can live with the few extra bytes for that kind of
> cases.
> --





From owner-ipsec@lists.tislabs.com  Sun Jan 25 04:49:14 2004
Received: from lists.tislabs.com (portal.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id EAA26630
	for <ipsec-archive@lists.ietf.org>; Sun, 25 Jan 2004 04:49:13 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id BAA05495
	Sun, 25 Jan 2004 01:57:07 -0500 (EST)
Message-ID: <20040125070819.54614.qmail@web21504.mail.yahoo.com>
Date: Sun, 25 Jan 2004 02:08:19 -0500 (EST)
From: Andrew Krywaniuk <ak_ipsec@yahoo.ca>
Subject: Re: SPD Syntax Example
To: ravivsn@roc.co.in, ipsec@lists.tislabs.com
In-Reply-To: <62237.24.4.96.151.1074907273.squirrel@mail.roc.co.in>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

>   After some thinking, I also feel that providing
> kind of flexibility
>   is good. It is really going to solve the problem
>   of creating security tunnel between two sites,
> having multiple
>   subnets, when combined with services.
> 
>   To support, this kind of flexibility, current TS
> is not good
>   enough. Based on example given, 3000 Traffic
> Selectors need to
>   be sent ( Did I get my math correct? ) which
> results to 40K of
>   data in IKE message.


A more relevant question might be why we need to have
this complicated selector negotiation at all. We could
save ourselves a lot of hassle by just letting each
party enforce their own policy at the firewall level.
This is an issue that was brought up on this list a
long time ago, and it's a shame that it didn't get
included in the IPsec/IKE redesign process.

As I remember it, the justification for this design
was that the SADB and the firewall might be located on
different physical devices. But come on... Raise your
hand if you are deploying an IPsec implementation that
is not integrated with a firewall. So the question is
why are we optimizing for the edge case, while
complicating the configuration of the average case.

-a


=====
Andrew Krywaniuk, Fortinet Technologies
Please *do not* reply to this address. (I will not read it)
Reply to askrywan..hotmail..com or my home address.

______________________________________________________________________ 
Post your free ad now! http://personals.yahoo.ca


From owner-ipsec@lists.tislabs.com  Mon Jan 26 12:05:58 2004
Received: from lists.tislabs.com (portal.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA13090
	for <ipsec-archive@lists.ietf.org>; Mon, 26 Jan 2004 12:05:58 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id JAA15974
	Mon, 26 Jan 2004 09:12:27 -0500 (EST)
Mime-Version: 1.0
X-Sender: kent@po2.bbn.com
Message-Id: <p06020401bc3ad24f52b1@[128.89.89.75]>
In-Reply-To: <20040125070819.54614.qmail@web21504.mail.yahoo.com>
References: <20040125070819.54614.qmail@web21504.mail.yahoo.com>
Date: Mon, 26 Jan 2004 09:22:06 -0500
To: Andrew Krywaniuk <ak_ipsec@yahoo.ca>
From: Stephen Kent <kent@bbn.com>
Subject: Re: SPD Syntax Example
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

Andrew,

We've had this discussion before, and I'd rather not revisit it.  If 
peers do not negotiate the selectors for an SA, interoperability 
problems arise.  We have experience with this happening today, 
because IKE v1 did not do as well as IKE v2 in this regard. For 
example, in IKE v2 the initiator sends the packet header info for the 
packet that triggers SA creation, to allow the responder more 
flexibility in finding a suitable SPD entry when peers have 
overlapping but not identical SPD entries.

Steve


From owner-ipsec@lists.tislabs.com  Mon Jan 26 12:34:12 2004
Received: from lists.tislabs.com (portal.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA13890
	for <ipsec-archive@lists.ietf.org>; Mon, 26 Jan 2004 12:34:11 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id JAA16213
	Mon, 26 Jan 2004 09:51:43 -0500 (EST)
Mime-Version: 1.0
X-Sender: kent@po2.bbn.com
Message-Id: <p06020402bc3ad9bd108d@[128.89.89.75]>
In-Reply-To: <62237.24.4.96.151.1074907273.squirrel@mail.roc.co.in>
References: <62237.24.4.96.151.1074907273.squirrel@mail.roc.co.in>
Date: Mon, 26 Jan 2004 09:53:43 -0500
To: ravivsn@roc.co.in
From: Stephen Kent <kent@bbn.com>
Subject: Re: SPD Syntax Example
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 6:51 +0530 1/24/04, ravivsn@roc.co.in wrote:
>Hi,
>   After some thinking, I also feel that providing kind of flexibility
>   is good. It is really going to solve the problem
>   of creating security tunnel between two sites, having multiple
>   subnets, when combined with services.
>
>   To support, this kind of flexibility, current TS is not good
>   enough. Based on example given, 3000 Traffic Selectors need to
>   be sent ( Did I get my math correct? ) which results to 40K of
>   data in IKE message.
>
>   I could think of two approaches.
>   - Provide flexibility in TS, where IP address ranges represented
>     independently from Port ranges.
>   - TS payload carrying symbolic name
>
>   I see that rfc2401bis talks about symbolic name and same can
>   be sent in TS to facilitate this.
>
>   I hope, IKEv2 can accommodate this.
>
>Thanks
>Ravi

Ravi,

Symbolc names are not sent in payloads.  Their use of very 
restricted.  We'll be explaining more about this in  an upcoming 
2401bis revision message.

I don't recall the example in detail, but it seems unlikely that, in 
practice. one would need to send such a big TS payload. We have 
ranges for addresses and one can express any subnet via a range, so 
the suggestion to add subnets as a separate type of selector 
specification adds no new functionality.

And, as others have mentioned, we're too far along in the process to 
make a change of the sort suggested.

Steve


From owner-ipsec@lists.tislabs.com  Mon Jan 26 19:03:43 2004
Received: from lists.tislabs.com (portal.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id TAA25418
	for <ipsec-archive@lists.ietf.org>; Mon, 26 Jan 2004 19:03:42 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id PAA18672
	Mon, 26 Jan 2004 15:32:34 -0500 (EST)
Mime-Version: 1.0
X-Sender: kent@po2.bbn.com
Message-Id: <p06020401bc363bb69d0a@[216.88.16.119]>
In-Reply-To: <5.2.0.9.0.20040122115843.00ac8150@10.1.5.10>
References: <5.2.0.9.0.20040121115311.02b8c670@10.1.5.10>
 <5.2.0.9.0.20040121115311.02b8c670@10.1.5.10>
 <5.2.0.9.0.20040122115843.00ac8150@10.1.5.10>
Date: Mon, 26 Jan 2004 15:39:41 -0500
To: vamsi <vamsi@intotoinc.com>
From: Stephen Kent <kent@bbn.com>
Subject: Re: SPD name entries & IKE
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 12:34 -0800 1/22/04, vamsi wrote:
>Hi Steve,
>     I understand the scenario which you described. You seem to indicate that
>     you might use two different Identifications - One while using 
>laptop as road warrior and
>     another by Desktop.


Not exactly right. What I said was that I might not want to be forced 
to do that. I might want to be able to use the same ID in both 
contexts, since I'm still ME, but be able to assert when the ID is 
used for SPD lookup, vs. when the IP address traffic selectors are 
used as the search keys.  However, maybe that is not a requirement; 
maybe I'm trying to be too flexible here. If everybody can live with 
a simple rule about when to use a name as the search key for SPD 
lookup, I'm happy and we will not need to make changes to IKE.

Note that the PAD, newly introduced in 2401bis, is a means to 
constraining the range of traffic selectors that is asserted by a 
peer, after the peer is authenticated. This addresses an issue Paul 
raised when he said:

>Looking at it a different way might help. In the presence of an 
>authenticator, why would the responder ever use the information in 
>the selector payloads? The authenticators are always externally 
>assured. If they are preshared keys, the act of presharing assures 
>both sides of the identities; if they are certs, the 
>mutually-trusted CA assures both sides that the identities in the 
>certs are valid. Selector payloads are just assertions by the 
>initiator of what they are supposed to have access to. Always using 
>the externally assured authenticators seems like a better idea.

The ID asserted in IKE should be used to locate a PAD entry that says 
how to verify the asserted identity, and that then says what 
constraints, of any, ought to be imposed on the peers traffic 
selector assertions, based on the authentication. So, for example, 
one could constrain the range of addresses (source or dest) that the 
peer asserts in traffic selector payloads that are passed for lookup 
in the SPD.

If we adopted Paul's suggestion, and always used a name for the ID, 
then one could always require using this ID to select SPD entries, 
which would allow one to impose constrains directly via the SPD 
entries.  I have no problem with this approach, and agree that it 
seems intrinsically more secure.

Also, if folks are not concerned about the restrictions imposed by 
always using the ID to select SPD entries (when acting as a 
responder), then maybe we can make minimal changes to the text to 
resolve this issue. For example, we could say that the PAD will 
indicate whether the ID asserted in the IKE ID payload is to be used 
for SPD lookup as a substitute for IP source or dest address, or 
whether the addresses from the traffic selector payload are used.

Steve


From owner-ipsec@lists.tislabs.com  Mon Jan 26 19:26:30 2004
Received: from lists.tislabs.com (portal.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id TAA26174
	for <ipsec-archive@lists.ietf.org>; Mon, 26 Jan 2004 19:26:30 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id QAA19488
	Mon, 26 Jan 2004 16:22:24 -0500 (EST)
Mime-Version: 1.0
X-Sender: kent@po2.bbn.com
Message-Id: <p0602041cbc3b33941f20@[128.89.89.75]>
Date: Mon, 26 Jan 2004 16:31:56 -0500
To: ipsec@lists.tislabs.com
From: Stephen Kent <kent@bbn.com>
Subject: next pass at SPD syntax
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,

I made changes based on suggestions from Tero, and added descriptions 
for drop/bypass entries vs. protect (IPsec) entries. I put in the PFP 
flags, which apply to ALL corresponding traffic selectors 
(directionally) in an entry, or to none, for simplicity. I also put 
in Names, for matching against the IKE ID payload, plus the 
parameters needed to define the protection afforded IPsec SAs (mode, 
sequence number size, protocol, and algorithms).

Steve
-------


SPD ::= SEQUENCE of SPDEntry			-- List of SPD Entries

SPDEntry ::=	CHOICE (
			iPsecEntry	IPsecEntry, -- protect traffic
			bypassOrDrop	BypassOrDropEntry } -- drop/bypass

IpsecEntry ::=  SEQUENCE {		-- Each entry consist of
	name		SET OF GeneralName OPTIONAL,
				--  for matching against IKE ID payload
	source		TrafficSelectorList,	-- source and
	destination	TrafficSelectorList,	-- destination selector lists
	processing	SEQUENCE {
				mode	BOOELAN,
					 -- TRUE = transport, FALSE = tunnel
				extSeqNum	BOOLEAN,
					 -- TRUE = 64 bit, FALSE = 32 bit
				CHOICE {
					aH	integrityAlgs,
					eSP	SEQUENCE {
						integrityAlgs,
						confidentialityAlgs} } }

BypassOrDropEntry ::= SEQUENCE {
	action		BOOLEAN,	-- TRUE = bypass, FALSE = drop
	outbound  [0]	SelectorList,	OPTIONAL, -- both may be present
	inbound   [1]	SelectorList 	OPTIONAL ) -- or just one of them


TrafficSelectorList ::= SET OF SEQUENCE {
		pFP	BIT STRING {
			-- applies to ALL of the corresponding 
traffic selectors
		addrFlag		(0),
		protocolFlag		(1),
		portFlag		(2) }
		trafficSelector		TrafficSelector }


TrafficSelector ::= SEQUENCE {
			-- either source or destination selector
		addr		IPRange,
		protocol	INTEGER,	-- 8 bits
		next CHOICE {
			ports	SEQUENCE {
				portStart	INTEGER, -- 16 bits
				portEnd }	INTEGER, -- 16 bits
			mobilityHeader	INTEGER, -- 16 bits
			ICMP [0] SEQUENCE {
				typeStart	INTEGER,	-- 8 bits
				codeStart	INTEGER,	-- 8 bits
				typeEnd		INTEGER,	-- 8 bits
				codeEnd		INTEGER } } }	-- 8 bits

SeletorList ::= SEQUENCE {
		source		Addr
		destination	Addr
		protocol	INTEGER  -- 8 bits
		next CHOICE {
			ports	SEQUENCE {
				portStart	INTEGER, -- 16 bits
				portEnd }	INTEGER, -- 16 bits
			mobilityHeader	INTEGER, -- 16 bits
			ICMP [0] SEQUENCE {
				typeStart	INTEGER, -- 8 bits
				codeStart	INTEGER, -- 8 bits
				typeEnd		INTEGER, -- 8 bits
				codeEnd		INTEGER } } } -- 8 bits


IPRange	::=	CHOICE {
			v4range		SEQUENCE {
						start	INTEGER, -- 32 bits
						end	INTEGER } -- 32 bits
			v6range [0]	SEQUENCE {
						start	INTEGER, -- 128 bits
						end	INTEGER } } -- 128 bits

IntegrityAlgs ::= 	SEQUENCE OF AlgorithmIdentifier - list 
ordered by preference
ConfidentialityAlgs ::=	SEQUENCE OF AlgorithmIdentifier - list 
ordered by preference

AlgorithmIdentifier  ::=  SEQUENCE  {
         algorithm               OBJECT IDENTIFIER,
         parameters              ANY DEFINED BY algorithm OPTIONAL  }


From owner-ipsec@lists.tislabs.com  Tue Jan 27 06:44:11 2004
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 GAA00775
	for <ipsec-archive@lists.ietf.org>; Tue, 27 Jan 2004 06:44:11 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id CAA01514
	Tue, 27 Jan 2004 02:25:36 -0500 (EST)
From: juha.ollila@nokia.com
X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Subject: RE: an SPD syntax example
Date: Tue, 27 Jan 2004 09:36:50 +0200
Message-ID: <B49318639A71D3418DC1005FD40B3610E02B8E@ouebe005.ntc.nokia.com>
Thread-Topic: an SPD syntax example
Thread-Index: AcPgkKqrzvKFj46URY2UoUZwioRxjgEFjZFw
To: <ipsec@lists.tislabs.com>
X-OriginalArrivalTime: 27 Jan 2004 07:36:50.0562 (UTC) FILETIME=[53A75620:01C3E4A8]
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by lists.tislabs.com id CAA01510
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk
Content-Transfer-Encoding: 8bit

> Tero Kivinen writes:
> 
> Stephen Kent writes:
> > Comments welcome, other than those arguing for use of 
> another syntax :-)
> > 
> > SPD ::= SEQUENCE of SPDEntry
> > 
> > SPDEntry ::= SET OF SelectorSet
> > 
> > SelectorSet ::= SEQUENCE {
> > 	sourceAddr	AddrList,
> > 	destAddr	AddrList,
> 
> Why are these AddrList types? Why not simply AddrOrList, or actually
> even better remove AddrList, AddrOrList, IPaddr and change this to
> IPRange, and add comment to IPRange saying that if start == end then
> it is single address (==IPaddr). As this is explaining the minimal
> SPD, I think it should really be minimal, and it should not do
> optimizations where we save 4/16 bytes by not expressing IPaddr as
> IPRange constructs, or by having less SelectorSets by allowing each
> list have list of ranges, instead of having multiple SelectorSets each
> having one range. The bad thing is that now we have two different ways
> to express same thing:
> 

What about the SCTP support? IPrange is not enough if
the implementation supports SCTP.

BR,
Juha Ollila


From owner-ipsec@lists.tislabs.com  Tue Jan 27 14:24:22 2004
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 OAA19045
	for <ipsec-archive@lists.ietf.org>; Tue, 27 Jan 2004 14:24:16 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id JAA03741
	Tue, 27 Jan 2004 09:13:35 -0500 (EST)
Mime-Version: 1.0
X-Sender: kent@po2.bbn.com
Message-Id: <p06020405bc3c22158e6e@[128.89.89.75]>
In-Reply-To: <20040127090032.88343.qmail@web21501.mail.yahoo.com>
References: <20040127090032.88343.qmail@web21501.mail.yahoo.com>
Date: Tue, 27 Jan 2004 09:21:32 -0500
To: Andrew Krywaniuk <ak_ipsec@yahoo.ca>
From: Stephen Kent <kent@bbn.com>
Subject: Re: SPD Syntax Example
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 4:00 -0500 1/27/04, Andrew Krywaniuk wrote:
>  > We've had this discussion before, and I'd rather not
>>  revisit it. 
>
>Right, we've had this discussion before, and it seemed
>that the change was always out of scope because
>changing the IPsec architecture was not allowed when
>we were redesigning IKE. However, now we are changing
>the IPsec architecture as well.

We have differing views of what is open for debate now. what we are 
doing is providing a more flexible capability re defining what 
traffic is mapped to a given SA, something that was clearly agreed 
upon when we decided, as a WG, to add the current set of traffic 
selector negotiation features to IKE v2.

>  > If
>>  peers do not negotiate the selectors for an SA,
>>  interoperability
>>  problems arise.
>
>Funny... my impression has been the exact opposite.
>It's hard to have an interoperability problem when you
>simply drop packets you do not allow (or send ICMP
>unreachable if that is your policy). It's very easy to
>have an interop problem when you need to negotiate
>selectors that have to be exactly synchronized on both
>sides.

maybe we just have different views of what interperability means. I 
don't think interop is achieved if one peer sends traffic that the 
other peer drops, without any advance notice. a major goal of the 
traffic selector negotiation is to determine in advance whether 
communication will be allowed for proposed traffic flows. that has 
always been the case.  we are not changing it in 2401bis.

>
>>  We have experience with this
>>  happening today,
>>  because IKE v1 did not do as well as IKE v2 in this
>>  regard.
>
>Correct. IKEv1 did an okay job of negotiating
>selectors between routers, but a lousy job of
>negotiating selectors between firewalls. IKEv2 is
>better, but it is still much more complicated than it
>needs to be. And it misses the model for matching
>policies. (that policy should be enforced/dictated,
>not negotiated)

Between IKE v2 and 2401bis we hope to provide a much better 
description of how to match traffic selector payload, and offered 
traffic, against SPD entries.

>
>>  For
>>  example, in IKE v2 the initiator sends the packet
>>  header info for the
>>  packet that triggers SA creation, to allow the
>>  responder more
>>  flexibility in finding a suitable SPD entry when
>>  peers have
>>  overlapping but not identical SPD entries.
>
>And then what happens when B needs to send a packet
>that matches B's selectors from B's policy for A's
>original packet, but not A's selectors from A's
>policy. And then what happens when it comes time for A
>to rekey?

I believe a goal of IKE v2 is to better allow A and B to determine 
where the policies overlap, to reduce the likelihood of the sort of 
potential problems you cite, which not requiring exact matches 
between the SPD entries for A & B.

Steve


From owner-ipsec@lists.tislabs.com  Wed Jan 28 07:05:28 2004
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 HAA27286
	for <ipsec-archive@lists.ietf.org>; Wed, 28 Jan 2004 07:05:28 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id DAA01959
	Wed, 28 Jan 2004 03:26:48 -0500 (EST)
To: kseo@bbn.com, ipsec@lists.tislabs.com
Subject: Issue #88: Lift the prohibition on red-side fragmentation by SG, BITS, BITW
From: "Theodore Ts'o" <tytso@mit.edu>
Phone: (781) 391-3464
Message-Id: <E1Alazs-00068T-GK@thunk.org>
Date: Tue, 27 Jan 2004 16:43:48 -0500
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/>.
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

Hi Karen,

While reviewing draft-ietf-ipsec-rfc2401bis-01.txt, it appears that
the text that was inserted for issue #88:

     An SG, BITS, or BITW implementation MAY fragment packets before
     applying IPsec.  The device SHOULD have a configuration setting
     to disable this.  The resulting fragments are evaluated against
     the SPD in the normal manner.  Thus, fragments not containing port
     numbers may only match rules having port selectors of "opaque" or
     "wildcard".

was inserted in section 6.

6. ICMP Processing [This section will be filled in when IPsec issue # 91
   is resolved. The following text needs to be inserted somewhere,
   possibly this section.]

This was probably not the right place, since the fragmentation issue
really isn't related to ICMP processing, strictly speaking.

Comments?

							- Ted


From owner-ipsec@lists.tislabs.com  Wed Jan 28 07:41:38 2004
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 HAA28389
	for <ipsec-archive@lists.ietf.org>; Wed, 28 Jan 2004 07:41:37 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id DAA01954
	Wed, 28 Jan 2004 03:26:47 -0500 (EST)
To: kseo@bbn.com, ipsec@lists.tislabs.com
Subject: Issue #83: Generation of ICMP responses for inbound packet requiring IPSEC protection
From: "Theodore Ts'o" <tytso@mit.edu>
Phone: (781) 391-3464
Message-Id: <E1Ala9O-000662-Pt@thunk.org>
Date: Tue, 27 Jan 2004 15:49:34 -0500
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/>.
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

Hi Karen,

After looking at draft-ietf-ipsec-rfc2401bis-01.txt, it appears that
issue #83 has not yet been included in the I-D.  It looks like a
compinion issue, #84, which deals with ICMP responses for dropped
outbound packets has been included, but not issue #83:

	https://roundup.machshav.com/ipsec/issue83

Could you check into this?  Have we missed something?

Many thanks!!

						- Ted




From owner-ipsec@lists.tislabs.com  Wed Jan 28 21:09:49 2004
Received: from lists.tislabs.com (portal.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id VAA11866
	for <ipsec-archive@lists.ietf.org>; Wed, 28 Jan 2004 21:09:49 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id RAA25209
	Wed, 28 Jan 2004 17:45:56 -0500 (EST)
Mime-Version: 1.0
X-Sender: kent@po2.bbn.com
Message-Id: <p0602040bbc3dec1164ce@[128.33.244.157]>
In-Reply-To: <E1Ala9O-000662-Pt@thunk.org>
References: <E1Ala9O-000662-Pt@thunk.org>
Date: Wed, 28 Jan 2004 17:56:30 -0500
To: "Theodore Ts'o" <tytso@mit.edu>
From: Stephen Kent <kent@bbn.com>
Subject: Re: Issue #83: Generation of ICMP responses for inbound packet
 requiring IPSEC protection
Cc: kseo@bbn.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

Ted,

Issue #83 said:


Title:		DROP'd inbound packet -- missing required IPsec protection

Description
===========
Should there be a defined ICMP response to be used (when dropping an 
inbound packet that was not protected by IPsec) to indicate to the 
sender that IPsec was required by the receiver who dropped the packet?

There is no text in 2401bis for this because it seems generally 
impractical, at least as stated here.  It would require searching the 
SPD for each inbound packet to see if the packet matches an SPD entry 
that calls for application of IPsec. As stated above, this would be 
done even for packets that already map to a valid bypass SA! The SPD 
admin has a responsibility to create entries that do not conflict in 
this fashion.  A vendor might choose to provide a facility to examine 
an SPD and warn a user about such conflicts, but it makes more sense 
to do so when the SPD is being managed, than when traffic arrives.

If one restricted this to encompass only inbound packets that will be 
discarded, then we may still incur a non-trivial search penalty, and 
we allow an attacker to probe the implementation to determine SPD 
entries for IPsec-protected traffic, which hardly seems to be a good 
idea, in general. So, while we agree that there would be some benefit 
to notifying a peer when traffic is sent unprotected, when the 
traffic should have been protected, it seems to be a costly feature 
to implement and thus ought not be imposed as a requirement.

Steve


From owner-ipsec@lists.tislabs.com  Thu Jan 29 02:18:48 2004
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 CAA05374
	for <ipsec-archive@lists.ietf.org>; Thu, 29 Jan 2004 02:18:47 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id WAA23479
	Wed, 28 Jan 2004 22:59:10 -0500 (EST)
Mime-Version: 1.0
X-Sender: kseo@po2.bbn.com
Message-Id: <p05200f0fbc3e38bd80eb@[128.89.89.115]>
In-Reply-To: <E1Alazs-00068T-GK@thunk.org>
References: <E1Alazs-00068T-GK@thunk.org>
Date: Wed, 28 Jan 2004 23:15:31 -0500
To: "Theodore Ts'o" <tytso@mit.edu>
From: Karen Seo <kseo@bbn.com>
Subject: Re: Issue #88: Lift the prohibition on red-side fragmentation by
 SG, BITS, BITW
Cc: ipsec@lists.tislabs.com, 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

Hi Ted,

How about if we put the text below in the outbound processing section 
at the end of section "5.1 Outbound IP Traffic Processing 
(protected-to-unprotected)" before the section "5.1.1  Handling an 
Outbound Packet That Must Be Dropped"?

>While reviewing draft-ietf-ipsec-rfc2401bis-01.txt, it appears that
>the text that was inserted for issue #88:
>
>      An SG, BITS, or BITW implementation MAY fragment packets before
>      applying IPsec.  The device SHOULD have a configuration setting
>      to disable this.  The resulting fragments are evaluated against
>      the SPD in the normal manner.  Thus, fragments not containing port
>      numbers may only match rules having port selectors of "opaque" or
>      "wildcard".
>
>was inserted in section 6.
>
>6. ICMP Processing [This section will be filled in when IPsec issue # 91
>    is resolved. The following text needs to be inserted somewhere,
>    possibly this section.]
>
>This was probably not the right place, since the fragmentation issue
>really isn't related to ICMP processing, strictly speaking.
>
>Comments?

Thanks for the feedback,
Karen


From owner-ipsec@lists.tislabs.com  Thu Jan 29 16:19:47 2004
Received: from lists.tislabs.com (portal.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id QAA19009
	for <ipsec-archive@lists.ietf.org>; Thu, 29 Jan 2004 16:19:43 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id JAA00564
	Thu, 29 Jan 2004 09:33:38 -0500 (EST)
Date: Thu, 29 Jan 2004 09:01:16 -0500
From: "Theodore Ts'o" <tytso@mit.edu>
To: Michael Richardson <mcr@sandelman.ottawa.on.ca>
Cc: Barbara Fraser <byfraser@cisco.com>,
        Charlie Kaufman <charliek@microsoft.com>, ipsec@lists.tislabs.com
Subject: Re: IANA document
Message-ID: <20040129140116.GB27702@thunk.org>
References: <3453.1075344391@marajade.sandelman.ottawa.on.ca>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <3453.1075344391@marajade.sandelman.ottawa.on.ca>
User-Agent: Mutt/1.5.5.1+cvs20040105i
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/>.
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

On Wed, Jan 28, 2004 at 09:46:31PM -0500, Michael Richardson wrote:
> I don't know where things are going with this. If it will be published,
> then it needs a revision perhaps, and I'd like to do this before document
> deadline. 
> 
> If it isn't going to be published (original plan), then I think that it is
> done, and should go to some kind of WG last call, and get fed to IANA for
> their thoughts.
> 
> I'm totally cool if Charlie just takes the text and puts it into IKEv2.

Hi Michael, I was planning on sending this note a few days ago, but
work just got me completely swamped.  My apologies for it being
somewhat terse, but I figured it would be better to send something
short rather than to delay replying to you...

I've been looking at RFC 2434, and it looks like there are some
requirements for what needs to be in the IANA consideration section
that doesn't quite meet with what's in draft-ietf-ipsec-ikev2-iana-01.txt.
In particular, what RFC 2434 suggests that the text read something like:

	Following the policies outlined in [RFC 2434],
        numbers in the range 0-1234 are allocatred using the Expert
	REVIEW policy, and the numbers in the range 1024 - 65535 are
	reserved for Private Use.

RFC 2434 also states that this text needs to be in an RFC; so I don't
think just publishing this in an I-D and giving it to the IANA cuts
it.  There still is the question of whether it needs to be in the
IKEv2 specification or in a separate stand-alone document.  I'm
personally agnostic on the subject, except insofar as which one gets
us done faster.

In addition, I am wondering if we need to adjust the allocation
policies as currently defined in ikev2-iana-01 document.  It seems
strange to me that the relatively small ranges, such as the IKEv2
Payload types (only 255 possible values) have relatively loose
policies, such as "Specification Required", whereas some ranges that
are much larger, such as the IKEv2 Integrity Algorithm Transform ID's
(with 65536 possible values) have "Expert Review" as the policy.  

I understand that you probably just used the IANA policies from the
original IKEv1 and ISAKMP specs.  But it's not clear to me that they
are completely coherent.

Comments?  

						- Ted


From owner-ipsec@lists.tislabs.com  Thu Jan 29 18:08:31 2004
Received: from lists.tislabs.com (portal.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id SAA27004
	for <ipsec-archive@lists.ietf.org>; Thu, 29 Jan 2004 18:08:31 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id NAA24211
	Thu, 29 Jan 2004 13:52:04 -0500 (EST)
Mime-Version: 1.0
X-Sender: phoffvpnc@mail.vpnc.org
Message-Id: <p06020438bc3eec366034@[63.202.92.156]>
In-Reply-To: <20040129140116.GB27702@thunk.org>
References: <3453.1075344391@marajade.sandelman.ottawa.on.ca>
 <20040129140116.GB27702@thunk.org>
Date: Thu, 29 Jan 2004 09:09:27 -0800
To: "Theodore Ts'o" <tytso@mit.edu>,
        Michael Richardson <mcr@sandelman.ottawa.on.ca>
From: Paul Hoffman / VPNC <paul.hoffman@vpnc.org>
Subject: Re: IANA document
Cc: Barbara Fraser <byfraser@cisco.com>,
        Charlie Kaufman <charliek@microsoft.com>, ipsec@lists.tislabs.com
Content-Type: text/plain; charset="us-ascii" ; format="flowed"
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

At 9:01 AM -0500 1/29/04, Theodore Ts'o wrote:
>RFC 2434 also states that this text needs to be in an RFC; so I don't
>think just publishing this in an I-D and giving it to the IANA cuts
>it.

Maybe you are mistaking the fact that RFC 2434 is *about* IANA 
sections in RFCs. If fact, in the middle of section 2, it says "In 
some cases, however, the burden of publishing an RFC in order to get 
an assignment is excessive." That seems pretty clear.

>   There still is the question of whether it needs to be in the
>IKEv2 specification or in a separate stand-alone document.  I'm
>personally agnostic on the subject, except insofar as which one gets
>us done faster.

Putting it in the main IKEv2 document would seem to be faster: there 
is one less place for coordination.

>In addition, I am wondering if we need to adjust the allocation
>policies as currently defined in ikev2-iana-01 document.  It seems
>strange to me that the relatively small ranges, such as the IKEv2
>Payload types (only 255 possible values) have relatively loose
>policies, such as "Specification Required", whereas some ranges that
>are much larger, such as the IKEv2 Integrity Algorithm Transform ID's
>(with 65536 possible values) have "Expert Review" as the policy. 
>
>I understand that you probably just used the IANA policies from the
>original IKEv1 and ISAKMP specs.  But it's not clear to me that they
>are completely coherent.
>
>Comments?

Put Michael's text in Charlie's document wholesale with no further 
discussion. After we have an RFC, if we need to tweak the allocation 
policies, we can revise IKEv2 in a new RFC. Given the way the WG has 
gone so far, the chance that the current IKEv2 will have no errors is 
close to zero, so we should expect a second version anyhow.

Having the WG chairs ask at this late date for even more delay on 
IKEv2 seems unreasonable.

--Paul Hoffman, Director
--VPN Consortium


From owner-ipsec@lists.tislabs.com  Thu Jan 29 18:09:10 2004
Received: from lists.tislabs.com (portal.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id SAA27128
	for <ipsec-archive@lists.ietf.org>; Thu, 29 Jan 2004 18:09:10 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id MAA19351
	Thu, 29 Jan 2004 12:32:47 -0500 (EST)
To: ipsec@lists.tislabs.com, "Theodore Ts'o" <tytso@mit.edu>
cc: Barbara Fraser <byfraser@cisco.com>,
        Charlie Kaufman <charliek@microsoft.com>
Subject: Re: IANA document 
In-reply-to: Your message of "Thu, 29 Jan 2004 09:01:16 EST."
             <20040129140116.GB27702@thunk.org> 
Mime-Version: 1.0 (generated by tm-edit 1.8)
Content-Type: text/plain; charset=US-ASCII
Date: Thu, 29 Jan 2004 12:43:53 -0500
Message-ID: <4455.1075398233@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> I've been looking at RFC 2434, and it looks like there are some
    Theodore> requirements for what needs to be in the IANA consideration
    Theodore> section that doesn't quite meet with what's in
    Theodore> draft-ietf-ipsec-ikev2-iana-01.txt.  In particular, what RFC

  okay, but again, I wasn't asked to write IANA Considerations, but rather,
to extract the text into some nice, consise tables. If I misunderstood, then
fine. please tell me what you want.

    Theodore> In addition, I am wondering if we need to adjust the allocation
    Theodore> policies as currently defined in ikev2-iana-01 document.  It
    Theodore> seems strange to me that the relatively small ranges, such as
    Theodore> the IKEv2 Payload types (only 255 possible values) have
    Theodore> relatively loose policies, such as "Specification Required",

    Theodore> whereas some ranges that are much larger, such as the IKEv2
    Theodore> Integrity Algorithm Transform ID's (with 65536 possible values)
    Theodore> have "Expert Review" as the policy.

  Uh, "Expert Review" is a looser policy than "Specification Required"

  Expert Review means you email IANA, and say:

	 "please allocate me an IKEv2 integrity algorithm transform number
          for TripleRot-13"

  IANA, then forwards to "Expert", and "Expert" says,

	"Yeah, that sounds reasonable, go ahead"

or:	"Wait, TripleRot-13 is a cipher, I think that this request is
	unfounded"     

  That's all.

  Specification Required means that there has to be a document somewhere.
I thought this meant RFC series of some kind, but I've been told that for
ciphers, a publication in a peer-reviewed journal would do. That's a lot 
harder than just sending an email.


  There are some things that do not affect interoperability and the spaces are
large, so the allocations should be easy.
  One pulls back only because one wants to avoid the PPP, DHCP and radius
situation with a lot of options being used widely that started as
vendor-specific options.

  There are some things that would have profound affects on interoperability,
and so one insists that they write things down, even if the allocation space
might be big.


    Theodore> I understand that you probably just used the IANA policies from
    Theodore> the original IKEv1 and ISAKMP specs.  But it's not clear to me
    Theodore> that they are completely coherent.

  No, I thought pretty hard about it. I reviewed what was in IKEv1, and
moderated my thought by 6 years of watching people try to write extensions.

]       ON HUMILITY: to err is human. To moo, bovine.           |  firewalls  [
]   Michael Richardson,    Xelerance Corporation, Ottawa, ON    |net architect[
] mcr@xelerance.com      http://www.sandelman.ottawa.on.ca/mcr/ |device driver[
] panic("Just another Debian GNU/Linux using, kernel hacking, security guy"); [


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Finger me for keys

iQCVAwUBQBlGV4qHRg3pndX9AQHlXAQAmHDIMsTxUuRe0K/yXi59NMMLRjh2la7V
2My4In3Ps9ImcMX1/14WCHobD8tOUe32VafoCexUk1BE6MWNB5qo+6dRZfuokak6
3fADKorDFVbbLg9gFcT01TWhxc+c5n+XPO+P88UhflSPpwkCMnXV7r+N3U5UYf6y
uWGu8mZTsbY=
=yWDK
-----END PGP SIGNATURE-----


From owner-ipsec@lists.tislabs.com  Thu Jan 29 18:12:24 2004
Received: from lists.tislabs.com (portal.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id SAA27688
	for <ipsec-archive@lists.ietf.org>; Thu, 29 Jan 2004 18:12:24 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id NAA24715
	Thu, 29 Jan 2004 13:56:38 -0500 (EST)
Date: Thu, 29 Jan 2004 13:42:24 -0500
From: "Theodore Ts'o" <tytso@mit.edu>
To: Paul Hoffman / VPNC <paul.hoffman@vpnc.org>
Cc: Michael Richardson <mcr@sandelman.ottawa.on.ca>,
        Barbara Fraser <byfraser@cisco.com>,
        Charlie Kaufman <charliek@microsoft.com>, ipsec@lists.tislabs.com
Subject: Re: IANA document
Message-ID: <20040129184224.GD28074@thunk.org>
References: <3453.1075344391@marajade.sandelman.ottawa.on.ca> <20040129140116.GB27702@thunk.org> <p06020438bc3eec366034@[63.202.92.156]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <p06020438bc3eec366034@[63.202.92.156]>
User-Agent: Mutt/1.5.5.1+cvs20040105i
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/>.
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

On Thu, Jan 29, 2004 at 09:09:27AM -0800, Paul Hoffman / VPNC wrote:
> Maybe you are mistaking the fact that RFC 2434 is *about* IANA 
> sections in RFCs. If fact, in the middle of section 2, it says "In 
> some cases, however, the burden of publishing an RFC in order to get 
> an assignment is excessive." That seems pretty clear.

To get an assignment, yes.  But the allocation policies for the
various registries I read as being required for to be specified in the
RFC.  These do not change, but IMHO should be documented in a
permanent location.  An Area Director may correct me, but that was my
reading of RFC 2434.

> Putting it in the main IKEv2 document would seem to be faster: there 
> is one less place for coordination.

True.  

> Put Michael's text in Charlie's document wholesale with no further 
> discussion. After we have an RFC, if we need to tweak the allocation 
> policies, we can revise IKEv2 in a new RFC. Given the way the WG has 
> gone so far, the chance that the current IKEv2 will have no errors is 
> close to zero, so we should expect a second version anyhow.

Actually, we're through working group last call already, and the
changes which Charlie made in the -12 version of the I-D January 6th
reflect the second time that that we've pushed the ikev2 document to
Russ's reading queue for IETF-wide last call.

Currently the January 6th I-D states that the IANA considerations will
be in a separate document.  As part of any edits or changes that arise
either as a result of the IETF-wide last call, or from the IESG (and I
agree with you that given the nature of the review and the legnth of
the document, this is virtually a certainty), we will have an
opportunity to add Michael's document into the IKEv2's IANA
Consideration section, and replace it with its current pointer to
Michael's I-D, if that be the consensus of the working group.

However, while this is going on, we do still have an opportunity to
make changes to the allocation policies, which up until now have had
pretty much zero discussion on the mailing list.  So I raised this
question about the allocation policies not because I wanted to add
delay; indeed what we've done has been to move the ikev2 document
along the track as quickly as possible.  Instead, I'm raising this
question because I want the result to be as high-quality as possible,
while minimizing or eliminating any delay that might be introduced
into the process.  We *can* have this discussion without delaying ikev2.

That being said, at this point, let me take my working group chair hat
off, and make a formal proposal that we change the allocation policies
in Michael's document in the following way: That all registries that
require reflect 8 bit values shall require "Expert Review" and that
all registries of numbers that are 16 bits or larger shall use the
"Specification Required" as defined in RFC-2434.  The rationale for
making this change is that currently, some 8-bit registries are
"Specification Required".  This is unwise, as little as 122 or so
specifications presented to the IANA (they don't even have to be
Informational RFC's, according to RFC 2434), would be all that would
be required to exhaust the number of available IKEv2 traffic selector
types or configuration payload types.

Comments?

						- Ted


From owner-ipsec@lists.tislabs.com  Thu Jan 29 19:03:44 2004
Received: from lists.tislabs.com (portal.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id TAA02069
	for <ipsec-archive@lists.ietf.org>; Thu, 29 Jan 2004 19:03:44 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id NAA24641
	Thu, 29 Jan 2004 13:55:59 -0500 (EST)
Mime-Version: 1.0
X-Sender: phoffvpnc@mail.vpnc.org
Message-Id: <p06020449bc3f084faad6@[63.202.92.156]>
In-Reply-To: <20040129184224.GD28074@thunk.org>
References: <3453.1075344391@marajade.sandelman.ottawa.on.ca>
 <20040129140116.GB27702@thunk.org>
 <p06020438bc3eec366034@[63.202.92.156]> <20040129184224.GD28074@thunk.org>
Date: Thu, 29 Jan 2004 11:07:14 -0800
To: "Theodore Ts'o" <tytso@mit.edu>
From: Paul Hoffman / VPNC <paul.hoffman@vpnc.org>
Subject: Re: IANA document
Cc: Michael Richardson <mcr@sandelman.ottawa.on.ca>,
        Barbara Fraser <byfraser@cisco.com>,
        Charlie Kaufman <charliek@microsoft.com>, ipsec@lists.tislabs.com
Content-Type: text/plain; charset="us-ascii" ; format="flowed"
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

At 1:42 PM -0500 1/29/04, Theodore Ts'o wrote:
>Currently the January 6th I-D states that the IANA considerations will
>be in a separate document.  As part of any edits or changes that arise
>either as a result of the IETF-wide last call, or from the IESG (and I
>agree with you that given the nature of the review and the legnth of
>the document, this is virtually a certainty), we will have an
>opportunity to add Michael's document into the IKEv2's IANA
>Consideration section, and replace it with its current pointer to
>Michael's I-D, if that be the consensus of the working group.

...or if it is what the IESG asks for. The IESG talks with IANA on 
all these issues, so IANA might ask for it one way or another.

>That being said, at this point, let me take my working group chair hat
>off, and make a formal proposal that we change the allocation policies
>in Michael's document in the following way: That all registries that
>require reflect 8 bit values shall require "Expert Review" and that
>all registries of numbers that are 16 bits or larger shall use the
>"Specification Required" as defined in RFC-2434.  The rationale for
>making this change is that currently, some 8-bit registries are
>"Specification Required".  This is unwise, as little as 122 or so
>specifications presented to the IANA (they don't even have to be
>Informational RFC's, according to RFC 2434), would be all that would
>be required to exhaust the number of available IKEv2 traffic selector
>types or configuration payload types.
>
>Comments?

Having all of the values have the same requirements would make 
allocation more predictable to people in the future. Doing so also 
gives more uniform results in cases where an IKEv2 extension requires 
a couple of values from different registries. Your proposal is OK, 
but a more consistent proposal is simply that all values require 
"Expert Review".

--Paul Hoffman, Director
--VPN Consortium


From owner-ipsec@lists.tislabs.com  Thu Jan 29 21:05:17 2004
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 VAA06052
	for <ipsec-archive@lists.ietf.org>; Thu, 29 Jan 2004 21:05:17 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id QAA09770
	Thu, 29 Jan 2004 16:25:39 -0500 (EST)
To: ipsec@lists.tislabs.com
Subject: IKEv2 allocation policies
In-reply-to: Your message of "Thu, 29 Jan 2004 13:42:24 EST."
             <20040129184224.GD28074@thunk.org> 
Mime-Version: 1.0 (generated by tm-edit 1.8)
Content-Type: text/plain; charset=US-ASCII
Date: Thu, 29 Jan 2004 16:36:52 -0500
Message-ID: <11472.1075412212@marajade.sandelman.ottawa.on.ca>
From: Michael Richardson <mcr@sandelman.ottawa.on.ca>
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk


This is a summary of allocation policies. Please disagree, and change
the subject. Maybe we need to make an issue for each one.

   IKEv2 Exchange types			    Standards Action.
   IKEv2 Payload Types			    Specification Required.
   IKEv2 Transform Types		    Specification Required.
   IKEv2 Transform Attribute Types	    Specification Required.
   IKEv2 Encryption Transform IDs	    expert review.
   IKEv2 Pseudo-random Transform IDs	    expert review.
   IKEv2 Integrity Algorithm Transform IDs  expert review. 
   IKEv2 Diffie-Hellman, ECP/EC2N           Specification Required.
   IKEv2 Extended Sequence Numbers Transform IDs    IETF Consenus.
   IKEv2 Identification Payload ID Types    Specification Required.
   IKEv2 Certificate Encodings		    Specification Required.
   IKEv2 Authentication Method		    Specification Required.
   IKEv2 Notification Payload Types	    First Come-First Served.
   IKEv2 Notification IPCOMP Transform IDs  expert review. 
   IKEv2 Security Protocol Identifiers	    Standards Action.
   IKEv2 Traffic Selector Types		    Specification Required.
   IKEv2 Configuration Payload CFG Types    Specification Required.
   IKEv2 Configuration Payload Attribute Types    Specification Required.


$Id: summary.txt,v 1.1 2004/01/29 21:36:10 mcr Exp $


From owner-ipsec@lists.tislabs.com  Thu Jan 29 23:45:17 2004
Received: from lists.tislabs.com (portal.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id XAA11540
	for <ipsec-archive@lists.ietf.org>; Thu, 29 Jan 2004 23:45:16 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id UAA04251
	Thu, 29 Jan 2004 20:27:17 -0500 (EST)
To: ipsec@lists.tislabs.com
Subject: Re: IKEv2 allocation policies 
In-reply-to: Your message of "Thu, 29 Jan 2004 16:36:52 EST."
             <11472.1075412212@marajade.sandelman.ottawa.on.ca> 
Mime-Version: 1.0 (generated by tm-edit 1.8)
Content-Type: text/plain; charset=US-ASCII
Date: Thu, 29 Jan 2004 20:35:16 -0500
Message-ID: <17287.1075426516@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-----


Motivation for these rules:

   IKEv2 Exchange types			    Standards Action.
   IKEv2 Security Protocol Identifiers	    Standards Action.

I believe that new exchange types will be entirely new protocols, or
significant extensions. If they are sufficiently different to be totally
incompatible, then they could run on their own port. If they aren't 
that incompatible, then I presume that we need to think hard about this.

   IKEv2 Encryption Transform IDs	    expert review.
   IKEv2 Pseudo-random Transform IDs	    expert review.
   IKEv2 Integrity Algorithm Transform IDs  expert review. 
   IKEv2 Notification IPCOMP Transform IDs  expert review. 

Algorithms are relatively simple to standardize, and if an implementation
does not understand them, then it can just ignore them.

   IKEv2 Diffie-Hellman, ECP/EC2N           Specification Required.

If one guess wrong, then an extra round trip is required. It seems that
there should be very little reason to have private definitions that are
not published somewhere.

   IKEv2 Payload Types			    Specification Required.

New payloads will be significant features, so need to be described.
IKEv1's lack of a critical bit meant it was effectively Standards Action,
so this is a relaxation.

   IKEv2 Transform Types		    Specification Required.
   IKEv2 Transform Attribute Types	    Specification Required.

If we invent something other than authenticate, encrypt and compress,
then I think it needs to be described well.

   IKEv2 Extended Sequence Numbers Transform IDs    IETF Consenus.

A new value here would require an "RFC2401bis"-bis. (128bit sequence
numbers?)  

   IKEv2 Identification Payload ID Types    Specification Required.
   IKEv2 Certificate Encodings		    Specification Required.
   IKEv2 Authentication Method		    Specification Required.
   IKEv2 Traffic Selector Types		    Specification Required.

I think that new types should be explained, or it will be very hard to
interop. 

   IKEv2 Notification Payload Types	    First Come-First Served.

Big wide space, with minimal impact on interop.

   IKEv2 Configuration Payload CFG Types    Specification Required.
   IKEv2 Configuration Payload Attribute Types    Specification Required.

These remind me of the problems in PPP,radius,DHCP with having vendors too
easily able to innovate (and become incompatible). Specification Required at
least requires that there be a document that exaplain things. It shouldn't be
too onerous, in my opinion. This could be watered down to "expert review".

]       ON HUMILITY: to err is human. To moo, bovine.           |  firewalls  [
]   Michael Richardson,    Xelerance Corporation, Ottawa, ON    |net architect[
] mcr@xelerance.com      http://www.sandelman.ottawa.on.ca/mcr/ |device driver[
] panic("Just another Debian GNU/Linux using, kernel hacking, security guy"); [
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Finger me for keys

iQCVAwUBQBm004qHRg3pndX9AQEaCgP/cmmwNzvh4i0xKs40z9n9Wxt/+rwGIPXP
kDeTvAFqqHbh9V0GJEKOOIUZFBLHt7f8oxD878MpnoYJenL8x7+kodrZyiRQszde
zZ9878SYj3hu7fa9eLAsTHvjuRBTFnPo0vMLheDSqGcgXihAcN2uyXD3kGQcW17M
Tpnk2P9pnpY=
=Xkzf
-----END PGP SIGNATURE-----


From owner-ipsec@lists.tislabs.com  Fri Jan 30 16:16:35 2004
Received: from lists.tislabs.com (portal.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id QAA17136
	for <ipsec-archive@lists.ietf.org>; Fri, 30 Jan 2004 16:16:34 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id MAA27024
	Fri, 30 Jan 2004 12:57:10 -0500 (EST)
To: ipsec@lists.tislabs.com
Subject: IKEv2 Payload Types
In-reply-to: Your message of "Fri, 30 Jan 2004 08:49:01 +0200."
             <4019FE5D.1040903@kolumbus.fi> 
Mime-Version: 1.0 (generated by tm-edit 1.8)
Content-Type: text/plain; charset=US-ASCII
Date: Fri, 30 Jan 2004 10:59:17 -0500
Message-ID: <25100.1075478357@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-----


    mcr> IKEv2 Payload Types			    Specification Required.
    mcr> 
    mcr> New payloads will be significant features, so need to be described.
    mcr> IKEv1's lack of a critical bit meant it was effectively Standards
    mcr> Action, so this is a relaxation.

>>>>> "Jari" == Jari Arkko <jari.arkko@kolumbus.fi> writes:
    Jari> Hmm.... I think Specification Required is quite weak. Does this mean
    Jari> that with the critical bit set to 1, a vendor (with documentation)
    Jari> can prevent interoperability with a base RFC compliant IKEv2
    Jari> implementation? 

  yes, however... one can use private use types like this ALREADY.

  Frankly, I do not find "Specification Required" to be that weak at all. 
Getting an informational RFC published is not as easy as all that.

]       ON HUMILITY: to err is human. To moo, bovine.           |  firewalls  [
]   Michael Richardson,    Xelerance Corporation, Ottawa, ON    |net architect[
] mcr@xelerance.com      http://www.sandelman.ottawa.on.ca/mcr/ |device driver[
] panic("Just another Debian GNU/Linux using, kernel hacking, security guy"); [
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Finger me for keys

iQCVAwUBQBp/VIqHRg3pndX9AQHS4QQAs78C+HQgKvJXVj5z48svI0gjHGgc8D3T
PrsbUVnsROdU9FtByaGkeVS6Qsdcxj8udsQXlmoE5+H/1MypAbjs9h3ueS+yFslk
oDCTQjFtfDBZgFF5YGwcWxJPUuUD9ZPgcQ0J4U9whec37z8b9VqoDWPxdMbuzT22
RMN58HafJ7M=
=C7GR
-----END PGP SIGNATURE-----


From owner-ipsec@lists.tislabs.com  Fri Jan 30 16:18:11 2004
Received: from lists.tislabs.com (portal.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id QAA17188
	for <ipsec-archive@lists.ietf.org>; Fri, 30 Jan 2004 16:18:11 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id MAA26930
	Fri, 30 Jan 2004 12:56:04 -0500 (EST)
To: ipsec@lists.tislabs.com, ietf-tls@lists.certicom.com
Subject: Datagram TLS
X-Mailer: mh-e 6.1; nmh 1.0.4; Emacs 21.4
Date: Fri, 30 Jan 2004 09:04:27 -0800
From: Eric Rescorla <ekr@rtfm.com>
Message-Id: <20040130170427.D34967224@sierra.rtfm.com>
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

This seems relevant to these working groups.

Although TLS is quite useful as a generic security layer protocol for
lots of applications, it is limited by its reliance on datagram
transport. It seems like it would be useful to deploy TLS-style security
for datagram apps. To this end, Nagendra Modadugu and I have designed a
variant on TLS which works properly over datagram transport but is
otherwise intended to be as similar to TLS as possible.

http://www.ietf.org/internet-drafts/draft-rescorla-dtls-00.txt

Comments welcome...

-Ekr


From owner-ipsec@lists.tislabs.com  Fri Jan 30 16:36:26 2004
Received: from lists.tislabs.com (portal.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id QAA18746
	for <ipsec-archive@lists.ietf.org>; Fri, 30 Jan 2004 16:36:25 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id MAA26752
	Fri, 30 Jan 2004 12:51:48 -0500 (EST)
Message-ID: <4019FE5D.1040903@kolumbus.fi>
Date: Fri, 30 Jan 2004 08:49:01 +0200
From: Jari Arkko <jari.arkko@kolumbus.fi>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031007
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Michael Richardson <mcr@sandelman.ottawa.on.ca>
CC: ipsec@lists.tislabs.com
Subject: Re: IKEv2 allocation policies
References: <17287.1075426516@marajade.sandelman.ottawa.on.ca>
In-Reply-To: <17287.1075426516@marajade.sandelman.ottawa.on.ca>
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,

Thanks for the list of motivations! Some comments inline:

> Motivation for these rules:
> 
>    IKEv2 Exchange types			    Standards Action.
>    IKEv2 Security Protocol Identifiers	    Standards Action.
> 
> I believe that new exchange types will be entirely new protocols, or
> significant extensions. If they are sufficiently different to be totally
> incompatible, then they could run on their own port. If they aren't 
> that incompatible, then I presume that we need to think hard about this.

Yes.

>    IKEv2 Encryption Transform IDs	    expert review.
>    IKEv2 Pseudo-random Transform IDs	    expert review.
>    IKEv2 Integrity Algorithm Transform IDs  expert review. 
>    IKEv2 Notification IPCOMP Transform IDs  expert review. 
> 
> Algorithms are relatively simple to standardize, and if an implementation
> does not understand them, then it can just ignore them.

Fine.

>    IKEv2 Diffie-Hellman, ECP/EC2N           Specification Required.
> 
> If one guess wrong, then an extra round trip is required. It seems that
> there should be very little reason to have private definitions that are
> not published somewhere.

Ok.

>    IKEv2 Payload Types			    Specification Required.
> 
> New payloads will be significant features, so need to be described.
> IKEv1's lack of a critical bit meant it was effectively Standards Action,
> so this is a relaxation.

Hmm.... I think Specification Required is quite weak. Does this mean
that with the critical bit set to 1, a vendor (with documentation) can
prevent interoperability with a base RFC compliant IKEv2 implementation?
How about IESG Approval or IETF Consensus? Or Specification Required
if critical = 0, IETF consensus otherwise?

>    IKEv2 Transform Types		    Specification Required.
>    IKEv2 Transform Attribute Types	    Specification Required.
> 
> If we invent something other than authenticate, encrypt and compress,
> then I think it needs to be described well.

I think Specification Required is too weak for a 8 bit IKEv2 Transform
Type.

>    IKEv2 Extended Sequence Numbers Transform IDs    IETF Consenus.
> 
> A new value here would require an "RFC2401bis"-bis. (128bit sequence
> numbers?)  

Ok.

>    IKEv2 Identification Payload ID Types    Specification Required.
>    IKEv2 Certificate Encodings		    Specification Required.
>    IKEv2 Authentication Method		    Specification Required.
>    IKEv2 Traffic Selector Types		    Specification Required.

Ok otherwise, but it looks like a new Traffic Selector Type would have
a major impact on RFC 2401 processing, or have I misunderstood something?
If so, IETF Consensus might be more appropriate?

> I think that new types should be explained, or it will be very hard to
> interop. 
> 
>    IKEv2 Notification Payload Types	    First Come-First Served.

How about Specification Required? Is there a reason why we should not
document the notifications?

> Big wide space, with minimal impact on interop.
> 
>    IKEv2 Configuration Payload CFG Types    Specification Required.
>    IKEv2 Configuration Payload Attribute Types    Specification Required.
> 
> These remind me of the problems in PPP,radius,DHCP with having vendors too
> easily able to innovate (and become incompatible). Specification Required at
> least requires that there be a document that exaplain things. It shouldn't be
> too onerous, in my opinion. This could be watered down to "expert review".

Specification Required is fine for this, I think.

--Jari



From owner-ipsec@lists.tislabs.com  Fri Jan 30 17:37:06 2004
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 RAA22460
	for <ipsec-archive@lists.ietf.org>; Fri, 30 Jan 2004 17:37:06 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id OAA00148
	Fri, 30 Jan 2004 14:18:05 -0500 (EST)
Mime-Version: 1.0
X-Sender: phoffvpnc@mail.vpnc.org
Message-Id: <p0602048abc4060eb224e@[63.202.92.156]>
In-Reply-To: <11472.1075412212@marajade.sandelman.ottawa.on.ca>
References: <11472.1075412212@marajade.sandelman.ottawa.on.ca>
Date: Fri, 30 Jan 2004 11:29:33 -0800
To: Michael Richardson <mcr@sandelman.ottawa.on.ca>, ipsec@lists.tislabs.com
From: Paul Hoffman / VPNC <paul.hoffman@vpnc.org>
Subject: Re: IKEv2 allocation policies
Content-Type: text/plain; charset="us-ascii" ; format="flowed"
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

At 4:36 PM -0500 1/29/04, Michael Richardson wrote:
>This is a summary of allocation policies. Please disagree, and change
>the subject. Maybe we need to make an issue for each one.
>
>    IKEv2 Exchange types			    Standards Action.
>    IKEv2 Payload Types			    Specification Required.
>    IKEv2 Transform Types		    Specification Required.
>    IKEv2 Transform Attribute Types	    Specification Required.
>    IKEv2 Encryption Transform IDs	    expert review.
>    IKEv2 Pseudo-random Transform IDs	    expert review.
>    IKEv2 Integrity Algorithm Transform IDs  expert review.
>    IKEv2 Diffie-Hellman, ECP/EC2N           Specification Required.
>    IKEv2 Extended Sequence Numbers Transform IDs    IETF Consenus.
>    IKEv2 Identification Payload ID Types    Specification Required.
>    IKEv2 Certificate Encodings		    Specification Required.
>    IKEv2 Authentication Method		    Specification Required.
>    IKEv2 Notification Payload Types	    First Come-First Served.
>    IKEv2 Notification IPCOMP Transform IDs  expert review.
>    IKEv2 Security Protocol Identifiers	    Standards Action.
>    IKEv2 Traffic Selector Types		    Specification Required.
>    IKEv2 Configuration Payload CFG Types    Specification Required.
>    IKEv2 Configuration Payload Attribute Types    Specification Required.

As I said in my earlier message:

>Having all of the values have the same requirements would make 
>allocation more predictable to people in the future. Doing so also 
>gives more uniform results in cases where an IKEv2 extension 
>requires a couple of values from different registries. Your proposal 
>is OK, but a more consistent proposal is simply that all values 
>require "Expert Review".

Are we trying to micro-manage the future with having different 
categories for policies?

--Paul Hoffman, Director
--VPN Consortium


From owner-ipsec@lists.tislabs.com  Fri Jan 30 20:54:41 2004
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 UAA18751
	for <ipsec-archive@lists.ietf.org>; Fri, 30 Jan 2004 20:54:41 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id SAA13205
	Fri, 30 Jan 2004 18:26:37 -0500 (EST)
Date: Fri, 30 Jan 2004 18:22:43 -0500
From: "Theodore Ts'o" <tytso@mit.edu>
To: Stephen Kent <kent@bbn.com>
Cc: kseo@bbn.com, ipsec@lists.tislabs.com
Subject: Re: Issue #83: Generation of ICMP responses for inbound packet requiring IPSEC protection
Message-ID: <20040130232243.GA6423@thunk.org>
References: <E1Ala9O-000662-Pt@thunk.org> <p0602040bbc3dec1164ce@[128.33.244.157]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <p0602040bbc3dec1164ce@[128.33.244.157]>
User-Agent: Mutt/1.5.5.1+cvs20040105i
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/>.
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

On Wed, Jan 28, 2004 at 05:56:30PM -0500, Stephen Kent wrote:
> Ted,
> 
> Issue #83 said:
> 
> 
> Title:		DROP'd inbound packet -- missing required IPsec protection

Um... that's interesting.  That's not what Karen had posted on
September 30th, nor what is currently in the roundup database here:

	https://roundup.machshav.com/ipsec/issue83

Was this proposed disposition of the issue (which you quoted below)
ever discussed on the mailing list?  

My search of the mailing list didn't discover much discussion
surrounding this issue, save Barbara's call for a working group last
call for the text as was stated in the Roundup issue tracker.

If it turns out that the proposed approach originally proposed in
Karen's e-mail of September 30th, and currently documented in the
roundup database is not right, we can certainly have that discussion
on the mailing list.

Would anyone on the mailing list like to comment?

						- Ted

> 
> Description
> ===========
> Should there be a defined ICMP response to be used (when dropping an 
> inbound packet that was not protected by IPsec) to indicate to the 
> sender that IPsec was required by the receiver who dropped the packet?
> 
> There is no text in 2401bis for this because it seems generally 
> impractical, at least as stated here.  It would require searching the 
> SPD for each inbound packet to see if the packet matches an SPD entry 
> that calls for application of IPsec. As stated above, this would be 
> done even for packets that already map to a valid bypass SA! The SPD 
> admin has a responsibility to create entries that do not conflict in 
> this fashion.  A vendor might choose to provide a facility to examine 
> an SPD and warn a user about such conflicts, but it makes more sense 
> to do so when the SPD is being managed, than when traffic arrives.
> 
> If one restricted this to encompass only inbound packets that will be 
> discarded, then we may still incur a non-trivial search penalty, and 
> we allow an attacker to probe the implementation to determine SPD 
> entries for IPsec-protected traffic, which hardly seems to be a good 
> idea, in general. So, while we agree that there would be some benefit 
> to notifying a peer when traffic is sent unprotected, when the 
> traffic should have been protected, it seems to be a costly feature 
> to implement and thus ought not be imposed as a requirement.
> 
> Steve


From owner-ipsec@lists.tislabs.com  Fri Jan 30 21:50:33 2004
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 VAA20235
	for <ipsec-archive@lists.ietf.org>; Fri, 30 Jan 2004 21:50:33 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id RAA10794
	Fri, 30 Jan 2004 17:36:13 -0500 (EST)
Date: Fri, 30 Jan 2004 17:47:29 -0500
From: "Theodore Ts'o" <tytso@mit.edu>
To: Michael Richardson <mcr@sandelman.ottawa.on.ca>
Cc: ipsec@lists.tislabs.com, Barbara Fraser <byfraser@cisco.com>,
        Charlie Kaufman <charliek@microsoft.com>
Subject: Re: IANA document
Message-ID: <20040130224729.GC6220@thunk.org>
References: <20040129140116.GB27702@thunk.org> <4455.1075398233@marajade.sandelman.ottawa.on.ca>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <4455.1075398233@marajade.sandelman.ottawa.on.ca>
User-Agent: Mutt/1.5.5.1+cvs20040105i
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/>.
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

On Thu, Jan 29, 2004 at 12:43:53PM -0500, Michael Richardson wrote:
>     Theodore> I've been looking at RFC 2434, and it looks like there are some
>     Theodore> requirements for what needs to be in the IANA consideration
>     Theodore> section that doesn't quite meet with what's in
>     Theodore> draft-ietf-ipsec-ikev2-iana-01.txt.  In particular, what RFC
> 
>   okay, but again, I wasn't asked to write IANA Considerations, but rather,
> to extract the text into some nice, consise tables. If I misunderstood, then
> fine. please tell me what you want.

Sorry, I guess there had been some miscommunucations; I thought that
what we had asked you to do (and certainly what needed doing) was the
IANA considerations section.  Certainly at the moment, the ikev2
document's IANA considerations section points at your document.  

That being said, your document is actually very close to what is
needed for the IANA considerations section.  So I thought we were all
on the same page; my apologies for making that assumption.

As far as a path forward, if you're willing to edit the IANA
considerations section for IKEv2, via making changes in your I-D, and
once it is done, we can either combine it into the ikev2 document, or
we can either publish it as a separate document, whichever pleases the
working group.  Does that sound like a reasonable plan?

						- Ted


From owner-ipsec@lists.tislabs.com  Fri Jan 30 23:09:26 2004
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 XAA22744
	for <ipsec-archive@lists.ietf.org>; Fri, 30 Jan 2004 23:09:26 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id UAA25379
	Fri, 30 Jan 2004 20:49:48 -0500 (EST)
Date: Fri, 30 Jan 2004 18:00:08 -0800 (PST)
From: Scott Fluhrer <sfluhrer@cisco.com>
To: Eric Rescorla <ekr@rtfm.com>
cc: ipsec@lists.tislabs.com, ietf-tls@lists.certicom.com
Subject: Re: Datagram TLS
In-Reply-To: <Pine.GSO.4.58.0401301747470.4458@irp-view4.cisco.com>
Message-ID: <Pine.GSO.4.58.0401301758500.4458@irp-view4.cisco.com>
References: <20040130170427.D34967224@sierra.rtfm.com>
 <Pine.GSO.4.58.0401301747470.4458@irp-view4.cisco.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk



On Fri, 30 Jan 2004, Scott Fluhrer wrote:

>
>
> On Fri, 30 Jan 2004, Eric Rescorla wrote:
>
> > This seems relevant to these working groups.
> >
> > Although TLS is quite useful as a generic security layer protocol for
> > lots of applications, it is limited by its reliance on datagram
> > transport. It seems like it would be useful to deploy TLS-style security
> > for datagram apps. To this end, Nagendra Modadugu and I have designed a
> > variant on TLS which works properly over datagram transport but is
> > otherwise intended to be as similar to TLS as possible.
> >
> > http://www.ietf.org/internet-drafts/draft-rescorla-dtls-00.txt
> >
> > Comments welcome...
>
> One obvious question is how you handle the switchover if one of the sides
> decides to rekey.  In this case, a packet encrypted with the old key
> might be slow, and arrive at the destination after the rekey
> negotiation has completed.  TLS handles this because it can assume strict
> message ordering.  IPSec handles this with the SPI value.  How does DTLS
> prevent a packet being decrypted with the wrong key?

Never mind...  While writing this, I came across the epoch flag, that
handles precisely this.  I went to cancel the email and accidentally hit
Send... :-(

-- 
scott


From owner-ipsec@lists.tislabs.com  Fri Jan 30 23:09:49 2004
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 XAA22769
	for <ipsec-archive@lists.ietf.org>; Fri, 30 Jan 2004 23:09:49 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id UAA25502
	Fri, 30 Jan 2004 20:51:19 -0500 (EST)
To: Scott Fluhrer <sfluhrer@cisco.com>
Cc: ipsec@lists.tislabs.com, ietf-tls@lists.certicom.com
Subject: Re: Datagram TLS
References: <20040130170427.D34967224@sierra.rtfm.com>
	<Pine.GSO.4.58.0401301747470.4458@irp-view4.cisco.com>
Reply-To: EKR <ekr@rtfm.com>
From: Eric Rescorla <ekr@rtfm.com>
Date: 30 Jan 2004 18:02:10 -0800
In-Reply-To: <Pine.GSO.4.58.0401301747470.4458@irp-view4.cisco.com>
Message-ID: <kjisiskh99.fsf@romeo.rtfm.com>
Lines: 32
User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Reasonable Discussion)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

Scott Fluhrer <sfluhrer@cisco.com> writes:

> On Fri, 30 Jan 2004, Eric Rescorla wrote:
> 
> > This seems relevant to these working groups.
> >
> > Although TLS is quite useful as a generic security layer protocol for
> > lots of applications, it is limited by its reliance on datagram
> > transport. It seems like it would be useful to deploy TLS-style security
> > for datagram apps. To this end, Nagendra Modadugu and I have designed a
> > variant on TLS which works properly over datagram transport but is
> > otherwise intended to be as similar to TLS as possible.
> >
> > http://www.ietf.org/internet-drafts/draft-rescorla-dtls-00.txt
> >
> > Comments welcome...
> 
> One obvious question is how you handle the switchover if one of the sides
> decides to rekey.  In this case, a packet encrypted with the old key
> might be slow, and arrive at the destination after the rekey
> negotiation has completed.  TLS handles this because it can assume strict
> message ordering.  IPSec handles this with the SPI value.  How does DTLS
> prevent a packet being decrypted with the wrong key?

Using the epoch number (Section 4.1).

Of course, in principle this is unnecessary. You could just 
try both keys but we deciced that was too ugly. :)

-Ekr




From owner-ipsec@lists.tislabs.com  Fri Jan 30 23:42:02 2004
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 XAA23802
	for <ipsec-archive@lists.ietf.org>; Fri, 30 Jan 2004 23:42:02 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id VAA28621
	Fri, 30 Jan 2004 21:33:18 -0500 (EST)
To: ipsec@lists.tislabs.com
Subject: Re: IANA document 
In-reply-to: Your message of "Fri, 30 Jan 2004 17:35:52 EST."
             <20040130223552.GB6220@thunk.org> 
Mime-Version: 1.0 (generated by tm-edit 1.8)
Content-Type: text/plain; charset=US-ASCII
Date: Fri, 30 Jan 2004 21:44:34 -0500
Message-ID: <24333.1075517074@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> My understanding was that an Expert represented a much higher
    Theodore> bar, because human is in the loop.  My assumption was that an
    Theodore> Expert would 

  Specification Required involves the RFC-editor, or possibly another
peer-reviewed journal. I think that this is a much higher bar.

  The only category that is mechanical would be First-Come/First-Served.

  I don't think that that IETF has a lot of experience with expert review yet.
  And, while the expert may ask to see a specification, (not necessary
though), the specification may be proprietary, require NDA, specific-national
security clearance, etc.

  So, expert review does not, in my opinion, mean that we get any
specifications to look at. It just avoids silly stuff.

    Theodore> Actually, anything permanent will qualify.  So any crackpot
    Theodore> idea in a raduate student's thesis, or a Technical Report
    Theodore> published by a lab might be enough to get a number assigned.

  I don't read 2434 as saying that it is that wide open.
  You may be correct though.
  
    Theodore> publishes a single paper that consumes half a dozen or more
    Theodore> payload id's.  Presumably that would be a case where an human
    Theodore> expert would hopefully say, hey now, wait a moment!

  True. 

]       ON HUMILITY: to err is human. To moo, bovine.           |  firewalls  [
]   Michael Richardson,    Xelerance Corporation, Ottawa, ON    |net architect[
] mcr@xelerance.com      http://www.sandelman.ottawa.on.ca/mcr/ |device driver[
] panic("Just another Debian GNU/Linux using, kernel hacking, security guy"); [


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Finger me for keys

iQCVAwUBQBsWjoqHRg3pndX9AQHXtwP/c9uO3I+NfLZ/WzaRSqIm7cZ6FznrXbJH
z6Zh+Rj/ADaG3WiouyPwLLkLPd2VOJBRJV6smNL9shC/kWpKKqhyg6oLIjWzdwVe
JmVLzE09dB3rTV7RmVdzoX0jKkc5tG+BqIrJEyqOwBpIB28lI8oC1j22cyyTn1IW
+8bfH/THc/A=
=RE2S
-----END PGP SIGNATURE-----


From owner-ipsec@lists.tislabs.com  Sat Jan 31 00:05:29 2004
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 AAA24462
	for <ipsec-archive@lists.ietf.org>; Sat, 31 Jan 2004 00:05:28 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id UAA25408
	Fri, 30 Jan 2004 20:50:18 -0500 (EST)
Date: Fri, 30 Jan 2004 17:58:06 -0800 (PST)
From: Scott Fluhrer <sfluhrer@cisco.com>
To: Eric Rescorla <ekr@rtfm.com>
cc: ipsec@lists.tislabs.com, ietf-tls@lists.certicom.com
Subject: Re: Datagram TLS
In-Reply-To: <20040130170427.D34967224@sierra.rtfm.com>
Message-ID: <Pine.GSO.4.58.0401301747470.4458@irp-view4.cisco.com>
References: <20040130170427.D34967224@sierra.rtfm.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk



On Fri, 30 Jan 2004, Eric Rescorla wrote:

> This seems relevant to these working groups.
>
> Although TLS is quite useful as a generic security layer protocol for
> lots of applications, it is limited by its reliance on datagram
> transport. It seems like it would be useful to deploy TLS-style security
> for datagram apps. To this end, Nagendra Modadugu and I have designed a
> variant on TLS which works properly over datagram transport but is
> otherwise intended to be as similar to TLS as possible.
>
> http://www.ietf.org/internet-drafts/draft-rescorla-dtls-00.txt
>
> Comments welcome...

One obvious question is how you handle the switchover if one of the sides
decides to rekey.  In this case, a packet encrypted with the old key
might be slow, and arrive at the destination after the rekey
negotiation has completed.  TLS handles this because it can assume strict
message ordering.  IPSec handles this with the SPI value.  How does DTLS
prevent a packet being decrypted with the wrong key?

-- 
scott


From owner-ipsec@lists.tislabs.com  Sat Jan 31 00:47:43 2004
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 AAA25755
	for <ipsec-archive@lists.ietf.org>; Sat, 31 Jan 2004 00:47:43 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id VAA28110
	Fri, 30 Jan 2004 21:27:58 -0500 (EST)
To: ipsec@lists.tislabs.com
Subject: Re: IKEv2 allocation policies 
In-reply-to: Your message of "Fri, 30 Jan 2004 11:29:33 PST."
             <p0602048abc4060eb224e@[63.202.92.156]> 
Mime-Version: 1.0 (generated by tm-edit 1.8)
Content-Type: text/plain; charset=US-ASCII
Date: Fri, 30 Jan 2004 21:38:39 -0500
Message-ID: <24181.1075516719@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-----


>>>>> "VPNC" == VPNC  <Paul> writes:
    >> gives more uniform results in cases where an IKEv2 extension 
    >> requires a couple of values from different registries. Your proposal 
    >> is OK, but a more consistent proposal is simply that all values 
    >> require "Expert Review".

    VPNC> Are we trying to micro-manage the future with having different 
    VPNC> categories for policies?
 
  Let's divide what you saying into two statements:

  1) that we should not have different policies for different tables
     ("micro-management")

  2) that the single policy should be expert review.


  I don't have an opinion on this. If the expert is capable, then there is
no problem.

]       ON HUMILITY: to err is human. To moo, bovine.           |  firewalls  [
]   Michael Richardson,    Xelerance Corporation, Ottawa, ON    |net architect[
] mcr@xelerance.com      http://www.sandelman.ottawa.on.ca/mcr/ |device driver[
] panic("Just another Debian GNU/Linux using, kernel hacking, security guy"); [



  
  
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Finger me for keys

iQCVAwUBQBsVLYqHRg3pndX9AQFjWwP/SGqn1ljy+8jjm4UhOh80XZVchivbFVmt
BanBXwc0kOWrjpQQ6YI/FOskd7ajCsUmcxAOSX6iYx9Yxo5Jo8l2OHmZnZMAxWPE
Zi77IuvpGWKxlrXMhWaxkXvJWv+2MrHxvgHHZ4A7RRzNJ/Hm/KwYSceYmofT0BWm
BNfucbXWCPo=
=ddaB
-----END PGP SIGNATURE-----


From owner-ipsec@lists.tislabs.com  Sat Jan 31 05:25:43 2004
Received: from lists.tislabs.com (portal.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id FAA16195
	for <ipsec-archive@lists.ietf.org>; Sat, 31 Jan 2004 05:25:42 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id CAA13837
	Sat, 31 Jan 2004 02:41:18 -0500 (EST)
Date: Fri, 30 Jan 2004 17:35:52 -0500
From: "Theodore Ts'o" <tytso@mit.edu>
To: Michael Richardson <mcr@sandelman.ottawa.on.ca>
Cc: ipsec@lists.tislabs.com, Barbara Fraser <byfraser@cisco.com>,
        Charlie Kaufman <charliek@microsoft.com>
Subject: Re: IANA document
Message-ID: <20040130223552.GB6220@thunk.org>
References: <20040129140116.GB27702@thunk.org> <4455.1075398233@marajade.sandelman.ottawa.on.ca>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <4455.1075398233@marajade.sandelman.ottawa.on.ca>
User-Agent: Mutt/1.5.5.1+cvs20040105i
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/>.
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

On Thu, Jan 29, 2004 at 12:43:53PM -0500, Michael Richardson wrote:
>   Uh, "Expert Review" is a looser policy than "Specification Required"
> 
>   Expert Review means you email IANA, and say:
> 
> 	 "please allocate me an IKEv2 integrity algorithm transform number
>           for TripleRot-13"
> 
>   IANA, then forwards to "Expert", and "Expert" says,
> 
> 	"Yeah, that sounds reasonable, go ahead"
> 
> or:	"Wait, TripleRot-13 is a cipher, I think that this request is
> 	unfounded"     
> 
>   That's all.

My understanding was that an Expert represented a much higher bar,
because human is in the loop.  My assumption was that an Expert would
require a specification, and then apply human judgement about whether
or not a particular assignment was warranted.  Depending on the
expert, the standards set can be quite high.

>   Specification Required means that there has to be a document somewhere.
> I thought this meant RFC series of some kind, but I've been told that for
> ciphers, a publication in a peer-reviewed journal would do. That's a lot 
> harder than just sending an email.

Actually, anything permanent will qualify.  So any crackpot idea in a
graduate student's thesis, or a Technical Report published by a lab
might be enough to get a number assigned.  For a space with over
32,000 available values, that hopefully won't be an issue.  But for a
registry space where there are only 122 free slots, suppose someone
publishes a single paper that consumes half a dozen or more payload
id's.  Presumably that would be a case where an human expert would
hopefully say, hey now, wait a moment!

						- Ted


From owner-ipsec@lists.tislabs.com  Sat Jan 31 06:25:17 2004
Received: from lists.tislabs.com (portal.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id GAA17858
	for <ipsec-archive@lists.ietf.org>; Sat, 31 Jan 2004 06:25:16 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id DAA17035
	Sat, 31 Jan 2004 03:57:13 -0500 (EST)
Message-ID: <401B60A0.1010301@kolumbus.fi>
Date: Sat, 31 Jan 2004 10:00:32 +0200
From: Jari Arkko <jari.arkko@kolumbus.fi>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031007
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Michael Richardson <mcr@sandelman.ottawa.on.ca>
Cc: ipsec@lists.tislabs.com
Subject: Re: IKEv2 Payload Types
References: <25100.1075478357@marajade.sandelman.ottawa.on.ca>
In-Reply-To: <25100.1075478357@marajade.sandelman.ottawa.on.ca>
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 Richardson wrote:

>     Jari> Hmm.... I think Specification Required is quite weak. Does this mean
>     Jari> that with the critical bit set to 1, a vendor (with documentation)
>     Jari> can prevent interoperability with a base RFC compliant IKEv2
>     Jari> implementation? 
> 
>   yes, however... one can use private use types like this ALREADY.

Is it necessary to keep this behaviour in IKEv2?

>   Frankly, I do not find "Specification Required" to be that weak at all. 
> Getting an informational RFC published is not as easy as all that.

I agree that Informational RFC publication is not easy. But RFC 2434
does not require an RFC, other documentation is also allowed:

       Specification Required - Values and their meaning must be
            documented in an RFC or other permanent and readily available
            reference, in sufficient detail so that interoperability
            between independent implementations is possible.

--Jari



From owner-ipsec@lists.tislabs.com  Sat Jan 31 06:32:45 2004
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 GAA18068
	for <ipsec-archive@lists.ietf.org>; Sat, 31 Jan 2004 06:32:44 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id DAA17036
	Sat, 31 Jan 2004 03:57:18 -0500 (EST)
Message-ID: <401B6A42.6010008@kolumbus.fi>
Date: Sat, 31 Jan 2004 10:41:38 +0200
From: Jari Arkko <jari.arkko@kolumbus.fi>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031007
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Michael Richardson <mcr@sandelman.ottawa.on.ca>
Cc: ipsec@lists.tislabs.com
Subject: Re: IKEv2 allocation policies
References: <24181.1075516719@marajade.sandelman.ottawa.on.ca>
In-Reply-To: <24181.1075516719@marajade.sandelman.ottawa.on.ca>
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 Richardson wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> 
> 
> 
>>>>>>"VPNC" == VPNC  <Paul> writes:
> 
>     >> gives more uniform results in cases where an IKEv2 extension 
>     >> requires a couple of values from different registries. Your proposal 
>     >> is OK, but a more consistent proposal is simply that all values 
>     >> require "Expert Review".
> 
>     VPNC> Are we trying to micro-manage the future with having different 
>     VPNC> categories for policies?
>  
>   Let's divide what you saying into two statements:
> 
>   1) that we should not have different policies for different tables
>      ("micro-management")
> 
>   2) that the single policy should be expert review.

Regarding the micro-management question, I believe the IETF generally
sets an appropriate policy for each table separately. This makes sense,
because there can be significant differencies in the implications of
allocating a value in the different tables. Small fields are more carefully
managed than 32 bit fields. Fields that have significant interoperability
implications are better managed than fields that are sent for information
only.

For instance, we look after protocol numbers more carefully than for
port numbers. RFC 3588 (Diameter) has a different policy for allocating
header bits than for attribute numbers. RFC 3427 (SIP) defines a different
policy for general header fields and so called P- (proprietary) header
fields.

Of course, this does not mean that in the IKEv2 case we must have
different policies. But I don't think we should rule it out from
the start.

As to the specific proposal of Expert Review for everything...
I think there is a big difference between Exchange Types and
Encryption Transform IDs, for instance. The former is just 8
bits, and Standards Action seems appropriate for it. Yet I
don't think we should require Standards Action for everything.

--Jari



From owner-ipsec@lists.tislabs.com  Sat Jan 31 16:04:15 2004
Received: from lists.tislabs.com (portal.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id QAA05158
	for <ipsec-archive@lists.ietf.org>; Sat, 31 Jan 2004 16:04:15 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id NAA18226
	Sat, 31 Jan 2004 13:14:40 -0500 (EST)
Mime-Version: 1.0
X-Sender: phoffvpnc@mail.vpnc.org
Message-Id: <p0602049ebc41a23d708e@[63.202.92.156]>
In-Reply-To: <24181.1075516719@marajade.sandelman.ottawa.on.ca>
 <24333.1075517074@marajade.sandelman.ottawa.on.ca>
References: <24181.1075516719@marajade.sandelman.ottawa.on.ca>
 <24333.1075517074@marajade.sandelman.ottawa.on.ca>
Date: Sat, 31 Jan 2004 10:26:05 -0800
To: Michael Richardson <mcr@sandelman.ottawa.on.ca>, ipsec@lists.tislabs.com
From: Paul Hoffman / VPNC <paul.hoffman@vpnc.org>
Subject: Re: IKEv2 allocation policies, etc.
Content-Type: text/plain; charset="us-ascii" ; format="flowed"
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

At 9:38 PM -0500 1/30/04, Michael Richardson wrote:
>     VPNC> Are we trying to micro-manage the future with having different
>     VPNC> categories for policies?
>
>   Let's divide what you saying into two statements:
>
>   1) that we should not have different policies for different tables
>      ("micro-management")
>
>   2) that the single policy should be expert review.
>
>
>   I don't have an opinion on this. If the expert is capable, then there is
>no problem.

The expert is assigned by the IESG. I think we can safely assume that 
if the IESG assigns a lame expert, they'll hear about it quickly 
enough.

>     Theodore> My understanding was that an Expert represented a much higher
>     Theodore> bar, because human is in the loop.  My assumption was that an
>     Theodore> Expert would
>
>   Specification Required involves the RFC-editor, or possibly another
>peer-reviewed journal. I think that this is a much higher bar.

I agree with Ted and disagree with Michael. The RFC Editor is not 
going to be an expert in IPsec, and probably not have a very 
well-attuned garbage detector for bad proposals. The expert should.

>   I don't think that that IETF has a lot of experience with expert review yet.

Fully disagree. It's working fine in many areas. (Full disclosure: 
I'm now the "expert" on charsets (!))

>   And, while the expert may ask to see a specification, (not necessary
>though), the specification may be proprietary, require NDA, specific-national
>security clearance, etc.

At which point they will not get their IANA registration.

>   So, expert review does not, in my opinion, mean that we get any
>specifications to look at. It just avoids silly stuff.

That isn't how it has worked in other parts of the IETF. For 
instance, the IESG might require that the expert have a review team, 
so all proposals are seen by many sets of eyes. (This is the case for 
charsets, which are often more intricate and obscure than IKE 
parameters.)

--Paul Hoffman, Director
--VPN Consortium


From owner-ipsec@lists.tislabs.com  Sat Jan 31 17:36:58 2004
Received: from lists.tislabs.com (portal.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA08526
	for <ipsec-archive@lists.ietf.org>; Sat, 31 Jan 2004 17:36:57 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id OAA21751
	Sat, 31 Jan 2004 14:11:07 -0500 (EST)
To: Bodo Moeller <bmoeller@eecs.berkeley.edu>
Cc: ipsec@lists.tislabs.com, ietf-tls@lists.certicom.com
Subject: Re: Datagram TLS
References: <20040130170427.D34967224@sierra.rtfm.com>
	<20040131065319.GA4642@tau.local>
Reply-To: EKR <ekr@rtfm.com>
From: Eric Rescorla <ekr@rtfm.com>
Date: 31 Jan 2004 09:38:04 -0800
In-Reply-To: <20040131065319.GA4642@tau.local>
Message-ID: <kju12c6mtf.fsf@romeo.rtfm.com>
Lines: 61
User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Reasonable Discussion)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

Bodo Moeller <bmoeller@eecs.berkeley.edu> writes:

> On Fri, Jan 30, 2004 at 09:04:27AM -0800, Eric Rescorla wrote:
> 
> > http://www.ietf.org/internet-drafts/draft-rescorla-dtls-00.txt
> > 
> > Comments welcome...
> 
> 1. Section 4.1.1 says "Each DTLS record MUST fit within a single datagram."
> 
>    Section 4.2.3. on handshake message fragmentation and reassembly
>    states that "As noted in Section 4.1.1., each DTLS message MUST fit
>    within a single transport layer datagram."
> 
>    However, in TLS terminology, "records" and "messages" are notions on
>    different levels.  A record is a unit of data that is handled by the
>    TLS record protocol, which handles encryption and so one.  A "message"
>    is structured data sent through the TLS record layer in records with a
>    ContentTape of change_cipher_spec, alert, or handshake, where message
>    boundaries are *not* preserved in the record layer (RFC 2246,
>    section 6.2.1).
Right. This should say "record".

>    Section 4.2.3 of the DTLS Internet Draft essentially describes how
>    long handshake messages can be fragmented into multiple shorter
>    handshake messages.  However, I haven't seen language in the draft
>    actually saying that messages must not be otherwise fragmented into
>    multiple records, which is perfectly legal in TLS (a 97-byte
>    ClientHello message could be sent in 97 records carrying one handshake
>    protocol byte each, for example).  Obviously you don't want this to
>    be done in DTLS, but the draft does not appear to forbid it.
Well, I think this is bad practice, but I'm not sure we want to
forbid this.

> 2. In TLS, alerts such bad_record_mac are fatal, which will even
>    (unnecessarily) invalidate the current session such that it is no
>    longer available for session resumption.  Treating invalid records
>    like this appears unnecessary for DTLS, and undesireable if we want
>    to make denial of service attacks harder.
> 
>    One possibility would be to keep the bad_record_mac alert (the
>    purported sender of the record in question might be interested in
>    knowing that something went wrong), but make them non-fatal.  It
>    may make sense to limit the rate of such alerts -- if 90% of the
>    records received for a DTLS session are bogus, the remaining
>    legitimate 10% might do a good job for communication between
>    DTLS client and server, and limiting the rate of such non-fatal
>    bad_record_mac would avoid unnecessarily wasting bandwidth
>    in addition to that directly stolen by the adversary who sends
>    the bogus datagrams.  Possibly it might even make sense to
>    introduce a new alert that say that a *valid* has been received:
>    otherwise, in unidirectional communication, the sender cannot tell
>    if it make any sense to continue after it has received some
>    bad_record_mac alerts (which could sometimes indicate that
>    something really went wrong with the cryptography done by the
>    client and the server, e.g. because of implementation bugs
>    affecting the current ciphersuite).
Good point. I like the non-fatal suggestion. Not so sure about
the new alert...

-Ekr


From owner-ipsec@lists.tislabs.com  Sat Jan 31 18:13:14 2004
Received: from lists.tislabs.com (portal.tislabs.com [192.94.214.101])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id SAA10070
	for <ipsec-archive@lists.ietf.org>; Sat, 31 Jan 2004 18:13:14 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id PAA26051
	Sat, 31 Jan 2004 15:24:26 -0500 (EST)
To: Paul Hoffman / VPNC <paul.hoffman@vpnc.org>
cc: ipsec@lists.tislabs.com
Subject: Re: IKEv2 allocation policies, etc. 
In-reply-to: Your message of "Sat, 31 Jan 2004 10:26:05 PST."
             <p0602049ebc41a23d708e@[63.202.92.156]> 
Mime-Version: 1.0 (generated by tm-edit 1.8)
Content-Type: text/plain; charset=US-ASCII
Date: Sat, 31 Jan 2004 15:28:11 -0500
Message-ID: <15756.1075580891@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-----


>>>>> "VPNC" == VPNC  <Paul> writes:
    >> I don't think that that IETF has a lot of experience with expert
    >> review yet.

    VPNC> Fully disagree. It's working fine in many areas. (Full disclosure:
    VPNC> I'm now the "expert" on charsets (!))

  Okay, that's great. I'm aware of every policy out there.

    >> And, while the expert may ask to see a specification, (not necessary
    >> though), the specification may be proprietary, require NDA,
    >> specific-national security clearance, etc.

    VPNC> At which point they will not get their IANA registration.

  I thought that this was one of the *features* of Expert review.
The expert can assign values, even if the specifications are secret.

    >> So, expert review does not, in my opinion, mean that we get any
    >> specifications to look at. It just avoids silly stuff.

    VPNC> That isn't how it has worked in other parts of the IETF. For
    VPNC> instance, the IESG might require that the expert have a review
    VPNC> team, so all proposals are seen by many sets of eyes. (This is the
    VPNC> case for charsets, which are often more intricate and obscure than
    VPNC> IKE parameters.)

  Hmm. So, it sounds like expert review is now harder to pass now than
IESG Consensus. My understanding of 2434 was that it was supposed to be much
easier than that. We had originally discussed expert review in the context of
cleaning up the registries for ikev1. 

  I defer to your experience.

]       ON HUMILITY: to err is human. To moo, bovine.           |  firewalls  [
]   Michael Richardson,    Xelerance Corporation, Ottawa, ON    |net architect[
] mcr@xelerance.com      http://www.sandelman.ottawa.on.ca/mcr/ |device driver[
] panic("Just another Debian GNU/Linux using, kernel hacking, security guy"); [


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Finger me for keys

iQCVAwUBQBwP14qHRg3pndX9AQEw2gP9HLFiJXW2CeqxRJwm63wmgyMhnosjsxmP
bpXP7p6efy9IyzT2alllR8tKQdbyj2dhtRFxA3rzgTaVJsoal7qDvuNSuVUCgY3g
gvMw2d/DtbTqSREdxsCgXiQP1GnVA7upJPcS4kZH9OL9T9gOU9u1n/4ygsivwWjR
bK6iQDj/JQo=
=jTPL
-----END PGP SIGNATURE-----


From owner-ipsec@lists.tislabs.com  Sat Jan 31 19:05:22 2004
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 TAA12589
	for <ipsec-archive@lists.ietf.org>; Sat, 31 Jan 2004 19:05:20 -0500 (EST)
Received: by lists.tislabs.com (8.9.1/8.9.1) id QAA00593
	Sat, 31 Jan 2004 16:36:46 -0500 (EST)
Mime-Version: 1.0
X-Sender: phoffvpnc@mail.vpnc.org
Message-Id: <p060204a3bc41d092bdf7@[63.202.92.156]>
In-Reply-To: <15756.1075580891@marajade.sandelman.ottawa.on.ca>
References: <15756.1075580891@marajade.sandelman.ottawa.on.ca>
Date: Sat, 31 Jan 2004 13:40:58 -0800
To: Michael Richardson <mcr@sandelman.ottawa.on.ca>
From: Paul Hoffman / VPNC <paul.hoffman@vpnc.org>
Subject: Re: IKEv2 allocation policies, etc.
Cc: ipsec@lists.tislabs.com
Content-Type: text/plain; charset="us-ascii" ; format="flowed"
Sender: owner-ipsec@lists.tislabs.com
Precedence: bulk

At 3:28 PM -0500 1/31/04, Michael Richardson wrote:
>     >> And, while the expert may ask to see a specification, (not necessary
>     >> though), the specification may be proprietary, require NDA,
>     >> specific-national security clearance, etc.
>
>     VPNC> At which point they will not get their IANA registration.
>
>   I thought that this was one of the *features* of Expert review.
>The expert can assign values, even if the specifications are secret.

Only if that's their instructions. If the IESG says "go ahead and 
give a handful to things without specification", they will; if the 
IESG says "have a public specification for everything so that IANA 
values lead to interoperability", they won't.

>   Hmm. So, it sounds like expert review is now harder to pass now than
>IESG Consensus.

In some cases yes, in some cases no. The difference is not harder vs. 
easier, it is "make the IESG think about every one" vs. "allow the 
IESG to delegate to a human". One has to assume the IESG will 
delegate wisely.

Again, it's reasonable to ask the IESG (via our ADs) if they have a preference.

--Paul Hoffman, Director
--VPN Consortium


