Re: [ietf-smtp] Endless debate on submission authentication

"John Levine" <johnl@taugh.com> Fri, 03 January 2020 17:27 UTC

Return-Path: <johnl@iecc.com>
X-Original-To: ietf-smtp@ietfa.amsl.com
Delivered-To: ietf-smtp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 399C4120088 for <ietf-smtp@ietfa.amsl.com>; Fri, 3 Jan 2020 09:27:40 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.75
X-Spam-Level:
X-Spam-Status: No, score=-1.75 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.25, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1536-bit key) header.d=iecc.com header.b=C5iUTHI2; dkim=pass (1536-bit key) header.d=taugh.com header.b=fgS3LNyg
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 YihQG97t5GGF for <ietf-smtp@ietfa.amsl.com>; Fri, 3 Jan 2020 09:27:39 -0800 (PST)
Received: from gal.iecc.com (gal.iecc.com [IPv6:2001:470:1f07:1126:0:43:6f73:7461]) (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 3B11B12002E for <ietf-smtp@ietf.org>; Fri, 3 Jan 2020 09:27:39 -0800 (PST)
Received: (qmail 56811 invoked from network); 3 Jan 2020 17:27:38 -0000
DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=iecc.com; h=date:message-id:from:to:cc:subject:in-reply-to:mime-version:content-type:content-transfer-encoding; s=dde9.5e0f798a.k2001; i=printer-iecc.com@submit.iecc.com; bh=5yJCIxZT+JhQd3jbMqVgd83MSqPzZ049sKULWgK9am4=; b=C5iUTHI2aajDvStuCOc6l1LfokNM33NEQHnEyvnEIDvAJQ28JBW6kBk//q4x/jErwCUieszOauF6ZJY48TgMlwU6z5T604AN7/QKM3ESdLDuQ4bi5eu1DwugfvjIpAzBTB0rPdXgTHZPmKTv1gs8SUw7xb5ZQlCOhDRlORGV37cio1kxoMeNbLCNsGCjdwrz7NGqBjZP9qwPITRLj/xzd510mPNum5ENJb1s+8bRuUM98SJ8IQII1APHcgagNIQy
DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=taugh.com; h=date:message-id:from:to:cc:subject:in-reply-to:mime-version:content-type:content-transfer-encoding; s=dde9.5e0f798a.k2001; olt=printer-iecc.com@submit.iecc.com; bh=5yJCIxZT+JhQd3jbMqVgd83MSqPzZ049sKULWgK9am4=; b=fgS3LNyg1kKl+1WCj5VgH8DSTGHQQXwqvhkMGjertSNNTT4w9hOv7RsYjlZCu3Wyc0bGgQPvnZwsAIozE4JvQ4Txlh/QKWQPOnD3nEgpvNrqiPw22OHuEs6WYvBU/g2PwfjeOaxAlwitXdogBz6dyxaBw/KZIEgLXOpLvfWZKcw1l4ADbh036miOtckdjLfTq/X+ogIY8v5K4Ms2Pdf5AOXxpVLZJQSFPTb2oBljP6i+O1hg252FGl25eh07nT7+
Received: from ary.qy ([IPv6:2001:470:1f07:1126::78:696d:6170]) by imap.iecc.com ([IPv6:2001:470:1f07:1126::78:696d:6170]) with ESMTPSA (TLS1.2 ECDHE-RSA AES-256-GCM AEAD, printer@iecc.com) via TCP6; 03 Jan 2020 17:27:37 -0000
Received: by ary.qy (Postfix, from userid 501) id 6639111F01C1; Fri, 3 Jan 2020 12:27:36 -0500 (EST)
Date: Fri, 03 Jan 2020 12:27:36 -0500
Message-Id: <20200103172737.6639111F01C1@ary.qy>
From: John Levine <johnl@taugh.com>
To: ietf-smtp@ietf.org
Cc: dcrocker@bbiw.net
In-Reply-To: <9a7b77e2-2921-2fe9-273b-b944d27ae695@dcrocker.net>
Organization: Taughannock Networks
X-Headerized: yes
Mime-Version: 1.0
Content-type: text/plain; charset="utf-8"
Content-transfer-encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/ietf-smtp/pIm6kex5FhOpwJNlM8Bbdhngrtg>
Subject: Re: [ietf-smtp] Endless debate on submission authentication
X-BeenThere: ietf-smtp@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Discussion of issues related to Simple Mail Transfer Protocol \(SMTP\) \[RFC 821, RFC 2821, RFC 5321\]" <ietf-smtp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ietf-smtp>, <mailto:ietf-smtp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ietf-smtp/>
List-Post: <mailto:ietf-smtp@ietf.org>
List-Help: <mailto:ietf-smtp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ietf-smtp>, <mailto:ietf-smtp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 03 Jan 2020 17:27:40 -0000

In article <9a7b77e2-2921-2fe9-273b-b944d27ae695@dcrocker.net> you write:
>On 1/2/2020 7:30 PM, Ned Freed wrote:
>>> p.s. I suspect ietf-smtp doesn't want to dig down into details of how
>>> IoT devices should authenticate submissions - at least not just yet -

>For MIME, there was infinite debate about what character sets to support 
>and how to support them.  After the protracted infinite debate reach 
>asymptote, we punted and instead merely specified a place to specify 
>whatever character set was being used and a registry for listing known sets.
>
>Any chance a similar approach would be viable here?

I don't think so. For character sets at least you know where the text
goes.

We've been coming up with ways to authenticate submission for over 20
years.  The ones I can recall using are:

- static IP address (range or individual IP)

- indirectly authenticated IP address (POP-before-SMTP, for which I apologize)

- session SMTP AUTH, with various SASL schemes including PLAIN and CRAM-MD5

- session client certs via STARTTLS or port 465

I suppose we could have a registry of some sort, but POP-before-SMTP
and its ilk are pretty kludgy and I'm guessing other schemes would be
worse.

On the other hand, Ned says IP authentication is workable.  If I were
running an IoT system I would hope I'd have a database to track what
devices I expected to be on what IP addresses, from which it shouldn't
be too hard to extract a list of the ones that are expected to send
mail.  I realize NAT screws this up, but we can wave our hands and
assert that if you want to authenticate across a NAT, you need to use
something else.

R's,
John