Re: RFC 8201 Packet Too Big Processing

Fernando Gont <fgont@si6networks.com> Fri, 10 April 2020 17:14 UTC

Return-Path: <fgont@si6networks.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 2A2F13A0A1A for <ipv6@ietfa.amsl.com>; Fri, 10 Apr 2020 10:14:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level:
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 5POVjg2SH1N1 for <ipv6@ietfa.amsl.com>; Fri, 10 Apr 2020 10:14:49 -0700 (PDT)
Received: from fgont.go6lab.si (fgont.go6lab.si [91.239.96.14]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 340363A0A29 for <6man@ietf.org>; Fri, 10 Apr 2020 10:14:47 -0700 (PDT)
Received: from [192.168.0.10] (unknown [181.45.84.85]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by fgont.go6lab.si (Postfix) with ESMTPSA id A7503804D5; Fri, 10 Apr 2020 19:14:44 +0200 (CEST)
Subject: Re: RFC 8201 Packet Too Big Processing
To: Timothy Carlin <tjcarlin@iol.unh.edu>, 6man@ietf.org
References: <CAB-aFv8wVjcXB73wLrBupbq3XLdmdMWE9i-8+TwHfYQE6V52_w@mail.gmail.com>
From: Fernando Gont <fgont@si6networks.com>
Message-ID: <a878bb68-38a9-0c0e-0006-c7830122cdee@si6networks.com>
Date: Fri, 10 Apr 2020 14:14:34 -0300
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.1
MIME-Version: 1.0
In-Reply-To: <CAB-aFv8wVjcXB73wLrBupbq3XLdmdMWE9i-8+TwHfYQE6V52_w@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Language: en-US
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/qWWvOQ1uuBb9yrazYcoZnuG5JjY>
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, 10 Apr 2020 17:14:51 -0000

Hello, Tim,

On 10/4/20 14:07, Timothy Carlin wrote:
> Hello,
> 
> We've noticed during testing for RFC 8200 and 8201 that, for packets 
> larger than 1280, the Linux kernel is processing invalid Packet Too Big 
> messages that indicate an MTU less than 1280, and subsequently 
> fragmenting packets to a size of 1280. We've seen this with 4.15 and 4.18.
> 
> This is from Section 4 of RFC 8201:
> 
>  >   If a node receives a Packet Too Big message reporting a next-hop MTU
>  >   that is less than the IPv6 minimum link MTU, it must discard it.
> 
> Have others noticed this issue with Linux or other OSes?  I'll also note 
> that it correctly does not generate an atomic fragment if the packet is 
> less than 1280 bytes.

I'm trying to understand the scenario...

Host sends a packet of size > 1280
It receives an ICMPv6 PTB < 1280
And it retransmit the packet as a fragmented packet, where none of the 
fragments is larger than 1280 bytes?

Thanks,
-- 
Fernando Gont
SI6 Networks
e-mail: fgont@si6networks.com
PGP Fingerprint: 6666 31C6 D484 63B2 8FB1 E3C4 AE25 0D55 1D4E 7492