RE: Comments on draft-bonica-6man-comp-rtg-hdr-01

Ron Bonica <rbonica@juniper.net> Sat, 16 May 2020 18:36 UTC

Return-Path: <rbonica@juniper.net>
X-Original-To: ipv6@ietfa.amsl.com
Delivered-To: ipv6@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0094A3A0440 for <ipv6@ietfa.amsl.com>; Sat, 16 May 2020 11:36:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.2
X-Spam-Level:
X-Spam-Status: No, score=-0.2 tagged_above=-999 required=5 tests=[DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=juniper.net header.b=1oZKGRyy; dkim=pass (1024-bit key) header.d=juniper.net header.b=Nak/8ZBc
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 CRzb5eXNVAjD for <ipv6@ietfa.amsl.com>; Sat, 16 May 2020 11:36:00 -0700 (PDT)
Received: from mx0a-00273201.pphosted.com (mx0a-00273201.pphosted.com [208.84.65.16]) (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 CE8E33A040D for <ipv6@ietf.org>; Sat, 16 May 2020 11:36:00 -0700 (PDT)
Received: from pps.filterd (m0108156.ppops.net [127.0.0.1]) by mx0a-00273201.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 04GIYj1J008881; Sat, 16 May 2020 11:36:00 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=juniper.net; h=from : to : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=PPS1017; bh=g527gWj/reiDhgA1peIiKgflQ8nci/qlmG1xO2TJ+2g=; b=1oZKGRyyoI/lZqO7mSHOJnbgmJq4CbqNyvaFmgFrEtTNb141KcnrbP3sHNTmcMi2prZt M8VToHflJ/CovASBDS2rfka+xeHGCnReUXSPLdXQ8MkMDJkJYvNtLlk6/RfMdrzBkTTn DNB0QBO43EWbdcCy5uBgYHo1U2jaZYS+rCHSnbkneavs9Lc3KaHmjHrFytesUdUIrRlM 8ja3Un3DfOZIG1KO1YHcpsGwRtge+dFNSyzcLEZcv2hLdzkvEBGFLwj/aIdPoG1jP5OC MyXML+euVvk3NzamWZLUq48JRs9aJBuE3FaBaoCEI8z+2ii2VGhPTwmj1HzDIeBPpm/Y iA==
Received: from nam02-sn1-obe.outbound.protection.outlook.com (mail-sn1nam02lp2059.outbound.protection.outlook.com [104.47.36.59]) by mx0a-00273201.pphosted.com with ESMTP id 312f6q8e56-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 16 May 2020 11:36:00 -0700
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Hy/mypM35qA2SVmUxqwJZjhp2pcNanQQHFsWgk0N2enKphsSpU/xcblXGaNkp9nr8+9+RUiw7VR+RmGUyf+6hx2B0Tc0kJMCIg6VwVoyDJTxGGcTl9WW97viD6kr/5fTokyLkDbxuPkPOSgP775Z8pUkkVa/1V7DZ1HyS2NsbkH4eI32VVwhzSDuVs5/42lMy7asAcO0u3R/cvgjNXbn09r3g8BAA1JP3EGJJ2ud1M8wRTjub2S+pRu0B8skRCM8jrl1ImsvrpyfsVZl3uSKb600tbLF/HTIl/XsT7lUQgUwftjVo+/+91zzcflwkQPefF0Ep2bKu15ADCJZP0T4ZQ==
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=g527gWj/reiDhgA1peIiKgflQ8nci/qlmG1xO2TJ+2g=; b=lZ9iqkYU5/f4tuJpft7+ubK8zO4aJ8usvQPGOdH/CIh8qdKtsloa9zWb6wDeIe29+OpsamfQ1jlN8QR5gu1tI0qwZxcsf3vGneceMRoFv7ec2euQkl7ExgSAvUh1Olecm2w69McHRKdnJXYDDtIUdmkTK4R+lFk2MBuRCUwjIOj9N1Tj5UNTtbd2PSV9z+s1nK2GANOtmquG2WIYNHg53PPxdfUZJkBNmkNDg47Fg52npq/kwYe+t7KuAm13hitS5mXp0NBeZb1kN2Y/LPjbZ49H6hb5ETaH/uT6bppCdVfQsREZ26VzoLzD8A5e35QidmME1ExZHXHkbhZwFrLLzg==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=juniper.net; dmarc=pass action=none header.from=juniper.net; dkim=pass header.d=juniper.net; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=juniper.net; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=g527gWj/reiDhgA1peIiKgflQ8nci/qlmG1xO2TJ+2g=; b=Nak/8ZBcZQarmFs72/EvccXmzG5H4B9y+sbzZYA4MqKe0GSjm7+0HasRG4SIkDRFfvYxwvPcNvm/wdGEoFIyTAHEfb7vf3DUOfwikfQE+UqHV9MmyDAktX0GeVAIqCkfbR4mZvzFb+TF+WYPHB7xK8t9if4izADf8hoACaA3Gzs=
Received: from DM6PR05MB6348.namprd05.prod.outlook.com (2603:10b6:5:122::15) by DM6PR05MB6044.namprd05.prod.outlook.com (2603:10b6:5:38::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3021.11; Sat, 16 May 2020 18:35:58 +0000
Received: from DM6PR05MB6348.namprd05.prod.outlook.com ([fe80::c020:3bf5:7230:75e3]) by DM6PR05MB6348.namprd05.prod.outlook.com ([fe80::c020:3bf5:7230:75e3%4]) with mapi id 15.20.3021.010; Sat, 16 May 2020 18:35:58 +0000
From: Ron Bonica <rbonica@juniper.net>
To: Tom Herbert <tom@quantonium.net>, 6man <ipv6@ietf.org>
Subject: RE: Comments on draft-bonica-6man-comp-rtg-hdr-01
Thread-Topic: Comments on draft-bonica-6man-comp-rtg-hdr-01
Thread-Index: AQHWK5ccU2cfZcz2dEmYKjscyjqvJqirCiRQ
Date: Sat, 16 May 2020 18:35:58 +0000
Message-ID: <DM6PR05MB634808B030DC4E8E0F3E815CAEBA0@DM6PR05MB6348.namprd05.prod.outlook.com>
References: <CAPDqMeq3JECQpNMXa94RdCTTbbHik2pwte_ShXxH8pt_X++W_Q@mail.gmail.com>
In-Reply-To: <CAPDqMeq3JECQpNMXa94RdCTTbbHik2pwte_ShXxH8pt_X++W_Q@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
msip_labels: MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_Enabled=true; MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_SetDate=2020-05-16T18:35:56Z; MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_Method=Standard; MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_Name=0633b888-ae0d-4341-a75f-06e04137d755; MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_SiteId=bea78b3c-4cdb-4130-854a-1d193232e5f4; MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_ActionId=7e08c833-02e8-48b1-8abf-f8a1fdcb0e98; MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_ContentBits=2
dlp-product: dlpe-windows
dlp-version: 11.4.0.45
dlp-reaction: no-action
authentication-results: quantonium.net; dkim=none (message not signed) header.d=none; quantonium.net; dmarc=none action=none header.from=juniper.net;
x-originating-ip: [108.28.233.91]
x-ms-publictraffictype: Email
x-ms-office365-filtering-ht: Tenant
x-ms-office365-filtering-correlation-id: aacac009-2c74-4d9a-ada4-08d7f9c7f9e0
x-ms-traffictypediagnostic: DM6PR05MB6044:
x-microsoft-antispam-prvs: <DM6PR05MB6044B9B6E5403B9745B188D8AEBA0@DM6PR05MB6044.namprd05.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-forefront-prvs: 040513D301
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: Wn18oIv+vDODyUj1J2h13wwz9VE6Bq5kX/H2nwQC87StE0ny6yTZIKkDX6+ZSYMh7+hxjp4Yx7tcgE1e6ncu6d60/SPggKr5lJnderhFxHo1typLyh7yqlYqC24KfpatHnjBIuvdZVGdbQoWMveS6qVWHGz2pFilHK+kend43GXfr+LuNYCkDocVZ3JxicIMATg47AqdPxw8/ZOjZ2mHHECtdT/bgPwvnj+yWoDekHfu9bNO1PxGdtALc2wYoHg6iasji+1ukNVZ9UExEvAJlA0IDaU2xNXhjwYcQ20ZSpEZxjEGpH4QO3HDl5YDvZQxGGJT9q9c4e83rUpGDGN0wqYuHNno3wHEsfSS3A00DhV0yE54itDk/+8YEtSgU90u0uKB7ZIonc/nF9CWd2FRQg==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR05MB6348.namprd05.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(136003)(396003)(366004)(39860400002)(376002)(346002)(76116006)(66446008)(64756008)(66556008)(66476007)(66946007)(5660300002)(8936002)(478600001)(966005)(8676002)(86362001)(7696005)(53546011)(6506007)(71200400001)(110136005)(26005)(316002)(33656002)(2906002)(186003)(55016002)(9686003)(52536014); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata: Fh5L12DjN84COknizMaXo2mrkxIKYwtQC2lxodWJFy4K294N3zoIZgfyZsRR6jP76eP4hge6pY7h+5+FLSkeR9xoOAPLZWREYms1p1qg9TU0zScvyluApel8sz+R8f0dAWccy+/pGifL81oK2gnbztnflU9HkJpAGS73ZUm5g1Wwl5IzRLyQUJkh8pflHjzZT9smklJxtdFcgNbdCC9RrznmFuhCfVSTgk6/3MN9QuHcNDFcETJNC+0+L2jKvbIXITSSSAGuQdzAkSvCXl1C5wDiM6OMIDxj8lURehTjE0So1z0o66gl9B0j5+NeUEoNlX7NsnyHGQpSFP+dJYcGl1y6T/UyVv4Ap6fu3Ta+FWt1gQmDzYQ5lXDf3Kg5p+8EYsZ5d0cOprGFqBC0ur2rmLzh+3Yf63EYeafNfJ+gztXw+FKzsmWiOGQwMi4l1/v0zd6Pl2fHxkrbDcf2i/lo8FlJwU7az/PPUrCkUAX3WiAPswH0oqJfgDtwUiCt7bPz
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: juniper.net
X-MS-Exchange-CrossTenant-Network-Message-Id: aacac009-2c74-4d9a-ada4-08d7f9c7f9e0
X-MS-Exchange-CrossTenant-originalarrivaltime: 16 May 2020 18:35:58.1114 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: bea78b3c-4cdb-4130-854a-1d193232e5f4
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: ol7G8nHiaBySJF2uZkjEgnQ+0/IrYv/uB5WG/3H+SRSYpf4ILxp1u4c5dHrgh4QBMFZYt2M7Sf1U6G/G8AgKZg==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR05MB6044
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.216, 18.0.676 definitions=2020-05-16_11:2020-05-15, 2020-05-16 signatures=0
X-Proofpoint-Spam-Details: rule=outbound_spam_notspam policy=outbound_spam score=0 lowpriorityscore=0 bulkscore=0 impostorscore=0 clxscore=1011 suspectscore=0 adultscore=0 mlxscore=0 phishscore=0 spamscore=0 malwarescore=0 mlxlogscore=999 priorityscore=1501 cotscore=-2147483648 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2004280000 definitions=main-2005160167
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/nJLRzB9nQLfAw1muOag-p83rlgA>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ipv6/>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 16 May 2020 18:36:04 -0000

Tom,

I'm afraid you are looking at a very old version of the draft. These fields are all gone in the current version (21).

                                                                  Ron



Juniper Business Use Only

-----Original Message-----
From: ipv6 <ipv6-bounces@ietf.org> On Behalf Of Tom Herbert
Sent: Saturday, May 16, 2020 11:31 AM
To: 6man <ipv6@ietf.org>
Subject: Comments on draft-bonica-6man-comp-rtg-hdr-01

[External Email. Be cautious of content]


A few comments...

The CRH header has three reserved bytes after the Com field presumably for aligning the SIDs. Three bytes would be needed if SIDs are thirty-two bits, but for sixteen bit SIDs only one byte of padding is needed, and in the case of eight bit SIDs no padding is needed. Since the routing header needs to be eight bytes in length, the minimizing padding for alignment can save a fair number of bytes. For instance, if there is just one 16 bit SID in the list or one to three 8 bit SIDs, without minimal padding for alignment the EH is sixteen bytes in size, with minimal padding it's just eight bytes.

I suggest considering switching the Com and Segments field since Segments is a numeric quantity field and there's some reasons to put that in the lower order bits. Masking a byte to get a numeric value is easier to conceptualize than a shift (albeit probably same performance), and also if we ever decide that the Com field needs to be extended four bits that's as easy as just reducing the halving the maximum value of segments field.

I suggest the value 0x3 in the Com field be reserved for an "extended header" format. For instance, if someday we find we really need flags in the header then an extended format could be defined that includes a set of flags, SID size, and SID list. This probably doesn't need to be mentioned in the draft, but maybe the Com field should be renamed to Fmt to indicate it describes the format of the header following the field.

>From the draft "Therefore, the CRH MAY be padded with zeros." and
"Reserved - SHOULD be set to zero by the sender.". Should both of these be a MUST?

Tom

--------------------------------------------------------------------
IETF IPv6 working group mailing list
ipv6@ietf.org
Administrative Requests: https://urldefense.com/v3/__https://www.ietf.org/mailman/listinfo/ipv6__;!!NEt6yMaO-gk!WbRs1TMhGzlPNNHDie9q_XhFrEVt5srbU8_-5vh93TMWIzwrBNLCzd6bwvTFmVsW$
--------------------------------------------------------------------