Re: [DNSOP] WGLC for draft-ietf-dnsop-tcp-requirements

Joe Abley <jabley@hopcount.ca> Mon, 19 April 2021 17:17 UTC

Return-Path: <jabley@hopcount.ca>
X-Original-To: dnsop@ietfa.amsl.com
Delivered-To: dnsop@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4FFAA3A3B61 for <dnsop@ietfa.amsl.com>; Mon, 19 Apr 2021 10:17:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.196
X-Spam-Level:
X-Spam-Status: No, score=-0.196 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_BLOCKED=0.001, 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 (1024-bit key) header.d=hopcount.ca
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 42PYKYoNuh3D for <dnsop@ietfa.amsl.com>; Mon, 19 Apr 2021 10:16:58 -0700 (PDT)
Received: from mail-qk1-x72e.google.com (mail-qk1-x72e.google.com [IPv6:2607:f8b0:4864:20::72e]) (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 D6F0F3A3B13 for <dnsop@ietf.org>; Mon, 19 Apr 2021 10:16:57 -0700 (PDT)
Received: by mail-qk1-x72e.google.com with SMTP id 8so2799177qkv.8 for <dnsop@ietf.org>; Mon, 19 Apr 2021 10:16:57 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hopcount.ca; s=google; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=tGWgOQwnyXuZfrK3JT/i3W4jWyf6IUBcO3cMgOSHCv4=; b=Xvn4fEDelvwpIyNWimAc+kDLvmkG6aRHjszVIq9HIMyIZXKEtEbewRMX63fU3GSqJD AqvR6gzaBCN/BjbzPpONkQTfROUKmlkaoQkEEudRCVf3ZVENAHa9urEYJLi03UxRqKaY HJ8zF45C4BiMZKpQcq6dP88d3V/00r+48i2D0=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=tGWgOQwnyXuZfrK3JT/i3W4jWyf6IUBcO3cMgOSHCv4=; b=HmVf0WNehxNMj63obMBc2LKYjkvtZU6w448YUOS7xzE0YNYDFdld2waXda2KRFywwd jQcE8wGmu041yp3+Lx2tSYKcBX8yFKrfD5HYHGg7SGRLg85tNPXWGPDSvn66aKY7/qAS S24ADetF0UPiJArvqMZxXm9r7DstqtjEUKI/baSuJw0QGBgTC4Pxv/QC2m9510pHkuDl oEucNhfpV0l+TKmT4F9RBUL1ernYHotbLCEZaaMeSJiSLefN9GcVNw3SG0WYv5nd4Vhb 2frYT9hoGkjc0mud1YQQ/V4p8yieZYVZXQEtAuekFORoOOddSMA4xfJNUrXyN2b18/VT HvEw==
X-Gm-Message-State: AOAM532eD31KnTEFSbvor3WU6dRGQFkx5R19iAeO/KnJmQptkY3rY4O4 DmdXof0mc1gpZtCQFsx5ZpbjTTgywgY9kJ7+
X-Google-Smtp-Source: ABdhPJyPpqFNXdcttS3N+CYXRvIJqds6Fk+25wPepAwU/UtJI0/qpgsqrpf4qvC/L8rzCmZ4fgLHDA==
X-Received: by 2002:a05:620a:706:: with SMTP id 6mr8417810qkc.279.1618852616095; Mon, 19 Apr 2021 10:16:56 -0700 (PDT)
Received: from ?IPv6:2607:f2c0:e784:c7:4884:49af:cf06:413f? ([2607:f2c0:e784:c7:4884:49af:cf06:413f]) by smtp.gmail.com with ESMTPSA id r25sm269223qtm.18.2021.04.19.10.16.55 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 19 Apr 2021 10:16:55 -0700 (PDT)
Content-Type: text/plain; charset="us-ascii"
Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\))
From: Joe Abley <jabley@hopcount.ca>
In-Reply-To: <645e26770b29553fb31d1acf509d01b9807c1e7b.camel@powerdns.com>
Date: Mon, 19 Apr 2021 13:16:53 -0400
Cc: dnsop@ietf.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <89937646-9C7F-4612-8D10-2816C81987D0@hopcount.ca>
References: <93D82731-7B33-4E39-8DEF-FF6C14803191@gmail.com> <9FDEDB22-997A-479A-9EC8-818988BC1A79@hopcount.ca> <645e26770b29553fb31d1acf509d01b9807c1e7b.camel@powerdns.com>
To: Peter van Dijk <peter.van.dijk@powerdns.com>
X-Mailer: Apple Mail (2.3654.60.0.2.21)
Archived-At: <https://mailarchive.ietf.org/arch/msg/dnsop/5DMKjJAIMbofK-PaplOCfOwSsqk>
Subject: Re: [DNSOP] WGLC for draft-ietf-dnsop-tcp-requirements
X-BeenThere: dnsop@ietf.org
X-Mailman-Version: 2.1.29
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: <https://mailarchive.ietf.org/arch/browse/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: Mon, 19 Apr 2021 17:17:02 -0000

On 19 Apr 2021, at 12:40, Peter van Dijk <peter.van.dijk@powerdns.com> wrote:

> This note on statelessness is good, but I don't think it should be tied to IPv6. Packets get lost in IPv4 too, especially when they are big, and even if such evens trigger a report in the form of an ICMP message, the same lack-of-state problem applies.

In IPv4, datagrams that need to be transmitted over a link with an MTU is too low are fragmented by the router attached to the link, assuming DF=0. There is no signal sent back to the source in that case. In IPv6 that doesn't happen.

In the v4 case a large DNS message (large enough to require fragmentation along the path) can be transmitted without the source having to retain any state. That's not true in v6.

So I think the v4 and v6 cases are different. That's why I attached that comment to the v6 case.

DNS messages can be lost in both v4 and v6 for a variety of other reasons, I agree.

> https://datatracker.ietf.org/doc/draft-ietf-dnsop-avoid-fragmentation/ even proposes setting DONTFRAG socket options, and some servers out there already send IPv4 replies with the DF bit set (the two I can verify immediately are OpenDNS, and whatever is running on the router my provider gave me, but most likely there are others too).

Setting DF=1 does seem like it would avoid the differences I was trying to allude to above, I agree. With DF=1 fragmentation (or not-fragmentation) is just another reason for a packet to get dropped.


Joe