From softwires-bounces@ietf.org Mon Dec 03 12:08:58 2007
Return-path: <softwires-bounces@ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1IzEmq-0004Qo-P9; Mon, 03 Dec 2007 12:08:52 -0500
Received: from softwires by megatron.ietf.org with local (Exim 4.43)
	id 1IzEmq-0004KF-7T for softwires-confirm+ok@megatron.ietf.org;
	Mon, 03 Dec 2007 12:08:52 -0500
Received: from [10.90.34.44] (helo=chiedprmail1.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1IzEmp-0004Fa-Pd
	for softwires@ietf.org; Mon, 03 Dec 2007 12:08:51 -0500
Received: from pacdcimo01.cable.comcast.com ([24.40.8.145])
	by chiedprmail1.ietf.org with esmtp (Exim 4.43) id 1IzEmp-0001gs-Hm
	for softwires@ietf.org; Mon, 03 Dec 2007 12:08:51 -0500
Received: from ([10.52.116.31])
	by pacdcimo01.cable.comcast.com with ESMTP  id KP-BXT38.10722680;
	Mon, 03 Dec 2007 12:08:33 -0500
Received: from PACDCEXCMB05.cable.comcast.com ([24.40.15.116]) by
	PAOAKEXCSMTP02.cable.comcast.com with Microsoft
	SMTPSVC(6.0.3790.1830); Mon, 3 Dec 2007 12:08:32 -0500
Received: from 130.129.21.234 ([130.129.21.234]) by
	PACDCEXCMB05.cable.comcast.com ([24.40.15.116]) via Exchange
	Front-End Server webmail.comcast.com ([24.40.8.153]) with
	Microsoft Exchange Server HTTP-DAV ; Mon,  3 Dec 2007 17:08:33 +0000
User-Agent: Microsoft-Entourage/11.3.6.070618
Date: Mon, 03 Dec 2007 09:08:31 -0800
From: Alain Durand <alain_durand@cable.comcast.com>
To: <softwires@ietf.org>
Message-ID: <C379780F.608C%alain_durand@cable.comcast.com>
Thread-Topic: WG last call on the security document
Thread-Index: Acg1zyEbX+I/MqHCEdy66QAX8t+c7g==
Mime-version: 1.0
Content-type: text/plain;
	charset="US-ASCII"
Content-transfer-encoding: 7bit
X-OriginalArrivalTime: 03 Dec 2007 17:08:32.0981 (UTC)
	FILETIME=[22499850:01C835CF]
X-Spam-Score: 2.6 (++)
X-Scan-Signature: d17f825e43c9aed4fd65b7edddddec89
Subject: [Softwires] WG last call on the security document
X-BeenThere: softwires@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: softwires wg discussion list <softwires.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/softwires>,
	<mailto:softwires-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/softwires>
List-Post: <mailto:softwires@ietf.org>
List-Help: <mailto:softwires-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/softwires>,
	<mailto:softwires-request@ietf.org?subject=subscribe>
Errors-To: softwires-bounces@ietf.org

The softwires chairs would like to initiate a 2 week working group last call
on the security document. As usual, send editorial comments to the authors
and substantive comments to the list.

The last call will end on 12/18/2007.

http://www.ietf.org/internet-drafts/draft-ietf-softwire-security-requirement
s-04.txt

   - Alain & David.



_______________________________________________
Softwires mailing list
Softwires@ietf.org
https://www1.ietf.org/mailman/listinfo/softwires



From softwires-bounces@ietf.org Mon Dec 03 13:23:04 2007
Return-path: <softwires-bounces@ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1IzFwe-0004XL-2p; Mon, 03 Dec 2007 13:23:04 -0500
Received: from softwires by megatron.ietf.org with local (Exim 4.43)
	id 1IzFwc-0004X5-Fh for softwires-confirm+ok@megatron.ietf.org;
	Mon, 03 Dec 2007 13:23:02 -0500
Received: from [10.90.34.44] (helo=chiedprmail1.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1IzFwc-0004Wv-4V
	for softwires@ietf.org; Mon, 03 Dec 2007 13:23:02 -0500
Received: from fireball.acr.fi ([83.145.195.1] helo=mail.kivinen.iki.fi)
	by chiedprmail1.ietf.org with esmtp (Exim 4.43) id 1IzFwb-0000w4-CK
	for softwires@ietf.org; Mon, 03 Dec 2007 13:23:02 -0500
Received: from fireball.kivinen.iki.fi (localhost [127.0.0.1])
	by mail.kivinen.iki.fi (8.13.8/8.12.10) with ESMTP id lB3IMsCA024803
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Mon, 3 Dec 2007 20:22:54 +0200 (EET)
Received: (from kivinen@localhost)
	by fireball.kivinen.iki.fi (8.13.8/8.12.11) id lB3IMpw3028264;
	Mon, 3 Dec 2007 20:22:51 +0200 (EET)
X-Authentication-Warning: fireball.kivinen.iki.fi: kivinen set sender to
	kivinen@kivinen.iki.fi using -f
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <18260.18811.69209.831957@fireball.kivinen.iki.fi>
Date: Mon, 3 Dec 2007 20:22:51 +0200
From: Tero Kivinen <kivinen@kivinen.iki.fi>
To: Alain Durand <alain_durand@cable.comcast.com>, yokota@kddilabs.jp,
	Florent.Parent@beon.ca, carlw@mcsr-labs.org, shu@kddilabs.jp
Subject: [Softwires] WG last call on the security document
In-Reply-To: <C379780F.608C%alain_durand@cable.comcast.com>
References: <C379780F.608C%alain_durand@cable.comcast.com>
X-Mailer: VM 7.19 under Emacs 21.4.1
X-Edit-Time: 22 min
X-Total-Time: 22 min
X-Spam-Score: 0.0 (/)
X-Scan-Signature: cd26b070c2577ac175cd3a6d878c6248
Cc: softwires@ietf.org
X-BeenThere: softwires@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: softwires wg discussion list <softwires.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/softwires>,
	<mailto:softwires-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/softwires>
List-Post: <mailto:softwires@ietf.org>
List-Help: <mailto:softwires-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/softwires>,
	<mailto:softwires-request@ietf.org?subject=subscribe>
Errors-To: softwires-bounces@ietf.org

Alain Durand writes:
> The softwires chairs would like to initiate a 2 week working group last call
> on the security document. As usual, send editorial comments to the authors
> and substantive comments to the list.
> 
> The last call will end on 12/18/2007.
> 
> http://www.ietf.org/internet-drafts/draft-ietf-softwire-security-requirement
> s-04.txt

Here is my comments:

1) There needs to be paragraph somewhere explaining the problem with
   NAT-T combined transport mode and UDP checksums. The problem is
   that the UDP header of the L2TPv2 is inside the ESP packets, which
   means that NATs themselves cannot fix the UDP checksum when they do
   the address translation on the outer header. The RFC3948 (NAT-T)
   provides 3 options for Transport mode decapsulation: "Incremental
   update of checksum", "Recompute checksum" and "Do not check".

   The first option "incremental update of checksum" CANNOT be used
   with IKEv2, because the IKEv2 does not have the information
   required for it (I.e. IKEv2 does not have NAT-OA payloads, and the
   text saying that use information from traffic selectors of the
   IKEv2 does not work).

   So there is only options to recompute checksum (might be
   expensive), or make the implementation so it will not check the UDP
   checksum of the L2TPv2 packet. This should not matter, as we do
   have ESP outside providing much better validation of the received
   packet and there is also another checksum inside the packet inside
   the L2TPv2+PPP packet.

   The reason I think this issue should be brough up is that you
   cannot use that "incremental update" method specified in the
   RFC3948 with IKEv2, and if people try to do it they will end up
   implementation problems.


2) I think the Section 3.5.4.1 and 3.5.4.2 should most likely use
   exactly same terminology as RFC 4301 for the selectors, i.e. use
   "Next Layer Protocol" instead "Proto".

