Re: [I2nsf] Magnus Westerlund's Discuss on draft-ietf-i2nsf-sdn-ipsec-flow-protection-12: (with DISCUSS)

Magnus Westerlund <magnus.westerlund@ericsson.com> Wed, 25 November 2020 14:48 UTC

Return-Path: <magnus.westerlund@ericsson.com>
X-Original-To: i2nsf@ietfa.amsl.com
Delivered-To: i2nsf@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DE83A3A1566; Wed, 25 Nov 2020 06:48:52 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.102
X-Spam-Level:
X-Spam-Status: No, score=-2.102 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=ericsson.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id m37mwFJf5VNy; Wed, 25 Nov 2020 06:48:50 -0800 (PST)
Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2068.outbound.protection.outlook.com [40.107.20.68]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 22EF93A1564; Wed, 25 Nov 2020 06:48:49 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RZANLY3D5LdSG7Or0D9y89MC2ldov/ApTfEgIDdk5c1NEXgBoZQwcG4xc5dH0gYYKWTdSkC7i2s+K//uLutqW6Xw2EJtj/VTNkqBNX+TBOxxkc+FLx7vsD3ZTvbSlKYECbsWLUN2Fz81htose/AXo2sV3BmgLEkHYmWY0oHqEcRDmY/Vpinx/21kxi9cK2DBQQ6DQyD/jPhCD2OQbSxVU8Lz8u5eDwjnpylGXRSSsB+wUwItu6aFZWJMgHyQghyJrBAgyfjayi/NyUupWw54mSQTo8K4mlfHz8LdLkFA67W9WYNC3TsYSTzwUhdDAqkwnLGaf+aavFyfp5cg4pa87w==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=xKkY5ARFYe4Vq3bv4Z7BUg0smNMxmGBOrmdLaa0ZKzk=; b=mOnuHalliRx7KyuBgwHlcqlzhStecvSL5cGRo73EFzIoosKwbzRCxbkk7p2NXYnK6bYWRs8A1flFMDVu8oCxOufKMC+X6Z/ssmSq03ZlIDuncdfL61TWHar7xWTRfAnhCe7rzZ6ATOXqmeSOGSz+Vgu5Dt+eWOhVUotCTZvvEYJkLGtkdTYCXj/aBPNeXrKF8k+gYhmu3i8/Y41jpuPQ9U/EQ79quBhDt8dXAkZDm4zZT0jkecPWeMtlc2+0xifJ58MQi0x0la36Re6xICIvLQwAFY/WDEjV/+lebN4ZVy52a8OxaSKwyiO/hoiOANV9X1MqbOTpFF/Rk/daGlJ0PA==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ericsson.com; dmarc=pass action=none header.from=ericsson.com; dkim=pass header.d=ericsson.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericsson.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=xKkY5ARFYe4Vq3bv4Z7BUg0smNMxmGBOrmdLaa0ZKzk=; b=c7lKkcIgozZPTIBslY4CUVWtFsQjveJejJF45fasSjRlFIbAjinp2rtdzyy+eeBRSyp5JMA/DrDiCNUCzs5AlYEZ97l3tyBCpLK1IZjfOGPMv1clbCXsDbD8tlmZJVaua4xU44iCs2EETf/aG4aJr49SuDACKpC0PFUNq7vY5is=
Received: from HE1PR0702MB3772.eurprd07.prod.outlook.com (2603:10a6:7:8e::14) by HE1PR07MB3340.eurprd07.prod.outlook.com (2603:10a6:7:31::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3589.12; Wed, 25 Nov 2020 14:48:47 +0000
Received: from HE1PR0702MB3772.eurprd07.prod.outlook.com ([fe80::f006:1e1e:83a1:e5d2]) by HE1PR0702MB3772.eurprd07.prod.outlook.com ([fe80::f006:1e1e:83a1:e5d2%7]) with mapi id 15.20.3564.035; Wed, 25 Nov 2020 14:48:47 +0000
From: Magnus Westerlund <magnus.westerlund@ericsson.com>
To: "rafa@um.es" <rafa@um.es>
CC: "draft-ietf-i2nsf-sdn-ipsec-flow-protection@ietf.org" <draft-ietf-i2nsf-sdn-ipsec-flow-protection@ietf.org>, "i2nsf@ietf.org" <i2nsf@ietf.org>, "iesg@ietf.org" <iesg@ietf.org>, "ynir.ietf@gmail.com" <ynir.ietf@gmail.com>, "i2nsf-chairs@ietf.org" <i2nsf-chairs@ietf.org>
Thread-Topic: [I2nsf] Magnus Westerlund's Discuss on draft-ietf-i2nsf-sdn-ipsec-flow-protection-12: (with DISCUSS)
Thread-Index: AQHWs4O7uBqTMB1dq0C1v142YGiqrKnWI08AgALpz4A=
Date: Wed, 25 Nov 2020 14:48:47 +0000
Message-ID: <687e9ef3dcdc10e8f1e908a5c40156d48da8b75c.camel@ericsson.com>
References: <160458812991.16036.6729267088975668048@ietfa.amsl.com> <9E65120A-D864-4E56-9954-BA536EF88363@um.es>
In-Reply-To: <9E65120A-D864-4E56-9954-BA536EF88363@um.es>
Accept-Language: sv-SE, en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator:
x-mailer: Evolution 3.28.5-0ubuntu0.18.04.2
authentication-results: um.es; dkim=none (message not signed) header.d=none;um.es; dmarc=none action=none header.from=ericsson.com;
x-originating-ip: [192.176.1.83]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 3c158d0d-cfbc-43e0-2804-08d8915136f6
x-ms-traffictypediagnostic: HE1PR07MB3340:
x-microsoft-antispam-prvs: <HE1PR07MB334070F98640A033AE53399895FA0@HE1PR07MB3340.eurprd07.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: HzfEbeT4ByvAKo1wht6FJnYrJxdswK4neyveRYyOFKAX5Qji+UpALRCxB1b1n9q0IKzP3wDUSluHeCjJ/4HWdfrv63ytLkpWoLHBJPaEWFcrbnpx6OVNm2EJRjx0tMEUUhy2Hiwmj1G9orVB6RUY0Em4XS8PIMYSlG627oNuPwM559cG6508eytOPNENAtgnJTsL3w5P/a6gXjvo8odj1J22tnm5K+c6H+u/FQOpqZa/EgtaNUaCdwyh+wqfdj1msurkFwzA7W0nPkQL808oWP3BIHgEhe4/xK52MZTjyQk7AOgLS/NYiU8q1DyilQUZxL5IspOsl256bn6uroW4xb+aLFO7ShiwQa/WrNl8GzJHD4VD2TYNWslZeE0rQBChd+LxsagFzCKR3JQnExQpR4nZ5uorYUee0Hms3my/2qzjqonP5fYSPH7AENGOXFCl
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:HE1PR0702MB3772.eurprd07.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(396003)(136003)(346002)(39860400002)(366004)(376002)(4326008)(5660300002)(186003)(83380400001)(66946007)(71200400001)(76116006)(478600001)(44832011)(36756003)(6486002)(2906002)(66616009)(316002)(8676002)(99936003)(6506007)(2616005)(6512007)(64756008)(66446008)(54906003)(66476007)(4001150100001)(86362001)(6916009)(966005)(8936002)(66556008)(26005)(99106002); DIR:OU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multipart/signed; micalg="sha-256"; protocol="application/x-pkcs7-signature"; boundary="=-+PdeFVHtVlS0odYat2i/"
MIME-Version: 1.0
X-OriginatorOrg: ericsson.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: HE1PR0702MB3772.eurprd07.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 3c158d0d-cfbc-43e0-2804-08d8915136f6
X-MS-Exchange-CrossTenant-originalarrivaltime: 25 Nov 2020 14:48:47.1736 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 92e84ceb-fbfd-47ab-be52-080c6b87953f
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: jZdRbGETNErk5bpYBXRMzmLLY8tx8fOsj6wOnqKFxTOY6mGHaXrgKPMEhqmAfecfu1MFJlPpZ2HDWrs7PLwlPtgNdJPcxYW9zxWu2Jp0Jtc=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR07MB3340
Archived-At: <https://mailarchive.ietf.org/arch/msg/i2nsf/VYrkfXpx7SmKa0J0xOlGTHxyMvc>
Subject: Re: [I2nsf] Magnus Westerlund's Discuss on draft-ietf-i2nsf-sdn-ipsec-flow-protection-12: (with DISCUSS)
X-BeenThere: i2nsf@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "*I2NSF: Interface to Network Security Functions mailing list*" <i2nsf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/i2nsf>, <mailto:i2nsf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/i2nsf/>
List-Post: <mailto:i2nsf@ietf.org>
List-Help: <mailto:i2nsf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/i2nsf>, <mailto:i2nsf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 25 Nov 2020 14:48:53 -0000

Hi,

Thanks for clarification of this issue. I will have to reach out to some of the
people that are the true experts on this and see what they do respond. I will
come back to you within a week. If not please ping me. 

Thanks

Magnus

On Mon, 2020-11-23 at 19:19 +0100, Rafa Marin-Lopez wrote:
> Dear Magnus:
> 
> Thank you very much for your review. Please, see our comments below.
> 
> > El 5 nov 2020, a las 15:55, Magnus Westerlund via Datatracker <
> > noreply@ietf.org> escribió:
> > 
> > Magnus Westerlund has entered the following ballot position for
> > draft-ietf-i2nsf-sdn-ipsec-flow-protection-12: Discuss
> > 
> > When responding, please keep the subject line intact and reply to all
> > email addresses included in the To and CC lines. (Feel free to cut this
> > introductory paragraph, however.)
> > 
> > 
> > Please refer to https://www.ietf.org/iesg/statement/discuss-criteria.html
> > for more information about IESG DISCUSS and COMMENT positions.
> > 
> > 
> > The document, along with other ballot positions, can be found here:
> > https://datatracker.ietf.org/doc/draft-ietf-i2nsf-sdn-ipsec-flow-protection/
> > 
> > 
> > 
> > ----------------------------------------------------------------------
> > DISCUSS:
> > ----------------------------------------------------------------------
> > 
> >        leaf ecn {
> >          type boolean;
> >          default false;
> >          description
> >            "Explicit Congestion Notification (ECN). If true
> >            copy CE bits to inner header.";
> >          reference
> >            "Section 5.1.2 and Appendix C in RFC 4301.";
> >        }
> > 
> > There is something wrong here, likely in the description of the option. This
> > as
> > the outer IP header on sender side needs to set ECN field to ECT to enable
> > so
> > that any CE marks can be received. I think it is reasonable to have an
> > option
> > to just enable ECN, but that requires several things. Secondly with the
> > changes
> > in RFC 8311, there might be need to be more explicit in the configuration of
> > ECN to actually indicate which ECT value that should be set on send side for
> > the established IPsec tunnel. Due to under discussion experiments with ECT
> > values per RFC 8311 we should verify that just copying the inner header
> > value
> > to the external is fine and don't break anything as path and/or marking
> > behavior may not be the same.
> 
> [Authors] Yes, we agree with you that this is poorly explained and needs to be
> clarified.
> 
> On the one hand, RFC 6040 mentions:
> 
> "Modes:  RFC 4301 tunnel endpoints do not need modes and are not
> updated by the modes in the present specification.  Effectively,
> an  RFC 4301 IPsec ingress solely uses the REQUIRED normal mode of
> encapsulation, which is unchanged from RFC 4301 encapsulation. 
> It will never need the OPTIONAL compatibility mode as explained 
> in Section 4.3”.
> 
> Therefore, our interpretation is that for RFC 4301 tunnels we can only apply 
> Figure 3 ("Normal mode” column), which means copying the values of inner
> header to outer header.
> 
> On the other hand, regarding your comment about RFC 8311, our interpretation
> is that only specifying copy would be not enough for certain cases based on
> RFC 8311 so there might be a need to set an ECT(0) or ECT(1) when the inner
> packet could be ECT(0) or ECT(1) but copying is not valid. For example, if the
> inner packet has ECT(0) or ECT(1) but we want to set the outer IP header with
> ECT(0) for either case. Is this interpretation correct? If it is, we think we
> could accommodate this as:
> 
> container ecn {
>        leaf copy-or-set { 
>          type boolean;
>          default true; 
>          description 
>            "If True the ECN field of the incoming IP header
>            is copied to the outer IP header of the tunnel following
>            RFC 6040 normal mode. If False, it is possible to set
>            a specific ECT value (ECT (0) or ECT (1) to the outer
>            header of the tunnel.";
>          reference 
>            "RFC 6040. RFC 8311.";
>        }
>        leaf set {
>          when "../copy-or-set = 'true'";
>                  
>          type enumeration {         
>            enum ect0 {
>              value 0;
>              description 
>                "ECT(0)";
>            }
>            enum ect1 {
>              value 1; 
>              description 
>                "ECT(1)";
>            }
>          }
>          description 
>            "To set an specific ECT value in the 
>            outer IP header when the inner IP header contains ECT(0)
>            or ECT(1) value.";
>          reference 
>            "RFC 8311";
>        }
>        description 
>          "Explicit Congestion Notification (ECN) management.";
>        reference 
>          "RFC 6040. RFC 8311";
>      } 
> 
> 
> Does this reflect what you had in mind?
> 
> > I think there is also the question if RFC 6040 needs to be referenced in
> > this
> > context to ensure that people pick up on that RFC 6040 updates RFC 4301.
> 
> [Authors] Correct. RFC 6040 is the proper reference.
> 
> Best Regards.
> 
> 
> > 
> > 
> > 
> > 
> > _______________________________________________
> > I2nsf mailing list
> > I2nsf@ietf.org
> > https://www.ietf.org/mailman/listinfo/i2nsf
> 
> -------------------------------------------------------
> Rafa Marin-Lopez, PhD
> Dept. Information and Communications Engineering (DIIC)
> Faculty of Computer Science-University of Murcia
> 30100 Murcia - Spain
> Telf: +34868888501 Fax: +34868884151 e-mail: rafa@um.es
> -------------------------------------------------------
> 
> 
> 
>