Re: [v6ops] PMTUD forever, was: MTUs on the general Internet

"Templin, Fred L" <Fred.L.Templin@boeing.com> Fri, 05 December 2014 14:59 UTC

Return-Path: <Fred.L.Templin@boeing.com>
X-Original-To: v6ops@ietfa.amsl.com
Delivered-To: v6ops@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 933281ACEAF for <v6ops@ietfa.amsl.com>; Fri, 5 Dec 2014 06:59:21 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.211
X-Spam-Level:
X-Spam-Status: No, score=-6.211 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, GB_I_LETTER=-2, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
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 ehiP2QqIUVIc for <v6ops@ietfa.amsl.com>; Fri, 5 Dec 2014 06:59:19 -0800 (PST)
Received: from blv-mbsout-01.boeing.com (blv-mbsout-01.boeing.com [130.76.32.231]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9C20E1ACEA6 for <v6ops@ietf.org>; Fri, 5 Dec 2014 06:59:19 -0800 (PST)
Received: from localhost (localhost [127.0.0.1]) by blv-mbsout-01.boeing.com (8.14.4/8.14.4/DOWNSTREAM_MBSOUT) with SMTP id sB5ExJ1U007225; Fri, 5 Dec 2014 06:59:19 -0800
Received: from XCH-PHX-312.sw.nos.boeing.com (xch-phx-312.sw.nos.boeing.com [130.247.25.173]) by blv-mbsout-01.boeing.com (8.14.4/8.14.4/UPSTREAM_MBSOUT) with ESMTP id sB5Ex9T4006631 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=OK); Fri, 5 Dec 2014 06:59:10 -0800
Received: from XCH-BLV-504.nw.nos.boeing.com ([169.254.4.76]) by XCH-PHX-312.sw.nos.boeing.com ([169.254.12.151]) with mapi id 14.03.0210.002; Fri, 5 Dec 2014 06:59:09 -0800
From: "Templin, Fred L" <Fred.L.Templin@boeing.com>
To: Jeroen Massar <jeroen@massar.ch>, Philip Homburg <pch-v6ops-3@u-1.phicoh.com>
Thread-Topic: [v6ops] PMTUD forever, was: MTUs on the general Internet
Thread-Index: AQHQEJwFpAeu1cDlMEapgQ1gXobqjg==
Date: Fri, 05 Dec 2014 14:59:09 +0000
Message-ID: <2134F8430051B64F815C691A62D9831832DAC16A@XCH-BLV-504.nw.nos.boeing.com>
References: <547F37B4.8050509@massar.ch> <2134F8430051B64F815C691A62D9831832DA9AD6@XCH-BLV-504.nw.nos.boeing.com> <547F3CE8.4090302@massar.ch> <20141204.095809.74726281.sthaug@nethelp.no> <54802E1D.9070401@massar.ch> <E3AB782E-8127-44C6-B870-78D0B6C34A53@apnic.net> <20141205091812.39854739@echo.ms.redpill-linpro.com> <B01FA89B-C104-49F4-B3E8-B4AD5FD66F31@muada.com> <20141205094341.799a12ad@echo.ms.redpill-linpro.com> <CEB65A05-C9AC-4A41-A853-40B8364848CD@muada.com> <20141205101850.6e58b351@echo.ms.redpill-linpro.com> <FB49ED19-157D-4EB6-A44C-52E383D7282B@muada.com> <20141205110546.2ef6ebf1@echo.ms.redpill-linpro.com> <m1XwqGy-0000ChC@stereo.hq.phicoh.net> <54818F41.9090802@massar.ch> <m1Xwqd1-0000DzC@stereo.hq.phicoh.net> <5481A1B0.3080804@massar.ch> <m1Xwszg-0000DzC@stereo.hq.phicoh.net> <5481B5C8.6030501@massar.ch>
In-Reply-To: <5481B5C8.6030501@massar.ch>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [130.247.104.6]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-TM-AS-MML: disable
Archived-At: http://mailarchive.ietf.org/arch/msg/v6ops/FcJh-K-BE2YFoEvcPrU1hL-Ndv4
Cc: "v6ops@ietf.org WG" <v6ops@ietf.org>
Subject: Re: [v6ops] PMTUD forever, was: MTUs on the general Internet
X-BeenThere: v6ops@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: v6ops discussion list <v6ops.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/v6ops>, <mailto:v6ops-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/v6ops/>
List-Post: <mailto:v6ops@ietf.org>
List-Help: <mailto:v6ops-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/v6ops>, <mailto:v6ops-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 05 Dec 2014 14:59:21 -0000


> -----Original Message-----
> From: v6ops [mailto:v6ops-bounces@ietf.org] On Behalf Of Jeroen Massar
> Sent: Friday, December 05, 2014 5:40 AM
> To: Philip Homburg
> Cc: v6ops@ietf.org WG
> Subject: Re: [v6ops] PMTUD forever, was: MTUs on the general Internet
> 
> 
> Please doc this 'frag on the layer below' idea with the pros and cons it
> has, would be a good informational document; but likely that will see
> little global/large deployment due to the cons.