3) The section 4.4.2 Security Protection Mechanism for Data Plane
   says:

                ...   In this scenario, public-key digital signature
   or key encryption authentication in IKE should be used, assuming that
   the peers have the necessary computation available.

   If the peer has enough computation available to do Diffie-Hellman,
   there should be no problems to do public key signature operations
   too. So I think the ", assuming that the peers have the necessary
   computation available." should be removed. Also perhaps the
   "should" there should be "SHOULD".


Here is also some nits:
----------------------------------------------------------------------
1.  Introduction
...
   composed of differing address families.  This document provides the
   security Guidelines for such two Softwire solution spaces such as
   "Hubs and Spokes" and "Mesh" scenarios "Hubs and Spokes" and "Mesh"
   problems described in [RFC4925] Section 2 and Section 3,
   respectively.  The protocols selected for Softwire connectivity
----------------------------------------------------------------------

I think there is period missing between the ... "Hubs and Spokes" and
"Mesh" scenarios "Hubs and Spokes" and "Mesh" problems ...

In section 3.5.4. there i s [RFC4306] twice:
----------------------------------------------------------------------
3.5.4.  IPsec filtering details
...
                       ... The Internet Key Exchange (IKE) has also
   been revised and simplified in IKEv2 [RFC4306], [RFC4306].   ...
