Re: [DNSOP] DNS, fragmentation, and IPv6 extension headers

Masataka Ohta <mohta@necom830.hpcl.titech.ac.jp> Thu, 31 July 2014 05:49 UTC

Return-Path: <mohta@necom830.hpcl.titech.ac.jp>
X-Original-To: dnsop@ietfa.amsl.com
Delivered-To: dnsop@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1DB611A020B for <dnsop@ietfa.amsl.com>; Wed, 30 Jul 2014 22:49:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.608
X-Spam-Level:
X-Spam-Status: No, score=0.608 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_EQ_JP=1.244, HOST_EQ_JP=1.265, RP_MATCHES_RCVD=-0.001] autolearn=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 v_bo7fUIKKxP for <dnsop@ietfa.amsl.com>; Wed, 30 Jul 2014 22:49:21 -0700 (PDT)
Received: from necom830.hpcl.titech.ac.jp (necom830.hpcl.titech.ac.jp [131.112.32.132]) by ietfa.amsl.com (Postfix) with SMTP id 822471A0197 for <dnsop@ietf.org>; Wed, 30 Jul 2014 22:49:21 -0700 (PDT)
Received: (qmail 1421 invoked from network); 31 Jul 2014 05:39:10 -0000
Received: from necom830.hpcl.titech.ac.jp (HELO ?127.0.0.1?) (131.112.32.132) by necom830.hpcl.titech.ac.jp with SMTP; 31 Jul 2014 05:39:10 -0000
Message-ID: <53D9D8DD.8090902@necom830.hpcl.titech.ac.jp>
Date: Thu, 31 Jul 2014 14:49:17 +0900
From: Masataka Ohta <mohta@necom830.hpcl.titech.ac.jp>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0
MIME-Version: 1.0
To: Mark Andrews <marka@isc.org>
References: <53D6411B.6040208@gont.com.ar> <20140728124240.GA22535@sources.org> <BF261D86-0D0C-4453-8E68-484C12EFF48D@icsi.berkeley.edu> <B6D3D31D-8FE1-4A3E-9B36-59431E9E8E27@virtualized.org> <alpine.LSU.2.00.1407281513100.10413@hermes-1.csi.cam.ac.uk> <53D734EA.3010108@necom830.hpcl.titech.ac.jp> <20140729062034.8E5AD1AF6D8E@rock.dv.isc.org> <53D82885.1030809@necom830.hpcl.titech.ac.jp> <20140729232647.06F391B01FCD@rock.dv.isc.org>
In-Reply-To: <20140729232647.06F391B01FCD@rock.dv.isc.org>
Content-Type: text/plain; charset="ISO-2022-JP"
Content-Transfer-Encoding: 7bit
Archived-At: http://mailarchive.ietf.org/arch/msg/dnsop/_Iuotf1Wq_dukjRVxaFhkk2JiwE
Cc: dnsop@ietf.org
Subject: Re: [DNSOP] DNS, fragmentation, and IPv6 extension headers
X-BeenThere: dnsop@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: IETF DNSOP WG mailing list <dnsop.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dnsop>, <mailto:dnsop-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/dnsop/>
List-Post: <mailto:dnsop@ietf.org>
List-Help: <mailto:dnsop-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dnsop>, <mailto:dnsop-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 31 Jul 2014 05:49:23 -0000

Mark Andrews wrote:

>>> So?  Fragmented packets *do* get through the network.  Where
>>> they don't it slows up DNS resolution and the firewall usually
>>> gets fixed to allow fragments.
>> 
>> Yes, hopefully within a decade or two, some firewall maybe fixed.
>> So?
> 
> Actually the firewalls get fixed pretty quickly in most cases.

If you are thinking of ideal world with relatively new firewalls,
maybe.

The problem is that, in the real world, there are a lot of
firewalls with maintenance period expired.

>> But, even today, how much, in your opinion, is the assured-to-be- 
>> safe DNS message size over IPv6 with 1280B of MTU?
> 
> Well we have space for around 700 bytes of additional header space 
> before EDNS@512 will fail due to fragments being dropped.  Now I'm 
> sure one could artificially consume those 700 bytes but for the 
> moment I'm not worried.

You haven't answered my question.

How much, in your opinion, is the assured-to-be-safe DNS message
size over IPv6 with 1280B of MTU?

Without such size, statements like:

> BIND 9.10 changes the first state to do variable-size probing: it
> will try 512, 1232, 1432, and 4096, starting at the bottom and
> working up and down depending on what works. The middle numbers come
> from the minimum IPv6 MTU minus space for headers, and the ethernet
> MTU minus v4 and v6 headers to allow for tunneling.

can not be made.

						Masataka Ohta

PS

It should be noted that my modest proposal to have some
(e.g. 256B) reasonable limit on the extension header
length with an explanation that applications such as DNS
need some limit was formally rejected by IPv6 WG (in
Danvers meeting in 1995, IIRC) that you should expect
more.

IPv6 is produced by collective stupidity.