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

Paul Vixie <paul@redbarn.org> Thu, 15 April 2021 18:52 UTC

Return-Path: <vixie@redbarn.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 2DF4F3A2ACC for <dnsop@ietfa.amsl.com>; Thu, 15 Apr 2021 11:52:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level:
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, 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 0Pd_PaLaNJEG for <dnsop@ietfa.amsl.com>; Thu, 15 Apr 2021 11:52:18 -0700 (PDT)
Received: from family.redbarn.org (family.redbarn.org [24.104.150.213]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B5B9F3A2AC9 for <dnsop@ietf.org>; Thu, 15 Apr 2021 11:52:17 -0700 (PDT)
Received: by family.redbarn.org (Postfix, from userid 716) id 7EAD07599B; Thu, 15 Apr 2021 18:52:12 +0000 (UTC)
Date: Thu, 15 Apr 2021 18:52:12 +0000
From: Paul Vixie <paul@redbarn.org>
To: Mark Andrews <marka@isc.org>
Cc: dnsop@ietf.org
Message-ID: <20210415185212.utlqlc2erz4cf7gf@family.redbarn.org>
References: <20210414133641.A18B572E0509@ary.qy> <59df7967-2fef-371a-4d34-4c8efec74ca0@dotat.at> <628E22EC-3395-45AB-9FD8-2405A92682BA@isc.org> <49f57263-c68c-eb2a-a7b7-7b3028dacbc8@huitema.net> <20210415072803.2qumw3f7h5g7n2hp@family.redbarn.org> <A1683ACA-AA64-41EC-8E51-BB657C3297BD@isc.org>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <A1683ACA-AA64-41EC-8E51-BB657C3297BD@isc.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/dnsop/kOF2ERBR2ysS1XHCZlyx98RMuE8>
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 18:52:23 -0000

On Thu, Apr 15, 2021 at 05:46:29PM +1000, Mark Andrews wrote:
> > On 15 Apr 2021, at 17:28, Paul Vixie <paul@redbarn.org> wrote:
> > so, freebsd was unfairly maligned in the forescout report on this event;
> > the bug was in their dhcp client, not their dns or "tcp/ip stack", and
> > had been fixed 20 years late but still six months ago.

> The freebsd code still isn't correct "if (0xc0 & len) {" !=
> "if ((0xc0 & len) == 0xc0) {"
> which is the correct test for a compression pointer.

this certainly is not correct, but doesn't seem related to the forescout
report.

> The frustrating part is that it could have all been done safely with
> libresolv rather than reinventing the wheel.  The pain had already
> been taken with libresolv.

as you know, this was discussed internally at the time. when dhclient
took its copy of libresolv, these bugs were still present. i muchly
regret not releasing libresolv independent of BIND so that projects
who needed the code could add it as a dependency not a copy. "oops."

-- 
Paul Vixie