-- 
kivinen@safenet-inc.com


_______________________________________________
Softwires mailing list
Softwires@ietf.org
https://www1.ietf.org/mailman/listinfo/softwires



From softwires-bounces@ietf.org Tue Dec 04 01:27:24 2007
Return-path: <softwires-bounces@ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1IzRFT-0002zb-5q; Tue, 04 Dec 2007 01:27:15 -0500
Received: from softwires by megatron.ietf.org with local (Exim 4.43)
	id 1IzRFR-0002sw-0B for softwires-confirm+ok@megatron.ietf.org;
	Tue, 04 Dec 2007 01:27:13 -0500
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1IzRFQ-0002sR-Fu
	for softwires@ietf.org; Tue, 04 Dec 2007 01:27:12 -0500
Received: from ns.beon.ca ([2001:5c0:8001::53] helo=smtp.beon.ca)
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1IzRFO-00089B-Mf
	for softwires@ietf.org; Tue, 04 Dec 2007 01:27:12 -0500
Received: from dhcp-4754.ietf70.org (dhcp-4754.ietf70.org [130.129.71.84])
	(using TLSv1 with cipher AES128-SHA (128/128 bits))
	(Client did not present a certificate)
	by smtp.beon.ca (Postfix) with ESMTP id 93A8BAD71E;
	Tue,  4 Dec 2007 01:27:09 -0500 (EST)
Message-Id: <6E9098A8-B8AB-4EC4-A8E3-0BAC7BCB7CB0@beon.ca>
From: Florent Parent <Florent.Parent@beon.ca>
To: Tero Kivinen <kivinen@kivinen.iki.fi>
In-Reply-To: <18260.18811.69209.831957@fireball.kivinen.iki.fi>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes
Content-Transfer-Encoding: quoted-printable
Mime-Version: 1.0 (Apple Message framework v915)
Subject: Re: [Softwires] WG last call on the security document
Date: Mon, 3 Dec 2007 22:27:06 -0800
References: <C379780F.608C%alain_durand@cable.comcast.com>
	<18260.18811.69209.831957@fireball.kivinen.iki.fi>
X-Mailer: Apple Mail (2.915)
X-Spam-Score: 1.6 (+)
X-Scan-Signature: a1852b4f554b02e7e4548cc7928acc1f
Cc: softwires@ietf.org
X-BeenThere: softwires@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: softwires wg discussion list <softwires.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/softwires>,
	<mailto:softwires-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/softwires>
List-Post: <mailto:softwires@ietf.org>
List-Help: <mailto:softwires-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/softwires>,
	<mailto:softwires-request@ietf.org?subject=subscribe>
Errors-To: softwires-bounces@ietf.org


Hi Tero,

Comments inline.

Le 07-12-03 =E0 10:22, Tero Kivinen a =E9crit :
>
> Here is my comments:
>
> 1) There needs to be paragraph somewhere explaining the problem with
>   NAT-T combined transport mode and UDP checksums. The problem is
>   that the UDP header of the L2TPv2 is inside the ESP packets, which
>   means that NATs themselves cannot fix the UDP checksum when they do
>   the address translation on the outer header. The RFC3948 (NAT-T)
>   provides 3 options for Transport mode decapsulation: "Incremental
>   update of checksum", "Recompute checksum" and "Do not check".
>
>   The first option "incremental update of checksum" CANNOT be used
>   with IKEv2, because the IKEv2 does not have the information
>   required for it (I.e. IKEv2 does not have NAT-OA payloads, and the
>   text saying that use information from traffic selectors of the
>   IKEv2 does not work).

OK. I was not aware of that issue.

>
>
>   So there is only options to recompute checksum (might be
>   expensive), or make the implementation so it will not check the UDP
>   checksum of the L2TPv2 packet. This should not matter, as we do
>   have ESP outside providing much better validation of the received
>   packet and there is also another checksum inside the packet inside
>   the L2TPv2+PPP packet.

