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

Christian Huitema <huitema@huitema.net> Thu, 15 April 2021 07:13 UTC

Return-Path: <huitema@huitema.net>
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 245173A12E3 for <dnsop@ietfa.amsl.com>; Thu, 15 Apr 2021 00:13:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.887
X-Spam-Level:
X-Spam-Status: No, score=-1.887 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_BLOCKED=0.001, SPF_HELO_NONE=0.001, T_SPF_PERMERROR=0.01, 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 dfbfDfnhqKMe for <dnsop@ietfa.amsl.com>; Thu, 15 Apr 2021 00:13:25 -0700 (PDT)
Received: from mx43-out1.antispamcloud.com (mx43-out1.antispamcloud.com [138.201.61.189]) (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 691C73A12E5 for <dnsop@ietf.org>; Thu, 15 Apr 2021 00:13:24 -0700 (PDT)
Received: from xse357.mail2web.com ([66.113.197.103] helo=xse.mail2web.com) by mx136.antispamcloud.com with esmtp (Exim 4.92) (envelope-from <huitema@huitema.net>) id 1lWwBe-0018V5-EN for dnsop@ietf.org; Thu, 15 Apr 2021 09:13:17 +0200
Received: from xsmtp21.mail2web.com (unknown [10.100.68.60]) by xse.mail2web.com (Postfix) with ESMTPS id 4FLVtJ49smz4lV for <dnsop@ietf.org>; Thu, 15 Apr 2021 00:13:12 -0700 (PDT)
Received: from [10.5.2.17] (helo=xmail07.myhosting.com) by xsmtp21.mail2web.com with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.92) (envelope-from <huitema@huitema.net>) id 1lWwBc-0003Dn-Dn for dnsop@ietf.org; Thu, 15 Apr 2021 00:13:12 -0700
Received: (qmail 29293 invoked from network); 15 Apr 2021 07:13:11 -0000
Received: from unknown (HELO [192.168.1.52]) (Authenticated-user:_huitema@huitema.net@[88.141.82.217]) (envelope-sender <huitema@huitema.net>) by xmail07.myhosting.com (qmail-ldap-1.03) with ESMTPA for <johnl@taugh.com>; 15 Apr 2021 07:13:10 -0000
To: Mark Andrews <marka@isc.org>, Tony Finch <dot@dotat.at>
Cc: dnsop@ietf.org, John Levine <johnl@taugh.com>
References: <20210414133641.A18B572E0509@ary.qy> <59df7967-2fef-371a-4d34-4c8efec74ca0@dotat.at> <628E22EC-3395-45AB-9FD8-2405A92682BA@isc.org>
From: Christian Huitema <huitema@huitema.net>
Message-ID: <49f57263-c68c-eb2a-a7b7-7b3028dacbc8@huitema.net>
Date: Thu, 15 Apr 2021 09:12:57 +0200
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.9.1
MIME-Version: 1.0
In-Reply-To: <628E22EC-3395-45AB-9FD8-2405A92682BA@isc.org>
Content-Type: multipart/alternative; boundary="------------91F174D7338B3CA3E64FA2E6"
Content-Language: en-US
X-Originating-IP: 66.113.197.103
X-Spampanel-Domain: xsmtpout.mail2web.com
X-Spampanel-Username: 66.113.197.0/24
Authentication-Results: antispamcloud.com; auth=pass smtp.auth=66.113.197.0/24@xsmtpout.mail2web.com
X-Spampanel-Outgoing-Class: unsure
X-Spampanel-Outgoing-Evidence: Combined (0.15)
X-Recommended-Action: accept
X-Filter-ID: Pt3MvcO5N4iKaDQ5O6lkdGlMVN6RH8bjRMzItlySaT9WLQux0N3HQm8ltz8rnu+BPUtbdvnXkggZ 3Yn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org/arch/msg/dnsop/ufEKkmGEJpLwmgptyC0rhi0y6no>
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: Thu, 15 Apr 2021 07:13:30 -0000

On 4/14/2021 11:19 PM, Mark Andrews wrote:
>> 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.

+1. That would be a pretty good way for the IETF to help clean the mess. 
That, and maybe a DNS site that would serve the test vectors.

-- Christian Huitema