Re: [dmarc-ietf] Thoughts on choosing N

Douglas Foster <dougfoster.emailstandards@gmail.com> Mon, 15 April 2024 11:17 UTC

Return-Path: <dougfoster.emailstandards@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 15F87C14F74E for <dmarc@ietfa.amsl.com>; Mon, 15 Apr 2024 04:17:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.094
X-Spam-Level:
X-Spam-Status: No, score=-7.094 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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=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 ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VhvzWWEanORB for <dmarc@ietfa.amsl.com>; Mon, 15 Apr 2024 04:17:05 -0700 (PDT)
Received: from mail-lj1-x22c.google.com (mail-lj1-x22c.google.com [IPv6:2a00:1450:4864:20::22c]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3F366C14F60C for <dmarc@ietf.org>; Mon, 15 Apr 2024 04:17:05 -0700 (PDT)
Received: by mail-lj1-x22c.google.com with SMTP id 38308e7fff4ca-2d886f17740so46025141fa.1 for <dmarc@ietf.org>; Mon, 15 Apr 2024 04:17:05 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1713179822; x=1713784622; darn=ietf.org; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=nypIMghecrYz9sQ0JPAP23rAGYRUejb+6MUhcry0eJQ=; b=Yh2JZ4UNiAxaFJ1RB9rirkg3V1MfGU34szbsxXdHVnDIBNN7fiQIe09k2Ar1fhj7nJ CEmWf3O5XHTS8+ix3x/i9As4M35NL+Z1IB7bp0J27Hf4ds2uc/85DDbVg/0pcoM2hcIm 4YYOBRdo4GivlA6k7gMY5OwO1A9mkVUvm78R0z11l+wy+0UenxCX1geun7D5aE5oav3o YEWtXcyqGomZo6EJo8IgIXaliP8p4Ku4sKW+qVJDMbZB/nL5eZM3PcACnbmuZjp+iPND +7kCmBJ7PBzDZzMUYRJSVP73ypv4X2kuVetWtBkkbtu1s3Gqun5JMDJWbXRP70dp4XXw mXog==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713179822; x=1713784622; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=nypIMghecrYz9sQ0JPAP23rAGYRUejb+6MUhcry0eJQ=; b=QHl7bMSoseXjrwK9ZVjJ88rwfJziYpyurVMIvPuBpFGAKnXJbxcffCTMz3+i/AJRAt CNGHEe64pEarcJr/L//wYr5BVtxJd9eiazECdHkc8vmYoegb+90ziQe3zzeViMrRDjSX K/cflL2Xu45StEHmpK0M0Y9d3D9rzmd5YqdHf1Dwve810sMWRK82VXKCrKWbkSgy9wHy ZA7tUzCjepahWr/m/R5kNW3Qo5s8XvfTUbGl+dUZeynAIqbdOOQrGvAUk4kvPe1iv3Fx A3oRgpNgH1+flx9BScFm6rN00FLRW6CXFVQWjU0TXStkNmFtSXn4NKD/qS8b2w1vQfJi +4ig==
X-Gm-Message-State: AOJu0YykwnV6NUkYtP+3vqnlxP7B3+RtcUnVlUS83CTw74rn1Ek1GbUh vDQGH/FNk1EN0SLTH5HtMyEZzu70xNsJg8SrCpBTXOTex01Ca1od+FfniSi9RyZX4U102of2FXb ZZKRmhXkMKl4aRcuuocgXRcTiKjppCA==
X-Google-Smtp-Source: AGHT+IHvK+y6YGNS5vLR5Jic1vjFxqCZKKKhWVWGXncxLhzwGmVWATgbs2/r5qkqfhgMzPXzCJMGmq73aZVWyn7o/wY=
X-Received: by 2002:a2e:88c8:0:b0:2d8:cbed:f440 with SMTP id a8-20020a2e88c8000000b002d8cbedf440mr3698092ljk.6.1713179822360; Mon, 15 Apr 2024 04:17:02 -0700 (PDT)
MIME-Version: 1.0
References: <CAOZAAfPwJHKGyLjTkdGDqkMeK4RQX4Fj0rw-Upn0cLZ+cE74aA@mail.gmail.com> <2764165.rv8vZNihtd@zini-1880> <53f29df5-031a-8711-aed6-25c310f539a2@iecc.com> <8C54A48A-5665-41A1-B64F-93A39CF0B12C@kitterman.com> <CAL0qLwZ2TuV_EW6D9HZYwErmwL_n7q4ZKTEpHBZbyxnkKJ8m6w@mail.gmail.com>
In-Reply-To: <CAL0qLwZ2TuV_EW6D9HZYwErmwL_n7q4ZKTEpHBZbyxnkKJ8m6w@mail.gmail.com>
From: Douglas Foster <dougfoster.emailstandards@gmail.com>
Date: Mon, 15 Apr 2024 07:16:50 -0400
Message-ID: <CAH48ZfzckPscoSPUVEqy1WS71iAnKyj7gQVDOW4Hi=FXo0PzYg@mail.gmail.com>
To: IETF DMARC WG <dmarc@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000bf8e87061620c217"
Archived-At: <https://mailarchive.ietf.org/arch/msg/dmarc/opse-shzVxteWlQyqfQXEydLiQ8>
Subject: Re: [dmarc-ietf] Thoughts on choosing N
X-BeenThere: dmarc@ietf.org
X-Mailman-Version: 2.1.39
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: Mon, 15 Apr 2024 11:17:09 -0000

Our original choice of N was based on the PSL.    The PSL could not detect
organizational boundaries could not boundaries below level 5, because it
had no entries longer than 5 labels, and we determined that the 5-label
entries were not used for mail.    Therefore, any increase in N is new
capability.   That new capability is probably desirable, but need not be
limitless.  Using an N of 8 introduces a lot of new capability.

As the number of labels increases, the probability of abuse increases --
either malicious use of non-existent subdomains, or malicious creation of
meaningless subdomains.   This provides strong incentive to limit N to a
small number.

I don't have any objection to 8.

There are two defenses available to evaluators who fear malicious use of
maximum N:
- Test for From domain existence first.   If the domain does not exist, do
a top-down search for the first domain that does exist.   Mail From and
DKIM domains do not need to be tested separately for existence, as they
cannot verify unless the domain exists.

- Use result caching so that domains with a high number of labels are not
researched multiple times.

DF








On Sun, Apr 14, 2024 at 7:23 PM Murray S. Kucherawy <superuser@gmail.com>
wrote:

> On Sun, Apr 7, 2024 at 10:33 AM Scott Kitterman <sklist@kitterman.com>
> wrote:
>
>> >Seth says there are people who need N=8 but for business reasons he
>> can't tell us who they are.  I'm not thrilled about that but I see little
>> downside to bumping the number up to 8.
>>
>> I expect that's where we end up, but I think we need something more than
>> one of the chairs said there are secret reasons.
>>
>
> I agree, "Why 8?" is a very reasonable question for any reviewer to ask.
>
> -MSK, p11g
> _______________________________________________
> dmarc mailing list
> dmarc@ietf.org
> https://www.ietf.org/mailman/listinfo/dmarc
>