In the scenario where IPv4 over IPv6 is used (3.5.4.2), L2TP/UDP is =20
transported over IPv6, so UDP checksum must be enabled:

            BEFORE APPLYING ESP/UDP
       --------------------------------------------
IPv6  |orig IPv6 hdr  |     |      |      |      |
       |(any options)  | UDP | L2TP | PPP  | IPv4 |
       --------------------------------------------

            AFTER APPLYING ESP/UDP
       =20
-----------------------------------------------------------------------
IPv6  |orig IPv6 hdr  | UDP | ESP |     |      |      |      |   ESP   =20=

| ESP|
       |(any options)  | Hdr | Hdr | UDP | L2TP | PPP  | IPv4 | =20
Trailer |Auth|
       =20
-----------------------------------------------------------------------
                                   |<------------ encrypted -----------=20=

 >|
                             |<-------------- authenticated -----------=20=

 >|

So from the available alternatives, looks like we need to pick =20
"recompute checksum".

>
>
>   The reason I think this issue should be brough up is that you
>   cannot use that "incremental update" method specified in the
>   RFC3948 with IKEv2, and if people try to do it they will end up
>   implementation problems.
>

OK

>
> 2) I think the Section 3.5.4.1 and 3.5.4.2 should most likely use
>   exactly same terminology as RFC 4301 for the selectors, i.e. use
>   "Next Layer Protocol" instead "Proto".

Will fix.

>
>
> 3) The section 4.4.2 Security Protection Mechanism for Data Plane
>   says:
>
>                ...   In this scenario, public-key digital signature
>   or key encryption authentication in IKE should be used, assuming =20
> that
>   the peers have the necessary computation available.
>
>   If the peer has enough computation available to do Diffie-Hellman,
>   there should be no problems to do public key signature operations
>   too. So I think the ", assuming that the peers have the necessary
>   computation available." should be removed. Also perhaps the
>   "should" there should be "SHOULD".

OK

>
>
>
> Here is also some nits:
> ----------------------------------------------------------------------
> 1.  Introduction
> ...
>   composed of differing address families.  This document provides the
>   security Guidelines for such two Softwire solution spaces such as
>   "Hubs and Spokes" and "Mesh" scenarios "Hubs and Spokes" and "Mesh"
>   problems described in [RFC4925] Section 2 and Section 3,
>   respectively.  The protocols selected for Softwire connectivity
> ----------------------------------------------------------------------
>
> I think there is period missing between the ... "Hubs and Spokes" and
> "Mesh" scenarios "Hubs and Spokes" and "Mesh" problems ...

Yes

>
>
> In section 3.5.4. there i s [RFC4306] twice:
> ----------------------------------------------------------------------
> 3.5.4.  IPsec filtering details
> ...
>                       ... The Internet Key Exchange (IKE) has also
>   been revised and simplified in IKEv2 [RFC4306], [RFC4306].   ...

Yes. I also noted some ID-nits from the tools web site which I will =20
fix in -05.

Many thanks for your review.

Florent



_______________________________________________
Softwires mailing list
Softwires@ietf.org
https://www1.ietf.org/mailman/listinfo/softwires



From softwires-bounces@ietf.org Tue Dec 04 13:01:25 2007
Return-path: <softwires-bounces@ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1Izc5C-0001Vy-HO; Tue, 04 Dec 2007 13:01:22 -0500
Received: from softwires by megatron.ietf.org with local (Exim 4.43)
	id 1Izc5B-0001Vo-An for softwires-confirm+ok@megatron.ietf.org;
	Tue, 04 Dec 2007 13:01:21 -0500
Received: from [10.90.34.44] (helo=chiedprmail1.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1Izc5A-0001VX-Uu
	for softwires@ietf.org; Tue, 04 Dec 2007 13:01:21 -0500
Received: from fireball.acr.fi ([83.145.195.1] helo=mail.kivinen.iki.fi)
	by chiedprmail1.ietf.org with esmtp (Exim 4.43) id 1Izc5A-0008JX-8i
	for softwires@ietf.org; Tue, 04 Dec 2007 13:01:20 -0500
Received: from fireball.kivinen.iki.fi (localhost [127.0.0.1])
	by mail.kivinen.iki.fi (8.13.8/8.12.10) with ESMTP id lB4I1IBv012507
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO)
	for <softwires@ietf.org>; Tue, 4 Dec 2007 20:01:18 +0200 (EET)
Received: (from kivinen@localhost)
	by fireball.kivinen.iki.fi (8.13.8/8.12.11) id lB4I1ILX001044;
	Tue, 4 Dec 2007 20:01:18 +0200 (EET)
