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

Magnus Westerlund <magnus.westerlund@ericsson.com> Fri, 27 November 2020 08:56 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 58E8C3A1525; Fri, 27 Nov 2020 00:56:31 -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=unavailable 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 ryRlP6h-4NGV; Fri, 27 Nov 2020 00:56:29 -0800 (PST)
Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-eopbgr140080.outbound.protection.outlook.com [40.107.14.80]) (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 B0AD03A0E02; Fri, 27 Nov 2020 00:56:28 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=HrFgcD5pomMpbLQkmbBRYltiGxGX/nrmuzbI09rayffhKl1TA/PtV+dchImUmMwwHGSbthbxwH19ZWB+i0fgoWTyK4o3WZoBVG7st8O74JjRjghBIWonUEcuTavgurBpNll95iu64VwEobin4t4ZLmBt5Br5ALJH363AOsF2kBQcwRHU3piTFq1OLUyxxt9GQQcRmivdQpaUzYN1EK8XpxIqE6DwNK81L8zqYp5h2r+CdxGbeJrMMdmOp4/wuEAOJ0Xy6ZLGa2fSut0nvyzgYieo2qzG551mnO9+Wf+KunLPwGU7I+plvD03Z5jwLjAz4KL6vgYesRD2/fNVk1FD0w==
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=7IB3me7ZI/3zUid6xaBtkAO2PmKO23S4xwAFgRL/erg=; b=IXjN5vqqj5rF15W1RvksCwbDbh1gUp15rX4BNvssixmnGhiayJrEjnrz8YHyXsz5km+Grv0WX0o+7v6O92R7YhokTn7TaSyesmRwE9L1IVj0djjZMXQYanhWEaJr086ltYFQ2lMNJ/pmdKaI6PyKniWxMwcTuDEbw2gQONNBvPCZ2Oof0MIREYuV+4bkqNS9tPDeYrk+mfWDg5RWAmqrr3juFOg+2rp9wk+u++7/DW9GvjFB+NzDX3XcDWIiD09vjh1qatxP0RVi63myh8ofaX07B+ppDTjCyMSRR8w1OWCfFU7D8HmE2X4n27xtcls9le9oQLBWrR7T1+bmjF6kpA==
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=7IB3me7ZI/3zUid6xaBtkAO2PmKO23S4xwAFgRL/erg=; b=ELqELJcp6TdcbnXVuutzbnade5Jf3i8dhW5e4jx0u/9FAA/D7zi2JMEEDasBuWwFowein84vrWjVzsE8FKAG2k5pTLQ1EibFDk7gzoisEbyHztI0pu2IPE8LPc7cBy+YrxZDXdar/RHCV0jpzvdRayN5HxCiwGSqKmqdl0dhEe4=
Received: from HE1PR0702MB3772.eurprd07.prod.outlook.com (2603:10a6:7:8e::14) by HE1PR0702MB3770.eurprd07.prod.outlook.com (2603:10a6:7:84::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3611.9; Fri, 27 Nov 2020 08:56:25 +0000
Received: from HE1PR0702MB3772.eurprd07.prod.outlook.com ([fe80::8cd:496:65de:4ace]) by HE1PR0702MB3772.eurprd07.prod.outlook.com ([fe80::8cd:496:65de:4ace%6]) with mapi id 15.20.3632.009; Fri, 27 Nov 2020 08:56:25 +0000
From: Magnus Westerlund <magnus.westerlund@ericsson.com>
To: "magnus.westerlund=40ericsson.com@dmarc.ietf.org" <magnus.westerlund=40ericsson.com@dmarc.ietf.org>, "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: AQHWs4O7uBqTMB1dq0C1v142YGiqrKnWI08AgALpz4CAAsIuAA==
Date: Fri, 27 Nov 2020 08:56:25 +0000
Message-ID: <71d91b42d5c20e41d8666f8ad0b9e541c046482a.camel@ericsson.com>
References: <160458812991.16036.6729267088975668048@ietfa.amsl.com> <9E65120A-D864-4E56-9954-BA536EF88363@um.es> <687e9ef3dcdc10e8f1e908a5c40156d48da8b75c.camel@ericsson.com>
In-Reply-To: <687e9ef3dcdc10e8f1e908a5c40156d48da8b75c.camel@ericsson.com>
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: dmarc.ietf.org; dkim=none (message not signed) header.d=none;dmarc.ietf.org; dmarc=none action=none header.from=ericsson.com;
x-originating-ip: [158.174.130.243]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: bca8a9e9-63e0-4189-800c-08d892b25245
x-ms-traffictypediagnostic: HE1PR0702MB3770:
x-microsoft-antispam-prvs: <HE1PR0702MB3770CF2CB161E6F78EFA985695F80@HE1PR0702MB3770.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: ZnmaCqRQz/UUFJGURfx2KnHz+X92GRb42dNklCHU0+QvMKhvuq4wkVbecZZ205eZUNz2yY+o7/IJKqmbgI3KLjS+ks8MZllqvkbUv+d3RRSGP+JA+olpO9VJLa1jX3pTtBsB/gQUB/iRo7rDG6+yMlJVcROJjbAt70doS5PJYugaQCTsuCAfgUUBf0nRcFzddFiHcQyFMqCA+mq4hCszuImKdWGU8XGmkp+hPb5PPRP+eXT12wAOC0u+viQb2zqHQ9Y2zfT8CSrAmZP3YI/PoLt1kVMskwnKuCklEmoTOJtPE16CLRptpMtIL+qY/G/vMrHqGPTiOwBOi29Mx47cNxcqtzjXGZXORGRwywUTL+ywei0uLFo0y/00lt4OISsbexHQmeXU01cEGv/wj/WmI18H1XUlEYc/xO1j00N4D82m6a8uWynYRmgenEX4G8eKUK2EiaXaoDBVMzqi2gsgPg==
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)(346002)(39860400002)(366004)(376002)(136003)(396003)(2616005)(66616009)(66556008)(36756003)(66446008)(86362001)(4001150100001)(99936003)(64756008)(71200400001)(66476007)(186003)(5660300002)(8676002)(54906003)(8936002)(26005)(6486002)(6506007)(83380400001)(76116006)(66946007)(6512007)(44832011)(2906002)(316002)(110136005)(4326008)(966005)(478600001)(99106002); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata: PS/Fv/RhfUHNubDMESchS7QjjoCqoAdbVwB5LTroPzrJdZwOwV8L13Fze0R5IEYEjrl+5Q1E9fh3bOvwtpINW3RjSk4qrSk4DHK5/ctJ9QCgNV6XfBv0T/BE7k4Uji8Kz8Y0RFxfxYojri9zZbr0HEcxZW8DmMMeQbQW65/uAL4K4kfVHjFBl/R/SeY4vtjuQn6Z7M93r41rzXfZ232N9sebAw7qT/z+fuN/aVB0GqAS0dxiWupprD6+bajJ1OMMrywGe8MO4TjhQgNefIBeEs+SEytNiCta0ssfuC9elDlCpdesvdQTjDpujCtRxaV0LvNIqLgT54L9aGviPQnaAlrm64kB0eq9CJawBG5zzjBEh4PWmirI2WA7pb8O8mleNPQiPg/GuINkMOnepKKVjneJYzSAe+9dakXBrG6QQUchKgqpHaMB6ErFgLDJd8HDQzBXAELN7RgYGn4fqksGE5eur/dqoiCGJ/VeFvtC5wojViDSwoHz2x6pooRmjZ1JN2Km8QZFBkkP/icLbgUP61f4FRYhXMA8yydUefPdq8sjL7PcSE1/rwkNP2L3Sn0Iz9Quj/J4QHu49tY3yDvpTfqhyqsvhnnZpYRlDmP0xVTcShIyVPIGf1sNeBGYxhUS14N585Hzkvlxry2PC0kHapw/ntc1Sf2+lXtblnx2xXHyZtssbPpbJukcy9YMygmAu1C05Y/V/pjTFTDglyjSFuOUOFjR4mXVyLUtwgZcbFZIp0EiMEFQDyDKZBcCaHneKTBxcGI4vnOdFBtVSExYMHIYd4wTBn+WU3aXhTNJYpJ4+ldYVjeR9dMHK/Tc+2xfYy6boiWXYBVyeawKPp0699NKwwEIG0mrfcIAKl22sI4gzAloeUuIqTt95e+lrcLx70pX6LMyPLUWBZ06dRx+ZUmAF2Vyq1Z3W0rZc+kryKFIWcVfPRiWFztiP6ra+uNdZebFXQ19+5lhrM0j/qFf2k8TagcbnPyrmbIjbQ2TWuRp9rFUbtg+2ov4ZgecKtUx
x-ms-exchange-transport-forked: True
Content-Type: multipart/signed; micalg="sha-256"; protocol="application/x-pkcs7-signature"; boundary="=-mvo6U5qP08J0+FE97nyM"
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: bca8a9e9-63e0-4189-800c-08d892b25245
X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Nov 2020 08:56:25.3126 (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: 02DrG572yQREdI3cKEudi8lL12fQQAgZ7yxvUKlx9rEmjp8CUntiB0VvAgmCMOHnnlOVshlBz9AzMEnoNSNZV+pvzZ6lCPjU4gIUEdlbUd8=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0702MB3770
Archived-At: <https://mailarchive.ietf.org/arch/msg/i2nsf/1-0MdGysv1RY_cs3mkWhvX4soyA>
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: Fri, 27 Nov 2020 08:56:31 -0000

Hi,

Please see below. 

On Wed, 2020-11-25 at 14:48 +0000, Magnus Westerlund wrote:
> 
> 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.
> > 
> > > ----------------------------------------------------------------------
> > > 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:
> > 

Sorry, I think I lead you astray due to no understanding the context here
sufficiently. So as long as the option is to turn on "Normal Mode" for tunnel
processing of the ECN bits or not then you can disregard the whole thing about
RFC 8311. The applications that will use alternative behaviors for ECN will have
to know that the consumer understand the semantics. So in this case as the IPSec
tunnel only copies the bits back and forth no additional action is needed. 

So please remove the whole second sentence and the RFC8311 reference.

In addition to the first part of the below description. It only mentions the
encapsulation action. So my quesiton, is this configuration only for the
encapsulating entity, or for a whole tunnel and applied to both ends? If it is
the later, then I think you should take note of the need to process the outer
ECN field and remark per RFC6040. 

Cheers

Magnus


> > 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
> > -------------------------------------------------------
> > 
> > 
> > 
> >