
From root@core3.amsl.com  Thu Sep  2 15:15:02 2010
Return-Path: <root@core3.amsl.com>
X-Original-To: ipsec@ietf.org
Delivered-To: ipsec@core3.amsl.com
Received: by core3.amsl.com (Postfix, from userid 0) id E69643A6975; Thu,  2 Sep 2010 15:15:01 -0700 (PDT)
From: Internet-Drafts@ietf.org
To: i-d-announce@ietf.org
Content-Type: Multipart/Mixed; Boundary="NextPart"
Mime-Version: 1.0
Message-Id: <20100902221501.E69643A6975@core3.amsl.com>
Date: Thu,  2 Sep 2010 15:15:01 -0700 (PDT)
Cc: ipsec@ietf.org
Subject: [IPsec] I-D Action:draft-ietf-ipsecme-failure-detection-00.txt
X-BeenThere: ipsec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discussion of IPsec protocols <ipsec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipsec>
List-Post: <mailto:ipsec@ietf.org>
List-Help: <mailto:ipsec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 02 Sep 2010 22:15:02 -0000

--NextPart

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


	Title           : A Quick Crash Detection Method for IKE
	Author(s)       : Y. Nir, D. Wierbowski
	Filename        : draft-ietf-ipsecme-failure-detection-00.txt
	Pages           : 21
	Date            : 2010-09-02

This document describes an extension to the IKEv2 protocol that
allows for faster detection of SA desynchronization using a saved
token.

When an IPsec tunnel between two IKEv2 peers is disconnected due to a
restart of one peer, it can take as much as several minutes for the
other peer to discover that the reboot has occurred, thus delaying
recovery.  In this text we propose an extension to the protocol, that
allows for recovery immediately following the restart.

A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-ietf-ipsecme-failure-detection-00.txt

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/

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: Message/External-body;
	name="draft-ietf-ipsecme-failure-detection-00.txt";
	site="ftp.ietf.org";
	access-type="anon-ftp";
	directory="internet-drafts"

Content-Type: text/plain
Content-ID: <2010-09-02150346.I-D@ietf.org>


--NextPart--

From priikone@iki.fi  Fri Sep  3 02:16:49 2010
Return-Path: <priikone@iki.fi>
X-Original-To: ipsec@core3.amsl.com
Delivered-To: ipsec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 048D93A6844 for <ipsec@core3.amsl.com>; Fri,  3 Sep 2010 02:16:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id IsYQaYPvOp0I for <ipsec@core3.amsl.com>; Fri,  3 Sep 2010 02:16:48 -0700 (PDT)
Received: from otaku.Xtrmntr.org (sauna.silcnet.org [IPv6:2001:4118:10:4000::2205]) by core3.amsl.com (Postfix) with ESMTP id 9E2F03A6831 for <ipsec@ietf.org>; Fri,  3 Sep 2010 02:16:47 -0700 (PDT)
Received: by otaku.Xtrmntr.org (Postfix, from userid 201) id C796348B0; Fri,  3 Sep 2010 11:17:56 +0200 (CEST)
Received: from localhost (localhost [127.0.0.1]) by otaku.Xtrmntr.org (Postfix) with ESMTP id C1A0948AC; Fri,  3 Sep 2010 11:17:56 +0200 (CEST)
Date: Fri, 3 Sep 2010 11:17:54 +0200 (CEST)
From: Pekka Riikonen <priikone@iki.fi>
X-X-Sender: priikone@otaku.Xtrmntr.org
To: ynir@checkpoint.com
Message-ID: <Pine.NEB.4.64.1009031036290.18173@otaku.Xtrmntr.org>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
X-Mailman-Approved-At: Fri, 03 Sep 2010 08:43:31 -0700
Cc: ipsec@ietf.org, kivinen@iki.fi
Subject: Re: [IPsec] Comments draft-kagarigi-ipsecme-ikev2-windowsync-04
X-BeenThere: ipsec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discussion of IPsec protocols <ipsec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipsec>
List-Post: <mailto:ipsec@ietf.org>
List-Help: <mailto:ipsec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 03 Sep 2010 09:21:27 -0000

I am a bit sceptical about the draft as it appears to be solving something 
that doesn't have to be such a huge problem by introducing a new exchange.

First, the ESP sequence number sync.  In case of failover the online node 
should simply increment the sequence number with a large enough number; 
the anti-replay window can always move forward.  Implementations should 
also perform periodical sequence number sync in the cluster (fe. every 2-5 
seconds) to keep the numbers close enough in nodes.  I see no reason to 
sync this information between peers.  It will never work perfectly anyway 
(there is too much traffic).  More frequently you sync the sequence 
numbers in the cluster smaller the increment needs to be (calculate 
expected pps).

Second, the message ID problem in failover is a real problem but isn't the 
problem really the size of the message window?  If everyone would do 
SET_WINDOW_SIZE with large enough number (like 32), in failover we could 
do something like next_message_id += window_size / 2, and be happy. 
Though, implementation must ensure it never sends more than the increment 
(that's why window size of 1 doesn't work to begin with).  Why was the 
window size defined by default to 1 anyway?  Is there a reason why this 
wouldn't work? (SET_WINDOW_SIZE specifically allows us to move the 
window)

Any ongoing exchange at the time of the failover can be an issue (rare) 
but most can be eliminated with careful implementation.  For example, the 
following:

  - Delete IKE SA or IPSEC SA
   -> Sync delete to cluster before sending packet to network.  Nodes don't
      actually have to delete the SA, just mark it to be deleted.  This
      applies to both sending delete and receiving delete.

  - Rekey
   -> I don't see this as a problem.  New CHILD_SA or crash recovery solves
      the problem either immediately or relatively quickly.

  It's impossible to make this work perfectly (machines can crash at any
  point), but important thing is that your implementation can recover
  (support crash recovery, do DPD when oddities occur).

I don't much see need for a new exchange, though a draft that explains 
best ideas for implementing clustering and HA would be nice.

 	Pekka

From smoonen@us.ibm.com  Fri Sep  3 12:43:58 2010
Return-Path: <smoonen@us.ibm.com>
X-Original-To: ipsec@core3.amsl.com
Delivered-To: ipsec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id A4DA33A6818; Fri,  3 Sep 2010 12:43:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.88
X-Spam-Level: 
X-Spam-Status: No, score=-2.88 tagged_above=-999 required=5 tests=[AWL=-2.245,  BAYES_00=-2.599, HTML_MESSAGE=0.001, SARE_GIF_ATTACH=1.42, TVD_FW_GRAPHIC_NAME_MID=0.543]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cNyShzuNTXme; Fri,  3 Sep 2010 12:43:57 -0700 (PDT)
Received: from e37.co.us.ibm.com (e37.co.us.ibm.com [32.97.110.158]) by core3.amsl.com (Postfix) with ESMTP id 0B79D3A68E8; Fri,  3 Sep 2010 12:43:56 -0700 (PDT)
Received: from d03relay04.boulder.ibm.com (d03relay04.boulder.ibm.com [9.17.195.106]) by e37.co.us.ibm.com (8.14.4/8.13.1) with ESMTP id o83JgIx7028601; Fri, 3 Sep 2010 13:42:18 -0600
Received: from d03av02.boulder.ibm.com (d03av02.boulder.ibm.com [9.17.195.168]) by d03relay04.boulder.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id o83JiItk113712; Fri, 3 Sep 2010 13:44:18 -0600
Received: from d03av02.boulder.ibm.com (loopback [127.0.0.1]) by d03av02.boulder.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id o83JiHEI024299; Fri, 3 Sep 2010 13:44:17 -0600
Received: from d03nm118.boulder.ibm.com (d03nm118.boulder.ibm.com [9.17.195.144]) by d03av02.boulder.ibm.com (8.14.4/8.13.1/NCO v10.0 AVin) with ESMTP id o83JiGoJ024127; Fri, 3 Sep 2010 13:44:16 -0600
In-Reply-To: <20100902221501.E69643A6975@core3.amsl.com>
References: <20100902221501.E69643A6975@core3.amsl.com>
X-KeepSent: 76A6CA01:2B4E5A65-85257793:0069381E; type=4; name=$KeepSent
To: Internet-Drafts@ietf.org
X-Mailer: Lotus Notes Release 8.5.1FP1 SHF20 February 10, 2010
Message-ID: <OF76A6CA01.2B4E5A65-ON85257793.0069381E-85257793.006C5741@us.ibm.com>
From: Scott C Moonen <smoonen@us.ibm.com>
Date: Fri, 3 Sep 2010 15:43:22 -0400
X-MIMETrack: Serialize by Router on D03NM118/03/M/IBM(Release 8.5.1FP4|July 25, 2010) at 09/03/2010 13:44:16
MIME-Version: 1.0
Content-type: multipart/related;  Boundary="0__=0ABBFD00DFFABE8E8f9e8a93df938690918c0ABBFD00DFFABE8E"
Cc: ipsec@ietf.org, ipsec-bounces@ietf.org, i-d-announce@ietf.org
Subject: Re: [IPsec] I-D Action:draft-ietf-ipsecme-failure-detection-00.txt
X-BeenThere: ipsec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discussion of IPsec protocols <ipsec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipsec>
List-Post: <mailto:ipsec@ietf.org>
List-Help: <mailto:ipsec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 03 Sep 2010 19:43:58 -0000

--0__=0ABBFD00DFFABE8E8f9e8a93df938690918c0ABBFD00DFFABE8E
Content-type: multipart/alternative; 
	Boundary="1__=0ABBFD00DFFABE8E8f9e8a93df938690918c0ABBFD00DFFABE8E"

--1__=0ABBFD00DFFABE8E8f9e8a93df938690918c0ABBFD00DFFABE8E
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: quoted-printable


Looks good.  I have one technical question:

- What is the purpose of sending an empty response to the unprotected N=

(INVALID[_IKE]_SPI)&N(QCD_TOKEN)+ message?  I'm not sure it provides an=
y
real value and would really prefer not to send it.  Also, this contradi=
cts
a few "MUST NOT" statements in ikev2bis concerning how we handle
unprotected messages; if the consensus is to keep this behavior then we=

should make clear that we are self-consciously breaking the rules here.=


And some editorial nits:

- A couple of block quotes seem to have an extraneous first-line indent=
.
They are "If this Informational Message . . ." and "It is suggested . .=
 . "
- Instead of "dependant" (generally used only as a noun) we should use
"dependent".
- I don't think that the MAY in "MAY send this notification freely" sho=
uld
be capitalized.  It does not sound normative to me.  If we want to make=
 it
normative I suggest we say "token maker" rather than "peer," and specif=
y
SHOULD instead.
- Capitalization: need lowercase 't' in "The IKE SPI and message ID . .=
 ."
- Count: Replace "Two method" with "Two methods"
- Suggest "requirements of" or "requirements for" in place of "requirem=
ents
from"
- Suggest removing a few extraneous commas: "The token maker, MUST" and=

"such, that" and "help, is"


Scott Moonen (smoonen@us.ibm.com)
z/OS Communications Server TCP/IP Development
http://www.linkedin.com/in/smoonen



From:	Internet-Drafts@ietf.org
To:	i-d-announce@ietf.org
Cc:	ipsec@ietf.org
Date:	09/02/2010 06:16 PM
Subject:	[IPsec] I-D Action:draft-ietf-ipsecme-failure-detection-00.txt=

Sent by:	ipsec-bounces@ietf.org



A New Internet-Draft is available from the on-line Internet-Drafts
directories.
This draft is a work item of the IP Security Maintenance and Extensions=

Working Group of the IETF.


		 Title           : A Quick Crash Detection Method for IKE
		 Author(s)       : Y. Nir, D. Wierbowski
		 Filename        : draft-ietf-ipsecme-failure-detection-00.txt
		 Pages           : 21
		 Date            : 2010-09-02

This document describes an extension to the IKEv2 protocol that
allows for faster detection of SA desynchronization using a saved
token.

When an IPsec tunnel between two IKEv2 peers is disconnected due to a
restart of one peer, it can take as much as several minutes for the
other peer to discover that the reboot has occurred, thus delaying
recovery.  In this text we propose an extension to the protocol, that
allows for recovery immediately following the restart.

A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-ietf-ipsecme-failure-detectio=
n-00.txt


Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/

Below is the data which will enable a MIME compliant mail reader
implementation to automatically retrieve the ASCII version of the
Internet-Draft.
ftp://anonymous@ftp.ietf.org/internet-drafts/draft-ietf-ipsecme-failure=
-detection-00.txt
_______________________________________________
IPsec mailing list
IPsec@ietf.org
https://www.ietf.org/mailman/listinfo/ipsec
=

--1__=0ABBFD00DFFABE8E8f9e8a93df938690918c0ABBFD00DFFABE8E
Content-type: text/html; charset=US-ASCII
Content-Disposition: inline
Content-transfer-encoding: quoted-printable

<html><body>
<p>Looks good.  I have one technical question:<br>
<br>
- What is the purpose of sending an empty response to the unprotected N=
(INVALID[_IKE]_SPI)&amp;N(QCD_TOKEN)+ message?  I'm not sure it provide=
s any real value and would really prefer not to send it.  Also, this co=
ntradicts a few &quot;MUST NOT&quot; statements in ikev2bis concerning =
how we handle unprotected messages; if the consensus is to keep this be=
havior then we should make clear that we are self-consciously breaking =
the rules here.<br>
<br>
And some editorial nits:<br>
<br>
- A couple of block quotes seem to have an extraneous first-line indent=
.  They are &quot;If this Informational Message . . .&quot; and &quot;I=
t is suggested . . . &quot;<br>
- Instead of &quot;dependant&quot; (generally used only as a noun) we s=
hould use &quot;dependent&quot;.<br>
- I don't think that the MAY in &quot;MAY send this notification freely=
&quot; should be capitalized.  It does not sound normative to me.  If w=
e want to make it normative I suggest we say &quot;token maker&quot; ra=
ther than &quot;peer,&quot; and specify SHOULD instead.<br>
- Capitalization: need lowercase 't' in &quot;The IKE SPI and message I=
D . . .&quot;<br>
- Count: Replace &quot;Two method&quot; with &quot;Two methods&quot;<br=
>
- Suggest &quot;requirements of&quot; or &quot;requirements for&quot; i=
n place of &quot;requirements from&quot;<br>
- Suggest removing a few extraneous commas: &quot;The token maker, MUST=
&quot; and &quot;such, that&quot; and &quot;help, is&quot;<br>
<br>
<br>
Scott Moonen (smoonen@us.ibm.com)<br>
z/OS Communications Server TCP/IP Development<br>
<a href=3D"http://www.linkedin.com/in/smoonen">http://www.linkedin.com/=
in/smoonen</a><br>
<br>
<img width=3D"16" height=3D"16" src=3D"cid:1__=3D0ABBFD00DFFABE8E8f9e8a=
93df938@us.ibm.com" border=3D"0" alt=3D"Inactive hide details for Inter=
net-Drafts---09/02/2010 06:16:29 PM---A New Internet-Draft is available=
 from the on-line Interne"><font color=3D"#424282">Internet-Drafts---09=
/02/2010 06:16:29 PM---A New Internet-Draft is available from the on-li=
ne Internet-Drafts directories. This draft is a work</font><br>
<br>
<font size=3D"2" color=3D"#5F5F5F">From:	</font><font size=3D"2">Intern=
et-Drafts@ietf.org</font><br>
<font size=3D"2" color=3D"#5F5F5F">To:	</font><font size=3D"2">i-d-anno=
unce@ietf.org</font><br>
<font size=3D"2" color=3D"#5F5F5F">Cc:	</font><font size=3D"2">ipsec@ie=
tf.org</font><br>
<font size=3D"2" color=3D"#5F5F5F">Date:	</font><font size=3D"2">09/02/=
2010 06:16 PM</font><br>
<font size=3D"2" color=3D"#5F5F5F">Subject:	</font><font size=3D"2">[IP=
sec] I-D Action:draft-ietf-ipsecme-failure-detection-00.txt</font><br>
<font size=3D"2" color=3D"#5F5F5F">Sent by:	</font><font size=3D"2">ips=
ec-bounces@ietf.org</font><br>
<hr width=3D"100%" size=3D"2" align=3D"left" noshade style=3D"color:#80=
91A5; "><br>
<br>
<br>
<tt>A New Internet-Draft is available from the on-line Internet-Drafts =
directories.<br>
This draft is a work item of the IP Security Maintenance and Extensions=
 Working Group of the IETF.<br>
<br>
<br>
		 Title &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; : A Quick Crash Detection M=
ethod for IKE<br>
		 Author(s) &nbsp; &nbsp; &nbsp; : Y. Nir, D. Wierbowski<br>
		 Filename &nbsp; &nbsp; &nbsp; &nbsp;: draft-ietf-ipsecme-failure-det=
ection-00.txt<br>
		 Pages &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; : 21<br>
		 Date &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;: 2010-09-02<br>
<br>
This document describes an extension to the IKEv2 protocol that<br>
allows for faster detection of SA desynchronization using a saved<br>
token.<br>
<br>
When an IPsec tunnel between two IKEv2 peers is disconnected due to a<b=
r>
restart of one peer, it can take as much as several minutes for the<br>=

other peer to discover that the reboot has occurred, thus delaying<br>
recovery. &nbsp;In this text we propose an extension to the protocol, t=
hat<br>
allows for recovery immediately following the restart.<br>
<br>
A URL for this Internet-Draft is:<br>
</tt><tt><a href=3D"http://www.ietf.org/internet-drafts/draft-ietf-ipse=
cme-failure-detection-00.txt">http://www.ietf.org/internet-drafts/draft=
-ietf-ipsecme-failure-detection-00.txt</a></tt><tt><br>
<br>
Internet-Drafts are also available by anonymous FTP at:<br>
</tt><tt><a href=3D"ftp://ftp.ietf.org/internet-drafts/">ftp://ftp.ietf=
.org/internet-drafts/</a></tt><tt><br>
<br>
Below is the data which will enable a MIME compliant mail reader<br>
implementation to automatically retrieve the ASCII version of the<br>
Internet-Draft.<br>
</tt><a href=3D"ftp://anonymous@ftp.ietf.org/internet-drafts/draft-ietf=
-ipsecme-failure-detection-00.txt">ftp://anonymous@ftp.ietf.org/interne=
t-drafts/draft-ietf-ipsecme-failure-detection-00.txt</a><tt>___________=
____________________________________<br>
IPsec mailing list<br>
IPsec@ietf.org<br>
</tt><tt><a href=3D"https://www.ietf.org/mailman/listinfo/ipsec">https:=
//www.ietf.org/mailman/listinfo/ipsec</a></tt><tt><br>
</tt><br>
</body></html>=


--1__=0ABBFD00DFFABE8E8f9e8a93df938690918c0ABBFD00DFFABE8E--


--0__=0ABBFD00DFFABE8E8f9e8a93df938690918c0ABBFD00DFFABE8E
Content-type: image/gif; 
	name="graycol.gif"
Content-Disposition: inline; filename="graycol.gif"
Content-ID: <1__=0ABBFD00DFFABE8E8f9e8a93df938@us.ibm.com>
Content-transfer-encoding: base64

R0lGODlhEAAQAKECAMzMzAAAAP///wAAACH5BAEAAAIALAAAAAAQABAAAAIXlI+py+0PopwxUbpu
ZRfKZ2zgSJbmSRYAIf4fT3B0aW1pemVkIGJ5IFVsZWFkIFNtYXJ0U2F2ZXIhAAA7

--0__=0ABBFD00DFFABE8E8f9e8a93df938690918c0ABBFD00DFFABE8E--


From ynir@checkpoint.com  Sat Sep  4 01:34:29 2010
Return-Path: <ynir@checkpoint.com>
X-Original-To: ipsec@core3.amsl.com
Delivered-To: ipsec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 091CB3A6403 for <ipsec@core3.amsl.com>; Sat,  4 Sep 2010 01:34:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.541
X-Spam-Level: 
X-Spam-Status: No, score=-2.541 tagged_above=-999 required=5 tests=[AWL=0.058,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ndfBK5JD1EP9 for <ipsec@core3.amsl.com>; Sat,  4 Sep 2010 01:34:26 -0700 (PDT)
Received: from michael.checkpoint.com (smtp.checkpoint.com [194.29.34.68]) by core3.amsl.com (Postfix) with ESMTP id 8A1673A67F6 for <ipsec@ietf.org>; Sat,  4 Sep 2010 01:34:25 -0700 (PDT)
X-CheckPoint: {4C8212C6-3-1B221DC2-2FFFF}
Received: from il-ex01.ad.checkpoint.com (il-ex01.checkpoint.com [194.29.34.26]) by michael.checkpoint.com (8.13.8/8.13.8) with ESMTP id o848Yrc9016296;  Sat, 4 Sep 2010 11:34:53 +0300
Received: from il-ex01.ad.checkpoint.com ([126.0.0.2]) by il-ex01.ad.checkpoint.com ([126.0.0.2]) with mapi; Sat, 4 Sep 2010 11:35:34 +0300
From: Yoav Nir <ynir@checkpoint.com>
To: Scott C Moonen <smoonen@us.ibm.com>
Date: Sat, 4 Sep 2010 11:34:52 +0300
Thread-Topic: [IPsec] I-D Action:draft-ietf-ipsecme-failure-detection-00.txt
Thread-Index: ActMDCQFdf5jO2iiR/a6bdPCnQ/aBw==
Message-ID: <8C766DC9-83A7-4CAD-B726-A2F40F6C3160@checkpoint.com>
References: <20100902221501.E69643A6975@core3.amsl.com> <OF76A6CA01.2B4E5A65-ON85257793.0069381E-85257793.006C5741@us.ibm.com>
In-Reply-To: <OF76A6CA01.2B4E5A65-ON85257793.0069381E-85257793.006C5741@us.ibm.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Cc: IPsecme WG <ipsec@ietf.org>
Subject: Re: [IPsec] I-D Action:draft-ietf-ipsecme-failure-detection-00.txt
X-BeenThere: ipsec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discussion of IPsec protocols <ipsec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipsec>
List-Post: <mailto:ipsec@ietf.org>
List-Help: <mailto:ipsec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 04 Sep 2010 08:34:29 -0000

Hi Scott.

On Sep 3, 2010, at 10:43 PM, Scott C Moonen wrote:

> Looks good. I have one technical question:
>=20
> - What is the purpose of sending an empty response to the unprotected N(I=
NVALID[_IKE]_SPI)&N(QCD_TOKEN)+ message? I'm not sure it provides any real =
value and would really prefer not to send it. Also, this contradicts a few =
"MUST NOT" statements in ikev2bis concerning how we handle unprotected mess=
ages; if the consensus is to keep this behavior then we should make clear t=
hat we are self-consciously breaking the rules here.

OK. I've opened ticket 189 for this.
http://trac.tools.ietf.org/wg/ipsecme/trac/ticket/189

> And some editorial nits:
>=20
> - A couple of block quotes seem to have an extraneous first-line indent. =
They are "If this Informational Message . . ." and "It is suggested . . . "

I've copied them from "official" text version of the draft, without reflowi=
ng the text. Looks really cool in the HTML version.

> - Instead of "dependant" (generally used only as a noun) we should use "d=
ependent".

Will fix in -01

> - I don't think that the MAY in "MAY send this notification freely" shoul=
d be capitalized. It does not sound normative to me. If we want to make it =
normative I suggest we say "token maker" rather than "peer," and specify SH=
OULD instead.

I agree. Unless someone objects, I will make it lower case in -01.

> - Capitalization: need lowercase 't' in "The IKE SPI and message ID . . .=
"
> - Count: Replace "Two method" with "Two methods"
> - Suggest "requirements of" or "requirements for" in place of "requiremen=
ts from"
> - Suggest removing a few extraneous commas: "The token maker, MUST" and "=
such, that" and "help, is"

Will fix all of these in -01.


From priikone@iki.fi  Sat Sep  4 03:42:49 2010
Return-Path: <priikone@iki.fi>
X-Original-To: ipsec@core3.amsl.com
Delivered-To: ipsec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 1BA7E3A680D for <ipsec@core3.amsl.com>; Sat,  4 Sep 2010 03:42:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kzaoktulvjEl for <ipsec@core3.amsl.com>; Sat,  4 Sep 2010 03:42:48 -0700 (PDT)
Received: from otaku.Xtrmntr.org (sauna.silcnet.org [IPv6:2001:4118:10:4000::2205]) by core3.amsl.com (Postfix) with ESMTP id D01EF3A6805 for <ipsec@ietf.org>; Sat,  4 Sep 2010 03:42:47 -0700 (PDT)
Received: by otaku.Xtrmntr.org (Postfix, from userid 201) id 9C7E54947; Sat,  4 Sep 2010 12:43:59 +0200 (CEST)
Received: from localhost (localhost [127.0.0.1]) by otaku.Xtrmntr.org (Postfix) with ESMTP id 9B0F048B8; Sat,  4 Sep 2010 12:43:59 +0200 (CEST)
Date: Sat, 4 Sep 2010 12:43:59 +0200 (CEST)
From: Pekka Riikonen <priikone@iki.fi>
X-X-Sender: priikone@otaku.Xtrmntr.org
To: ipsec@ietf.org
In-Reply-To: <Pine.NEB.4.64.1009031036290.18173@otaku.Xtrmntr.org>
Message-ID: <Pine.NEB.4.64.1009041220080.132@otaku.Xtrmntr.org>
References: <Pine.NEB.4.64.1009031036290.18173@otaku.Xtrmntr.org>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Cc: ynir@checkpoint.com, kivinen@iki.fi
Subject: Re: [IPsec] Comments draft-kagarigi-ipsecme-ikev2-windowsync-04
X-BeenThere: ipsec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discussion of IPsec protocols <ipsec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipsec>
List-Post: <mailto:ipsec@ietf.org>
List-Help: <mailto:ipsec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 04 Sep 2010 10:42:49 -0000

On Fri, 3 Sep 2010, Pekka Riikonen wrote:

: something like next_message_id += window_size / 2, and be happy. Though,
: implementation must ensure it never sends more than the increment (that's why
: window size of 1 doesn't work to begin with).  Why was the window size defined
: by default to 1 anyway?  Is there a reason why this wouldn't work?
:
This doesn't actually work.  I think I'm seeing some ambiquity in the spec 
when window size > 1.  But, there's still ways to make this work easier 
than with new exchange.

We could add new RESET_WINDOW notify that, when received inside a valid 
window will reset the left side of the window to the value requested.  In 
failover (assuming window size > 1), the online node can send the 
notification to reset the window to the new value.  Responder clears the 
old states in the window as initiator has now deemed them lost.   
Responder must reply with its N(RESET_WINDOW).

At the same time we should add GET_WINDOW_SIZE notify which initiator can 
use to request/require responder to set the window size.  Responder SHOULD 
respond with SET_WINDOW_SIZE of at least the same size.  So when initiator 
sends its N(SET_WINDOW_SIZE) it could at the same time require the 
responder to send it too.

All these notifications in the ikev2bis should be "MUST be supported".  

And then of course there's the poor man's way, where implementation after 
the failover could keep sending empty INFORMATIONAL's with new message 
ids, and wait until it receives response.  It now knows the message ids 
to both directions.  This requires that the message ids are synced in the 
cluster after every packet, so that node has recent values in the 
failover.

	Pekka

From kagarigi@cisco.com  Sat Sep  4 04:16:24 2010
Return-Path: <kagarigi@cisco.com>
X-Original-To: ipsec@core3.amsl.com
Delivered-To: ipsec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 6C78B3A6814 for <ipsec@core3.amsl.com>; Sat,  4 Sep 2010 04:16:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.854
X-Spam-Level: 
X-Spam-Status: No, score=-9.854 tagged_above=-999 required=5 tests=[AWL=0.744,  BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fYWxrAeYVKYg for <ipsec@core3.amsl.com>; Sat,  4 Sep 2010 04:16:18 -0700 (PDT)
Received: from sj-iport-5.cisco.com (sj-iport-5.cisco.com [171.68.10.87]) by core3.amsl.com (Postfix) with ESMTP id 166373A680A for <ipsec@ietf.org>; Sat,  4 Sep 2010 04:16:18 -0700 (PDT)
Authentication-Results: sj-iport-5.cisco.com; dkim=neutral (message not signed) header.i=none
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AikFABLHgUxAaMHG/2dsb2JhbACBRJ9acZ8AmzeFPQSEQYhU
X-IronPort-AV: E=Sophos;i="4.56,317,1280707200";  d="scan'208,217";a="249783817"
Received: from syd-core-1.cisco.com ([64.104.193.198]) by sj-iport-5.cisco.com with ESMTP; 04 Sep 2010 11:16:46 +0000
Received: from xbh-bgl-411.cisco.com (xbh-bgl-411.cisco.com [72.163.129.201]) by syd-core-1.cisco.com (8.13.8/8.14.3) with ESMTP id o84BGiIc005196; Sat, 4 Sep 2010 11:16:45 GMT
Received: from xmb-bgl-417.cisco.com ([72.163.129.213]) by xbh-bgl-411.cisco.com with Microsoft SMTPSVC(6.0.3790.4675);  Sat, 4 Sep 2010 16:46:44 +0530
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01CB4C22.A7D06AA0"
Date: Sat, 4 Sep 2010 16:46:42 +0530
Message-ID: <04BD913C7AD1B84297D26D5614FBE1330150B920@XMB-BGL-417.cisco.com>
In-Reply-To: <Pine.NEB.4.64.1009031036290.18173@otaku.Xtrmntr.org>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [IPsec] Comments draft-kagarigi-ipsecme-ikev2-windowsync-04
Thread-Index: ActLfuDyylDN2stAQC6ythF/m4BQUQAmu4Xw
References: <Pine.NEB.4.64.1009031036290.18173@otaku.Xtrmntr.org>
From: "Kalyani Garigipati (kagarigi)" <kagarigi@cisco.com>
To: "Pekka Riikonen" <priikone@iki.fi>, <ynir@checkpoint.com>
X-OriginalArrivalTime: 04 Sep 2010 11:16:44.0081 (UTC) FILETIME=[A7F79210:01CB4C22]
Cc: ipsec@ietf.org, kivinen@iki.fi
Subject: Re: [IPsec] Comments draft-kagarigi-ipsecme-ikev2-windowsync-04
X-BeenThere: ipsec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discussion of IPsec protocols <ipsec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipsec>
List-Post: <mailto:ipsec@ietf.org>
List-Help: <mailto:ipsec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 04 Sep 2010 11:16:24 -0000

This is a multi-part message in MIME format.

------_=_NextPart_001_01CB4C22.A7D06AA0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hi Pekka,

=20

Thanks for the comments on draft.

Please find my comments inline.

=20

Regards,

Kalyani

=20

-----Original Message-----
From: ipsec-bounces@ietf.org [mailto:ipsec-bounces@ietf.org] On Behalf
Of Pekka Riikonen
Sent: Friday, September 03, 2010 2:48 PM
To: ynir@checkpoint.com
Cc: ipsec@ietf.org; kivinen@iki.fi
Subject: Re: [IPsec] Comments draft-kagarigi-ipsecme-ikev2-windowsync-04

=20

I am a bit sceptical about the draft as it appears to be solving
something=20

that doesn't have to be such a huge problem by introducing a new
exchange.

=20

First, the ESP sequence number sync.  In case of failover the online
node=20

should simply increment the sequence number with a large enough number;=20

the anti-replay window can always move forward.  Implementations should=20

also perform periodical sequence number sync in the cluster (fe. every
2-5=20

seconds) to keep the numbers close enough in nodes.  I see no reason to=20

sync this information between peers.  It will never work perfectly
anyway=20

(there is too much traffic).  More frequently you sync the sequence=20

numbers in the cluster smaller the increment needs to be (calculate=20

expected pps).

=20

Second, the message ID problem in failover is a real problem but isn't
the=20

problem really the size of the message window?  If everyone would do=20

SET_WINDOW_SIZE with large enough number (like 32), in failover we could


do something like next_message_id +=3D window_size / 2, and be happy.=20

Though, implementation must ensure it never sends more than the
increment=20

(that's why window size of 1 doesn't work to begin with).  Why was the=20

window size defined by default to 1 anyway?  Is there a reason why this=20

wouldn't work? (SET_WINDOW_SIZE specifically allows us to move the=20

window)

=20

[KALYANI] We can always have the larger window size and send the new
request from failover device with the incremented message Id.

But the problem with this approach is, In case of windowing unless all
the messages are received=20

with in the window range , the window never moves, hence the lost

Request will never be sent and eventually the sa will have to be
deleted, which can be avoided if this draft is implemented.

=20

=20

Any ongoing exchange at the time of the failover can be an issue (rare)=20

but most can be eliminated with careful implementation.  For example,
the=20

following:

=20

  - Delete IKE SA or IPSEC SA

   -> Sync delete to cluster before sending packet to network.  Nodes
don't

      actually have to delete the SA, just mark it to be deleted.  This

      applies to both sending delete and receiving delete.

=20

[KALYANI] If the message to delete the IKE SA is lost , then this would
make the active and failover device to be out-of-sync.

=20

  - Rekey

   -> I don't see this as a problem.  New CHILD_SA or crash recovery
solves

      the problem either immediately or relatively quickly.

=20

  It's impossible to make this work perfectly (machines can crash at any

  point), but important thing is that your implementation can recover

  (support crash recovery, do DPD when oddities occur).

=20

[KALYANI] This draft proposes the synchronization of message Id's using
the IKE SA which is present on failover and peer devices.

In case of active member crash during IKE SA delete/rekey, the SA at
peer and failover device does not match(

 which means old sa is present on failover and new sa is present on
peer). IKE message Id synchronization is not meant to solve such issues.

=20

I don't much see need for a new exchange, though a draft that explains=20

best ideas for implementing clustering and HA would be nice.

=20

      Pekka

_______________________________________________

IPsec mailing list

IPsec@ietf.org

https://www.ietf.org/mailman/listinfo/ipsec


------_=_NextPart_001_01CB4C22.A7D06AA0
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:st1=3D"urn:schemas-microsoft-com:office:smarttags" =
xmlns=3D"http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)">
<o:SmartTagType =
namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags"
 name=3D"State"/>
<o:SmartTagType =
namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags"
 name=3D"place"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman";}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{color:purple;
	text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:10.0pt;
	font-family:"Courier New";}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 77.95pt 1.0in 77.95pt;}
div.Section1
	{page:Section1;}
-->
</style>

</head>

<body lang=3DEN-US link=3Dblue vlink=3Dpurple>

<div class=3DSection1>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>Hi Pekka,<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>Thanks for the comments on draft.<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>Please find my comments inline.<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>Regards,<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>Kalyani<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>-----Original Message-----<br>
From: ipsec-bounces@ietf.org [mailto:ipsec-bounces@ietf.org] On Behalf =
Of Pekka
Riikonen<br>
Sent: Friday, September 03, 2010 2:48 PM<br>
To: ynir@checkpoint.com<br>
Cc: ipsec@ietf.org; kivinen@iki.fi<br>
Subject: Re: [IPsec] Comments =
draft-kagarigi-ipsecme-ikev2-windowsync-04</span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>I am a bit sceptical about the draft as it appears to be solving
something <o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>that doesn't have to be such a huge problem by introducing a new
exchange.<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>First, the ESP sequence number sync.&nbsp; In case of failover =
the
online node <o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>should simply increment the sequence number with a large enough =
number;
<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>the anti-replay window can always move forward.&nbsp; =
Implementations
should <o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>also perform periodical sequence number sync in the cluster (fe. =
every
2-5 <o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>seconds) to keep the numbers close enough in nodes.&nbsp; I see =
no
reason to <o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>sync this information between peers.&nbsp; It will never work =
perfectly
anyway <o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>(there is too much traffic).&nbsp; More frequently you sync the
sequence <o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>numbers in the cluster smaller the increment needs to be =
(calculate <o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>expected pps).<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>Second, the message ID problem in failover is a real problem but =
isn't
the <o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>problem really the size of the message window?&nbsp; If everyone =
would
do <o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>SET_WINDOW_SIZE with large enough number (like 32), in failover =
we
could <o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>do something like next_message_id +=3D window_size / 2, and be =
happy. <o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>Though, implementation must ensure it never sends more than the
increment <o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>(that's why window size of 1 doesn't work to begin with).&nbsp; =
Why was
the <o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>window size defined by default to 1 anyway?&nbsp; Is there a =
reason why
this <o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>wouldn't work? (SET_WINDOW_SIZE specifically allows us to move =
the <o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>window)<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 color=3Dblue face=3D"Courier =
New"><span
style=3D'font-size:10.0pt;color:blue'>[KALYANI] We can always have the =
larger
window size and send the new request from failover device with the =
incremented
message <st1:State w:st=3D"on"><st1:place =
w:st=3D"on">Id.</st1:place></st1:State><o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 color=3Dblue face=3D"Courier =
New"><span
style=3D'font-size:10.0pt;color:blue'>But the problem with this approach =
is, In
case of windowing unless all the messages are received =
<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 color=3Dblue face=3D"Courier =
New"><span
style=3D'font-size:10.0pt;color:blue'>with in the window range , the =
window never
moves, hence the lost<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 color=3Dblue face=3D"Courier =
New"><span
style=3D'font-size:10.0pt;color:blue'>Request will never be sent and =
eventually
the sa will have to be deleted, which can be avoided if this draft is
implemented.<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 color=3Dblue face=3D"Courier =
New"><span
style=3D'font-size:10.0pt;color:blue'><o:p>&nbsp;</o:p></span></font></p>=


<p class=3DMsoPlainText><font size=3D2 color=3Dblue face=3D"Courier =
New"><span
style=3D'font-size:10.0pt;color:blue'><o:p>&nbsp;</o:p></span></font></p>=


<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>Any ongoing exchange at the time of the failover can be an issue =
(rare)
<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>but most can be eliminated with careful implementation.&nbsp; =
For
example, the <o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>following:<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>&nbsp; - Delete IKE SA or IPSEC SA<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>&nbsp;&nbsp; -&gt; Sync delete to cluster before sending packet =
to
network.&nbsp; Nodes don't<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; actually have to delete the SA, =
just
mark it to be deleted.&nbsp; This<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; applies to both sending delete =
and
receiving delete.<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 color=3Dblack face=3D"Courier =
New"><span
style=3D'font-size:10.0pt;color:black'><o:p>&nbsp;</o:p></span></font></p=
>

<p class=3DMsoPlainText><font size=3D2 color=3Dblue face=3D"Courier =
New"><span
style=3D'font-size:10.0pt;color:blue'>[KALYANI] If the message to delete =
the IKE
SA is lost , then this would make the active and failover device to be
out-of-sync.<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>&nbsp; - Rekey<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>&nbsp;&nbsp; -&gt; I don't see this as a problem.&nbsp; New =
CHILD_SA or
crash recovery solves<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; the problem either immediately or
relatively quickly.<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>&nbsp; It's impossible to make this work perfectly (machines can =
crash
at any<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>&nbsp; point), but important thing is that your implementation =
can
recover<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>&nbsp; (support crash recovery, do DPD when oddities =
occur).<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 color=3Dblue face=3D"Courier =
New"><span
style=3D'font-size:10.0pt;color:blue'>[KALYANI] This draft proposes the =
synchronization
of message Id&#8217;s using the IKE SA which is present on failover and =
peer
devices.<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 color=3Dblue face=3D"Courier =
New"><span
style=3D'font-size:10.0pt;color:blue'>In case of active member crash =
during IKE
SA delete/rekey, the SA at peer and failover device does not =
match(<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 color=3Dblue face=3D"Courier =
New"><span
style=3D'font-size:10.0pt;color:blue'>&nbsp;which means old sa is =
present on
failover and new sa is present on peer). IKE message Id synchronization =
is not
meant to solve such issues.</span></font><font color=3Dblack><span
style=3D'color:black'><o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 color=3Dblack face=3D"Courier =
New"><span
style=3D'font-size:10.0pt;color:black'><o:p>&nbsp;</o:p></span></font></p=
>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>I don't much see need for a new exchange, though a draft that =
explains <o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>best ideas for implementing clustering and HA would be =
nice.<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
Pekka<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>_______________________________________________<o:p></o:p></span>=
</font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>IPsec mailing list<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>IPsec@ietf.org<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>https://www.ietf.org/mailman/listinfo/ipsec<o:p></o:p></span></fo=
nt></p>

</div>

</body>

</html>

------_=_NextPart_001_01CB4C22.A7D06AA0--

From kagarigi@cisco.com  Sat Sep  4 05:01:27 2010
Return-Path: <kagarigi@cisco.com>
X-Original-To: ipsec@core3.amsl.com
Delivered-To: ipsec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id A538C3A682C for <ipsec@core3.amsl.com>; Sat,  4 Sep 2010 05:01:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.226
X-Spam-Level: 
X-Spam-Status: No, score=-10.226 tagged_above=-999 required=5 tests=[AWL=0.373, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sdJk3QrkRYIs for <ipsec@core3.amsl.com>; Sat,  4 Sep 2010 05:01:26 -0700 (PDT)
Received: from sj-iport-5.cisco.com (sj-iport-5.cisco.com [171.68.10.87]) by core3.amsl.com (Postfix) with ESMTP id B57AC3A682B for <ipsec@ietf.org>; Sat,  4 Sep 2010 05:01:26 -0700 (PDT)
Authentication-Results: sj-iport-5.cisco.com; dkim=neutral (message not signed) header.i=none
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AvsEACbRgUxAaMHG/2dsb2JhbAChHnGfAJsqhT0EhEGIVA
X-IronPort-AV: E=Sophos;i="4.56,317,1280707200"; d="scan'208";a="249788067"
Received: from syd-core-1.cisco.com ([64.104.193.198]) by sj-iport-5.cisco.com with ESMTP; 04 Sep 2010 12:01:54 +0000
Received: from xbh-bgl-412.cisco.com (xbh-bgl-412.cisco.com [72.163.129.202]) by syd-core-1.cisco.com (8.13.8/8.14.3) with ESMTP id o84C1rIf009148; Sat, 4 Sep 2010 12:01:54 GMT
Received: from xmb-bgl-417.cisco.com ([72.163.129.213]) by xbh-bgl-412.cisco.com with Microsoft SMTPSVC(6.0.3790.4675);  Sat, 4 Sep 2010 17:31:52 +0530
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Date: Sat, 4 Sep 2010 17:31:51 +0530
Message-ID: <04BD913C7AD1B84297D26D5614FBE1330150B923@XMB-BGL-417.cisco.com>
In-Reply-To: <Pine.NEB.4.64.1009041220080.132@otaku.Xtrmntr.org>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [IPsec] Comments draft-kagarigi-ipsecme-ikev2-windowsync-04
Thread-Index: ActMHgOrYMFAcsRYRWmLmqGfkBv5BgABYO/g
References: <Pine.NEB.4.64.1009031036290.18173@otaku.Xtrmntr.org> <Pine.NEB.4.64.1009041220080.132@otaku.Xtrmntr.org>
From: "Kalyani Garigipati (kagarigi)" <kagarigi@cisco.com>
To: "Pekka Riikonen" <priikone@iki.fi>, <ipsec@ietf.org>
X-OriginalArrivalTime: 04 Sep 2010 12:01:52.0906 (UTC) FILETIME=[F68D76A0:01CB4C28]
Cc: ynir@checkpoint.com, kivinen@iki.fi
Subject: Re: [IPsec] Comments draft-kagarigi-ipsecme-ikev2-windowsync-04
X-BeenThere: ipsec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discussion of IPsec protocols <ipsec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipsec>
List-Post: <mailto:ipsec@ietf.org>
List-Help: <mailto:ipsec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 04 Sep 2010 12:01:27 -0000

Hi Pekka,

What is the message Id that can be used to send the informational
exchange while sending RESET_WINDOW notify? I find that your approach is
similar to this draft as=20

1. Initiator(failover) and responder(peer) agree upon the new range of
message Id's and ignore the lost message Id's.

Both the approaches define new notifies and need to send a informational
exchange to carry the notifies.

1. If window size is say some five and range expected is 4-8, and if
peer has got all four requests with values 5,6,7,8 and 4 is lost, then
there would be no message id that can be used to send the notify
reset_window.
The initiator will not know which message Id should be used to send the
new notify.=20

And here the problem is not only to send the request, but also to
receive the request. The failover device should also know the
permissible range in which it can receive the requests from the peer.=20

The idea to send a new informational exchange with message Id zero was
thought only because when the failover takes control it would not know
what message Id it can use to know the peer window values .This is the
basic problem of message Id synchronization, so having new notify itself
will not help.

Regards,
Kalyani

-----Original Message-----
From: ipsec-bounces@ietf.org [mailto:ipsec-bounces@ietf.org] On Behalf
Of Pekka Riikonen
Sent: Saturday, September 04, 2010 4:14 PM
To: ipsec@ietf.org
Cc: ynir@checkpoint.com; kivinen@iki.fi
Subject: Re: [IPsec] Comments draft-kagarigi-ipsecme-ikev2-windowsync-04

On Fri, 3 Sep 2010, Pekka Riikonen wrote:

: something like next_message_id +=3D window_size / 2, and be happy.
Though,
: implementation must ensure it never sends more than the increment
(that's why
: window size of 1 doesn't work to begin with).  Why was the window size
defined
: by default to 1 anyway?  Is there a reason why this wouldn't work?
:
This doesn't actually work.  I think I'm seeing some ambiquity in the
spec=20
when window size > 1.  But, there's still ways to make this work easier=20
than with new exchange.

We could add new RESET_WINDOW notify that, when received inside a valid=20
window will reset the left side of the window to the value requested.
In=20
failover (assuming window size > 1), the online node can send the=20
notification to reset the window to the new value.  Responder clears the

old states in the window as initiator has now deemed them lost.  =20
Responder must reply with its N(RESET_WINDOW).

At the same time we should add GET_WINDOW_SIZE notify which initiator
can=20
use to request/require responder to set the window size.  Responder
SHOULD=20
respond with SET_WINDOW_SIZE of at least the same size.  So when
initiator=20
sends its N(SET_WINDOW_SIZE) it could at the same time require the=20
responder to send it too.

All these notifications in the ikev2bis should be "MUST be supported". =20

And then of course there's the poor man's way, where implementation
after=20
the failover could keep sending empty INFORMATIONAL's with new message=20
ids, and wait until it receives response.  It now knows the message ids=20
to both directions.  This requires that the message ids are synced in
the=20
cluster after every packet, so that node has recent values in the=20
failover.

	Pekka
_______________________________________________
IPsec mailing list
IPsec@ietf.org
https://www.ietf.org/mailman/listinfo/ipsec

From priikone@iki.fi  Sat Sep  4 05:54:23 2010
Return-Path: <priikone@iki.fi>
X-Original-To: ipsec@core3.amsl.com
Delivered-To: ipsec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 87A123A6838 for <ipsec@core3.amsl.com>; Sat,  4 Sep 2010 05:54:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id R17dYbZzcT5C for <ipsec@core3.amsl.com>; Sat,  4 Sep 2010 05:54:22 -0700 (PDT)
Received: from otaku.Xtrmntr.org (sauna.silcnet.org [IPv6:2001:4118:10:4000::2205]) by core3.amsl.com (Postfix) with ESMTP id 44E3A3A683E for <ipsec@ietf.org>; Sat,  4 Sep 2010 05:54:22 -0700 (PDT)
Received: by otaku.Xtrmntr.org (Postfix, from userid 201) id AF6C14957; Sat,  4 Sep 2010 14:55:34 +0200 (CEST)
Received: from localhost (localhost [127.0.0.1]) by otaku.Xtrmntr.org (Postfix) with ESMTP id ADCE94947; Sat,  4 Sep 2010 14:55:34 +0200 (CEST)
Date: Sat, 4 Sep 2010 14:55:34 +0200 (CEST)
From: Pekka Riikonen <priikone@iki.fi>
X-X-Sender: priikone@otaku.Xtrmntr.org
To: "Kalyani Garigipati (kagarigi)" <kagarigi@cisco.com>
In-Reply-To: <04BD913C7AD1B84297D26D5614FBE1330150B923@XMB-BGL-417.cisco.com>
Message-ID: <Pine.NEB.4.64.1009041411060.8139@otaku.Xtrmntr.org>
References: <Pine.NEB.4.64.1009031036290.18173@otaku.Xtrmntr.org> <Pine.NEB.4.64.1009041220080.132@otaku.Xtrmntr.org> <04BD913C7AD1B84297D26D5614FBE1330150B923@XMB-BGL-417.cisco.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Cc: ipsec@ietf.org
Subject: Re: [IPsec] Comments draft-kagarigi-ipsecme-ikev2-windowsync-04
X-BeenThere: ipsec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discussion of IPsec protocols <ipsec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipsec>
List-Post: <mailto:ipsec@ietf.org>
List-Help: <mailto:ipsec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 04 Sep 2010 12:54:23 -0000

On Sat, 4 Sep 2010, Kalyani Garigipati (kagarigi) wrote:

: 1. If window size is say some five and range expected is 4-8, and if
: peer has got all four requests with values 5,6,7,8 and 4 is lost, then
: there would be no message id that can be used to send the notify
: reset_window.
: The initiator will not know which message Id should be used to send the
: new notify. 
: 
It's true, you're right.

: The idea to send a new informational exchange with message Id zero was
: thought only because when the failover takes control it would not know
: what message Id it can use to know the peer window values .This is the
: 
Ah, how could I miss that, I still had the new exchange type back in my 
mind from the -00 draft which I read first and then didn't properly read 
the -04.  I'm currently in the midst of this same problem and started 
yesterday looking for a solution and google gave the -00 draft first, only 
later to notice the new version.  Sorry about that, my confusion.  
INFORMATIONAL exchange with message id 0 is definitely the best solution.

I'll probably implement the draft (need working solution soon), and of 
course will support also the finalized version of the draft.  Will need 
some poor man's message id discovery though with peers that doesn't 
support this (at least try DPDs before tearing down SAs).

Although, I'm still not sure if the ESP/AH seq number sync is needed.  It 
should be enough to start sending packets with new sequence numbers.  The 
anti-replay window will move automatically.  Also, imagine a huge cluster 
with tens of thousands of SAs, the number of notifications will grow 
quickly (not to mention packet size when including lots of them in one 
notify).

	Pekka

From ynir@checkpoint.com  Sat Sep  4 23:25:15 2010
Return-Path: <ynir@checkpoint.com>
X-Original-To: ipsec@core3.amsl.com
Delivered-To: ipsec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id D9C4A3A67E9 for <ipsec@core3.amsl.com>; Sat,  4 Sep 2010 23:25:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.542
X-Spam-Level: 
X-Spam-Status: No, score=-2.542 tagged_above=-999 required=5 tests=[AWL=0.057,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6bKQeTkohoYy for <ipsec@core3.amsl.com>; Sat,  4 Sep 2010 23:25:14 -0700 (PDT)
Received: from michael.checkpoint.com (smtp.checkpoint.com [194.29.34.68]) by core3.amsl.com (Postfix) with ESMTP id 0CD0D3A67B4 for <ipsec@ietf.org>; Sat,  4 Sep 2010 23:25:13 -0700 (PDT)
X-CheckPoint: {4C8345F3-0-1B221DC2-2FFFF}
Received: from il-ex01.ad.checkpoint.com (il-ex01.checkpoint.com [194.29.34.26]) by michael.checkpoint.com (8.13.8/8.13.8) with ESMTP id o856PbXw025642;  Sun, 5 Sep 2010 09:25:37 +0300
Received: from il-ex01.ad.checkpoint.com ([126.0.0.2]) by il-ex01.ad.checkpoint.com ([126.0.0.2]) with mapi; Sun, 5 Sep 2010 09:26:18 +0300
From: Yoav Nir <ynir@checkpoint.com>
To: "Kalyani Garigipati (kagarigi)" <kagarigi@cisco.com>
Date: Sun, 5 Sep 2010 09:26:16 +0300
Thread-Topic: [IPsec] Comments draft-kagarigi-ipsecme-ikev2-windowsync-04
Thread-Index: ActMwz7baldVqNt6QxaYyLWYZ6kSgw==
Message-ID: <CD148C4F-B8B6-467D-A79A-7BD89F62DBF5@checkpoint.com>
References: <Pine.NEB.4.64.1009031036290.18173@otaku.Xtrmntr.org> <Pine.NEB.4.64.1009041220080.132@otaku.Xtrmntr.org> <04BD913C7AD1B84297D26D5614FBE1330150B923@XMB-BGL-417.cisco.com>
In-Reply-To: <04BD913C7AD1B84297D26D5614FBE1330150B923@XMB-BGL-417.cisco.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Cc: "ipsec@ietf.org" <ipsec@ietf.org>, "kivinen@iki.fi" <kivinen@iki.fi>, Pekka Riikonen <priikone@iki.fi>
Subject: Re: [IPsec] Comments draft-kagarigi-ipsecme-ikev2-windowsync-04
X-BeenThere: ipsec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discussion of IPsec protocols <ipsec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipsec>
List-Post: <mailto:ipsec@ietf.org>
List-Help: <mailto:ipsec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 05 Sep 2010 06:25:16 -0000

On Sep 4, 2010, at 3:01 PM, Kalyani Garigipati (kagarigi) wrote:

>=20
> 1. If window size is say some five and range expected is 4-8, and if
> peer has got all four requests with values 5,6,7,8 and 4 is lost, then
> there would be no message id that can be used to send the notify
> reset_window.
> The initiator will not know which message Id should be used to send the
> new notify.=20

It's actually worse than that. If message #4 was missed, and 5-8 were recei=
ved, then messages 5-8 are stored, but not processed. This has to be so, be=
cause suppose message 7 deletes the SA that was created in message 4, you c=
an't process it before message 4. In any case, message 4 has to be processe=
d before 5,6,7, and 8. So it doesn't matter what kind of exchange or notifi=
es you have in the new message, or whether it is within the message window =
or outside it. As long as message 4 was lost, the IKE SA is toast unless we=
 have some special processing rules.

>=20
> And here the problem is not only to send the request, but also to
> receive the request. The failover device should also know the
> permissible range in which it can receive the requests from the peer.=20
>=20
> The idea to send a new informational exchange with message Id zero was
> thought only because when the failover takes control it would not know
> what message Id it can use to know the peer window values .This is the
> basic problem of message Id synchronization, so having new notify itself
> will not help.
>=20
> Regards,
> Kalyani


From rsjenwar@gmail.com  Sun Sep  5 00:25:19 2010
Return-Path: <rsjenwar@gmail.com>
X-Original-To: ipsec@core3.amsl.com
Delivered-To: ipsec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id BF4273A659A for <ipsec@core3.amsl.com>; Sun,  5 Sep 2010 00:25:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.598
X-Spam-Level: 
X-Spam-Status: No, score=-2.598 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ioa897mTEniF for <ipsec@core3.amsl.com>; Sun,  5 Sep 2010 00:25:17 -0700 (PDT)
Received: from mail-iw0-f172.google.com (mail-iw0-f172.google.com [209.85.214.172]) by core3.amsl.com (Postfix) with ESMTP id 1869C3A63D3 for <ipsec@ietf.org>; Sun,  5 Sep 2010 00:25:17 -0700 (PDT)
Received: by iwn3 with SMTP id 3so3455693iwn.31 for <ipsec@ietf.org>; Sun, 05 Sep 2010 00:25:46 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:reply-to :in-reply-to:references:date:message-id:subject:from:to:cc :content-type; bh=EkrmwoG2QxNdH5xTSHBb9vdS3fuDt/1+40rP/ESR/kU=; b=ULIhHJMzjvPxlxCH1g/cnaQKXkttKmnbVLR1QmdOsB7h6lYZXXiTIpRvdMttWbKRmd 9kyLBB+ZWqfGtsdw42sN/jTsw9PdvrSftb8sudx2PSCKH+MvuDYellB3Uaox7lVEQdy/ Kgtol7yPU8qdmugpm/JTTLJ4sSb+sf2It/TPk=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; b=fGcTfYZp64NPha3PTDrx2ZEGEDgMuD+pBW/YilFDWYOTfoxygVB6t9I97tc3emhSVE KLXcNr6jbcsirXzb2E7J3U+nkO2h4N7CSFMYvcAEVYMn0qEq0o+dGluyCPUYDWG+SM59 Yeo6dkiepFQYpLWALryn4bcIEzsijpM0+hISg=
MIME-Version: 1.0
Received: by 10.42.1.76 with SMTP id 12mr866018icf.54.1283671546159; Sun, 05 Sep 2010 00:25:46 -0700 (PDT)
Received: by 10.42.7.198 with HTTP; Sun, 5 Sep 2010 00:25:46 -0700 (PDT)
In-Reply-To: <CD148C4F-B8B6-467D-A79A-7BD89F62DBF5@checkpoint.com>
References: <Pine.NEB.4.64.1009031036290.18173@otaku.Xtrmntr.org> <Pine.NEB.4.64.1009041220080.132@otaku.Xtrmntr.org> <04BD913C7AD1B84297D26D5614FBE1330150B923@XMB-BGL-417.cisco.com> <CD148C4F-B8B6-467D-A79A-7BD89F62DBF5@checkpoint.com>
Date: Sun, 5 Sep 2010 12:55:46 +0530
Message-ID: <AANLkTik9sHao0gwDqqVUcVbTd4VgNw0gxwKaVMtT8BN_@mail.gmail.com>
From: Raj Singh <rsjenwar@gmail.com>
To: Yoav Nir <ynir@checkpoint.com>
Content-Type: multipart/alternative; boundary=90e6ba18183684632c048f7e12e1
Cc: "ipsec@ietf.org" <ipsec@ietf.org>, "Kalyani Garigipati \(kagarigi\)" <kagarigi@cisco.com>, Pekka Riikonen <priikone@iki.fi>, "kivinen@iki.fi" <kivinen@iki.fi>
Subject: Re: [IPsec] Comments draft-kagarigi-ipsecme-ikev2-windowsync-04
X-BeenThere: ipsec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: RSJenwar@gmail.com
List-Id: Discussion of IPsec protocols <ipsec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipsec>
List-Post: <mailto:ipsec@ietf.org>
List-Help: <mailto:ipsec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 05 Sep 2010 07:25:19 -0000

--90e6ba18183684632c048f7e12e1
Content-Type: text/plain; charset=UTF-8

On Sun, Sep 5, 2010 at 11:56 AM, Yoav Nir <ynir@checkpoint.com> wrote:

>
> On Sep 4, 2010, at 3:01 PM, Kalyani Garigipati (kagarigi) wrote:
>
> >
> > 1. If window size is say some five and range expected is 4-8, and if
> > peer has got all four requests with values 5,6,7,8 and 4 is lost, then
> > there would be no message id that can be used to send the notify
> > reset_window.
> > The initiator will not know which message Id should be used to send the
> > new notify.
>
> It's actually worse than that. If message #4 was missed, and 5-8 were
> received, then messages 5-8 are stored, but not processed. This has to be
> so, because suppose message 7 deletes the SA that was created in message 4,
> you can't process it before message 4. In any case, message 4 has to be
> processed before 5,6,7, and 8. So it doesn't matter what kind of exchange or
> notifies you have in the new message, or whether it is within the message
> window or outside it. As long as message 4 was lost, the IKE SA is toast
> unless we have some special processing rules.
>

According to me, that's not very correct interpretation of windowing. My
implementation goes ahead with the processing of message if the message is
within window. Storing messages and not processing them is not very
beneficial for the purpose of windowing concept.
Related with your example, how an peer can delete an SA in message # 7, if
message # 4 to create the SA was lost, the SA is not established yet.



>
> >
> > And here the problem is not only to send the request, but also to
> > receive the request. The failover device should also know the
> > permissible range in which it can receive the requests from the peer.
> >
> > The idea to send a new informational exchange with message Id zero was
> > thought only because when the failover takes control it would not know
> > what message Id it can use to know the peer window values .This is the
> > basic problem of message Id synchronization, so having new notify itself
> > will not help.
> >
> > Regards,
> > Kalyani
>
> _______________________________________________
> IPsec mailing list
> IPsec@ietf.org
> https://www.ietf.org/mailman/listinfo/ipsec
>

--90e6ba18183684632c048f7e12e1
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<br><br><div class=3D"gmail_quote">On Sun, Sep 5, 2010 at 11:56 AM, Yoav Ni=
r <span dir=3D"ltr">&lt;<a href=3D"mailto:ynir@checkpoint.com">ynir@checkpo=
int.com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D=
"margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padd=
ing-left: 1ex;">
<div class=3D"im"><br>
On Sep 4, 2010, at 3:01 PM, Kalyani Garigipati (kagarigi) wrote:<br>
<br>
&gt;<br>
&gt; 1. If window size is say some five and range expected is 4-8, and if<b=
r>
&gt; peer has got all four requests with values 5,6,7,8 and 4 is lost, then=
<br>
&gt; there would be no message id that can be used to send the notify<br>
&gt; reset_window.<br>
&gt; The initiator will not know which message Id should be used to send th=
e<br>
&gt; new notify.<br>
<br>
</div>It&#39;s actually worse than that. If message #4 was missed, and 5-8 =
were received, then messages 5-8 are stored, but not processed. This has to=
 be so, because suppose message 7 deletes the SA that was created in messag=
e 4, you can&#39;t process it before message 4. In any case, message 4 has =
to be processed before 5,6,7, and 8. So it doesn&#39;t matter what kind of =
exchange or notifies you have in the new message, or whether it is within t=
he message window or outside it. As long as message 4 was lost, the IKE SA =
is toast unless we have some special processing rules.<br>
</blockquote><div><br>According to me, that&#39;s not very correct interpre=
tation of windowing. My implementation goes ahead with the processing of me=
ssage if the message is within window. Storing messages and not processing =
them is not very beneficial for the purpose of windowing concept.<br>
Related with your example, how an peer can delete an SA in message # 7, if =
message # 4 to create the SA was lost, the SA is not established yet.<br>=
=C2=A0<br>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"margin: 0p=
t 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1=
ex;">

<div class=3D"im"><br>
&gt;<br>
&gt; And here the problem is not only to send the request, but also to<br>
&gt; receive the request. The failover device should also know the<br>
&gt; permissible range in which it can receive the requests from the peer.<=
br>
&gt;<br>
&gt; The idea to send a new informational exchange with message Id zero was=
<br>
&gt; thought only because when the failover takes control it would not know=
<br>
&gt; what message Id it can use to know the peer window values .This is the=
<br>
&gt; basic problem of message Id synchronization, so having new notify itse=
lf<br>
&gt; will not help.<br>
&gt;<br>
&gt; Regards,<br>
&gt; Kalyani<br>
<br>
</div><div><div></div><div class=3D"h5">___________________________________=
____________<br>
IPsec mailing list<br>
<a href=3D"mailto:IPsec@ietf.org">IPsec@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/ipsec" target=3D"_blank">h=
ttps://www.ietf.org/mailman/listinfo/ipsec</a><br>
</div></div></blockquote></div><br>

--90e6ba18183684632c048f7e12e1--

From yaronf.ietf@gmail.com  Sun Sep  5 01:02:41 2010
Return-Path: <yaronf.ietf@gmail.com>
X-Original-To: ipsec@core3.amsl.com
Delivered-To: ipsec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id E18F43A67D3 for <ipsec@core3.amsl.com>; Sun,  5 Sep 2010 01:02:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -101.855
X-Spam-Level: 
X-Spam-Status: No, score=-101.855 tagged_above=-999 required=5 tests=[AWL=-0.745, BAYES_05=-1.11, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Jk97O3TKvG-C for <ipsec@core3.amsl.com>; Sun,  5 Sep 2010 01:02:40 -0700 (PDT)
Received: from mail-bw0-f44.google.com (mail-bw0-f44.google.com [209.85.214.44]) by core3.amsl.com (Postfix) with ESMTP id 42E7B3A63D3 for <ipsec@ietf.org>; Sun,  5 Sep 2010 01:02:39 -0700 (PDT)
Received: by bwz9 with SMTP id 9so3264703bwz.31 for <ipsec@ietf.org>; Sun, 05 Sep 2010 01:03:08 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:content-type :content-transfer-encoding; bh=v0vq73/hpVTqWE6O7UszS9dkv9gjEsE+mAO2Ld4cY9E=; b=W3OSyT0f65Bk07bgBgh4Waudqciqsyl+HsTWlyoC+RQTanwQHTPyV+HFGtt+fDvxe5 hs17m7lebniZt7PYUm05ncBIsKSlVe3WRG6LpW8JAztXE2nqkyfTI/hqPDKrCltYPGVG Vo0EN1rZ7sU9ECnQVntE96YK45LVYGdmOsqvs=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=QYUrOqAKwQJaeOJBn+Z5o3hOfTh6SAsXFCGIEw30/ogCOziPlrdRNxeKgQnb+Re1d9 Ljoz3H6uyw0d/OOJnktibZbrDJmAQy0RnHxBjPzVdyku2pMKkYLcp9ckKV+EAvPzA5jK n2JpgfPXA8Rmgebeqa49GI6/c8CGSv37noNMA=
Received: by 10.204.119.140 with SMTP id z12mr1735757bkq.203.1283673788399; Sun, 05 Sep 2010 01:03:08 -0700 (PDT)
Received: from [10.0.0.2] (bzq-79-183-43-64.red.bezeqint.net [79.183.43.64]) by mx.google.com with ESMTPS id bq20sm3136252bkb.16.2010.09.05.01.03.07 (version=SSLv3 cipher=RC4-MD5); Sun, 05 Sep 2010 01:03:07 -0700 (PDT)
Message-ID: <4C834EBA.9040500@gmail.com>
Date: Sun, 05 Sep 2010 11:03:06 +0300
From: Yaron Sheffer <yaronf.ietf@gmail.com>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.11) Gecko/20100713 Lightning/1.0b1 Thunderbird/3.0.6
MIME-Version: 1.0
To: IPsecme WG <ipsec@ietf.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Subject: [IPsec] Comments on draft-ietf-ipsecme-failure-detection-00
X-BeenThere: ipsec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discussion of IPsec protocols <ipsec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipsec>
List-Post: <mailto:ipsec@ietf.org>
List-Help: <mailto:ipsec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 05 Sep 2010 08:02:42 -0000

In general, the draft is in good shape. But IMO, we have one major 
security issue left: the dependence on SPI values which potentially come 
from a small space, i.e. may be repeated in normal operation, or may be 
coerced into repeating.


Detailed comments:

- 3. I would have preferred the token to be resistant to stealing (and 
duplication), in which case it can be sent in the *first* AUTH message. 
If we ensure that the token maker's SPI is long/random (see below), this 
might be possible.


- 5. Two method -> methods.

- 5.1: this method is indeed problemmatic if SPIi/SPIr pairs are 
repeated with high probability. If SPI pairs only repeat across reboots 
(somewhat unlikely), then an "epoch" (time of last reboot) value can be 
included to mitigate this problem. This is still close enough to stateless.

A possible solution, providing freshness and mitigating some of these 
issues, is to use the entire message sent by the client (typically, a 
protected IKE liveness test) as a nonce. So the token maker sends: 
HASH(HASH(SPIi | SPIr | SECRET) | client-message). This doesn't add 
state, because the client needs to keep the message around for 
retransmissions. But it doesn't work with the technique described in 
Sec. 9.2.

Alternatively it would simplify things immensely if we mandate that SPIs 
be random for implementations that support QCD (possibly only on the 
gateway side). Can we do it without having to "update RFC 4306"?

- 6. Consideration -> considerations.

- 9.1: this is not really a MUST, let's use some non-RFC 2119 wording.

- 9.3: this entire discussion is probably redundant, because when a node 
fails in the LS cluster, you switch to another node. Implementing QCD on 
top of this is probably an overkill. If we remove this section, we can 
get rid of sec. 5.2 as well, and we can focus on a single recommended 
way to generate the token, which would make analysis that much easier.

- The security considerations are focused on details of the QCD 
solution, rather then on the threats we are dealing with. These threats 
are non-trivial to describe, since an active MITM attacker can easily 
cause an IKE SA to be reset. OTOH, we don't want an active non-MITM 
attacker to be able to do so. We need to analyze the threats in order to 
select a secure, but not overlay complex solution.

- 10.2 load sharing sharing.

- 10.2 seems to propose a different (and better?) solution for the issue 
raised in 9.3. These sections need to be consistent, and also with Sec. 5.2.

- 10.3: of course, it is possible that *both* implementations generate 
predictable/short SPI values.

- Please drop Dave from the Acknowledgements.


Thanks,

     Yaron


From ynir@checkpoint.com  Sun Sep  5 11:31:05 2010
Return-Path: <ynir@checkpoint.com>
X-Original-To: ipsec@core3.amsl.com
Delivered-To: ipsec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 0E0503A682E for <ipsec@core3.amsl.com>; Sun,  5 Sep 2010 11:31:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.543
X-Spam-Level: 
X-Spam-Status: No, score=-2.543 tagged_above=-999 required=5 tests=[AWL=0.056,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fSQXpdQ5+B9d for <ipsec@core3.amsl.com>; Sun,  5 Sep 2010 11:31:01 -0700 (PDT)
Received: from michael.checkpoint.com (smtp.checkpoint.com [194.29.34.68]) by core3.amsl.com (Postfix) with ESMTP id 06F0E3A67DF for <ipsec@ietf.org>; Sun,  5 Sep 2010 11:30:58 -0700 (PDT)
X-CheckPoint: {4C83F006-0-1B221DC2-2FFFF}
Received: from il-ex01.ad.checkpoint.com (il-ex01.checkpoint.com [194.29.34.26]) by michael.checkpoint.com (8.13.8/8.13.8) with ESMTP id o85IVO6M000928;  Sun, 5 Sep 2010 21:31:24 +0300
Received: from il-ex01.ad.checkpoint.com ([126.0.0.2]) by il-ex01.ad.checkpoint.com ([126.0.0.2]) with mapi; Sun, 5 Sep 2010 21:32:04 +0300
From: Yoav Nir <ynir@checkpoint.com>
To: Yaron Sheffer <yaronf.ietf@gmail.com>
Date: Sun, 5 Sep 2010 21:31:21 +0300
Thread-Topic: [IPsec] Comments on draft-ietf-ipsecme-failure-detection-00
Thread-Index: ActNKKJ8dt5kx9G1SEyUhQkqspfk+Q==
Message-ID: <A59E6BDB-C3A1-4ECD-9A23-447867B63277@checkpoint.com>
References: <4C834EBA.9040500@gmail.com>
In-Reply-To: <4C834EBA.9040500@gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Cc: IPsecme WG <ipsec@ietf.org>
Subject: Re: [IPsec] Comments on draft-ietf-ipsecme-failure-detection-00
X-BeenThere: ipsec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discussion of IPsec protocols <ipsec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipsec>
List-Post: <mailto:ipsec@ietf.org>
List-Help: <mailto:ipsec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 05 Sep 2010 18:31:05 -0000

On Sep 5, 2010, at 11:03 AM, Yaron Sheffer wrote:

> In general, the draft is in good shape. But IMO, we have one major=20
> security issue left: the dependence on SPI values which potentially come=
=20
> from a small space, i.e. may be repeated in normal operation, or may be=20
> coerced into repeating.
>=20
>=20
> Detailed comments:
>=20
> - 3. I would have preferred the token to be resistant to stealing (and=20
> duplication), in which case it can be sent in the *first* AUTH message.=20
> If we ensure that the token maker's SPI is long/random (see below), this=
=20
> might be possible.


Issue #190
http://trac.tools.ietf.org/wg/ipsecme/trac/ticket/190


> - 5. Two method -> methods.

Done.

> - 5.1: this method is indeed problemmatic if SPIi/SPIr pairs are=20
> repeated with high probability. If SPI pairs only repeat across reboots=20
> (somewhat unlikely), then an "epoch" (time of last reboot) value can be=20
> included to mitigate this problem. This is still close enough to stateles=
s.
>=20
> A possible solution, providing freshness and mitigating some of these=20
> issues, is to use the entire message sent by the client (typically, a=20
> protected IKE liveness test) as a nonce. So the token maker sends:=20
> HASH(HASH(SPIi | SPIr | SECRET) | client-message). This doesn't add=20
> state, because the client needs to keep the message around for=20
> retransmissions. But it doesn't work with the technique described in=20
> Sec. 9.2.
>=20
> Alternatively it would simplify things immensely if we mandate that SPIs=
=20
> be random for implementations that support QCD (possibly only on the=20
> gateway side). Can we do it without having to "update RFC 4306"?

I think it's enough to require this of the token taker.

Issue #191
http://trac.tools.ietf.org/wg/ipsecme/trac/ticket/191

> - 6. Consideration -> considerations.

Done.

> - 9.1: this is not really a MUST, let's use some non-RFC 2119 wording.

I disagree. We are giving requirements for implementations that conform to =
this spec. The requirements vary by the role that the implementation plays:=
 RA client, RA gateway, Site to site gateway, or host.

Issue #192
http://trac.tools.ietf.org/wg/ipsecme/trac/ticket/192

> - 9.3: this entire discussion is probably redundant, because when a node=
=20
> fails in the LS cluster, you switch to another node. Implementing QCD on=
=20
> top of this is probably an overkill. If we remove this section, we can=20
> get rid of sec. 5.2 as well, and we can focus on a single recommended=20
> way to generate the token, which would make analysis that much easier.

I disagree. Section 9.3 is about an active-standby configuration without sy=
nchronization. a failover is the same as a reboot, only faster.

Issue #193
http://trac.tools.ietf.org/wg/ipsecme/trac/ticket/193

> The security considerations are focused on details of the QCD=20
> solution, rather then on the threats we are dealing with. These threats=20
> are non-trivial to describe, since an active MITM attacker can easily=20
> cause an IKE SA to be reset. OTOH, we don't want an active non-MITM=20
> attacker to be able to do so. We need to analyze the threats in order to=
=20
> select a secure, but not overlay complex solution.

Issue #194
http://trac.tools.ietf.org/wg/ipsecme/trac/ticket/194

> - 10.2 load sharing sharing.

Done.

> - 10.2 seems to propose a different (and better?) solution for the issue=
=20
> raised in 9.3. These sections need to be consistent, and also with Sec. 5=
.2.

Disagree. 10.2 talks about load sharing clusters with synchronization, whic=
h is different from the active-standby cluster without synchronization. Of =
course solutions are better there.

> - 10.3: of course, it is possible that *both* implementations generate=20
> predictable/short SPI values.

They might.

Issue #195
http://trac.tools.ietf.org/wg/ipsecme/trac/ticket/195

> - Please drop Dave from the Acknowledgements.



From yaronf.ietf@gmail.com  Sun Sep  5 12:17:28 2010
Return-Path: <yaronf.ietf@gmail.com>
X-Original-To: ipsec@core3.amsl.com
Delivered-To: ipsec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 262B33A6859 for <ipsec@core3.amsl.com>; Sun,  5 Sep 2010 12:17:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.351
X-Spam-Level: 
X-Spam-Status: No, score=-102.351 tagged_above=-999 required=5 tests=[AWL=0.248, BAYES_00=-2.599, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vGofhOo0xENk for <ipsec@core3.amsl.com>; Sun,  5 Sep 2010 12:17:27 -0700 (PDT)
Received: from mail-fx0-f44.google.com (mail-fx0-f44.google.com [209.85.161.44]) by core3.amsl.com (Postfix) with ESMTP id C84863A6856 for <ipsec@ietf.org>; Sun,  5 Sep 2010 12:17:26 -0700 (PDT)
Received: by fxm18 with SMTP id 18so2507104fxm.31 for <ipsec@ietf.org>; Sun, 05 Sep 2010 12:17:55 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=e3SuRAqgARCdGtuX4OGWWlBsC10x4Vt1b+V5cHbPOoc=; b=wRIzAgoWB8Va133wJWjYxGp7wWh0bpt1AbKTr09iqg4MpHI0e1fcgzmFY7lbT/7h+c n2VrbHGiWg2BPP0qr24RCo3+q0ye/TLJ/0YlWzvOv3LVL2C5uIdmbGGKK65X9jLhCnXt oJ7dj85ciUBVGYz5uxQactjhsZlA9Dzqkk5JU=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=QlPOcAJlZRFOBr5zYUuT8WwsH8ldZl0O+BVwPDulNfQyov994FzJOrFNoVM/eFnO6U /SoiIpzSFIxpHVzwbXr3Uy4dXApWMojHvYL/euqMZSiZzXst4E+4QoeJhBHaLS804Yoe 6Rr3xENQdTP6OGmnsSTOl3EdRTwNZ8vbHCRjM=
Received: by 10.223.125.68 with SMTP id x4mr1852360far.53.1283714275242; Sun, 05 Sep 2010 12:17:55 -0700 (PDT)
Received: from [10.0.0.2] (bzq-79-183-43-64.red.bezeqint.net [79.183.43.64]) by mx.google.com with ESMTPS id r5sm1997683faq.8.2010.09.05.12.17.51 (version=SSLv3 cipher=RC4-MD5); Sun, 05 Sep 2010 12:17:53 -0700 (PDT)
Message-ID: <4C83ECDC.8010001@gmail.com>
Date: Sun, 05 Sep 2010 22:17:48 +0300
From: Yaron Sheffer <yaronf.ietf@gmail.com>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.11) Gecko/20100713 Lightning/1.0b1 Thunderbird/3.0.6
MIME-Version: 1.0
To: Yoav Nir <ynir@checkpoint.com>
References: <4C834EBA.9040500@gmail.com> <A59E6BDB-C3A1-4ECD-9A23-447867B63277@checkpoint.com>
In-Reply-To: <A59E6BDB-C3A1-4ECD-9A23-447867B63277@checkpoint.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: IPsecme WG <ipsec@ietf.org>
Subject: Re: [IPsec] Comments on draft-ietf-ipsecme-failure-detection-00
X-BeenThere: ipsec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discussion of IPsec protocols <ipsec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipsec>
List-Post: <mailto:ipsec@ietf.org>
List-Help: <mailto:ipsec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 05 Sep 2010 19:17:28 -0000

Hi Yoav,

I'm OK with discussing these issues later, now that they're on the 
Tracker. Except for one - see below.

On 09/05/2010 09:31 PM, Yoav Nir wrote:
>
> On Sep 5, 2010, at 11:03 AM, Yaron Sheffer wrote:
>
[snip]

>
>> - 5.1: this method is indeed problemmatic if SPIi/SPIr pairs are
>> repeated with high probability. If SPI pairs only repeat across reboots
>> (somewhat unlikely), then an "epoch" (time of last reboot) value can be
>> included to mitigate this problem. This is still close enough to stateless.
>>
>> A possible solution, providing freshness and mitigating some of these
>> issues, is to use the entire message sent by the client (typically, a
>> protected IKE liveness test) as a nonce. So the token maker sends:
>> HASH(HASH(SPIi | SPIr | SECRET) | client-message). This doesn't add
>> state, because the client needs to keep the message around for
>> retransmissions. But it doesn't work with the technique described in
>> Sec. 9.2.
>>
>> Alternatively it would simplify things immensely if we mandate that SPIs
>> be random for implementations that support QCD (possibly only on the
>> gateway side). Can we do it without having to "update RFC 4306"?
>
> I think it's enough to require this of the token taker.
>
> Issue #191
> http://trac.tools.ietf.org/wg/ipsecme/trac/ticket/191
>
This protocol cannot require anything from the token taker, because you 
don't *know* it's a token taker - there's no signaling. So either we add 
signaling, or we can only require random SPIs from the token maker.

Thanks,
	Yaron

From root@core3.amsl.com  Sun Sep  5 20:15:10 2010
Return-Path: <root@core3.amsl.com>
X-Original-To: ipsec@ietf.org
Delivered-To: ipsec@core3.amsl.com
Received: by core3.amsl.com (Postfix, from userid 0) id 557ED3A6863; Sun,  5 Sep 2010 20:15:09 -0700 (PDT)
From: Internet-Drafts@ietf.org
To: i-d-announce@ietf.org
Content-Type: Multipart/Mixed; Boundary="NextPart"
Mime-Version: 1.0
Message-Id: <20100906031510.557ED3A6863@core3.amsl.com>
Date: Sun,  5 Sep 2010 20:15:09 -0700 (PDT)
Cc: ipsec@ietf.org
Subject: [IPsec] I-D Action:draft-ietf-ipsecme-ipsecha-protocol-00.txt
X-BeenThere: ipsec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discussion of IPsec protocols <ipsec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipsec>
List-Post: <mailto:ipsec@ietf.org>
List-Help: <mailto:ipsec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 06 Sep 2010 03:15:10 -0000

--NextPart

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


	Title           : Protocol Support for High Availability IKEv2/IPsec
	Author(s)       : R. Jenwar, et al.
	Filename        : draft-ietf-ipsecme-ipsecha-protocol-00.txt
	Pages           : 16
	Date            : 2010-09-05

IKEv2 and IPsec protocols are widely used for deploying VPN.  In
order to make such VPN highly available and failure-prone, these VPNs
are implemented as IKEv2/IPsec Highly Available (HA) cluster.  But
there are many issues in IKEv2/IPsec HA cluster.  The draft "IPsec
Cluster Problem Statement" enumerates all the issues encountered in
IKEv2/IPsec HA cluster environment.

This draft proposes an extension to IKEv2 protocol to solve main
issues of "IPsec Cluster Problem Statement" in Hot Standby cluster
and gives implementation advice for other issues.  The main issues to
be solved are:
o  IKE Message Id synchronization : This is done by obtaining the

message Id values from the peer and updating the values at the

newly active cluster member after the failover.
o  IPsec SA Counter synchronization : This is done by sending

incremented values of replay counters by the newly active cluster

member to the peer as expected replay counter value.

A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-ietf-ipsecme-ipsecha-protocol-00.txt

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/

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: Message/External-body;
	name="draft-ietf-ipsecme-ipsecha-protocol-00.txt";
	site="ftp.ietf.org";
	access-type="anon-ftp";
	directory="internet-drafts"

Content-Type: text/plain
Content-ID: <2010-09-05200314.I-D@ietf.org>


--NextPart--

From priikone@iki.fi  Sun Sep  5 22:42:39 2010
Return-Path: <priikone@iki.fi>
X-Original-To: ipsec@core3.amsl.com
Delivered-To: ipsec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id B74D23A6887 for <ipsec@core3.amsl.com>; Sun,  5 Sep 2010 22:42:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id iqIHfJ6CWrmX for <ipsec@core3.amsl.com>; Sun,  5 Sep 2010 22:42:36 -0700 (PDT)
Received: from otaku.Xtrmntr.org (sauna.silcnet.org [IPv6:2001:4118:10:4000::2205]) by core3.amsl.com (Postfix) with ESMTP id EBE363A67EC for <ipsec@ietf.org>; Sun,  5 Sep 2010 22:42:06 -0700 (PDT)
Received: by otaku.Xtrmntr.org (Postfix, from userid 201) id 9ACA84948; Mon,  6 Sep 2010 07:43:14 +0200 (CEST)
Received: from localhost (localhost [127.0.0.1]) by otaku.Xtrmntr.org (Postfix) with ESMTP id 9936F4947 for <ipsec@ietf.org>; Mon,  6 Sep 2010 07:43:14 +0200 (CEST)
Date: Mon, 6 Sep 2010 07:43:13 +0200 (CEST)
From: Pekka Riikonen <priikone@iki.fi>
X-X-Sender: priikone@otaku.Xtrmntr.org
To: ipsec@ietf.org
In-Reply-To: <20100906031510.557ED3A6863@core3.amsl.com>
Message-ID: <Pine.NEB.4.64.1009060634140.12204@otaku.Xtrmntr.org>
References: <20100906031510.557ED3A6863@core3.amsl.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Subject: Re: [IPsec] I-D Action:draft-ietf-ipsecme-ipsecha-protocol-00.txt
X-BeenThere: ipsec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discussion of IPsec protocols <ipsec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipsec>
List-Post: <mailto:ipsec@ietf.org>
List-Help: <mailto:ipsec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 06 Sep 2010 05:42:39 -0000

>From the draft:

   There were some concerns about the current window sync process.  The
   concern was to make IKEv2 window sync optional but we beleive IKEv2
   window sync will be mandatory.

The IKEv2 message id sync is definitely mandatory, but the IPSEC SA seqno
sync IMHO isn't.  Although, none of this would be an issue if IKEv2 would 
allow initiator to move the window forward freely (that would be real 
"fix").

I'm not sure if any of the following should be mentioned in the draft:

- Multiple failovers.  In a cluster with three or more nodes, it's 
possible that failovers happen in rapid succession.  The protocol and the 
implementation must be able to handle new failover even if they are still 
processing the old failover (for example doing the IPSEC SA seqno sync, 
which, if we leave it in, can take time).  I see no reason why the 
protocol wouldn't allow for this, but implementations must make sure they 
can handle it.

- Simultaneous failover at both ends.  If failover happens at the same 
time in both ends, implementations must be able to handle situation where 
they receive SYNC_SA_COUNTER_INFO request before they receive response to 
their own request (they may receive the response only after 
retransmission).

- Should there be way to negotiate support for IKE SA window sync but not 
for IPSEC SA sync?  Currently by sending SYNC_SA_COUNTER_INFO_SUPPORTED 
you agree to support both, which can mean you may receive the IPSEC SA 
syncs.

There's also still bunch of typos in the draft.

	Pekka

From rsjenwar@gmail.com  Mon Sep  6 10:10:59 2010
Return-Path: <rsjenwar@gmail.com>
X-Original-To: ipsec@core3.amsl.com
Delivered-To: ipsec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 27F643A68F6 for <ipsec@core3.amsl.com>; Mon,  6 Sep 2010 10:10:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.598
X-Spam-Level: 
X-Spam-Status: No, score=-2.598 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2K4T7AIFt1F3 for <ipsec@core3.amsl.com>; Mon,  6 Sep 2010 10:10:56 -0700 (PDT)
Received: from mail-yw0-f44.google.com (mail-yw0-f44.google.com [209.85.213.44]) by core3.amsl.com (Postfix) with ESMTP id ED8073A68CF for <ipsec@ietf.org>; Mon,  6 Sep 2010 10:10:55 -0700 (PDT)
Received: by ywk9 with SMTP id 9so2085702ywk.31 for <ipsec@ietf.org>; Mon, 06 Sep 2010 10:11:24 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:reply-to :in-reply-to:references:date:message-id:subject:from:to:cc :content-type; bh=jFyHnfDVsTRaPQRqMDBSKejHfZRpKhUhUjlNpP+u1DY=; b=jGEANGQG1Z+AhMsAbw5u/pQBym//keyGYSD91X7COFk+gTiNBrt8BmKyOSPZnyyeQ4 AFIi3DDtkQqTDPuJH1X/z6uhR2xnQJRgLxeTEAOqcvRZ4IbjGrEDQRYljAyI/bU7TXug oj83O+0zQvcwxwispUV8hFVC8oXWrR1odhpxI=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; b=B7cIlOx6fYQ37zb6M6qxxQxiyR1WzasEsrHdYrGNr4BcHTCi+mmA5PZ53X114CFicz 4R2TUkC2qBy+McF4AYRnl9ILQuhCipDSXzWW1jBgwjX7KrAcqKMj1US8qT2b1+devpIz /zAab5Lf7KJbA5EADIA9heD30/NupMHqqd2Hc=
MIME-Version: 1.0
Received: by 10.100.122.15 with SMTP id u15mr1712904anc.98.1283793084160; Mon, 06 Sep 2010 10:11:24 -0700 (PDT)
Received: by 10.42.7.198 with HTTP; Mon, 6 Sep 2010 10:11:24 -0700 (PDT)
In-Reply-To: <Pine.NEB.4.64.1009060634140.12204@otaku.Xtrmntr.org>
References: <20100906031510.557ED3A6863@core3.amsl.com> <Pine.NEB.4.64.1009060634140.12204@otaku.Xtrmntr.org>
Date: Mon, 6 Sep 2010 22:41:24 +0530
Message-ID: <AANLkTim=S_TVvQoy-Oh4WuiwLX22qQjNA9WBST4FZhYQ@mail.gmail.com>
From: Raj Singh <rsjenwar@gmail.com>
To: Pekka Riikonen <priikone@iki.fi>
Content-Type: multipart/alternative; boundary=0016e644df52bf1cac048f9a5ee9
Cc: ipsec@ietf.org
Subject: Re: [IPsec] I-D Action:draft-ietf-ipsecme-ipsecha-protocol-00.txt
X-BeenThere: ipsec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: RSJenwar@gmail.com
List-Id: Discussion of IPsec protocols <ipsec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipsec>
List-Post: <mailto:ipsec@ietf.org>
List-Help: <mailto:ipsec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 06 Sep 2010 17:10:59 -0000

--0016e644df52bf1cac048f9a5ee9
Content-Type: text/plain; charset=UTF-8

Hi Pekka,

Thanks for your comments. Please find my reply inline.

Best Regards,
Raj



On Mon, Sep 6, 2010 at 11:13 AM, Pekka Riikonen <priikone@iki.fi> wrote:

>
> From the draft:
>
>   There were some concerns about the current window sync process.  The
>   concern was to make IKEv2 window sync optional but we beleive IKEv2
>   window sync will be mandatory.
>
> The IKEv2 message id sync is definitely mandatory, but the IPSEC SA seqno
> sync IMHO isn't.  Although, none of this would be an issue if IKEv2 would
> allow initiator to move the window forward freely (that would be real
> "fix").
>
> The IPsec SA replay counter sync is required for these reasons:
1.  In cluster environment, IPsec SA reply counter will get get updated from
active to standby in
     periodic manner. Suppose, we sync IPsec reply counter for every 1,000
IPsec packets and
     last sync happened at 30,000. So, the next sync will happen 31,000.
     Now, say failover happened at 30, 500. So, standby member becomes
active, and it start
    using IPsec replay counter from 30, 000. It will be considered as Replay
Attack and SA has to be destroyed.
    This applies to both outbound and inbound replay counters.

   So, IPsec replay counter sync is required as it mitigate the these
attacks.

2. Another option is doing IPsec Rekey after failover. Now consider a
scenario where gateways has thousands of SA.
    and after failover, we are doing IPsec rekey for them. The gateway will
be so much loaded. If we follow IPsec replay counter
    sync mechanism, we can sync many IPsec SA with single sync message.

So, if replay attack and load on server is OK, this option is not required.

I'm not sure if any of the following should be mentioned in the draft:
>
> - Multiple failovers.  In a cluster with three or more nodes, it's
> possible that failovers happen in rapid succession.  The protocol and the
> implementation must be able to handle new failover even if they are still
> processing the old failover (for example doing the IPSEC SA seqno sync,
> which, if we leave it in, can take time).  I see no reason why the
> protocol wouldn't allow for this, but implementations must make sure they
> can handle it.
>
> Very interesting point! Opened a ticket for it.
http://trac.tools.ietf.org/wg/ipsecme/trac/ticket/196

- Simultaneous failover at both ends.  If failover happens at the same
> time in both ends, implementations must be able to handle situation where
> they receive SYNC_SA_COUNTER_INFO request before they receive response to
> their own request (they may receive the response only after
> retransmission).
>
> I don't think we have any solution for this and any solution is possible
(?). This basically means that both sides has lost the SA.
So we have to establish SA from scratch. This draft assumes, that both side
has the SA and their message windows has mis-matched.

> - Should there be way to negotiate support for IKE SA window sync but not
> for IPSEC SA sync?  Currently by sending SYNC_SA_COUNTER_INFO_SUPPORTED
> you agree to support both, which can mean you may receive the IPSEC SA
> syncs.
>
> This is very much possible and we can have flag for IPsec SA sync in
SYNC_SA_COUNTER_INFO_SUPPORTED notify payload.
If that flag can be TRUE if we support IPsec SA sync, else we support only
IKEv2 SA sync.
More discussion on this will be interesting.

> There's also still bunch of typos in the draft.
>
>        Pekka
> _______________________________________________
> IPsec mailing list
> IPsec@ietf.org
> https://www.ietf.org/mailman/listinfo/ipsec
>

--0016e644df52bf1cac048f9a5ee9
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Hi Pekka,<br><br>Thanks for your comments. Please find my reply inline.<br>=
<br clear=3D"all">Best Regards,<br>Raj<br><br>
<br><br><div class=3D"gmail_quote">On Mon, Sep 6, 2010 at 11:13 AM, Pekka R=
iikonen <span dir=3D"ltr">&lt;<a href=3D"mailto:priikone@iki.fi" target=3D"=
_blank">priikone@iki.fi</a>&gt;</span> wrote:<br><blockquote class=3D"gmail=
_quote" style=3D"margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204,=
 204, 204); padding-left: 1ex;">

<br>
>From the draft:<br>
<br>
 =C2=A0 There were some concerns about the current window sync process. =C2=
=A0The<br>
 =C2=A0 concern was to make IKEv2 window sync optional but we beleive IKEv2=
<br>
 =C2=A0 window sync will be mandatory.<br>
<br>
The IKEv2 message id sync is definitely mandatory, but the IPSEC SA seqno<b=
r>
sync IMHO isn&#39;t. =C2=A0Although, none of this would be an issue if IKEv=
2 would<br>
allow initiator to move the window forward freely (that would be real<br>
&quot;fix&quot;).<br>
<br></blockquote><div>The IPsec SA replay counter sync is required for thes=
e reasons:<br>1.=C2=A0 In cluster environment, IPsec SA reply counter will =
get get updated from active to standby in <br>=C2=A0=C2=A0=C2=A0=C2=A0 peri=
odic manner. Suppose, we sync IPsec reply counter for every 1,000 IPsec pac=
kets and <br>
=C2=A0=C2=A0=C2=A0=C2=A0 last sync happened at 30,000. So, the next sync wi=
ll happen 31,000.<br>=C2=A0=C2=A0=C2=A0=C2=A0 Now, say failover happened at=
 30, 500. So, standby member becomes active, and it start<br>=C2=A0=C2=A0=
=C2=A0 using IPsec replay counter from 30, 000. It will be considered as Re=
play Attack and SA has to be destroyed.<br>
=C2=A0=C2=A0=C2=A0 This applies to both outbound and inbound replay counter=
s.<br><br>=C2=A0=C2=A0 So, IPsec replay counter sync is required as it miti=
gate the these attacks.<br><br>2. Another option is doing IPsec Rekey after=
 failover. Now consider a scenario where gateways has thousands of SA.<br>
=C2=A0=C2=A0=C2=A0 and after failover, we are doing IPsec rekey for them. T=
he gateway will be so much loaded. If we follow IPsec replay counter<br>=C2=
=A0=C2=A0=C2=A0 sync mechanism, we can sync many IPsec SA with single sync =
message.<br><br>So, if replay attack and load on server is OK, this option =
is not required.<br>
<br></div><blockquote class=3D"gmail_quote" style=3D"margin: 0pt 0pt 0pt 0.=
8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
I&#39;m not sure if any of the following should be mentioned in the draft:<=
br>
<br>
- Multiple failovers. =C2=A0In a cluster with three or more nodes, it&#39;s=
<br>
possible that failovers happen in rapid succession. =C2=A0The protocol and =
the<br>
implementation must be able to handle new failover even if they are still<b=
r>
processing the old failover (for example doing the IPSEC SA seqno sync,<br>
which, if we leave it in, can take time). =C2=A0I see no reason why the<br>
protocol wouldn&#39;t allow for this, but implementations must make sure th=
ey<br>
can handle it.<br>
<br></blockquote><div>Very interesting point! Opened a ticket for it.<br><a=
 href=3D"http://trac.tools.ietf.org/wg/ipsecme/trac/ticket/196">http://trac=
.tools.ietf.org/wg/ipsecme/trac/ticket/196</a><br><br></div><blockquote cla=
ss=3D"gmail_quote" style=3D"margin: 0pt 0pt 0pt 0.8ex; border-left: 1px sol=
id rgb(204, 204, 204); padding-left: 1ex;">

- Simultaneous failover at both ends. =C2=A0If failover happens at the same=
<br>
time in both ends, implementations must be able to handle situation where<b=
r>
they receive SYNC_SA_COUNTER_INFO request before they receive response to<b=
r>
their own request (they may receive the response only after<br>
retransmission).<br>
<br></blockquote><div>I don&#39;t think we have any solution for this and a=
ny solution is possible (?). This basically means that both sides has lost =
the SA.<br>So we have to establish SA from scratch. This draft assumes, tha=
t both side has the SA and their message windows has mis-matched.<br>
</div><blockquote class=3D"gmail_quote" style=3D"margin: 0pt 0pt 0pt 0.8ex;=
 border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
- Should there be way to negotiate support for IKE SA window sync but not<b=
r>
for IPSEC SA sync? =C2=A0Currently by sending SYNC_SA_COUNTER_INFO_SUPPORTE=
D<br>
you agree to support both, which can mean you may receive the IPSEC SA<br>
syncs.<br>
<br></blockquote><div>This is very much possible and we can have flag for I=
Psec SA sync in SYNC_SA_COUNTER_INFO_SUPPORTED notify payload.<br>If that f=
lag can be TRUE if we support IPsec SA sync, else we support only IKEv2 SA =
sync.<br>
More discussion on this will be interesting.<br></div><blockquote class=3D"=
gmail_quote" style=3D"margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb=
(204, 204, 204); padding-left: 1ex;">
There&#39;s also still bunch of typos in the draft.<br>
<br>
 =C2=A0 =C2=A0 =C2=A0 =C2=A0Pekka<br>
_______________________________________________<br>
IPsec mailing list<br>
<a href=3D"mailto:IPsec@ietf.org" target=3D"_blank">IPsec@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/ipsec" target=3D"_blank">h=
ttps://www.ietf.org/mailman/listinfo/ipsec</a><br>
</blockquote></div><br>

--0016e644df52bf1cac048f9a5ee9--

From priikone@iki.fi  Mon Sep  6 10:46:51 2010
Return-Path: <priikone@iki.fi>
X-Original-To: ipsec@core3.amsl.com
Delivered-To: ipsec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 3EEEE3A691D for <ipsec@core3.amsl.com>; Mon,  6 Sep 2010 10:46:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[AWL=0.000,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XnaLgHNVDnXY for <ipsec@core3.amsl.com>; Mon,  6 Sep 2010 10:46:50 -0700 (PDT)
Received: from otaku.Xtrmntr.org (sauna.silcnet.org [IPv6:2001:4118:10:4000::2205]) by core3.amsl.com (Postfix) with ESMTP id 6509E3A67B5 for <ipsec@ietf.org>; Mon,  6 Sep 2010 10:46:49 -0700 (PDT)
Received: by otaku.Xtrmntr.org (Postfix, from userid 201) id 74E12494B; Mon,  6 Sep 2010 19:48:03 +0200 (CEST)
Received: from localhost (localhost [127.0.0.1]) by otaku.Xtrmntr.org (Postfix) with ESMTP id 730F74947; Mon,  6 Sep 2010 19:48:03 +0200 (CEST)
Date: Mon, 6 Sep 2010 19:48:02 +0200 (CEST)
From: Pekka Riikonen <priikone@iki.fi>
X-X-Sender: priikone@otaku.Xtrmntr.org
To: Raj Singh <rsjenwar@gmail.com>
In-Reply-To: <AANLkTim=S_TVvQoy-Oh4WuiwLX22qQjNA9WBST4FZhYQ@mail.gmail.com>
Message-ID: <Pine.NEB.4.64.1009061921590.11774@otaku.Xtrmntr.org>
References: <20100906031510.557ED3A6863@core3.amsl.com> <Pine.NEB.4.64.1009060634140.12204@otaku.Xtrmntr.org> <AANLkTim=S_TVvQoy-Oh4WuiwLX22qQjNA9WBST4FZhYQ@mail.gmail.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Cc: ipsec@ietf.org
Subject: Re: [IPsec] I-D Action:draft-ietf-ipsecme-ipsecha-protocol-00.txt
X-BeenThere: ipsec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discussion of IPsec protocols <ipsec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipsec>
List-Post: <mailto:ipsec@ietf.org>
List-Help: <mailto:ipsec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 06 Sep 2010 17:46:51 -0000

On Mon, 6 Sep 2010, Raj Singh wrote:

: > The IKEv2 message id sync is definitely mandatory, but the IPSEC SA seqno
: > sync IMHO isn't.  Although, none of this would be an issue if IKEv2 would
: > allow initiator to move the window forward freely (that would be real
: > "fix").
: >
: > The IPsec SA replay counter sync is required for these reasons:
: 1.  In cluster environment, IPsec SA reply counter will get get updated from
: active to standby in
:      periodic manner. Suppose, we sync IPsec reply counter for every 1,000
: IPsec packets and
:      last sync happened at 30,000. So, the next sync will happen 31,000.
:      Now, say failover happened at 30, 500. So, standby member becomes
: active, and it start
:     using IPsec replay counter from 30, 000. It will be considered as Replay
: Attack and SA has to be destroyed.
: 
I don't think the picture is this bleak.  What needs to be done is to 
increase the sequence number when the failover happens with large enough 
value to avoid the replay errors.  This can be done by calculating the 
expected pps that can be sent by the active node during the sequence 
number sync period in the cluster.  If you sync once a second, then 
calculate the maximum pps you think/know what can be for that period, and 
increse the sequence number with that ammount.  In your example it would 
go as follows:

 active seq: 30500
 standby seq: 30000
 --failover--
 standby seq: 30000 + 1000

The window at the remote peer will move to 31000; no replay errors.

In this example we assume that maximum of 1000 packets can be sent during 
the sync period.

We've had this working for years without noticeable issues.  We sync 
faster than once a second because we support pretty high throughput 
(several gbit/sec), but we also increase it by quite large number to 
support that throughput also during failovers.

:     This applies to both outbound and inbound replay counters.
:
The issue is only with outbound sequence numbers, because as we know, the 
window can move always forward with incoming packets.  So even if the 
incoming window is lagging behind it will always move forward when the 
remote sends new packets to us.

The draft itself says that the sequence numbers are increased in failover:

   o  Active member dies and Stand-by member takes over.  Stand-by
      Member increments its values of Outbound SA Counters for each
      IPsec SA and sends them to the peer.

It just desn't define how much to increment.  If it increments them with 
large enough number there is no need to send them to the peer.  The window 
at the peer will move automatically to the new values when it receives 
ESP/AH packets with the new sequence numbers.

: - Simultaneous failover at both ends.  If failover happens at the same
: > time in both ends, implementations must be able to handle situation where
: > they receive SYNC_SA_COUNTER_INFO request before they receive response to
: > their own request (they may receive the response only after
: > retransmission).
: >
: > I don't think we have any solution for this and any solution is possible
: (?). This basically means that both sides has lost the SA.
: So we have to establish SA from scratch. This draft assumes, that both side
: has the SA and their message windows has mis-matched.
:
If both sides are clusters then naturally both ends have HA, and can 
handle failover gracefully.  Both ends retain the old SAs in the standby 
node, and need to just update the message id window.  The concern I had 
here is that implementation must be able to handle request also from the 
remote end while it is itself also doing the request.

	Pekka

From root@core3.amsl.com  Tue Sep  7 13:00:02 2010
Return-Path: <root@core3.amsl.com>
X-Original-To: ipsec@ietf.org
Delivered-To: ipsec@core3.amsl.com
Received: by core3.amsl.com (Postfix, from userid 0) id 323AC3A6956; Tue,  7 Sep 2010 13:00:01 -0700 (PDT)
From: Internet-Drafts@ietf.org
To: i-d-announce@ietf.org
Content-Type: Multipart/Mixed; Boundary="NextPart"
Mime-Version: 1.0
Message-Id: <20100907200002.323AC3A6956@core3.amsl.com>
Date: Tue,  7 Sep 2010 13:00:02 -0700 (PDT)
Cc: ipsec@ietf.org
Subject: [IPsec] I-D ACTION:draft-ietf-ipsecme-ipsecha-protocol-00.txt
X-BeenThere: ipsec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discussion of IPsec protocols <ipsec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipsec>
List-Post: <mailto:ipsec@ietf.org>
List-Help: <mailto:ipsec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 07 Sep 2010 20:00:02 -0000

--NextPart

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

	Title		: Protocol Support for High Availability IKEv2/IPsec
	Author(s)	: R. Singh, K. Garigipati, Y. Nir, D. Zhang
	Filename	: draft-ietf-ipsecme-ipsecha-protocol-00.txt
	Pages		: 16
	Date		: 2010-9-5
	
IKEv2 and IPsec protocols are widely used for deploying VPN.  In
order to make such VPN highly available and failure-prone, these VPNs
are implemented as IKEv2/IPsec Highly Available (HA) cluster.  But
there are many issues in IKEv2/IPsec HA cluster.  The draft "IPsec
Cluster Problem Statement" enumerates all the issues encountered in
IKEv2/IPsec HA cluster environment.

This draft proposes an extension to IKEv2 protocol to solve main
issues of "IPsec Cluster Problem Statement" in Hot Standby cluster
and gives implementation advice for other issues.  The main issues to
be solved are:
o  IKE Message Id synchronization : This is done by obtaining the

message Id values from the peer and updating the values at the

newly active cluster member after the failover.
o  IPsec SA Counter synchronization : This is done by sending

incremented values of replay counters by the newly active cluster

member to the peer as expected replay counter value.

A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-ietf-ipsecme-ipsecha-protocol-00.txt

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/

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: Message/External-body;
	name="draft-ietf-ipsecme-ipsecha-protocol-00.txt";
	site="ftp.ietf.org";
	access-type="anon-ftp";
	directory="internet-drafts"

Content-Type: text/plain
Content-ID: <2010-9-7124721.I-D@ietf.org>


--NextPart--


From kivinen@iki.fi  Wed Sep  8 03:06:44 2010
Return-Path: <kivinen@iki.fi>
X-Original-To: ipsec@core3.amsl.com
Delivered-To: ipsec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 3D1B93A680D for <ipsec@core3.amsl.com>; Wed,  8 Sep 2010 03:06:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -101.613
X-Spam-Level: 
X-Spam-Status: No, score=-101.613 tagged_above=-999 required=5 tests=[AWL=-0.503, BAYES_05=-1.11, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WZQ-GUjSnUek for <ipsec@core3.amsl.com>; Wed,  8 Sep 2010 03:06:42 -0700 (PDT)
Received: from mail.kivinen.iki.fi (fireball.acr.fi [83.145.195.1]) by core3.amsl.com (Postfix) with ESMTP id 490373A6805 for <ipsec@ietf.org>; Wed,  8 Sep 2010 03:06:41 -0700 (PDT)
Received: from fireball.kivinen.iki.fi (localhost [127.0.0.1]) by mail.kivinen.iki.fi (8.14.3/8.14.3) with ESMTP id o88A73dm029986 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for <ipsec@ietf.org>; Wed, 8 Sep 2010 13:07:03 +0300 (EEST)
Received: (from kivinen@localhost) by fireball.kivinen.iki.fi (8.14.3/8.12.11) id o88A739q029272; Wed, 8 Sep 2010 13:07:03 +0300 (EEST)
X-Authentication-Warning: fireball.kivinen.iki.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: <19591.24647.497524.822377@fireball.kivinen.iki.fi>
Date: Wed, 8 Sep 2010 13:07:03 +0300
From: Tero Kivinen <kivinen@iki.fi>
To: ipsec@ietf.org
X-Mailer: VM 7.19 under Emacs 21.4.1
X-Edit-Time: 53 min
X-Total-Time: 108 min
Subject: [IPsec] Comments to draft-ietf-ipsecme-failure-detection-00
X-BeenThere: ipsec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discussion of IPsec protocols <ipsec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipsec>
List-Post: <mailto:ipsec@ietf.org>
List-Help: <mailto:ipsec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 08 Sep 2010 10:06:44 -0000

The section 2 describing RFC4306 crash recovery is not complete. It
does not include the normal processing happining on the peer that is
not rebooting.

I suggest adding following text:
----------------------------------------------------------------------
When the one peer loses state or reboots it might not be able to
recover immediately (especially in case of reboot). This means that at
first the peer just goes silent, i.e. does not send or respond to any
messages. Conforming IKEv2 implementation will detect this situation
and follow the rules given in the section 2.4:

              "If there has only been outgoing traffic on all of
   the SAs associated with an IKE SA, it is essential to confirm
   liveness of the other endpoint to avoid black holes.  If no
   cryptographically protected messages have been received on an IKE SA
   or any of its Child SAs recently, the system needs to perform a
   liveness check in order to prevent sending messages to a dead peer."

I.e. the peer usually will start liveness checks even before the other
end is sending INVALID_SPI notification, as it detected that the other
end is not sending any packets anymore while it is still rebooting or
recovering from the situation.

This means that the several minutes recovery period is overlaping the
actual recover time of the other peer, i.e. if the security gateway
requires several minutes to boot up from the crash then the other
peers have already finished their liveness checks before the crashing
peer even has change to send INVALID_SPI notifications.

There are cases where the peer looses state and is able to recover
immediately, in those cases it might take several minutes to recover.

Note, that IKEv2 specification specifically leaves number of
retries and lengths of timeouts out from the specification, as they do
not affect interoperability. This means that implementations are
allowed to use the hints provided by the INVALID_SPI messages as hints
that will shorten those timeouts (i.e. different environment and
situation requiring different rules).

Good existing IKEv2 implementations already do that (i.e. both shorten
timeouts or limit number of retries) based on that kind of hints and
also start liveness checks quickly after the other end goes silent.
----------------------------------------------------------------------

The final paragraph saying:

   Those "at least several minutes" are a time during which both peers
   are active, but IPsec cannot be used.

is incorrect, as it is only true when the crashed peer recoverd
instantenously. In normal case most of that time is actually
overlaping the recovery time of the peer.

--

The protocol currently says that:

   Supporting implementations will send a notification, called a "QCD
   token", as described in Section 4.1 in the last IKE_AUTH exchange
   messages.  These are the final IKE_AUTH request and final IKE_AUTH
   response that contain the AUTH payloads.

This is very differnet compared to all other processing, usually this
kind of payloads are put to the same packet that contains traffic
selectors etc. Is there some reason why this is done this way?

--

Also do we really need the QCD token for the initiator too? The
initiator has already proven to be able to create the IKE SA on its
own, and it will have enough information to recreate the IKE SA after
the boot. Responder usually does not have enough information to be
able to recrete the IKE SA on its own after reboot, as it might not
for example know anymore what was the peer address where the IKE SA
was connected to when it just has IP packet it needs to forward to
that peer. The initiator must already have that information as he was
able to trigger IPsec SA creation in the first place based on the ip
packet.

I think it would simplify the implementations and the protocol by just
limiting that only responders can be token makers without loosing any
of the functionality. 

--

Section 7.4 is mostly wrong.

The default retransmission policy needed for mobike cases is much,
much longer than what is needed in normal case. When mobike switches
from one interface to the another there might be very long delays
because of this (for example the device first needs to notice that
old interface does not work anymore, and then perhaps it needs to run
dhcp and other link related protocols on the new interface before it
can even try it and all those take a long time).

For example in our implementation the mobike uses MUCH longer timeouts
just to make sure we do not time out the IKE exchanges while we are
trying to go through all possible interfaces etc. Because of those
even longer timeouts there is very good reason to shorten those
timeouts in case we get any feedback back from the other end (i.e.
INVALID_SPI notifications).

The timeouts used in different situations even in the same
implementation needs to be different. In our case when you enable
mobike the number of retries used is more than 2 times what it is if
you do not turn mobike on.

Also the last paragraph again assumes that the peer staying up didn't
start liveness check almost immediately when the crashing peer
crashed. This is something that is already part of the standard IKEv2
specification, so implementions need to do that. This means the
timeout starts from the time of the crash, not from the time when the
gateway is up again.

Anyways as all this is standard IKEv2 already it does not belong here
in the alternative solutions section, but belongs as part of the
section 2.

--

Section 8 again ignores the IKEv2 text saying:

              "If there has only been outgoing traffic on all of
   the SAs associated with an IKE SA, it is essential to confirm
   liveness of the other endpoint to avoid black holes.  If no
   cryptographically protected messages have been received on an IKE SA
   or any of its Child SAs recently, the system needs to perform a
   liveness check in order to prevent sending messages to a dead peer."

Especially the text:

                                  A failed gateway may go undetected
   for as long as the lifetime of a child SA, because IPsec does not
   have packet acknowledgement, and applications cannot signal the IPsec
   layer that the tunnel "does not work".  

If the gateway has failed then if there is ANY traffic on any of the
IPsec SAs then that means that from the other peers point of view
there is only outgoing traffic, thus it needs to do liveness check to
verify that the other end is alive. Thus the failed gateway cannot
really go undetected for as long as the lifetime of child SA, unless
the lifetimes is in order of few minutes :-)

I know there are implementations who do not implement that part of the
IKEv2 specification, but that does not mean that the part is not
there. We should not write or specifications to cover broken
implementations, but try to assume that implementations are following
the IKEv2 specification.

Note that the IKEv2 text does not have any conditionals there, it says
that "...the system needs to perform a liveness check...". It does not
say it may, or even should do it, it says it needs to be done.

Also I think the picture itself is bit incorrect, the exchange after
the reboot should probably be:

                ---- Reboot -----

       HDR, SK {}          -->

                        <--  HDR, N(INVALID_IKE_SPI), N(QCD_TOKEN)


I.e I assume the first packet is normal liveness check, and the reply
that is normal INVALID_IKE_SPI with QCD_TOKEN. 

--

In section 9.1. it says that inter-domain VPN gateways should do both,
but I think that inter-domain VPN gateways does not really need this
specification as all, as they by configuration do know the other ends
IP-addresses etc, thus when the inter-domain VPN gateway gets up, it
can immediately create the IKE SAs needed based on the configuration.
This is in the case where either end of the inter-domain VPN gateway
can act as a initiator, i.e. no EAP is used, and neither is behind the
NAT.

If one of the inter-domain VPN gateway is behind restricted NAT, then
it is more or less similar to the remote-access client case (i.e. only
that end can initiate connections), and as the other peer cannot
initiate connections to the gw behind NAT, there is no point of
supporting token taker on that end.
-- 
kivinen@iki.fi

From kivinen@iki.fi  Wed Sep  8 03:50:35 2010
Return-Path: <kivinen@iki.fi>
X-Original-To: ipsec@core3.amsl.com
Delivered-To: ipsec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id E56903A681E for <ipsec@core3.amsl.com>; Wed,  8 Sep 2010 03:50:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.274
X-Spam-Level: 
X-Spam-Status: No, score=-102.274 tagged_above=-999 required=5 tests=[AWL=0.325, BAYES_00=-2.599, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Ddy7q+dBz3dX for <ipsec@core3.amsl.com>; Wed,  8 Sep 2010 03:50:31 -0700 (PDT)
Received: from mail.kivinen.iki.fi (fireball.acr.fi [83.145.195.1]) by core3.amsl.com (Postfix) with ESMTP id 53E4A3A682D for <ipsec@ietf.org>; Wed,  8 Sep 2010 03:50:30 -0700 (PDT)
Received: from fireball.kivinen.iki.fi (localhost [127.0.0.1]) by mail.kivinen.iki.fi (8.14.3/8.14.3) with ESMTP id o88AojrS000192 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 8 Sep 2010 13:50:46 +0300 (EEST)
Received: (from kivinen@localhost) by fireball.kivinen.iki.fi (8.14.3/8.12.11) id o88AohuY026373; Wed, 8 Sep 2010 13:50:43 +0300 (EEST)
X-Authentication-Warning: fireball.kivinen.iki.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: <19591.27267.949190.436026@fireball.kivinen.iki.fi>
Date: Wed, 8 Sep 2010 13:50:43 +0300
From: Tero Kivinen <kivinen@iki.fi>
To: RSJenwar@gmail.com
In-Reply-To: <AANLkTik9sHao0gwDqqVUcVbTd4VgNw0gxwKaVMtT8BN_@mail.gmail.com>
References: <Pine.NEB.4.64.1009031036290.18173@otaku.Xtrmntr.org> <Pine.NEB.4.64.1009041220080.132@otaku.Xtrmntr.org> <04BD913C7AD1B84297D26D5614FBE1330150B923@XMB-BGL-417.cisco.com> <CD148C4F-B8B6-467D-A79A-7BD89F62DBF5@checkpoint.com> <AANLkTik9sHao0gwDqqVUcVbTd4VgNw0gxwKaVMtT8BN_@mail.gmail.com>
X-Mailer: VM 7.19 under Emacs 21.4.1
X-Edit-Time: 3 min
X-Total-Time: 2 min
Cc: "ipsec@ietf.org" <ipsec@ietf.org>, "Kalyani Garigipati \(kagarigi\)" <kagarigi@cisco.com>, Yoav Nir <ynir@checkpoint.com>, Pekka Riikonen <priikone@iki.fi>
Subject: Re: [IPsec] Comments draft-kagarigi-ipsecme-ikev2-windowsync-04
X-BeenThere: ipsec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discussion of IPsec protocols <ipsec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipsec>
List-Post: <mailto:ipsec@ietf.org>
List-Help: <mailto:ipsec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 08 Sep 2010 10:50:35 -0000

Raj Singh writes:
> > It's actually worse than that. If message #4 was missed, and 5-8 were
> > received, then messages 5-8 are stored, but not processed. This has to be
> > so, because suppose message 7 deletes the SA that was created in message 4,
> > you can't process it before message 4. In any case, message 4 has to be
> > processed before 5,6,7, and 8. So it doesn't matter what kind of exchange or
> > notifies you have in the new message, or whether it is within the message
> > window or outside it. As long as message 4 was lost, the IKE SA is toast
> > unless we have some special processing rules.
> 
> According to me, that's not very correct interpretation of windowing. My
> implementation goes ahead with the processing of message if the message is
> within window. Storing messages and not processing them is not very
> beneficial for the purpose of windowing concept.
> Related with your example, how an peer can delete an SA in message # 7, if
> message # 4 to create the SA was lost, the SA is not established yet.

IKEv2bis says (in section 2.3. Window Size for Overlapping Requests):

   An IKE endpoint supporting a window size greater than one ought to be
   capable of processing incoming requests out of order to maximize
   performance in the event of network failures or packet reordering.

so both processing the exchanges in order, or processing them out of
order is allowed, but the processing them out of order is the
preferred way. 
-- 
kivinen@iki.fi

From kivinen@iki.fi  Wed Sep  8 04:03:47 2010
Return-Path: <kivinen@iki.fi>
X-Original-To: ipsec@core3.amsl.com
Delivered-To: ipsec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 683AD3A682D for <ipsec@core3.amsl.com>; Wed,  8 Sep 2010 04:03:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.32
X-Spam-Level: 
X-Spam-Status: No, score=-102.32 tagged_above=-999 required=5 tests=[AWL=0.279, BAYES_00=-2.599, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4NiSwFhTlKoF for <ipsec@core3.amsl.com>; Wed,  8 Sep 2010 04:03:46 -0700 (PDT)
Received: from mail.kivinen.iki.fi (fireball.acr.fi [83.145.195.1]) by core3.amsl.com (Postfix) with ESMTP id 2EA5D3A680F for <ipsec@ietf.org>; Wed,  8 Sep 2010 04:03:45 -0700 (PDT)
Received: from fireball.kivinen.iki.fi (localhost [127.0.0.1]) by mail.kivinen.iki.fi (8.14.3/8.14.3) with ESMTP id o88B48aN002103 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 8 Sep 2010 14:04:08 +0300 (EEST)
Received: (from kivinen@localhost) by fireball.kivinen.iki.fi (8.14.3/8.12.11) id o88B48PU004918; Wed, 8 Sep 2010 14:04:08 +0300 (EEST)
X-Authentication-Warning: fireball.kivinen.iki.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: <19591.28072.254323.501397@fireball.kivinen.iki.fi>
Date: Wed, 8 Sep 2010 14:04:08 +0300
From: Tero Kivinen <kivinen@iki.fi>
To: Yaron Sheffer <yaronf.ietf@gmail.com>
In-Reply-To: <4C83ECDC.8010001@gmail.com>
References: <4C834EBA.9040500@gmail.com> <A59E6BDB-C3A1-4ECD-9A23-447867B63277@checkpoint.com> <4C83ECDC.8010001@gmail.com>
X-Mailer: VM 7.19 under Emacs 21.4.1
X-Edit-Time: 2 min
X-Total-Time: 1 min
Cc: IPsecme WG <ipsec@ietf.org>, Yoav Nir <ynir@checkpoint.com>
Subject: Re: [IPsec] Comments on draft-ietf-ipsecme-failure-detection-00
X-BeenThere: ipsec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discussion of IPsec protocols <ipsec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipsec>
List-Post: <mailto:ipsec@ietf.org>
List-Help: <mailto:ipsec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 08 Sep 2010 11:03:47 -0000

Yaron Sheffer writes:
> >> Alternatively it would simplify things immensely if we mandate that SPIs
> >> be random for implementations that support QCD (possibly only on the
> >> gateway side). Can we do it without having to "update RFC 4306"?
> >
> > I think it's enough to require this of the token taker.
> >
> > Issue #191
> > http://trac.tools.ietf.org/wg/ipsecme/trac/ticket/191
> >
> This protocol cannot require anything from the token taker, because you 
> don't *know* it's a token taker - there's no signaling. So either we add 
> signaling, or we can only require random SPIs from the token maker.

I think best option is to add text saying that token makers MUST use
SPIs that looks like random, and that should be enough to make the
QCD_TOKENs generated by token makers unpredictable.
-- 
kivinen@iki.fi

From kivinen@iki.fi  Wed Sep  8 04:22:21 2010
Return-Path: <kivinen@iki.fi>
X-Original-To: ipsec@core3.amsl.com
Delivered-To: ipsec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id E2C5C3A685A for <ipsec@core3.amsl.com>; Wed,  8 Sep 2010 04:22:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.355
X-Spam-Level: 
X-Spam-Status: No, score=-102.355 tagged_above=-999 required=5 tests=[AWL=0.244, BAYES_00=-2.599, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id gp50s16IWpNI for <ipsec@core3.amsl.com>; Wed,  8 Sep 2010 04:22:20 -0700 (PDT)
Received: from mail.kivinen.iki.fi (fireball.acr.fi [83.145.195.1]) by core3.amsl.com (Postfix) with ESMTP id 6666E3A684D for <ipsec@ietf.org>; Wed,  8 Sep 2010 04:22:20 -0700 (PDT)
Received: from fireball.kivinen.iki.fi (localhost [127.0.0.1]) by mail.kivinen.iki.fi (8.14.3/8.14.3) with ESMTP id o88BMisI003132 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 8 Sep 2010 14:22:44 +0300 (EEST)
Received: (from kivinen@localhost) by fireball.kivinen.iki.fi (8.14.3/8.12.11) id o88BMikU003503; Wed, 8 Sep 2010 14:22:44 +0300 (EEST)
X-Authentication-Warning: fireball.kivinen.iki.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: <19591.29188.12087.33036@fireball.kivinen.iki.fi>
Date: Wed, 8 Sep 2010 14:22:44 +0300
From: Tero Kivinen <kivinen@iki.fi>
To: Pekka Riikonen <priikone@iki.fi>
In-Reply-To: <Pine.NEB.4.64.1009060634140.12204@otaku.Xtrmntr.org>
References: <20100906031510.557ED3A6863@core3.amsl.com> <Pine.NEB.4.64.1009060634140.12204@otaku.Xtrmntr.org>
X-Mailer: VM 7.19 under Emacs 21.4.1
X-Edit-Time: 19 min
X-Total-Time: 18 min
Cc: ipsec@ietf.org
Subject: Re: [IPsec] I-D Action:draft-ietf-ipsecme-ipsecha-protocol-00.txt
X-BeenThere: ipsec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discussion of IPsec protocols <ipsec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipsec>
List-Post: <mailto:ipsec@ietf.org>
List-Help: <mailto:ipsec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 08 Sep 2010 11:22:22 -0000

Pekka Riikonen writes:
> - Should there be way to negotiate support for IKE SA window sync but not 
> for IPSEC SA sync?  Currently by sending SYNC_SA_COUNTER_INFO_SUPPORTED 
> you agree to support both, which can mean you may receive the IPSEC SA 
> syncs.

That was my main request during the last IETF. I think this protocol
needs to be split to contain separate parts one for IKE SA and one for
IPsec SAs.

In many environments it is quite possible to keep the IKE SA state in
sync between the cluster members, especially if the liveness checks
are used correctly, i.e. only when needed, not every n seconds. I.e if
IKE SA messages are only sent when Child SAs are created, rekeyed, or
deleted, or when IKE SA is rekeyed, then syncing data between cluster
members is anyways something you want to do as you want to move that
new child SA state to other cluster member anyway and syncing the
message ids in that case is very small part of the syncing you do. If
you have 100,000 clients, and each have IPsec rekey interval of one
hour, that means you do 27 IPsec rekeys per second. The rekeys usually
dominate the IKE SA exchanges unless you use per flow Child SAs (I do
not think people will be using such things on this kind of setup). If
you add some liveness checks for completely silent connections, you
end up around 50-100 message IDs you need to sync from one cluster
member to another. Assuming you send IKE SPIs (16 bytes), window
information (32 bits for window, 32 bits for left and right pointer,
and 32 bits for next outgoing id) you send less than 100 bytes per IKE
SA, thus meaning you need to send one 1000 byte sync information
packet every 100 ms (i.e. ten times per second).

That should not be overwhelming the cluster sync channel even when you
are using state of the art 115200 bit/s serial connection....

If you have stupid implementation which will send liveness check
packet for every single IKE SA (regardless whether there has been
traffic or not in the IPsec SAs associated to them) every 10 seconds
then you will be updating all 100,000 IKE SAs every 10 seconds. This
means 10,000 updated IKE SAs per second, thus meaning 1 MB/s just for
those sync messages. This will overwhelm your serial connection, but
using trusted old 10 Mbit/s ethernet will be enough...

(as you can see I am mostly assuming you do not need the IKE SA
message id syncing at all, as syncing the peers for IKE SA message is
completely feasible).

Syncing the ESP sequence numbers for per packet is not feasible, thus
there it might be useful to have some protocol support, especially if
it is very important to protect against reply attacks. For outgoing
packets you can simply jump over enough packets, but for incoming
packets you cannot, and this means you might be taking in packets
which you have already processed before the crash, and allow those go
through. If protection against that is something you need in your
environment, then having protocol for syncing up the ESP sequence
numbers helps. Other option is simply to rekey the IPsec SA
immediately and delete old IPsec SA, and that will reset the sequence
numbers to "good" values. To protect against replayed old packets, you
need to throw away all incoming ESP packets, altought you can still
send packets out using "large enough" sequence numbers.
-- 
kivinen@iki.fi

From kivinen@iki.fi  Wed Sep  8 05:09:08 2010
Return-Path: <kivinen@iki.fi>
X-Original-To: ipsec@core3.amsl.com
Delivered-To: ipsec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id C9E513A6899 for <ipsec@core3.amsl.com>; Wed,  8 Sep 2010 05:09:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.382
X-Spam-Level: 
X-Spam-Status: No, score=-102.382 tagged_above=-999 required=5 tests=[AWL=0.217, BAYES_00=-2.599, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0mANHz-R3jbJ for <ipsec@core3.amsl.com>; Wed,  8 Sep 2010 05:09:08 -0700 (PDT)
Received: from mail.kivinen.iki.fi (fireball.acr.fi [83.145.195.1]) by core3.amsl.com (Postfix) with ESMTP id 8F3BA3A680F for <ipsec@ietf.org>; Wed,  8 Sep 2010 05:09:07 -0700 (PDT)
Received: from fireball.kivinen.iki.fi (localhost [127.0.0.1]) by mail.kivinen.iki.fi (8.14.3/8.14.3) with ESMTP id o88C9U5w007032 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 8 Sep 2010 15:09:30 +0300 (EEST)
Received: (from kivinen@localhost) by fireball.kivinen.iki.fi (8.14.3/8.12.11) id o88C9TFg028271; Wed, 8 Sep 2010 15:09:29 +0300 (EEST)
X-Authentication-Warning: fireball.kivinen.iki.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: <19591.31993.387712.871536@fireball.kivinen.iki.fi>
Date: Wed, 8 Sep 2010 15:09:29 +0300
From: Tero Kivinen <kivinen@iki.fi>
To: RSJenwar@gmail.com
In-Reply-To: <AANLkTim=S_TVvQoy-Oh4WuiwLX22qQjNA9WBST4FZhYQ@mail.gmail.com>
References: <20100906031510.557ED3A6863@core3.amsl.com> <Pine.NEB.4.64.1009060634140.12204@otaku.Xtrmntr.org> <AANLkTim=S_TVvQoy-Oh4WuiwLX22qQjNA9WBST4FZhYQ@mail.gmail.com>
X-Mailer: VM 7.19 under Emacs 21.4.1
X-Edit-Time: 1 min
X-Total-Time: 44 min
Cc: ipsec@ietf.org, Pekka Riikonen <priikone@iki.fi>
Subject: Re: [IPsec] I-D Action:draft-ietf-ipsecme-ipsecha-protocol-00.txt
X-BeenThere: ipsec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discussion of IPsec protocols <ipsec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipsec>
List-Post: <mailto:ipsec@ietf.org>
List-Help: <mailto:ipsec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 08 Sep 2010 12:09:08 -0000

Raj Singh writes:
>      Now, say failover happened at 30, 500. So, standby member
> becomes active, and it start using IPsec replay counter from 30,
> 000. It will be considered as Replay Attack and SA has to be
> destroyed.

If you have replayed incoming packets, you do consider that replay
attack, and you IGNORE those packets. You DO NOT destroy the SA
because of this.
-- 
kivinen@iki.fi

From kivinen@iki.fi  Wed Sep  8 05:12:12 2010
Return-Path: <kivinen@iki.fi>
X-Original-To: ipsec@core3.amsl.com
Delivered-To: ipsec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 7D4993A684B for <ipsec@core3.amsl.com>; Wed,  8 Sep 2010 05:12:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.404
X-Spam-Level: 
X-Spam-Status: No, score=-102.404 tagged_above=-999 required=5 tests=[AWL=0.195, BAYES_00=-2.599, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jhDoqI76oscP for <ipsec@core3.amsl.com>; Wed,  8 Sep 2010 05:12:10 -0700 (PDT)
Received: from mail.kivinen.iki.fi (fireball.acr.fi [83.145.195.1]) by core3.amsl.com (Postfix) with ESMTP id 7B8163A67EB for <ipsec@ietf.org>; Wed,  8 Sep 2010 05:12:09 -0700 (PDT)
Received: from fireball.kivinen.iki.fi (localhost [127.0.0.1]) by mail.kivinen.iki.fi (8.14.3/8.14.3) with ESMTP id o88CCZfD000038 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 8 Sep 2010 15:12:35 +0300 (EEST)
Received: (from kivinen@localhost) by fireball.kivinen.iki.fi (8.14.3/8.12.11) id o88CCZwl002134; Wed, 8 Sep 2010 15:12:35 +0300 (EEST)
X-Authentication-Warning: fireball.kivinen.iki.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: <19591.32179.613210.16019@fireball.kivinen.iki.fi>
Date: Wed, 8 Sep 2010 15:12:35 +0300
From: Tero Kivinen <kivinen@iki.fi>
To: Pekka Riikonen <priikone@iki.fi>
In-Reply-To: <Pine.NEB.4.64.1009061921590.11774@otaku.Xtrmntr.org>
References: <20100906031510.557ED3A6863@core3.amsl.com> <Pine.NEB.4.64.1009060634140.12204@otaku.Xtrmntr.org> <AANLkTim=S_TVvQoy-Oh4WuiwLX22qQjNA9WBST4FZhYQ@mail.gmail.com> <Pine.NEB.4.64.1009061921590.11774@otaku.Xtrmntr.org>
X-Mailer: VM 7.19 under Emacs 21.4.1
X-Edit-Time: 2 min
X-Total-Time: 2 min
Cc: ipsec@ietf.org, Raj Singh <rsjenwar@gmail.com>
Subject: Re: [IPsec] I-D Action:draft-ietf-ipsecme-ipsecha-protocol-00.txt
X-BeenThere: ipsec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discussion of IPsec protocols <ipsec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipsec>
List-Post: <mailto:ipsec@ietf.org>
List-Help: <mailto:ipsec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 08 Sep 2010 12:12:12 -0000

Pekka Riikonen writes:
> The window at the remote peer will move to 31000; no replay errors.

That is true for outgoing packets. That is not possible for the
incoming packets, as attacker can replay packets sent to you just
before it caused you to crash, thus causing those replayed packets to
get through. 

> The issue is only with outbound sequence numbers, because as we know, the 
> window can move always forward with incoming packets.  So even if the 
> incoming window is lagging behind it will always move forward when the 
> remote sends new packets to us.

But before there is any packets from the real peer having bigger
sequence numbers, the attacker can send old replayed packets from time
before crash, and cause those replayed packets to be accepted.

In most cases this does not matter, but in some environments it might
be very important that such replayed messages are not forwarded.
-- 
kivinen@iki.fi

From smoonen@us.ibm.com  Wed Sep  8 05:13:12 2010
Return-Path: <smoonen@us.ibm.com>
X-Original-To: ipsec@core3.amsl.com
Delivered-To: ipsec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 450023A686A; Wed,  8 Sep 2010 05:13:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.431
X-Spam-Level: 
X-Spam-Status: No, score=-4.431 tagged_above=-999 required=5 tests=[AWL=0.204,  BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-4, SARE_GIF_ATTACH=1.42, TVD_FW_GRAPHIC_NAME_MID=0.543]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BmUDRhH2X4cr; Wed,  8 Sep 2010 05:13:08 -0700 (PDT)
Received: from e31.co.us.ibm.com (e31.co.us.ibm.com [32.97.110.149]) by core3.amsl.com (Postfix) with ESMTP id F12323A67EB; Wed,  8 Sep 2010 05:13:06 -0700 (PDT)
Received: from d03relay01.boulder.ibm.com (d03relay01.boulder.ibm.com [9.17.195.226]) by e31.co.us.ibm.com (8.14.4/8.13.1) with ESMTP id o88C1M8X010626; Wed, 8 Sep 2010 06:01:22 -0600
Received: from d03av06.boulder.ibm.com (d03av06.boulder.ibm.com [9.17.195.245]) by d03relay01.boulder.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id o88CDQP7174630; Wed, 8 Sep 2010 06:13:26 -0600
Received: from d03av06.boulder.ibm.com (loopback [127.0.0.1]) by d03av06.boulder.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id o88CH32E030014; Wed, 8 Sep 2010 06:17:03 -0600
Received: from d03nm118.boulder.ibm.com (d03nm118.boulder.ibm.com [9.17.195.144]) by d03av06.boulder.ibm.com (8.14.4/8.13.1/NCO v10.0 AVin) with ESMTP id o88CH3Sw030008; Wed, 8 Sep 2010 06:17:03 -0600
In-Reply-To: <19591.24647.497524.822377@fireball.kivinen.iki.fi>
References: <19591.24647.497524.822377@fireball.kivinen.iki.fi>
X-KeepSent: 5FA16AF2:68E07CE8-85257798:00420B7B; type=4; name=$KeepSent
To: Tero Kivinen <kivinen@iki.fi>
X-Mailer: Lotus Notes Release 8.5.1FP1 SHF20 February 10, 2010
Message-ID: <OF5FA16AF2.68E07CE8-ON85257798.00420B7B-85257798.00432258@us.ibm.com>
From: Scott C Moonen <smoonen@us.ibm.com>
Date: Wed, 8 Sep 2010 08:13:17 -0400
X-MIMETrack: Serialize by Router on D03NM118/03/M/IBM(Release 8.5.1FP4|July 25, 2010) at 09/08/2010 06:13:26
MIME-Version: 1.0
Content-type: multipart/related;  Boundary="0__=0ABBFD0BDFD18DEB8f9e8a93df938690918c0ABBFD0BDFD18DEB"
Cc: ipsec@ietf.org, ipsec-bounces@ietf.org
Subject: Re: [IPsec] Comments to draft-ietf-ipsecme-failure-detection-00
X-BeenThere: ipsec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discussion of IPsec protocols <ipsec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipsec>
List-Post: <mailto:ipsec@ietf.org>
List-Help: <mailto:ipsec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 08 Sep 2010 12:13:12 -0000

--0__=0ABBFD0BDFD18DEB8f9e8a93df938690918c0ABBFD0BDFD18DEB
Content-type: multipart/alternative; 
	Boundary="1__=0ABBFD0BDFD18DEB8f9e8a93df938690918c0ABBFD0BDFD18DEB"

--1__=0ABBFD0BDFD18DEB8f9e8a93df938690918c0ABBFD0BDFD18DEB
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: quoted-printable


Tero writes:

> I think it would simplify the implementations and the protocol by jus=
t
> limiting that only responders can be token makers without loosing any=

> of the functionality.

I don't think we should limit this.  First, rekeys can easily reverse t=
he
sense of who is initiator.  Second, it is a stretch to assume that the
underlying traffic pattern is always such that at all times the initiat=
or's
side is the one doing sending/retransmitting and can thus resurrect the=
 SA.


Scott Moonen (smoonen@us.ibm.com)
z/OS Communications Server TCP/IP Development
http://www.linkedin.com/in/smoonen



From:	Tero Kivinen <kivinen@iki.fi>
To:	ipsec@ietf.org
Date:	09/08/2010 06:07 AM
Subject:	[IPsec] Comments to draft-ietf-ipsecme-failure-detection-00
Sent by:	ipsec-bounces@ietf.org



The section 2 describing RFC4306 crash recovery is not complete. It
does not include the normal processing happining on the peer that is
not rebooting.

I suggest adding following text:
----------------------------------------------------------------------
When the one peer loses state or reboots it might not be able to
recover immediately (especially in case of reboot). This means that at
first the peer just goes silent, i.e. does not send or respond to any
messages. Conforming IKEv2 implementation will detect this situation
and follow the rules given in the section 2.4:

              "If there has only been outgoing traffic on all of
   the SAs associated with an IKE SA, it is essential to confirm
   liveness of the other endpoint to avoid black holes.  If no
   cryptographically protected messages have been received on an IKE SA=

   or any of its Child SAs recently, the system needs to perform a
   liveness check in order to prevent sending messages to a dead peer."=


I.e. the peer usually will start liveness checks even before the other
end is sending INVALID_SPI notification, as it detected that the other
end is not sending any packets anymore while it is still rebooting or
recovering from the situation.

This means that the several minutes recovery period is overlaping the
actual recover time of the other peer, i.e. if the security gateway
requires several minutes to boot up from the crash then the other
peers have already finished their liveness checks before the crashing
peer even has change to send INVALID_SPI notifications.

There are cases where the peer looses state and is able to recover
immediately, in those cases it might take several minutes to recover.

Note, that IKEv2 specification specifically leaves number of
retries and lengths of timeouts out from the specification, as they do
not affect interoperability. This means that implementations are
allowed to use the hints provided by the INVALID_SPI messages as hints
that will shorten those timeouts (i.e. different environment and
situation requiring different rules).

Good existing IKEv2 implementations already do that (i.e. both shorten
timeouts or limit number of retries) based on that kind of hints and
also start liveness checks quickly after the other end goes silent.
----------------------------------------------------------------------

The final paragraph saying:

   Those "at least several minutes" are a time during which both peers
   are active, but IPsec cannot be used.

is incorrect, as it is only true when the crashed peer recoverd
instantenously. In normal case most of that time is actually
overlaping the recovery time of the peer.

--

The protocol currently says that:

   Supporting implementations will send a notification, called a "QCD
   token", as described in Section 4.1 in the last IKE_AUTH exchange
   messages.  These are the final IKE_AUTH request and final IKE_AUTH
   response that contain the AUTH payloads.

This is very differnet compared to all other processing, usually this
kind of payloads are put to the same packet that contains traffic
selectors etc. Is there some reason why this is done this way?

--

Also do we really need the QCD token for the initiator too? The
initiator has already proven to be able to create the IKE SA on its
own, and it will have enough information to recreate the IKE SA after
the boot. Responder usually does not have enough information to be
able to recrete the IKE SA on its own after reboot, as it might not
for example know anymore what was the peer address where the IKE SA
was connected to when it just has IP packet it needs to forward to
that peer. The initiator must already have that information as he was
able to trigger IPsec SA creation in the first place based on the ip
packet.

I think it would simplify the implementations and the protocol by just
limiting that only responders can be token makers without loosing any
of the functionality.

--

Section 7.4 is mostly wrong.

The default retransmission policy needed for mobike cases is much,
much longer than what is needed in normal case. When mobike switches
from one interface to the another there might be very long delays
because of this (for example the device first needs to notice that
old interface does not work anymore, and then perhaps it needs to run
dhcp and other link related protocols on the new interface before it
can even try it and all those take a long time).

For example in our implementation the mobike uses MUCH longer timeouts
just to make sure we do not time out the IKE exchanges while we are
trying to go through all possible interfaces etc. Because of those
even longer timeouts there is very good reason to shorten those
timeouts in case we get any feedback back from the other end (i.e.
INVALID_SPI notifications).

The timeouts used in different situations even in the same
implementation needs to be different. In our case when you enable
mobike the number of retries used is more than 2 times what it is if
you do not turn mobike on.

Also the last paragraph again assumes that the peer staying up didn't
start liveness check almost immediately when the crashing peer
crashed. This is something that is already part of the standard IKEv2
specification, so implementions need to do that. This means the
timeout starts from the time of the crash, not from the time when the
gateway is up again.

Anyways as all this is standard IKEv2 already it does not belong here
in the alternative solutions section, but belongs as part of the
section 2.

--

Section 8 again ignores the IKEv2 text saying:

              "If there has only been outgoing traffic on all of
   the SAs associated with an IKE SA, it is essential to confirm
   liveness of the other endpoint to avoid black holes.  If no
   cryptographically protected messages have been received on an IKE SA=

   or any of its Child SAs recently, the system needs to perform a
   liveness check in order to prevent sending messages to a dead peer."=


Especially the text:

                                  A failed gateway may go undetected
   for as long as the lifetime of a child SA, because IPsec does not
   have packet acknowledgement, and applications cannot signal the IPse=
c
   layer that the tunnel "does not work".

If the gateway has failed then if there is ANY traffic on any of the
IPsec SAs then that means that from the other peers point of view
there is only outgoing traffic, thus it needs to do liveness check to
verify that the other end is alive. Thus the failed gateway cannot
really go undetected for as long as the lifetime of child SA, unless
the lifetimes is in order of few minutes :-)

I know there are implementations who do not implement that part of the
IKEv2 specification, but that does not mean that the part is not
there. We should not write or specifications to cover broken
implementations, but try to assume that implementations are following
the IKEv2 specification.

Note that the IKEv2 text does not have any conditionals there, it says
that "...the system needs to perform a liveness check...". It does not
say it may, or even should do it, it says it needs to be done.

Also I think the picture itself is bit incorrect, the exchange after
the reboot should probably be:

                ---- Reboot -----

       HDR, SK {}          -->

                        <--  HDR, N(INVALID_IKE_SPI), N(QCD_TOKEN)


I.e I assume the first packet is normal liveness check, and the reply
that is normal INVALID_IKE_SPI with QCD_TOKEN.

--

In section 9.1. it says that inter-domain VPN gateways should do both,
but I think that inter-domain VPN gateways does not really need this
specification as all, as they by configuration do know the other ends
IP-addresses etc, thus when the inter-domain VPN gateway gets up, it
can immediately create the IKE SAs needed based on the configuration.
This is in the case where either end of the inter-domain VPN gateway
can act as a initiator, i.e. no EAP is used, and neither is behind the
NAT.

If one of the inter-domain VPN gateway is behind restricted NAT, then
it is more or less similar to the remote-access client case (i.e. only
that end can initiate connections), and as the other peer cannot
initiate connections to the gw behind NAT, there is no point of
supporting token taker on that end.
--
kivinen@iki.fi
_______________________________________________
IPsec mailing list
IPsec@ietf.org
https://www.ietf.org/mailman/listinfo/ipsec
=

--1__=0ABBFD0BDFD18DEB8f9e8a93df938690918c0ABBFD0BDFD18DEB
Content-type: text/html; charset=US-ASCII
Content-Disposition: inline
Content-transfer-encoding: quoted-printable

<html><body>
<p>Tero writes:<br>
<br>
<tt>&gt; I think it would simplify the implementations and the protocol=
 by just<br>
&gt; limiting that only responders can be token makers without loosing =
any<br>
&gt; of the functionality. </tt><br>
<br>
I don't think we should limit this.  First, rekeys can easily reverse t=
he sense of who is initiator.  Second, it is a stretch to assume that t=
he underlying traffic pattern is always such that at all times the init=
iator's side is the one doing sending/retransmitting and can thus resur=
rect the SA.<br>
<br>
<br>
Scott Moonen (smoonen@us.ibm.com)<br>
z/OS Communications Server TCP/IP Development<br>
<a href=3D"http://www.linkedin.com/in/smoonen">http://www.linkedin.com/=
in/smoonen</a><br>
<br>
<img width=3D"16" height=3D"16" src=3D"cid:1__=3D0ABBFD0BDFD18DEB8f9e8a=
93df938@us.ibm.com" border=3D"0" alt=3D"Inactive hide details for Tero =
Kivinen ---09/08/2010 06:07:24 AM---The section 2 describing RFC4306 cr=
ash recovery is not compl"><font color=3D"#424282">Tero Kivinen ---09/0=
8/2010 06:07:24 AM---The section 2 describing RFC4306 crash recovery is=
 not complete. It does not include the normal proc</font><br>
<br>
<font size=3D"2" color=3D"#5F5F5F">From:	</font><font size=3D"2">Tero K=
ivinen &lt;kivinen@iki.fi&gt;</font><br>
<font size=3D"2" color=3D"#5F5F5F">To:	</font><font size=3D"2">ipsec@ie=
tf.org</font><br>
<font size=3D"2" color=3D"#5F5F5F">Date:	</font><font size=3D"2">09/08/=
2010 06:07 AM</font><br>
<font size=3D"2" color=3D"#5F5F5F">Subject:	</font><font size=3D"2">[IP=
sec] Comments to draft-ietf-ipsecme-failure-detection-00</font><br>
<font size=3D"2" color=3D"#5F5F5F">Sent by:	</font><font size=3D"2">ips=
ec-bounces@ietf.org</font><br>
<hr width=3D"100%" size=3D"2" align=3D"left" noshade style=3D"color:#80=
91A5; "><br>
<br>
<br>
<tt>The section 2 describing RFC4306 crash recovery is not complete. It=
<br>
does not include the normal processing happining on the peer that is<br=
>
not rebooting.<br>
<br>
I suggest adding following text:<br>
----------------------------------------------------------------------<=
br>
When the one peer loses state or reboots it might not be able to<br>
recover immediately (especially in case of reboot). This means that at<=
br>
first the peer just goes silent, i.e. does not send or respond to any<b=
r>
messages. Conforming IKEv2 implementation will detect this situation<br=
>
and follow the rules given in the section 2.4:<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&quot;If there has onl=
y been outgoing traffic on all of<br>
 &nbsp; the SAs associated with an IKE SA, it is essential to confirm<b=
r>
 &nbsp; liveness of the other endpoint to avoid black holes. &nbsp;If n=
o<br>
 &nbsp; cryptographically protected messages have been received on an I=
KE SA<br>
 &nbsp; or any of its Child SAs recently, the system needs to perform a=
<br>
 &nbsp; liveness check in order to prevent sending messages to a dead p=
eer.&quot;<br>
<br>
I.e. the peer usually will start liveness checks even before the other<=
br>
end is sending INVALID_SPI notification, as it detected that the other<=
br>
end is not sending any packets anymore while it is still rebooting or<b=
r>
recovering from the situation.<br>
<br>
This means that the several minutes recovery period is overlaping the<b=
r>
actual recover time of the other peer, i.e. if the security gateway<br>=

requires several minutes to boot up from the crash then the other<br>
peers have already finished their liveness checks before the crashing<b=
r>
peer even has change to send INVALID_SPI notifications.<br>
<br>
There are cases where the peer looses state and is able to recover<br>
immediately, in those cases it might take several minutes to recover.<b=
r>
<br>
Note, that IKEv2 specification specifically leaves number of<br>
retries and lengths of timeouts out from the specification, as they do<=
br>
not affect interoperability. This means that implementations are<br>
allowed to use the hints provided by the INVALID_SPI messages as hints<=
br>
that will shorten those timeouts (i.e. different environment and<br>
situation requiring different rules).<br>
<br>
Good existing IKEv2 implementations already do that (i.e. both shorten<=
br>
timeouts or limit number of retries) based on that kind of hints and<br=
>
also start liveness checks quickly after the other end goes silent.<br>=

----------------------------------------------------------------------<=
br>
<br>
The final paragraph saying:<br>
<br>
 &nbsp; Those &quot;at least several minutes&quot; are a time during wh=
ich both peers<br>
 &nbsp; are active, but IPsec cannot be used.<br>
<br>
is incorrect, as it is only true when the crashed peer recoverd<br>
instantenously. In normal case most of that time is actually<br>
overlaping the recovery time of the peer.<br>
<br>
--<br>
<br>
The protocol currently says that:<br>
<br>
 &nbsp; Supporting implementations will send a notification, called a &=
quot;QCD<br>
 &nbsp; token&quot;, as described in Section 4.1 in the last IKE_AUTH e=
xchange<br>
 &nbsp; messages. &nbsp;These are the final IKE_AUTH request and final =
IKE_AUTH<br>
 &nbsp; response that contain the AUTH payloads.<br>
<br>
This is very differnet compared to all other processing, usually this<b=
r>
kind of payloads are put to the same packet that contains traffic<br>
selectors etc. Is there some reason why this is done this way?<br>
<br>
--<br>
<br>
Also do we really need the QCD token for the initiator too? The<br>
initiator has already proven to be able to create the IKE SA on its<br>=

own, and it will have enough information to recreate the IKE SA after<b=
r>
the boot. Responder usually does not have enough information to be<br>
able to recrete the IKE SA on its own after reboot, as it might not<br>=

for example know anymore what was the peer address where the IKE SA<br>=

was connected to when it just has IP packet it needs to forward to<br>
that peer. The initiator must already have that information as he was<b=
r>
able to trigger IPsec SA creation in the first place based on the ip<br=
>
packet.<br>
<br>
I think it would simplify the implementations and the protocol by just<=
br>
limiting that only responders can be token makers without loosing any<b=
r>
of the functionality. <br>
<br>
--<br>
<br>
Section 7.4 is mostly wrong.<br>
<br>
The default retransmission policy needed for mobike cases is much,<br>
much longer than what is needed in normal case. When mobike switches<br=
>
from one interface to the another there might be very long delays<br>
because of this (for example the device first needs to notice that<br>
old interface does not work anymore, and then perhaps it needs to run<b=
r>
dhcp and other link related protocols on the new interface before it<br=
>
can even try it and all those take a long time).<br>
<br>
For example in our implementation the mobike uses MUCH longer timeouts<=
br>
just to make sure we do not time out the IKE exchanges while we are<br>=

trying to go through all possible interfaces etc. Because of those<br>
even longer timeouts there is very good reason to shorten those<br>
timeouts in case we get any feedback back from the other end (i.e.<br>
INVALID_SPI notifications).<br>
<br>
The timeouts used in different situations even in the same<br>
implementation needs to be different. In our case when you enable<br>
mobike the number of retries used is more than 2 times what it is if<br=
>
you do not turn mobike on.<br>
<br>
Also the last paragraph again assumes that the peer staying up didn't<b=
r>
start liveness check almost immediately when the crashing peer<br>
crashed. This is something that is already part of the standard IKEv2<b=
r>
specification, so implementions need to do that. This means the<br>
timeout starts from the time of the crash, not from the time when the<b=
r>
gateway is up again.<br>
<br>
Anyways as all this is standard IKEv2 already it does not belong here<b=
r>
in the alternative solutions section, but belongs as part of the<br>
section 2.<br>
<br>
--<br>
<br>
Section 8 again ignores the IKEv2 text saying:<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&quot;If there has onl=
y been outgoing traffic on all of<br>
 &nbsp; the SAs associated with an IKE SA, it is essential to confirm<b=
r>
 &nbsp; liveness of the other endpoint to avoid black holes. &nbsp;If n=
o<br>
 &nbsp; cryptographically protected messages have been received on an I=
KE SA<br>
 &nbsp; or any of its Child SAs recently, the system needs to perform a=
<br>
 &nbsp; liveness check in order to prevent sending messages to a dead p=
eer.&quot;<br>
<br>
Especially the text:<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; =
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;A failed gateway may go=
 undetected<br>
 &nbsp; for as long as the lifetime of a child SA, because IPsec does n=
ot<br>
 &nbsp; have packet acknowledgement, and applications cannot signal the=
 IPsec<br>
 &nbsp; layer that the tunnel &quot;does not work&quot;. &nbsp;<br>
<br>
If the gateway has failed then if there is ANY traffic on any of the<br=
>
IPsec SAs then that means that from the other peers point of view<br>
there is only outgoing traffic, thus it needs to do liveness check to<b=
r>
verify that the other end is alive. Thus the failed gateway cannot<br>
really go undetected for as long as the lifetime of child SA, unless<br=
>
the lifetimes is in order of few minutes :-)<br>
<br>
I know there are implementations who do not implement that part of the<=
br>
IKEv2 specification, but that does not mean that the part is not<br>
there. We should not write or specifications to cover broken<br>
implementations, but try to assume that implementations are following<b=
r>
the IKEv2 specification.<br>
<br>
Note that the IKEv2 text does not have any conditionals there, it says<=
br>
that &quot;...the system needs to perform a liveness check...&quot;. It=
 does not<br>
say it may, or even should do it, it says it needs to be done.<br>
<br>
Also I think the picture itself is bit incorrect, the exchange after<br=
>
the reboot should probably be:<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;---- Reboot ---=
--<br>
<br>
 &nbsp; &nbsp; &nbsp; HDR, SK {} &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;--&g=
t;<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; =
&nbsp; &nbsp;&lt;-- &nbsp;HDR, N(INVALID_IKE_SPI), N(QCD_TOKEN)<br>
<br>
<br>
I.e I assume the first packet is normal liveness check, and the reply<b=
r>
that is normal INVALID_IKE_SPI with QCD_TOKEN. <br>
<br>
--<br>
<br>
In section 9.1. it says that inter-domain VPN gateways should do both,<=
br>
but I think that inter-domain VPN gateways does not really need this<br=
>
specification as all, as they by configuration do know the other ends<b=
r>
IP-addresses etc, thus when the inter-domain VPN gateway gets up, it<br=
>
can immediately create the IKE SAs needed based on the configuration.<b=
r>
This is in the case where either end of the inter-domain VPN gateway<br=
>
can act as a initiator, i.e. no EAP is used, and neither is behind the<=
br>
NAT.<br>
<br>
If one of the inter-domain VPN gateway is behind restricted NAT, then<b=
r>
it is more or less similar to the remote-access client case (i.e. only<=
br>
that end can initiate connections), and as the other peer cannot<br>
initiate connections to the gw behind NAT, there is no point of<br>
supporting token taker on that end.<br>
-- <br>
kivinen@iki.fi<br>
_______________________________________________<br>
IPsec mailing list<br>
IPsec@ietf.org<br>
</tt><tt><a href=3D"https://www.ietf.org/mailman/listinfo/ipsec">https:=
//www.ietf.org/mailman/listinfo/ipsec</a></tt><tt><br>
</tt><br>
</body></html>=


--1__=0ABBFD0BDFD18DEB8f9e8a93df938690918c0ABBFD0BDFD18DEB--


--0__=0ABBFD0BDFD18DEB8f9e8a93df938690918c0ABBFD0BDFD18DEB
Content-type: image/gif; 
	name="graycol.gif"
Content-Disposition: inline; filename="graycol.gif"
Content-ID: <1__=0ABBFD0BDFD18DEB8f9e8a93df938@us.ibm.com>
Content-transfer-encoding: base64

R0lGODlhEAAQAKECAMzMzAAAAP///wAAACH5BAEAAAIALAAAAAAQABAAAAIXlI+py+0PopwxUbpu
ZRfKZ2zgSJbmSRYAIf4fT3B0aW1pemVkIGJ5IFVsZWFkIFNtYXJ0U2F2ZXIhAAA7

--0__=0ABBFD0BDFD18DEB8f9e8a93df938690918c0ABBFD0BDFD18DEB--


From kivinen@iki.fi  Wed Sep  8 05:18:46 2010
Return-Path: <kivinen@iki.fi>
X-Original-To: ipsec@core3.amsl.com
Delivered-To: ipsec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id C8B7D3A67B6 for <ipsec@core3.amsl.com>; Wed,  8 Sep 2010 05:18:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.422
X-Spam-Level: 
X-Spam-Status: No, score=-102.422 tagged_above=-999 required=5 tests=[AWL=0.177, BAYES_00=-2.599, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id POxXtaj-BYPM for <ipsec@core3.amsl.com>; Wed,  8 Sep 2010 05:18:45 -0700 (PDT)
Received: from mail.kivinen.iki.fi (fireball.acr.fi [83.145.195.1]) by core3.amsl.com (Postfix) with ESMTP id BAC723A676A for <ipsec@ietf.org>; Wed,  8 Sep 2010 05:18:44 -0700 (PDT)
Received: from fireball.kivinen.iki.fi (localhost [127.0.0.1]) by mail.kivinen.iki.fi (8.14.3/8.14.3) with ESMTP id o88CJBCY003409 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 8 Sep 2010 15:19:12 +0300 (EEST)
Received: (from kivinen@localhost) by fireball.kivinen.iki.fi (8.14.3/8.12.11) id o88CJBuT002073; Wed, 8 Sep 2010 15:19:11 +0300 (EEST)
X-Authentication-Warning: fireball.kivinen.iki.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: <19591.32575.931479.621032@fireball.kivinen.iki.fi>
Date: Wed, 8 Sep 2010 15:19:11 +0300
From: Tero Kivinen <kivinen@iki.fi>
To: Scott C Moonen <smoonen@us.ibm.com>
In-Reply-To: <OF5FA16AF2.68E07CE8-ON85257798.00420B7B-85257798.00432258@us.ibm.com>
References: <19591.24647.497524.822377@fireball.kivinen.iki.fi> <OF5FA16AF2.68E07CE8-ON85257798.00420B7B-85257798.00432258@us.ibm.com>
X-Mailer: VM 7.19 under Emacs 21.4.1
X-Edit-Time: 3 min
X-Total-Time: 3 min
Cc: ipsec@ietf.org
Subject: Re: [IPsec] Comments to draft-ietf-ipsecme-failure-detection-00
X-BeenThere: ipsec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discussion of IPsec protocols <ipsec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipsec>
List-Post: <mailto:ipsec@ietf.org>
List-Help: <mailto:ipsec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 08 Sep 2010 12:18:46 -0000

Scott C Moonen writes:
> > I think it would simplify the implementations and the protocol by just
> > limiting that only responders can be token makers without loosing any
> > of the functionality.
> 
> I don't think we should limit this.  First, rekeys can easily reverse the
> sense of who is initiator.

I was thinking about the original initiator, not the exchange
initiator. 

> Second, it is a stretch to assume that the underlying traffic
> pattern is always such that at all times the initiator's side is the
> one doing sending/retransmitting and can thus resurrect the SA.

I am not talkin gabout traffic patters, I am talking about the ability
to recreate the SA. The reason the SGW in normal case cannot simply
recreate the IKE SA after the reboot is because it does not know who
the other end was, i.e. it does not know their IP-addresses,
identities, the traffic selectors etc used for that.

The initiator has all this information in its configuration as it
already created the SAs in the first place earlier, so for it, it is
enough to just start new IKE SA with INITIAL_CONTACT notification when
it boots up. 
-- 
kivinen@iki.fi

From priikone@iki.fi  Wed Sep  8 05:29:24 2010
Return-Path: <priikone@iki.fi>
X-Original-To: ipsec@core3.amsl.com
Delivered-To: ipsec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id E700E3A679F for <ipsec@core3.amsl.com>; Wed,  8 Sep 2010 05:29:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8T++l5t81Tef for <ipsec@core3.amsl.com>; Wed,  8 Sep 2010 05:29:23 -0700 (PDT)
Received: from otaku.Xtrmntr.org (sauna.silcnet.org [IPv6:2001:4118:10:4000::2205]) by core3.amsl.com (Postfix) with ESMTP id DB9353A676A for <ipsec@ietf.org>; Wed,  8 Sep 2010 05:29:22 -0700 (PDT)
Received: by otaku.Xtrmntr.org (Postfix, from userid 201) id D6CA74947; Wed,  8 Sep 2010 14:30:40 +0200 (CEST)
Received: from localhost (localhost [127.0.0.1]) by otaku.Xtrmntr.org (Postfix) with ESMTP id D50DA48AF; Wed,  8 Sep 2010 14:30:40 +0200 (CEST)
Date: Wed, 8 Sep 2010 14:30:40 +0200 (CEST)
From: Pekka Riikonen <priikone@iki.fi>
X-X-Sender: priikone@otaku.Xtrmntr.org
To: Tero Kivinen <kivinen@iki.fi>
In-Reply-To: <19591.32179.613210.16019@fireball.kivinen.iki.fi>
Message-ID: <Pine.NEB.4.64.1009081423330.1150@otaku.Xtrmntr.org>
References: <20100906031510.557ED3A6863@core3.amsl.com> <Pine.NEB.4.64.1009060634140.12204@otaku.Xtrmntr.org> <AANLkTim=S_TVvQoy-Oh4WuiwLX22qQjNA9WBST4FZhYQ@mail.gmail.com> <Pine.NEB.4.64.1009061921590.11774@otaku.Xtrmntr.org> <19591.32179.613210.16019@fireball.kivinen.iki.fi>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Cc: ipsec@ietf.org, Raj Singh <rsjenwar@gmail.com>
Subject: Re: [IPsec] I-D Action:draft-ietf-ipsecme-ipsecha-protocol-00.txt
X-BeenThere: ipsec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discussion of IPsec protocols <ipsec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipsec>
List-Post: <mailto:ipsec@ietf.org>
List-Help: <mailto:ipsec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 08 Sep 2010 12:29:25 -0000

: Pekka Riikonen writes:
: > The window at the remote peer will move to 31000; no replay errors.
: 
: That is true for outgoing packets. That is not possible for the
: incoming packets, as attacker can replay packets sent to you just
: before it caused you to crash, thus causing those replayed packets to
: get through. 
: 
: > The issue is only with outbound sequence numbers, because as we know, the 
: > window can move always forward with incoming packets.  So even if the 
: > incoming window is lagging behind it will always move forward when the 
: > remote sends new packets to us.
: 
: But before there is any packets from the real peer having bigger
: sequence numbers, the attacker can send old replayed packets from time
: before crash, and cause those replayed packets to be accepted.
: 
I agree there is a small window for attacker to be able to replay old 
packets, but this would mean the attacker has to record old packets and 
has to know exactly when the failover happens (of course if attacker can 
induce the failover, this is serious).

In principal I'm not against having the IPSEC SA sync also in this 
protocol, but if it is left in, I think we have to have a way to negotiate 
which of the sync methods peer wants to use.  Either message id sync, or 
ipsec SA sequence number sync or both.

	Pekka

From smoonen@us.ibm.com  Wed Sep  8 05:44:08 2010
Return-Path: <smoonen@us.ibm.com>
X-Original-To: ipsec@core3.amsl.com
Delivered-To: ipsec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id CB2543A681E for <ipsec@core3.amsl.com>; Wed,  8 Sep 2010 05:44:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.465
X-Spam-Level: 
X-Spam-Status: No, score=-4.465 tagged_above=-999 required=5 tests=[AWL=0.170,  BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-4, SARE_GIF_ATTACH=1.42, TVD_FW_GRAPHIC_NAME_MID=0.543]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id uadWqDKTpbug for <ipsec@core3.amsl.com>; Wed,  8 Sep 2010 05:44:04 -0700 (PDT)
Received: from e5.ny.us.ibm.com (e5.ny.us.ibm.com [32.97.182.145]) by core3.amsl.com (Postfix) with ESMTP id 48FBB3A676A for <ipsec@ietf.org>; Wed,  8 Sep 2010 05:44:04 -0700 (PDT)
Received: from d01relay02.pok.ibm.com (d01relay02.pok.ibm.com [9.56.227.234]) by e5.ny.us.ibm.com (8.14.4/8.13.1) with ESMTP id o88COs3w013630 for <ipsec@ietf.org>; Wed, 8 Sep 2010 08:24:54 -0400
Received: from d03av06.boulder.ibm.com (d03av06.boulder.ibm.com [9.17.195.245]) by d01relay02.pok.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id o88CiJ7T477914 for <ipsec@ietf.org>; Wed, 8 Sep 2010 08:44:21 -0400
Received: from d03av06.boulder.ibm.com (loopback [127.0.0.1]) by d03av06.boulder.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id o88CluLX015120 for <ipsec@ietf.org>; Wed, 8 Sep 2010 06:47:56 -0600
Received: from d03nm118.boulder.ibm.com (d03nm118.boulder.ibm.com [9.17.195.144]) by d03av06.boulder.ibm.com (8.14.4/8.13.1/NCO v10.0 AVin) with ESMTP id o88CluNU015117; Wed, 8 Sep 2010 06:47:56 -0600
In-Reply-To: <19591.32575.931479.621032@fireball.kivinen.iki.fi>
References: <19591.24647.497524.822377@fireball.kivinen.iki.fi>	<OF5FA16AF2.68E07CE8-ON85257798.00420B7B-85257798.00432258@us.ibm.com> <19591.32575.931479.621032@fireball.kivinen.iki.fi>
X-KeepSent: ABFD4196:1816F673-85257798:0044B57D; type=4; name=$KeepSent
To: Tero Kivinen <kivinen@iki.fi>
X-Mailer: Lotus Notes Release 8.5.1FP1 SHF20 February 10, 2010
Message-ID: <OFABFD4196.1816F673-ON85257798.0044B57D-85257798.0045F6BE@us.ibm.com>
From: Scott C Moonen <smoonen@us.ibm.com>
Date: Wed, 8 Sep 2010 08:44:11 -0400
X-MIMETrack: Serialize by Router on D03NM118/03/M/IBM(Release 8.5.1FP4|July 25, 2010) at 09/08/2010 06:44:18
MIME-Version: 1.0
Content-type: multipart/related;  Boundary="0__=0ABBFD0BDFD733ED8f9e8a93df938690918c0ABBFD0BDFD733ED"
Cc: ipsec@ietf.org
Subject: Re: [IPsec] Comments to draft-ietf-ipsecme-failure-detection-00
X-BeenThere: ipsec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discussion of IPsec protocols <ipsec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipsec>
List-Post: <mailto:ipsec@ietf.org>
List-Help: <mailto:ipsec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 08 Sep 2010 12:44:08 -0000

--0__=0ABBFD0BDFD733ED8f9e8a93df938690918c0ABBFD0BDFD733ED
Content-type: multipart/alternative; 
	Boundary="1__=0ABBFD0BDFD733ED8f9e8a93df938690918c0ABBFD0BDFD733ED"

--1__=0ABBFD0BDFD733ED8f9e8a93df938690918c0ABBFD0BDFD733ED
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: quoted-printable


Tero,

> I was thinking about the original initiator, not the exchange
> initiator.

Ok, but this then imposes an awkward new requirement to remember the
"original original initiator," as it were.  Today the initiator of the
rekey becomes the original initiator of the rekeyed IKE SA.

> > Second, it is a stretch to assume that the underlying traffic
> > pattern is always such that at all times the initiator's side is th=
e
> > one doing sending/retransmitting and can thus resurrect the SA.
>
> I am not talking about traffic patterns, I am talking about the abili=
ty
> to recreate the SA. The reason the SGW in normal case cannot simply
> recreate the IKE SA after the reboot is because it does not know who
> the other end was, i.e. it does not know their IP-addresses,
> identities, the traffic selectors etc used for that.

But the responder side does have this information -- if the initiator
reboots, the responder still has the original SAs.  Once it receives th=
e N
(INVALID_IKE_SPI)+N(QCD_TOKEN) it can treat it essentially as a case wh=
ere
it needs to reauthenticate the IKE SA rather than starting from some
hypothetical clean slate.  In the normal case the responder should be a=
ble
to negotiate new SAs.  (I realize this may be problematic for some EAP =
and
some NAT traversal cases.)

I am not suggesting we require the responder to re-create the SAs.  But=
 I
don't think we should disallow it,


Scott Moonen (smoonen@us.ibm.com)
z/OS Communications Server TCP/IP Development
http://www.linkedin.com/in/smoonen



From:	Tero Kivinen <kivinen@iki.fi>
To:	Scott C Moonen/Raleigh/IBM@IBMUS
Cc:	ipsec@ietf.org
Date:	09/08/2010 08:19 AM
Subject:	Re: [IPsec] Comments to draft-ietf-ipsecme-failure-detection-0=
0



Scott C Moonen writes:
> > I think it would simplify the implementations and the protocol by j=
ust
> > limiting that only responders can be token makers without loosing a=
ny
> > of the functionality.
>
> I don't think we should limit this.  First, rekeys can easily reverse=
 the
> sense of who is initiator.

I was thinking about the original initiator, not the exchange
initiator.

> Second, it is a stretch to assume that the underlying traffic
> pattern is always such that at all times the initiator's side is the
> one doing sending/retransmitting and can thus resurrect the SA.

I am not talkin gabout traffic patters, I am talking about the ability
to recreate the SA. The reason the SGW in normal case cannot simply
recreate the IKE SA after the reboot is because it does not know who
the other end was, i.e. it does not know their IP-addresses,
identities, the traffic selectors etc used for that.

The initiator has all this information in its configuration as it
already created the SAs in the first place earlier, so for it, it is
enough to just start new IKE SA with INITIAL_CONTACT notification when
it boots up.
--
kivinen@iki.fi
=

--1__=0ABBFD0BDFD733ED8f9e8a93df938690918c0ABBFD0BDFD733ED
Content-type: text/html; charset=US-ASCII
Content-Disposition: inline
Content-transfer-encoding: quoted-printable

<html><body>
<p>Tero,<br>
<br>
<tt>&gt; I was thinking about the original initiator, not the exchange<=
br>
&gt; initiator. </tt><br>
<br>
Ok, but this then imposes an awkward new requirement to remember the &q=
uot;original original initiator,&quot; as it were.  Today the initiator=
 of the rekey becomes the original initiator of the rekeyed IKE SA.<br>=

<br>
<tt>&gt; &gt; Second, it is a stretch to assume that the underlying tra=
ffic<br>
&gt; &gt; pattern is always such that at all times the initiator's side=
 is the<br>
&gt; &gt; one doing sending/retransmitting and can thus resurrect the S=
A.<br>
&gt; <br>
&gt; I am not talking about traffic patterns, I am talking about the ab=
ility<br>
&gt; to recreate the SA. The reason the SGW in normal case cannot simpl=
y<br>
&gt; recreate the IKE SA after the reboot is because it does not know w=
ho<br>
&gt; the other end was, i.e. it does not know their IP-addresses,<br>
&gt; identities, the traffic selectors etc used for that.</tt><br>
<br>
But the responder side does have this information -- if the initiator r=
eboots, the responder still has the original SAs.  Once it receives the=
 N(INVALID_IKE_SPI)+N(QCD_TOKEN) it can treat it essentially as a case =
where it needs to reauthenticate the IKE SA rather than starting from s=
ome hypothetical clean slate.  In the normal case the responder should =
be able to negotiate new SAs.  (I realize this may be problematic for s=
ome EAP and some NAT traversal cases.)<br>
<br>
I am not suggesting we require the responder to re-create the SAs.  But=
 I don't think we should disallow it,<br>
<br>
<br>
Scott Moonen (smoonen@us.ibm.com)<br>
z/OS Communications Server TCP/IP Development<br>
<a href=3D"http://www.linkedin.com/in/smoonen">http://www.linkedin.com/=
in/smoonen</a><br>
<br>
<img width=3D"16" height=3D"16" src=3D"cid:1__=3D0ABBFD0BDFD733ED8f9e8a=
93df938@us.ibm.com" border=3D"0" alt=3D"Inactive hide details for Tero =
Kivinen ---09/08/2010 08:19:18 AM---Scott C Moonen writes: &gt; &gt; I =
think it would simplify the imp"><font color=3D"#424282">Tero Kivinen -=
--09/08/2010 08:19:18 AM---Scott C Moonen writes: &gt; &gt; I think it =
would simplify the implementations and the protocol by just</font><br>
<br>
<font size=3D"2" color=3D"#5F5F5F">From:	</font><font size=3D"2">Tero K=
ivinen &lt;kivinen@iki.fi&gt;</font><br>
<font size=3D"2" color=3D"#5F5F5F">To:	</font><font size=3D"2">Scott C =
Moonen/Raleigh/IBM@IBMUS</font><br>
<font size=3D"2" color=3D"#5F5F5F">Cc:	</font><font size=3D"2">ipsec@ie=
tf.org</font><br>
<font size=3D"2" color=3D"#5F5F5F">Date:	</font><font size=3D"2">09/08/=
2010 08:19 AM</font><br>
<font size=3D"2" color=3D"#5F5F5F">Subject:	</font><font size=3D"2">Re:=
 [IPsec] Comments to draft-ietf-ipsecme-failure-detection-00</font><br>=

<hr width=3D"100%" size=3D"2" align=3D"left" noshade style=3D"color:#80=
91A5; "><br>
<br>
<br>
<tt>Scott C Moonen writes:<br>
&gt; &gt; I think it would simplify the implementations and the protoco=
l by just<br>
&gt; &gt; limiting that only responders can be token makers without loo=
sing any<br>
&gt; &gt; of the functionality.<br>
&gt; <br>
&gt; I don't think we should limit this. &nbsp;First, rekeys can easily=
 reverse the<br>
&gt; sense of who is initiator.<br>
<br>
I was thinking about the original initiator, not the exchange<br>
initiator. <br>
<br>
&gt; Second, it is a stretch to assume that the underlying traffic<br>
&gt; pattern is always such that at all times the initiator's side is t=
he<br>
&gt; one doing sending/retransmitting and can thus resurrect the SA.<br=
>
<br>
I am not talkin gabout traffic patters, I am talking about the ability<=
br>
to recreate the SA. The reason the SGW in normal case cannot simply<br>=

recreate the IKE SA after the reboot is because it does not know who<br=
>
the other end was, i.e. it does not know their IP-addresses,<br>
identities, the traffic selectors etc used for that.<br>
<br>
The initiator has all this information in its configuration as it<br>
already created the SAs in the first place earlier, so for it, it is<br=
>
enough to just start new IKE SA with INITIAL_CONTACT notification when<=
br>
it boots up. <br>
-- <br>
kivinen@iki.fi<br>
</tt><br>
</body></html>=


--1__=0ABBFD0BDFD733ED8f9e8a93df938690918c0ABBFD0BDFD733ED--


--0__=0ABBFD0BDFD733ED8f9e8a93df938690918c0ABBFD0BDFD733ED
Content-type: image/gif; 
	name="graycol.gif"
Content-Disposition: inline; filename="graycol.gif"
Content-ID: <1__=0ABBFD0BDFD733ED8f9e8a93df938@us.ibm.com>
Content-transfer-encoding: base64

R0lGODlhEAAQAKECAMzMzAAAAP///wAAACH5BAEAAAIALAAAAAAQABAAAAIXlI+py+0PopwxUbpu
ZRfKZ2zgSJbmSRYAIf4fT3B0aW1pemVkIGJ5IFVsZWFkIFNtYXJ0U2F2ZXIhAAA7

--0__=0ABBFD0BDFD733ED8f9e8a93df938690918c0ABBFD0BDFD733ED--


From priikone@iki.fi  Wed Sep  8 08:14:58 2010
Return-Path: <priikone@iki.fi>
X-Original-To: ipsec@core3.amsl.com
Delivered-To: ipsec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 8C6A73A68FB for <ipsec@core3.amsl.com>; Wed,  8 Sep 2010 08:14:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[AWL=0.000,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id C+OUwlDnTa+r for <ipsec@core3.amsl.com>; Wed,  8 Sep 2010 08:14:56 -0700 (PDT)
Received: from otaku.Xtrmntr.org (sauna.silcnet.org [IPv6:2001:4118:10:4000::2205]) by core3.amsl.com (Postfix) with ESMTP id AD36F3A68E9 for <ipsec@ietf.org>; Wed,  8 Sep 2010 08:14:55 -0700 (PDT)
Received: by otaku.Xtrmntr.org (Postfix, from userid 201) id 690C54952; Wed,  8 Sep 2010 17:16:12 +0200 (CEST)
Received: from localhost (localhost [127.0.0.1]) by otaku.Xtrmntr.org (Postfix) with ESMTP id 6743F494B; Wed,  8 Sep 2010 17:16:12 +0200 (CEST)
Date: Wed, 8 Sep 2010 17:16:11 +0200 (CEST)
From: Pekka Riikonen <priikone@iki.fi>
X-X-Sender: priikone@otaku.Xtrmntr.org
To: Tero Kivinen <kivinen@iki.fi>
In-Reply-To: <19591.29188.12087.33036@fireball.kivinen.iki.fi>
Message-ID: <Pine.NEB.4.64.1009081646140.859@otaku.Xtrmntr.org>
References: <20100906031510.557ED3A6863@core3.amsl.com> <Pine.NEB.4.64.1009060634140.12204@otaku.Xtrmntr.org> <19591.29188.12087.33036@fireball.kivinen.iki.fi>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Cc: ipsec@ietf.org
Subject: Re: [IPsec] I-D Action:draft-ietf-ipsecme-ipsecha-protocol-00.txt
X-BeenThere: ipsec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discussion of IPsec protocols <ipsec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipsec>
List-Post: <mailto:ipsec@ietf.org>
List-Help: <mailto:ipsec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 08 Sep 2010 15:14:58 -0000

On Wed, 8 Sep 2010, Tero Kivinen wrote:
: In many environments it is quite possible to keep the IKE SA state in
: sync between the cluster members, especially if the liveness checks
: are used correctly, i.e. only when needed, not every n seconds. I.e if
: IKE SA messages are only sent when Child SAs are created, rekeyed, or
: deleted, or when IKE SA is rekeyed, then syncing data between cluster
: members is anyways something you want to do as you want to move that
: new child SA state to other cluster member anyway and syncing the
: message ids in that case is very small part of the syncing you do. If
: you have 100,000 clients, and each have IPsec rekey interval of one
: 
: (as you can see I am mostly assuming you do not need the IKE SA
: message id syncing at all, as syncing the peers for IKE SA message is
: completely feasible).
: 
I think it is essential that this protocol provides way to rectify this 
situation, since IKEv2 doesn't allow moving the window forward freely, 
this protocol must provide mechanism for it.  This issue is much more 
serious than the possible replay attack with IPSEC sequence numbers; the 
message id _must_ be correct or the IKE SA is broken.

I think we should leave both sync types in the protocol and provide way to 
negotiate support for either or both.  I think this will make everyone 
happy and makes IKEv2 work in clusters (almost) as well as IKEv1.

	Pekka

From kivinen@iki.fi  Thu Sep  9 01:01:05 2010
Return-Path: <kivinen@iki.fi>
X-Original-To: ipsec@core3.amsl.com
Delivered-To: ipsec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id AA2983A6A1E for <ipsec@core3.amsl.com>; Thu,  9 Sep 2010 01:01:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.436
X-Spam-Level: 
X-Spam-Status: No, score=-102.436 tagged_above=-999 required=5 tests=[AWL=0.163, BAYES_00=-2.599, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ucfBKuePXTdh for <ipsec@core3.amsl.com>; Thu,  9 Sep 2010 01:01:04 -0700 (PDT)
Received: from mail.kivinen.iki.fi (fireball.acr.fi [83.145.195.1]) by core3.amsl.com (Postfix) with ESMTP id EDE173A69F4 for <ipsec@ietf.org>; Thu,  9 Sep 2010 01:01:03 -0700 (PDT)
Received: from fireball.kivinen.iki.fi (localhost [127.0.0.1]) by mail.kivinen.iki.fi (8.14.3/8.14.3) with ESMTP id o8981Rkg004823 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 9 Sep 2010 11:01:27 +0300 (EEST)
Received: (from kivinen@localhost) by fireball.kivinen.iki.fi (8.14.3/8.12.11) id o8981PkU007688; Thu, 9 Sep 2010 11:01:25 +0300 (EEST)
X-Authentication-Warning: fireball.kivinen.iki.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: <19592.37973.545808.950166@fireball.kivinen.iki.fi>
Date: Thu, 9 Sep 2010 11:01:25 +0300
From: Tero Kivinen <kivinen@iki.fi>
To: Scott C Moonen <smoonen@us.ibm.com>
In-Reply-To: <OFABFD4196.1816F673-ON85257798.0044B57D-85257798.0045F6BE@us.ibm.com>
References: <19591.24647.497524.822377@fireball.kivinen.iki.fi> <OF5FA16AF2.68E07CE8-ON85257798.00420B7B-85257798.00432258@us.ibm.com> <19591.32575.931479.621032@fireball.kivinen.iki.fi> <OFABFD4196.1816F673-ON85257798.0044B57D-85257798.0045F6BE@us.ibm.com>
X-Mailer: VM 7.19 under Emacs 21.4.1
X-Edit-Time: 18 min
X-Total-Time: 18 min
Cc: ipsec@ietf.org
Subject: Re: [IPsec] Comments to draft-ietf-ipsecme-failure-detection-00
X-BeenThere: ipsec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discussion of IPsec protocols <ipsec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipsec>
List-Post: <mailto:ipsec@ietf.org>
List-Help: <mailto:ipsec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 09 Sep 2010 08:01:05 -0000

Scott C Moonen writes:
> > I was thinking about the original initiator, not the exchange
> > initiator.
> 
> Ok, but this then imposes an awkward new requirement to remember the
> "original original initiator," as it were.  Today the initiator of the
> rekey becomes the original initiator of the rekeyed IKE SA.

True, we need some other term for it. Something like the original
IKE_SA_INIT initiator or the party initiating the initial connection
(i.e. triggering). Or simply say that the QCD_TOKENs in INFORMATIONAL
exchanges and rekeys can only be sent by the peer who originally sent
them in the IKE_AUTH, and in IKE_AUTH limit the QCD_TOKEN to the
responder. 

> > > Second, it is a stretch to assume that the underlying traffic
> > > pattern is always such that at all times the initiator's side is the
> > > one doing sending/retransmitting and can thus resurrect the SA.
> >
> > I am not talking about traffic patterns, I am talking about the ability
> > to recreate the SA. The reason the SGW in normal case cannot simply
> > recreate the IKE SA after the reboot is because it does not know who
> > the other end was, i.e. it does not know their IP-addresses,
> > identities, the traffic selectors etc used for that.
> 
> But the responder side does have this information -- if the initiator
> reboots, the responder still has the original SAs.  Once it receives the N
> (INVALID_IKE_SPI)+N(QCD_TOKEN) it can treat it essentially as a case where
> it needs to reauthenticate the IKE SA rather than starting from some
> hypothetical clean slate.

Yes. But on the other hand the initiator also has this information in
this case, as it originally initiated the connection by triggering the
IKE SA to be created. So when next packet which will cause similar
trigger comes, then the party who originally initiated the connection
will trigger again, and recreate the IKE SA, and in that case it will
also send INITIAL_CONTACT notification which will clean up the state
from the SGW.

In road warrior cases if the party who originally initated the
connection (i.e. road warrior client) is rebooted, it already lost all
other state too which means that the state that SGW has (TCP
connections, IP number allocations etc) are not useful, and will be
cleaned out anyways.

The other way is not possible in common case. I.e. if the party who
was responder to the initial connection is rebooted, it does not have
enough information to recreate the IKE/Child SAs. It must somehow
indicate this to the party who originally initiated the connection, so
it can restart the IKE SA creation from the beginning. For this
QCD_TOKENs are useful. 

> In the normal case the responder should be able
> to negotiate new SAs.  (I realize this may be problematic for some EAP and
> some NAT traversal cases.)

In road warrior case it not normally possible for the responder (road
warrior server, sgw) to negotiate new SAs as it does not have
configuration needed to create them. For example its policy is usually
that from any IP, anybody who can identify itself with id that is in
my database can connect and allocate IP-address from me and use that
for tunneling all traffic from that IP-address to the internal
network.

Now if SGW is rebooted it does not know who was connected to it before
the crash, thus it cannot recreate the state. Even if it gets some IP
packets from the internal network directed to some road warrior
client, it does not have information to tell how to recreate the
connection.

> I am not suggesting we require the responder to re-create the SAs.  But I
> don't think we should disallow it,

If it has enough information, sure it can recreate the state, but in
that case it does not even need QCD at all. I.e. if both parties have
all the information they need to recreate the state (for example site
to site VPN) then there is no need for QCD.

Quite often the setup is so that the tunnels are brough up immediately
when the peer is up again, thus immediately when the peer recovers
from the crash it will recreate the IKE / Child SAs and by sending
INITIAL_CONTACT notification it cleans up the state from the other
end.

Even if the peers are configured to create SAs only based on the
packets, most likely if there was any traffic going through the tunnel
then that traffic is two way, which means that the crashed party will
get triggering packet very soon.

Even if that is not true when the crashed peer gets unknown ESP
packets from the source it knows based on its configuration (i.e. it
is configured remote peer of IPsec tunnel), it can use that to trigger
IKE SA exchange and use that IKE SA to send delete for that Child SA
(our implementation already does this kind of operations).

In general I do not think there is that much use for QCD in site to
site VPNs, or the trying to detect crashed road warrior clients. I do
think there is use case for them in detecting and recovering from the
crashing road warrior servers.
-- 
kivinen@iki.fi

From paul.hoffman@vpnc.org  Thu Sep  9 07:58:59 2010
Return-Path: <paul.hoffman@vpnc.org>
X-Original-To: ipsec@core3.amsl.com
Delivered-To: ipsec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 1AC043A6A93 for <ipsec@core3.amsl.com>; Thu,  9 Sep 2010 07:58:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -101.149
X-Spam-Level: 
X-Spam-Status: No, score=-101.149 tagged_above=-999 required=5 tests=[AWL=0.897, BAYES_00=-2.599, HELO_MISMATCH_COM=0.553, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SyKqg8qLI7sa for <ipsec@core3.amsl.com>; Thu,  9 Sep 2010 07:58:53 -0700 (PDT)
Received: from hoffman.proper.com (Hoffman.Proper.COM [207.182.41.81]) by core3.amsl.com (Postfix) with ESMTP id 241993A6AA3 for <ipsec@ietf.org>; Thu,  9 Sep 2010 07:57:54 -0700 (PDT)
Received: from [10.20.30.158] (75-101-30-90.dsl.dynamic.sonic.net [75.101.30.90]) (authenticated bits=0) by hoffman.proper.com (8.14.4/8.14.3) with ESMTP id o89EwK5p032076 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 9 Sep 2010 07:58:21 -0700 (MST) (envelope-from paul.hoffman@vpnc.org)
Mime-Version: 1.0
Message-Id: <p06240843c8aea65a98f5@[10.20.30.158]>
In-Reply-To: <19592.37973.545808.950166@fireball.kivinen.iki.fi>
References: <19591.24647.497524.822377@fireball.kivinen.iki.fi> <OF5FA16AF2.68E07CE8-ON85257798.00420B7B-85257798.00432258@us.ibm.com> <19591.32575.931479.621032@fireball.kivinen.iki.fi> <OFABFD4196.1816F673-ON85257798.0044B57D-85257798.0045F6BE@us.ibm.com> <19592.37973.545808.950166@fireball.kivinen.iki.fi>
Date: Thu, 9 Sep 2010 07:58:18 -0700
To: Tero Kivinen <kivinen@iki.fi>, Scott C Moonen <smoonen@us.ibm.com>
From: Paul Hoffman <paul.hoffman@vpnc.org>
Content-Type: text/plain; charset="us-ascii"
Cc: ipsec@ietf.org
Subject: Re: [IPsec] Comments to draft-ietf-ipsecme-failure-detection-00
X-BeenThere: ipsec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discussion of IPsec protocols <ipsec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipsec>
List-Post: <mailto:ipsec@ietf.org>
List-Help: <mailto:ipsec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 09 Sep 2010 14:58:59 -0000

<no hat>

At 11:01 AM +0300 9/9/10, Tero Kivinen wrote:
>Scott C Moonen writes:
>> > I was thinking about the original initiator, not the exchange
>> > initiator.
>>
>> Ok, but this then imposes an awkward new requirement to remember the
>> "original original initiator," as it were.  Today the initiator of the
>> rekey becomes the original initiator of the rekeyed IKE SA.
>
>True, we need some other term for it. Something like the original
>IKE_SA_INIT initiator or the party initiating the initial connection
>(i.e. triggering). Or simply say that the QCD_TOKENs in INFORMATIONAL
>exchanges and rekeys can only be sent by the peer who originally sent
>them in the IKE_AUTH, and in IKE_AUTH limit the QCD_TOKEN to the
>responder.

Is this added complexity really needed? It sounds like a dangerous addition. Please be sure the value is actually worth the risk.


--Paul Hoffman, Director
--VPN Consortium

From ynir@checkpoint.com  Thu Sep  9 13:16:38 2010
Return-Path: <ynir@checkpoint.com>
X-Original-To: ipsec@core3.amsl.com
Delivered-To: ipsec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 65FB03A6884 for <ipsec@core3.amsl.com>; Thu,  9 Sep 2010 13:16:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.544
X-Spam-Level: 
X-Spam-Status: No, score=-2.544 tagged_above=-999 required=5 tests=[AWL=0.055,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8AwxyXE2+cxn for <ipsec@core3.amsl.com>; Thu,  9 Sep 2010 13:16:37 -0700 (PDT)
Received: from michael.checkpoint.com (smtp.checkpoint.com [194.29.34.68]) by core3.amsl.com (Postfix) with ESMTP id 64D543A6826 for <ipsec@ietf.org>; Thu,  9 Sep 2010 13:16:30 -0700 (PDT)
X-CheckPoint: {4C894E8F-5-1B221DC2-2FFFF}
Received: from il-ex01.ad.checkpoint.com (il-ex01.checkpoint.com [194.29.34.26]) by michael.checkpoint.com (8.13.8/8.13.8) with ESMTP id o89KGpZr013334;  Thu, 9 Sep 2010 23:16:51 +0300
Received: from il-ex01.ad.checkpoint.com ([126.0.0.2]) by il-ex01.ad.checkpoint.com ([126.0.0.2]) with mapi; Thu, 9 Sep 2010 23:17:30 +0300
From: Yoav Nir <ynir@checkpoint.com>
To: Tero Kivinen <kivinen@iki.fi>
Date: Thu, 9 Sep 2010 23:16:49 +0300
Thread-Topic: [IPsec] Comments draft-kagarigi-ipsecme-ikev2-windowsync-04
Thread-Index: ActQXAeoyHB+iPsMSIiDE06MTae9vA==
Message-ID: <AC666B6C-E1F9-4195-9862-C2629883644D@checkpoint.com>
References: <Pine.NEB.4.64.1009031036290.18173@otaku.Xtrmntr.org> <Pine.NEB.4.64.1009041220080.132@otaku.Xtrmntr.org> <04BD913C7AD1B84297D26D5614FBE1330150B923@XMB-BGL-417.cisco.com> <CD148C4F-B8B6-467D-A79A-7BD89F62DBF5@checkpoint.com> <AANLkTik9sHao0gwDqqVUcVbTd4VgNw0gxwKaVMtT8BN_@mail.gmail.com> <19591.27267.949190.436026@fireball.kivinen.iki.fi>
In-Reply-To: <19591.27267.949190.436026@fireball.kivinen.iki.fi>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Cc: "ipsec@ietf.org" <ipsec@ietf.org>, "Kalyani Garigipati \(kagarigi\)" <kagarigi@cisco.com>, Pekka, Riikonen <priikone@iki.fi>, "RSJenwar@gmail.com" <RSJenwar@gmail.com>
Subject: Re: [IPsec] Comments draft-kagarigi-ipsecme-ikev2-windowsync-04
X-BeenThere: ipsec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discussion of IPsec protocols <ipsec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipsec>
List-Post: <mailto:ipsec@ietf.org>
List-Help: <mailto:ipsec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 09 Sep 2010 20:16:38 -0000

On Sep 8, 2010, at 1:50 PM, Tero Kivinen wrote:

> Raj Singh writes:
>>> It's actually worse than that. If message #4 was missed, and 5-8 were
>>> received, then messages 5-8 are stored, but not processed. This has to =
be
>>> so, because suppose message 7 deletes the SA that was created in messag=
e 4,
>>> you can't process it before message 4. In any case, message 4 has to be
>>> processed before 5,6,7, and 8. So it doesn't matter what kind of exchan=
ge or
>>> notifies you have in the new message, or whether it is within the messa=
ge
>>> window or outside it. As long as message 4 was lost, the IKE SA is toas=
t
>>> unless we have some special processing rules.
>>=20
>> According to me, that's not very correct interpretation of windowing. My
>> implementation goes ahead with the processing of message if the message =
is
>> within window. Storing messages and not processing them is not very
>> beneficial for the purpose of windowing concept.
>> Related with your example, how an peer can delete an SA in message # 7, =
if
>> message # 4 to create the SA was lost, the SA is not established yet.
>=20
> IKEv2bis says (in section 2.3. Window Size for Overlapping Requests):
>=20
>   An IKE endpoint supporting a window size greater than one ought to be
>   capable of processing incoming requests out of order to maximize
>   performance in the event of network failures or packet reordering.
>=20
> so both processing the exchanges in order, or processing them out of
> order is allowed, but the processing them out of order is the
> preferred way.=20

I can't come up with any cases where doing the operations in different orde=
r results in a different state, but it seems to me that sequence numbers ar=
e there for a reason.

Otherwise, why have sequence numbers at all?


From kivinen@iki.fi  Fri Sep 10 07:29:15 2010
Return-Path: <kivinen@iki.fi>
X-Original-To: ipsec@core3.amsl.com
Delivered-To: ipsec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id DAAC93A684D for <ipsec@core3.amsl.com>; Fri, 10 Sep 2010 07:29:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.449
X-Spam-Level: 
X-Spam-Status: No, score=-102.449 tagged_above=-999 required=5 tests=[AWL=0.150, BAYES_00=-2.599, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id oEgaitzTcDGF for <ipsec@core3.amsl.com>; Fri, 10 Sep 2010 07:29:14 -0700 (PDT)
Received: from mail.kivinen.iki.fi (fireball.acr.fi [83.145.195.1]) by core3.amsl.com (Postfix) with ESMTP id 6D5EB3A689F for <ipsec@ietf.org>; Fri, 10 Sep 2010 07:29:14 -0700 (PDT)
Received: from fireball.kivinen.iki.fi (localhost [127.0.0.1]) by mail.kivinen.iki.fi (8.14.3/8.14.3) with ESMTP id o8AETbc3020178 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 10 Sep 2010 17:29:37 +0300 (EEST)
Received: (from kivinen@localhost) by fireball.kivinen.iki.fi (8.14.3/8.12.11) id o8AETZpk018845; Fri, 10 Sep 2010 17:29:35 +0300 (EEST)
X-Authentication-Warning: fireball.kivinen.iki.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: <19594.16591.378433.920474@fireball.kivinen.iki.fi>
Date: Fri, 10 Sep 2010 17:29:35 +0300
From: Tero Kivinen <kivinen@iki.fi>
To: Paul Hoffman <paul.hoffman@vpnc.org>
In-Reply-To: <p06240843c8aea65a98f5@[10.20.30.158]>
References: <19591.24647.497524.822377@fireball.kivinen.iki.fi> <OF5FA16AF2.68E07CE8-ON85257798.00420B7B-85257798.00432258@us.ibm.com> <19591.32575.931479.621032@fireball.kivinen.iki.fi> <OFABFD4196.1816F673-ON85257798.0044B57D-85257798.0045F6BE@us.ibm.com> <19592.37973.545808.950166@fireball.kivinen.iki.fi> <p06240843c8aea65a98f5@[10.20.30.158]>
X-Mailer: VM 7.19 under Emacs 21.4.1
X-Edit-Time: 3 min
X-Total-Time: 2 min
Cc: ipsec@ietf.org
Subject: Re: [IPsec] Comments to draft-ietf-ipsecme-failure-detection-00
X-BeenThere: ipsec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discussion of IPsec protocols <ipsec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipsec>
List-Post: <mailto:ipsec@ietf.org>
List-Help: <mailto:ipsec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 10 Sep 2010 14:29:16 -0000

Paul Hoffman writes:
> >True, we need some other term for it. Something like the original
> >IKE_SA_INIT initiator or the party initiating the initial connection
> >(i.e. triggering). Or simply say that the QCD_TOKENs in INFORMATIONAL
> >exchanges and rekeys can only be sent by the peer who originally sent
> >them in the IKE_AUTH, and in IKE_AUTH limit the QCD_TOKEN to the
> >responder.
> 
> Is this added complexity really needed? It sounds like a dangerous
> addition. Please be sure the value is actually worth the risk. 

I am suggesting simplyfying the protocol, not adding complexity. It
might add some text to the specification, but reduce code from the
implementation, as then implementation is always either token maker or
taker, never both.
-- 
kivinen@iki.fi

From wierbows@us.ibm.com  Fri Sep 10 08:02:10 2010
Return-Path: <wierbows@us.ibm.com>
X-Original-To: ipsec@core3.amsl.com
Delivered-To: ipsec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id BCCC73A6898; Fri, 10 Sep 2010 08:02:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.424
X-Spam-Level: 
X-Spam-Status: No, score=-5.424 tagged_above=-999 required=5 tests=[AWL=1.175,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TCueMPUzz7-y; Fri, 10 Sep 2010 08:02:10 -0700 (PDT)
Received: from e3.ny.us.ibm.com (e3.ny.us.ibm.com [32.97.182.143]) by core3.amsl.com (Postfix) with ESMTP id CC8C33A6835; Fri, 10 Sep 2010 08:02:09 -0700 (PDT)
Received: from d01relay06.pok.ibm.com (d01relay06.pok.ibm.com [9.56.227.116]) by e3.ny.us.ibm.com (8.14.4/8.13.1) with ESMTP id o8AEkhwm019996; Fri, 10 Sep 2010 10:46:43 -0400
Received: from d01av04.pok.ibm.com (d01av04.pok.ibm.com [9.56.224.64]) by d01relay06.pok.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id o8AF2LXU1499250; Fri, 10 Sep 2010 11:02:21 -0400
Received: from d01av04.pok.ibm.com (loopback [127.0.0.1]) by d01av04.pok.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id o8AF2LiQ018342; Fri, 10 Sep 2010 11:02:21 -0400
Received: from d01ml084.pok.ibm.com (d01ml084.pok.ibm.com [9.63.10.23]) by d01av04.pok.ibm.com (8.14.4/8.13.1/NCO v10.0 AVin) with ESMTP id o8AF2KaI018326; Fri, 10 Sep 2010 11:02:20 -0400
In-Reply-To: <19594.16591.378433.920474@fireball.kivinen.iki.fi>
References: <19591.24647.497524.822377@fireball.kivinen.iki.fi>	<OF5FA16AF2.68E07CE8-ON85257798.00420B7B-85257798.00432258@us.ibm.com> <19591.32575.931479.621032@fireball.kivinen.iki.fi>	<OFABFD4196.1816F673-ON85257798.0044B57D-85257798.0045F6BE@us.ibm.com> <19592.37973.545808.950166@fireball.kivinen.iki.fi>	<p06240843c8aea65a98f5@[10.20.30.158]> <19594.16591.378433.920474@fireball.kivinen.iki.fi>
X-KeepSent: DC6E0157:D36F9AEF-8525779A:0050D318; type=4; name=$KeepSent
To: ipsec@ietf.org, ipsec-bounces@ietf.org
X-Mailer: Lotus Notes Release 8.5.1FP1 SHF20 February 10, 2010
Message-ID: <OFDC6E0157.D36F9AEF-ON8525779A.0050D318-8525779A.00529CA9@us.ibm.com>
From: David Wierbowski <wierbows@us.ibm.com>
Date: Fri, 10 Sep 2010 11:02:20 -0400
X-MIMETrack: Serialize by Router on D01ML084/01/M/IBM(Release 8.0.2FP4|December 10, 2009) at 09/10/2010 11:02:19
MIME-Version: 1.0
Content-type: text/plain; charset=US-ASCII
Subject: Re: [IPsec] Comments to draft-ietf-ipsecme-failure-detection-00
X-BeenThere: ipsec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discussion of IPsec protocols <ipsec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipsec>
List-Post: <mailto:ipsec@ietf.org>
List-Help: <mailto:ipsec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 10 Sep 2010 15:02:10 -0000

Tero writes:
>Paul Hoffman writes:
>> >True, we need some other term for it. Something like the original
>> >IKE_SA_INIT initiator or the party initiating the initial connection
>> >(i.e. triggering). Or simply say that the QCD_TOKENs in INFORMATIONAL
>> >exchanges and rekeys can only be sent by the peer who originally sent
>> >them in the IKE_AUTH, and in IKE_AUTH limit the QCD_TOKEN to the
>> >responder.
>>
>> Is this added complexity really needed? It sounds like a dangerous
>> addition. Please be sure the value is actually worth the risk.
>
>I am suggesting simplyfying the protocol, not adding complexity. It
>might add some text to the specification, but reduce code from the
>implementation, as then implementation is always either token maker or
>taker, never both.

I disagree with this "simplification."  Tero's logic is that this does make
sense in some cases (e.g. his case), so let's disallow it.  As Scott Moonen
pointed out, there are cases where it is perfectly valid to expect either
endpoint to send the next packet and cases where it makes sense that either
endpoint can initiate the creation of an IKE SA.  I see no reason to
restrict who can be a token maker and a token taker.  IMHO, Adding this
restriction just reduces the potential effectiveness of the solution.

Dave Wierbowski


From paul.hoffman@vpnc.org  Fri Sep 10 08:07:14 2010
Return-Path: <paul.hoffman@vpnc.org>
X-Original-To: ipsec@core3.amsl.com
Delivered-To: ipsec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 5620C3A6860 for <ipsec@core3.amsl.com>; Fri, 10 Sep 2010 08:07:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -101.191
X-Spam-Level: 
X-Spam-Status: No, score=-101.191 tagged_above=-999 required=5 tests=[AWL=0.855, BAYES_00=-2.599, HELO_MISMATCH_COM=0.553, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id AIj-1we7ze5h for <ipsec@core3.amsl.com>; Fri, 10 Sep 2010 08:07:13 -0700 (PDT)
Received: from hoffman.proper.com (Hoffman.Proper.COM [207.182.41.81]) by core3.amsl.com (Postfix) with ESMTP id 917233A67EF for <ipsec@ietf.org>; Fri, 10 Sep 2010 08:07:13 -0700 (PDT)
Received: from [10.20.30.158] (75-101-30-90.dsl.dynamic.sonic.net [75.101.30.90]) (authenticated bits=0) by hoffman.proper.com (8.14.4/8.14.3) with ESMTP id o8AF7dpD005068 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 10 Sep 2010 08:07:40 -0700 (MST) (envelope-from paul.hoffman@vpnc.org)
Mime-Version: 1.0
Message-Id: <p0624088bc8affa2bd4b7@[10.20.30.158]>
In-Reply-To: <19594.16591.378433.920474@fireball.kivinen.iki.fi>
References: <19591.24647.497524.822377@fireball.kivinen.iki.fi> <OF5FA16AF2.68E07CE8-ON85257798.00420B7B-85257798.00432258@us.ibm.com> <19591.32575.931479.621032@fireball.kivinen.iki.fi> <OFABFD4196.1816F673-ON85257798.0044B57D-85257798.0045F6BE@us.ibm.com> <19592.37973.545808.950166@fireball.kivinen.iki.fi> <p06240843c8aea65a98f5@[10.20.30.158]> <19594.16591.378433.920474@fireball.kivinen.iki.fi>
Date: Fri, 10 Sep 2010 08:07:38 -0700
To: Tero Kivinen <kivinen@iki.fi>
From: Paul Hoffman <paul.hoffman@vpnc.org>
Content-Type: text/plain; charset="us-ascii"
Cc: ipsec@ietf.org
Subject: Re: [IPsec] Comments to draft-ietf-ipsecme-failure-detection-00
X-BeenThere: ipsec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discussion of IPsec protocols <ipsec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipsec>
List-Post: <mailto:ipsec@ietf.org>
List-Help: <mailto:ipsec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 10 Sep 2010 15:07:14 -0000

At 5:29 PM +0300 9/10/10, Tero Kivinen wrote:
>Paul Hoffman writes:
>> >True, we need some other term for it. Something like the original
>> >IKE_SA_INIT initiator or the party initiating the initial connection
>> >(i.e. triggering). Or simply say that the QCD_TOKENs in INFORMATIONAL
>> >exchanges and rekeys can only be sent by the peer who originally sent
>> >them in the IKE_AUTH, and in IKE_AUTH limit the QCD_TOKEN to the
>> >responder.
>>
>> Is this added complexity really needed? It sounds like a dangerous
>> addition. Please be sure the value is actually worth the risk.
>
>I am suggesting simplyfying the protocol, not adding complexity. It
>might add some text to the specification, but reduce code from the
>implementation, as then implementation is always either token maker or
>taker, never both.

Ah! I hadn't seen it that way. That works. :-)

--Paul Hoffman, Director
--VPN Consortium

From yaronf.ietf@gmail.com  Sun Sep 12 03:01:44 2010
Return-Path: <yaronf.ietf@gmail.com>
X-Original-To: ipsec@core3.amsl.com
Delivered-To: ipsec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id C37C93A677D; Sun, 12 Sep 2010 03:01:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.33
X-Spam-Level: 
X-Spam-Status: No, score=-102.33 tagged_above=-999 required=5 tests=[AWL=0.269, BAYES_00=-2.599, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KFalbv480bDB; Sun, 12 Sep 2010 03:01:43 -0700 (PDT)
Received: from mail-bw0-f44.google.com (mail-bw0-f44.google.com [209.85.214.44]) by core3.amsl.com (Postfix) with ESMTP id 646683A659B; Sun, 12 Sep 2010 03:01:43 -0700 (PDT)
Received: by bwz9 with SMTP id 9so5017578bwz.31 for <multiple recipients>; Sun, 12 Sep 2010 03:02:09 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=1mBEjnchUyxjUE5iNYxcxpZ/Tn+LBoAL3h3GWFy87Sk=; b=iOWvrWgDSAJOa3PIzkKQzJn0BTeIJsK9FGG9pbdoRPpPrx99Xzs3Mf7Nu+VTJPxtq4 xRVFLGA7o/ZEYyUKbE25KGD9G+OL/RSMULPOdUXLYQiCAyR2oF3kJ2vfuJbVGTPHw77D GMToAEko3XbjFZeXSPBkRpFUyetcAEqyF35aA=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=leXcUeBmbtpeNbpTGHiDs6nl7KwrY9TzQoG7rJs1/+wV2kJqRJ3LlPMr43zF3ipApq nY+JWeL5hIqhXKwnn9nMET0w6zuIkis88Ak6hHxEKwpG691/iJfcqZpvXQGSzlw+zWtZ 4F4szvAnKjTx3yNMHvNd+pd+WvReRWNQoRhUU=
Received: by 10.204.153.10 with SMTP id i10mr2198771bkw.1.1284285729369; Sun, 12 Sep 2010 03:02:09 -0700 (PDT)
Received: from [10.0.0.2] (bzq-79-183-43-64.red.bezeqint.net [79.183.43.64]) by mx.google.com with ESMTPS id f18sm3579887bkf.15.2010.09.12.03.02.05 (version=SSLv3 cipher=RC4-MD5); Sun, 12 Sep 2010 03:02:07 -0700 (PDT)
Message-ID: <4C8C95E9.5080801@gmail.com>
Date: Sun, 12 Sep 2010 10:57:13 +0200
From: Yaron Sheffer <yaronf.ietf@gmail.com>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.12) Gecko/20100826 Lightning/1.0b1 Thunderbird/3.0.7
MIME-Version: 1.0
To: David Wierbowski <wierbows@us.ibm.com>
References: <19591.24647.497524.822377@fireball.kivinen.iki.fi>	<OF5FA16AF2.68E07CE8-ON85257798.00420B7B-85257798.00432258@us.ibm.com>	<19591.32575.931479.621032@fireball.kivinen.iki.fi>	<OFABFD4196.1816F673-ON85257798.0044B57D-85257798.0045F6BE@us.ibm.com>	<19592.37973.545808.950166@fireball.kivinen.iki.fi>	<p06240843c8aea65a98f5@[10.20.30.158]>	<19594.16591.378433.920474@fireball.kivinen.iki.fi> <OFDC6E0157.D36F9AEF-ON8525779A.0050D318-8525779A.00529CA9@us.ibm.com>
In-Reply-To: <OFDC6E0157.D36F9AEF-ON8525779A.0050D318-8525779A.00529CA9@us.ibm.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: ipsec@ietf.org, ipsec-bounces@ietf.org
Subject: Re: [IPsec] Comments to draft-ietf-ipsecme-failure-detection-00
X-BeenThere: ipsec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discussion of IPsec protocols <ipsec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipsec>
List-Post: <mailto:ipsec@ietf.org>
List-Help: <mailto:ipsec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 12 Sep 2010 10:01:44 -0000

I agree with Scott's position. In the case of site-to-site VPN, where 
SAs are NOT set up by configuration, but rather triggered by traffic, 
you can have a tunnel triggered by traffic from A to B, but later mostly 
used in the opposite direction. This would benefit from allowing the 
original responder to be a token taker.

And to answer Tero's original concern, if we require the token maker's 
SPI to be unpredictable, then we don't need to worry about token 
stealing and we can send the token in the first IKE_AUTH message. Which 
would make things a little more regular.

Thanks,
	Yaron

On 09/10/2010 06:02 PM, David Wierbowski wrote:
> Tero writes:
>> Paul Hoffman writes:
>>>> True, we need some other term for it. Something like the original
>>>> IKE_SA_INIT initiator or the party initiating the initial connection
>>>> (i.e. triggering). Or simply say that the QCD_TOKENs in INFORMATIONAL
>>>> exchanges and rekeys can only be sent by the peer who originally sent
>>>> them in the IKE_AUTH, and in IKE_AUTH limit the QCD_TOKEN to the
>>>> responder.
>>>
>>> Is this added complexity really needed? It sounds like a dangerous
>>> addition. Please be sure the value is actually worth the risk.
>>
>> I am suggesting simplyfying the protocol, not adding complexity. It
>> might add some text to the specification, but reduce code from the
>> implementation, as then implementation is always either token maker or
>> taker, never both.
>
> I disagree with this "simplification."  Tero's logic is that this does make
> sense in some cases (e.g. his case), so let's disallow it.  As Scott Moonen
> pointed out, there are cases where it is perfectly valid to expect either
> endpoint to send the next packet and cases where it makes sense that either
> endpoint can initiate the creation of an IKE SA.  I see no reason to
> restrict who can be a token maker and a token taker.  IMHO, Adding this
> restriction just reduces the potential effectiveness of the solution.
>
> Dave Wierbowski
>
> _______________________________________________
> IPsec mailing list
> IPsec@ietf.org
> https://www.ietf.org/mailman/listinfo/ipsec

From yaronf.ietf@gmail.com  Mon Sep 13 01:44:21 2010
Return-Path: <yaronf.ietf@gmail.com>
X-Original-To: ipsec@core3.amsl.com
Delivered-To: ipsec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id AA0863A690D for <ipsec@core3.amsl.com>; Mon, 13 Sep 2010 01:44:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.375
X-Spam-Level: 
X-Spam-Status: No, score=-102.375 tagged_above=-999 required=5 tests=[AWL=0.224, BAYES_00=-2.599, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ljoDtAmnnQzQ for <ipsec@core3.amsl.com>; Mon, 13 Sep 2010 01:44:20 -0700 (PDT)
Received: from mail-bw0-f44.google.com (mail-bw0-f44.google.com [209.85.214.44]) by core3.amsl.com (Postfix) with ESMTP id 2F2D23A6925 for <ipsec@ietf.org>; Mon, 13 Sep 2010 01:44:20 -0700 (PDT)
Received: by bwz9 with SMTP id 9so5907331bwz.31 for <ipsec@ietf.org>; Mon, 13 Sep 2010 01:44:45 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:content-type :content-transfer-encoding; bh=J7j/8yyYx6rbCH2lPUuqmuLoFKh0AZtZszmwN1DyIzM=; b=m/WpZBMOYPgBC2j2Fe0sGh3Y2A3+Jw1DLsUldhRRyJod8LiYXNVWr+nQFPc4JsWtZT pVJaSmuwRrGW7VOW09C3Jy9YCCd6TMc8CiXVT45ntbWqfDc1plo8vWopyMt0g5FiHm0S Niyg/2OzUqfKnKyahT+P/KqGDeXvupe+zLlEY=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=Y81+HEubi4I6e2fjuBxoB4lWgp2Ne4R2JldjXLKVBm5ylt1CsE/WtYryXHmW1EPlAc THrZnoLByotjRlxPN612eiZzX3lXYfkOjaiMxEthMEeMJyNmIJUfDJBkDtaYb/lG7v8B mWmpRX3pfoD4+mDWIZIaqNgS3UJeD6WvuANl8=
Received: by 10.204.122.67 with SMTP id k3mr2481545bkr.156.1284367485672; Mon, 13 Sep 2010 01:44:45 -0700 (PDT)
Received: from [10.0.0.2] (bzq-79-183-43-64.red.bezeqint.net [79.183.43.64]) by mx.google.com with ESMTPS id x13sm4408217bki.12.2010.09.13.01.44.43 (version=SSLv3 cipher=RC4-MD5); Mon, 13 Sep 2010 01:44:44 -0700 (PDT)
Message-ID: <4C8DE47A.6060005@gmail.com>
Date: Mon, 13 Sep 2010 10:44:42 +0200
From: Yaron Sheffer <yaronf.ietf@gmail.com>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.12) Gecko/20100826 Lightning/1.0b1 Thunderbird/3.0.7
MIME-Version: 1.0
To: IPsecme WG <ipsec@ietf.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Subject: [IPsec] Moving forward with the HA solution draft
X-BeenThere: ipsec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discussion of IPsec protocols <ipsec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipsec>
List-Post: <mailto:ipsec@ietf.org>
List-Help: <mailto:ipsec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 13 Sep 2010 08:44:21 -0000

Hi,

we have had a good deal of discussion of the HA solution at the 
Maastricht meeting and during the following weeks. Now, with my co-chair 
hat on, I'd like to suggest a way forward that I believe is in sync (bad 
pun intended) with the WG consensus.

I propose that version -01 of the draft should resolve the following 3 
issues (and if possible, no others):

    * Separate negotiation of synchronization of the IKE SA counters vs.
      the IPsec SA counters. IPsec counter sync should work even when
      used with a "normal" IKE exchange (non-zero Message ID).
    * A scalable solution for the IPsec counter sync: send a delta
      value that applies to all (incoming) child SAs, instead of sending
      one value per child SA.
    * The replay issue that Tero identified at the meeting.

If this is NOT in line with the group's consensus, or if I missed 
something big, let me know.

Thanks,
     Yaron

From kivinen@iki.fi  Mon Sep 13 03:46:07 2010
Return-Path: <kivinen@iki.fi>
X-Original-To: ipsec@core3.amsl.com
Delivered-To: ipsec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id BC21A3A6974 for <ipsec@core3.amsl.com>; Mon, 13 Sep 2010 03:46:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.46
X-Spam-Level: 
X-Spam-Status: No, score=-102.46 tagged_above=-999 required=5 tests=[AWL=0.139, BAYES_00=-2.599, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0B+kLiCywc3J for <ipsec@core3.amsl.com>; Mon, 13 Sep 2010 03:46:06 -0700 (PDT)
Received: from mail.kivinen.iki.fi (fireball.acr.fi [83.145.195.1]) by core3.amsl.com (Postfix) with ESMTP id 379C83A6969 for <ipsec@ietf.org>; Mon, 13 Sep 2010 03:46:05 -0700 (PDT)
Received: from fireball.kivinen.iki.fi (localhost [127.0.0.1]) by mail.kivinen.iki.fi (8.14.3/8.14.3) with ESMTP id o8DAkR88027510 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 13 Sep 2010 13:46:27 +0300 (EEST)
Received: (from kivinen@localhost) by fireball.kivinen.iki.fi (8.14.3/8.12.11) id o8DAkQ2N020913; Mon, 13 Sep 2010 13:46:26 +0300 (EEST)
X-Authentication-Warning: fireball.kivinen.iki.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: <19598.258.869400.115882@fireball.kivinen.iki.fi>
Date: Mon, 13 Sep 2010 13:46:26 +0300
From: Tero Kivinen <kivinen@iki.fi>
To: David Wierbowski <wierbows@us.ibm.com>
In-Reply-To: <OFDC6E0157.D36F9AEF-ON8525779A.0050D318-8525779A.00529CA9@us.ibm.com>
References: <19591.24647.497524.822377@fireball.kivinen.iki.fi> <OF5FA16AF2.68E07CE8-ON85257798.00420B7B-85257798.00432258@us.ibm.com> <19591.32575.931479.621032@fireball.kivinen.iki.fi> <OFABFD4196.1816F673-ON85257798.0044B57D-85257798.0045F6BE@us.ibm.com> <19592.37973.545808.950166@fireball.kivinen.iki.fi> <p06240843c8aea65a98f5@[10.20.30.158]> <19594.16591.378433.920474@fireball.kivinen.iki.fi> <OFDC6E0157.D36F9AEF-ON8525779A.0050D318-8525779A.00529CA9@us.ibm.com>
X-Mailer: VM 7.19 under Emacs 21.4.1
X-Edit-Time: 8 min
X-Total-Time: 7 min
Cc: ipsec@ietf.org
Subject: Re: [IPsec] Comments to draft-ietf-ipsecme-failure-detection-00
X-BeenThere: ipsec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discussion of IPsec protocols <ipsec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipsec>
List-Post: <mailto:ipsec@ietf.org>
List-Help: <mailto:ipsec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 13 Sep 2010 10:46:07 -0000

David Wierbowski writes:
> I disagree with this "simplification."  Tero's logic is that this does make
> sense in some cases (e.g. his case), so let's disallow it.  As Scott Moonen
> pointed out, there are cases where it is perfectly valid to expect either
> endpoint to send the next packet and cases where it makes sense that either
> endpoint can initiate the creation of an IKE SA.

As I explained that if both ends can initiate the creation of the IKE
SA, then QCD is not needed as both end can simply recreate the IKE SA
immediately (with INITIAL_CONTACT notify) when they are up and running
(or when they receive first unknown ESP packet from the configured
peer). This is simple and already specified by the IKEv2, so no new
code is needed.

> I see no reason to restrict who can be a token maker and a token
> taker. IMHO, Adding this restriction just reduces the potential
> effectiveness of the solution.

I do not agree on that, as I cannot really see any cases where it
might be more efficient than simply recreating the IKE SA (or do IKE
SA resume) immediately when peer is up again. QCD will simply add one
extra round trip (or half a round trip in case of other end sending
unknown ESP first) to recovery process compared to starting directly
with IKE SA creation or recovery.

I.e. if both ends are able to recreate the IKE SA this is not needed,
it is just wasting resources and slowing down the recovery.

QCD is useful in situation where the peer cannot initiate, but must
tell the other end to remove old IKE SA and start creating new one (or
start doing IKE SA recovery). 
-- 
kivinen@iki.fi

From kivinen@iki.fi  Mon Sep 13 03:51:10 2010
Return-Path: <kivinen@iki.fi>
X-Original-To: ipsec@core3.amsl.com
Delivered-To: ipsec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 780463A697A for <ipsec@core3.amsl.com>; Mon, 13 Sep 2010 03:51:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.469
X-Spam-Level: 
X-Spam-Status: No, score=-102.469 tagged_above=-999 required=5 tests=[AWL=0.130, BAYES_00=-2.599, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6cWjk12niUcP for <ipsec@core3.amsl.com>; Mon, 13 Sep 2010 03:51:09 -0700 (PDT)
Received: from mail.kivinen.iki.fi (fireball.acr.fi [83.145.195.1]) by core3.amsl.com (Postfix) with ESMTP id A2F003A6980 for <ipsec@ietf.org>; Mon, 13 Sep 2010 03:51:07 -0700 (PDT)
Received: from fireball.kivinen.iki.fi (localhost [127.0.0.1]) by mail.kivinen.iki.fi (8.14.3/8.14.3) with ESMTP id o8DApUtx004793 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 13 Sep 2010 13:51:31 +0300 (EEST)
Received: (from kivinen@localhost) by fireball.kivinen.iki.fi (8.14.3/8.12.11) id o8DApUiR022204; Mon, 13 Sep 2010 13:51:30 +0300 (EEST)
X-Authentication-Warning: fireball.kivinen.iki.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: <19598.562.723643.224339@fireball.kivinen.iki.fi>
Date: Mon, 13 Sep 2010 13:51:30 +0300
From: Tero Kivinen <kivinen@iki.fi>
To: Yaron Sheffer <yaronf.ietf@gmail.com>
In-Reply-To: <4C8C95E9.5080801@gmail.com>
References: <19591.24647.497524.822377@fireball.kivinen.iki.fi> <OF5FA16AF2.68E07CE8-ON85257798.00420B7B-85257798.00432258@us.ibm.com> <19591.32575.931479.621032@fireball.kivinen.iki.fi> <OFABFD4196.1816F673-ON85257798.0044B57D-85257798.0045F6BE@us.ibm.com> <19592.37973.545808.950166@fireball.kivinen.iki.fi> <p06240843c8aea65a98f5@[10.20.30.158]> <19594.16591.378433.920474@fireball.kivinen.iki.fi> <OFDC6E0157.D36F9AEF-ON8525779A.0050D318-8525779A.00529CA9@us.ibm.com> <4C8C95E9.5080801@gmail.com>
X-Mailer: VM 7.19 under Emacs 21.4.1
X-Edit-Time: 5 min
X-Total-Time: 4 min
Cc: ipsec@ietf.org, David Wierbowski <wierbows@us.ibm.com>
Subject: Re: [IPsec] Comments to draft-ietf-ipsecme-failure-detection-00
X-BeenThere: ipsec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discussion of IPsec protocols <ipsec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipsec>
List-Post: <mailto:ipsec@ietf.org>
List-Help: <mailto:ipsec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 13 Sep 2010 10:51:10 -0000

Yaron Sheffer writes:
> I agree with Scott's position. In the case of site-to-site VPN, where 
> SAs are NOT set up by configuration, but rather triggered by traffic, 
> you can have a tunnel triggered by traffic from A to B, but later mostly 
> used in the opposite direction. This would benefit from allowing the 
> original responder to be a token taker.

As I explained that even in that case the QCD still slows recovery
down by half a round trip.

I.e. when the traffic is only coming from B to A, and A crashes, then
when A gets up and its getting the unknown ESP, and would be sending
QCD token, instead of sending QCD token, it can simply start creating
the IKE SA again, and save half a round trip in the recovery time.
As the peer B is already known by the configuration as host A was able
to initiate IKE SA to it originally, there is no real DoS attack
option here, as only thing that attacker can do is to force A to
create all the preconfigured connections it is normally doing anyways. 

> And to answer Tero's original concern, if we require the token maker's 
> SPI to be unpredictable, then we don't need to worry about token 
> stealing and we can send the token in the first IKE_AUTH message. Which 
> would make things a little more regular.

I would prefer that, and I think we can require token maker's SPI to
be unpredictable if it is using this feature. 
-- 
kivinen@iki.fi

From yaronf.ietf@gmail.com  Mon Sep 13 05:23:40 2010
Return-Path: <yaronf.ietf@gmail.com>
X-Original-To: ipsec@core3.amsl.com
Delivered-To: ipsec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 6A9A73A6995 for <ipsec@core3.amsl.com>; Mon, 13 Sep 2010 05:23:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.599
X-Spam-Level: 
X-Spam-Status: No, score=-102.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id oCeGzR-h8udH for <ipsec@core3.amsl.com>; Mon, 13 Sep 2010 05:23:39 -0700 (PDT)
Received: from mail-fx0-f44.google.com (mail-fx0-f44.google.com [209.85.161.44]) by core3.amsl.com (Postfix) with ESMTP id 74BC13A6993 for <ipsec@ietf.org>; Mon, 13 Sep 2010 05:23:38 -0700 (PDT)
Received: by fxm18 with SMTP id 18so3584458fxm.31 for <ipsec@ietf.org>; Mon, 13 Sep 2010 05:24:04 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=iB+UBKM774rOsepPq8gxr6jYLRteZtS0jYXzkLOKpjg=; b=DiHuIx5KkrRvghRo1l4bb4Ex30pXju/HtJpmcOvS1WxpqoXPeQqdqvs0RMWWiD7EjQ V/Zzs1wefawiHQFuRQObirmLcgND4KHJISwFBuflftfpN5wforBmDUmaBkF07sFPf3cl k+21d0oQkU4Wnyxo25DHzAkGJQQODF2d2iH2k=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=s1YY08i+7HzJFgJKh56LFw8XTsfHk44SWx8gs5qumdVj/aBn0UAgMORMmlvhyAZyC1 CoOy4W9vb1uDjWZNVr5efm2iITzRj05SeExBAq4H0OG3eilYt6iIbbI+XxxBmR+JccWy /ef/2snzQjeLJemuhNzq+ZlPuztRtUiBdy9F8=
Received: by 10.223.116.200 with SMTP id n8mr686041faq.18.1284380644073; Mon, 13 Sep 2010 05:24:04 -0700 (PDT)
Received: from [10.0.0.46] (bzq-79-179-246-51.red.bezeqint.net [79.179.246.51]) by mx.google.com with ESMTPS id k25sm2760762fac.41.2010.09.13.05.23.59 (version=SSLv3 cipher=RC4-MD5); Mon, 13 Sep 2010 05:24:01 -0700 (PDT)
Message-ID: <4C8E17DD.7070504@gmail.com>
Date: Mon, 13 Sep 2010 14:23:57 +0200
From: Yaron Sheffer <yaronf.ietf@gmail.com>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.12) Gecko/20100826 Lightning/1.0b1 Thunderbird/3.0.7
MIME-Version: 1.0
To: Tero Kivinen <kivinen@iki.fi>
References: <19591.24647.497524.822377@fireball.kivinen.iki.fi>	<OF5FA16AF2.68E07CE8-ON85257798.00420B7B-85257798.00432258@us.ibm.com>	<19591.32575.931479.621032@fireball.kivinen.iki.fi>	<OFABFD4196.1816F673-ON85257798.0044B57D-85257798.0045F6BE@us.ibm.com>	<19592.37973.545808.950166@fireball.kivinen.iki.fi>	<p06240843c8aea65a98f5@[10.20.30.158]>	<19594.16591.378433.920474@fireball.kivinen.iki.fi>	<OFDC6E0157.D36F9AEF-ON8525779A.0050D318-8525779A.00529CA9@us.ibm.com>	<4C8C95E9.5080801@gmail.com> <19598.562.723643.224339@fireball.kivinen.iki.fi>
In-Reply-To: <19598.562.723643.224339@fireball.kivinen.iki.fi>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: ipsec@ietf.org, David Wierbowski <wierbows@us.ibm.com>
Subject: Re: [IPsec] Comments to draft-ietf-ipsecme-failure-detection-00
X-BeenThere: ipsec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discussion of IPsec protocols <ipsec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipsec>
List-Post: <mailto:ipsec@ietf.org>
List-Help: <mailto:ipsec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 13 Sep 2010 12:23:40 -0000

Hi Tero,

you are assuming you can always map an IP address (of the incoming ESP) 
into the peer's identity. This is often possible, but not always. For 
example, if you're using round-robin DNS to look up the B peer, or if 
IKE Redirect was used.

Thanks,
	Yaron

On 09/13/2010 12:51 PM, Tero Kivinen wrote:
> Yaron Sheffer writes:
>> I agree with Scott's position. In the case of site-to-site VPN, where
>> SAs are NOT set up by configuration, but rather triggered by traffic,
>> you can have a tunnel triggered by traffic from A to B, but later mostly
>> used in the opposite direction. This would benefit from allowing the
>> original responder to be a token taker.
>
> As I explained that even in that case the QCD still slows recovery
> down by half a round trip.
>
> I.e. when the traffic is only coming from B to A, and A crashes, then
> when A gets up and its getting the unknown ESP, and would be sending
> QCD token, instead of sending QCD token, it can simply start creating
> the IKE SA again, and save half a round trip in the recovery time.
> As the peer B is already known by the configuration as host A was able
> to initiate IKE SA to it originally, there is no real DoS attack
> option here, as only thing that attacker can do is to force A to
> create all the preconfigured connections it is normally doing anyways.
>
>> And to answer Tero's original concern, if we require the token maker's
>> SPI to be unpredictable, then we don't need to worry about token
>> stealing and we can send the token in the first IKE_AUTH message. Which
>> would make things a little more regular.
>
> I would prefer that, and I think we can require token maker's SPI to
> be unpredictable if it is using this feature.

From kivinen@iki.fi  Mon Sep 13 06:43:10 2010
Return-Path: <kivinen@iki.fi>
X-Original-To: ipsec@core3.amsl.com
Delivered-To: ipsec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 1F1893A69E3 for <ipsec@core3.amsl.com>; Mon, 13 Sep 2010 06:43:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.477
X-Spam-Level: 
X-Spam-Status: No, score=-102.477 tagged_above=-999 required=5 tests=[AWL=0.122, BAYES_00=-2.599, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NPdkd1my0tSt for <ipsec@core3.amsl.com>; Mon, 13 Sep 2010 06:43:09 -0700 (PDT)
Received: from mail.kivinen.iki.fi (fireball.acr.fi [83.145.195.1]) by core3.amsl.com (Postfix) with ESMTP id C343A3A69DD for <ipsec@ietf.org>; Mon, 13 Sep 2010 06:43:08 -0700 (PDT)
Received: from fireball.kivinen.iki.fi (localhost [127.0.0.1]) by mail.kivinen.iki.fi (8.14.3/8.14.3) with ESMTP id o8DDhTcN019447 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 13 Sep 2010 16:43:29 +0300 (EEST)
Received: (from kivinen@localhost) by fireball.kivinen.iki.fi (8.14.3/8.12.11) id o8DDhTwO024890; Mon, 13 Sep 2010 16:43:29 +0300 (EEST)
X-Authentication-Warning: fireball.kivinen.iki.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: <19598.10881.129062.749761@fireball.kivinen.iki.fi>
Date: Mon, 13 Sep 2010 16:43:29 +0300
From: Tero Kivinen <kivinen@iki.fi>
To: Yaron Sheffer <yaronf.ietf@gmail.com>
In-Reply-To: <4C8E17DD.7070504@gmail.com>
References: <19591.24647.497524.822377@fireball.kivinen.iki.fi> <OF5FA16AF2.68E07CE8-ON85257798.00420B7B-85257798.00432258@us.ibm.com> <19591.32575.931479.621032@fireball.kivinen.iki.fi> <OFABFD4196.1816F673-ON85257798.0044B57D-85257798.0045F6BE@us.ibm.com> <19592.37973.545808.950166@fireball.kivinen.iki.fi> <p06240843c8aea65a98f5@[10.20.30.158]> <19594.16591.378433.920474@fireball.kivinen.iki.fi> <OFDC6E0157.D36F9AEF-ON8525779A.0050D318-8525779A.00529CA9@us.ibm.com> <4C8C95E9.5080801@gmail.com> <19598.562.723643.224339@fireball.kivinen.iki.fi> <4C8E17DD.7070504@gmail.com>
X-Mailer: VM 7.19 under Emacs 21.4.1
X-Edit-Time: 6 min
X-Total-Time: 5 min
Cc: ipsec@ietf.org, David Wierbowski <wierbows@us.ibm.com>
Subject: Re: [IPsec] Comments to draft-ietf-ipsecme-failure-detection-00
X-BeenThere: ipsec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discussion of IPsec protocols <ipsec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipsec>
List-Post: <mailto:ipsec@ietf.org>
List-Help: <mailto:ipsec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 13 Sep 2010 13:43:10 -0000

Yaron Sheffer writes:
> you are assuming you can always map an IP address (of the incoming ESP) 
> into the peer's identity. This is often possible, but not always. For 
> example, if you're using round-robin DNS to look up the B peer, or if 
> IKE Redirect was used.

Yes, that is the case if you have information in the configuration.
Round-robin DNS is not a problem, as all the IP-addresses are there in
the DNS, thus you do know all of them. IKE Redirect could be problem,
but I do not think that is commonly used with site to site VPNs, it is
mostly used in the road warrior cases where you have lots of clients
connecting to the same server, and as in this case the configuration
was so that either end could initiate connection all of the possible
redirected addresses are most likely already in the configuration to
make sure we know which policy to use when other end connects (in IKE
you must be able to select the initial IKE SA responder policy based
on the IP-address alone, thus in most site-to-site VPNs where the
policy is enforced, configuration already is such that every possible
IP-address of the other end is configured in to the system).
-- 
kivinen@iki.fi

From yaronf.ietf@gmail.com  Mon Sep 13 13:40:20 2010
Return-Path: <yaronf.ietf@gmail.com>
X-Original-To: ipsec@core3.amsl.com
Delivered-To: ipsec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 2BB773A6ABB for <ipsec@core3.amsl.com>; Mon, 13 Sep 2010 13:40:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.407
X-Spam-Level: 
X-Spam-Status: No, score=-102.407 tagged_above=-999 required=5 tests=[AWL=0.192, BAYES_00=-2.599, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GhhyFUe7GyI2 for <ipsec@core3.amsl.com>; Mon, 13 Sep 2010 13:40:17 -0700 (PDT)
Received: from mail-ww0-f42.google.com (mail-ww0-f42.google.com [74.125.82.42]) by core3.amsl.com (Postfix) with ESMTP id E03123A6ABD for <ipsec@ietf.org>; Mon, 13 Sep 2010 13:39:15 -0700 (PDT)
Received: by wwb18 with SMTP id 18so774889wwb.1 for <ipsec@ietf.org>; Mon, 13 Sep 2010 13:39:35 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=eAxFBg6rym5KANcZDH380qwWI44fjssgRpkD/jZlNYI=; b=UDXYAWvtP0mL6EdCpgGLZWjzPxF8AIlG2h0I/nKj29RfEg6NTZDV4hrZyvzCBr26My hkHq26H7OuvVbHBgsZF8tMeHsXH18R3fwUQGnsu5+M/4vY+zsrfrwz2Smpt39IHtoJnq Aw3XOcoTN549unRZ9DRxpLwewggNjkZcXU9bc=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=vrjljI7IFGDrBB+O+SQE9OPcvNb59Q6D1AyXGd6jEvFZfriIv4Zw7c0ZM+wy89eARH PKWcvaVHO17nFFw44OpYZ+9YztdaXHZkqjtK0ou5KsffMtQMgLgaYVksg5asogxu8niZ PwHaPkbc1LTJ2xxeN9PMKGAhPNQYu91sTDLhg=
Received: by 10.227.69.195 with SMTP id a3mr2578636wbj.58.1284410375668; Mon, 13 Sep 2010 13:39:35 -0700 (PDT)
Received: from [10.0.0.2] (bzq-79-183-43-64.red.bezeqint.net [79.183.43.64]) by mx.google.com with ESMTPS id i14sm5615340wbe.0.2010.09.13.13.39.30 (version=SSLv3 cipher=RC4-MD5); Mon, 13 Sep 2010 13:39:32 -0700 (PDT)
Message-ID: <4C8E8BFE.5030006@gmail.com>
Date: Mon, 13 Sep 2010 22:39:26 +0200
From: Yaron Sheffer <yaronf.ietf@gmail.com>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.12) Gecko/20100826 Lightning/1.0b1 Thunderbird/3.0.7
MIME-Version: 1.0
To: Tero Kivinen <kivinen@iki.fi>
References: <19591.24647.497524.822377@fireball.kivinen.iki.fi>	<OF5FA16AF2.68E07CE8-ON85257798.00420B7B-85257798.00432258@us.ibm.com>	<19591.32575.931479.621032@fireball.kivinen.iki.fi>	<OFABFD4196.1816F673-ON85257798.0044B57D-85257798.0045F6BE@us.ibm.com>	<19592.37973.545808.950166@fireball.kivinen.iki.fi>	<p06240843c8aea65a98f5@[10.20.30.158]>	<19594.16591.378433.920474@fireball.kivinen.iki.fi>	<OFDC6E0157.D36F9AEF-ON8525779A.0050D318-8525779A.00529CA9@us.ibm.com>	<4C8C95E9.5080801@gmail.com>	<19598.562.723643.224339@fireball.kivinen.iki.fi>	<4C8E17DD.7070504@gmail.com> <19598.10881.129062.749761@fireball.kivinen.iki.fi>
In-Reply-To: <19598.10881.129062.749761@fireball.kivinen.iki.fi>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Cc: ipsec@ietf.org, David Wierbowski <wierbows@us.ibm.com>
Subject: Re: [IPsec] Comments to draft-ietf-ipsecme-failure-detection-00
X-BeenThere: ipsec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discussion of IPsec protocols <ipsec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipsec>
List-Post: <mailto:ipsec@ietf.org>
List-Help: <mailto:ipsec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 13 Sep 2010 20:40:20 -0000

Hi Tero,

It seems to me we are adding architectural assumptions, just to gain a 
relatively minor simplification of the protocol. Not a very good trade-off.

Thanks,
	Yaron

On 09/13/2010 03:43 PM, Tero Kivinen wrote:
> Yaron Sheffer writes:
>> you are assuming you can always map an IP address (of the incoming ESP)
>> into the peer's identity. This is often possible, but not always. For
>> example, if you're using round-robin DNS to look up the B peer, or if
>> IKE Redirect was used.
>
> Yes, that is the case if you have information in the configuration.
> Round-robin DNS is not a problem, as all the IP-addresses are there in
> the DNS, thus you do know all of them. IKE Redirect could be problem,
> but I do not think that is commonly used with site to site VPNs, it is
> mostly used in the road warrior cases where you have lots of clients
> connecting to the same server, and as in this case the configuration
> was so that either end could initiate connection all of the possible
> redirected addresses are most likely already in the configuration to
> make sure we know which policy to use when other end connects (in IKE
> you must be able to select the initial IKE SA responder policy based
> on the IP-address alone, thus in most site-to-site VPNs where the
> policy is enforced, configuration already is such that every possible
> IP-address of the other end is configured in to the system).

From kivinen@iki.fi  Tue Sep 14 01:19:11 2010
Return-Path: <kivinen@iki.fi>
X-Original-To: ipsec@core3.amsl.com
Delivered-To: ipsec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 9EE6F3A69AE for <ipsec@core3.amsl.com>; Tue, 14 Sep 2010 01:19:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.484
X-Spam-Level: 
X-Spam-Status: No, score=-102.484 tagged_above=-999 required=5 tests=[AWL=0.115, BAYES_00=-2.599, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id oc3Ged+KByNc for <ipsec@core3.amsl.com>; Tue, 14 Sep 2010 01:19:10 -0700 (PDT)
Received: from mail.kivinen.iki.fi (fireball.acr.fi [83.145.195.1]) by core3.amsl.com (Postfix) with ESMTP id 2FB523A68E0 for <ipsec@ietf.org>; Tue, 14 Sep 2010 01:19:09 -0700 (PDT)
Received: from fireball.kivinen.iki.fi (localhost [127.0.0.1]) by mail.kivinen.iki.fi (8.14.3/8.14.3) with ESMTP id o8E8JUtW002241 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 14 Sep 2010 11:19:30 +0300 (EEST)
Received: (from kivinen@localhost) by fireball.kivinen.iki.fi (8.14.3/8.12.11) id o8E8JTUt005278; Tue, 14 Sep 2010 11:19:29 +0300 (EEST)
X-Authentication-Warning: fireball.kivinen.iki.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: <19599.12305.220372.526912@fireball.kivinen.iki.fi>
Date: Tue, 14 Sep 2010 11:19:29 +0300
From: Tero Kivinen <kivinen@iki.fi>
To: Yaron Sheffer <yaronf.ietf@gmail.com>
In-Reply-To: <4C8E8BFE.5030006@gmail.com>
References: <19591.24647.497524.822377@fireball.kivinen.iki.fi> <OF5FA16AF2.68E07CE8-ON85257798.00420B7B-85257798.00432258@us.ibm.com> <19591.32575.931479.621032@fireball.kivinen.iki.fi> <OFABFD4196.1816F673-ON85257798.0044B57D-85257798.0045F6BE@us.ibm.com> <19592.37973.545808.950166@fireball.kivinen.iki.fi> <p06240843c8aea65a98f5@[10.20.30.158]> <19594.16591.378433.920474@fireball.kivinen.iki.fi> <OFDC6E0157.D36F9AEF-ON8525779A.0050D318-8525779A.00529CA9@us.ibm.com> <4C8C95E9.5080801@gmail.com> <19598.562.723643.224339@fireball.kivinen.iki.fi> <4C8E17DD.7070504@gmail.com> <19598.10881.129062.749761@fireball.kivinen.iki.fi> <4C8E8BFE.5030006@gmail.com>
X-Mailer: VM 7.19 under Emacs 21.4.1
X-Edit-Time: 12 min
X-Total-Time: 12 min
Cc: ipsec@ietf.org, David Wierbowski <wierbows@us.ibm.com>
Subject: Re: [IPsec] Comments to draft-ietf-ipsecme-failure-detection-00
X-BeenThere: ipsec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discussion of IPsec protocols <ipsec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipsec>
List-Post: <mailto:ipsec@ietf.org>
List-Help: <mailto:ipsec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 14 Sep 2010 08:19:11 -0000

Yaron Sheffer writes:
> It seems to me we are adding architectural assumptions,

Not really adding architectural assumption, but just explaining that
in those cases we do not need QCD, as we have more efficient already
standardized ways to handle the situation. 

> just to gain a relatively minor simplification of the protocol. Not
> a very good trade-off.

I do not really consider the simplification a minor. When you have
protocol which allows lots of options it gets much more complicated to
write the implementation and especially test all possible
combinations.

What I was proposing that if only the initiator can act as token taker
and responder can act as token maker, then that removes lots of
different combinations:

Otherwise the initiator can act as token maker or token taker or both,
and it might also receive token or might not receive token. Same thing
for responder, and you need to combine all possible combinations:

1) I token maker, R token maker
2) I token maker, R token taker
3) I token maker, R token taker and maker
4) I token taker, R token maker
5) I token taker, R token taker
6) I token taker, R token taker and maker
7) I token taker and maker, R token maker
8) I token taker and maker, R token taker
9) I token taker and maker, R token taker and maker

(yes, some of those combinations are no-ops, like 1 and 5).

And then you also have similar setup for rekeying, and similar setup
for recovery.

What I was proposing you have:

1) I token taker, R token maker

I do not consider very open protocols which allow all kind of things
"just for fun" and "in case we someday get scenario which can use it"
as good thing. Even if those are allowed in the protocol, nobody is
going to implement those combinations, thus when someone then thinks
a scenario where they might be useful, the implementations need to be
modified anyways to support that, and most likely what happens is that
we need to specify something new because we cannot break old
implementations by using features they have not implemented.
-- 
kivinen@iki.fi

From wierbows@us.ibm.com  Tue Sep 14 08:57:31 2010
Return-Path: <wierbows@us.ibm.com>
X-Original-To: ipsec@core3.amsl.com
Delivered-To: ipsec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id EA3263A681D; Tue, 14 Sep 2010 08:57:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.816
X-Spam-Level: 
X-Spam-Status: No, score=-5.816 tagged_above=-999 required=5 tests=[AWL=0.783,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Awlz6YUOlGEx; Tue, 14 Sep 2010 08:57:26 -0700 (PDT)
Received: from e3.ny.us.ibm.com (e3.ny.us.ibm.com [32.97.182.143]) by core3.amsl.com (Postfix) with ESMTP id 1BCC33A6990; Tue, 14 Sep 2010 08:57:26 -0700 (PDT)
Received: from d01relay01.pok.ibm.com (d01relay01.pok.ibm.com [9.56.227.233]) by e3.ny.us.ibm.com (8.14.4/8.13.1) with ESMTP id o8EFfpAC024025; Tue, 14 Sep 2010 11:41:51 -0400
Received: from d01av04.pok.ibm.com (d01av04.pok.ibm.com [9.56.224.64]) by d01relay01.pok.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id o8EFvh6o365232; Tue, 14 Sep 2010 11:57:43 -0400
Received: from d01av04.pok.ibm.com (loopback [127.0.0.1]) by d01av04.pok.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id o8EFvhpD011673; Tue, 14 Sep 2010 11:57:43 -0400
Received: from d01ml084.pok.ibm.com (d01ml084.pok.ibm.com [9.63.10.23]) by d01av04.pok.ibm.com (8.14.4/8.13.1/NCO v10.0 AVin) with ESMTP id o8EFvhic011667; Tue, 14 Sep 2010 11:57:43 -0400
In-Reply-To: <4C8C95E9.5080801@gmail.com>
References: <19591.24647.497524.822377@fireball.kivinen.iki.fi>	<OF5FA16AF2.68E07CE8-ON85257798.00420B7B-85257798.00432258@us.ibm.com> <19591.32575.931479.621032@fireball.kivinen.iki.fi>	<OFABFD4196.1816F673-ON85257798.0044B57D-85257798.0045F6BE@us.ibm.com> <19592.37973.545808.950166@fireball.kivinen.iki.fi>	<p06240843c8aea65a98f5@[10.20.30.158]> <19594.16591.378433.920474@fireball.kivinen.iki.fi> <OFDC6E0157.D36F9AEF-ON8525779A.0050D318-8525779A.00529CA9@us.ibm.com> <4C8C95E9.5080801@gmail.com>
X-KeepSent: 1124BD84:FB1528CC-8525779E:0055DF06; type=4; name=$KeepSent
To: ipsec@ietf.org, ipsec-bounces@ietf.org
X-Mailer: Lotus Notes Release 8.5.1FP1 SHF20 February 10, 2010
Message-ID: <OF1124BD84.FB1528CC-ON8525779E.0055DF06-8525779E.0057AE5E@us.ibm.com>
From: David Wierbowski <wierbows@us.ibm.com>
Date: Tue, 14 Sep 2010 11:57:40 -0400
X-MIMETrack: Serialize by Router on D01ML084/01/M/IBM(Release 8.0.2FP4|December 10, 2009) at 09/14/2010 11:57:42
MIME-Version: 1.0
Content-type: text/plain; charset=US-ASCII
Subject: Re: [IPsec] Comments to draft-ietf-ipsecme-failure-detection-00
X-BeenThere: ipsec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discussion of IPsec protocols <ipsec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipsec>
List-Post: <mailto:ipsec@ietf.org>
List-Help: <mailto:ipsec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 14 Sep 2010 15:57:32 -0000

Tero writes:
>I do not consider very open protocols which allow all kind of things
>"just for fun" and "in case we someday get scenario which can use it"
>as good thing.

I do not think we are allowing the initiator and responder to
be both a taker and a maker just for fun.  There are cases where
either side can initiate and it makes sense in those cases.

In a previous append Tero said:

>As I explained that if both ends can initiate the creation of the IKE
>SA, then QCD is not needed as both end can simply recreate the IKE SA
>immediately (with INITIAL_CONTACT notify) when they are up and running
>(or when they receive first unknown ESP packet from the configured
>peer). This is simple and already specified by the IKEv2, so no new
>code is needed.

I certainly would not advise creating an IKE_SA based on the receipt of
an unknown ESP packet from a configured peer.  If the ESP packet is
unknown then it is not authenticated and could have come from anywhere.

Prior to QCD, if the initiator of the initial IKE_SA reboots and then
receives a packet with an invalid ESP SPI from the responder the
initiator would send an INVALID_SPI notify to the responder.  The
responder would then start dead peer detection.  It's Tero's belief that
this should use a shorten retransmission timer.  Section 7.4 of the QCD
draft explains why using a shortened retransmission timer is not wise,
but let's assume one does use a shorten timer.  That shortened timer
introduces a delay that QCD eliminates.

Tero desires QCD to limit the role of taker to the initiator.  He seems
to expect that the initiator would not only retain a mapping of received
tokens to IKE_SAs, but also a mapping of ESP SAs to IKE_SAs.  When the
initiator gets a packet with an invalid SPI after a reboot he wants
the initiator create a new IKE_SA.  Actually, I think he wants to do
this without saving any state (i.e. without QCD).

Section 9.2 of QCD indicates that a implementation MAY maintain such
a mapping.  As such QCD does not require such a mapping.  QCD states
that in the case where such a mapping is maintained that the initiator
should respond with both an INVALID_SPI notification and a QCD_TOKEN
notification.  The reason for this action is that the initiator should
not start an IKE_SA negotiation based on an unauthenticated packet.

As such, it makes sense to allow the initiator and responder to be both
a taker and a maker in environments where either side is capable of
initiating the IKE_SA negotiation.

Dave Wierbowski






From turners@ieca.com  Tue Sep 14 09:23:58 2010
Return-Path: <turners@ieca.com>
X-Original-To: ipsec@core3.amsl.com
Delivered-To: ipsec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id C5F4A3A69DA for <ipsec@core3.amsl.com>; Tue, 14 Sep 2010 09:23:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.017
X-Spam-Level: 
X-Spam-Status: No, score=-102.017 tagged_above=-999 required=5 tests=[AWL=0.247, BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334, UNPARSEABLE_RELAY=0.001, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kqAB6JfePv5E for <ipsec@core3.amsl.com>; Tue, 14 Sep 2010 09:23:58 -0700 (PDT)
Received: from smtp112.biz.mail.sp1.yahoo.com (smtp112.biz.mail.sp1.yahoo.com [69.147.92.225]) by core3.amsl.com (Postfix) with SMTP id 3EA633A6839 for <ipsec@ietf.org>; Tue, 14 Sep 2010 09:23:56 -0700 (PDT)
Received: (qmail 30219 invoked from network); 14 Sep 2010 16:24:19 -0000
Received: from thunderfish.local (turners@96.231.127.24 with plain) by smtp112.biz.mail.sp1.yahoo.com with SMTP; 14 Sep 2010 09:24:19 -0700 PDT
X-Yahoo-SMTP: ZrP3VLSswBDL75pF8ymZHDSu9B.vcMfDPgLJ
X-YMail-OSG: tEdiQQ4VM1nn6KLEESiRyCRCi3ZXbHWO9XChKyGnJ6GUQZW oPDazz6PQU4yOvr9l19btArotTkU5fLbdwyF4qIRR9Y9rqeWbfwkGgz3EiGp 7T._zdr7MbK2K6vyfq9ADP_zaWr8hUrkBklnyHjq2nzYiKMh3s1p.KCn4p6V HvI42MOd_SfzWp8IaqQ26sbcA8DR3y1EzEUTGvQTiziED1AgND2Ne0g7OfBW TT6Vkx2oRcDgZIYJm0QzAmwoIXuC8WdcySebmSJEDSs9hsCklrtDTtp_T.XT 5bWOly7XOXjYRDvOmzbLSJ8ZdfzQYWW4pz1A_.Q.OuF312ySq4zqW
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4C8FA1B2.6030708@ieca.com>
Date: Tue, 14 Sep 2010 12:24:18 -0400
From: Sean Turner <turners@ieca.com>
User-Agent: Thunderbird 2.0.0.24 (Macintosh/20100228)
MIME-Version: 1.0
To: ipsec@ietf.org
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Subject: [IPsec] BOFs of interest
X-BeenThere: ipsec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discussion of IPsec protocols <ipsec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipsec>
List-Post: <mailto:ipsec@ietf.org>
List-Help: <mailto:ipsec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 14 Sep 2010 16:23:58 -0000

The BOFs for IETF 79 have been posted to 
http://trac.tools.ietf.org/bof/trac/.

The organizers of the Lightweight Internet Protocol Design (LWIP) BOF 
believe IPSECME participants might be interested in this BOF (based on 
conflict list).

spt

From wwwrun@rfc-editor.org  Tue Sep 14 12:40:39 2010
Return-Path: <wwwrun@rfc-editor.org>
X-Original-To: ipsec@core3.amsl.com
Delivered-To: ipsec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id E8AA53A6B3E; Tue, 14 Sep 2010 12:39:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.057
X-Spam-Level: 
X-Spam-Status: No, score=-102.057 tagged_above=-999 required=5 tests=[AWL=-0.057, BAYES_00=-2.599, J_CHICKENPOX_93=0.6, NO_RELAYS=-0.001, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6MavpZpjmetC; Tue, 14 Sep 2010 12:39:15 -0700 (PDT)
Received: from rfc-editor.org (rfc-editor.org [IPv6:2001:1890:1112:1::2f]) by core3.amsl.com (Postfix) with ESMTP id 141C33A6B38; Tue, 14 Sep 2010 12:38:46 -0700 (PDT)
Received: by rfc-editor.org (Postfix, from userid 30) id 9FC05E06FA; Tue, 14 Sep 2010 12:38:59 -0700 (PDT)
To: ietf-announce@ietf.org, rfc-dist@rfc-editor.org
From: rfc-editor@rfc-editor.org
Message-Id: <20100914193859.9FC05E06FA@rfc-editor.org>
Date: Tue, 14 Sep 2010 12:38:59 -0700 (PDT)
Cc: ipsec@ietf.org, rfc-editor@rfc-editor.org
Subject: [IPsec] RFC 5996 on Internet Key Exchange Protocol Version 2 (IKEv2)
X-BeenThere: ipsec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discussion of IPsec protocols <ipsec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipsec>
List-Post: <mailto:ipsec@ietf.org>
List-Help: <mailto:ipsec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 14 Sep 2010 19:40:39 -0000

A new Request for Comments is now available in online RFC libraries.

        
        RFC 5996

        Title:      Internet Key Exchange Protocol Version 
                    2 (IKEv2) 
        Author:     C. Kaufman, P. Hoffman,
                    Y. Nir, P. Eronen
        Status:     Standards Track
        Stream:     IETF
        Date:       September 2010
        Mailbox:    charliek@microsoft.com, 
                    paul.hoffman@vpnc.org, 
                    ynir@checkpoint.com,  pe@iki.fi
        Pages:      138
        Characters: 346466
        Obsoletes:  RFC4306, RFC4718

        I-D Tag:    draft-ietf-ipsecme-ikev2bis-11.txt

        URL:        http://www.rfc-editor.org/rfc/rfc5996.txt

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
(SAs).  This document replaces and updates RFC 4306, and includes all
of the clarifications from RFC 4718.  [STANDARDS TRACK]

This document is a product of the IP Security Maintenance and Extensions Working Group of the IETF.

This is now a Proposed Standard Protocol.

STANDARDS TRACK: This document specifies an Internet standards track
protocol for the Internet community,and requests discussion and suggestions
for improvements.  Please refer to the current edition of the Internet
Official Protocol Standards (STD 1) for the standardization state and
status of this protocol.  Distribution of this memo is unlimited.

This announcement is sent to the IETF-Announce and rfc-dist lists.
To subscribe or unsubscribe, see
  http://www.ietf.org/mailman/listinfo/ietf-announce
  http://mailman.rfc-editor.org/mailman/listinfo/rfc-dist

For searching the RFC series, see http://www.rfc-editor.org/rfcsearch.html.
For downloading RFCs, see http://www.rfc-editor.org/rfc.html.

Requests for special distribution should be addressed to either the
author of the RFC in question, or to rfc-editor@rfc-editor.org.  Unless
specifically noted otherwise on the RFC itself, all RFCs are for
unlimited distribution.


The RFC Editor Team
Association Management Solutions, LLC



From yaronf.ietf@gmail.com  Tue Sep 14 13:09:33 2010
Return-Path: <yaronf.ietf@gmail.com>
X-Original-To: ipsec@core3.amsl.com
Delivered-To: ipsec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 29FFC3A6AF8 for <ipsec@core3.amsl.com>; Tue, 14 Sep 2010 13:09:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.131
X-Spam-Level: 
X-Spam-Status: No, score=-102.131 tagged_above=-999 required=5 tests=[AWL=-0.132, BAYES_00=-2.599, J_CHICKENPOX_93=0.6, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nO9HJChjV8Ui for <ipsec@core3.amsl.com>; Tue, 14 Sep 2010 13:09:32 -0700 (PDT)
Received: from mail-bw0-f44.google.com (mail-bw0-f44.google.com [209.85.214.44]) by core3.amsl.com (Postfix) with ESMTP id D84663A6AEE for <ipsec@ietf.org>; Tue, 14 Sep 2010 13:09:31 -0700 (PDT)
Received: by bwz9 with SMTP id 9so8067908bwz.31 for <ipsec@ietf.org>; Tue, 14 Sep 2010 13:09:57 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=fJy4SGOmSZCkfdcI7sHXvbsGmDZE0db2woFqUkHqfLE=; b=eEBYWpwvauHbEe5Z+R7BKj5gsLzA7bXmSaEk5SyTZCFE5vOwAJbiWEF/a18aIRAWmr TTjTnoZisNEsa4xZ0dkF2tOJ9f0eL8YnRXUkcJhgpsqV6VATxw4w7ycE6v9xOljws3Os d4GRtasxDVnvgH9Ash+an2JPfQ1fvkyY+zWEs=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=YbiLNOHwH2kR68FWxXpOyPKr5sM27H9EI/FxaqsTYDK9QY9AkrzxkWXFhtZOPulIKc 3NpEomdxVtEEkFkw813ojOKOJGmGtfhrMjNhZW8WR7e/GHuF/hvG1mnVXF4GzF8euZCt ofy2bo+49tjYp8FzhhRR/5G/UQ59ofnKG7lhM=
Received: by 10.204.51.145 with SMTP id d17mr426087bkg.20.1284494996873; Tue, 14 Sep 2010 13:09:56 -0700 (PDT)
Received: from [10.0.0.2] (bzq-79-183-43-64.red.bezeqint.net [79.183.43.64]) by mx.google.com with ESMTPS id f18sm555887bkf.3.2010.09.14.13.09.54 (version=SSLv3 cipher=RC4-MD5); Tue, 14 Sep 2010 13:09:55 -0700 (PDT)
Message-ID: <4C8FD68F.2020905@gmail.com>
Date: Tue, 14 Sep 2010 22:09:51 +0200
From: Yaron Sheffer <yaronf.ietf@gmail.com>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.12) Gecko/20100826 Lightning/1.0b1 Thunderbird/3.0.7
MIME-Version: 1.0
To: ipsec@ietf.org
References: <20100914193859.9FC05E06FA@rfc-editor.org>
In-Reply-To: <20100914193859.9FC05E06FA@rfc-editor.org>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Subject: Re: [IPsec] RFC 5996 on Internet Key Exchange Protocol Version 2 (IKEv2)
X-BeenThere: ipsec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discussion of IPsec protocols <ipsec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipsec>
List-Post: <mailto:ipsec@ietf.org>
List-Help: <mailto:ipsec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 14 Sep 2010 20:09:33 -0000

Dear IPsec-heads,

RFC 5996 - IKEv2-bis, is a major accomplishment of this community.

I would like to thank the authors: Charlie, Paul, Yoav and Pasi for a 
great deal of time and effort that went into polishing this document. 
And to thank the many people on this mailing list who participated in 
hundreds of discussion threads leading to this point.

I am sure even RFC 5996 is not perfect, but we are all due some 
congratulations today!

Thanks,
	Yaron

On 09/14/2010 09:38 PM, rfc-editor@rfc-editor.org wrote:
>
> A new Request for Comments is now available in online RFC libraries.
>
>
>          RFC 5996
>
>          Title:      Internet Key Exchange Protocol Version
>                      2 (IKEv2)
>          Author:     C. Kaufman, P. Hoffman,
>                      Y. Nir, P. Eronen
>          Status:     Standards Track
>          Stream:     IETF
>          Date:       September 2010
>          Mailbox:    charliek@microsoft.com,
>                      paul.hoffman@vpnc.org,
>                      ynir@checkpoint.com,  pe@iki.fi
>          Pages:      138
>          Characters: 346466
>          Obsoletes:  RFC4306, RFC4718
>
>          I-D Tag:    draft-ietf-ipsecme-ikev2bis-11.txt
>
>          URL:        http://www.rfc-editor.org/rfc/rfc5996.txt
>
> 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
> (SAs).  This document replaces and updates RFC 4306, and includes all
> of the clarifications from RFC 4718.  [STANDARDS TRACK]
>
> This document is a product of the IP Security Maintenance and Extensions Working Group of the IETF.
>
> This is now a Proposed Standard Protocol.
>
> STANDARDS TRACK: This document specifies an Internet standards track
> protocol for the Internet community,and requests discussion and suggestions
> for improvements.  Please refer to the current edition of the Internet
> Official Protocol Standards (STD 1) for the standardization state and
> status of this protocol.  Distribution of this memo is unlimited.
>
> This announcement is sent to the IETF-Announce and rfc-dist lists.
> To subscribe or unsubscribe, see
>    http://www.ietf.org/mailman/listinfo/ietf-announce
>    http://mailman.rfc-editor.org/mailman/listinfo/rfc-dist
>
> For searching the RFC series, see http://www.rfc-editor.org/rfcsearch.html.
> For downloading RFCs, see http://www.rfc-editor.org/rfc.html.
>
> Requests for special distribution should be addressed to either the
> author of the RFC in question, or to rfc-editor@rfc-editor.org.  Unless
> specifically noted otherwise on the RFC itself, all RFCs are for
> unlimited distribution.
>
>
> The RFC Editor Team
> Association Management Solutions, LLC
>
>
> _______________________________________________
> IPsec mailing list
> IPsec@ietf.org
> https://www.ietf.org/mailman/listinfo/ipsec

From ietf-ipsec@m.gmane.org  Tue Sep 14 15:45:22 2010
Return-Path: <ietf-ipsec@m.gmane.org>
X-Original-To: ipsec@core3.amsl.com
Delivered-To: ipsec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id CCD973A69A1 for <ipsec@core3.amsl.com>; Tue, 14 Sep 2010 15:45:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.301
X-Spam-Level: 
X-Spam-Status: No, score=0.301 tagged_above=-999 required=5 tests=[BAYES_50=0.001, MIME_8BIT_HEADER=0.3]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3cARVG7JO+gg for <ipsec@core3.amsl.com>; Tue, 14 Sep 2010 15:45:20 -0700 (PDT)
Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by core3.amsl.com (Postfix) with ESMTP id 95D883A6B5E for <ipsec@ietf.org>; Tue, 14 Sep 2010 15:44:43 -0700 (PDT)
Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from <ietf-ipsec@m.gmane.org>) id 1OveFM-0005Ho-Sh for ipsec@ietf.org; Wed, 15 Sep 2010 00:45:04 +0200
Received: from 109-184-6-39.dynamic.mts-nn.ru ([109.184.6.39]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <ipsec@ietf.org>; Wed, 15 Sep 2010 00:45:04 +0200
Received: from DXDragon by 109-184-6-39.dynamic.mts-nn.ru with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <ipsec@ietf.org>; Wed, 15 Sep 2010 00:45:04 +0200
X-Injected-Via-Gmane: http://gmane.org/
To: ipsec@ietf.org
From: =?utf-8?B?0KDQvtC80LDQvSDQlNC+0L3Rh9C10L3QutC+?= <DXDragon@yandex.ru>
Date: Wed, 15 Sep 2010 02:30:06 +0400
Lines: 33
Message-ID: <op.vi1nggkw3qy9a8@tortoise>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes
Content-Transfer-Encoding: 8bit
X-Complaints-To: usenet@dough.gmane.org
X-Gmane-NNTP-Posting-Host: 109-184-6-39.dynamic.mts-nn.ru
User-Agent: Opera Mail/10.62 (Win32)
Subject: [IPsec] Using DSA with IKEv2
X-BeenThere: ipsec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discussion of IPsec protocols <ipsec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipsec>
List-Post: <mailto:ipsec@ietf.org>
List-Help: <mailto:ipsec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 14 Sep 2010 23:14:35 -0000

Greetings,

This is what RFC 5996 has to say about DSA:

> (3.8.  Authentication Payload)
> ...
>     DSS Digital Signature                  3
>       Computed as specified in Section 2.15 using a DSS private key
>       (see [DSS]) over a SHA-1 hash.

I have several questions about this.

1) DSS is the standard, which approves three digital signature schemes.
Since the use of two of them (RSA and ECDSA) with IKEv2 is specified
elsewhere, I'm presuming that the first two occurances of "DSS" above
actually mean "DSA". Is this correct?

2) DSS only specifies the conceptual form of the signature (two numbers r
and s), and doesn't define an octet-sequence representation. Neither does
RFC 5996. So what representation is to be used?

3) Why is SHA-1 used here, instead of the SHA corresponding to the key
length? Note that DSS advises against the former:

> (4.2 Selection of Parameter Sizes and Hash Functions for DSA)
> ...
> A hash function that provides a lower security strength than the (L, N)  
> pair ordinarily *should not* be used, since this would reduce the  
> security strength of the digital signature process to a level no greater  
> than that provided by the hash function.

Regards,
Roman.


From paul.hoffman@vpnc.org  Tue Sep 14 16:36:14 2010
Return-Path: <paul.hoffman@vpnc.org>
X-Original-To: ipsec@core3.amsl.com
Delivered-To: ipsec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 79DE93A6B52 for <ipsec@core3.amsl.com>; Tue, 14 Sep 2010 16:36:14 -0700 (PDT)
X-Quarantine-ID: <kZIJPtMjzXQb>
X-Virus-Scanned: amavisd-new at amsl.com
X-Amavis-Alert: BAD HEADER, Non-encoded 8-bit data (char EA hex): To: \352\323\317\375\314 \321\323\314\227\302\314\315\323 <[...]
X-Spam-Flag: NO
X-Spam-Score: -99.275
X-Spam-Level: 
X-Spam-Status: No, score=-99.275 tagged_above=-999 required=5 tests=[AWL=-1.151, BAYES_00=-2.599, HEAD_ILLEGAL_CHARS=3.622, HELO_MISMATCH_COM=0.553, MIME_8BIT_HEADER=0.3, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kZIJPtMjzXQb for <ipsec@core3.amsl.com>; Tue, 14 Sep 2010 16:36:13 -0700 (PDT)
Received: from hoffman.proper.com (Hoffman.Proper.COM [207.182.41.81]) by core3.amsl.com (Postfix) with ESMTP id 81B553A6AC3 for <ipsec@ietf.org>; Tue, 14 Sep 2010 16:36:13 -0700 (PDT)
Received: from [10.20.30.158] (sn87.proper.com [75.101.18.87]) (authenticated bits=0) by hoffman.proper.com (8.14.4/8.14.3) with ESMTP id o8ENaaJq002152 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 14 Sep 2010 16:36:38 -0700 (MST) (envelope-from paul.hoffman@vpnc.org)
Mime-Version: 1.0
Message-Id: <p062408c3c8b5b632e377@[10.20.30.158]>
In-Reply-To: <op.vi1nggkw3qy9a8@tortoise>
References: <op.vi1nggkw3qy9a8@tortoise>
Date: Tue, 14 Sep 2010 16:36:35 -0700
To: êÓÏýÌ ÑÓÌ—ÂÌÍÓ <DXDragon@yandex.ru>, ipsec@ietf.org
From: Paul Hoffman <paul.hoffman@vpnc.org>
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 8bit
Subject: Re: [IPsec] Using DSA with IKEv2
X-BeenThere: ipsec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discussion of IPsec protocols <ipsec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipsec>
List-Post: <mailto:ipsec@ietf.org>
List-Help: <mailto:ipsec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 14 Sep 2010 23:36:14 -0000

Ah, the sadness that is DSA in IKE.

At 2:30 AM +0400 9/15/10, êÓÏýÌ ÑÓÌ—ÂÌÍÓ wrote:
>Greetings,
>
>This is what RFC 5996 has to say about DSA:
>
>>(3.8.  Authentication Payload)
>>...
>>    DSS Digital Signature                  3
>>      Computed as specified in Section 2.15 using a DSS private key
>>      (see [DSS]) over a SHA-1 hash.
>
>I have several questions about this.
>
>1) DSS is the standard, which approves three digital signature schemes.
>Since the use of two of them (RSA and ECDSA) with IKEv2 is specified
>elsewhere, I'm presuming that the first two occurances of "DSS" above
>actually mean "DSA". Is this correct?

Correct.

>2) DSS only specifies the conceptual form of the signature (two numbers r
>and s), and doesn't define an octet-sequence representation. Neither does
>RFC 5996. So what representation is to be used?

This was simply copied from RFC 4306, which pretty much copied it from RFC 2409.

>3) Why is SHA-1 used here, instead of the SHA corresponding to the key
>length?

Because that is what RFC 2409 said.

None of this is a good justification for why we don't have a better definition for DSA certificate use in IKEv2, just a description of how we got here.

--Paul Hoffman, Director
--VPN Consortium

From kivinen@iki.fi  Wed Sep 15 01:17:11 2010
Return-Path: <kivinen@iki.fi>
X-Original-To: ipsec@core3.amsl.com
Delivered-To: ipsec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 0F2E73A68B8 for <ipsec@core3.amsl.com>; Wed, 15 Sep 2010 01:17:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.491
X-Spam-Level: 
X-Spam-Status: No, score=-102.491 tagged_above=-999 required=5 tests=[AWL=0.108, BAYES_00=-2.599, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 757-BuefgUWq for <ipsec@core3.amsl.com>; Wed, 15 Sep 2010 01:17:08 -0700 (PDT)
Received: from mail.kivinen.iki.fi (fireball.acr.fi [83.145.195.1]) by core3.amsl.com (Postfix) with ESMTP id 034303A6AB0 for <ipsec@ietf.org>; Wed, 15 Sep 2010 01:17:07 -0700 (PDT)
Received: from fireball.kivinen.iki.fi (localhost [127.0.0.1]) by mail.kivinen.iki.fi (8.14.3/8.14.3) with ESMTP id o8F8HQmS023471 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 15 Sep 2010 11:17:26 +0300 (EEST)
Received: (from kivinen@localhost) by fireball.kivinen.iki.fi (8.14.3/8.12.11) id o8F8HO7K004659; Wed, 15 Sep 2010 11:17:24 +0300 (EEST)
X-Authentication-Warning: fireball.kivinen.iki.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: <19600.33044.946153.563329@fireball.kivinen.iki.fi>
Date: Wed, 15 Sep 2010 11:17:24 +0300
From: Tero Kivinen <kivinen@iki.fi>
To: David Wierbowski <wierbows@us.ibm.com>
In-Reply-To: <OF1124BD84.FB1528CC-ON8525779E.0055DF06-8525779E.0057AE5E@us.ibm.com>
References: <19591.24647.497524.822377@fireball.kivinen.iki.fi> <OF5FA16AF2.68E07CE8-ON85257798.00420B7B-85257798.00432258@us.ibm.com> <19591.32575.931479.621032@fireball.kivinen.iki.fi> <OFABFD4196.1816F673-ON85257798.0044B57D-85257798.0045F6BE@us.ibm.com> <19592.37973.545808.950166@fireball.kivinen.iki.fi> <p06240843c8aea65a98f5@[10.20.30.158]> <19594.16591.378433.920474@fireball.kivinen.iki.fi> <OFDC6E0157.D36F9AEF-ON8525779A.0050D318-8525779A.00529CA9@us.ibm.com> <4C8C95E9.5080801@gmail.com> <OF1124BD84.FB1528CC-ON8525779E.0055DF06-8525779E.0057AE5E@us.ibm.com>
X-Mailer: VM 7.19 under Emacs 21.4.1
X-Edit-Time: 33 min
X-Total-Time: 32 min
Cc: ipsec@ietf.org
Subject: Re: [IPsec] Comments to draft-ietf-ipsecme-failure-detection-00
X-BeenThere: ipsec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discussion of IPsec protocols <ipsec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipsec>
List-Post: <mailto:ipsec@ietf.org>
List-Help: <mailto:ipsec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 15 Sep 2010 08:17:11 -0000

David Wierbowski writes:
> Tero writes:
> >I do not consider very open protocols which allow all kind of things
> >"just for fun" and "in case we someday get scenario which can use it"
> >as good thing.
> 
> I do not think we are allowing the initiator and responder to
> be both a taker and a maker just for fun.  There are cases where
> either side can initiate and it makes sense in those cases.

Can you give example of such setup, preferrable something that I have
not already covered in my previous emails and explained why QCD is not
needed there. 

> In a previous append Tero said:
> >As I explained that if both ends can initiate the creation of the IKE
> >SA, then QCD is not needed as both end can simply recreate the IKE SA
> >immediately (with INITIAL_CONTACT notify) when they are up and running
> >(or when they receive first unknown ESP packet from the configured
> >peer). This is simple and already specified by the IKEv2, so no new
> >code is needed.
> 
> I certainly would not advise creating an IKE_SA based on the receipt of
> an unknown ESP packet from a configured peer.  If the ESP packet is
> unknown then it is not authenticated and could have come from anywhere.

Yes it is not authenticated, but you do have limited number of
configured IP-addresses in your configuration file, which means that
attacker can only set up IKE SA for exactly those hosts, not any
other, and as you only create the IKE SA if you do not have any, then
only thing attacker can cause is you to create the IKE SA even when
you do not yet have traffic to go that way. 

> Prior to QCD, if the initiator of the initial IKE_SA reboots and then
> receives a packet with an invalid ESP SPI from the responder the
> initiator would send an INVALID_SPI notify to the responder.

As I said, in our case we do check our configuration and if the
invalid ESP packet has IP-address which matches a known peer in the
configuration file, our implementation do set up the IKE SA for the
peer and do send Child SA delete for the ESP SPI to clean up the
state.

If we already have IKE SA up and running then we do send the same
delete notification inside that IKE SA. 

> The responder would then start dead peer detection.

Responder has most likely already started the dead peer detection
few seconds after the other end crashed, i.e. when the traffic changed
to be one way. So the DPD is already in progress when the peer gets
up. 

> It's Tero's belief that this should use a shorten retransmission
> timer.

Yes. There is no point of trying for 5 minutes (default timeout in our
implementation if mobike is in use) when we are already getting
some kind of feedback from other end. Waiting for 30 seconds and
retransmitting 3-5 times should make it so that if the machine is up
and network is working one of those packets should generate proper
response if the IKE SA is still up.

If attacker can block all traffic for the peer so it cannot respond in
30 seconds, then attacker can usually also block traffic for 5
minutes...

If there is network connection problem, which might take few minutes
to clear out, then we are not getting the error notifications either. 

> Section 7.4 of the QCD draft explains why using a shortened
> retransmission timer is not wise, but let's assume one does use a
> shorten timer.

I do not agree on the text on section 7.4. There are multiple things
which retransmission counts and retranmission timers try to cover:

1) Save network bandwidth.
   == send as few packets as possible.
2) Allow enough time for packets to reach other end.
   == Use long enough time between packets that the packets actually
      can reach other end, and that they can be processed there 
3) Allow packets to be dropped by the network.
   == Do not assume packets always gets there, so send multiple
      packets

The retransmission policy also tries to recover for different things:

1) Other end crashed, and will not ever get up
   == do not care how quickly we will detect this, as other end is
      never coming back
2) Network broke down for few seconds - few minutes
   == Try to retransmit long enough that short (few minutes) breaks in
      the network do not break connectivity
3) Lots of congestion on the network
   == Do not send too many packets to make congestion worse, but
      retransmit enough times to get packet through
4) Other end cleared state, or rebooted
   == No point of retransmitting too many times, as other end does not
      have state anymore

Retransmission policies are not really there to cover attacks. They
are there for normal operations.

If attacker can block connectivity (i.e. break the network), nothing
we can do with retranmissions can fix this.

If attacker can cause congestion, we might get something through
better if we send more retranmissions, but by doing that we cause even
more congestion and make situation worse.

If attacker can crash or reboot peers, then retranmission does not
really help.

There is nothing that says our retranmission policy needs to be same
for all situations. I think that any good implementation will tweak
its retranmission policies based on the situation. The TCP for example
already has built-in mechanisms for that by measuring the RTT etc.

In IKEv2 we cannot really measure RTT, because our visible RTT
includes variable length of processing time (i.e. whether we do
Diffie-Hellman or not) and that messes up the measurements.

If we do get feedback from the other end (or the routers along the
route) that it is not anymore having the state it used to have, AND we
are not getting any feedback which would tell otherwise (i.e. we do
not get any protected packet from the other end) then we can shorten
the retranmission timers, as that usually means that network is
working and there is no congestion (i.e. retransmission is not for
cases 2 or 3, but for case 1 or 4). In those cases there is no need
for excessive retransmits as retransmits does not help at all in those
situations. 

> That shortened timer introduces a delay that QCD
> eliminates.
> 
> Tero desires QCD to limit the role of taker to the initiator.  He seems
> to expect that the initiator would not only retain a mapping of received
> tokens to IKE_SAs, but also a mapping of ESP SAs to IKE_SAs.

IKEv2 already mandates keeping mapping from ESP SAs to IKE SAs. Or do
you mean over reboots? I do not expect initiator to keep any state
over reboots, only to keep the same configuration they had before
reboot.

> When the initiator gets a packet with an invalid SPI after a reboot
> he wants the initiator create a new IKE_SA. Actually, I think he
> wants to do this without saving any state (i.e. without QCD).

Yes, but only for those IP-address found from the configuration. 

> Section 9.2 of QCD indicates that a implementation MAY maintain such
> a mapping.  As such QCD does not require such a mapping.  QCD states
> that in the case where such a mapping is maintained that the initiator
> should respond with both an INVALID_SPI notification and a QCD_TOKEN
> notification.  The reason for this action is that the initiator should
> not start an IKE_SA negotiation based on an unauthenticated packet.

You do not need QCD for any of that, you can simply do it by looking
the configuration. If you get ESP packet with source IP that matches
the known peer of your configuration and which you do not have IKE SA
already up, then you create one, and then send Child SA delete to the
other end to clean up the state. If you already have IKE SA up with
the peer, you use that IKE SA and send delete notification over that.

This saves half a round trip compared to the QCD. 

> As such, it makes sense to allow the initiator and responder to be both
> a taker and a maker in environments where either side is capable of
> initiating the IKE_SA negotiation.

I disagree on that.

Already existing standard conforming methods are more efficient than
QCD in those environments. 
-- 
kivinen@iki.fi

From priikone@iki.fi  Thu Sep 16 01:47:48 2010
Return-Path: <priikone@iki.fi>
X-Original-To: ipsec@core3.amsl.com
Delivered-To: ipsec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id D11613A69A0 for <ipsec@core3.amsl.com>; Thu, 16 Sep 2010 01:47:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[AWL=0.000,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tN34TmLYTOPr for <ipsec@core3.amsl.com>; Thu, 16 Sep 2010 01:47:47 -0700 (PDT)
Received: from otaku.Xtrmntr.org (sauna.silcnet.org [IPv6:2001:4118:10:4000::2205]) by core3.amsl.com (Postfix) with ESMTP id AD21E3A6820 for <ipsec@ietf.org>; Thu, 16 Sep 2010 01:47:46 -0700 (PDT)
Received: by otaku.Xtrmntr.org (Postfix, from userid 201) id B1E3E4996; Thu, 16 Sep 2010 10:49:08 +0200 (CEST)
Received: from localhost (localhost [127.0.0.1]) by otaku.Xtrmntr.org (Postfix) with ESMTP id A2133494C; Thu, 16 Sep 2010 10:49:08 +0200 (CEST)
Date: Thu, 16 Sep 2010 10:49:07 +0200 (CEST)
From: Pekka Riikonen <priikone@iki.fi>
X-X-Sender: priikone@otaku.Xtrmntr.org
To: Yaron Sheffer <yaronf.ietf@gmail.com>
In-Reply-To: <4C8DE47A.6060005@gmail.com>
Message-ID: <Pine.NEB.4.64.1009152201001.3394@otaku.Xtrmntr.org>
References: <4C8DE47A.6060005@gmail.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Cc: IPsecme WG <ipsec@ietf.org>
Subject: Re: [IPsec] Moving forward with the HA solution draft
X-BeenThere: ipsec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discussion of IPsec protocols <ipsec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipsec>
List-Post: <mailto:ipsec@ietf.org>
List-Help: <mailto:ipsec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 16 Sep 2010 08:47:49 -0000

On Mon, 13 Sep 2010, Yaron Sheffer wrote:

: I propose that version -01 of the draft should resolve the following 3 issues
: (and if possible, no others):
: 
:    * Separate negotiation of synchronization of the IKE SA counters vs.
:      the IPsec SA counters. IPsec counter sync should work even when
:      used with a "normal" IKE exchange (non-zero Message ID).
:    * A scalable solution for the IPsec counter sync: send a delta
:      value that applies to all (incoming) child SAs, instead of sending
:      one value per child SA.
:    * The replay issue that Tero identified at the meeting.
: 
I started implementing the draft yesterday and here are some of the issues 
that came up (in addition to the issues listed above):

- Error handling.  The draft explains what to do if the nonce in the 
response is wrong but it doesn't mention what to do if the entire 
SYNC_SA_COUNTER_INFO payload is malformed (in request or response).

- The SYNC_SA_COUNTER_INFO payload defined in the draft is sent inside 
Notify Payload, but the draft doesn't mention what to fill into the Notify 
Payload header.  Are the fields zero or should it define the Protocol ID, 
for example?  There's some redundancy between the Notify Payload and the 
SYNC_SA_COUNTER_INFO payload (in the header).

- The draft could also give additional reason for sending 
SYNC_SA_COUNTER_INFO request.  For example, in a cluster setup with two or 
more online nodes that actively handle IKE and IPSEC SAs any load 
balancing change that changes the ownwership of the IKE SA in the cluster 
could trigger the use of this protoocol.  This protocol applies to also 
non-failover cases when ownerships change (protocol may or may not be 
needed depending on the cluster implementation).

- Race condition when both ends are clusters and failover happen at the 
same time in both ends.  In this case both ends may end up sending the 
SYNC_SA_COUNTER_INFO request.  Since both ends now cannot know the window 
reliably some solution for this should be defined in the protocol.  One 
way to do this to say that implementations MUST set their window to the 
values of one and respond with that:

  Cluster A              Cluster B
    request SYNC      -->
                <--      request SYNC
    response (1,1)    -->
                <--      response (1,1)

If you receive SYNC_SA_COUNTER_INFO request while you're waiting for 
response to your own request it means that the remote peer has had 
failover too, and it cannot reliably return to you any valid values.  
Neither can you, so only thing you can do is to return window with values 
one.  (Actually implementation should check whether it has had failover 
(or the IKE SA has changed ownership) when it receives the request, even 
if it hasn't yet sent its own request, and in that case respond with the 
value one and set its own window.  Implementation must also be careful 
not to cancel its own pending request.)

- Validation of SYNC_SA_COUNTER_INFO request.  The draft could more 
clearly define what is the proper way of validating that a packet with 
message id 0 is actually a valid SYNC_SA_COUNTER_INFO request:

  - Message id MUST be 0
  - Exchange type MUST be INFORMATIONAL
  - Packet MUST be encrypted
  - IKE SA MUST be authenticated
  - Packet MUST have Notify Payload
  - The Notify type MUST be SYNC_SA_COUNTER_INFO

>From this it's clear that most implementations will have to do the 
validation in multiple steps.  One before decryption, one after decryption 
and perhaps one after decoding the Notify Payload.

	Pekka

From yaronf.ietf@gmail.com  Thu Sep 16 01:58:33 2010
Return-Path: <yaronf.ietf@gmail.com>
X-Original-To: ipsec@core3.amsl.com
Delivered-To: ipsec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 99DD83A6820 for <ipsec@core3.amsl.com>; Thu, 16 Sep 2010 01:58:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.416
X-Spam-Level: 
X-Spam-Status: No, score=-102.416 tagged_above=-999 required=5 tests=[AWL=0.183, BAYES_00=-2.599, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id v7RZ-K1XpMPu for <ipsec@core3.amsl.com>; Thu, 16 Sep 2010 01:58:32 -0700 (PDT)
Received: from mail-bw0-f44.google.com (mail-bw0-f44.google.com [209.85.214.44]) by core3.amsl.com (Postfix) with ESMTP id 17C113A68DC for <ipsec@ietf.org>; Thu, 16 Sep 2010 01:58:31 -0700 (PDT)
Received: by bwz9 with SMTP id 9so1915208bwz.31 for <ipsec@ietf.org>; Thu, 16 Sep 2010 01:58:56 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=20If/OnzbvPEfP1eS5n6pP9m5we6yEdBY7UMvATM020=; b=Xr3hftk17EI/q3W6TnfK1GE8jvDAuOiuPETcD1fe+jbMAMSqtj6+TqKneNdQa1XG/Z 5WgDqxnMhEyHaaj3p9OA4eUB2P+XEpd6LprFSW/+tU4R1bBjh1Sa6lh+umfow83OEXXg 5/SSJF61syKwkOuRMnM4kmCu+iN+RG6vwV1l0=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=f7XDAQW2NhYgXKQqjGTr/MU+fkeCimYdvT8Sb8bhF3Zg4euEFSEiGGc1/knqoqKm8D z9NF0oh3pghWpRmsOohEj153mrFDmJi5NNJCZDXl4fiX2OfV75kLXqgzIraJELVTiLtW 0WXdrTRvP/nFvFYjZiFSzGkn2RutMXjdJeYds=
Received: by 10.204.73.211 with SMTP id r19mr2267077bkj.131.1284627536757; Thu, 16 Sep 2010 01:58:56 -0700 (PDT)
Received: from [10.0.0.2] (bzq-79-183-43-64.red.bezeqint.net [79.183.43.64]) by mx.google.com with ESMTPS id x13sm2257744bki.12.2010.09.16.01.58.51 (version=SSLv3 cipher=RC4-MD5); Thu, 16 Sep 2010 01:58:52 -0700 (PDT)
Message-ID: <4C91DC48.9000906@gmail.com>
Date: Thu, 16 Sep 2010 10:58:48 +0200
From: Yaron Sheffer <yaronf.ietf@gmail.com>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.12) Gecko/20100826 Lightning/1.0b1 Thunderbird/3.0.7
MIME-Version: 1.0
To: Pekka Riikonen <priikone@iki.fi>
References: <4C8DE47A.6060005@gmail.com> <Pine.NEB.4.64.1009152201001.3394@otaku.Xtrmntr.org>
In-Reply-To: <Pine.NEB.4.64.1009152201001.3394@otaku.Xtrmntr.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: IPsecme WG <ipsec@ietf.org>
Subject: Re: [IPsec] Moving forward with the HA solution draft
X-BeenThere: ipsec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discussion of IPsec protocols <ipsec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipsec>
List-Post: <mailto:ipsec@ietf.org>
List-Help: <mailto:ipsec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 16 Sep 2010 08:58:33 -0000

Hi Pekka,

my intention was to focus the work on the draft, so we can move towards 
a complete specification. The current document is incomplete and needs 
quite a few changes, but I also do *not* expect the next revision to be 
ready to implement. Sorry to disappoint you. Error handling, for 
example, is IMHO better left for a later revision.

On the other hand, you are raising valid issues, and I would like to ask 
the draft authors to record them on the issue tracker so that we can 
resolve them later.

Do you consider any of these issues as showstoppers for the next revision?

Thanks,
	Yaron

On 09/16/2010 10:49 AM, Pekka Riikonen wrote:
> On Mon, 13 Sep 2010, Yaron Sheffer wrote:
>
> : I propose that version -01 of the draft should resolve the following 3 issues
> : (and if possible, no others):
> :
> :    * Separate negotiation of synchronization of the IKE SA counters vs.
> :      the IPsec SA counters. IPsec counter sync should work even when
> :      used with a "normal" IKE exchange (non-zero Message ID).
> :    * A scalable solution for the IPsec counter sync: send a delta
> :      value that applies to all (incoming) child SAs, instead of sending
> :      one value per child SA.
> :    * The replay issue that Tero identified at the meeting.
> :
> I started implementing the draft yesterday and here are some of the issues
> that came up (in addition to the issues listed above):
>
> - Error handling.  The draft explains what to do if the nonce in the
> response is wrong but it doesn't mention what to do if the entire
> SYNC_SA_COUNTER_INFO payload is malformed (in request or response).
>
> - The SYNC_SA_COUNTER_INFO payload defined in the draft is sent inside
> Notify Payload, but the draft doesn't mention what to fill into the Notify
> Payload header.  Are the fields zero or should it define the Protocol ID,
> for example?  There's some redundancy between the Notify Payload and the
> SYNC_SA_COUNTER_INFO payload (in the header).
>
> - The draft could also give additional reason for sending
> SYNC_SA_COUNTER_INFO request.  For example, in a cluster setup with two or
> more online nodes that actively handle IKE and IPSEC SAs any load
> balancing change that changes the ownwership of the IKE SA in the cluster
> could trigger the use of this protoocol.  This protocol applies to also
> non-failover cases when ownerships change (protocol may or may not be
> needed depending on the cluster implementation).
>
> - Race condition when both ends are clusters and failover happen at the
> same time in both ends.  In this case both ends may end up sending the
> SYNC_SA_COUNTER_INFO request.  Since both ends now cannot know the window
> reliably some solution for this should be defined in the protocol.  One
> way to do this to say that implementations MUST set their window to the
> values of one and respond with that:
>
>    Cluster A              Cluster B
>      request SYNC      -->
>                  <--      request SYNC
>      response (1,1)    -->
>                  <--      response (1,1)
>
> If you receive SYNC_SA_COUNTER_INFO request while you're waiting for
> response to your own request it means that the remote peer has had
> failover too, and it cannot reliably return to you any valid values.
> Neither can you, so only thing you can do is to return window with values
> one.  (Actually implementation should check whether it has had failover
> (or the IKE SA has changed ownership) when it receives the request, even
> if it hasn't yet sent its own request, and in that case respond with the
> value one and set its own window.  Implementation must also be careful
> not to cancel its own pending request.)
>
> - Validation of SYNC_SA_COUNTER_INFO request.  The draft could more
> clearly define what is the proper way of validating that a packet with
> message id 0 is actually a valid SYNC_SA_COUNTER_INFO request:
>
>    - Message id MUST be 0
>    - Exchange type MUST be INFORMATIONAL
>    - Packet MUST be encrypted
>    - IKE SA MUST be authenticated
>    - Packet MUST have Notify Payload
>    - The Notify type MUST be SYNC_SA_COUNTER_INFO
>
>  From this it's clear that most implementations will have to do the
> validation in multiple steps.  One before decryption, one after decryption
> and perhaps one after decoding the Notify Payload.
>
> 	Pekka

From kagarigi@cisco.com  Thu Sep 16 02:04:22 2010
Return-Path: <kagarigi@cisco.com>
X-Original-To: ipsec@core3.amsl.com
Delivered-To: ipsec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id DB31C3A6900 for <ipsec@core3.amsl.com>; Thu, 16 Sep 2010 02:04:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.351
X-Spam-Level: 
X-Spam-Status: No, score=-10.351 tagged_above=-999 required=5 tests=[AWL=0.248, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id u9blKNFoCcai for <ipsec@core3.amsl.com>; Thu, 16 Sep 2010 02:04:21 -0700 (PDT)
Received: from ams-iport-1.cisco.com (ams-iport-1.cisco.com [144.254.224.140]) by core3.amsl.com (Postfix) with ESMTP id 36C053A6820 for <ipsec@ietf.org>; Thu, 16 Sep 2010 02:04:21 -0700 (PDT)
Authentication-Results: ams-iport-1.cisco.com; dkim=neutral (message not signed) header.i=none
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AvsEABJ7kUyQ/khN/2dsb2JhbAChd3GkeZxDhUEEhEiIaA
X-IronPort-AV: E=Sophos;i="4.56,375,1280707200"; d="scan'208";a="64489099"
Received: from ams-core-4.cisco.com ([144.254.72.77]) by ams-iport-1.cisco.com with ESMTP; 16 Sep 2010 09:04:44 +0000
Received: from xbh-bgl-412.cisco.com (xbh-bgl-412.cisco.com [72.163.129.202]) by ams-core-4.cisco.com (8.14.3/8.14.3) with ESMTP id o8G94Zsw027130; Thu, 16 Sep 2010 09:04:44 GMT
Received: from xmb-bgl-417.cisco.com ([72.163.129.213]) by xbh-bgl-412.cisco.com with Microsoft SMTPSVC(6.0.3790.4675);  Thu, 16 Sep 2010 14:34:43 +0530
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Date: Thu, 16 Sep 2010 14:34:42 +0530
Message-ID: <04BD913C7AD1B84297D26D5614FBE133017B4491@XMB-BGL-417.cisco.com>
In-Reply-To: <Pine.NEB.4.64.1009152201001.3394@otaku.Xtrmntr.org>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [IPsec] Moving forward with the HA solution draft
Thread-Index: ActVe+zMloSBr+asTHmQT6koZH73UAAAYLYg
References: <4C8DE47A.6060005@gmail.com> <Pine.NEB.4.64.1009152201001.3394@otaku.Xtrmntr.org>
From: "Kalyani Garigipati (kagarigi)" <kagarigi@cisco.com>
To: "Pekka Riikonen" <priikone@iki.fi>, "Yaron Sheffer" <yaronf.ietf@gmail.com>
X-OriginalArrivalTime: 16 Sep 2010 09:04:43.0752 (UTC) FILETIME=[340A4680:01CB557E]
Cc: IPsecme WG <ipsec@ietf.org>
Subject: Re: [IPsec] Moving forward with the HA solution draft
X-BeenThere: ipsec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discussion of IPsec protocols <ipsec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipsec>
List-Post: <mailto:ipsec@ietf.org>
List-Help: <mailto:ipsec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 16 Sep 2010 09:04:22 -0000

Hi Pekka,

Regarding the race condition, I think instead of starting the message
Id's altogether with 1, we can have the devices sync up to the higher
value among the responses.

  Cluster A              Cluster B
    request SYNC      -->
                <--      request SYNC
    response (4,4)    -->
                <--      response (5,5)

Cluster A should update its values to 5,5 whereas Cluster B should not
update its values since its values are higher than the values at Cluster
A.=20
Which means Cluster B has correctly synced its message values  to some
extent when compared with Cluster A.

In the next revision we shall explain this in the draft.

Regards,
kalyani

-----Original Message-----
From: ipsec-bounces@ietf.org [mailto:ipsec-bounces@ietf.org] On Behalf
Of Pekka Riikonen
Sent: Thursday, September 16, 2010 2:19 PM
To: Yaron Sheffer
Cc: IPsecme WG
Subject: Re: [IPsec] Moving forward with the HA solution draft

On Mon, 13 Sep 2010, Yaron Sheffer wrote:

: I propose that version -01 of the draft should resolve the following 3
issues
: (and if possible, no others):
:=20
:    * Separate negotiation of synchronization of the IKE SA counters
vs.
:      the IPsec SA counters. IPsec counter sync should work even when
:      used with a "normal" IKE exchange (non-zero Message ID).
:    * A scalable solution for the IPsec counter sync: send a delta
:      value that applies to all (incoming) child SAs, instead of
sending
:      one value per child SA.
:    * The replay issue that Tero identified at the meeting.
:=20
I started implementing the draft yesterday and here are some of the
issues=20
that came up (in addition to the issues listed above):

- Error handling.  The draft explains what to do if the nonce in the=20
response is wrong but it doesn't mention what to do if the entire=20
SYNC_SA_COUNTER_INFO payload is malformed (in request or response).

- The SYNC_SA_COUNTER_INFO payload defined in the draft is sent inside=20
Notify Payload, but the draft doesn't mention what to fill into the
Notify=20
Payload header.  Are the fields zero or should it define the Protocol
ID,=20
for example?  There's some redundancy between the Notify Payload and the

SYNC_SA_COUNTER_INFO payload (in the header).

- The draft could also give additional reason for sending=20
SYNC_SA_COUNTER_INFO request.  For example, in a cluster setup with two
or=20
more online nodes that actively handle IKE and IPSEC SAs any load=20
balancing change that changes the ownwership of the IKE SA in the
cluster=20
could trigger the use of this protoocol.  This protocol applies to also=20
non-failover cases when ownerships change (protocol may or may not be=20
needed depending on the cluster implementation).

- Race condition when both ends are clusters and failover happen at the=20
same time in both ends.  In this case both ends may end up sending the=20
SYNC_SA_COUNTER_INFO request.  Since both ends now cannot know the
window=20
reliably some solution for this should be defined in the protocol.  One=20
way to do this to say that implementations MUST set their window to the=20
values of one and respond with that:

  Cluster A              Cluster B
    request SYNC      -->
                <--      request SYNC
    response (1,1)    -->
                <--      response (1,1)

If you receive SYNC_SA_COUNTER_INFO request while you're waiting for=20
response to your own request it means that the remote peer has had=20
failover too, and it cannot reliably return to you any valid values. =20
Neither can you, so only thing you can do is to return window with
values=20
one.  (Actually implementation should check whether it has had failover=20
(or the IKE SA has changed ownership) when it receives the request, even

if it hasn't yet sent its own request, and in that case respond with the

value one and set its own window.  Implementation must also be careful=20
not to cancel its own pending request.)

- Validation of SYNC_SA_COUNTER_INFO request.  The draft could more=20
clearly define what is the proper way of validating that a packet with=20
message id 0 is actually a valid SYNC_SA_COUNTER_INFO request:

  - Message id MUST be 0
  - Exchange type MUST be INFORMATIONAL
  - Packet MUST be encrypted
  - IKE SA MUST be authenticated
  - Packet MUST have Notify Payload
  - The Notify type MUST be SYNC_SA_COUNTER_INFO

>From this it's clear that most implementations will have to do the=20
validation in multiple steps.  One before decryption, one after
decryption=20
and perhaps one after decoding the Notify Payload.

	Pekka
_______________________________________________
IPsec mailing list
IPsec@ietf.org
https://www.ietf.org/mailman/listinfo/ipsec

From priikone@iki.fi  Thu Sep 16 02:30:53 2010
Return-Path: <priikone@iki.fi>
X-Original-To: ipsec@core3.amsl.com
Delivered-To: ipsec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 7EFDF3A6924 for <ipsec@core3.amsl.com>; Thu, 16 Sep 2010 02:30:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WHuBPRF6+RBk for <ipsec@core3.amsl.com>; Thu, 16 Sep 2010 02:30:48 -0700 (PDT)
Received: from otaku.Xtrmntr.org (sauna.silcnet.org [IPv6:2001:4118:10:4000::2205]) by core3.amsl.com (Postfix) with ESMTP id 385C13A6A0C for <ipsec@ietf.org>; Thu, 16 Sep 2010 02:30:48 -0700 (PDT)
Received: by otaku.Xtrmntr.org (Postfix, from userid 201) id 2078E495F; Thu, 16 Sep 2010 11:32:11 +0200 (CEST)
Received: from localhost (localhost [127.0.0.1]) by otaku.Xtrmntr.org (Postfix) with ESMTP id 1E99348AC; Thu, 16 Sep 2010 11:32:11 +0200 (CEST)
Date: Thu, 16 Sep 2010 11:32:10 +0200 (CEST)
From: Pekka Riikonen <priikone@iki.fi>
X-X-Sender: priikone@otaku.Xtrmntr.org
To: Yaron Sheffer <yaronf.ietf@gmail.com>
In-Reply-To: <4C91DC48.9000906@gmail.com>
Message-ID: <Pine.NEB.4.64.1009161129280.2441@otaku.Xtrmntr.org>
References: <4C8DE47A.6060005@gmail.com> <Pine.NEB.4.64.1009152201001.3394@otaku.Xtrmntr.org> <4C91DC48.9000906@gmail.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Cc: IPsecme WG <ipsec@ietf.org>
Subject: Re: [IPsec] Moving forward with the HA solution draft
X-BeenThere: ipsec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discussion of IPsec protocols <ipsec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipsec>
List-Post: <mailto:ipsec@ietf.org>
List-Help: <mailto:ipsec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 16 Sep 2010 09:30:53 -0000

On Thu, 16 Sep 2010, Yaron Sheffer wrote:

: my intention was to focus the work on the draft, so we can move towards a
: complete specification. The current document is incomplete and needs quite a
: few changes, but I also do *not* expect the next revision to be ready to
: implement. Sorry to disappoint you. Error handling, for example, is IMHO
: better left for a later revision.
: 
I know, no worries.  We (as in me) need a solution to this problem soon so 
I will implement some version of the protocol and use it with our 
products.  I will support also the final version of the protocol.

: On the other hand, you are raising valid issues, and I would like to ask 
: the draft authors to record them on the issue tracker so that we can 
: resolve them later.
: 
: Do you consider any of these issues as showstoppers for the next revision?
: 
No.

	Pekka

From priikone@iki.fi  Thu Sep 16 02:42:24 2010
Return-Path: <priikone@iki.fi>
X-Original-To: ipsec@core3.amsl.com
Delivered-To: ipsec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 9C8A03A68E2 for <ipsec@core3.amsl.com>; Thu, 16 Sep 2010 02:42:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rGg2wKNWzOeK for <ipsec@core3.amsl.com>; Thu, 16 Sep 2010 02:42:23 -0700 (PDT)
Received: from otaku.Xtrmntr.org (sauna.silcnet.org [IPv6:2001:4118:10:4000::2205]) by core3.amsl.com (Postfix) with ESMTP id 48E403A6820 for <ipsec@ietf.org>; Thu, 16 Sep 2010 02:42:23 -0700 (PDT)
Received: by otaku.Xtrmntr.org (Postfix, from userid 201) id 6BBCA498E; Thu, 16 Sep 2010 11:43:49 +0200 (CEST)
Received: from localhost (localhost [127.0.0.1]) by otaku.Xtrmntr.org (Postfix) with ESMTP id 6A0334964; Thu, 16 Sep 2010 11:43:49 +0200 (CEST)
Date: Thu, 16 Sep 2010 11:43:48 +0200 (CEST)
From: Pekka Riikonen <priikone@iki.fi>
X-X-Sender: priikone@otaku.Xtrmntr.org
To: "Kalyani Garigipati (kagarigi)" <kagarigi@cisco.com>
In-Reply-To: <04BD913C7AD1B84297D26D5614FBE133017B4491@XMB-BGL-417.cisco.com>
Message-ID: <Pine.NEB.4.64.1009161132370.2441@otaku.Xtrmntr.org>
References: <4C8DE47A.6060005@gmail.com> <Pine.NEB.4.64.1009152201001.3394@otaku.Xtrmntr.org> <04BD913C7AD1B84297D26D5614FBE133017B4491@XMB-BGL-417.cisco.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Cc: IPsecme WG <ipsec@ietf.org>
Subject: Re: [IPsec] Moving forward with the HA solution draft
X-BeenThere: ipsec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discussion of IPsec protocols <ipsec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipsec>
List-Post: <mailto:ipsec@ietf.org>
List-Help: <mailto:ipsec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 16 Sep 2010 09:42:24 -0000

On Thu, 16 Sep 2010, Kalyani Garigipati (kagarigi) wrote:

: Regarding the race condition, I think instead of starting the message
: Id's altogether with 1, we can have the devices sync up to the higher
: value among the responses.
: 
:   Cluster A              Cluster B
:     request SYNC      -->
:                 <--      request SYNC
:     response (4,4)    -->
:                 <--      response (5,5)
: 
: Cluster A should update its values to 5,5 whereas Cluster B should not
: update its values since its values are higher than the values at Cluster
: A. 
: Which means Cluster B has correctly synced its message values  to some
: extent when compared with Cluster A.
: 
I don't think this can work, because the responses can cross each other in 
the network also, and most likely do if the requests did as well.  That 
is, Cluster A responds same time as Cluster B before it has received the 
response.  The implementation would have to wait for the response before 
sending its own response.  But, what if the other end is waiting it also?  
It's a dead lock.

I think it needs to be a pre-defined value that both end set in this case 
or there needs to be some arbitration between the peers to deicde who 
waits.  I'd go for the simplest solution.

	Pekka

From yaronf.ietf@gmail.com  Thu Sep 16 02:48:41 2010
Return-Path: <yaronf.ietf@gmail.com>
X-Original-To: ipsec@core3.amsl.com
Delivered-To: ipsec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id BF2563A692A for <ipsec@core3.amsl.com>; Thu, 16 Sep 2010 02:48:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.435
X-Spam-Level: 
X-Spam-Status: No, score=-102.435 tagged_above=-999 required=5 tests=[AWL=0.164, BAYES_00=-2.599, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mV-x4FcTExAR for <ipsec@core3.amsl.com>; Thu, 16 Sep 2010 02:48:39 -0700 (PDT)
Received: from mail-bw0-f44.google.com (mail-bw0-f44.google.com [209.85.214.44]) by core3.amsl.com (Postfix) with ESMTP id 112743A68DD for <ipsec@ietf.org>; Thu, 16 Sep 2010 02:48:38 -0700 (PDT)
Received: by bwz9 with SMTP id 9so1956096bwz.31 for <ipsec@ietf.org>; Thu, 16 Sep 2010 02:49:03 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=I6IUCyIXt5CEQ6YPvvsGqBMP40BprvXecL6FVuGHVS4=; b=vprFaUmBalCPF7Sc47/jBRYyGK9UAf2IZ3aaNwv55P+N1lN3c3XYUYB1H0Lp1XAKWn 4ok1Ti0IGDCs9GSgcoRCfn9W7t+EGlbPam7qzCG4NDBjMilCqro1oHw81hCpXxJqUIEF +ifM2Rs8W7RWifCnl5EzO+5+aHALbj631auVg=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=Zaux2YARYiEJ+fiGFShNvSxid/ufrD8eDiNOxW3COo8nwPFvey21IRrtvi4gvCJ6ue JjiE46PmVMzouYi+LYjwdeAjXkHqq3s251FC29+QLJXacWQmAcNKAeq6kvcOKQzNv2fi Eu7LVSz5oPa6ku9hC3OxEgeoCI8pFauW8gI8Q=
Received: by 10.204.121.84 with SMTP id g20mr2413824bkr.37.1284630543472; Thu, 16 Sep 2010 02:49:03 -0700 (PDT)
Received: from [10.0.0.2] (bzq-79-183-43-64.red.bezeqint.net [79.183.43.64]) by mx.google.com with ESMTPS id f18sm2300578bkf.15.2010.09.16.02.49.00 (version=SSLv3 cipher=RC4-MD5); Thu, 16 Sep 2010 02:49:01 -0700 (PDT)
Message-ID: <4C91E809.1080806@gmail.com>
Date: Thu, 16 Sep 2010 11:48:57 +0200
From: Yaron Sheffer <yaronf.ietf@gmail.com>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.12) Gecko/20100826 Lightning/1.0b1 Thunderbird/3.0.7
MIME-Version: 1.0
To: Pekka Riikonen <priikone@iki.fi>
References: <4C8DE47A.6060005@gmail.com> <Pine.NEB.4.64.1009152201001.3394@otaku.Xtrmntr.org> <04BD913C7AD1B84297D26D5614FBE133017B4491@XMB-BGL-417.cisco.com> <Pine.NEB.4.64.1009161132370.2441@otaku.Xtrmntr.org>
In-Reply-To: <Pine.NEB.4.64.1009161132370.2441@otaku.Xtrmntr.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: IPsecme WG <ipsec@ietf.org>, "Kalyani Garigipati \(kagarigi\)" <kagarigi@cisco.com>
Subject: Re: [IPsec] Moving forward with the HA solution draft
X-BeenThere: ipsec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discussion of IPsec protocols <ipsec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipsec>
List-Post: <mailto:ipsec@ietf.org>
List-Help: <mailto:ipsec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 16 Sep 2010 09:48:41 -0000

We already have "arbitration" for a similar problem: 
http://tools.ietf.org/html/rfc5996#section-2.8.1

Thanks,
	Yaron

On 09/16/2010 11:43 AM, Pekka Riikonen wrote:
> On Thu, 16 Sep 2010, Kalyani Garigipati (kagarigi) wrote:
>
> : Regarding the race condition, I think instead of starting the message
> : Id's altogether with 1, we can have the devices sync up to the higher
> : value among the responses.
> :
> :   Cluster A              Cluster B
> :     request SYNC      -->
> :<--      request SYNC
> :     response (4,4)    -->
> :<--      response (5,5)
> :
> : Cluster A should update its values to 5,5 whereas Cluster B should not
> : update its values since its values are higher than the values at Cluster
> : A.
> : Which means Cluster B has correctly synced its message values  to some
> : extent when compared with Cluster A.
> :
> I don't think this can work, because the responses can cross each other in
> the network also, and most likely do if the requests did as well.  That
> is, Cluster A responds same time as Cluster B before it has received the
> response.  The implementation would have to wait for the response before
> sending its own response.  But, what if the other end is waiting it also?
> It's a dead lock.
>
> I think it needs to be a pre-defined value that both end set in this case
> or there needs to be some arbitration between the peers to deicde who
> waits.  I'd go for the simplest solution.
>
> 	Pekka

From kagarigi@cisco.com  Thu Sep 16 02:52:56 2010
Return-Path: <kagarigi@cisco.com>
X-Original-To: ipsec@core3.amsl.com
Delivered-To: ipsec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 970603A6AA9 for <ipsec@core3.amsl.com>; Thu, 16 Sep 2010 02:52:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.412
X-Spam-Level: 
X-Spam-Status: No, score=-6.412 tagged_above=-999 required=5 tests=[AWL=-3.814, BAYES_00=-2.599, HTML_MESSAGE=0.001]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RD15C2nlXmpJ for <ipsec@core3.amsl.com>; Thu, 16 Sep 2010 02:52:50 -0700 (PDT)
Received: from ams-iport-2.cisco.com (ams-iport-2.cisco.com [144.254.224.141]) by core3.amsl.com (Postfix) with ESMTP id A67443A6964 for <ipsec@ietf.org>; Thu, 16 Sep 2010 02:52:49 -0700 (PDT)
Authentication-Results: ams-iport-2.cisco.com; dkim=neutral (message not signed) header.i=none
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AgMFANuFkUyQ/khL/2dsb2JhbACBRaAycaRCnD+FQQSESIho
X-IronPort-AV: E=Sophos;i="4.56,375,1280707200"; d="scan'208,217";a="9547237"
Received: from ams-core-2.cisco.com ([144.254.72.75]) by ams-iport-2.cisco.com with ESMTP; 16 Sep 2010 09:53:14 +0000
Received: from xbh-bgl-412.cisco.com (xbh-bgl-412.cisco.com [72.163.129.202]) by ams-core-2.cisco.com (8.14.3/8.14.3) with ESMTP id o8G9qeZK008690; Thu, 16 Sep 2010 09:53:13 GMT
Received: from xmb-bgl-417.cisco.com ([72.163.129.213]) by xbh-bgl-412.cisco.com with Microsoft SMTPSVC(6.0.3790.4675);  Thu, 16 Sep 2010 15:22:56 +0530
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01CB5584.F03D179E"
Date: Thu, 16 Sep 2010 15:22:56 +0530
Message-ID: <04BD913C7AD1B84297D26D5614FBE133017B44B5@XMB-BGL-417.cisco.com>
In-Reply-To: <Pine.NEB.4.64.1009161132370.2441@otaku.Xtrmntr.org>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [IPsec] Moving forward with the HA solution draft
Thread-Index: ActVg4mmZpn2h7nfTyimY41MPljY9gAAFi8g
References: <4C8DE47A.6060005@gmail.com> <Pine.NEB.4.64.1009152201001.3394@otaku.Xtrmntr.org> <04BD913C7AD1B84297D26D5614FBE133017B4491@XMB-BGL-417.cisco.com> <Pine.NEB.4.64.1009161132370.2441@otaku.Xtrmntr.org>
From: "Kalyani Garigipati (kagarigi)" <kagarigi@cisco.com>
To: "Pekka Riikonen" <priikone@iki.fi>
X-OriginalArrivalTime: 16 Sep 2010 09:52:56.0787 (UTC) FILETIME=[F06C6230:01CB5584]
Cc: IPsecme WG <ipsec@ietf.org>
Subject: Re: [IPsec] Moving forward with the HA solution draft
X-BeenThere: ipsec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discussion of IPsec protocols <ipsec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipsec>
List-Post: <mailto:ipsec@ietf.org>
List-Help: <mailto:ipsec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 16 Sep 2010 09:52:57 -0000

This is a multi-part message in MIME format.

------_=_NextPart_001_01CB5584.F03D179E
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hi Pekka,

=20

I think this would work even in the case when the responses are
crossing.

Let each device send its response irrespective of whether it itself has
just sent the request.

=20

Irrespective of who sent/received the response first, if we sync to the
higher values, then eventually both the devices will end up having same
values.

=20

In the approach which I suggested, B need not wait for A to respond. It
can just send its values and ignore (don't update the received values )
the message response received from A

=20

Please correct me if I am missing something.=20

=20

While arbitration can also be used, the above approach seems simple.

=20

Regards,

Kalyani

=20

=20

-----Original Message-----
From: Pekka Riikonen [mailto:priikone@iki.fi]=20
Sent: Thursday, September 16, 2010 3:14 PM
To: Kalyani Garigipati (kagarigi)
Cc: Yaron Sheffer; IPsecme WG
Subject: RE: [IPsec] Moving forward with the HA solution draft

=20

On Thu, 16 Sep 2010, Kalyani Garigipati (kagarigi) wrote:

=20

: Regarding the race condition, I think instead of starting the message

: Id's altogether with 1, we can have the devices sync up to the higher

: value among the responses.

:=20

:   Cluster A              Cluster B

:     request SYNC      -->

:                 <--      request SYNC

:     response (4,4)    -->

:                 <--      response (5,5)

:=20

: Cluster A should update its values to 5,5 whereas Cluster B should not

: update its values since its values are higher than the values at
Cluster

: A.=20

: Which means Cluster B has correctly synced its message values  to some

: extent when compared with Cluster A.

:=20

I don't think this can work, because the responses can cross each other
in=20

the network also, and most likely do if the requests did as well.  That=20

is, Cluster A responds same time as Cluster B before it has received the


response.  The implementation would have to wait for the response before


sending its own response.  But, what if the other end is waiting it
also? =20

It's a dead lock.

=20

I think it needs to be a pre-defined value that both end set in this
case=20

or there needs to be some arbitration between the peers to deicde who=20

waits.  I'd go for the simplest solution.

=20

      Pekka


------_=_NextPart_001_01CB5584.F03D179E
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns=3D"http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)">
<style>
<!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman";}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{color:purple;
	text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:10.0pt;
	font-family:"Courier New";}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 77.95pt 1.0in 77.95pt;}
div.Section1
	{page:Section1;}
-->
</style>

</head>

<body lang=3DEN-US link=3Dblue vlink=3Dpurple>

<div class=3DSection1>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>Hi Pekka,<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>I think this would work even in the case when the responses are
crossing.<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>Let each device send its response irrespective of whether it =
itself has
just sent the request.<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>Irrespective of who sent/received the response first, if we sync =
to the
higher values, then eventually both the devices will end up having same =
values.<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt;
font-family:"Courier New"'>In the approach which I suggested, B need not =
wait
for A to respond. It can just send its values and ignore (don&#8217;t =
update
the received values ) the message response received from =
A<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>Please correct me if I am missing something. =
<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>While arbitration can also be used, the above approach seems =
simple.<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>Regards,<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>Kalyani<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>-----Original Message-----<br>
From: Pekka Riikonen [mailto:priikone@iki.fi] <br>
Sent: Thursday, September 16, 2010 3:14 PM<br>
To: Kalyani Garigipati (kagarigi)<br>
Cc: Yaron Sheffer; IPsecme WG<br>
Subject: RE: [IPsec] Moving forward with the HA solution =
draft</span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>On Thu, 16 Sep 2010, Kalyani Garigipati (kagarigi) =
wrote:<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>: Regarding the race condition, I think instead of starting the =
message<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>: Id's altogether with 1, we can have the devices sync up to the =
higher<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>: value among the responses.<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>: <o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>:&nbsp;&nbsp; Cluster
A&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;
Cluster B<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>:&nbsp;&nbsp;&nbsp;&nbsp; request =
SYNC&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
--&gt;<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;--&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; request =
SYNC<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>:&nbsp;&nbsp;&nbsp;&nbsp; response (4,4)&nbsp;&nbsp;&nbsp; =
--&gt;<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;--&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; response =
(5,5)<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>: <o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>: Cluster A should update its values to 5,5 whereas Cluster B =
should
not<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>: update its values since its values are higher than the values =
at
Cluster<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>: A. <o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>: Which means Cluster B has correctly synced its message =
values&nbsp;
to some<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>: extent when compared with Cluster =
A.<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>: <o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>I don't think this can work, because the responses can cross =
each other
in <o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>the network also, and most likely do if the requests did as =
well.&nbsp;
That <o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>is, Cluster A responds same time as Cluster B before it has =
received
the <o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>response.&nbsp; The implementation would have to wait for the =
response
before <o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>sending its own response.&nbsp; But, what if the other end is =
waiting
it also?&nbsp; <o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>It's a dead lock.<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>I think it needs to be a pre-defined value that both end set in =
this
case <o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>or there needs to be some arbitration between the peers to =
deicde who <o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>waits.&nbsp; I'd go for the simplest =
solution.<o:p></o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
Pekka<o:p></o:p></span></font></p>

</div>

</body>

</html>

------_=_NextPart_001_01CB5584.F03D179E--

From priikone@iki.fi  Thu Sep 16 03:01:37 2010
Return-Path: <priikone@iki.fi>
X-Original-To: ipsec@core3.amsl.com
Delivered-To: ipsec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 7F50F3A6940 for <ipsec@core3.amsl.com>; Thu, 16 Sep 2010 03:01:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[AWL=0.000,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id oj-EkGLDRztX for <ipsec@core3.amsl.com>; Thu, 16 Sep 2010 03:01:36 -0700 (PDT)
Received: from otaku.Xtrmntr.org (sauna.silcnet.org [IPv6:2001:4118:10:4000::2205]) by core3.amsl.com (Postfix) with ESMTP id 728943A68FF for <ipsec@ietf.org>; Thu, 16 Sep 2010 03:01:36 -0700 (PDT)
Received: by otaku.Xtrmntr.org (Postfix, from userid 201) id DD815498E; Thu, 16 Sep 2010 12:02:59 +0200 (CEST)
Received: from localhost (localhost [127.0.0.1]) by otaku.Xtrmntr.org (Postfix) with ESMTP id DBED54959; Thu, 16 Sep 2010 12:02:59 +0200 (CEST)
Date: Thu, 16 Sep 2010 12:02:59 +0200 (CEST)
From: Pekka Riikonen <priikone@iki.fi>
X-X-Sender: priikone@otaku.Xtrmntr.org
To: "Kalyani Garigipati (kagarigi)" <kagarigi@cisco.com>
In-Reply-To: <04BD913C7AD1B84297D26D5614FBE133017B44B5@XMB-BGL-417.cisco.com>
Message-ID: <Pine.NEB.4.64.1009161159290.2441@otaku.Xtrmntr.org>
References: <4C8DE47A.6060005@gmail.com> <Pine.NEB.4.64.1009152201001.3394@otaku.Xtrmntr.org> <04BD913C7AD1B84297D26D5614FBE133017B4491@XMB-BGL-417.cisco.com> <Pine.NEB.4.64.1009161132370.2441@otaku.Xtrmntr.org> <04BD913C7AD1B84297D26D5614FBE133017B44B5@XMB-BGL-417.cisco.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Cc: IPsecme WG <ipsec@ietf.org>
Subject: Re: [IPsec] Moving forward with the HA solution draft
X-BeenThere: ipsec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discussion of IPsec protocols <ipsec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipsec>
List-Post: <mailto:ipsec@ietf.org>
List-Help: <mailto:ipsec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 16 Sep 2010 10:01:37 -0000

On Thu, 16 Sep 2010, Kalyani Garigipati (kagarigi) wrote:

: Irrespective of who sent/received the response first, if we sync to the
: higher values, then eventually both the devices will end up having same
: values.
: 
: In the approach which I suggested, B need not wait for A to respond. It
: can just send its values and ignore (don't update the received values )
: the message response received from A
: 
You're right, it works when using always the highest values.

	Pekka

From wierbows@us.ibm.com  Thu Sep 16 08:15:26 2010
Return-Path: <wierbows@us.ibm.com>
X-Original-To: ipsec@core3.amsl.com
Delivered-To: ipsec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 9A2833A6B82; Thu, 16 Sep 2010 08:15:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.012
X-Spam-Level: 
X-Spam-Status: No, score=-6.012 tagged_above=-999 required=5 tests=[AWL=0.587,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TSiSwyJMEIRN; Thu, 16 Sep 2010 08:15:23 -0700 (PDT)
Received: from e3.ny.us.ibm.com (e3.ny.us.ibm.com [32.97.182.143]) by core3.amsl.com (Postfix) with ESMTP id 0C09A3A6B79; Thu, 16 Sep 2010 08:14:39 -0700 (PDT)
Received: from d01relay03.pok.ibm.com (d01relay03.pok.ibm.com [9.56.227.235]) by e3.ny.us.ibm.com (8.14.4/8.13.1) with ESMTP id o8GEwwxU011838; Thu, 16 Sep 2010 10:58:58 -0400
Received: from d01av02.pok.ibm.com (d01av02.pok.ibm.com [9.56.224.216]) by d01relay03.pok.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id o8GFEriD331118; Thu, 16 Sep 2010 11:14:53 -0400
Received: from d01av02.pok.ibm.com (loopback [127.0.0.1]) by d01av02.pok.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id o8GFEr2e004928; Thu, 16 Sep 2010 12:14:53 -0300
Received: from d01ml084.pok.ibm.com (d01ml084.pok.ibm.com [9.63.10.23]) by d01av02.pok.ibm.com (8.14.4/8.13.1/NCO v10.0 AVin) with ESMTP id o8GFErKr004903; Thu, 16 Sep 2010 12:14:53 -0300
In-Reply-To: <19600.33044.946153.563329@fireball.kivinen.iki.fi>
References: <19591.24647.497524.822377@fireball.kivinen.iki.fi>	<OF5FA16AF2.68E07CE8-ON85257798.00420B7B-85257798.00432258@us.ibm.com> <19591.32575.931479.621032@fireball.kivinen.iki.fi>	<OFABFD4196.1816F673-ON85257798.0044B57D-85257798.0045F6BE@us.ibm.com> <19592.37973.545808.950166@fireball.kivinen.iki.fi>	<p06240843c8aea65a98f5@[10.20.30.158]> <19594.16591.378433.920474@fireball.kivinen.iki.fi>	<OFDC6E0157.D36F9AEF-ON8525779A.0050D318-8525779A.00529CA9@us.ibm.com> <4C8C95E9.5080801@gmail.com>	<OF1124BD84.FB1528CC-ON8525779E.0055DF06-8525779E.0057AE5E@us.ibm.com> <19600.33044.946153.563329@fireball.kivinen.iki.fi>
X-KeepSent: F547FB24:640FAB59-852577A0:005006C8; type=4; name=$KeepSent
To: ipsec@ietf.org, ipsec-bounces@ietf.org
X-Mailer: Lotus Notes Release 8.5.1FP1 SHF20 February 10, 2010
Message-ID: <OFF547FB24.640FAB59-ON852577A0.005006C8-852577A0.0053C232@us.ibm.com>
From: David Wierbowski <wierbows@us.ibm.com>
Date: Thu, 16 Sep 2010 11:14:52 -0400
X-MIMETrack: Serialize by Router on D01ML084/01/M/IBM(Release 8.0.2FP4|December 10, 2009) at 09/16/2010 11:14:53
MIME-Version: 1.0
Content-type: text/plain; charset=US-ASCII
Subject: Re: [IPsec] Comments to draft-ietf-ipsecme-failure-detection-00
X-BeenThere: ipsec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discussion of IPsec protocols <ipsec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipsec>
List-Post: <mailto:ipsec@ietf.org>
List-Help: <mailto:ipsec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 16 Sep 2010 15:15:26 -0000

Tero writes:
>David Wierbowski writes:
>> Tero writes:
>> >I do not consider very open protocols which allow all kind of things
>> >"just for fun" and "in case we someday get scenario which can use it"
>> >as good thing.
>>
>> I do not think we are allowing the initiator and responder to
>> be both a taker and a maker just for fun.  There are cases where
>> either side can initiate and it makes sense in those cases.
>
>Can you give example of such setup, preferrable something that I have
>not already covered in my previous emails and explained why QCD is not
>needed there.

Consider a business partner relationship where data exchanged between
the partners are protected by IPsec.  In these environments it is often
common for either end to initiate a negotiation and for either end to
initiate sending data.  For example perhaps they share a process
management system or order fulfillment system.  One end might initiate
a connection to submit an request/order.  Days later the other end might
initiate a connection to indicate the fulfillment of the request/order.
There truly envirnoments that do and can initiate from either end.

The ability to initiate an IKE_SA is not the only case where allowing
both endpoint be takers and makers is applicable.  Consider the
following:

Host (responder) <======> GW (initiator) <-------> Client

The Client is connecting to the Host.  The GW chooses to initiate a
single SA per client behind the GW.  The Client's connection has data
streaming in from the host -- perhaps the Client is downloading a
significant database replication update.  The GW oes down.  The Client
connection is still viable.  If the GW goes down and I am the host I do
not want to depend on the GW being smart enough to receive my ESP packet
and negotiate a new tunnel, especially when QCD might let me (the host)
initiate a new tunnel.  It really does not matter if the Host could have
done this initial negotiation.  It just to be able to reconstitute the SA.

When the GW goes down the host still has the IKE and Child SAs, and in
many cases it should be able to renegotiate them just as though it were
reauthenticating.

It seems unlikely to me that every GW behaves as Tero suggests here.  In
case that do not behave as Tero suggest QCD will allow me to drive a faster

recovery.

I think allowing both the initiator and responder to be token makers
actually keeps the protocol simpler.  From an implementation perspective
I'd prefer to take advantage of QCD as a rather than rely on the fact that
every gateway behaves as Tero suggests.  Using QCD seems like a simpler
and safer approach.

>> In a previous append Tero said:
>> >As I explained that if both ends can initiate the creation of the IKE
>> >SA, then QCD is not needed as both end can simply recreate the IKE SA
>> >immediately (with INITIAL_CONTACT notify) when they are up and running
>> >(or when they receive first unknown ESP packet from the configured
>> >peer). This is simple and already specified by the IKEv2, so no new
>> >code is needed.
>>
>> I certainly would not advise creating an IKE_SA based on the receipt of
>> an unknown ESP packet from a configured peer.  If the ESP packet is
>> unknown then it is not authenticated and could have come from anywhere.
>
>Yes it is not authenticated, but you do have limited number of
>configured IP-addresses in your configuration file, which means that
>attacker can only set up IKE SA for exactly those hosts, not any
>other, and as you only create the IKE SA if you do not have any, then
>only thing attacker can cause is you to create the IKE SA even when
>you do not yet have traffic to go that way.

I'm not so sure that having a limited number of configured IP addresses in
the configuration file equates to having a small number of address.  It is
also likely that one could easily determine the range of valid addresses.

>
>> Prior to QCD, if the initiator of the initial IKE_SA reboots and then
>> receives a packet with an invalid ESP SPI from the responder the
>> initiator would send an INVALID_SPI notify to the responder.
>
>As I said, in our case we do check our configuration and if the
>invalid ESP packet has IP-address which matches a known peer in the
>configuration file, our implementation do set up the IKE SA for the
>peer and do send Child SA delete for the ESP SPI to clean up the
>state.

But how do you authenticate that address?  Are you saying that if I
find an addresses in your config file that I can sit there all day
sending you bogus ESP packets and watch you initiate IKE_SAs?  I must
be missing something here.


Dave Wierbowski


From paul.hoffman@vpnc.org  Thu Sep 16 17:30:07 2010
Return-Path: <paul.hoffman@vpnc.org>
X-Original-To: ipsec@core3.amsl.com
Delivered-To: ipsec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 1A4C13A6A8D for <ipsec@core3.amsl.com>; Thu, 16 Sep 2010 17:30:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -101.267
X-Spam-Level: 
X-Spam-Status: No, score=-101.267 tagged_above=-999 required=5 tests=[AWL=0.779, BAYES_00=-2.599, HELO_MISMATCH_COM=0.553, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id J2mJtBnxnurX for <ipsec@core3.amsl.com>; Thu, 16 Sep 2010 17:30:03 -0700 (PDT)
Received: from hoffman.proper.com (Hoffman.Proper.COM [207.182.41.81]) by core3.amsl.com (Postfix) with ESMTP id 31F593A6A2C for <ipsec@ietf.org>; Thu, 16 Sep 2010 17:30:03 -0700 (PDT)
Received: from [10.20.30.158] (75-101-30-90.dsl.dynamic.sonic.net [75.101.30.90]) (authenticated bits=0) by hoffman.proper.com (8.14.4/8.14.3) with ESMTP id o8H0UQox082309 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for <ipsec@ietf.org>; Thu, 16 Sep 2010 17:30:27 -0700 (MST) (envelope-from paul.hoffman@vpnc.org)
Mime-Version: 1.0
Message-Id: <p0624083cc8b866fc25ad@[10.20.30.158]>
Date: Thu, 16 Sep 2010 17:30:25 -0700
To: IPsecme WG <ipsec@ietf.org>
From: Paul Hoffman <paul.hoffman@vpnc.org>
Content-Type: text/plain; charset="us-ascii"
Subject: [IPsec] Fwd: NomCom 2010-2011: Call for More Nominations
X-BeenThere: ipsec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discussion of IPsec protocols <ipsec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipsec>
List-Post: <mailto:ipsec@ietf.org>
List-Help: <mailto:ipsec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 17 Sep 2010 00:30:07 -0000

Forwarded from the NomCom Chair

>---------- Forwarded message ----------
>From: NomCom Chair <nomcom-chair@ietf.org>
>Date: Thu, Sep 16, 2010 at 6:26 PM
>Subject: NomCom 2010-2011: Call for More Nominations
>To: IETF Announcement list <ietf-announce@ietf.org>
>
>
>
>
>Hi Folks,
>
>Nominations have slowed down dramatically, so this update is to enlist
>the community in an effort to pick up the pace.
>
>We are very far behind in nominations for all the open positions but in
>particular we need nominations for the IESG and IAOC open positions.
>There have been no nominations received (other than for the incumbents)
>in INT, RAI, and RTG, and only 1 for OPS.  Likewise, in IAOC there have
>been no nominations submitted other than the incumbent.
>
>The acceptance rates of those nominated has also been very slow. In
>order to initiate the open list of willing nominees we are in need of a
>reasonable number of acceptances, and due to the low number of nominees
>and acceptances have delayed the start date for publishing the first
>open list to September 20.  So if you have been nominated and are
>willing to serve, but have not yet confirmed this by email back to the
>NomCom, please do so as soon as possible.
>
>We need Community input and participation! We cannot properly execute
>the task of selecting the best candidates for these positions with so
>few nominations and acceptances. So, please consider making
>nominations for the open positions, in particular those for which we
>have so few nominations - it takes just a few minutes of your time.
>Right now, we just need the names/email addresses.
>
>Why do we need more nominations?  Well, even if you think a willing
>incumbent is doing a very good job and should be returned, his or her
>ability to serve again might be impacted by unforeseen circumstances
>between now and March. NomCom needs to consider multiple nominees to be
>prepared in the event one or more candidates is unable to serve come next
>March and to ensure we have chosen the best candidate.
>
>There are several ways you can help the IETF Nominating Committee.
>
>- You may nominate yourself.
>- You can nominate someone you know whom you think would do a good job.
>
>Do not worry about whether they might already be nominated. We would
>much prefer to receive the same nomination several times rather than
>miss a good person we should consider.
>
>How to submit Nominations:
>--------------------------
>The list of positions we need to fill, and the provided Job
>Descriptions, and forms for nominations, can be found in the call for
>nominations at: https://datatracker.ietf.org/ann/nomcom/2468/
>
>You may enter a nomination by going to the following URL
>https://wiki.tools.ietf.org/group/nomcom/10/nominate
>
>You may also nominate someone by sending an email to nomcom10@ietf.org
>and giving us their name, email address and the open position you are
>nominating them for. We will take care of the rest.
>
>If you are asked for a user name and password, use an existing ietf login
>and password. If you need a login and password, request one from the tools
>page at the following URL http://trac.tools.ietf.org/newlogin
>
>
>Open List:
>----------
>As you already know, NomCom 2010-2011 will follow the policy for "Open
>Disclosure of Willing Nominees" described in RFC 5680.
>
>Feedback Collection:
>--------------------
>Once the open list is available, the entire community will be invited
>to provide feedback. I will send a further announcement requesting
>feedback on the nominees, describing how to submit feedback, and how to
>view the open list of nominees.
>
>Thank you,
>
>Thomas Walsh
>Chair, NomCom 2010-2011
>nomcom-chair@ietf.org
>twalsh@juniper.net

From wwwrun@rfc-editor.org  Fri Sep 17 17:03:41 2010
Return-Path: <wwwrun@rfc-editor.org>
X-Original-To: ipsec@core3.amsl.com
Delivered-To: ipsec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 8EE373A6996; Fri, 17 Sep 2010 17:03:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.095
X-Spam-Level: 
X-Spam-Status: No, score=-102.095 tagged_above=-999 required=5 tests=[AWL=-0.095, BAYES_00=-2.599, J_CHICKENPOX_93=0.6, NO_RELAYS=-0.001, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id uqtxJlLeFcFV; Fri, 17 Sep 2010 17:03:40 -0700 (PDT)
Received: from rfc-editor.org (rfc-editor.org [IPv6:2001:1890:1112:1::2f]) by core3.amsl.com (Postfix) with ESMTP id B82553A6991; Fri, 17 Sep 2010 17:03:40 -0700 (PDT)
Received: by rfc-editor.org (Postfix, from userid 30) id BA958E06CD; Fri, 17 Sep 2010 17:04:05 -0700 (PDT)
To: ietf-announce@ietf.org, rfc-dist@rfc-editor.org
From: rfc-editor@rfc-editor.org
Message-Id: <20100918000405.BA958E06CD@rfc-editor.org>
Date: Fri, 17 Sep 2010 17:04:05 -0700 (PDT)
Cc: ipsec@ietf.org, rfc-editor@rfc-editor.org
Subject: [IPsec] RFC 5998 on An Extension for EAP-Only Authentication in IKEv2
X-BeenThere: ipsec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discussion of IPsec protocols <ipsec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipsec>
List-Post: <mailto:ipsec@ietf.org>
List-Help: <mailto:ipsec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 18 Sep 2010 00:03:41 -0000

A new Request for Comments is now available in online RFC libraries.

        
        RFC 5998

        Title:      An Extension for EAP-Only Authentication 
                    in IKEv2 
        Author:     P. Eronen, H. Tschofenig,
                    Y. Sheffer
        Status:     Standards Track
        Stream:     IETF
        Date:       September 2010
        Mailbox:    pe@iki.fi, 
                    Hannes.Tschofenig@gmx.net, 
                    yaronf.ietf@gmail.com
        Pages:      16
        Characters: 33477
        Updates:    RFC5996

        I-D Tag:    draft-ietf-ipsecme-eap-mutual-05.txt

        URL:        http://www.rfc-editor.org/rfc/rfc5998.txt

IKEv2 specifies that Extensible Authentication Protocol (EAP)
authentication must be used together with responder authentication
based on public key signatures.  This is necessary with old EAP
methods that provide only unilateral authentication using, e.g., one-
time passwords or token cards.

This document specifies how EAP methods that provide mutual
authentication and key agreement can be used to provide extensible
responder authentication for IKEv2 based on methods other than public
key signatures.  [STANDARDS TRACK]

This document is a product of the IP Security Maintenance and Extensions Working Group of the IETF.

This is now a Proposed Standard Protocol.

STANDARDS TRACK: This document specifies an Internet standards track
protocol for the Internet community,and requests discussion and suggestions
for improvements.  Please refer to the current edition of the Internet
Official Protocol Standards (STD 1) for the standardization state and
status of this protocol.  Distribution of this memo is unlimited.

This announcement is sent to the IETF-Announce and rfc-dist lists.
To subscribe or unsubscribe, see
  http://www.ietf.org/mailman/listinfo/ietf-announce
  http://mailman.rfc-editor.org/mailman/listinfo/rfc-dist

For searching the RFC series, see http://www.rfc-editor.org/rfcsearch.html.
For downloading RFCs, see http://www.rfc-editor.org/rfc.html.

Requests for special distribution should be addressed to either the
author of the RFC in question, or to rfc-editor@rfc-editor.org.  Unless
specifically noted otherwise on the RFC itself, all RFCs are for
unlimited distribution.


The RFC Editor Team
Association Management Solutions, LLC



From ynir@checkpoint.com  Tue Sep 21 05:58:16 2010
Return-Path: <ynir@checkpoint.com>
X-Original-To: ipsec@core3.amsl.com
Delivered-To: ipsec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id D5BC928C0E7 for <ipsec@core3.amsl.com>; Tue, 21 Sep 2010 05:58:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.547
X-Spam-Level: 
X-Spam-Status: No, score=-2.547 tagged_above=-999 required=5 tests=[AWL=0.052,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id d7MwWIeeD3xu for <ipsec@core3.amsl.com>; Tue, 21 Sep 2010 05:58:16 -0700 (PDT)
Received: from michael.checkpoint.com (smtp.checkpoint.com [194.29.34.68]) by core3.amsl.com (Postfix) with ESMTP id 8EB3128C0E5 for <ipsec@ietf.org>; Tue, 21 Sep 2010 05:58:15 -0700 (PDT)
X-CheckPoint: {4C98AB98-10005-1B221DC2-2FFFF}
Received: from il-ex01.ad.checkpoint.com (il-ex01.checkpoint.com [194.29.34.26]) by michael.checkpoint.com (8.13.8/8.13.8) with ESMTP id o8LCwcWT022434 for <ipsec@ietf.org>; Tue, 21 Sep 2010 14:58:38 +0200
Received: from il-ex01.ad.checkpoint.com ([126.0.0.2]) by il-ex01.ad.checkpoint.com ([126.0.0.2]) with mapi; Tue, 21 Sep 2010 14:58:38 +0200
From: Yoav Nir <ynir@checkpoint.com>
To: "'ipsec@ietf.org'" <ipsec@ietf.org>
Date: Tue, 21 Sep 2010 14:58:37 +0200
Thread-Topic: Issue #189 - Reply is not needed for unprotected message containing QCD 
Thread-Index: ActZjLVqTds+I3yhSfKWoGDLiyS9IA==
Message-ID: <006FEB08D9C6444AB014105C9AEB133F012E6FCD439D@il-ex01.ad.checkpoint.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Subject: [IPsec] Issue #189 - Reply is not needed for unprotected message containing QCD
X-BeenThere: ipsec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discussion of IPsec protocols <ipsec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipsec>
List-Post: <mailto:ipsec@ietf.org>
List-Help: <mailto:ipsec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 21 Sep 2010 12:58:16 -0000

Hi all.

We're starting discussions of the issues that are open for the failure dete=
ction draft.=20

Reported by Scott C Moonen:=20

What is the purpose of sending an empty response to the unprotected N(INVAL=
ID[_IKE]_SPI)&N(QCD_TOKEN)+ message? I'm not sure it provides any real valu=
e and would really prefer not to send it. Also, this contradicts a few "MUS=
T NOT" statements in ikev2bis concerning how we handle unprotected messages=
; if the consensus is to keep this behavior then we should make clear that =
we are self-consciously breaking the rules here.


What Scott is referring to is the last paragraph of section 4.5:
   If the QCD_TOKEN verifies OK, an empty response MUST be sent.  If the
   QCD_TOKEN cannot be validated, a response MUST NOT be sent.
   Section 5 defines token verification.


I believe Scott is right. I don't know what I was thinking when I wrote thi=
s. In fact, I believe the name of the section should be changed (from "Pres=
enting the Token in an INFORMATIONAL Exchange") because this is not an INFO=
RMATIONAL exchange.=20

If you can think of a reason why this needs to be like this instead of the =
following, please reply.

   If the QCD_TOKEN verifies OK, the IKE SA and its associated Child SAs
   MUST be silently discarded. If the QCD_TOKEN cannot be validated, the
   Notification MUST be ignored, and the incident MAY be logged.

From ynir@checkpoint.com  Tue Sep 21 06:06:21 2010
Return-Path: <ynir@checkpoint.com>
X-Original-To: ipsec@core3.amsl.com
Delivered-To: ipsec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 0AAE83A6966 for <ipsec@core3.amsl.com>; Tue, 21 Sep 2010 06:06:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.547
X-Spam-Level: 
X-Spam-Status: No, score=-2.547 tagged_above=-999 required=5 tests=[AWL=0.052,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wIjThAWdrRMT for <ipsec@core3.amsl.com>; Tue, 21 Sep 2010 06:06:17 -0700 (PDT)
Received: from michael.checkpoint.com (smtp.checkpoint.com [194.29.34.68]) by core3.amsl.com (Postfix) with ESMTP id C43843A691F for <ipsec@ietf.org>; Tue, 21 Sep 2010 06:06:16 -0700 (PDT)
X-CheckPoint: {4C98AD7A-10000-1B221DC2-2FFFF}
Received: from il-ex01.ad.checkpoint.com (il-ex01.checkpoint.com [194.29.34.26]) by michael.checkpoint.com (8.13.8/8.13.8) with ESMTP id o8LD6dHn024604 for <ipsec@ietf.org>; Tue, 21 Sep 2010 15:06:40 +0200
Received: from il-ex01.ad.checkpoint.com ([126.0.0.2]) by il-ex01.ad.checkpoint.com ([126.0.0.2]) with mapi; Tue, 21 Sep 2010 15:06:39 +0200
From: Yoav Nir <ynir@checkpoint.com>
To: "'ipsec@ietf.org'" <ipsec@ietf.org>
Date: Tue, 21 Sep 2010 15:06:38 +0200
Thread-Topic: Issue #190 - Move QCD token to first AUTH exchange
Thread-Index: ActZjdQzZHPtV5aNRvOT/zvWdtUtDw==
Message-ID: <006FEB08D9C6444AB014105C9AEB133F012E6FCD439E@il-ex01.ad.checkpoint.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Subject: [IPsec] Issue #190 - Move QCD token to first AUTH exchange
X-BeenThere: ipsec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discussion of IPsec protocols <ipsec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipsec>
List-Post: <mailto:ipsec@ietf.org>
List-Help: <mailto:ipsec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 21 Sep 2010 13:06:21 -0000

Reported by Yaron Sheffer:=20

I would have preferred the token to be resistant to stealing (and duplicati=
on), in which case it can be sent in the *first* AUTH message. If we ensure=
 that the token maker's SPI is long/random (see below), this might be possi=
ble.=20


The relevant part of the document is in the first paragraph of section 3, a=
nd the diagram in section 4.2:

   Supporting implementations will send a notification, called a "QCD
   token", as described in Section 4.1 in the last IKE_AUTH exchange
   messages.

First or last don't matter for certificate or PSK authentication (where the=
re is only one IKE_AUTH request), but does matter for EAP authentication, a=
nd for multiple authentications, and possibly for the future weak PSK metho=
ds.

I don't have an opinion either way, except for it being a minor optimizatio=
n to not generate the token if EAP is going to fail. Please send your opini=
ons to the list.


From paul.hoffman@vpnc.org  Thu Sep 23 15:45:22 2010
Return-Path: <paul.hoffman@vpnc.org>
X-Original-To: ipsec@core3.amsl.com
Delivered-To: ipsec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 1481E3A6A10 for <ipsec@core3.amsl.com>; Thu, 23 Sep 2010 15:45:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -101.331
X-Spam-Level: 
X-Spam-Status: No, score=-101.331 tagged_above=-999 required=5 tests=[AWL=0.715, BAYES_00=-2.599, HELO_MISMATCH_COM=0.553, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Hx3MjF+NG-rj for <ipsec@core3.amsl.com>; Thu, 23 Sep 2010 15:45:21 -0700 (PDT)
Received: from hoffman.proper.com (Hoffman.Proper.COM [207.182.41.81]) by core3.amsl.com (Postfix) with ESMTP id 383123A6A59 for <ipsec@ietf.org>; Thu, 23 Sep 2010 15:45:21 -0700 (PDT)
Received: from [10.20.30.158] (75-101-30-90.dsl.dynamic.sonic.net [75.101.30.90]) (authenticated bits=0) by hoffman.proper.com (8.14.4/8.14.3) with ESMTP id o8NMjnFJ008897 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for <ipsec@ietf.org>; Thu, 23 Sep 2010 15:45:51 -0700 (MST) (envelope-from paul.hoffman@vpnc.org)
Mime-Version: 1.0
Message-Id: <p062408a1c8c188f47bfa@[10.20.30.158]>
Date: Thu, 23 Sep 2010 15:45:29 -0700
To: IPsecme WG <ipsec@ietf.org>
From: Paul Hoffman <paul.hoffman@vpnc.org>
Content-Type: text/plain; charset="us-ascii"
Subject: [IPsec] Fwd: New Non-WG Mailing List: ietf-privacy -- Internet Privacy Discussion List
X-BeenThere: ipsec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discussion of IPsec protocols <ipsec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipsec>
List-Post: <mailto:ipsec@ietf.org>
List-Help: <mailto:ipsec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 23 Sep 2010 22:45:22 -0000

Of possible interest to some members of this WG.

>A new IETF non-working group email list has been created.
>
>List address: ietf-privacy@ietf.org
>Archive: http://www.ietf.org/mail-archive/web/ietf-privacy/
>To subscribe: https://www.ietf.org/mailman/listinfo/ietf-privacy
>
>Description: This mailing list has been set up to discuss issues related
>to privacy that cut across multiple groups and areas.  The initial goal of
>this discussion is to investigate privacy and related identity management
>terminology. A secondary goal is to explore the opportunity to develop
>"Privacy Consideration" guidelines similar to the "Guidelines for Writing
>RFC Text on Security considerations" [RFC3552] used in the security area.
>The anticipation is that input into this list will come from solicited
>conversation within multiple other lists.
>
>For additional information, please contact the list administrators.

From yaronf.ietf@gmail.com  Tue Sep 28 06:23:53 2010
Return-Path: <yaronf.ietf@gmail.com>
X-Original-To: ipsec@core3.amsl.com
Delivered-To: ipsec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id A57333A6C7D for <ipsec@core3.amsl.com>; Tue, 28 Sep 2010 06:23:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -101.836
X-Spam-Level: 
X-Spam-Status: No, score=-101.836 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, SARE_RECV_BEZEQINT_B=0.763, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qG1HHl3C3a4N for <ipsec@core3.amsl.com>; Tue, 28 Sep 2010 06:23:52 -0700 (PDT)
Received: from mail-fx0-f44.google.com (mail-fx0-f44.google.com [209.85.161.44]) by core3.amsl.com (Postfix) with ESMTP id 8F61E3A6D0C for <ipsec@ietf.org>; Tue, 28 Sep 2010 06:23:51 -0700 (PDT)
Received: by fxm6 with SMTP id 6so4281715fxm.31 for <ipsec@ietf.org>; Tue, 28 Sep 2010 06:24:32 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:content-type :content-transfer-encoding; bh=Mf24dpi/ektW8uPzlDBYO4xh2ixrNAkVenfu1x+NZOM=; b=hzYDZHo0S5Y/LMlpUQI17MXbXqL8Wiv1Q5dKIs5szQaNejogaEsWbeEDlBVzdmlLuq DNtMdtPHArWcJINPBRaStI6HM3xYGlZYDckf1ZA/YWY4HysXERqzgmXNle3R3i89ROLM 5lVhn65viUMycy81vKMFXfNdPbBAu79eldP2M=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=LdoLdjUaTECvE2fQ3BWfiiuVzrgbD3ntxvEbnTjMFV7BP4L7y4Ee55XW9gViaKUl9u 7fRGw9JJTc6pfatG9w2e8JkhYT8yduBmALs3VLkAMkdDIH9TI1xE7y7OkbuU6LEVlYN/ B6bH7MCDLGq/ZK+RYMbdWAY6l7at83k46IyS8=
Received: by 10.223.110.132 with SMTP id n4mr9347186fap.97.1285680272111; Tue, 28 Sep 2010 06:24:32 -0700 (PDT)
Received: from [192.168.80.112] ([62.219.155.13]) by mx.google.com with ESMTPS id p2sm3063249fak.22.2010.09.28.06.24.29 (version=SSLv3 cipher=RC4-MD5); Tue, 28 Sep 2010 06:24:30 -0700 (PDT)
Message-ID: <4CA1EC8B.50901@gmail.com>
Date: Tue, 28 Sep 2010 15:24:27 +0200
From: Yaron Sheffer <yaronf.ietf@gmail.com>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.12) Gecko/20100915 Lightning/1.0b1 Thunderbird/3.0.8
MIME-Version: 1.0
To: IPsecme WG <ipsec@ietf.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Subject: Re: [IPsec] Failure Detection - Issue #190
X-BeenThere: ipsec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discussion of IPsec protocols <ipsec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipsec>
List-Post: <mailto:ipsec@ietf.org>
List-Help: <mailto:ipsec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 28 Sep 2010 13:23:53 -0000

Hi,

I am obviously in favor of moving the QCD token to the first IKE_AUTH 
message (I opened the issue...), but I think this can only be done once 
Issue #191 is resolved, i.e. when we don't have to worry about token replay.

Reason: the first IKE_AUTH message is susceptible to reading by an MITM 
attacker. If both IKE peers then reuse the SPI values (and therefore the 
token), the attacker will already have it.

Thanks,
	Yaron

From welterk@us.ibm.com  Tue Sep 28 13:02:55 2010
Return-Path: <welterk@us.ibm.com>
X-Original-To: ipsec@core3.amsl.com
Delivered-To: ipsec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 960E33A6B6B for <ipsec@core3.amsl.com>; Tue, 28 Sep 2010 13:02:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.265
X-Spam-Level: 
X-Spam-Status: No, score=-3.265 tagged_above=-999 required=5 tests=[AWL=-0.667, BAYES_00=-2.599, HTML_MESSAGE=0.001]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1Q1aR37yi-2j for <ipsec@core3.amsl.com>; Tue, 28 Sep 2010 13:02:50 -0700 (PDT)
Received: from e9.ny.us.ibm.com (e9.ny.us.ibm.com [32.97.182.139]) by core3.amsl.com (Postfix) with ESMTP id 577703A6DDF for <ipsec@ietf.org>; Tue, 28 Sep 2010 13:02:50 -0700 (PDT)
Received: from d01relay04.pok.ibm.com (d01relay04.pok.ibm.com [9.56.227.236]) by e9.ny.us.ibm.com (8.14.4/8.13.1) with ESMTP id o8SJhu8p001335 for <ipsec@ietf.org>; Tue, 28 Sep 2010 15:43:56 -0400
Received: from d03av01.boulder.ibm.com (d03av01.boulder.ibm.com [9.17.195.167]) by d01relay04.pok.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id o8SK3M3l081918 for <ipsec@ietf.org>; Tue, 28 Sep 2010 16:03:25 -0400
Received: from d03av01.boulder.ibm.com (loopback [127.0.0.1]) by d03av01.boulder.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id o8SK3MOo018226 for <ipsec@ietf.org>; Tue, 28 Sep 2010 14:03:22 -0600
Received: from d03nm118.boulder.ibm.com (d03nm118.boulder.ibm.com [9.17.195.144]) by d03av01.boulder.ibm.com (8.14.4/8.13.1/NCO v10.0 AVin) with ESMTP id o8SK3MC9018201 for <ipsec@ietf.org>; Tue, 28 Sep 2010 14:03:22 -0600
To: ipsec@ietf.org
MIME-Version: 1.0
X-KeepSent: F427BE1F:BE06D445-882577AC:006DF7E3; type=4; name=$KeepSent
X-Mailer: Lotus Notes Release 8.0.2FP3 SHF32 December 02, 2009
From: Keith Welter <welterk@us.ibm.com>
Message-ID: <OFF427BE1F.BE06D445-ON882577AC.006DF7E3-882577AC.006E2BDE@us.ibm.com>
Date: Tue, 28 Sep 2010 13:03:21 -0700
X-MIMETrack: Serialize by Router on D03NM118/03/M/IBM(Release 8.5.1FP4|July 25, 2010) at 09/28/2010 14:03:22, Serialize complete at 09/28/2010 14:03:22
Content-Type: multipart/alternative; boundary="=_alternative 006E2AA5882577AC_="
Subject: [IPsec] draft-welter-ipsecme-ikev2-reauth-00
X-BeenThere: ipsec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discussion of IPsec protocols <ipsec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipsec>
List-Post: <mailto:ipsec@ietf.org>
List-Help: <mailto:ipsec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 28 Sep 2010 20:02:55 -0000

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

A new version of I-D, draft-welter-ipsecme-ikev2-reauth-00.txt has been 
successfully submitted by Keith Welter and posted to the IETF repository.

Filename:                 draft-welter-ipsecme-ikev2-reauth
Revision:                 00
Title:                            Reauthentication Extension for IKEv2
Creation_date:            2010-09-28
WG ID:                            Independent Submission
Number_of_pages: 10

Abstract:
This document extends the Internet Key Exchange (IKEv2) Protocol
document [IKEv2].  IKEv2 reauthentication does not scale well when an
IKE SA has multiple Child SAs because each Child SA of the IKE SA to
be reauthenticated must be renegotiated.  In addition,
reauthentication is susceptible to the same kinds of exchange
collisions as those that may occur during rekeying.  This document
describes a mechanism to detect reauthentication and avoid
renegotiating the Child SAs.  In addition, this document describes
proper handling of exchange collisions that may occur during
reauthentication.
  


The IETF Secretariat.




--=_alternative 006E2AA5882577AC_=
Content-Type: text/html; charset="US-ASCII"


<br><tt><font size=2>A new version of I-D, draft-welter-ipsecme-ikev2-reauth-00.txt
has been successfully submitted by Keith Welter and posted to the IETF
repository.<br>
<br>
Filename: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp;draft-welter-ipsecme-ikev2-reauth<br>
Revision: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp;00<br>
Title: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
Reauthentication Extension for IKEv2<br>
Creation_date: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp;2010-09-28<br>
WG ID: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
Independent Submission<br>
Number_of_pages: 10<br>
<br>
Abstract:<br>
This document extends the Internet Key Exchange (IKEv2) Protocol<br>
document [IKEv2]. &nbsp;IKEv2 reauthentication does not scale well when
an<br>
IKE SA has multiple Child SAs because each Child SA of the IKE SA to<br>
be reauthenticated must be renegotiated. &nbsp;In addition,<br>
reauthentication is susceptible to the same kinds of exchange<br>
collisions as those that may occur during rekeying. &nbsp;This document<br>
describes a mechanism to detect reauthentication and avoid<br>
renegotiating the Child SAs. &nbsp;In addition, this document describes<br>
proper handling of exchange collisions that may occur during<br>
reauthentication.<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br>
<br>
<br>
The IETF Secretariat.<br>
<br>
<br>
</font></tt>
<br>
--=_alternative 006E2AA5882577AC_=--

From welterk@us.ibm.com  Tue Sep 28 13:09:10 2010
Return-Path: <welterk@us.ibm.com>
X-Original-To: ipsec@core3.amsl.com
Delivered-To: ipsec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 4A7973A6B85 for <ipsec@core3.amsl.com>; Tue, 28 Sep 2010 13:09:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.098
X-Spam-Level: 
X-Spam-Status: No, score=-5.098 tagged_above=-999 required=5 tests=[AWL=1.500,  BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id olZI2gXUUDJz for <ipsec@core3.amsl.com>; Tue, 28 Sep 2010 13:09:09 -0700 (PDT)
Received: from e1.ny.us.ibm.com (e1.ny.us.ibm.com [32.97.182.141]) by core3.amsl.com (Postfix) with ESMTP id DF6AE3A6B02 for <IPsec@ietf.org>; Tue, 28 Sep 2010 13:09:05 -0700 (PDT)
Received: from d01relay02.pok.ibm.com (d01relay02.pok.ibm.com [9.56.227.234]) by e1.ny.us.ibm.com (8.14.4/8.13.1) with ESMTP id o8SK2vtN029646 for <IPsec@ietf.org>; Tue, 28 Sep 2010 16:02:57 -0400
Received: from d03av02.boulder.ibm.com (d03av02.boulder.ibm.com [9.17.195.168]) by d01relay02.pok.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id o8SK9kan445994 for <IPsec@ietf.org>; Tue, 28 Sep 2010 16:09:47 -0400
Received: from d03av02.boulder.ibm.com (loopback [127.0.0.1]) by d03av02.boulder.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id o8SK9k0p020392 for <IPsec@ietf.org>; Tue, 28 Sep 2010 14:09:46 -0600
Received: from d03nm118.boulder.ibm.com (d03nm118.boulder.ibm.com [9.17.195.144]) by d03av02.boulder.ibm.com (8.14.4/8.13.1/NCO v10.0 AVin) with ESMTP id o8SK9iDQ020274 for <IPsec@ietf.org>; Tue, 28 Sep 2010 14:09:45 -0600
In-Reply-To: <OFF427BE1F.BE06D445-ON882577AC.006DF7E3-882577AC.006E2BDE@us.ibm.com>
References: <OFF427BE1F.BE06D445-ON882577AC.006DF7E3-882577AC.006E2BDE@us.ibm.com>
To: IPsec@ietf.org
MIME-Version: 1.0
X-KeepSent: 44C9382A:DB043882-882577AC:006E7AC7; type=4; name=$KeepSent
X-Mailer: Lotus Notes Release 8.0.2FP3 SHF32 December 02, 2009
From: Keith Welter <welterk@us.ibm.com>
Message-ID: <OF44C9382A.DB043882-ON882577AC.006E7AC7-882577AC.006EC0FB@us.ibm.com>
Date: Tue, 28 Sep 2010 13:09:43 -0700
X-MIMETrack: Serialize by Router on D03NM118/03/M/IBM(Release 8.5.1FP4|July 25, 2010) at 09/28/2010 14:09:44, Serialize complete at 09/28/2010 14:09:44
Content-Type: multipart/alternative; boundary="=_alternative 006EBE3F882577AC_="
Subject: Re: [IPsec] draft-welter-ipsecme-ikev2-reauth-00
X-BeenThere: ipsec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discussion of IPsec protocols <ipsec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipsec>
List-Post: <mailto:ipsec@ietf.org>
List-Help: <mailto:ipsec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 28 Sep 2010 20:09:10 -0000

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

After writing this draft (
http://www.ietf.org/id/draft-welter-ipsecme-ikev2-reauth-00.txt), I 
re-discovered an old thread about the same issue.  The post that started 
the thread was from Martin Willi on Tue, 16 Sep 2008 with subject "[IPsec] 
Reauthentication extension for IKEv2" (
http://www.ietf.org/mail-archive/web/ipsec/current/msg03106.html).  The 
discussion in the thread wandered quite a bit, so much so that it was 
renamed "Identifying encrypted traffic" midstream.  Following all the 
posts on the thread, it appears to me that Martin's original question of 
whether or not there should be a reauthentication extension for IKEv2 was 
forgotten and never answered (certainly rough consensus was not reached). 
I named my draft to match the subject of Martin's original post and I hope 
to use the draft to re-invigorate the discussion on this topic.  I would 
appreciate comments from the subscribers of this list as to whether or not 
a reauthentication extension for IKEv2 is worth doing and of course I 
would also appreciate comments on the draft itself.

Thanks,

Keith Welter
IBM z/OS Communications Server Developer

> A new version of I-D, draft-welter-ipsecme-ikev2-reauth-00.txt has 
> been successfully submitted by Keith Welter and posted to the IETF 
repository.
> 
> Filename:                  draft-welter-ipsecme-ikev2-reauth
> Revision:                  00
> Title:                                   Reauthentication Extension for 
IKEv2
> Creation_date:                  2010-09-28
> WG ID:                                   Independent Submission
> Number_of_pages: 10
> 
> Abstract:
> This document extends the Internet Key Exchange (IKEv2) Protocol
> document [IKEv2].  IKEv2 reauthentication does not scale well when an
> IKE SA has multiple Child SAs because each Child SA of the IKE SA to
> be reauthenticated must be renegotiated.  In addition,
> reauthentication is susceptible to the same kinds of exchange
> collisions as those that may occur during rekeying.  This document
> describes a mechanism to detect reauthentication and avoid
> renegotiating the Child SAs.  In addition, this document describes
> proper handling of exchange collisions that may occur during
> reauthentication.
>  
> 
> 
> The IETF Secretariat.
> 
> 
> _______________________________________________
> IPsec mailing list
> IPsec@ietf.org
> https://www.ietf.org/mailman/listinfo/ipsec

--=_alternative 006EBE3F882577AC_=
Content-Type: text/html; charset="US-ASCII"


<br><font size=2 face="sans-serif">After writing this draft (</font><a href="http://www.ietf.org/id/draft-welter-ipsecme-ikev2-reauth-00.txt"><font size=2 face="sans-serif">http://www.ietf.org/id/draft-welter-ipsecme-ikev2-reauth-00.txt</font></a><font size=2 face="sans-serif">),
I re-discovered an old thread about the same issue. &nbsp;The post that
started the thread was from Martin Willi on Tue, 16 Sep 2008 with subject
&quot;[IPsec] Reauthentication extension for IKEv2&quot; (</font><a href="http://www.ietf.org/mail-archive/web/ipsec/current/msg03106.html"><font size=2 face="sans-serif">http://www.ietf.org/mail-archive/web/ipsec/current/msg03106.html</font></a><font size=2 face="sans-serif">).
&nbsp;The discussion in the thread wandered quite a bit, so much so that
it was renamed &quot;Identifying encrypted traffic&quot; midstream. &nbsp;Following
all the posts on the thread, it appears to me that Martin's original question
of whether or not there should be a reauthentication extension for IKEv2
was forgotten and never answered (certainly rough consensus was not reached).
&nbsp;I named my draft to match the subject of Martin's original post and
I hope to use the draft to re-invigorate the discussion on this topic.
&nbsp;I would appreciate comments from the subscribers of this list as
to whether or not a reauthentication extension for IKEv2 is worth doing
and of course I would also appreciate comments on the draft itself.</font>
<br>
<br><font size=2 face="sans-serif">Thanks,</font>
<br><font size=2 face="sans-serif"><br>
Keith Welter<br>
IBM z/OS Communications Server Developer</font><tt><font size=2><br>
<br>
&gt; A new version of I-D, draft-welter-ipsecme-ikev2-reauth-00.txt has
<br>
&gt; been successfully submitted by Keith Welter and posted to the IETF
repository.<br>
&gt; <br>
&gt; Filename: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp;draft-welter-ipsecme-ikev2-reauth<br>
&gt; Revision: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp;00<br>
&gt; Title: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Reauthentication
Extension for IKEv2<br>
&gt; Creation_date: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp;2010-09-28<br>
&gt; WG ID: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Independent Submission<br>
&gt; Number_of_pages: 10<br>
&gt; <br>
&gt; Abstract:<br>
&gt; This document extends the Internet Key Exchange (IKEv2) Protocol<br>
&gt; document [IKEv2]. &nbsp;IKEv2 reauthentication does not scale well
when an<br>
&gt; IKE SA has multiple Child SAs because each Child SA of the IKE SA
to<br>
&gt; be reauthenticated must be renegotiated. &nbsp;In addition,<br>
&gt; reauthentication is susceptible to the same kinds of exchange<br>
&gt; collisions as those that may occur during rekeying. &nbsp;This document<br>
&gt; describes a mechanism to detect reauthentication and avoid<br>
&gt; renegotiating the Child SAs. &nbsp;In addition, this document describes<br>
&gt; proper handling of exchange collisions that may occur during<br>
&gt; reauthentication.<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br>
&gt; <br>
&gt; <br>
&gt; The IETF Secretariat.<br>
&gt; <br>
&gt; <br>
&gt; _______________________________________________<br>
&gt; IPsec mailing list<br>
&gt; IPsec@ietf.org<br>
&gt; </font></tt><a href=https://www.ietf.org/mailman/listinfo/ipsec><tt><font size=2>https://www.ietf.org/mailman/listinfo/ipsec</font></tt></a><tt><font size=2><br>
</font></tt>
--=_alternative 006EBE3F882577AC_=--

From yaronf.ietf@gmail.com  Tue Sep 28 14:41:54 2010
Return-Path: <yaronf.ietf@gmail.com>
X-Original-To: ipsec@core3.amsl.com
Delivered-To: ipsec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id DB3273A6CAD for <ipsec@core3.amsl.com>; Tue, 28 Sep 2010 14:41:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.45
X-Spam-Level: 
X-Spam-Status: No, score=-102.45 tagged_above=-999 required=5 tests=[AWL=0.149, BAYES_00=-2.599, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wgGAWIRdw-no for <ipsec@core3.amsl.com>; Tue, 28 Sep 2010 14:41:46 -0700 (PDT)
Received: from mail-fx0-f44.google.com (mail-fx0-f44.google.com [209.85.161.44]) by core3.amsl.com (Postfix) with ESMTP id 701AD3A6DB2 for <IPsec@ietf.org>; Tue, 28 Sep 2010 14:40:54 -0700 (PDT)
Received: by fxm6 with SMTP id 6so114973fxm.31 for <IPsec@ietf.org>; Tue, 28 Sep 2010 14:40:52 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=96CgEUYOJmNxsNreP3qFFqR8ufrVyMAsRLn7W0R2xj0=; b=LGCs2ZeoePHmQ+WHXYFandxlOn085lGZyTXXwJ+OPPo02YkE06QOR9CMdHe/2ruvak 7y3+bfYg7hV4a8dKq1rUMaHuxcpL2RmfMmWMeyPCXoSyOD66+aqcIdnw/GabCrtYAOn0 Hc6pJJzovXhMdVsnjiMx3ajECVnnzbCoAybl8=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=YZ+pQsCaxdo2EFHzrJypBgCFWOY5ENXtNWS/lw5e6H2U5Raie6u+jFcUSUf4jcROd7 BL+LHqxAleH2UeaI2HR7CmmL2pT2mr2Jptq2DAvHVlO6xolc6fRIyEdAF7hD9vhN4I8w tTI6X9w+mhWuWjGkIhViB1IzX4bMQzKENxZSk=
Received: by 10.223.106.142 with SMTP id x14mr770060fao.21.1285710052345; Tue, 28 Sep 2010 14:40:52 -0700 (PDT)
Received: from [10.0.0.2] (bzq-79-183-43-64.red.bezeqint.net [79.183.43.64]) by mx.google.com with ESMTPS id k25sm3431069fac.41.2010.09.28.14.40.49 (version=SSLv3 cipher=RC4-MD5); Tue, 28 Sep 2010 14:40:50 -0700 (PDT)
Message-ID: <4CA260DE.8050507@gmail.com>
Date: Tue, 28 Sep 2010 23:40:46 +0200
From: Yaron Sheffer <yaronf.ietf@gmail.com>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.12) Gecko/20100915 Lightning/1.0b1 Thunderbird/3.0.8
MIME-Version: 1.0
To: Keith Welter <welterk@us.ibm.com>
References: <OFF427BE1F.BE06D445-ON882577AC.006DF7E3-882577AC.006E2BDE@us.ibm.com> <OF44C9382A.DB043882-ON882577AC.006E7AC7-882577AC.006EC0FB@us.ibm.com>
In-Reply-To: <OF44C9382A.DB043882-ON882577AC.006E7AC7-882577AC.006EC0FB@us.ibm.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Cc: IPsec@ietf.org
Subject: Re: [IPsec] draft-welter-ipsecme-ikev2-reauth-00
X-BeenThere: ipsec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discussion of IPsec protocols <ipsec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipsec>
List-Post: <mailto:ipsec@ietf.org>
List-Help: <mailto:ipsec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 28 Sep 2010 21:41:55 -0000

Hi Keith,

thanks for exploring this important issue. Here are a few preliminary 
comments:

- The intro is short on motivation: what *exactly* happens today, and 
why it is a problem that needs to be solved: bandwidth? CPU? Memory? 
Complexity?

- There's a long treatment of simultaneous reauth. I'm not saying it is 
unimportant, but it's certainly more important to spell out *exactly 
when* the new SA inherits the old one's baggage (immediately when the 
IKE_AUTH completes successfully, I guess); and very important to say 
what happens in error cases, for example if authentication fails.

Thanks,
	Yaron

On 09/28/2010 10:09 PM, Keith Welter wrote:
>
> After writing this draft
> (http://www.ietf.org/id/draft-welter-ipsecme-ikev2-reauth-00.txt), I
> re-discovered an old thread about the same issue. The post that started
> the thread was from Martin Willi on Tue, 16 Sep 2008 with subject
> "[IPsec] Reauthentication extension for IKEv2"
> (http://www.ietf.org/mail-archive/web/ipsec/current/msg03106.html). The
> discussion in the thread wandered quite a bit, so much so that it was
> renamed "Identifying encrypted traffic" midstream. Following all the
> posts on the thread, it appears to me that Martin's original question of
> whether or not there should be a reauthentication extension for IKEv2
> was forgotten and never answered (certainly rough consensus was not
> reached). I named my draft to match the subject of Martin's original
> post and I hope to use the draft to re-invigorate the discussion on this
> topic. I would appreciate comments from the subscribers of this list as
> to whether or not a reauthentication extension for IKEv2 is worth doing
> and of course I would also appreciate comments on the draft itself.
>
> Thanks,
>
> Keith Welter
> IBM z/OS Communications Server Developer
>
>  > A new version of I-D, draft-welter-ipsecme-ikev2-reauth-00.txt has
>  > been successfully submitted by Keith Welter and posted to the IETF
> repository.
>  >
>  > Filename: draft-welter-ipsecme-ikev2-reauth
>  > Revision: 00
>  > Title: Reauthentication Extension for IKEv2
>  > Creation_date: 2010-09-28
>  > WG ID: Independent Submission
>  > Number_of_pages: 10
>  >
>  > Abstract:
>  > This document extends the Internet Key Exchange (IKEv2) Protocol
>  > document [IKEv2]. IKEv2 reauthentication does not scale well when an
>  > IKE SA has multiple Child SAs because each Child SA of the IKE SA to
>  > be reauthenticated must be renegotiated. In addition,
>  > reauthentication is susceptible to the same kinds of exchange
>  > collisions as those that may occur during rekeying. This document
>  > describes a mechanism to detect reauthentication and avoid
>  > renegotiating the Child SAs. In addition, this document describes
>  > proper handling of exchange collisions that may occur during
>  > reauthentication.
>  >
>  >
>  >
>  > The IETF Secretariat.
>  >
>  >
>  > _______________________________________________
>  > IPsec mailing list
>  > IPsec@ietf.org
>  > https://www.ietf.org/mailman/listinfo/ipsec
>
>
>
> _______________________________________________
> IPsec mailing list
> IPsec@ietf.org
> https://www.ietf.org/mailman/listinfo/ipsec

From ynir@checkpoint.com  Tue Sep 28 16:07:27 2010
Return-Path: <ynir@checkpoint.com>
X-Original-To: ipsec@core3.amsl.com
Delivered-To: ipsec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id C7BE33A6DFA for <ipsec@core3.amsl.com>; Tue, 28 Sep 2010 16:07:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.548
X-Spam-Level: 
X-Spam-Status: No, score=-2.548 tagged_above=-999 required=5 tests=[AWL=0.051,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id f7oui3SdxN-B for <ipsec@core3.amsl.com>; Tue, 28 Sep 2010 16:07:25 -0700 (PDT)
Received: from michael.checkpoint.com (smtp.checkpoint.com [194.29.34.68]) by core3.amsl.com (Postfix) with ESMTP id 367C43A6DD6 for <ipsec@ietf.org>; Tue, 28 Sep 2010 16:07:20 -0700 (PDT)
X-CheckPoint: {4CA27493-10000-1B221DC2-2FFFF}
Received: from il-ex01.ad.checkpoint.com (il-ex01.checkpoint.com [194.29.34.26]) by michael.checkpoint.com (8.13.8/8.13.8) with ESMTP id o8SN81Ja004451;  Wed, 29 Sep 2010 01:08:01 +0200
Received: from il-ex01.ad.checkpoint.com ([126.0.0.2]) by il-ex01.ad.checkpoint.com ([126.0.0.2]) with mapi; Wed, 29 Sep 2010 01:08:01 +0200
From: Yoav Nir <ynir@checkpoint.com>
To: Yaron Sheffer <yaronf.ietf@gmail.com>
Date: Wed, 29 Sep 2010 01:07:58 +0200
Thread-Topic: [IPsec] Failure Detection - Issue #190
Thread-Index: ActfYf60XbHpIAjZQFie22Mn4E0gpA==
Message-ID: <4651749F-E3B1-4204-BE56-3C27020B50E5@checkpoint.com>
References: <4CA1EC8B.50901@gmail.com>
In-Reply-To: <4CA1EC8B.50901@gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Cc: IPsecme WG <ipsec@ietf.org>
Subject: Re: [IPsec] Failure Detection - Issue #190
X-BeenThere: ipsec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discussion of IPsec protocols <ipsec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipsec>
List-Post: <mailto:ipsec@ietf.org>
List-Help: <mailto:ipsec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 28 Sep 2010 23:07:28 -0000

It should be noted that this token protection is available only to EAP user=
s.  endpoints that authenticate with certificates or PSKs are vulnerable to=
 a MITM enumerating the tokens.

Since issue #191 is up next (tomorrow or thursday), I won't publish a -01 v=
ersion before #191 is resolved.


On Sep 28, 2010, at 3:24 PM, Yaron Sheffer wrote:

> Hi,
>=20
> I am obviously in favor of moving the QCD token to the first IKE_AUTH=20
> message (I opened the issue...), but I think this can only be done once=20
> Issue #191 is resolved, i.e. when we don't have to worry about token repl=
ay.
>=20
> Reason: the first IKE_AUTH message is susceptible to reading by an MITM=20
> attacker. If both IKE peers then reuse the SPI values (and therefore the=
=20
> token), the attacker will already have it.
>=20
> Thanks,
> 	Yaron


From welterk@us.ibm.com  Wed Sep 29 09:08:59 2010
Return-Path: <welterk@us.ibm.com>
X-Original-To: ipsec@core3.amsl.com
Delivered-To: ipsec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 5E4DA3A6D43 for <ipsec@core3.amsl.com>; Wed, 29 Sep 2010 09:08:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.398
X-Spam-Level: 
X-Spam-Status: No, score=-5.398 tagged_above=-999 required=5 tests=[AWL=1.200,  BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mIc+aQLJtXqn for <ipsec@core3.amsl.com>; Wed, 29 Sep 2010 09:08:55 -0700 (PDT)
Received: from e38.co.us.ibm.com (e38.co.us.ibm.com [32.97.110.159]) by core3.amsl.com (Postfix) with ESMTP id 7207F3A6CF5 for <ipsec@ietf.org>; Wed, 29 Sep 2010 09:08:55 -0700 (PDT)
Received: from d03relay01.boulder.ibm.com (d03relay01.boulder.ibm.com [9.17.195.226]) by e38.co.us.ibm.com (8.14.4/8.13.1) with ESMTP id o8TG1qQC027845 for <ipsec@ietf.org>; Wed, 29 Sep 2010 10:01:52 -0600
Received: from d03av05.boulder.ibm.com (d03av05.boulder.ibm.com [9.17.195.85]) by d03relay01.boulder.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id o8TG9Lqa093470 for <ipsec@ietf.org>; Wed, 29 Sep 2010 10:09:21 -0600
Received: from d03av05.boulder.ibm.com (loopback [127.0.0.1]) by d03av05.boulder.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id o8TG9KGf000437 for <ipsec@ietf.org>; Wed, 29 Sep 2010 10:09:21 -0600
Received: from d03nm118.boulder.ibm.com (d03nm118.boulder.ibm.com [9.17.195.144]) by d03av05.boulder.ibm.com (8.14.4/8.13.1/NCO v10.0 AVin) with ESMTP id o8TG9KhP000431; Wed, 29 Sep 2010 10:09:20 -0600
In-Reply-To: <4CA260DE.8050507@gmail.com>
References: <OFF427BE1F.BE06D445-ON882577AC.006DF7E3-882577AC.006E2BDE@us.ibm.com> <OF44C9382A.DB043882-ON882577AC.006E7AC7-882577AC.006EC0FB@us.ibm.com> <4CA260DE.8050507@gmail.com>
To: ipsec@ietf.org
MIME-Version: 1.0
X-KeepSent: 7D670D6A:6666CC8F-882577AD:00517CCB; type=4; name=$KeepSent
X-Mailer: Lotus Notes Release 8.0.2FP3 SHF32 December 02, 2009
From: Keith Welter <welterk@us.ibm.com>
Message-ID: <OF7D670D6A.6666CC8F-ON882577AD.00517CCB-882577AD.0058BEE0@us.ibm.com>
Date: Wed, 29 Sep 2010 09:09:19 -0700
X-MIMETrack: Serialize by Router on D03NM118/03/M/IBM(Release 8.5.1FP4|July 25, 2010) at 09/29/2010 10:09:19, Serialize complete at 09/29/2010 10:09:19
Content-Type: multipart/alternative; boundary="=_alternative 0058BD8E882577AD_="
Subject: Re: [IPsec] draft-welter-ipsecme-ikev2-reauth-00
X-BeenThere: ipsec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discussion of IPsec protocols <ipsec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipsec>
List-Post: <mailto:ipsec@ietf.org>
List-Help: <mailto:ipsec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 29 Sep 2010 16:08:59 -0000

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

Hi Yaron,

Thanks for your preliminary comments.  In-line responses below.

Keith Welter
IBM z/OS Communications Server Developer

Yaron Sheffer <yaronf.ietf@gmail.com> wrote on 09/28/2010 02:40:46 PM:
> Hi Keith,
> 
> thanks for exploring this important issue. Here are a few preliminary 
> comments:
> 
> - The intro is short on motivation: what *exactly* happens today, 
> and why it is a problem that needs to be solved: bandwidth? CPU? Memory? 

> Complexity?
Fair point.  After discovering Martin's post I should have borrowed 
elements from it because he did a good job of reiterating how 
reauthentication works in RFC 5996 and listing problems, including an 
INTERNAL_ADDRESS assigment problem I wasn't aware of because my platform 
doesn't do INTERNAL_ADDRESS assignment.  I would add exchange collisions 
to Martin's list.  On my platform, the redundant SAs that result from 
simultaneous reauthentication was noticed by testers and reported as a 
possible problem which was actually my original motivation for writing the 
draft.  I will forego a re-write of the intro at this point and construct 
an outline of points that the intro ought to cover for discussion:
1. reiterate how reauthentication works in RFC 5996 (quote third paragraph 
of section 2.8.3)
2. include wire-flow diagram of RFC 5996 style reauthentication?
3. list problems:
   a. Excessive bandwidth is consumed because each Child SA of the IKE SA 
being reauthenticated must be renegotiated.
   b. The responder in the reauthentication operation cannot detect that 
reauthentication is occuring.  This may cause problems such as preventing 
an IRAS from assigning the same INTERNAL_ADDRESS to an IRAC.
   c. The reauthentication operation is susceptible to simultaneous 
reauthentication which usually results in redundant SAs which wastes 
memory and CPU and is confusing to operators.
   d. Other exchange collisions may occur such as one side creating a new 
Child SA at the same time that the other side is trying to reauthenticate 
the IKE SA.  Interoperability when such collisions occur may suffer from 
under-specification in RFC 5996 and the inability of the responder to 
detect reauthentication.

> 
> - There's a long treatment of simultaneous reauth. I'm not saying it is 
> unimportant, but it's certainly more important to spell out *exactly 
> when* the new SA inherits the old one's baggage (immediately when the 
> IKE_AUTH completes successfully, I guess); and very important to say 
> what happens in error cases, for example if authentication fails.
When I put the draft together I used existing text from RFC 5996 with as 
little modification as possible.  My motivation was two-fold.  First, I 
wanted the text to look familiar.  Second, I didn't want to expend an 
excessive amount of effort writing original text in case the working group 
was uninterested in the topic.  As such, the lengthy parts and skimpy 
parts of the draft reflect lengthy and skimpy treatments of the 
corresponding topics in RFC 5996.  For example, the lengthy treatment of 
simultaneous reauth borrows paragraphs from RFC 5996 section 2.8.1 and 
2.8.2 nearly verbatim with a few substitutions such as replacing "rekey" 
with "reauthenticate" and "rekeying" with "reauthenticating".  The 
wire-flow diagrams are also closely modeled on existing ones from RFC 
5996.

I would actually like to solicit help for describing exactly when the new 
IKE SA inherits the old one's Child SAs since it ought to mirror when that 
happens when rekeying the IKE SA.  However, the latter movement is barely 
described in RFC 5996.  The only text I found in RFC 5996 describing the 
movement of the Child SAs when rekeying the IKE SA is in section 2.18 
"Rekeying":
   To rekey an IKE SA, establish a new equivalent IKE SA (see
   Section 2.18 below) with the peer to whom the old IKE SA is shared
   using a CREATE_CHILD_SA within the existing IKE SA.  An IKE SA so
   created inherits all of the original IKE SA's Child SAs, and the new
   IKE SA is used for all control messages needed to maintain those
   Child SAs.  After the new equivalent IKE SA is created, the initiator
   deletes the old IKE SA, and the Delete payload to delete itself MUST
   be the last request sent over the old IKE SA.

I copied this same paragraph into section 2 "IKE SA Reauthentication With 
N(REAUTH_SA)" of my draft with a few substitutions:
   The new IKE SA created as a result of the reauthentication inherits
   all of the original IKE SA's Child SAs, and the new IKE SA is used
   for all control messages needed to maintain those Child SAs.  After
   the new IKE SA is created, the initiator deletes the old IKE SA, and
   the Delete payload to delete itself MUST be the last request sent
   over the old IKE SA.

I would welcome suggestions for improving this.

Your point about the need to discuss what happens when authentication 
fails is well taken.  I imagine I would point to RFC 5996 section 2.21.2. 
"Error Handling in IKE_AUTH" and say that all of that applies to 
reauthentication and that movement of the child SAs does not occur if the 
reauthentication fails.  I think that perhaps it would be too strong to 
say that the old IKE SA should be closed if the reauthentication fails but 
I would welcome other opinions.  Are there other error cases that you are 
concerned about?

> 
> Thanks,
>    Yaron
> 
> On 09/28/2010 10:09 PM, Keith Welter wrote:
> >
> > After writing this draft
> > (http://www.ietf.org/id/draft-welter-ipsecme-ikev2-reauth-00.txt), I
> > re-discovered an old thread about the same issue. The post that 
started
> > the thread was from Martin Willi on Tue, 16 Sep 2008 with subject
> > "[IPsec] Reauthentication extension for IKEv2"
> > (http://www.ietf.org/mail-archive/web/ipsec/current/msg03106.html). 
The
> > discussion in the thread wandered quite a bit, so much so that it was
> > renamed "Identifying encrypted traffic" midstream. Following all the
> > posts on the thread, it appears to me that Martin's original question 
of
> > whether or not there should be a reauthentication extension for IKEv2
> > was forgotten and never answered (certainly rough consensus was not
> > reached). I named my draft to match the subject of Martin's original
> > post and I hope to use the draft to re-invigorate the discussion on 
this
> > topic. I would appreciate comments from the subscribers of this list 
as
> > to whether or not a reauthentication extension for IKEv2 is worth 
doing
> > and of course I would also appreciate comments on the draft itself.
> >
> > Thanks,
> >
> > Keith Welter
> > IBM z/OS Communications Server Developer
> >
> >  > A new version of I-D, draft-welter-ipsecme-ikev2-reauth-00.txt has
> >  > been successfully submitted by Keith Welter and posted to the IETF
> > repository.
> >  >
> >  > Filename: draft-welter-ipsecme-ikev2-reauth
> >  > Revision: 00
> >  > Title: Reauthentication Extension for IKEv2
> >  > Creation_date: 2010-09-28
> >  > WG ID: Independent Submission
> >  > Number_of_pages: 10
> >  >
> >  > Abstract:
> >  > This document extends the Internet Key Exchange (IKEv2) Protocol
> >  > document [IKEv2]. IKEv2 reauthentication does not scale well when 
an
> >  > IKE SA has multiple Child SAs because each Child SA of the IKE SA 
to
> >  > be reauthenticated must be renegotiated. In addition,
> >  > reauthentication is susceptible to the same kinds of exchange
> >  > collisions as those that may occur during rekeying. This document
> >  > describes a mechanism to detect reauthentication and avoid
> >  > renegotiating the Child SAs. In addition, this document describes
> >  > proper handling of exchange collisions that may occur during
> >  > reauthentication.
> >  >
> >  >
> >  >
> >  > The IETF Secretariat.
> >  >
> >  >
> >  > _______________________________________________
> >  > IPsec mailing list
> >  > IPsec@ietf.org
> >  > https://www.ietf.org/mailman/listinfo/ipsec
> >
> >
> >
> > _______________________________________________
> > IPsec mailing list
> > IPsec@ietf.org
> > https://www.ietf.org/mailman/listinfo/ipsec

--=_alternative 0058BD8E882577AD_=
Content-Type: text/html; charset="US-ASCII"


<br><font size=2 face="sans-serif">Hi Yaron,</font>
<br>
<br><font size=2 face="sans-serif">Thanks for your preliminary comments.
&nbsp;In-line responses below.</font>
<br><font size=2 face="sans-serif"><br>
Keith Welter<br>
IBM z/OS Communications Server Developer<br>
</font>
<br><tt><font size=2>Yaron Sheffer &lt;yaronf.ietf@gmail.com&gt; wrote
on 09/28/2010 02:40:46 PM:<br>
&gt; Hi Keith,<br>
&gt; <br>
&gt; thanks for exploring this important issue. Here are a few preliminary
<br>
&gt; comments:<br>
&gt; <br>
&gt; - The intro is short on motivation: what *exactly* happens today,
<br>
&gt; and why it is a problem that needs to be solved: bandwidth? CPU? Memory?
<br>
&gt; Complexity?</font></tt>
<br><tt><font size=2>Fair point. &nbsp;After discovering Martin's post
I should have borrowed elements from it because he did a good job of reiterating
how reauthentication works in RFC 5996 and listing problems, including
an INTERNAL_ADDRESS assigment problem I wasn't aware of because my platform
doesn't do INTERNAL_ADDRESS assignment. &nbsp;I would add exchange collisions
to Martin's list. &nbsp;On my platform, the redundant SAs that result from
simultaneous reauthentication was noticed by testers and reported as a
possible problem which was actually my original motivation for writing
the draft. &nbsp;I will forego a re-write of the intro at this point and
construct an outline of points that the intro ought to cover for discussion:</font></tt>
<br><tt><font size=2>1. reiterate how reauthentication works in RFC 5996
(quote third paragraph of section 2.8.3)</font></tt>
<br><tt><font size=2>2. include wire-flow diagram of RFC 5996 style reauthentication?</font></tt>
<br><tt><font size=2>3. list problems:</font></tt>
<br><tt><font size=2>&nbsp; &nbsp;a. Excessive bandwidth is consumed because
each Child SA of the IKE SA being reauthenticated must be renegotiated.</font></tt>
<br><tt><font size=2>&nbsp; &nbsp;b. The responder in the reauthentication
operation cannot detect that reauthentication is occuring. &nbsp;This may
cause problems such as preventing an IRAS from assigning the same INTERNAL_ADDRESS
to an IRAC.</font></tt>
<br><tt><font size=2>&nbsp; &nbsp;c. The reauthentication operation is
susceptible to simultaneous reauthentication which usually results in redundant
SAs which wastes memory and CPU and is confusing to operators.</font></tt>
<br><tt><font size=2>&nbsp; &nbsp;d. Other exchange collisions may occur
such as one side creating a new Child SA at the same time that the other
side is trying to reauthenticate the IKE SA. &nbsp;Interoperability when
such collisions occur may suffer from under-specification in RFC 5996 and
the inability of the responder to detect reauthentication.</font></tt>
<br><tt><font size=2><br>
&gt; <br>
&gt; - There's a long treatment of simultaneous reauth. I'm not saying
it is <br>
&gt; unimportant, but it's certainly more important to spell out *exactly
<br>
&gt; when* the new SA inherits the old one's baggage (immediately when
the <br>
&gt; IKE_AUTH completes successfully, I guess); and very important to say
<br>
&gt; what happens in error cases, for example if authentication fails.</font></tt>
<br><tt><font size=2>When I put the draft together I used existing text
from RFC 5996 with as little modification as possible. &nbsp;My motivation
was two-fold. &nbsp;First, I wanted the text to look familiar. &nbsp;Second,
I didn't want to expend an excessive amount of effort writing original
text in case the working group was uninterested in the topic. &nbsp;As
such, the lengthy parts and skimpy parts of the draft reflect lengthy and
skimpy treatments of the corresponding topics in RFC 5996. &nbsp;For example,
the lengthy treatment of simultaneous reauth borrows paragraphs from RFC
5996 section 2.8.1 and 2.8.2 nearly verbatim with a few substitutions such
as replacing &quot;rekey&quot; with &quot;reauthenticate&quot; and &quot;rekeying&quot;
with &quot;reauthenticating&quot;. &nbsp;The wire-flow diagrams are also
closely modeled on existing ones from RFC 5996.</font></tt>
<br>
<br><tt><font size=2>I would actually like to solicit help for describing
exactly when the new IKE SA inherits the old one's Child SAs since it ought
to mirror when that happens when rekeying the IKE SA. &nbsp;However, the
latter movement is barely described in RFC 5996. &nbsp;The only text I
found in RFC 5996 describing the movement of the Child SAs when rekeying
the IKE SA is in section 2.18 &quot;Rekeying&quot;:</font></tt>
<br><tt><font size=3>&nbsp; &nbsp;To rekey an IKE SA, establish a new equivalent
IKE SA (see</font></tt>
<br><tt><font size=3>&nbsp; &nbsp;Section 2.18 below) with the peer to
whom the old IKE SA is shared</font></tt>
<br><tt><font size=3>&nbsp; &nbsp;using a CREATE_CHILD_SA within the existing
IKE SA. &nbsp;An IKE SA so</font></tt>
<br><tt><font size=3>&nbsp; &nbsp;created inherits all of the original
IKE SA's Child SAs, and the new</font></tt>
<br><tt><font size=3>&nbsp; &nbsp;IKE SA is used for all control messages
needed to maintain those</font></tt>
<br><tt><font size=3>&nbsp; &nbsp;Child SAs. &nbsp;After the new equivalent
IKE SA is created, the initiator</font></tt>
<br><tt><font size=3>&nbsp; &nbsp;deletes the old IKE SA, and the Delete
payload to delete itself MUST</font></tt>
<br><tt><font size=3>&nbsp; &nbsp;be the last request sent over the old
IKE SA.</font></tt>
<br>
<br><tt><font size=2>I copied this same paragraph into section 2 &quot;IKE
SA Reauthentication With N(REAUTH_SA)&quot; of my draft with a few substitutions:</font></tt>
<br><tt><font size=3>&nbsp; &nbsp;The new IKE SA created as a result of
the reauthentication inherits<br>
 &nbsp; all of the original IKE SA's Child SAs, and the new IKE SA is used<br>
 &nbsp; for all control messages needed to maintain those Child SAs. &nbsp;After<br>
 &nbsp; the new IKE SA is created, the initiator deletes the old IKE SA,
and<br>
 &nbsp; the Delete payload to delete itself MUST be the last request sent<br>
 &nbsp; over the old IKE SA.<br>
<br>
</font></tt><tt><font size=2>I would welcome suggestions for improving
this.</font></tt>
<br>
<br><tt><font size=2>Your point about the need to discuss what happens
when authentication fails is well taken. &nbsp;I imagine I would point
to RFC 5996 section 2.21.2. &quot;Error Handling in IKE_AUTH&quot; and
say that all of that applies to reauthentication and that movement of the
child SAs does not occur if the reauthentication fails. &nbsp;I think that
perhaps it would be too strong to say that the old IKE SA should be closed
if the reauthentication fails but I would welcome other opinions. &nbsp;Are
there other error cases that you are concerned about?</font></tt>
<br><tt><font size=2><br>
&gt; <br>
&gt; Thanks,<br>
&gt; &nbsp; &nbsp;Yaron<br>
&gt; <br>
&gt; On 09/28/2010 10:09 PM, Keith Welter wrote:<br>
&gt; &gt;<br>
&gt; &gt; After writing this draft<br>
&gt; &gt; (</font></tt><a href="http://www.ietf.org/id/draft-welter-ipsecme-ikev2-reauth-00.txt"><tt><font size=2>http://www.ietf.org/id/draft-welter-ipsecme-ikev2-reauth-00.txt</font></tt></a><tt><font size=2>),
I<br>
&gt; &gt; re-discovered an old thread about the same issue. The post that
started<br>
&gt; &gt; the thread was from Martin Willi on Tue, 16 Sep 2008 with subject<br>
&gt; &gt; &quot;[IPsec] Reauthentication extension for IKEv2&quot;<br>
&gt; &gt; (</font></tt><a href="http://www.ietf.org/mail-archive/web/ipsec/current/msg03106.html"><tt><font size=2>http://www.ietf.org/mail-archive/web/ipsec/current/msg03106.html</font></tt></a><tt><font size=2>).
The<br>
&gt; &gt; discussion in the thread wandered quite a bit, so much so that
it was<br>
&gt; &gt; renamed &quot;Identifying encrypted traffic&quot; midstream.
Following all the<br>
&gt; &gt; posts on the thread, it appears to me that Martin's original
question of<br>
&gt; &gt; whether or not there should be a reauthentication extension for
IKEv2<br>
&gt; &gt; was forgotten and never answered (certainly rough consensus was
not<br>
&gt; &gt; reached). I named my draft to match the subject of Martin's original<br>
&gt; &gt; post and I hope to use the draft to re-invigorate the discussion
on this<br>
&gt; &gt; topic. I would appreciate comments from the subscribers of this
list as<br>
&gt; &gt; to whether or not a reauthentication extension for IKEv2 is worth
doing<br>
&gt; &gt; and of course I would also appreciate comments on the draft itself.<br>
&gt; &gt;<br>
&gt; &gt; Thanks,<br>
&gt; &gt;<br>
&gt; &gt; Keith Welter<br>
&gt; &gt; IBM z/OS Communications Server Developer<br>
&gt; &gt;<br>
&gt; &gt; &nbsp;&gt; A new version of I-D, draft-welter-ipsecme-ikev2-reauth-00.txt
has<br>
&gt; &gt; &nbsp;&gt; been successfully submitted by Keith Welter and posted
to the IETF<br>
&gt; &gt; repository.<br>
&gt; &gt; &nbsp;&gt;<br>
&gt; &gt; &nbsp;&gt; Filename: draft-welter-ipsecme-ikev2-reauth<br>
&gt; &gt; &nbsp;&gt; Revision: 00<br>
&gt; &gt; &nbsp;&gt; Title: Reauthentication Extension for IKEv2<br>
&gt; &gt; &nbsp;&gt; Creation_date: 2010-09-28<br>
&gt; &gt; &nbsp;&gt; WG ID: Independent Submission<br>
&gt; &gt; &nbsp;&gt; Number_of_pages: 10<br>
&gt; &gt; &nbsp;&gt;<br>
&gt; &gt; &nbsp;&gt; Abstract:<br>
&gt; &gt; &nbsp;&gt; This document extends the Internet Key Exchange (IKEv2)
Protocol<br>
&gt; &gt; &nbsp;&gt; document [IKEv2]. IKEv2 reauthentication does not
scale well when an<br>
&gt; &gt; &nbsp;&gt; IKE SA has multiple Child SAs because each Child SA
of the IKE SA to<br>
&gt; &gt; &nbsp;&gt; be reauthenticated must be renegotiated. In addition,<br>
&gt; &gt; &nbsp;&gt; reauthentication is susceptible to the same kinds
of exchange<br>
&gt; &gt; &nbsp;&gt; collisions as those that may occur during rekeying.
This document<br>
&gt; &gt; &nbsp;&gt; describes a mechanism to detect reauthentication and
avoid<br>
&gt; &gt; &nbsp;&gt; renegotiating the Child SAs. In addition, this document
describes<br>
&gt; &gt; &nbsp;&gt; proper handling of exchange collisions that may occur
during<br>
&gt; &gt; &nbsp;&gt; reauthentication.<br>
&gt; &gt; &nbsp;&gt;<br>
&gt; &gt; &nbsp;&gt;<br>
&gt; &gt; &nbsp;&gt;<br>
&gt; &gt; &nbsp;&gt; The IETF Secretariat.<br>
&gt; &gt; &nbsp;&gt;<br>
&gt; &gt; &nbsp;&gt;<br>
&gt; &gt; &nbsp;&gt; _______________________________________________<br>
&gt; &gt; &nbsp;&gt; IPsec mailing list<br>
&gt; &gt; &nbsp;&gt; IPsec@ietf.org<br>
&gt; &gt; &nbsp;&gt; </font></tt><a href=https://www.ietf.org/mailman/listinfo/ipsec><tt><font size=2>https://www.ietf.org/mailman/listinfo/ipsec</font></tt></a><tt><font size=2><br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; _______________________________________________<br>
&gt; &gt; IPsec mailing list<br>
&gt; &gt; IPsec@ietf.org<br>
&gt; &gt; </font></tt><a href=https://www.ietf.org/mailman/listinfo/ipsec><tt><font size=2>https://www.ietf.org/mailman/listinfo/ipsec</font></tt></a><tt><font size=2><br>
</font></tt>
--=_alternative 0058BD8E882577AD_=--

From yaronf.ietf@gmail.com  Wed Sep 29 13:57:40 2010
Return-Path: <yaronf.ietf@gmail.com>
X-Original-To: ipsec@core3.amsl.com
Delivered-To: ipsec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id AEC103A6D08 for <ipsec@core3.amsl.com>; Wed, 29 Sep 2010 13:57:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.162
X-Spam-Level: 
X-Spam-Status: No, score=-102.162 tagged_above=-999 required=5 tests=[AWL=-0.163, BAYES_00=-2.599, J_CHICKENPOX_33=0.6, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id OFZYVpxun-se for <ipsec@core3.amsl.com>; Wed, 29 Sep 2010 13:57:39 -0700 (PDT)
Received: from mail-fx0-f44.google.com (mail-fx0-f44.google.com [209.85.161.44]) by core3.amsl.com (Postfix) with ESMTP id C405A3A6AE8 for <ipsec@ietf.org>; Wed, 29 Sep 2010 13:57:34 -0700 (PDT)
Received: by fxm6 with SMTP id 6so1019082fxm.31 for <ipsec@ietf.org>; Wed, 29 Sep 2010 13:58:18 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=ayNNmTgwPlqNl2Ap8/cEyUCNoY5BoFLTsBXiofEgwCQ=; b=v1K1Ag+ZY6kQRm6EHhEVJFVpV2R2YUihQMTHwtETlR/+9exQxSZUJPq3L40LT0hn3J XnukyfzVGBOfyg3OpaMNjRdlmcfIPTPRTPnlyastBS90gWOqfiBnhkpWufdY5dJ2mged KpRLGGvQu2r7apWjAWEuyFNN6a97u1IUyPwko=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=CnO4YpICoYCBbkrNrbA+4pZhZHopk66RVrTVkvB56dDq+ZcT+2DgIZcLwEQXz6Y3Kg /bLDFNFSt1ALu+Os3yv0fOxV69v2AAuxW2tdpEk8ers1WOfHC5NcZd42t8YGH93U1iWF 6sLdIrl5GAOgJzE9++kwDhxRT0Z9mRPpZWFcE=
Received: by 10.223.118.17 with SMTP id t17mr2516944faq.82.1285793898359; Wed, 29 Sep 2010 13:58:18 -0700 (PDT)
Received: from [10.0.0.2] (bzq-79-183-43-64.red.bezeqint.net [79.183.43.64]) by mx.google.com with ESMTPS id a7sm4096403faa.21.2010.09.29.13.58.13 (version=SSLv3 cipher=RC4-MD5); Wed, 29 Sep 2010 13:58:15 -0700 (PDT)
Message-ID: <4CA3A862.2010404@gmail.com>
Date: Wed, 29 Sep 2010 22:58:10 +0200
From: Yaron Sheffer <yaronf.ietf@gmail.com>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.12) Gecko/20100915 Lightning/1.0b1 Thunderbird/3.0.8
MIME-Version: 1.0
To: Keith Welter <welterk@us.ibm.com>
References: <OFF427BE1F.BE06D445-ON882577AC.006DF7E3-882577AC.006E2BDE@us.ibm.com> <OF44C9382A.DB043882-ON882577AC.006E7AC7-882577AC.006EC0FB@us.ibm.com> <4CA260DE.8050507@gmail.com> <OF7D670D6A.6666CC8F-ON882577AD.00517CCB-882577AD.0058BEE0@us.ibm.com>
In-Reply-To: <OF7D670D6A.6666CC8F-ON882577AD.00517CCB-882577AD.0058BEE0@us.ibm.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Cc: ipsec@ietf.org
Subject: Re: [IPsec] draft-welter-ipsecme-ikev2-reauth-00
X-BeenThere: ipsec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discussion of IPsec protocols <ipsec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipsec>
List-Post: <mailto:ipsec@ietf.org>
List-Help: <mailto:ipsec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 29 Sep 2010 20:57:40 -0000

Hi Keith,

I am responding only to your last point, on error cases.

If the new SA setup fails, the old IKE SA MUST NOT be affected in any 
way. Otherwise (if we recommend to drop the old SA), we would have an 
unauthenticated attacker DOS'ing an entire IKE SA and its Child SAs.

Yes, I think auth failure is the main error case we should be concerned 
with.

Thanks,
	Yaron

On 09/29/2010 06:09 PM, Keith Welter wrote:
>
> Hi Yaron,
>
> Thanks for your preliminary comments. In-line responses below.
>
> Keith Welter
> IBM z/OS Communications Server Developer
>
> Yaron Sheffer <yaronf.ietf@gmail.com> wrote on 09/28/2010 02:40:46 PM:
>  > Hi Keith,
>  >
>  > thanks for exploring this important issue. Here are a few preliminary
>  > comments:
>  >
>  > - The intro is short on motivation: what *exactly* happens today,
>  > and why it is a problem that needs to be solved: bandwidth? CPU? Memory?
>  > Complexity?
> Fair point. After discovering Martin's post I should have borrowed
> elements from it because he did a good job of reiterating how
> reauthentication works in RFC 5996 and listing problems, including an
> INTERNAL_ADDRESS assigment problem I wasn't aware of because my platform
> doesn't do INTERNAL_ADDRESS assignment. I would add exchange collisions
> to Martin's list. On my platform, the redundant SAs that result from
> simultaneous reauthentication was noticed by testers and reported as a
> possible problem which was actually my original motivation for writing
> the draft. I will forego a re-write of the intro at this point and
> construct an outline of points that the intro ought to cover for
> discussion:
> 1. reiterate how reauthentication works in RFC 5996 (quote third
> paragraph of section 2.8.3)
> 2. include wire-flow diagram of RFC 5996 style reauthentication?
> 3. list problems:
> a. Excessive bandwidth is consumed because each Child SA of the IKE SA
> being reauthenticated must be renegotiated.
> b. The responder in the reauthentication operation cannot detect that
> reauthentication is occuring. This may cause problems such as preventing
> an IRAS from assigning the same INTERNAL_ADDRESS to an IRAC.
> c. The reauthentication operation is susceptible to simultaneous
> reauthentication which usually results in redundant SAs which wastes
> memory and CPU and is confusing to operators.
> d. Other exchange collisions may occur such as one side creating a new
> Child SA at the same time that the other side is trying to
> reauthenticate the IKE SA. Interoperability when such collisions occur
> may suffer from under-specification in RFC 5996 and the inability of the
> responder to detect reauthentication.
>
>  >
>  > - There's a long treatment of simultaneous reauth. I'm not saying it is
>  > unimportant, but it's certainly more important to spell out *exactly
>  > when* the new SA inherits the old one's baggage (immediately when the
>  > IKE_AUTH completes successfully, I guess); and very important to say
>  > what happens in error cases, for example if authentication fails.
> When I put the draft together I used existing text from RFC 5996 with as
> little modification as possible. My motivation was two-fold. First, I
> wanted the text to look familiar. Second, I didn't want to expend an
> excessive amount of effort writing original text in case the working
> group was uninterested in the topic. As such, the lengthy parts and
> skimpy parts of the draft reflect lengthy and skimpy treatments of the
> corresponding topics in RFC 5996. For example, the lengthy treatment of
> simultaneous reauth borrows paragraphs from RFC 5996 section 2.8.1 and
> 2.8.2 nearly verbatim with a few substitutions such as replacing "rekey"
> with "reauthenticate" and "rekeying" with "reauthenticating". The
> wire-flow diagrams are also closely modeled on existing ones from RFC 5996.
>
> I would actually like to solicit help for describing exactly when the
> new IKE SA inherits the old one's Child SAs since it ought to mirror
> when that happens when rekeying the IKE SA. However, the latter movement
> is barely described in RFC 5996. The only text I found in RFC 5996
> describing the movement of the Child SAs when rekeying the IKE SA is in
> section 2.18 "Rekeying":
> To rekey an IKE SA, establish a new equivalent IKE SA (see
> Section 2.18 below) with the peer to whom the old IKE SA is shared
> using a CREATE_CHILD_SA within the existing IKE SA. An IKE SA so
> created inherits all of the original IKE SA's Child SAs, and the new
> IKE SA is used for all control messages needed to maintain those
> Child SAs. After the new equivalent IKE SA is created, the initiator
> deletes the old IKE SA, and the Delete payload to delete itself MUST
> be the last request sent over the old IKE SA.
>
> I copied this same paragraph into section 2 "IKE SA Reauthentication
> With N(REAUTH_SA)" of my draft with a few substitutions:
> The new IKE SA created as a result of the reauthentication inherits
> all of the original IKE SA's Child SAs, and the new IKE SA is used
> for all control messages needed to maintain those Child SAs. After
> the new IKE SA is created, the initiator deletes the old IKE SA, and
> the Delete payload to delete itself MUST be the last request sent
> over the old IKE SA.
>
> I would welcome suggestions for improving this.
>
> Your point about the need to discuss what happens when authentication
> fails is well taken. I imagine I would point to RFC 5996 section 2.21.2.
> "Error Handling in IKE_AUTH" and say that all of that applies to
> reauthentication and that movement of the child SAs does not occur if
> the reauthentication fails. I think that perhaps it would be too strong
> to say that the old IKE SA should be closed if the reauthentication
> fails but I would welcome other opinions. Are there other error cases
> that you are concerned about?
>
>  >
>  > Thanks,
>  > Yaron
>  >
>  > On 09/28/2010 10:09 PM, Keith Welter wrote:
>  > >
>  > > After writing this draft
>  > > (http://www.ietf.org/id/draft-welter-ipsecme-ikev2-reauth-00.txt), I
>  > > re-discovered an old thread about the same issue. The post that started
>  > > the thread was from Martin Willi on Tue, 16 Sep 2008 with subject
>  > > "[IPsec] Reauthentication extension for IKEv2"
>  > > (http://www.ietf.org/mail-archive/web/ipsec/current/msg03106.html). The
>  > > discussion in the thread wandered quite a bit, so much so that it was
>  > > renamed "Identifying encrypted traffic" midstream. Following all the
>  > > posts on the thread, it appears to me that Martin's original
> question of
>  > > whether or not there should be a reauthentication extension for IKEv2
>  > > was forgotten and never answered (certainly rough consensus was not
>  > > reached). I named my draft to match the subject of Martin's original
>  > > post and I hope to use the draft to re-invigorate the discussion on
> this
>  > > topic. I would appreciate comments from the subscribers of this list as
>  > > to whether or not a reauthentication extension for IKEv2 is worth doing
>  > > and of course I would also appreciate comments on the draft itself.
>  > >
>  > > Thanks,
>  > >
>  > > Keith Welter
>  > > IBM z/OS Communications Server Developer
>  > >
>  > > > A new version of I-D, draft-welter-ipsecme-ikev2-reauth-00.txt has
>  > > > been successfully submitted by Keith Welter and posted to the IETF
>  > > repository.
>  > > >
>  > > > Filename: draft-welter-ipsecme-ikev2-reauth
>  > > > Revision: 00
>  > > > Title: Reauthentication Extension for IKEv2
>  > > > Creation_date: 2010-09-28
>  > > > WG ID: Independent Submission
>  > > > Number_of_pages: 10
>  > > >
>  > > > Abstract:
>  > > > This document extends the Internet Key Exchange (IKEv2) Protocol
>  > > > document [IKEv2]. IKEv2 reauthentication does not scale well when an
>  > > > IKE SA has multiple Child SAs because each Child SA of the IKE SA to
>  > > > be reauthenticated must be renegotiated. In addition,
>  > > > reauthentication is susceptible to the same kinds of exchange
>  > > > collisions as those that may occur during rekeying. This document
>  > > > describes a mechanism to detect reauthentication and avoid
>  > > > renegotiating the Child SAs. In addition, this document describes
>  > > > proper handling of exchange collisions that may occur during
>  > > > reauthentication.
>  > > >
>  > > >
>  > > >
>  > > > The IETF Secretariat.
>  > > >
>  > > >
>  > > > _______________________________________________
>  > > > IPsec mailing list
>  > > > IPsec@ietf.org
>  > > > https://www.ietf.org/mailman/listinfo/ipsec
>  > >
>  > >
>  > >
>  > > _______________________________________________
>  > > IPsec mailing list
>  > > IPsec@ietf.org
>  > > https://www.ietf.org/mailman/listinfo/ipsec

From welterk@us.ibm.com  Wed Sep 29 14:14:39 2010
Return-Path: <welterk@us.ibm.com>
X-Original-To: ipsec@core3.amsl.com
Delivered-To: ipsec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 87EAF3A6C7B for <ipsec@core3.amsl.com>; Wed, 29 Sep 2010 14:14:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.298
X-Spam-Level: 
X-Spam-Status: No, score=-5.298 tagged_above=-999 required=5 tests=[AWL=0.700,  BAYES_00=-2.599, HTML_MESSAGE=0.001, J_CHICKENPOX_33=0.6, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BoI-Y-j5fdDG for <ipsec@core3.amsl.com>; Wed, 29 Sep 2010 14:14:37 -0700 (PDT)
Received: from e36.co.us.ibm.com (e36.co.us.ibm.com [32.97.110.154]) by core3.amsl.com (Postfix) with ESMTP id 906383A6AE8 for <ipsec@ietf.org>; Wed, 29 Sep 2010 14:14:36 -0700 (PDT)
Received: from d03relay02.boulder.ibm.com (d03relay02.boulder.ibm.com [9.17.195.227]) by e36.co.us.ibm.com (8.14.4/8.13.1) with ESMTP id o8TLB8Hg008748 for <ipsec@ietf.org>; Wed, 29 Sep 2010 15:11:08 -0600
Received: from d03av02.boulder.ibm.com (d03av02.boulder.ibm.com [9.17.195.168]) by d03relay02.boulder.ibm.com (8.13.8/8.13.8/NCO v9.1) with ESMTP id o8TLFCBR177206 for <ipsec@ietf.org>; Wed, 29 Sep 2010 15:15:12 -0600
Received: from d03av02.boulder.ibm.com (loopback [127.0.0.1]) by d03av02.boulder.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id o8TLFCr9011898 for <ipsec@ietf.org>; Wed, 29 Sep 2010 15:15:12 -0600
Received: from d03nm118.boulder.ibm.com (d03nm118.boulder.ibm.com [9.17.195.144]) by d03av02.boulder.ibm.com (8.14.4/8.13.1/NCO v10.0 AVin) with ESMTP id o8TLFC78011894; Wed, 29 Sep 2010 15:15:12 -0600
In-Reply-To: <4CA3A862.2010404@gmail.com>
References: <OFF427BE1F.BE06D445-ON882577AC.006DF7E3-882577AC.006E2BDE@us.ibm.com> <OF44C9382A.DB043882-ON882577AC.006E7AC7-882577AC.006EC0FB@us.ibm.com> <4CA260DE.8050507@gmail.com> <OF7D670D6A.6666CC8F-ON882577AD.00517CCB-882577AD.0058BEE0@us.ibm.com> <4CA3A862.2010404@gmail.com>
To: ipsec@ietf.org
MIME-Version: 1.0
X-KeepSent: F07E4A32:66699BBD-882577AD:00741B3A; type=4; name=$KeepSent
X-Mailer: Lotus Notes Release 8.0.2FP3 SHF32 December 02, 2009
From: Keith Welter <welterk@us.ibm.com>
Message-ID: <OFF07E4A32.66699BBD-ON882577AD.00741B3A-882577AD.0074BF79@us.ibm.com>
Date: Wed, 29 Sep 2010 14:15:11 -0700
X-MIMETrack: Serialize by Router on D03NM118/03/M/IBM(Release 8.5.1FP4|July 25, 2010) at 09/29/2010 15:15:11, Serialize complete at 09/29/2010 15:15:11
Content-Type: multipart/alternative; boundary="=_alternative 0074BE50882577AD_="
Subject: Re: [IPsec] draft-welter-ipsecme-ikev2-reauth-00
X-BeenThere: ipsec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discussion of IPsec protocols <ipsec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipsec>
List-Post: <mailto:ipsec@ietf.org>
List-Help: <mailto:ipsec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 29 Sep 2010 21:14:40 -0000

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

Yaron Sheffer <yaronf.ietf@gmail.com> wrote on 09/29/2010 01:58:10 PM:
> Hi Keith,
> 
> I am responding only to your last point, on error cases.
> 
> If the new SA setup fails, the old IKE SA MUST NOT be affected in any 
> way. Otherwise (if we recommend to drop the old SA), we would have an 
> unauthenticated attacker DOS'ing an entire IKE SA and its Child SAs.
Good point.  Thanks.

> 
> Yes, I think auth failure is the main error case we should be concerned 
> with.
Good.  I tried to be thorough about covering possible errors involving the 
new N(REAUTH_SA) but I forgot to deal with an authentication failure 
during re-authentication.  That is certainly important to cover!

> 
> Thanks,
>    Yaron
> 
> On 09/29/2010 06:09 PM, Keith Welter wrote:
> >
> > Hi Yaron,
> >
> > Thanks for your preliminary comments. In-line responses below.
> >
> > Keith Welter
> > IBM z/OS Communications Server Developer
> >
> > Yaron Sheffer <yaronf.ietf@gmail.com> wrote on 09/28/2010 02:40:46 PM:
> >  > Hi Keith,
> >  >
> >  > thanks for exploring this important issue. Here are a few 
preliminary
> >  > comments:
> >  >
> >  > - The intro is short on motivation: what *exactly* happens today,
> >  > and why it is a problem that needs to be solved: bandwidth? CPU? 
Memory?
> >  > Complexity?
> > Fair point. After discovering Martin's post I should have borrowed
> > elements from it because he did a good job of reiterating how
> > reauthentication works in RFC 5996 and listing problems, including an
> > INTERNAL_ADDRESS assigment problem I wasn't aware of because my 
platform
> > doesn't do INTERNAL_ADDRESS assignment. I would add exchange 
collisions
> > to Martin's list. On my platform, the redundant SAs that result from
> > simultaneous reauthentication was noticed by testers and reported as a
> > possible problem which was actually my original motivation for writing
> > the draft. I will forego a re-write of the intro at this point and
> > construct an outline of points that the intro ought to cover for
> > discussion:
> > 1. reiterate how reauthentication works in RFC 5996 (quote third
> > paragraph of section 2.8.3)
> > 2. include wire-flow diagram of RFC 5996 style reauthentication?
> > 3. list problems:
> > a. Excessive bandwidth is consumed because each Child SA of the IKE SA
> > being reauthenticated must be renegotiated.
> > b. The responder in the reauthentication operation cannot detect that
> > reauthentication is occuring. This may cause problems such as 
preventing
> > an IRAS from assigning the same INTERNAL_ADDRESS to an IRAC.
> > c. The reauthentication operation is susceptible to simultaneous
> > reauthentication which usually results in redundant SAs which wastes
> > memory and CPU and is confusing to operators.
> > d. Other exchange collisions may occur such as one side creating a new
> > Child SA at the same time that the other side is trying to
> > reauthenticate the IKE SA. Interoperability when such collisions occur
> > may suffer from under-specification in RFC 5996 and the inability of 
the
> > responder to detect reauthentication.
> >
> >  >
> >  > - There's a long treatment of simultaneous reauth. I'm not saying 
it is
> >  > unimportant, but it's certainly more important to spell out 
*exactly
> >  > when* the new SA inherits the old one's baggage (immediately when 
the
> >  > IKE_AUTH completes successfully, I guess); and very important to 
say
> >  > what happens in error cases, for example if authentication fails.
> > When I put the draft together I used existing text from RFC 5996 with 
as
> > little modification as possible. My motivation was two-fold. First, I
> > wanted the text to look familiar. Second, I didn't want to expend an
> > excessive amount of effort writing original text in case the working
> > group was uninterested in the topic. As such, the lengthy parts and
> > skimpy parts of the draft reflect lengthy and skimpy treatments of the
> > corresponding topics in RFC 5996. For example, the lengthy treatment 
of
> > simultaneous reauth borrows paragraphs from RFC 5996 section 2.8.1 and
> > 2.8.2 nearly verbatim with a few substitutions such as replacing 
"rekey"
> > with "reauthenticate" and "rekeying" with "reauthenticating". The
> > wire-flow diagrams are also closely modeled on existing ones from RFC 
5996.
> >
> > I would actually like to solicit help for describing exactly when the
> > new IKE SA inherits the old one's Child SAs since it ought to mirror
> > when that happens when rekeying the IKE SA. However, the latter 
movement
> > is barely described in RFC 5996. The only text I found in RFC 5996
> > describing the movement of the Child SAs when rekeying the IKE SA is 
in
> > section 2.18 "Rekeying":
> > To rekey an IKE SA, establish a new equivalent IKE SA (see
> > Section 2.18 below) with the peer to whom the old IKE SA is shared
> > using a CREATE_CHILD_SA within the existing IKE SA. An IKE SA so
> > created inherits all of the original IKE SA's Child SAs, and the new
> > IKE SA is used for all control messages needed to maintain those
> > Child SAs. After the new equivalent IKE SA is created, the initiator
> > deletes the old IKE SA, and the Delete payload to delete itself MUST
> > be the last request sent over the old IKE SA.
> >
> > I copied this same paragraph into section 2 "IKE SA Reauthentication
> > With N(REAUTH_SA)" of my draft with a few substitutions:
> > The new IKE SA created as a result of the reauthentication inherits
> > all of the original IKE SA's Child SAs, and the new IKE SA is used
> > for all control messages needed to maintain those Child SAs. After
> > the new IKE SA is created, the initiator deletes the old IKE SA, and
> > the Delete payload to delete itself MUST be the last request sent
> > over the old IKE SA.
> >
> > I would welcome suggestions for improving this.
> >
> > Your point about the need to discuss what happens when authentication
> > fails is well taken. I imagine I would point to RFC 5996 section 
2.21.2.
> > "Error Handling in IKE_AUTH" and say that all of that applies to
> > reauthentication and that movement of the child SAs does not occur if
> > the reauthentication fails. I think that perhaps it would be too 
strong
> > to say that the old IKE SA should be closed if the reauthentication
> > fails but I would welcome other opinions. Are there other error cases
> > that you are concerned about?
> >
> >  >
> >  > Thanks,
> >  > Yaron
> >  >
> >  > On 09/28/2010 10:09 PM, Keith Welter wrote:
> >  > >
> >  > > After writing this draft
> >  > > (http://www.ietf.org/id/draft-welter-ipsecme-ikev2-reauth-00.txt
), I
> >  > > re-discovered an old thread about the same issue. The post that 
started
> >  > > the thread was from Martin Willi on Tue, 16 Sep 2008 with subject
> >  > > "[IPsec] Reauthentication extension for IKEv2"
> >  > > (http://www.ietf.org/mail-archive/web/ipsec/current/msg03106.html
). The
> >  > > discussion in the thread wandered quite a bit, so much so that it 
was
> >  > > renamed "Identifying encrypted traffic" midstream. Following all 
the
> >  > > posts on the thread, it appears to me that Martin's original
> > question of
> >  > > whether or not there should be a reauthentication extension for 
IKEv2
> >  > > was forgotten and never answered (certainly rough consensus was 
not
> >  > > reached). I named my draft to match the subject of Martin's 
original
> >  > > post and I hope to use the draft to re-invigorate the discussion 
on
> > this
> >  > > topic. I would appreciate comments from the subscribers of this 
list as
> >  > > to whether or not a reauthentication extension for IKEv2 is worth 
doing
> >  > > and of course I would also appreciate comments on the draft 
itself.
> >  > >
> >  > > Thanks,
> >  > >
> >  > > Keith Welter
> >  > > IBM z/OS Communications Server Developer
> >  > >
> >  > > > A new version of I-D, draft-welter-ipsecme-ikev2-reauth-00.txt 
has
> >  > > > been successfully submitted by Keith Welter and posted to the 
IETF
> >  > > repository.
> >  > > >
> >  > > > Filename: draft-welter-ipsecme-ikev2-reauth
> >  > > > Revision: 00
> >  > > > Title: Reauthentication Extension for IKEv2
> >  > > > Creation_date: 2010-09-28
> >  > > > WG ID: Independent Submission
> >  > > > Number_of_pages: 10
> >  > > >
> >  > > > Abstract:
> >  > > > This document extends the Internet Key Exchange (IKEv2) 
Protocol
> >  > > > document [IKEv2]. IKEv2 reauthentication does not scale well 
when an
> >  > > > IKE SA has multiple Child SAs because each Child SA of the IKE 
SA to
> >  > > > be reauthenticated must be renegotiated. In addition,
> >  > > > reauthentication is susceptible to the same kinds of exchange
> >  > > > collisions as those that may occur during rekeying. This 
document
> >  > > > describes a mechanism to detect reauthentication and avoid
> >  > > > renegotiating the Child SAs. In addition, this document 
describes
> >  > > > proper handling of exchange collisions that may occur during
> >  > > > reauthentication.
> >  > > >
> >  > > >
> >  > > >
> >  > > > The IETF Secretariat.
> >  > > >
> >  > > >
> >  > > > _______________________________________________
> >  > > > IPsec mailing list
> >  > > > IPsec@ietf.org
> >  > > > https://www.ietf.org/mailman/listinfo/ipsec
> >  > >
> >  > >
> >  > >
> >  > > _______________________________________________
> >  > > IPsec mailing list
> >  > > IPsec@ietf.org
> >  > > https://www.ietf.org/mailman/listinfo/ipsec

--=_alternative 0074BE50882577AD_=
Content-Type: text/html; charset="US-ASCII"


<br><tt><font size=2>Yaron Sheffer &lt;yaronf.ietf@gmail.com&gt; wrote
on 09/29/2010 01:58:10 PM:<br>
&gt; Hi Keith,<br>
&gt; <br>
&gt; I am responding only to your last point, on error cases.<br>
&gt; <br>
&gt; If the new SA setup fails, the old IKE SA MUST NOT be affected in
any <br>
&gt; way. Otherwise (if we recommend to drop the old SA), we would have
an <br>
&gt; unauthenticated attacker DOS'ing an entire IKE SA and its Child SAs.</font></tt>
<br><tt><font size=2>Good point. &nbsp;Thanks.</font></tt>
<br><tt><font size=2><br>
&gt; <br>
&gt; Yes, I think auth failure is the main error case we should be concerned
<br>
&gt; with.</font></tt>
<br><tt><font size=2>Good. &nbsp;I tried to be thorough about covering
possible errors involving the new N(REAUTH_SA) but I forgot to deal with
an authentication failure during re-authentication. &nbsp;That is certainly
important to cover!</font></tt>
<br><tt><font size=2><br>
&gt; <br>
&gt; Thanks,<br>
&gt; &nbsp; &nbsp;Yaron<br>
&gt; <br>
&gt; On 09/29/2010 06:09 PM, Keith Welter wrote:<br>
&gt; &gt;<br>
&gt; &gt; Hi Yaron,<br>
&gt; &gt;<br>
&gt; &gt; Thanks for your preliminary comments. In-line responses below.<br>
&gt; &gt;<br>
&gt; &gt; Keith Welter<br>
&gt; &gt; IBM z/OS Communications Server Developer<br>
&gt; &gt;<br>
&gt; &gt; Yaron Sheffer &lt;yaronf.ietf@gmail.com&gt; wrote on 09/28/2010
02:40:46 PM:<br>
&gt; &gt; &nbsp;&gt; Hi Keith,<br>
&gt; &gt; &nbsp;&gt;<br>
&gt; &gt; &nbsp;&gt; thanks for exploring this important issue. Here are
a few preliminary<br>
&gt; &gt; &nbsp;&gt; comments:<br>
&gt; &gt; &nbsp;&gt;<br>
&gt; &gt; &nbsp;&gt; - The intro is short on motivation: what *exactly*
happens today,<br>
&gt; &gt; &nbsp;&gt; and why it is a problem that needs to be solved: bandwidth?
CPU? Memory?<br>
&gt; &gt; &nbsp;&gt; Complexity?<br>
&gt; &gt; Fair point. After discovering Martin's post I should have borrowed<br>
&gt; &gt; elements from it because he did a good job of reiterating how<br>
&gt; &gt; reauthentication works in RFC 5996 and listing problems, including
an<br>
&gt; &gt; INTERNAL_ADDRESS assigment problem I wasn't aware of because
my platform<br>
&gt; &gt; doesn't do INTERNAL_ADDRESS assignment. I would add exchange
collisions<br>
&gt; &gt; to Martin's list. On my platform, the redundant SAs that result
from<br>
&gt; &gt; simultaneous reauthentication was noticed by testers and reported
as a<br>
&gt; &gt; possible problem which was actually my original motivation for
writing<br>
&gt; &gt; the draft. I will forego a re-write of the intro at this point
and<br>
&gt; &gt; construct an outline of points that the intro ought to cover
for<br>
&gt; &gt; discussion:<br>
&gt; &gt; 1. reiterate how reauthentication works in RFC 5996 (quote third<br>
&gt; &gt; paragraph of section 2.8.3)<br>
&gt; &gt; 2. include wire-flow diagram of RFC 5996 style reauthentication?<br>
&gt; &gt; 3. list problems:<br>
&gt; &gt; a. Excessive bandwidth is consumed because each Child SA of the
IKE SA<br>
&gt; &gt; being reauthenticated must be renegotiated.<br>
&gt; &gt; b. The responder in the reauthentication operation cannot detect
that<br>
&gt; &gt; reauthentication is occuring. This may cause problems such as
preventing<br>
&gt; &gt; an IRAS from assigning the same INTERNAL_ADDRESS to an IRAC.<br>
&gt; &gt; c. The reauthentication operation is susceptible to simultaneous<br>
&gt; &gt; reauthentication which usually results in redundant SAs which
wastes<br>
&gt; &gt; memory and CPU and is confusing to operators.<br>
&gt; &gt; d. Other exchange collisions may occur such as one side creating
a new<br>
&gt; &gt; Child SA at the same time that the other side is trying to<br>
&gt; &gt; reauthenticate the IKE SA. Interoperability when such collisions
occur<br>
&gt; &gt; may suffer from under-specification in RFC 5996 and the inability
of the<br>
&gt; &gt; responder to detect reauthentication.<br>
&gt; &gt;<br>
&gt; &gt; &nbsp;&gt;<br>
&gt; &gt; &nbsp;&gt; - There's a long treatment of simultaneous reauth.
I'm not saying it is<br>
&gt; &gt; &nbsp;&gt; unimportant, but it's certainly more important to
spell out *exactly<br>
&gt; &gt; &nbsp;&gt; when* the new SA inherits the old one's baggage (immediately
when the<br>
&gt; &gt; &nbsp;&gt; IKE_AUTH completes successfully, I guess); and very
important to say<br>
&gt; &gt; &nbsp;&gt; what happens in error cases, for example if authentication
fails.<br>
&gt; &gt; When I put the draft together I used existing text from RFC 5996
with as<br>
&gt; &gt; little modification as possible. My motivation was two-fold.
First, I<br>
&gt; &gt; wanted the text to look familiar. Second, I didn't want to expend
an<br>
&gt; &gt; excessive amount of effort writing original text in case the
working<br>
&gt; &gt; group was uninterested in the topic. As such, the lengthy parts
and<br>
&gt; &gt; skimpy parts of the draft reflect lengthy and skimpy treatments
of the<br>
&gt; &gt; corresponding topics in RFC 5996. For example, the lengthy treatment
of<br>
&gt; &gt; simultaneous reauth borrows paragraphs from RFC 5996 section
2.8.1 and<br>
&gt; &gt; 2.8.2 nearly verbatim with a few substitutions such as replacing
&quot;rekey&quot;<br>
&gt; &gt; with &quot;reauthenticate&quot; and &quot;rekeying&quot; with
&quot;reauthenticating&quot;. The<br>
&gt; &gt; wire-flow diagrams are also closely modeled on existing ones
from RFC 5996.<br>
&gt; &gt;<br>
&gt; &gt; I would actually like to solicit help for describing exactly
when the<br>
&gt; &gt; new IKE SA inherits the old one's Child SAs since it ought to
mirror<br>
&gt; &gt; when that happens when rekeying the IKE SA. However, the latter
movement<br>
&gt; &gt; is barely described in RFC 5996. The only text I found in RFC
5996<br>
&gt; &gt; describing the movement of the Child SAs when rekeying the IKE
SA is in<br>
&gt; &gt; section 2.18 &quot;Rekeying&quot;:<br>
&gt; &gt; To rekey an IKE SA, establish a new equivalent IKE SA (see<br>
&gt; &gt; Section 2.18 below) with the peer to whom the old IKE SA is shared<br>
&gt; &gt; using a CREATE_CHILD_SA within the existing IKE SA. An IKE SA
so<br>
&gt; &gt; created inherits all of the original IKE SA's Child SAs, and
the new<br>
&gt; &gt; IKE SA is used for all control messages needed to maintain those<br>
&gt; &gt; Child SAs. After the new equivalent IKE SA is created, the initiator<br>
&gt; &gt; deletes the old IKE SA, and the Delete payload to delete itself
MUST<br>
&gt; &gt; be the last request sent over the old IKE SA.<br>
&gt; &gt;<br>
&gt; &gt; I copied this same paragraph into section 2 &quot;IKE SA Reauthentication<br>
&gt; &gt; With N(REAUTH_SA)&quot; of my draft with a few substitutions:<br>
&gt; &gt; The new IKE SA created as a result of the reauthentication inherits<br>
&gt; &gt; all of the original IKE SA's Child SAs, and the new IKE SA is
used<br>
&gt; &gt; for all control messages needed to maintain those Child SAs.
After<br>
&gt; &gt; the new IKE SA is created, the initiator deletes the old IKE
SA, and<br>
&gt; &gt; the Delete payload to delete itself MUST be the last request
sent<br>
&gt; &gt; over the old IKE SA.<br>
&gt; &gt;<br>
&gt; &gt; I would welcome suggestions for improving this.<br>
&gt; &gt;<br>
&gt; &gt; Your point about the need to discuss what happens when authentication<br>
&gt; &gt; fails is well taken. I imagine I would point to RFC 5996 section
2.21.2.<br>
&gt; &gt; &quot;Error Handling in IKE_AUTH&quot; and say that all of that
applies to<br>
&gt; &gt; reauthentication and that movement of the child SAs does not
occur if<br>
&gt; &gt; the reauthentication fails. I think that perhaps it would be
too strong<br>
&gt; &gt; to say that the old IKE SA should be closed if the reauthentication<br>
&gt; &gt; fails but I would welcome other opinions. Are there other error
cases<br>
&gt; &gt; that you are concerned about?<br>
&gt; &gt;<br>
&gt; &gt; &nbsp;&gt;<br>
&gt; &gt; &nbsp;&gt; Thanks,<br>
&gt; &gt; &nbsp;&gt; Yaron<br>
&gt; &gt; &nbsp;&gt;<br>
&gt; &gt; &nbsp;&gt; On 09/28/2010 10:09 PM, Keith Welter wrote:<br>
&gt; &gt; &nbsp;&gt; &gt;<br>
&gt; &gt; &nbsp;&gt; &gt; After writing this draft<br>
&gt; &gt; &nbsp;&gt; &gt; (</font></tt><a href="http://www.ietf.org/id/draft-welter-ipsecme-ikev2-reauth-00.txt"><tt><font size=2>http://www.ietf.org/id/draft-welter-ipsecme-ikev2-reauth-00.txt</font></tt></a><tt><font size=2>),
I<br>
&gt; &gt; &nbsp;&gt; &gt; re-discovered an old thread about the same issue.
The post that started<br>
&gt; &gt; &nbsp;&gt; &gt; the thread was from Martin Willi on Tue, 16 Sep
2008 with subject<br>
&gt; &gt; &nbsp;&gt; &gt; &quot;[IPsec] Reauthentication extension for
IKEv2&quot;<br>
&gt; &gt; &nbsp;&gt; &gt; (</font></tt><a href="http://www.ietf.org/mail-archive/web/ipsec/current/msg03106.html"><tt><font size=2>http://www.ietf.org/mail-archive/web/ipsec/current/msg03106.html</font></tt></a><tt><font size=2>).
The<br>
&gt; &gt; &nbsp;&gt; &gt; discussion in the thread wandered quite a bit,
so much so that it was<br>
&gt; &gt; &nbsp;&gt; &gt; renamed &quot;Identifying encrypted traffic&quot;
midstream. Following all the<br>
&gt; &gt; &nbsp;&gt; &gt; posts on the thread, it appears to me that Martin's
original<br>
&gt; &gt; question of<br>
&gt; &gt; &nbsp;&gt; &gt; whether or not there should be a reauthentication
extension for IKEv2<br>
&gt; &gt; &nbsp;&gt; &gt; was forgotten and never answered (certainly rough
consensus was not<br>
&gt; &gt; &nbsp;&gt; &gt; reached). I named my draft to match the subject
of Martin's original<br>
&gt; &gt; &nbsp;&gt; &gt; post and I hope to use the draft to re-invigorate
the discussion on<br>
&gt; &gt; this<br>
&gt; &gt; &nbsp;&gt; &gt; topic. I would appreciate comments from the subscribers
of this list as<br>
&gt; &gt; &nbsp;&gt; &gt; to whether or not a reauthentication extension
for IKEv2 is worth doing<br>
&gt; &gt; &nbsp;&gt; &gt; and of course I would also appreciate comments
on the draft itself.<br>
&gt; &gt; &nbsp;&gt; &gt;<br>
&gt; &gt; &nbsp;&gt; &gt; Thanks,<br>
&gt; &gt; &nbsp;&gt; &gt;<br>
&gt; &gt; &nbsp;&gt; &gt; Keith Welter<br>
&gt; &gt; &nbsp;&gt; &gt; IBM z/OS Communications Server Developer<br>
&gt; &gt; &nbsp;&gt; &gt;<br>
&gt; &gt; &nbsp;&gt; &gt; &gt; A new version of I-D, draft-welter-ipsecme-ikev2-reauth-00.txt
has<br>
&gt; &gt; &nbsp;&gt; &gt; &gt; been successfully submitted by Keith Welter
and posted to the IETF<br>
&gt; &gt; &nbsp;&gt; &gt; repository.<br>
&gt; &gt; &nbsp;&gt; &gt; &gt;<br>
&gt; &gt; &nbsp;&gt; &gt; &gt; Filename: draft-welter-ipsecme-ikev2-reauth<br>
&gt; &gt; &nbsp;&gt; &gt; &gt; Revision: 00<br>
&gt; &gt; &nbsp;&gt; &gt; &gt; Title: Reauthentication Extension for IKEv2<br>
&gt; &gt; &nbsp;&gt; &gt; &gt; Creation_date: 2010-09-28<br>
&gt; &gt; &nbsp;&gt; &gt; &gt; WG ID: Independent Submission<br>
&gt; &gt; &nbsp;&gt; &gt; &gt; Number_of_pages: 10<br>
&gt; &gt; &nbsp;&gt; &gt; &gt;<br>
&gt; &gt; &nbsp;&gt; &gt; &gt; Abstract:<br>
&gt; &gt; &nbsp;&gt; &gt; &gt; This document extends the Internet Key Exchange
(IKEv2) Protocol<br>
&gt; &gt; &nbsp;&gt; &gt; &gt; document [IKEv2]. IKEv2 reauthentication
does not scale well when an<br>
&gt; &gt; &nbsp;&gt; &gt; &gt; IKE SA has multiple Child SAs because each
Child SA of the IKE SA to<br>
&gt; &gt; &nbsp;&gt; &gt; &gt; be reauthenticated must be renegotiated.
In addition,<br>
&gt; &gt; &nbsp;&gt; &gt; &gt; reauthentication is susceptible to the same
kinds of exchange<br>
&gt; &gt; &nbsp;&gt; &gt; &gt; collisions as those that may occur during
rekeying. This document<br>
&gt; &gt; &nbsp;&gt; &gt; &gt; describes a mechanism to detect reauthentication
and avoid<br>
&gt; &gt; &nbsp;&gt; &gt; &gt; renegotiating the Child SAs. In addition,
this document describes<br>
&gt; &gt; &nbsp;&gt; &gt; &gt; proper handling of exchange collisions that
may occur during<br>
&gt; &gt; &nbsp;&gt; &gt; &gt; reauthentication.<br>
&gt; &gt; &nbsp;&gt; &gt; &gt;<br>
&gt; &gt; &nbsp;&gt; &gt; &gt;<br>
&gt; &gt; &nbsp;&gt; &gt; &gt;<br>
&gt; &gt; &nbsp;&gt; &gt; &gt; The IETF Secretariat.<br>
&gt; &gt; &nbsp;&gt; &gt; &gt;<br>
&gt; &gt; &nbsp;&gt; &gt; &gt;<br>
&gt; &gt; &nbsp;&gt; &gt; &gt; _______________________________________________<br>
&gt; &gt; &nbsp;&gt; &gt; &gt; IPsec mailing list<br>
&gt; &gt; &nbsp;&gt; &gt; &gt; IPsec@ietf.org<br>
&gt; &gt; &nbsp;&gt; &gt; &gt; </font></tt><a href=https://www.ietf.org/mailman/listinfo/ipsec><tt><font size=2>https://www.ietf.org/mailman/listinfo/ipsec</font></tt></a><tt><font size=2><br>
&gt; &gt; &nbsp;&gt; &gt;<br>
&gt; &gt; &nbsp;&gt; &gt;<br>
&gt; &gt; &nbsp;&gt; &gt;<br>
&gt; &gt; &nbsp;&gt; &gt; _______________________________________________<br>
&gt; &gt; &nbsp;&gt; &gt; IPsec mailing list<br>
&gt; &gt; &nbsp;&gt; &gt; IPsec@ietf.org<br>
&gt; &gt; &nbsp;&gt; &gt; </font></tt><a href=https://www.ietf.org/mailman/listinfo/ipsec><tt><font size=2>https://www.ietf.org/mailman/listinfo/ipsec</font></tt></a><tt><font size=2><br>
</font></tt>
--=_alternative 0074BE50882577AD_=--

From kivinen@iki.fi  Thu Sep 30 02:14:22 2010
Return-Path: <kivinen@iki.fi>
X-Original-To: ipsec@core3.amsl.com
Delivered-To: ipsec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 7EF363A6DBD for <ipsec@core3.amsl.com>; Thu, 30 Sep 2010 02:14:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.496
X-Spam-Level: 
X-Spam-Status: No, score=-102.496 tagged_above=-999 required=5 tests=[AWL=0.103, BAYES_00=-2.599, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ib+J9AMibUil for <ipsec@core3.amsl.com>; Thu, 30 Sep 2010 02:14:03 -0700 (PDT)
Received: from mail.kivinen.iki.fi (fireball.acr.fi [83.145.195.1]) by core3.amsl.com (Postfix) with ESMTP id 7DF413A6DD5 for <ipsec@ietf.org>; Thu, 30 Sep 2010 02:13:02 -0700 (PDT)
Received: from fireball.kivinen.iki.fi (localhost [127.0.0.1]) by mail.kivinen.iki.fi (8.14.3/8.14.3) with ESMTP id o8U9DeP3015230 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 30 Sep 2010 12:13:40 +0300 (EEST)
Received: (from kivinen@localhost) by fireball.kivinen.iki.fi (8.14.3/8.12.11) id o8U9Dekp012398; Thu, 30 Sep 2010 12:13:40 +0300 (EEST)
X-Authentication-Warning: fireball.kivinen.iki.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: <19620.21700.150023.287762@fireball.kivinen.iki.fi>
Date: Thu, 30 Sep 2010 12:13:40 +0300
From: Tero Kivinen <kivinen@iki.fi>
To: Keith Welter <welterk@us.ibm.com>
In-Reply-To: <OF7D670D6A.6666CC8F-ON882577AD.00517CCB-882577AD.0058BEE0@us.ibm.com>
References: <OFF427BE1F.BE06D445-ON882577AC.006DF7E3-882577AC.006E2BDE@us.ibm.com> <OF44C9382A.DB043882-ON882577AC.006E7AC7-882577AC.006EC0FB@us.ibm.com> <4CA260DE.8050507@gmail.com> <OF7D670D6A.6666CC8F-ON882577AD.00517CCB-882577AD.0058BEE0@us.ibm.com>
X-Mailer: VM 7.19 under Emacs 21.4.1
X-Edit-Time: 7 min
X-Total-Time: 6 min
Cc: ipsec@ietf.org
Subject: Re: [IPsec] draft-welter-ipsecme-ikev2-reauth-00
X-BeenThere: ipsec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discussion of IPsec protocols <ipsec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipsec>
List-Post: <mailto:ipsec@ietf.org>
List-Help: <mailto:ipsec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 30 Sep 2010 09:14:22 -0000

Keith Welter writes:
> 1. reiterate how reauthentication works in RFC 5996 (quote third paragraph 
> of section 2.8.3)

I have not yet read your draft, but how dows it relate to the RFC
4478? Isn't that already defining things that would help a lot, for
example I think that can be used to force one side to do
reauthentication (which might be required anyways because of eap etc)
and that solves exchange collision problem.

Note, that INTERNAL_ADDRESS allocation and EAP both require that the
same party starts the reauthentication. 
-- 
kivinen@iki.fi

From welterk@us.ibm.com  Thu Sep 30 08:03:54 2010
Return-Path: <welterk@us.ibm.com>
X-Original-To: ipsec@core3.amsl.com
Delivered-To: ipsec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 65D9D3A6D18 for <ipsec@core3.amsl.com>; Thu, 30 Sep 2010 08:03:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.698
X-Spam-Level: 
X-Spam-Status: No, score=-5.698 tagged_above=-999 required=5 tests=[AWL=0.900,  BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id H0dEQf+YF2ky for <ipsec@core3.amsl.com>; Thu, 30 Sep 2010 08:03:53 -0700 (PDT)
Received: from e35.co.us.ibm.com (e35.co.us.ibm.com [32.97.110.153]) by core3.amsl.com (Postfix) with ESMTP id 662BB3A6CF3 for <ipsec@ietf.org>; Thu, 30 Sep 2010 08:03:53 -0700 (PDT)
Received: from d03relay05.boulder.ibm.com (d03relay05.boulder.ibm.com [9.17.195.107]) by e35.co.us.ibm.com (8.14.4/8.13.1) with ESMTP id o8UEsEtf026279 for <ipsec@ietf.org>; Thu, 30 Sep 2010 08:54:14 -0600
Received: from d03av03.boulder.ibm.com (d03av03.boulder.ibm.com [9.17.195.169]) by d03relay05.boulder.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id o8UF4Ltd074770 for <ipsec@ietf.org>; Thu, 30 Sep 2010 09:04:25 -0600
Received: from d03av03.boulder.ibm.com (loopback [127.0.0.1]) by d03av03.boulder.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id o8UF4KXO027483 for <ipsec@ietf.org>; Thu, 30 Sep 2010 09:04:20 -0600
Received: from d03nm118.boulder.ibm.com (d03nm118.boulder.ibm.com [9.17.195.144]) by d03av03.boulder.ibm.com (8.14.4/8.13.1/NCO v10.0 AVin) with ESMTP id o8UF4KXw027468; Thu, 30 Sep 2010 09:04:20 -0600
In-Reply-To: <19620.21700.150023.287762@fireball.kivinen.iki.fi>
References: <OFF427BE1F.BE06D445-ON882577AC.006DF7E3-882577AC.006E2BDE@us.ibm.com>	<OF44C9382A.DB043882-ON882577AC.006E7AC7-882577AC.006EC0FB@us.ibm.com> <4CA260DE.8050507@gmail.com>	<OF7D670D6A.6666CC8F-ON882577AD.00517CCB-882577AD.0058BEE0@us.ibm.com> <19620.21700.150023.287762@fireball.kivinen.iki.fi>
To: ipsec@ietf.org
MIME-Version: 1.0
X-KeepSent: 7BB6723C:A1922D6A-882577AE:00520765; type=4; name=$KeepSent
X-Mailer: Lotus Notes Release 8.0.2FP3 SHF32 December 02, 2009
From: Keith Welter <welterk@us.ibm.com>
Message-ID: <OF7BB6723C.A1922D6A-ON882577AE.00520765-882577AE.0052CBE2@us.ibm.com>
Date: Thu, 30 Sep 2010 08:04:19 -0700
X-MIMETrack: Serialize by Router on D03NM118/03/M/IBM(Release 8.5.1FP4|July 25, 2010) at 09/30/2010 09:04:20, Serialize complete at 09/30/2010 09:04:20
Content-Type: multipart/alternative; boundary="=_alternative 0052CA6A882577AE_="
Cc: Tero Kivinen <kivinen@iki.fi>
Subject: Re: [IPsec] draft-welter-ipsecme-ikev2-reauth-00
X-BeenThere: ipsec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discussion of IPsec protocols <ipsec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipsec>
List-Post: <mailto:ipsec@ietf.org>
List-Help: <mailto:ipsec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 30 Sep 2010 15:03:54 -0000

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

Tero Kivinen <kivinen@iki.fi> wrote on 09/30/2010 02:13:40 AM:
> Keith Welter writes:
> > 1. reiterate how reauthentication works in RFC 5996 (quote third 
paragraph 
> > of section 2.8.3)
> 
> I have not yet read your draft, but how dows it relate to the RFC
> 4478? Isn't that already defining things that would help a lot, for
> example I think that can be used to force one side to do
> reauthentication (which might be required anyways because of eap etc)
> and that solves exchange collision problem.
> 
> Note, that INTERNAL_ADDRESS allocation and EAP both require that the
> same party starts the reauthentication. 
> -- 
> kivinen@iki.fi

draft-welter-ipsecme-ikev2-reauth-00 and RFC 4478 are complimentary.  The 
principal problem solved by the former is that it allows the Child SAs of 
the reauthenticated IKE SA to be moved to the new IKE SA rather than being 
re-negotiated under the new IKE SA.  There is some overlap in the sense 
that simultaneous reauthentication would be eliminated by RFC 4478 but 
other exchange collisions such as one side creating or rekeying a child SA 
while the other is reauthenticating the IKE SA could still occur.

--=_alternative 0052CA6A882577AE_=
Content-Type: text/html; charset="US-ASCII"


<br><tt><font size=2>Tero Kivinen &lt;kivinen@iki.fi&gt; wrote on 09/30/2010
02:13:40 AM:<br>
&gt; Keith Welter writes:<br>
&gt; &gt; 1. reiterate how reauthentication works in RFC 5996 (quote third
paragraph <br>
&gt; &gt; of section 2.8.3)<br>
&gt; <br>
&gt; I have not yet read your draft, but how dows it relate to the RFC<br>
&gt; 4478? Isn't that already defining things that would help a lot, for<br>
&gt; example I think that can be used to force one side to do<br>
&gt; reauthentication (which might be required anyways because of eap etc)<br>
&gt; and that solves exchange collision problem.<br>
&gt; <br>
&gt; Note, that INTERNAL_ADDRESS allocation and EAP both require that the<br>
&gt; same party starts the reauthentication. <br>
&gt; -- <br>
&gt; kivinen@iki.fi</font></tt>
<br>
<br><tt><font size=2>draft-welter-ipsecme-ikev2-reauth-00 and RFC 4478
are complimentary. &nbsp;The principal problem solved by the former is
that it allows the Child SAs of the reauthenticated IKE SA to be moved
to the new IKE SA rather than being re-negotiated under the new IKE SA.
&nbsp;There is some overlap in the sense that simultaneous reauthentication
would be eliminated by RFC 4478 but other exchange collisions such as one
side creating or rekeying a child SA while the other is reauthenticating
the IKE SA could still occur.<br>
</font></tt>
--=_alternative 0052CA6A882577AE_=--

From ynir@checkpoint.com  Thu Sep 30 13:20:02 2010
Return-Path: <ynir@checkpoint.com>
X-Original-To: ipsec@core3.amsl.com
Delivered-To: ipsec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id BC1AF3A6CED for <ipsec@core3.amsl.com>; Thu, 30 Sep 2010 13:20:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.549
X-Spam-Level: 
X-Spam-Status: No, score=-2.549 tagged_above=-999 required=5 tests=[AWL=0.050,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Kkpz9p5yU+pe for <ipsec@core3.amsl.com>; Thu, 30 Sep 2010 13:20:01 -0700 (PDT)
Received: from michael.checkpoint.com (smtp.checkpoint.com [194.29.34.68]) by core3.amsl.com (Postfix) with ESMTP id 75E303A69C4 for <ipsec@ietf.org>; Thu, 30 Sep 2010 13:20:01 -0700 (PDT)
X-CheckPoint: {4CA4F049-1000C-1B221DC2-2FFFF}
Received: from il-ex01.ad.checkpoint.com (il-ex01.checkpoint.com [194.29.34.26]) by michael.checkpoint.com (8.13.8/8.13.8) with ESMTP id o8UKKkUg032065 for <ipsec@ietf.org>; Thu, 30 Sep 2010 22:20:46 +0200
Received: from il-ex01.ad.checkpoint.com ([126.0.0.2]) by il-ex01.ad.checkpoint.com ([126.0.0.2]) with mapi; Thu, 30 Sep 2010 22:20:46 +0200
From: Yoav Nir <ynir@checkpoint.com>
To: IPsecme WG <ipsec@ietf.org>
Date: Thu, 30 Sep 2010 22:20:45 +0200
Thread-Topic: [IPsec] Issue #189 - Reply is not needed for unprotected message containing QCD
Thread-Index: Actg3PbxRmjqo4GMQJinPbjytXOOrw==
Message-ID: <0D53066F-87FE-4E4F-9BDA-36F389C11C60@checkpoint.com>
References: <006FEB08D9C6444AB014105C9AEB133F012E6FCD439D@il-ex01.ad.checkpoint.com>
In-Reply-To: <006FEB08D9C6444AB014105C9AEB133F012E6FCD439D@il-ex01.ad.checkpoint.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Subject: Re: [IPsec] Issue #189 - Reply is not needed for unprotected message containing QCD
X-BeenThere: ipsec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discussion of IPsec protocols <ipsec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipsec>
List-Post: <mailto:ipsec@ietf.org>
List-Help: <mailto:ipsec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 30 Sep 2010 20:20:02 -0000

OK. there were zero responses to this. Since this seems obvious to me, I wi=
ll correct it as Scott suggests, and close the issue with the publication o=
f -01.
=20
On Sep 21, 2010, at 2:58 PM, Yoav Nir wrote:

> Hi all.
>=20
> We're starting discussions of the issues that are open for the failure de=
tection draft.=20
>=20
> Reported by Scott C Moonen:=20
>=20
> What is the purpose of sending an empty response to the unprotected N(INV=
ALID[_IKE]_SPI)&N(QCD_TOKEN)+ message? I'm not sure it provides any real va=
lue and would really prefer not to send it. Also, this contradicts a few "M=
UST NOT" statements in ikev2bis concerning how we handle unprotected messag=
es; if the consensus is to keep this behavior then we should make clear tha=
t we are self-consciously breaking the rules here.
>=20
>=20
> What Scott is referring to is the last paragraph of section 4.5:
>   If the QCD_TOKEN verifies OK, an empty response MUST be sent.  If the
>   QCD_TOKEN cannot be validated, a response MUST NOT be sent.
>   Section 5 defines token verification.
>=20
>=20
> I believe Scott is right. I don't know what I was thinking when I wrote t=
his. In fact, I believe the name of the section should be changed (from "Pr=
esenting the Token in an INFORMATIONAL Exchange") because this is not an IN=
FORMATIONAL exchange.=20
>=20
> If you can think of a reason why this needs to be like this instead of th=
e following, please reply.
>=20
>   If the QCD_TOKEN verifies OK, the IKE SA and its associated Child SAs
>   MUST be silently discarded. If the QCD_TOKEN cannot be validated, the
>   Notification MUST be ignored, and the incident MAY be logged.
> _______________________________________________


From ynir@checkpoint.com  Thu Sep 30 13:21:43 2010
Return-Path: <ynir@checkpoint.com>
X-Original-To: ipsec@core3.amsl.com
Delivered-To: ipsec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id B24333A6E7B for <ipsec@core3.amsl.com>; Thu, 30 Sep 2010 13:21:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.549
X-Spam-Level: 
X-Spam-Status: No, score=-2.549 tagged_above=-999 required=5 tests=[AWL=0.050,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pc0vPbBoew4k for <ipsec@core3.amsl.com>; Thu, 30 Sep 2010 13:21:42 -0700 (PDT)
Received: from michael.checkpoint.com (smtp.checkpoint.com [194.29.34.68]) by core3.amsl.com (Postfix) with ESMTP id E7CC33A69C4 for <ipsec@ietf.org>; Thu, 30 Sep 2010 13:21:40 -0700 (PDT)
X-CheckPoint: {4CA4F0AD-1000A-1B221DC2-2FFFF}
Received: from il-ex01.ad.checkpoint.com (il-ex01.checkpoint.com [194.29.34.26]) by michael.checkpoint.com (8.13.8/8.13.8) with ESMTP id o8UKMQSQ032210 for <ipsec@ietf.org>; Thu, 30 Sep 2010 22:22:26 +0200
Received: from il-ex01.ad.checkpoint.com ([126.0.0.2]) by il-ex01.ad.checkpoint.com ([126.0.0.2]) with mapi; Thu, 30 Sep 2010 22:22:26 +0200
From: Yoav Nir <ynir@checkpoint.com>
To: IPsecme WG <ipsec@ietf.org>
Date: Thu, 30 Sep 2010 22:22:23 +0200
Thread-Topic: [IPsec] Issue #190 - Move QCD token to first AUTH exchange
Thread-Index: Actg3TJ2hYSkUbEwTTWvsRmMJd1L3w==
Message-ID: <8E14A35D-59B5-43EE-A8E2-2E6ECABDCAC2@checkpoint.com>
References: <006FEB08D9C6444AB014105C9AEB133F012E6FCD439E@il-ex01.ad.checkpoint.com>
In-Reply-To: <006FEB08D9C6444AB014105C9AEB133F012E6FCD439E@il-ex01.ad.checkpoint.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Subject: Re: [IPsec] Issue #190 - Move QCD token to first AUTH exchange
X-BeenThere: ipsec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discussion of IPsec protocols <ipsec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipsec>
List-Post: <mailto:ipsec@ietf.org>
List-Help: <mailto:ipsec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 30 Sep 2010 20:21:44 -0000

This was actually reported by both Yaron and Tero.  I have no problem movin=
g the QCD token to the first message (in case of EAP), but as Yaron request=
ed, I will not publish the fixed version before the resolution of #191.

Two more issues soon.

Yoav

On Sep 21, 2010, at 3:06 PM, Yoav Nir wrote:

> Reported by Yaron Sheffer:=20
>=20
> I would have preferred the token to be resistant to stealing (and duplica=
tion), in which case it can be sent in the *first* AUTH message. If we ensu=
re that the token maker's SPI is long/random (see below), this might be pos=
sible.=20
>=20
>=20
> The relevant part of the document is in the first paragraph of section 3,=
 and the diagram in section 4.2:
>=20
>   Supporting implementations will send a notification, called a "QCD
>   token", as described in Section 4.1 in the last IKE_AUTH exchange
>   messages.
>=20
> First or last don't matter for certificate or PSK authentication (where t=
here is only one IKE_AUTH request), but does matter for EAP authentication,=
 and for multiple authentications, and possibly for the future weak PSK met=
hods.
>=20
> I don't have an opinion either way, except for it being a minor optimizat=
ion to not generate the token if EAP is going to fail. Please send your opi=
nions to the list.


From ynir@checkpoint.com  Thu Sep 30 13:34:47 2010
Return-Path: <ynir@checkpoint.com>
X-Original-To: ipsec@core3.amsl.com
Delivered-To: ipsec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 8DA9E3A6D8B for <ipsec@core3.amsl.com>; Thu, 30 Sep 2010 13:34:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.55
X-Spam-Level: 
X-Spam-Status: No, score=-2.55 tagged_above=-999 required=5 tests=[AWL=0.049,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0RJ9I3qHmbRk for <ipsec@core3.amsl.com>; Thu, 30 Sep 2010 13:34:46 -0700 (PDT)
Received: from michael.checkpoint.com (smtp.checkpoint.com [194.29.34.68]) by core3.amsl.com (Postfix) with ESMTP id 1526F3A6B53 for <ipsec@ietf.org>; Thu, 30 Sep 2010 13:34:45 -0700 (PDT)
X-CheckPoint: {4CA4F3BE-10008-1B221DC2-2FFFF}
Received: from il-ex01.ad.checkpoint.com (il-ex01.checkpoint.com [194.29.34.26]) by michael.checkpoint.com (8.13.8/8.13.8) with ESMTP id o8UKZV9k001603 for <ipsec@ietf.org>; Thu, 30 Sep 2010 22:35:31 +0200
Received: from il-ex01.ad.checkpoint.com ([126.0.0.2]) by il-ex01.ad.checkpoint.com ([126.0.0.2]) with mapi; Thu, 30 Sep 2010 22:35:31 +0200
From: Yoav Nir <ynir@checkpoint.com>
To: IPsecme WG <ipsec@ietf.org>
Date: Thu, 30 Sep 2010 22:35:29 +0200
Thread-Topic: Issue #191 - The danger of predictable SPIs
Thread-Index: Actg3wYeD2FyS5p8TR2Nk+1sPZV2SQ==
Message-ID: <B8BD57A3-0488-4D9D-A5D7-2CDE38B33369@checkpoint.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Subject: [IPsec] Issue #191 - The danger of predictable SPIs
X-BeenThere: ipsec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discussion of IPsec protocols <ipsec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipsec>
List-Post: <mailto:ipsec@ietf.org>
List-Help: <mailto:ipsec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 30 Sep 2010 20:34:47 -0000

Reported by Yaron Sheffer:

5.1: this method is indeed problemmatic if SPIi/SPIr pairs are repeated wit=
h high probability. If SPI pairs only repeat across reboots (somewhat unlik=
ely), then an "epoch" (time of last reboot) value can be included to mitiga=
te this problem. This is still close enough to stateless.

A possible solution, providing freshness and mitigating some of these issue=
s, is to use the entire message sent by the client (typically, a protected =
IKE liveness test) as a nonce. So the token maker sends: HASH(HASH(SPIi | S=
PIr | SECRET) | client-message). This doesn't add state, because the client=
 needs to keep the message around for retransmissions. But it doesn't work =
with the technique described in Sec. 9.2.

Alternatively it would simplify things immensely if we mandate that SPIs be=
 random for implementations that support QCD (possibly only on the gateway =
side). Can we do it without having to "update RFC 4306"?



At least one IKEv2 implementation chooses IKE SPIs in a very predictable ma=
nner. It starts with 0x0000000000001000 and increments by one for each succ=
essive IKE SA. Assuming not too many SAs, and QCD secrets not being replace=
d very often, it should be possible to create a dictionary of SPI pairs to =
QCD tokens by simply sending the likely pairs to the implementation, and ge=
tting the INVALID IKE SPI notification along with the QCD token. Throttling=
 and rate limiting helps a little, but not if the pool of possible SPI pair=
s is small.

Fortunately, to thwart this enumeration attack, it's enough for either the =
token taker or token maker to do the right thing and use random IKE SPIs. I=
 suggest addressing the issue by requiring good random IKE SPIs for token m=
akers. Please send comments to the list.

Yoav=

From ynir@checkpoint.com  Thu Sep 30 13:34:50 2010
Return-Path: <ynir@checkpoint.com>
X-Original-To: ipsec@core3.amsl.com
Delivered-To: ipsec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 3C2173A6E7A for <ipsec@core3.amsl.com>; Thu, 30 Sep 2010 13:34:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.55
X-Spam-Level: 
X-Spam-Status: No, score=-2.55 tagged_above=-999 required=5 tests=[AWL=0.049,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8gsTc84kRpUz for <ipsec@core3.amsl.com>; Thu, 30 Sep 2010 13:34:48 -0700 (PDT)
Received: from michael.checkpoint.com (smtp.checkpoint.com [194.29.34.68]) by core3.amsl.com (Postfix) with ESMTP id E7CA93A6B53 for <ipsec@ietf.org>; Thu, 30 Sep 2010 13:34:47 -0700 (PDT)
X-CheckPoint: {4CA4F3C0-10009-1B221DC2-2FFFF}
Received: from il-ex01.ad.checkpoint.com (il-ex01.checkpoint.com [194.29.34.26]) by michael.checkpoint.com (8.13.8/8.13.8) with ESMTP id o8UKZXrK001612 for <ipsec@ietf.org>; Thu, 30 Sep 2010 22:35:33 +0200
Received: from il-ex01.ad.checkpoint.com ([126.0.0.2]) by il-ex01.ad.checkpoint.com ([126.0.0.2]) with mapi; Thu, 30 Sep 2010 22:35:33 +0200
From: Yoav Nir <ynir@checkpoint.com>
To: IPsecme WG <ipsec@ietf.org>
Date: Thu, 30 Sep 2010 22:35:32 +0200
Thread-Topic: Issue #192 - RFC 2119 language in section 9.1
Thread-Index: Actg3wd3iojO6Z9oSQ+m4pY4yFiJcw==
Message-ID: <7C4F85E6-C486-4379-AFFB-B8E3E514557B@checkpoint.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Subject: [IPsec] Issue #192 - RFC 2119 language in section 9.1
X-BeenThere: ipsec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discussion of IPsec protocols <ipsec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipsec>
List-Post: <mailto:ipsec@ietf.org>
List-Help: <mailto:ipsec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 30 Sep 2010 20:34:50 -0000

Reported by Yaron Sheffer:

9.1: this is not really a MUST, let's use some non-RFC 2119 wording.

Yoav Nir: I disagree. We are giving requirements for implementations that c=
onform to this spec. The requirements vary by the role that the implementat=
ion plays: RA client, RA gateway, Site to site gateway, or host.



The "offending" section is given below:
   To clarify the requirements:
   o  A remote-access client MUST be a token taker and MAY be a token
      maker.
   o  A remote-access gateway MAY be a token taker and MUST be a token
      maker.
   o  An inter-domain VPN gateway MUST be both token maker and token
      taker.


Unlike previous issues, this one has differences of opinion (between me and=
 Yaron). Please post your opinions to the list (I think I know Tero's opini=
on on the third bullet point at least...)

Yoav


From wierbows@us.ibm.com  Thu Sep 30 20:05:34 2010
Return-Path: <wierbows@us.ibm.com>
X-Original-To: ipsec@core3.amsl.com
Delivered-To: ipsec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 6EF013A6D7E; Thu, 30 Sep 2010 20:05:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.129
X-Spam-Level: 
X-Spam-Status: No, score=-6.129 tagged_above=-999 required=5 tests=[AWL=0.470,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KpK+Te6cYYh5; Thu, 30 Sep 2010 20:05:33 -0700 (PDT)
Received: from e3.ny.us.ibm.com (e3.ny.us.ibm.com [32.97.182.143]) by core3.amsl.com (Postfix) with ESMTP id 5D16D3A6D44; Thu, 30 Sep 2010 20:05:32 -0700 (PDT)
Received: from d01relay03.pok.ibm.com (d01relay03.pok.ibm.com [9.56.227.235]) by e3.ny.us.ibm.com (8.14.4/8.13.1) with ESMTP id o912nqAI024652; Thu, 30 Sep 2010 22:49:53 -0400
Received: from d01av01.pok.ibm.com (d01av01.pok.ibm.com [9.56.224.215]) by d01relay03.pok.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id o9136AIf277110; Thu, 30 Sep 2010 23:06:10 -0400
Received: from d01av01.pok.ibm.com (loopback [127.0.0.1]) by d01av01.pok.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id o9136AWS002840; Thu, 30 Sep 2010 23:06:10 -0400
Received: from d01ml084.pok.ibm.com (d01ml084.pok.ibm.com [9.63.10.23]) by d01av01.pok.ibm.com (8.14.4/8.13.1/NCO v10.0 AVin) with ESMTP id o9136APH002837; Thu, 30 Sep 2010 23:06:10 -0400
In-Reply-To: <7C4F85E6-C486-4379-AFFB-B8E3E514557B@checkpoint.com>
References: <7C4F85E6-C486-4379-AFFB-B8E3E514557B@checkpoint.com>
X-KeepSent: 31201E51:8CC8D11C-852577AF:00105972; type=4; name=$KeepSent
To: Yoav Nir <ynir@checkpoint.com>
X-Mailer: Lotus Notes Release 8.5.1FP1 SHF20 February 10, 2010
Message-ID: <OF31201E51.8CC8D11C-ON852577AF.00105972-852577AF.00110B2A@us.ibm.com>
From: David Wierbowski <wierbows@us.ibm.com>
Date: Thu, 30 Sep 2010 23:06:08 -0400
X-MIMETrack: Serialize by Router on D01ML084/01/M/IBM(Release 8.0.2FP4|December 10, 2009) at 09/30/2010 23:06:09
MIME-Version: 1.0
Content-type: text/plain; charset=US-ASCII
Cc: IPsecme WG <ipsec@ietf.org>, ipsec-bounces@ietf.org
Subject: Re: [IPsec] Issue #192 - RFC 2119 language in section 9.1
X-BeenThere: ipsec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discussion of IPsec protocols <ipsec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipsec>
List-Post: <mailto:ipsec@ietf.org>
List-Help: <mailto:ipsec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 01 Oct 2010 03:05:34 -0000

I agree that the RFC 2119 language in this section is not appropriate.  To
me this is just stating where it makes sense to implement the maker/taker
roles.  You also know my opinion about bullet 3.  I think an implementer
should be able to decide what roles make sense for their implementation.


Dave Wierbowski






From:       Yoav Nir <ynir@checkpoint.com>
To:         IPsecme WG <ipsec@ietf.org>
Date:       09/30/2010 04:35 PM
Subject:    [IPsec] Issue #192 - RFC 2119 language in section 9.1
Sent by:    ipsec-bounces@ietf.org



Reported by Yaron Sheffer:

9.1: this is not really a MUST, let's use some non-RFC 2119 wording.

Yoav Nir: I disagree. We are giving requirements for implementations that
conform to this spec. The requirements vary by the role that the
implementation plays: RA client, RA gateway, Site to site gateway, or host.



The "offending" section is given below:
   To clarify the requirements:
   o  A remote-access client MUST be a token taker and MAY be a token
      maker.
   o  A remote-access gateway MAY be a token taker and MUST be a token
      maker.
   o  An inter-domain VPN gateway MUST be both token maker and token
      taker.


Unlike previous issues, this one has differences of opinion (between me and
Yaron). Please post your opinions to the list (I think I know Tero's
opinion on the third bullet point at least...)

Yoav

_______________________________________________
IPsec mailing list
IPsec@ietf.org
https://www.ietf.org/mailman/listinfo/ipsec



From wierbows@us.ibm.com  Thu Sep 30 20:10:43 2010
Return-Path: <wierbows@us.ibm.com>
X-Original-To: ipsec@core3.amsl.com
Delivered-To: ipsec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 1126E3A6D7E; Thu, 30 Sep 2010 20:10:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.207
X-Spam-Level: 
X-Spam-Status: No, score=-6.207 tagged_above=-999 required=5 tests=[AWL=0.392,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tWg7dzNpy5GX; Thu, 30 Sep 2010 20:10:37 -0700 (PDT)
Received: from e2.ny.us.ibm.com (e2.ny.us.ibm.com [32.97.182.142]) by core3.amsl.com (Postfix) with ESMTP id 69DFF3A6D14; Thu, 30 Sep 2010 20:10:36 -0700 (PDT)
Received: from d01relay05.pok.ibm.com (d01relay05.pok.ibm.com [9.56.227.237]) by e2.ny.us.ibm.com (8.14.4/8.13.1) with ESMTP id o912uGIF001036; Thu, 30 Sep 2010 22:56:16 -0400
Received: from d01av04.pok.ibm.com (d01av04.pok.ibm.com [9.56.224.64]) by d01relay05.pok.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id o913BNsn100574; Thu, 30 Sep 2010 23:11:23 -0400
Received: from d01av04.pok.ibm.com (loopback [127.0.0.1]) by d01av04.pok.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id o913BNoq021078; Thu, 30 Sep 2010 23:11:23 -0400
Received: from d01ml084.pok.ibm.com (d01ml084.pok.ibm.com [9.63.10.23]) by d01av04.pok.ibm.com (8.14.4/8.13.1/NCO v10.0 AVin) with ESMTP id o913BM5F021075; Thu, 30 Sep 2010 23:11:22 -0400
In-Reply-To: <0D53066F-87FE-4E4F-9BDA-36F389C11C60@checkpoint.com>
References: <006FEB08D9C6444AB014105C9AEB133F012E6FCD439D@il-ex01.ad.checkpoint.com> <0D53066F-87FE-4E4F-9BDA-36F389C11C60@checkpoint.com>
X-KeepSent: 958DD165:99775C9E-852577AF:001149F0; type=4; name=$KeepSent
To: Yoav Nir <ynir@checkpoint.com>
X-Mailer: Lotus Notes Release 8.5.1FP1 SHF20 February 10, 2010
Message-ID: <OF958DD165.99775C9E-ON852577AF.001149F0-852577AF.001184D8@us.ibm.com>
From: David Wierbowski <wierbows@us.ibm.com>
Date: Thu, 30 Sep 2010 23:11:20 -0400
X-MIMETrack: Serialize by Router on D01ML084/01/M/IBM(Release 8.0.2FP4|December 10, 2009) at 09/30/2010 23:11:22
MIME-Version: 1.0
Content-type: text/plain; charset=US-ASCII
Cc: IPsecme WG <ipsec@ietf.org>, ipsec-bounces@ietf.org
Subject: Re: [IPsec] Issue #189 - Reply is not needed for unprotected message containing QCD
X-BeenThere: ipsec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Discussion of IPsec protocols <ipsec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipsec>
List-Post: <mailto:ipsec@ietf.org>
List-Help: <mailto:ipsec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 01 Oct 2010 03:10:45 -0000

Yoav,

Just for posterity, I agree with Scott's suggestion.

Dave Wierbowski






From:       Yoav Nir <ynir@checkpoint.com>
To:         IPsecme WG <ipsec@ietf.org>
Date:       09/30/2010 04:20 PM
Subject:    Re: [IPsec] Issue #189 - Reply is not needed for unprotected
            message containing QCD
Sent by:    ipsec-bounces@ietf.org



OK. there were zero responses to this. Since this seems obvious to me, I
will correct it as Scott suggests, and close the issue with the publication
of -01.

On Sep 21, 2010, at 2:58 PM, Yoav Nir wrote:

> Hi all.
>
> We're starting discussions of the issues that are open for the failure
detection draft.
>
> Reported by Scott C Moonen:
>
> What is the purpose of sending an empty response to the unprotected N
(INVALID[_IKE]_SPI)&N(QCD_TOKEN)+ message? I'm not sure it provides any
real value and would really prefer not to send it. Also, this contradicts a
few "MUST NOT" statements in ikev2bis concerning how we handle unprotected
messages; if the consensus is to keep this behavior then we should make
clear that we are self-consciously breaking the rules here.
>
>
> What Scott is referring to is the last paragraph of section 4.5:
>   If the QCD_TOKEN verifies OK, an empty response MUST be sent.  If the
>   QCD_TOKEN cannot be validated, a response MUST NOT be sent.
>   Section 5 defines token verification.
>
>
> I believe Scott is right. I don't know what I was thinking when I wrote
this. In fact, I believe the name of the section should be changed (from
"Presenting the Token in an INFORMATIONAL Exchange") because this is not an
INFORMATIONAL exchange.
>
> If you can think of a reason why this needs to be like this instead of
the following, please reply.
>
>   If the QCD_TOKEN verifies OK, the IKE SA and its associated Child SAs
>   MUST be silently discarded. If the QCD_TOKEN cannot be validated, the
>   Notification MUST be ignored, and the incident MAY be logged.
> _______________________________________________

_______________________________________________
IPsec mailing list
IPsec@ietf.org
https://www.ietf.org/mailman/listinfo/ipsec


