Re: I-D Action: draft-ietf-6man-icmp-limits-05.txt

Tom Herbert <tom@herbertland.com> Fri, 20 September 2019 20:46 UTC

Return-Path: <tom@herbertland.com>
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 7B3EB120114 for <ipv6@ietfa.amsl.com>; Fri, 20 Sep 2019 13:46:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.897
X-Spam-Level:
X-Spam-Status: No, score=-1.897 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=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=herbertland-com.20150623.gappssmtp.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 r9KRznZw2GF6 for <ipv6@ietfa.amsl.com>; Fri, 20 Sep 2019 13:46:21 -0700 (PDT)
Received: from mail-ed1-x531.google.com (mail-ed1-x531.google.com [IPv6:2a00:1450:4864:20::531]) (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 37870120106 for <ipv6@ietf.org>; Fri, 20 Sep 2019 13:46:21 -0700 (PDT)
Received: by mail-ed1-x531.google.com with SMTP id p10so7656689edq.1 for <ipv6@ietf.org>; Fri, 20 Sep 2019 13:46:21 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=herbertland-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=HN7Kjg7Tt8zI3eFUGP2un0fFQ1MbgZpz5ZHkvBsjhU0=; b=wG1an04r4cLCwW+hnr8MTy079voWKa+xagLW64xkFtCXhPlxAnWpFQlDVF+gA6ifU2 EjJ9TfoNZV4HUtamwjWdR7RpVlMGw88460izy3ENCbxq7pDU3z5X+gcg29Lgc1JzCfR7 ro/4IRIRawDzMMV5nGhiXodUe67OaZCr9k9DhnbODCuKT9TjNLaZAc7xABgE/n81WGBJ 4LKmY5GBW68i1/IdmKeXI0pCnASVj/xdgOJHoXiqFODFdL0j2BJ7jW35DJiB+HZFwetr WXrnLXYh4/okPHNE7L4YEddx+3IGxmpBnzbsvzkH6P+NkAIWhSiPKDGl76iWgDoQZ+Gk grHA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=HN7Kjg7Tt8zI3eFUGP2un0fFQ1MbgZpz5ZHkvBsjhU0=; b=VLxSiJ90xFHVTflGXFVaKe8LspscKCVVEeKdwYjHWbwgEHjUEts1vp1MHUVvTm6r/P wWOZ6WnmW4JGRhbZ80PYAh2TO45zT/UcBuJlfJGhI/m54gTcIcmg9fK0XjZa/RBrSmwE pIeEG9LTJimPuTArGLXKpgJnzwou8FIktVK82X9sUF70o6jxoP+OpYH2I7hjfQJjfLoL tiKSixeUFGBjxnPACNROsEVxHXaQ/FnewT2iTWo3bn58PZp3X3+Vf38+Js4iqY3O17W9 AzByil8kE26h1Aj31UUraibIFZUnBfr6LUQ+tdi8mFfo+YbnbDJIZ+pfm1SJRwnAQ/sw mQog==
X-Gm-Message-State: APjAAAWOvI7nJWA9v6gumrbQnKRLh76ycjRDqNqNz6FBH7LAmu4hoxFp NdWRi4ZA/7YhH2rTse/14hxdmTe+HX0Nm3RWPQrCVg==
X-Google-Smtp-Source: APXvYqzwbHPjhYKqyR8ndsvHm7qsmLDTygx9pkn9+pq+yLC7ESJiqwO63a+ulj6d24o54yPgoAYoErUAJi/4qTjVAGE=
X-Received: by 2002:aa7:d501:: with SMTP id y1mr15767199edq.226.1569012379596; Fri, 20 Sep 2019 13:46:19 -0700 (PDT)
MIME-Version: 1.0
References: <156813714123.27560.11545725069258655310@ietfa.amsl.com> <CALx6S35z4mHoQOwSQTH2+a4Uu2fA5qBjMMn-pJH1OV_NTTqatA@mail.gmail.com> <54CA04FA-2DC0-4506-9522-1F363D3724CC@gmail.com>
In-Reply-To: <54CA04FA-2DC0-4506-9522-1F363D3724CC@gmail.com>
From: Tom Herbert <tom@herbertland.com>
Date: Fri, 20 Sep 2019 13:46:08 -0700
Message-ID: <CALx6S37Qb91j0LruUHBfAEZqDexfEy5FWNe+V736U_DHEJJiyQ@mail.gmail.com>
Subject: Re: I-D Action: draft-ietf-6man-icmp-limits-05.txt
To: Bob Hinden <bob.hinden@gmail.com>
Cc: IPv6 List <ipv6@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/YyaaAh2gsJnCgtuLlkEoVrIObiE>
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: Fri, 20 Sep 2019 20:46:24 -0000

On Tue, Sep 17, 2019 at 1:21 PM Bob Hinden <bob.hinden@gmail.com> wrote:
>
> Tom,
>
> I took a look at the new draft.  Thanks for fixing most of the issues I raised.  Much better.
>
> I think there is still an issue with Section 3 that defines a new code point for the Destination unreachable message.
>
> RFC4884 Section 4.4 "ICMPv6 Destination Unreachable” in the header format includes:
>
>      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>      |                    As much of invoking packet                 |
>      +                as possible without the ICMPv6 packet          +
>      |                exceeding the minimum IPv6 MTU [RFC4443]       |
>
> but in draft-ietf-6man-icmp-limits-05 shows:
>
>   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ M
>   |                       Original Datagram                       | P
>   ~     Internet Header + leading octets of original datagram     ~ |
>   |                                                               | |
>
> This is a change from RFC4884.  Further, the draft has:
>
>      Original Datagram
>         As much of invoking packet as possible without exceeding the
>         minimum ICMPv6 packet minus twelve bytes (for the ICMP
>         extension structure and the ICMP extension object) and any
>         necessary padding. The Original Datagram field MUST be zero
>         padded to the nearest 64-bit boundary [RFC4884]. If the
>         original datagram did not contain 128 octets, the Original
>         Datagram field MUST be zero padded to 128 octets.
>
> I can’t find anything in RFC4884 that says to reduce the size of the original datagram to allow the extensions to fit.   This is a change from what RFC4884 specifies.    RFC4884 specifically says:
>
>    The syntax and semantics of all fields are unchanged from RFC 4443.
>    However, a length attribute is added to the second word.  The length
>    attribute represents length of the padded "original datagram" field,
>    measured in 64-bit words.
>
> I think this change to RFC4884 is out of scope for a document that wants to define a new code point.
>
Bob,

Looking at it, I think the text in RFC4884 is  sufficient:  "As much
of invoking packet as possible without the ICMPv6 packet exceeding the
minimum IPv6 MTU [RFC4443]. That implicitly accounts for any ICMP
extension or padding to keep the whole ICMP packet within minimum MTU.

I propose text which should clarify and be consistent with RFC4884 and RFC4443.

The diagram would have description same as RFC4884:
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |                    As much of invoking packet                 |
      +                as possible without the ICMPv6 packet          +
      |                exceeding the minimum IPv6 MTU [RFC4443]       |

Text for the field description would be:

     Original Datagram
        As much of invoking packet as possible without the ICMPv6
packet exceeding the minimum IPv6 MTU [RFC4443]. The Original Datagram
field MUST be zero padded to the nearest 64-bit boundary [RFC4884]. If
the original datagram did not contain 128 octets, the Original
Datagram field MUST be zero padded to 128 octets.

Tom

> I think a possible solution (beside not changing the RFC4884 format) is to say the new extensions can only be sent with packets that don’t exceed the minimum IPv6 MTU.   Or else, add a code point to the Parameter Problem as Ron suggested, even though it’s not idea for the reasons you pointed out.
>
> Bob
>
>
>
> > On Sep 10, 2019, at 10:47 AM, Tom Herbert <tom@herbertland.com> wrote:
> >
> > Hello,
> >
> > I've submitted this draft to address the comments in the chairs' review.
> >
> > Thanks,
> > Tom
> >
> > On Tue, Sep 10, 2019 at 10:40 AM <internet-drafts@ietf.org> wrote:
> >>
> >>
> >> A New Internet-Draft is available from the on-line Internet-Drafts directories.
> >> This draft is a work item of the IPv6 Maintenance WG of the IETF.
> >>
> >>        Title           : ICMPv6 errors for discarding packets due to processing limits
> >>        Author          : Tom Herbert
> >>        Filename        : draft-ietf-6man-icmp-limits-05.txt
> >>        Pages           : 15
> >>        Date            : 2019-09-10
> >>
> >> Abstract:
> >>   Network nodes may discard packets if they are unable to process
> >>   protocol headers of packets due to processing constraints or limits.
> >>   When such packets are dropped, the sender receives no indication so
> >>   it cannot take action to address the cause of discarded packets. This
> >>   specification defines several new ICMPv6 errors that can be sent by a
> >>   node that discards packets because it is unable to process the
> >>   protocol headers. A node that receives such an ICMPv6 error may be
> >>   able to modify what it sends in future packets to avoid subsequent
> >>   packet discards.
> >>
> >>
> >> The IETF datatracker status page for this draft is:
> >> https://datatracker.ietf.org/doc/draft-ietf-6man-icmp-limits/
> >>
> >> There are also htmlized versions available at:
> >> https://tools.ietf.org/html/draft-ietf-6man-icmp-limits-05
> >> https://datatracker.ietf.org/doc/html/draft-ietf-6man-icmp-limits-05
> >>
> >> A diff from the previous version is available at:
> >> https://www.ietf.org/rfcdiff?url2=draft-ietf-6man-icmp-limits-05
> >>
> >>
> >> Please note that it may take a couple of minutes from the time of submission
> >> until the htmlized version and diff are available at tools.ietf.org.
> >>
> >> Internet-Drafts are also available by anonymous FTP at:
> >> ftp://ftp.ietf.org/internet-drafts/
> >>
> >> --------------------------------------------------------------------
> >> IETF IPv6 working group mailing list
> >> ipv6@ietf.org
> >> Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6
> >> --------------------------------------------------------------------
> >
> > --------------------------------------------------------------------
> > IETF IPv6 working group mailing list
> > ipv6@ietf.org
> > Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6
> > --------------------------------------------------------------------
>