Re: [spring] SRv6 Network Programming: ENH = 59

Stewart Bryant <stewart.bryant@gmail.com> Mon, 06 May 2019 20:14 UTC

Return-Path: <stewart.bryant@gmail.com>
X-Original-To: spring@ietfa.amsl.com
Delivered-To: spring@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id EFF69120198; Mon, 6 May 2019 13:14:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level:
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 ZCRfGnjQn4Ve; Mon, 6 May 2019 13:14:31 -0700 (PDT)
Received: from mail-wr1-x443.google.com (mail-wr1-x443.google.com [IPv6:2a00:1450:4864:20::443]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id AD98812017F; Mon, 6 May 2019 13:14:30 -0700 (PDT)
Received: by mail-wr1-x443.google.com with SMTP id o4so18972960wra.3; Mon, 06 May 2019 13:14:30 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=b34cU1qQ7KZnNQNGgaWzyoJD7HojGR271nCMEYEhKGQ=; b=Gwe12qBQ5hdkJwy8ZZYF5V690HQvONRx+7xOoBBIRokKE0S2lpUNE8RhQjT0Re/Rjj hQOSmM4ZbYN/W8okdFZt+ul31b5h1r1/lTwwM4Lc5CZlmBV7HtE1vkukpvMEQV1wTZk2 mIyeF8XR9MGdScLE12fFTGV+ovQrfwNP7GLIB7pMvQZX8vx7YmoUutaxTEN3CxFrq8El TOtMB5ghoYSWC1xAHkhk8GvUf27RPvZKOpMDbZSPGalxtcpxEy36YVXYtc+/hp9wfNpv TY2Fng8bKl5lLrbx872KkYoSSBn+NKeI/fmf8/gwcDcC7o63Jt5PsdxwtP65HGa9tlOX SvEw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=b34cU1qQ7KZnNQNGgaWzyoJD7HojGR271nCMEYEhKGQ=; b=CC2Df8idANgb/dJ6TijY3uDzQfTn2B+uG20MjUXe6+O52KET28GDUJCfu7s0JGELaE GVQpzS9YjbpbGuk2Ichmo9yaZYID2QqpluLu4VvhfhO1M7wSbVh0xBvGUMfVdRao6/+o 6HpavZxH9BfIkjOKO3oObghsi+s/QJV/7CRIc7E3zJLQeYXrHx6v0Y4DhoGXosZZ73nQ zzcdWyjhezyEUl6WotB+sBxsqxyuYtZ/fmRs4cw4faY1KhuEK4bomXAHboOe2MgcAryN mdly++Nv8CZRc1A5BBpcmXcdKFmITM+i1RBVfFcen2E29NF/QN/47co7ohGP5iXN255o gZHw==
X-Gm-Message-State: APjAAAUtjv8GhseqXn2kXw+0u4b/0EmH3ofpV9/q8cB1A3R2Y4Zo0+CO WxhQJ+htzUgBOTqb/q69u6nckxYGr70=
X-Google-Smtp-Source: APXvYqzLxt9KEvenkDW657cUxN+QaWcmHYMQSOy+BetClPl+sEzGk0vtYXkU910iOO2Y7JF1az4X8A==
X-Received: by 2002:adf:ce07:: with SMTP id p7mr2175848wrn.47.1557173668986; Mon, 06 May 2019 13:14:28 -0700 (PDT)
Received: from [192.168.178.22] ([62.3.64.16]) by smtp.gmail.com with ESMTPSA id d3sm21979911wmf.46.2019.05.06.13.14.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 06 May 2019 13:14:27 -0700 (PDT)
To: Bob Hinden <bob.hinden@gmail.com>, Ron Bonica <rbonica=40juniper.net@dmarc.ietf.org>
Cc: IPv6 List <ipv6@ietf.org>, SPRING WG <spring@ietf.org>
References: <BYAPR05MB4245988C3A47C3665BD91172AE300@BYAPR05MB4245.namprd05.prod.outlook.com> <FD25114D-B841-4036-A4B7-B98B93B79D60@gmail.com>
From: Stewart Bryant <stewart.bryant@gmail.com>
Message-ID: <f2e3f144-e83d-4354-a164-f663c554f443@gmail.com>
Date: Mon, 06 May 2019 21:14:26 +0100
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1
MIME-Version: 1.0
In-Reply-To: <FD25114D-B841-4036-A4B7-B98B93B79D60@gmail.com>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Language: en-GB
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/spring/tjWrqp8c2fnE2Z_z_UxDo99Hjhg>
Subject: Re: [spring] SRv6 Network Programming: ENH = 59
X-BeenThere: spring@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Source Packet Routing in NetworkinG \(SPRING\)" <spring.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/spring>, <mailto:spring-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/spring/>
List-Post: <mailto:spring@ietf.org>
List-Help: <mailto:spring-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/spring>, <mailto:spring-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 06 May 2019 20:14:34 -0000

I agree that implicit payload identity is a bad idea.

If the payload is Ethernet, then the IANA Protocol Number Registry 
suggests that 22 is allocated for that purpose:

22	

XNS-IDP	XEROX NS IDP

["The Ethernet, A Local Area Network: Data Link Layer and Physical Layer 
Specification", AA-K759B-TK, Digital Equipment Corporation, Maynard, MA. 
Also as: "The Ethernet - A Local Area Network", Version 1.0, Digital 
Equipment Corporation, Intel Corporation, Xerox Corporation, September 
1980. And: "The Ethernet, A Local Area Network: Data Link Layer and 
Physical Layer Specifications", Digital, Intel and Xerox, November 1982. 
And: XEROX, "The Ethernet, A Local Area Network: Data Link Layer and 
Physical Layer Specification", X3T51/80-50, Xerox Corporation, Stamford, 
CT., October 1980.][[XEROX]]

- Stewart


On 06/05/2019 16:54, Bob Hinden wrote:
> Ron,
> 
>> On May 5, 2019, at 5:47 PM, Ron Bonica <rbonica=40juniper.net@dmarc.ietf.org> wrote:
>>
>> Folks,
>>
>> According to Section 4.4 of draft-ietf-spring-srv6-network-programming-00, when processing the End.DX2 SID, the Next Header must be equal to 59. Otherwise, the packet will be dropped.
>>
>> In the words of the draft, "We conveniently reuse the next-header value 59 allocated to IPv6 No Next Header [RFC8200].  When the SID corresponds to function End.DX2 and the Next-Header value is 59, we know that an Ethernet frame is in the payload without any further header."
>>
>> According to Section 4.7 RFC 8200, " The value 59 in the Next Header field of an IPv6 header or any  extension header indicates that there is nothing following that header.  If the Payload Length field of the IPv6 header indicates the presence of octets past the end of a header whose Next Header field contains 59, those octets must be ignored and passed on unchanged if the packet is forwarded."
>>
>> Does the WG think that it is a good idea to reuse the Next Header value 59? Or would it be better to allocate a new Next Header value that represents Ethernet?
> 
> IMHO, it is a bad idea to reuse the Next Header value 59.  Better to allocate a new next header value.
> 
> Further, this proposed redefining of the “No Next Header” would require updating RFC8200.  I don’t see that in this draft.
> 
> Bob
> 
> _______________________________________________
> spring mailing list
> spring@ietf.org
> https://www.ietf.org/mailman/listinfo/spring
>