You are misunderstaing; we are talking about a little bit of fragmentation
that should be turned off as soon as possible. That will happen as more
and more links set MTUs larger than 1500.

> On 2014-12-05 14:32, Philip Homburg wrote:
> > In your letter dated Fri, 05 Dec 2014 13:14:40 +0100 you wrote:
> >> On 2014-12-05 12:00, Philip Homburg wrote:
> >>> In case it wasn't clear, I meant fragmenting the outer (IPv4) packet,
> >>> not the inner (IPv6) packet.
> >>
> >> Not only tunnels have a lower MTU. Just adding an extension header
> >> somewhere and you already lower the payload size.
> >
> > In the current internet, PMTU is quite broken. Not completely broken, but enough
> > to be noticeable. Extension headers are also routinely filtered.
> >
> > So if you don't want to much pain, you avoid PMTU and extension headers.
> 
> I've been using PMTU successfuly for over 15 years.

I'm surprised no one has mentioned this yet, but any node on the Internet
can send a forged PTB message; it doesn't even need to spoof the source
address. Fernando Gont raises this concern in his "atomic fragments" doc.

> Only recently there where two events where a middle box was broken as
> they do not comply to the IPv6 specification (they ignore ICMPv6).
> 
> All other instances of PMTU issues are easily classified as either:
>  - misconfigurations
>  - rate limitting
> 
> Yes. These are problematic. Not much one can do about as these involve
> people and physical limits.
> 
> >> Doing fragmentation means sending at least two packets, maybe one gets
> >> lost, what to do, resend, wait? Note that most tunneling protocols do
> >> not resend data (unless they run over TCP and then TCP handles it).
> >
> > Locally, i.e. between my CPE and my tunnel endpoints the loss rate of IPv4 packets
> > in general is way lower than losses caused by PMTU discovery.
> >
> > So this is good trade off. By the time PMTU discovery is essentially perfect
> > it may be time to reconsider.
> 
> PMTU will never be 'perfect' as well, humans...
> 
> >> It also pushes the burden of refragmentation towards the receiver of the
> >> packet, which suddenly becomes open to a fragmentation attack, which is
> >> likely not what they will want to see happening (enough crap gets send
> >> to those boxes already because someone is misbehaving on IRC).
> >
> > If somebody wants to DoS my CPE, they can just do that. No need to try a
> > fragmentation attack.
> 
> The CPE is not the typical target, but the endpoint where your tunnel
> terminates likely is.
> 
> And of course we are not talking about a single user setup here, or even
> 10 people using the same setup. Scale up to a few thousand.
> 
> >> Remember that the minimum MTU for IPv6 is 1280 for a reason: very safe
> >> to use for tunneling and other constructs where one does not have a full
> >> Ethernet MTU.
> >
> > And then somebody starts a VPN that goes over a tunnel somewhere and we are back at
> > square one.
> 
> Then they should not do that or let that VPN support the fragmentation.
> 
> > Furthermore, unless you can somehow get all hosts on the internet to use a 1280 MTU,
> > your tunnel will cause PMTU problems.
> 
> Forcing a singular MTU is not a proper solution. Your proposal forces
> everybody to 1500.

No, the idea is to make sure *all* 1500s get through while at the same time
allowing larger packets through as long as they can make it without any
fragmentation. No more tunnel MTU clamping.

> And re-read your sentence above "then somebody starts a VPN that goes
> over a tunnel"... ;)

Tunnels within tunnels, yes. That is why the solution needs to work recursively.

> > Way more than a decade after ethernet devices first started supporting jumbograms,
> > most ethernets are still at 1500. So the most sane way to avoid PMTU problems is
> > to run all links at a 1500 octet MTU.
> 
> Exactly a major reason for not having a fixed MTU: you will fix the
> whole network to that MTU and it will never be able to change.

Correct - no fixed upper bound. But, a 1500 lower bound.

> Thus while your proposal is a reasonable solution it does not solve
> anything, it just avoids it (and with big penalties at that).
> 
> >> Just sticking everywhere to 1500 is not a solution. Unless one wants to
> >> define the minimum MTU for IPv6 as 1500. It is still a minimum and there
> >> are speakers out there that do 9000 with ease, just not intra-AS, and
> >> intra-AS is where these kind of PTB and ICMP ratelimiting problems
> >> exist: in somebody elses network.
> >
> > The only practical MTU on the internet is currently 1500. Locally you can go
> > higher or lower.
> 
> By fixing the MTU like you propose we will be stuck with an 1500 MTU
> forever. Lets not go there.

No more tunnel MTU clamping, as above. 1500 is only the *minimum*.

Thanks - Fred
fred.l.templin@boeing.com

> Greets,
>  Jeroen
> 
> _______________________________________________
> v6ops mailing list
> v6ops@ietf.org
> https://www.ietf.org/mailman/listinfo/v6ops