Re: [MEXT] Call for WG adoption of I-D: draft-korhonen-mext-mip6-altsec

"Laganier, Julien" <julienl@qualcomm.com> Fri, 28 January 2011 19:15 UTC

Return-Path: <julienl@qualcomm.com>
X-Original-To: mext@core3.amsl.com
Delivered-To: mext@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id E040D3A6946 for <mext@core3.amsl.com>; Fri, 28 Jan 2011 11:15:33 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -106.408
X-Spam-Level:
X-Spam-Status: No, score=-106.408 tagged_above=-999 required=5 tests=[AWL=0.191, BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4, 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 7cUYX+WdNPz1 for <mext@core3.amsl.com>; Fri, 28 Jan 2011 11:15:32 -0800 (PST)
Received: from wolverine01.qualcomm.com (wolverine01.qualcomm.com [199.106.114.254]) by core3.amsl.com (Postfix) with ESMTP id 93A573A68D7 for <mext@ietf.org>; Fri, 28 Jan 2011 11:15:32 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=qualcomm.com; i=julienl@qualcomm.com; q=dns/txt; s=qcdkim; t=1296242319; x=1327778319; h=from:to:cc:subject:thread-topic:thread-index:date: message-id:references:in-reply-to:accept-language: content-language:x-ms-has-attach:x-ms-tnef-correlator: x-originating-ip:content-type:content-transfer-encoding: mime-version; z=From:=20"Laganier,=20Julien"=20<julienl@qualcomm.com> |To:=20jouni=20korhonen=20<jouni.nospam@gmail.com>|CC:=20 "Basavaraj.Patil@nokia.com"=20<Basavaraj.Patil@nokia.com> ,=20"jan@go6.si"=0D=0A=09<jan@go6.si>,=20"mext@ietf.org" =20<mext@ietf.org>|Subject:=20RE:=20[MEXT]=20Call=20for =20WG=20adoption=20of=09I-D:=0D=0A=09draft-korhonen-mext- mip6-altsec|Thread-Topic:=20[MEXT]=20Call=20for=20WG=20ad option=20of=09I-D:=0D=0A=09draft-korhonen-mext-mip6-altse c|Thread-Index:=20AQHLvyAryG5ore7yf067DtSh/6mg0Q=3D=3D |Date:=20Fri,=2028=20Jan=202011=2019:18:39=20+0000 |Message-ID:=20<98A16B2D00B5724F81E80EF1927A02970409A1@na sanexd01e.na.qualcomm.com>|References:=20<878vyarmku.fsf@ natisbad.org>=0D=0A=09<C963527A.D013%basavaraj.patil@noki a.com>=0D=0A=09<98A16B2D00B5724F81E80EF1927A029703E3FB@na sanexd01e.na.qualcomm.com>=0D=0A=09<06CCEF13-4E11-474D-A2 5E-C1425D5B520A@gmail.com>=0D=0A=20<98A16B2D00B5724F81E80 EF1927A029703EAD4@nasanexd01e.na.qualcomm.com> |In-Reply-To:=20<98A16B2D00B5724F81E80EF1927A029703EAD4@n asanexd01e.na.qualcomm.com>|Accept-Language:=20en-US |Content-Language:=20en-US|X-MS-Has-Attach: |X-MS-TNEF-Correlator:|x-originating-ip:=20[172.30.39.5] |Content-Type:=20text/plain=3B=20charset=3D"us-ascii" |Content-Transfer-Encoding:=20quoted-printable |MIME-Version:=201.0; bh=k5Lfm1dS50Onb2nRB19zjvCb212ICzexxeD7L6/OsfA=; b=aLwka+B0PA6fMKVdMySfxJh/i56b/gMTPhw38Z9+DpFHmZSdkSejZtds xSZ1zMLMb5xt3IDF5HaZgD6Qoj9wCSzWy6GtCe1JOg8IOgp2Si7Xb9seu qo5GaqcqQOqP1z916vBm4255n2bkR7kmHD/yDIaiQ7WG4r3a4SHnX4ZDw Y=;
X-IronPort-AV: E=McAfee;i="5400,1158,6240"; a="72375772"
Received: from ironmsg03-r.qualcomm.com ([172.30.46.17]) by wolverine01.qualcomm.com with ESMTP; 28 Jan 2011 11:18:39 -0800
X-IronPort-AV: E=Sophos;i="4.60,392,1291622400"; d="scan'208";a="45497115"
Received: from nasanexhc09.na.qualcomm.com ([172.30.39.8]) by Ironmsg03-R.qualcomm.com with ESMTP/TLS/AES128-SHA; 28 Jan 2011 11:18:39 -0800
Received: from NASANEXD01E.na.qualcomm.com ([fe80::6555:8c37:4ee3:efc4]) by nasanexhc09.na.qualcomm.com ([::1]) with mapi id 14.01.0218.012; Fri, 28 Jan 2011 11:18:39 -0800
From: "Laganier, Julien" <julienl@qualcomm.com>
To: jouni korhonen <jouni.nospam@gmail.com>
Thread-Topic: [MEXT] Call for WG adoption of I-D: draft-korhonen-mext-mip6-altsec
Thread-Index: AQHLvyAryG5ore7yf067DtSh/6mg0Q==
Date: Fri, 28 Jan 2011 19:18:39 +0000
Message-ID: <98A16B2D00B5724F81E80EF1927A02970409A1@nasanexd01e.na.qualcomm.com>
References: <878vyarmku.fsf@natisbad.org> <C963527A.D013%basavaraj.patil@nokia.com> <98A16B2D00B5724F81E80EF1927A029703E3FB@nasanexd01e.na.qualcomm.com> <06CCEF13-4E11-474D-A25E-C1425D5B520A@gmail.com> <98A16B2D00B5724F81E80EF1927A029703EAD4@nasanexd01e.na.qualcomm.com>
In-Reply-To: <98A16B2D00B5724F81E80EF1927A029703EAD4@nasanexd01e.na.qualcomm.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [172.30.39.5]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailman-Approved-At: Fri, 28 Jan 2011 14:27:26 -0800
Cc: "mext@ietf.org" <mext@ietf.org>, "jan@go6.si" <jan@go6.si>, "Basavaraj.Patil@nokia.com" <Basavaraj.Patil@nokia.com>
Subject: Re: [MEXT] Call for WG adoption of I-D: draft-korhonen-mext-mip6-altsec
X-BeenThere: mext@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Mobile IPv6 EXTensions WG <mext.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/mext>, <mailto:mext-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/mext>
List-Post: <mailto:mext@ietf.org>
List-Help: <mailto:mext-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/mext>, <mailto:mext-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 28 Jan 2011 19:15:34 -0000

Hello again,

Thought that maybe making my question a bit more specific would help: 

So, why don't you simply define a UDP encapsulation to ESP, instead of duplicating ESP functionality into your framework?

--julien

Laganier, Julien wrote:
> 
> Hi Jouni,
> 
> I understand you "follow the ESP format but feel no shame on changing
> it if we see a reason to do so", but I am (shamelessly ;) wondering
> about the actual reason to do so, as per one of the famous
> Architectural Principles of the Internet documented in RFC 1958:
> 
>    3.2 If there are several ways of doing the same thing, choose one.
>    If a previous design, in the Internet context or elsewhere, has
>    successfully solved the same problem, choose the same solution unless
>    there is a good technical reason not to.  Duplication of the same
>    protocol functionality should be avoided as far as possible, without
>    of course using this argument to reject improvements.
> 
> Would you mind enlightening us?
>
> --julien
>
> jouni korhonen wrote:
> >
> > Few things. The draft already states that "The Padding, Pad Length,
> > Next Header and ICV fields follow the rules of Section 2.4 to 2.8 of
> > [RFC4303] unless otherwise stated in this document." So, we follow
> > the ESP format but feel no shame on changing it if we see a reason
> > to do so.
> >
> > The reason why we chose to do it like this was two fold: 1) some
> > ciphers etc when used would need ~equivalent encapsulation anyway.
> > 2) if we had come up with our very own format the question on the
> > list would have been "why not using RFC4303 encapsulation format".
> > Actually.. the latter already happened offline.
> >
> > - Jouni
> >
> >
> > On Jan 26, 2011, at 12:48 AM, Laganier, Julien wrote:
> >
> > > Hi Raj,
> > >
> > >> Inline:
> > >>
> > >> On 1/24/11 3:58 PM, "ext Arnaud Ebalard" <arno@natisbad.org>
> wrote:
> > >>
> > >>>
> > >>> To me, what the draft describes is a patchwork based on MIPv6,
> ESP
> > and
> > >>> TLS. Instead of building on top of those protocols (read
> modularity
> > >> and
> > >>> interoperability), it reuses (hijacks) various blocks of
> associated
> > >>> standards in a non-modular way. For instance, one has to
> > reimplement
> > >> ESP
> > >>> in userspace to support the protocol.
> > >>
> > >> We are specifying an encapsulation method in the I-D. To say that
> > one
> > >> has to reimplement ESP in userspace is incorrect.
> > >
> > > The encapsulation format you have in the I-D is:
> > >
> > > 0                   1                   2                   3
> > > 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
> > > +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
> > > |                                                               |
> > > :         IPv4 or IPv6 header (src-addr=Xa, dst-addr=Ya)        :
> > > |                                                               |
> > > +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
> > > |                                                               |
> > > :            UDP header (src-port=Xp,dst-port=Yp)               :
> > > |                                                               |
> > > +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ -
> --
> > ---
> > > |PType=8|                    SPI                                |
> > ^Int.
> > > +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
> > |Cov-
> > > |                      Sequence Number                          |
> > |ered
> > > +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |
> -
> > ---
> > > |                    Payload Data* (variable)                   | |
> > ^
> > > :                                                               : |
> > |
> > > |                                                               |
> > |Conf.
> > > +               +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
> > |Cov-
> > > |               |     Padding (0-255 bytes)                     |
> > |ered*
> > > +-+-+-+-+-+-+-+-+               +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |
> > |
> > > |                               |  Pad Length   | Next Header   | v
> > v
> > > +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ -
> --
> > ---
> > > |         Integrity Check Value-ICV   (variable)                |
> > > :                                                               :
> > > |                                                               |
> > > +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
> > >
> > >       Figure 7: UDP Encapsulated Binding Management Message Format
> > >
> > > Which looks like a copy/paste of the ESP specification [RFC4303]:
> > >
> > > 0                   1                   2                   3
> > > 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
> > > +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ -
> --
> > -
> > > |               Security Parameters Index (SPI)                 |
> > ^Int.
> > > +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
> > |Cov-
> > > |                      Sequence Number                          |
> > |ered
> > > +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |
> -
> > ---
> > > |                    Payload Data* (variable)                   | |
> > ^
> > > ~                                                               ~ |
> > |
> > > |                                                               |
> > |Conf.
> > > +               +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
> > |Cov-
> > > |               |     Padding (0-255 bytes)                     |
> > |ered*
> > > +-+-+-+-+-+-+-+-+               +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |
> > |
> > > |                               |  Pad Length   | Next Header   | v
> > v
> > > +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ -
> --
> > ---
> > > |         Integrity Check Value-ICV   (variable)                |
> > > ~                                                               ~
> > > |                                                               |
> > > +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
> > >
> > >            Figure 1.  Top-Level Format of an ESP Packet
> > >
> > >
> > > So the question is: Is your intent to provide a UDP encapsulation
> > format for the already specified ESP protocol, or to provide an
> > alternative encapsulation format to ESP?
> > >
> > > --julien
> > > _______________________________________________
> > > MEXT mailing list
> > > MEXT@ietf.org
> > > https://www.ietf.org/mailman/listinfo/mext
> >
> > _______________________________________________
> > MEXT mailing list
> > MEXT@ietf.org
> > https://www.ietf.org/mailman/listinfo/mext
> _______________________________________________
> MEXT mailing list
> MEXT@ietf.org
> https://www.ietf.org/mailman/listinfo/mext