Re: [dmarc-ietf] Doing a tree walk rather than PSL lookup

"Murray S. Kucherawy" <superuser@gmail.com> Tue, 24 November 2020 16:50 UTC

Return-Path: <superuser@gmail.com>
X-Original-To: dmarc@ietfa.amsl.com
Delivered-To: dmarc@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 613673A11F3 for <dmarc@ietfa.amsl.com>; Tue, 24 Nov 2020 08:50:36 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.197
X-Spam-Level:
X-Spam-Status: No, score=-0.197 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, 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 (2048-bit key) header.d=gmail.com
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 KS6ykBJNPNm6 for <dmarc@ietfa.amsl.com>; Tue, 24 Nov 2020 08:50:35 -0800 (PST)
Received: from mail-vs1-xe33.google.com (mail-vs1-xe33.google.com [IPv6:2607:f8b0:4864:20::e33]) (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 199363A11F1 for <dmarc@ietf.org>; Tue, 24 Nov 2020 08:50:34 -0800 (PST)
Received: by mail-vs1-xe33.google.com with SMTP id s123so10774695vsc.0 for <dmarc@ietf.org>; Tue, 24 Nov 2020 08:50:34 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Uv9/NsakBYDus7U5hxuSWCTWC+9UdeQcjp0M/GtzVvI=; b=KaG1zSSBHwu9PnJLQ/jbGAvn4xwRJ8iEcdbxbPeH/x5QrwBMxDEo5wsJaAs55WzgBy OfGPFyaXwGO4l8N/QKOQvLlsZ7S6GFgMMHpFBXwIZMUFuql7gxaRlnVJhc7D41TOzzmK LrVVi2i6zjcTsVhASr9NL7wEgQsyEE5Q8voa+c6z7rbqmQOmOJc5JNx8BNNO3lKGrHOn QTXRIbyGgGbxrEf6Pnh8ClvX6BiPXLQALpsc0enqniaTyMsRtINtgjSW7rhoigo0iqZt 0BOU0Mr3+V3tdXQRAAckxwhKRvOamFMFdXxtRP6N9dSzu3gdBmTWh2RCjhgqhaSe86RC rRbQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Uv9/NsakBYDus7U5hxuSWCTWC+9UdeQcjp0M/GtzVvI=; b=rXpkPXuAK1y+yh3LXc6zKc/kzu5k6NLyBMfmw/sLeFBLiz8DAqFF+3h0gspncPEUiM FGUrDSlBD7nhkM7AYDyc9NryPiC8LFVaZ8OID3RN+Iv10t88BoIJM2dWfBb5o6hsltxs ajsfK/HLTYFJjM2GqLmQPfYsMQV/AFfJ9yHMKpPJVY0rmKyrpNbX5H5VTTXEQAN7e3ME J5ghC32wi7LSMFBPuYsbcTvI/0LKWRJyNmhNQABavd89I/GS4PJaNxgHRjLNuoMf9hN8 FXv3C+ZTbLu9YpRdoKtRFdrgzwut+zB2fXaU+aAjLgx1/HKugjYo9VlFqGDvtQeQfoNH Iqgg==
X-Gm-Message-State: AOAM53264YXIPgeYPDb1TNZvwkTWlpspq0NQvCuN54RaQ7FDsJqOwr1M PxXkRt3DkDlRtCgMqvLZyvkvKv+rti4l3k3PTQ8NedDl
X-Google-Smtp-Source: ABdhPJz7+qmDZF0znISkYUt8J5mnT2UkW6Tal7abgyMM9xdnh0hL7SlPwCZj/nBia/+1mpKgHTz+XCQKsF/qLZtyDzw=
X-Received: by 2002:a05:6102:21c6:: with SMTP id r6mr4695423vsg.0.1606236633758; Tue, 24 Nov 2020 08:50:33 -0800 (PST)
MIME-Version: 1.0
References: <20201123213846.EB14127C8160@ary.qy> <efa0117e-5b17-800d-820d-b5d2413c6075@tana.it>
In-Reply-To: <efa0117e-5b17-800d-820d-b5d2413c6075@tana.it>
From: "Murray S. Kucherawy" <superuser@gmail.com>
Date: Tue, 24 Nov 2020 08:50:20 -0800
Message-ID: <CAL0qLwZru7q_YxJLj1wXjaLckeajQ0BE4kL6FTqjrPtj=V0Auw@mail.gmail.com>
To: Alessandro Vesely <vesely@tana.it>
Cc: IETF DMARC WG <dmarc@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000fafe2b05b4dd1b61"
Archived-At: <https://mailarchive.ietf.org/arch/msg/dmarc/5WI9rDyOjvS1NyOWSXPDJAVIn5o>
Subject: Re: [dmarc-ietf] Doing a tree walk rather than PSL lookup
X-BeenThere: dmarc@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Domain-based Message Authentication, Reporting, and Compliance \(DMARC\)" <dmarc.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dmarc>, <mailto:dmarc-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/dmarc/>
List-Post: <mailto:dmarc@ietf.org>
List-Help: <mailto:dmarc-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dmarc>, <mailto:dmarc-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 24 Nov 2020 16:50:36 -0000

On Tue, Nov 24, 2020 at 4:20 AM Alessandro Vesely <vesely@tana.it> wrote:

> > If I'm going to go to the effort to download and decode a PSL and find
> the OD, I'll just use the OD.
> >
> > One of the points of the tree walk is to get rid of the PSL processing.
>
> The PSL processing is a local lookup on an in-memory suffix tree.  How is
> it a
> progress to replace it with a tree walk?  A PSL search is lightning faster
> than
> even a single DNS lookup, isn't it?
>

Sure, but only if you think the PSL is accurate.  Otherwise you're basing
your shortcut up the tree on data you don't have reason to trust.  On the
other hand, a tree walk, while more expensive in terms of queries, isn't a
heuristic based on possibly stale information.

-MSK