Resent-From: kivinen@kivinen.iki.fi
X-Authentication-Warning: fireball.kivinen.iki.fi: kivinen set sender to
	kivinen@kivinen.iki.fi using -f
Resent-Message-ID: <18261.38382.246050.994259@fireball.kivinen.iki.fi>
Resent-Date: Tue, 4 Dec 2007 20:01:18 +0200
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <18261.37635.641968.59716@fireball.kivinen.iki.fi>
Date: Tue, 4 Dec 2007 19:48:51 +0200
From: Tero Kivinen <kivinen@kivinen.iki.fi>
Resent-to: softwires@ietf.org
To: Florent Parent <Florent.Parent@beon.ca>
Subject: Re: [Softwires] WG last call on the security document
In-Reply-To: <6E9098A8-B8AB-4EC4-A8E3-0BAC7BCB7CB0@beon.ca>
References: <C379780F.608C%alain_durand@cable.comcast.com>
	<18260.18811.69209.831957@fireball.kivinen.iki.fi>
	<6E9098A8-B8AB-4EC4-A8E3-0BAC7BCB7CB0@beon.ca>
X-Mailer: VM 7.19 under Emacs 21.4.1
X-Edit-Time: 28 min
X-Total-Time: 44 min
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 50a516d93fd399dc60588708fd9a3002
Resent-Date: Tue, 04 Dec 2007 13:01:21 -0500
Cc: softwires@ietf.org
X-BeenThere: softwires@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: softwires wg discussion list <softwires.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/softwires>,
	<mailto:softwires-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/softwires>
List-Post: <mailto:softwires@ietf.org>
List-Help: <mailto:softwires-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/softwires>,
	<mailto:softwires-request@ietf.org?subject=subscribe>
Sender: softwires-bounces@ietf.org
Errors-To: softwires-bounces@ietf.org

Florent Parent writes:
> >   So there is only options to recompute checksum (might be
> >   expensive), or make the implementation so it will not check the UDP
> >   checksum of the L2TPv2 packet. This should not matter, as we do
> >   have ESP outside providing much better validation of the received
> >   packet and there is also another checksum inside the packet inside
> >   the L2TPv2+PPP packet.
> 
> In the scenario where IPv4 over IPv6 is used (3.5.4.2), L2TP/UDP is  
> transported over IPv6, so UDP checksum must be enabled:

Not necessarely.

What happens there is that packet comes in:

IPV6 hdr, UDP(4500,4500), ESP, UDP(1701,1701), L2TP, PPP, IPv4, ESP AUTH

There is now multiple checksums. The UDP(4500, 4500) header do have
checksum, and that is checked and is correct. The ESP covers the
packet from UDP(1701, 1701) to the end, so it knows there cannot be
bit errors in that part.

The UDP(1701 1701) header has wrong UDP checksum as it is not fixed by
the NAT (it is inside the ESP). The IPv4 packet inside has also more
checksums. When we strip the UDP encapsulation and ESP, we get packet:

IPV6 hdr, UDP(1701,1701), L2TP, PPP, IPv4

