Re: [DNSOP] A draft about the Name:Wreck problem draft-dashevskyi-dnsrr-antipatterns

Mark Andrews <marka@isc.org> Wed, 14 April 2021 21:19 UTC

Return-Path: <marka@isc.org>
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 99E5A3A204E for <dnsop@ietfa.amsl.com>; Wed, 14 Apr 2021 14:19:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.118
X-Spam-Level:
X-Spam-Status: No, score=-2.118 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-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=isc.org header.b=rh9RdnZl; dkim=pass (1024-bit key) header.d=isc.org header.b=Y1CMGu0x
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 LtnAIEzvlx3r for <dnsop@ietfa.amsl.com>; Wed, 14 Apr 2021 14:19:33 -0700 (PDT)
Received: from mx.pao1.isc.org (mx.pao1.isc.org [149.20.64.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C1BAE3A204A for <dnsop@ietf.org>; Wed, 14 Apr 2021 14:19:33 -0700 (PDT)
Received: from zmx1.isc.org (zmx1.isc.org [149.20.0.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx.pao1.isc.org (Postfix) with ESMTPS id BD8D73AB020; Wed, 14 Apr 2021 21:19:32 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=isc.org; s=ostpay; t=1618435172; bh=pvyx/kzNkUatDDYwzCd4Rnfr+yX7DS6y3HPfJjgr6K4=; h=Subject:From:In-Reply-To:Date:Cc:References:To; b=rh9RdnZlV1MQAoDSW9ou/RLlkMuZeCX1SveFfm+SGTdw1xztqqPxxfPPyfpZciG0n zE83mE8ML0hHSGWnPQO0MctTGZC9GtdieZkVGBhwXE4n9NJwaph9PqyzZg8ryXHI+M +DJCW3QVDLRUmCJX9V+rjOchBBCV62FDTpYbFdKI=
Received: from zmx1.isc.org (localhost [127.0.0.1]) by zmx1.isc.org (Postfix) with ESMTPS id A9185160046; Wed, 14 Apr 2021 21:19:32 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1]) by zmx1.isc.org (Postfix) with ESMTP id 88B041600B3; Wed, 14 Apr 2021 21:19:32 +0000 (UTC)
DKIM-Filter: OpenDKIM Filter v2.9.2 zmx1.isc.org 88B041600B3
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=isc.org; s=05DFB016-56A2-11EB-AEC0-15368D323330; t=1618435172; bh=yUC+WXgKKldvt5pTaMWY6NQW02RaFvHyz9vjIJ8UPJo=; h=Content-Type:Mime-Version:Subject:From:Date: Content-Transfer-Encoding:Message-Id:To; b=Y1CMGu0xZWJ8e4WHq6rIAbYUxTv4pcPFe1J0tl40bSIIiFonb+a5MXMOTlRUvnou2 2+ilBxrX0e3pMxMegcj9QgysaSLtwCCeL12gPcdsmHGF7TbZi6wQ33G6bTiZk/Z/rW KbO985ljOQ6N1ThzCWCp45L8cNprrJje6mEn3WMw=
Received: from zmx1.isc.org ([127.0.0.1]) by localhost (zmx1.isc.org [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id T4Y-V5ddxlVw; Wed, 14 Apr 2021 21:19:32 +0000 (UTC)
Received: from [172.30.42.67] (n49-177-132-25.bla3.nsw.optusnet.com.au [49.177.132.25]) by zmx1.isc.org (Postfix) with ESMTPSA id B67F2160046; Wed, 14 Apr 2021 21:19:31 +0000 (UTC)
Content-Type: text/plain; charset="us-ascii"
Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.7\))
From: Mark Andrews <marka@isc.org>
In-Reply-To: <59df7967-2fef-371a-4d34-4c8efec74ca0@dotat.at>
Date: Thu, 15 Apr 2021 07:19:27 +1000
Cc: John Levine <johnl@taugh.com>, dnsop@ietf.org
Content-Transfer-Encoding: 7bit
Message-Id: <628E22EC-3395-45AB-9FD8-2405A92682BA@isc.org>
References: <20210414133641.A18B572E0509@ary.qy> <59df7967-2fef-371a-4d34-4c8efec74ca0@dotat.at>
To: Tony Finch <dot@dotat.at>
X-Mailer: Apple Mail (2.3445.9.7)
Archived-At: <https://mailarchive.ietf.org/arch/msg/dnsop/MVFOyE_I8Dglni3IMMoudIbr4oQ>
Subject: Re: [DNSOP] A draft about the Name:Wreck problem draft-dashevskyi-dnsrr-antipatterns
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: Wed, 14 Apr 2021 21:19:40 -0000


> On 15 Apr 2021, at 07:17, Tony Finch <dot@dotat.at> wrote:
> 
> John Levine <johnl@taugh.com> wrote:
>> 
>> On the other hand, all of the sloppy coding people use to handle
>> compressed names is embarassing.
> 
> I don't think it's entirely fair to blame the coders who make these
> mistakes, because a very large number of excellent programmers have made a
> mess of DNS name decompression. When I find out about new DNS code the
> first thing I do is look at the name parser to see if it successfully
> avoids these traps and pitfalls, because it's a good indication that the
> programmer has learned from their own or others' mistakes, or has much
> greater than average ability to write attack-resistant parsers.
> 
> It seems worthwhile to try to help future coders not to mess it up.
> 
> Tony.
> -- 
> f.anthony.n.finch  <dot@dotat.at>  https://dotat.at/
> Gibraltar Point to North Foreland: Northerly or northeasterly 3 to 5.
> Smooth or slight becoming slight or moderate. Showers. Good.

Adding test vectors would help, especially broken vectors.

> _______________________________________________
> DNSOP mailing list
> DNSOP@ietf.org
> https://www.ietf.org/mailman/listinfo/dnsop

-- 
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742              INTERNET: marka@isc.org