Re: [Emailcore] Ticket #14: G.7.8. Review different size limits

Ned Freed <ned.freed@mrochek.com> Tue, 13 July 2021 18:58 UTC

Return-Path: <ned.freed@mrochek.com>
X-Original-To: emailcore@ietfa.amsl.com
Delivered-To: emailcore@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id AE37C3A0CC6 for <emailcore@ietfa.amsl.com>; Tue, 13 Jul 2021 11:58:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.099
X-Spam-Level:
X-Spam-Status: No, score=-2.099 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, 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=mrochek.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 iwGZuxW-Uw8e for <emailcore@ietfa.amsl.com>; Tue, 13 Jul 2021 11:58:33 -0700 (PDT)
Received: from mauve.mrochek.com (mauve.mrochek.com [98.153.82.211]) (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 A13EB3A0CB4 for <emailcore@ietf.org>; Tue, 13 Jul 2021 11:58:33 -0700 (PDT)
Received: from dkim-sign.mauve.mrochek.com by mauve.mrochek.com (PMDF V6.1-1 #35243) id <01S1CPINGXRK00G21K@mauve.mrochek.com> for emailcore@ietf.org; Tue, 13 Jul 2021 11:53:27 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mrochek.com; s=201712; t=1626202407; bh=jyOBYoGJDVOjFLx5h7GydzN1dKq4KbCx8ZbJSlcDdNA=; h=Cc:Date:From:Subject:In-reply-to:References:To:From; b=JGfA8Qx9K3MxosQOkXSKozxlOJmwczX1+ULecbh4nGgFa30M/a20pbhETI0vIbODw thatCNbQEVtkv9qE7HcE1oVlzd1727S8R6JtL4NHIxBOiAJJ9eXFFMQFX799Ft7NrW YutDRJZ4Z1dfVXFRS8ovjLObjN/8qYbDv7Gua4/M=
MIME-version: 1.0
Content-transfer-encoding: 7bit
Content-type: TEXT/PLAIN; CHARSET="us-ascii"; Format="flowed"
Received: from mauve.mrochek.com by mauve.mrochek.com (PMDF V6.1-1 #35243) id <01S0F3SXH38G005PTU@mauve.mrochek.com>; Tue, 13 Jul 2021 11:53:25 -0700 (PDT)
Cc: emailcore@ietf.org
Message-id: <01S1CPIM81KU005PTU@mauve.mrochek.com>
Date: Tue, 13 Jul 2021 11:16:35 -0700
From: Ned Freed <ned.freed@mrochek.com>
In-reply-to: "Your message dated Tue, 13 Jul 2021 18:30:33 +0200" <5e1490c1-a26f-3e39-b5b2-41d3f1c0c6a7@tana.it>
References: <CAHej_8miev_XV3egTgiDEm7ARyyPoKzMAH-2z=9FrDoP=JRZgQ@mail.gmail.com> <01S1CDHKSDL6005PTU@mauve.mrochek.com> <70e3923f-c3c9-8625-4009-0a4ca0fb5ab0@dcrocker.net> <5e1490c1-a26f-3e39-b5b2-41d3f1c0c6a7@tana.it>
To: Alessandro Vesely <vesely@tana.it>
Archived-At: <https://mailarchive.ietf.org/arch/msg/emailcore/s6syE8CVJQtpnXuSpnvJUaxwOQM>
Subject: Re: [Emailcore] Ticket #14: G.7.8. Review different size limits
X-BeenThere: emailcore@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: EMAILCORE proposed working group list <emailcore.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/emailcore>, <mailto:emailcore-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/emailcore/>
List-Post: <mailto:emailcore@ietf.org>
List-Help: <mailto:emailcore-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/emailcore>, <mailto:emailcore-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 13 Jul 2021 18:58:40 -0000

> On Tue 13/Jul/2021 17:32:50 +0200 Dave Crocker wrote:
> > On 7/13/2021 5:52 AM, Ned Freed wrote:
> >> I also note that X.400 has changed from "the mail system we'll all be using
> >> someday" to "only used in limited government/military cases, and even those are
> >> disappearing". Is it really worth mentioning at this point?


> Where do those quotes come from?

They came from me. I'm paraphrasing what many people said back in the 80s when
X.400 was the new hotness and now when it's old and busted.

It's hard to believe now, but at the time the expectation really was that a
mostly government-run email service based on a universal directory was the
future.

> Do you have a reference?  When did the change occur?

These sorts of transitions rarely involve an abrupt change, but as it happens,
in the case of X.400 I did have an "aha" moment. It was back in the early 90s
at the Electronic Mail Association's Message Attachment Working Group (MAWG)
meeting on profiling the File Transfer Body Part and aligning it with MIME. As
the EMA equivalent of the blue sheet started circulating, Nick Shelness stood
up and (more or less) said, "Please include your Internet address on the sheet,
most of the X.400 ones you've provided in the past don't work."

Since then I've wondered if Nick - among other things, the main author of
Softswitch - knew the significance of what he was saying. Knowing Nick, he
probably did.

> > It is not.


> +1,


> >> Finally, and most importantly, implementation techniques that impose no limits
> >> on object size represent a serious security risk. I think this alone justifies
> >> removing "should support" bit.


> You mean "should be used"?  ("should support" doesn't appear in that
> paragraph).

Correct.

> I'm not clear what is the security risk.  Clearly, no implementation can be
> truly limitless, since the Universe itself appears to be limited.  Perhaps:

>                                                             To the
>     maximum extent possible, implementation techniques that impose no
>     *predefined* limits on the length of these objects should be used.

That's still a recipe for disaster because people won't know to set them
correctly. Anything without a reasonable limit can  be found by a hacker and
exploited to exhaust resources.

And if you don't believe this happens, I have a couple of very nice bridges to
sell you.

It also does nothing to enhance interoperability. Requiring the minimums but
encouraging everyone to implement more opens the door to implementators coding
stuff that assumes larger limits - because what they had in the lab suppported
more - but then fails badly when faced with a wider range of implementations on
the Internet.

IMO at this point interoperability trumps being able to get away with stuff 
sometimes.

				Ned