which have wrong checksum for the UDP(1701, 1701) header, but we are
not really interested in that, as we are going to give that the local
L2TP application, that will throw the IPv6 header, UDP(1701, 1701)
header away, and take the IPv4 packet from inside. What we can do
there,  is to simply set the bit on in the kernel internal packet
context saying that UDP checksum is already checked, and there is no
need to recheck it anymore (there is usuallu such bit because the same
thing is used when the ethernet hardware does UDP/TCP checksum
calculations instead of IP stack. If there is no such option in the
kernel, then we must use the "recompute checksum", but in most
environments it is very easy to do the "do not check".

The recompatation does not help at all, as it does not protect againts
any errors or attacks.

Anyways, in the IPv4 we can set UDP checksum to 0, and IPv6 NATs are
not that common, so if you really want you can force them do
recomputations if you want. Or just say that RFC 3948 section 3.1.2
option 1 cannot be done, so either option 2 or 3 MUST be used. 
-- 
kivinen@safenet-inc.com


_______________________________________________
Softwires mailing list
Softwires@ietf.org
https://www1.ietf.org/mailman/listinfo/softwires



From softwires-bounces@ietf.org Tue Dec 04 13:03:04 2007
Return-path: <softwires-bounces@ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1Izc6q-0002HY-41; Tue, 04 Dec 2007 13:03:04 -0500
Received: from softwires by megatron.ietf.org with local (Exim 4.43)
	id 1Izc6o-0002H4-OQ for softwires-confirm+ok@megatron.ietf.org;
	Tue, 04 Dec 2007 13:03:02 -0500
Received: from [10.90.34.44] (helo=chiedprmail1.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1Izc6o-0002Gr-E2
	for softwires@ietf.org; Tue, 04 Dec 2007 13:03:02 -0500
Received: from fireball.acr.fi ([83.145.195.1] helo=mail.kivinen.iki.fi)
	by chiedprmail1.ietf.org with esmtp (Exim 4.43) id 1Izc6n-0008TF-Rh
	for softwires@ietf.org; Tue, 04 Dec 2007 13:03:02 -0500
Received: from fireball.kivinen.iki.fi (localhost [127.0.0.1])
	by mail.kivinen.iki.fi (8.13.8/8.12.10) with ESMTP id lB4I30As000464
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO)
	for <softwires@ietf.org>; Tue, 4 Dec 2007 20:03:00 +0200 (EET)
Received: (from kivinen@localhost)
	by fireball.kivinen.iki.fi (8.13.8/8.12.11) id lB4I30bw003530;
	Tue, 4 Dec 2007 20:03:00 +0200 (EET)
Resent-From: kivinen@kivinen.iki.fi
X-Authentication-Warning: fireball.kivinen.iki.fi: kivinen set sender to
	kivinen@kivinen.iki.fi using -f
Resent-Message-ID: <18261.38484.640268.299020@fireball.kivinen.iki.fi>
Resent-Date: Tue, 4 Dec 2007 20:03:00 +0200
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <18261.37926.618427.654857@fireball.kivinen.iki.fi>
Date: Tue, 4 Dec 2007 19:53:42 +0200
From: Tero Kivinen <kivinen@kivinen.iki.fi>
Resent-to: softwires@ietf.org
To: softwires@ietf.org
Subject: Re: [Softwires] WG last call on the security document
X-Mailer: VM 7.19 under Emacs 21.4.1
X-Edit-Time: 5 min
X-Total-Time: 14 min
X-Spam-Score: 0.0 (/)
X-Scan-Signature: bb8f917bb6b8da28fc948aeffb74aa17
Resent-Date: Tue, 04 Dec 2007 13:03:02 -0500
Cc: Pasi.Eronen@nokia.com
X-BeenThere: softwires@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: softwires wg discussion list <softwires.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/softwires>,
	<mailto:softwires-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/softwires>
List-Post: <mailto:softwires@ietf.org>
List-Help: <mailto:softwires-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/softwires>,
	<mailto:softwires-request@ietf.org?subject=subscribe>
Sender: softwires-bounces@ietf.org
Errors-To: softwires-bounces@ietf.org

When I was talking about IPsec transport mode NAT-T with some other
people (i.e. what to say about transport mode and NAT-T in the
ikev2bis), we noticed another problem with the current PAD / SPD
entries. The problem is that if the client is coming from behind NAT
we cannot know the SI_address. We could know the NAT_SI_address,
provided the initiator is using some kind of static nat system, but
with the roaming cases, we do not know anything about the source
address.

This means that PAD on the SC should be:

   SC PAD:
    - IF remote_identity = user_1
         Then authenticate (shared secret/certificate/EAP)
         and authorize CHILD_SAs for symbolic name "l2tp_spd_entry"

And the SPD-S would be:

   - IF name="l2tp_spd_entry"
	local_address=IPv4-SC
        remote_address=ANY (PFP=1)
        next_layer_protocol=UDP
        local_port=1701
        remote_port=ANY (PFP=1)
     Then use SA ESP transport mode

I.e. we create symbolic name in the PAD which says that user_1 can
create SAs as specified by the SPD entry matching that name. Then we
add that name to the SPD entry, so user_1 can only use that specific
SPD entry. In normal case we of course have lots of different PAD
entries (or just one, using for example partial distinguished name
matching) but they can each map to the same SPD entry only allowing
them to use L2TP. 
-- 
kivinen@safenet-inc.com


_______________________________________________
Softwires mailing list
Softwires@ietf.org
https://www1.ietf.org/mailman/listinfo/softwires



From softwires-bounces@ietf.org Tue Dec 04 13:13:04 2007
Return-path: <softwires-bounces@ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1IzcGV-0002E6-Pa; Tue, 04 Dec 2007 13:13:03 -0500
Received: from softwires by megatron.ietf.org with local (Exim 4.43)
	id 1IzcGU-0002DC-CK for softwires-confirm+ok@megatron.ietf.org;
	Tue, 04 Dec 2007 13:13:02 -0500
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1IzcGU-0002D2-2S
	for softwires@ietf.org; Tue, 04 Dec 2007 13:13:02 -0500
Received: from ns.beon.ca ([2001:5c0:8001::53] helo=smtp.beon.ca)
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1IzcGS-0005SA-Dm
	for softwires@ietf.org; Tue, 04 Dec 2007 13:13:02 -0500
Received: from dhcp-169f.ietf70.org (dhcp-169f.ietf70.org [130.129.22.159])
	(using TLSv1 with cipher AES128-SHA (128/128 bits))
	(Client did not present a certificate)
	by smtp.beon.ca (Postfix) with ESMTP id 69D31AD750;
	Tue,  4 Dec 2007 13:12:59 -0500 (EST)
Message-Id: <9A0E5E9B-7235-40CE-9145-7796C7B3E270@beon.ca>
From: Florent Parent <Florent.Parent@beon.ca>
To: Tero Kivinen <kivinen@iki.fi>
In-Reply-To: <18261.37635.641968.59716@fireball.kivinen.iki.fi>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes
Content-Transfer-Encoding: quoted-printable
Mime-Version: 1.0 (Apple Message framework v915)
Subject: Re: [Softwires] WG last call on the security document
Date: Tue, 4 Dec 2007 10:12:55 -0800
References: <C379780F.608C%alain_durand@cable.comcast.com>
	<18260.18811.69209.831957@fireball.kivinen.iki.fi>
	<6E9098A8-B8AB-4EC4-A8E3-0BAC7BCB7CB0@beon.ca>
	<18261.37635.641968.59716@fireball.kivinen.iki.fi>
X-Mailer: Apple Mail (2.915)
X-Spam-Score: 1.6 (+)
X-Scan-Signature: b4a0a5f5992e2a4954405484e7717d8c
Cc: softwires@ietf.org
X-BeenThere: softwires@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: softwires wg discussion list <softwires.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/softwires>,
	<mailto:softwires-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/softwires>
List-Post: <mailto:softwires@ietf.org>
List-Help: <mailto:softwires-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/softwires>,
	<mailto:softwires-request@ietf.org?subject=subscribe>
Errors-To: softwires-bounces@ietf.org

Le 07-12-04 =E0 09:48, Tero Kivinen a =E9crit :

> Florent Parent writes:
>>>  So there is only options to recompute checksum (might be
>>>  expensive), or make the implementation so it will not check the UDP
>>>  checksum of the L2TPv2 packet. This should not matter, as we do
>>>  have ESP outside providing much better validation of the received
>>>  packet and there is also another checksum inside the packet inside
>>>  the L2TPv2+PPP packet.
>>
>> In the scenario where IPv4 over IPv6 is used (3.5.4.2), L2TP/UDP is
>> transported over IPv6, so UDP checksum must be enabled:
>
> Not necessarely.
>
> What happens there is that packet comes in:
>
> IPV6 hdr, UDP(4500,4500), ESP, UDP(1701,1701), L2TP, PPP, IPv4, ESP =20=

> AUTH
>
> There is now multiple checksums. The UDP(4500, 4500) header do have
> checksum, and that is checked and is correct. The ESP covers the
> packet from UDP(1701, 1701) to the end, so it knows there cannot be
> bit errors in that part.
>
> The UDP(1701 1701) header has wrong UDP checksum as it is not fixed by
> the NAT (it is inside the ESP). The IPv4 packet inside has also more
> checksums. When we strip the UDP encapsulation and ESP, we get packet:
>
> IPV6 hdr, UDP(1701,1701), L2TP, PPP, IPv4
>
> which have wrong checksum for the UDP(1701, 1701) header, but we are
> not really interested in that, as we are going to give that the local
> L2TP application, that will throw the IPv6 header, UDP(1701, 1701)
> header away, and take the IPv4 packet from inside. What we can do
> there,  is to simply set the bit on in the kernel internal packet
> context saying that UDP checksum is already checked, and there is no
> need to recheck it anymore (there is usuallu such bit because the same
> thing is used when the ethernet hardware does UDP/TCP checksum
> calculations instead of IP stack. If there is no such option in the
> kernel, then we must use the "recompute checksum", but in most
> environments it is very easy to do the "do not check".

Understood.

>
>
> The recompatation does not help at all, as it does not protect againts
> any errors or attacks.
>
> Anyways, in the IPv4 we can set UDP checksum to 0, and IPv6 NATs are
> not that common, so if you really want you can force them do
> recomputations if you want. Or just say that RFC 3948 section 3.1.2
> option 1 cannot be done, so either option 2 or 3 MUST be used.

This is also a very valid point: UDP encapsulation of ESP may very =20
well not by used on IPv6 networks. But if it is, the above =20
considerations on UDP checksum will provide the implementation =20
guidelines.

Thanks for the comprehensive response.

Florent




_______________________________________________
Softwires mailing list
Softwires@ietf.org
https://www1.ietf.org/mailman/listinfo/softwires



From softwires-bounces@ietf.org Mon Dec 24 17:30:05 2007
Return-path: <softwires-bounces@ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1J6voB-0006Le-9X; Mon, 24 Dec 2007 17:30:03 -0500
Received: from softwires by megatron.ietf.org with local (Exim 4.43)
	id 1J6voA-0006LW-Uh for softwires-confirm+ok@megatron.ietf.org;
	Mon, 24 Dec 2007 17:30:02 -0500
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1J6voA-0006LN-Ja; Mon, 24 Dec 2007 17:30:02 -0500
Received: from ns0.neustar.com ([156.154.16.158])
	by ietf-mx.ietf.org with esmtp (Exim 4.43)
	id 1J6voA-00043r-7p; Mon, 24 Dec 2007 17:30:02 -0500
Received: from stiedprstage1.ietf.org (stiedprstage1.va.neustar.com
	[10.31.47.10]) by ns0.neustar.com (Postfix) with ESMTP id 262DE32898;
	Mon, 24 Dec 2007 22:30:02 +0000 (GMT)
Received: from ietf by stiedprstage1.ietf.org with local (Exim 4.43)
	id 1J6voA-00080A-10; Mon, 24 Dec 2007 17:30:02 -0500
Content-Type: Multipart/Mixed; Boundary="NextPart"
Mime-Version: 1.0
To: i-d-announce@ietf.org
From: Internet-Drafts@ietf.org
Message-Id: <E1J6voA-00080A-10@stiedprstage1.ietf.org>
Date: Mon, 24 Dec 2007 17:30:02 -0500
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 3002fc2e661cd7f114cb6bae92fe88f1
Cc: softwires@ietf.org
Subject: [Softwires] I-D
	Action:draft-ietf-softwire-security-requirements-05.txt 
X-BeenThere: softwires@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: softwires wg discussion list <softwires.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/softwires>,
	<mailto:softwires-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/softwires>
List-Post: <mailto:softwires@ietf.org>
List-Help: <mailto:softwires-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/softwires>,
	<mailto:softwires-request@ietf.org?subject=subscribe>
Errors-To: softwires-bounces@ietf.org

--NextPart

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


	Title           : Softwire Security Analysis and Requirements
	Author(s)       : S. Yamamoto, et al.
	Filename        : draft-ietf-softwire-security-requirements-05.txt
	Pages           : 27
	Date            : 2007-12-24

This document describes the security Guidelines for the Softwire
"Hubs and Spokes" and "Mesh" solutions.  Together with the discussion
of the Softwire deployment scenarios, the vulnerability to the
security attacks is analyzed to provide the security protection
mechanism such as authentication, integrity and confidentiality to
the softwire control and data packets.

A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-ietf-softwire-security-requirements-05.txt

To remove yourself from the I-D Announcement list, send a message to
i-d-announce-request@ietf.org with the word unsubscribe in the body of 
the message.
You can also visit https://www1.ietf.org/mailman/listinfo/I-D-announce
to change your subscription settings.

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

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

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

Send a message to:
	mailserv@ietf.org.
In the body type:
	"FILE /internet-drafts/draft-ietf-softwire-security-requirements-05.txt".

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

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

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

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

Content-Type: text/plain
Content-ID: <2007-12-24172057.I-D@ietf.org>

ENCODING mime
FILE /internet-drafts/draft-ietf-softwire-security-requirements-05.txt

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

Content-Type: text/plain
Content-ID: <2007-12-24172057.I-D\@ietf.org>


--OtherAccess--

--NextPart
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Softwires mailing list
Softwires@ietf.org
https://www1.ietf.org/mailman/listinfo/softwires

--NextPart--





