
From nobody Fri Apr  1 12:44:09 2016
Return-Path: <dmargolis@google.com>
X-Original-To: uta@ietfa.amsl.com
Delivered-To: uta@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id F1DF012D5E4 for <uta@ietfa.amsl.com>; Fri,  1 Apr 2016 12:44:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.71
X-Spam-Level: 
X-Spam-Status: No, score=-2.71 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=google.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 tJ9EkOhiMxwC for <uta@ietfa.amsl.com>; Fri,  1 Apr 2016 12:44:04 -0700 (PDT)
Received: from mail-io0-x230.google.com (mail-io0-x230.google.com [IPv6:2607:f8b0:4001:c06::230]) (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 4770712D0CB for <uta@ietf.org>; Fri,  1 Apr 2016 12:44:04 -0700 (PDT)
Received: by mail-io0-x230.google.com with SMTP id g185so164327167ioa.2 for <uta@ietf.org>; Fri, 01 Apr 2016 12:44:04 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to; bh=iJWkfBQV2YWxqHexxJQffxzIR/7L6Gg8mEFB+K+h4qw=; b=bCWoOUHSN07hiNy/n6mywpLiep/y5YfzZNtvV912JPfTA/YhYtySTViq5ZA/aWLtpx 8S1SlUBmQmY/uBhYENa0sSl1q0zI2PSeuhAEmTjdjN6xkfRpPiMcX7ZayMiG13dPb6ed RcUrioHswtKI5wdzxNtTOQutMR2nK5D0agz3pclOHymxL238zM5E1KNTF6ncJ6fdF+b3 +qz+jD45QYSGPa9xuM+KmfyB+K3jIT0ToEx1wW1Tz5Npeg4KaCOjDZvovMm31VEcdKia mOwWeB479+H556TwY9EPDs9Ob9RFLBs3pTV1/peto2QuAndEADSNVg3Ukdb2QNjjsTmA IPQA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to; bh=iJWkfBQV2YWxqHexxJQffxzIR/7L6Gg8mEFB+K+h4qw=; b=m1y2nnqwajqBBpTEIk5btHYcgXDHnBpgORs0aj+hJ61wueHBMHQSJeNq/YXZDYyf5r gkvrzK2y6scACs4Gf9wTshJcOFgpd/1LFUiclyPTyrZLUFa2XEroa0B2CTkuKBrn6gMu gJ2lC/kTMVCJpehbDkr7d8ZcFB+WwTBDL3QQJwlmhRyVhZFfMPp9ipXB5dT27ErsEr8q /QZD6eKk6uLK0Vs/qmcEHdj95rg8wSca+6sNYVtW1+mmx8Bjea+L0UhhqA8pAf4+Jblc mfEZ1gb9WazTNxUgWX9qkMMhytimfmyaVZ6kRPm2ZS7ihh5z1rhsDN0MlF4uo04P06dq IKzg==
X-Gm-Message-State: AD7BkJLLK3cXCWZmQv2BVhFlvNSj3aPSIsas0ei9NDJ41NocMjAEmTTadNFCMzxGHPwErFKOzLzK0Czvgz3DDmXY
MIME-Version: 1.0
X-Received: by 10.107.161.140 with SMTP id k134mr6977010ioe.190.1459539843334;  Fri, 01 Apr 2016 12:44:03 -0700 (PDT)
Received: by 10.64.251.136 with HTTP; Fri, 1 Apr 2016 12:44:03 -0700 (PDT)
In-Reply-To: <CANtKdUeh8LV1uaWAyRqQ2ou4pdTNvKgzuJ5kKsQLwPFORqrDQA@mail.gmail.com>
References: <CAB0W=GS2PXF-divC+SNs+A-jH1-_BBA889-TbQXHvrVsrbKLEA@mail.gmail.com> <CAB0W=GSQ4oTLT+qepMi7Pj5=UmBD70D_uW7c193RY-gw818ORA@mail.gmail.com> <CAB0W=GRB_6LhqEGYzeYq-srnM99wqwZrdjUEm=vJ7+oFiKbYoA@mail.gmail.com> <CAB0W=GTGja5JtxGuCzhD6O3B2Ow-wLN-B6WQ8XUDyvQRqdFZxw@mail.gmail.com> <20160322063527.GD6602@mournblade.imrryr.org> <CANtKdUeh8LV1uaWAyRqQ2ou4pdTNvKgzuJ5kKsQLwPFORqrDQA@mail.gmail.com>
Date: Fri, 1 Apr 2016 21:44:03 +0200
Message-ID: <CANtKdUcX0HqNzqzr=Dh05x09hEZyMZnsPQBCi8TXRQccpYARiQ@mail.gmail.com>
From: Daniel Margolis <dmargolis@google.com>
To: uta@ietf.org
Content-Type: multipart/alternative; boundary=001a1140fff0e651f1052f719979
Archived-At: <http://mailarchive.ietf.org/arch/msg/uta/HH0e84AT8-eBRzv5qxyPX9bPfWE>
Subject: Re: [Uta] New proposal: SMTP Strict Transport Security
X-BeenThere: uta@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: UTA working group mailing list <uta.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/uta>, <mailto:uta-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/uta/>
List-Post: <mailto:uta@ietf.org>
List-Help: <mailto:uta-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/uta>, <mailto:uta-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 01 Apr 2016 19:44:07 -0000

--001a1140fff0e651f1052f719979
Content-Type: text/plain; charset=UTF-8

Viktor et al,

Two things:

First, I've taken a stab at a "design reasoning FAQ" document:
https://github.com/mrisher/smtp-sts/wiki/FAQ. I think most of the contents
of this were already discussed on this list, but hopefully it provides a
useful reference.

Second, I've tried to write up the reasoning you expressed here about "why
DNSSEC?" (for lack of a better term) here:
https://github.com/mrisher/smtp-sts/wiki/Why-DNSSEC-at-all%3F. (Not that my
writing is necessarily more clear than yours, but rather to extract it for
handy reference in preparation for hopefully a bit more feedback from other
people here.)

Feedback welcome.

Dan

On Tue, Mar 22, 2016 at 8:58 AM, Daniel Margolis <dmargolis@google.com>
wrote:

> Hi Viktor,
>
> Thanks for all the thoughtful comments. I'll respond to what (at a glance)
> seems to be the most significant three first.
>
> On Tue, Mar 22, 2016 at 7:35 AM, Viktor Dukhovni <ietf-dane@dukhovni.org>
> wrote:
>
>>     A significant obstacle to a successful roll-out of WebPKI with
>>     SMTP is not such much that obtaining and deploying CA certs is
>>     onerous (enabling DNSSEC is likely more difficult at present),
>>     but rather that there is no single set of CAs that sending and
>>     receiving systems can (or perhaps should) reasonably agree on.
>>     On the one hand, because MTAs employing STS are non-interactive
>>     background processes with no human-operator in the loop to
>>     "click OK" for each exception, the set of CAs a sending system
>>     that employs STS would need to trust would need to be "comprehensive
>>     enough" to include all the CAs used by all the domains one
>>     might need to send email to.
>
>
> This is of course a big topic, but I don't think we should assume that in
> common deployment web browsers *do* rely upon a user to make some sound
> human decision about whether to trust a CA. For example, here's the
> multi-stage process to get Chrome to accept an untrusted certificate:
> https://docs.oracle.com/cd/E24628_01/install.121/e39876/img/scrnshot_advanced.gif.
> It's not insignificant to me that Oracle felt the need to document this
> process for the users with screenshots: we *don't* expect the common
> browser user to make a personal determination of what CAs to accept, so the
> "background process" argument is, I think, based on a false premise.
>
> In truth, we expect browser users to defer to their platform vendors to
> make sane decisions for them, and we expect the owners of large websites to
> be able to pick a CA that is widely trusted. With the rise of Let's Encrypt
> and other free CAs, this doesn't seem overly burdensome.
>
>
>     This requires domains that publish STS records to duplicate
>>     their MX records in the STS RRset.  It is not clear why that's
>>     useful.  If the STS record itself is not DNSSEC-validated, the
>>     payload is not more secure than the MX RRset.  If the payload
>>     is DNSSEC-validated, then the MX RRset in the same zone would
>>     (barring unexpected zone cuts) be equally secure.  I posit that
>>     this field is both onerous and superfluous.
>
>
> There are two differences with the MX records here:
>
> 1. A (most likely) longer TTL on the STS policy versus the MX record
> 2. The option for wildcard's or broader patterns than merely a list of
> valid hosts
>
> This permits the publishing domain to declare that "for the next year, I
> plan to always host my mail at example.com" without publishing specific
> MX records that have a 1-year TTL (which of course could be brittle).
>
>
>     It would be expensive for MTAs to attempt repeated HTTPS
>>     connections that timeout trying to connect to port 443 at
>>     the majority of domains which have not deployed STS.
>>
>>     All that's needed in DNS to support a pure WebPKI STS is a
>>     boolean value to signal the existence of the STS resource URI.
>>     This data can be obtained efficiently.  If the "_smtp-sts" RR
>>     exists (pick a suitable RRtype and fixed short payload) then
>>     the HTTPS URI should be consulted, otherwise the HTTPS URI is
>>     not consulted (at first contact), or is consulted asynchronously,
>>     in parallel with the first mail delivery (with appropriate spacing
>>     between probes, ...).
>>
>>     Thus some MTAs might compress the STS DNS record to zero bits,
>>     and just use asynchronous suitably spaced HTTPS probes to the
>>     domains for which no policy is presently known.  However the
>>     1-bit encoding is likely better.
>>
>
> I also dislike the copying of the policy into two places, for the reasons
> Dave noted here:
> https://mailarchive.ietf.org/arch/msg/ietf-smtp/nqWeUTe03mxJLltC-wHOsVvfbKo
> .
>
> The only real reason to do this is to allow MTAs to cheaply see if the
> policy has been updated. This seems like a silly thing, since in normal
> usage they never need to check as long as they have a cached policy, but
> it's exactly that asymmetry that worries me: Since in normal usage the
> traffic to the HTTPS endpoint will be minuscule compared to the SMTP
> traffic to the domain, hosts are likely to dramatically underprovision the
> former versus the latter. Unfortunately, then, in the case of a validation
> *failure*, the HTTPS endpoint would (absent some other policy TTL separate,
> and shorter from, the expiration lifetime) be bombarded with an HTTP GET
> *once* *per* email.
>
> So all we're really doing here (in the webpki case) is leveraging DNS as a
> sort of caching layer. An alternative solution would be what I hinted at
> above: to simply embed a short "TTL" in the policy. Or to say we don't care
> and encourage the use of HEAD.
>
> If we are willing to force the webpki validation method (as you assumed, I
> think, above) and don't mind making senders handle this short-term TTL
> logic,  I think we could make the publishing process simpler, with the
> advantage Dave noted in the above-linked thread (i.e. an easier deployment
> for customers of hosted mail services).
>
> I'm somewhat on the fence about this trade-off myself, but I don't think
> it's unreasonable. Thoughts?
>

--001a1140fff0e651f1052f719979
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Viktor et al,<div><br></div><div>Two things:</div><div><br=
></div><div>First, I&#39;ve taken a stab at a &quot;design reasoning FAQ&qu=
ot; document:=C2=A0<a href=3D"https://github.com/mrisher/smtp-sts/wiki/FAQ"=
>https://github.com/mrisher/smtp-sts/wiki/FAQ</a>. I think most of the cont=
ents of this were already discussed on this list, but hopefully it provides=
 a useful reference.=C2=A0</div><div><br></div><div>Second, I&#39;ve tried =
to write up the reasoning you expressed here about &quot;why DNSSEC?&quot; =
(for lack of a better term) here:=C2=A0<a href=3D"https://github.com/mrishe=
r/smtp-sts/wiki/Why-DNSSEC-at-all%3F">https://github.com/mrisher/smtp-sts/w=
iki/Why-DNSSEC-at-all%3F</a>. (Not that my writing is necessarily more clea=
r than yours, but rather to extract it for handy reference in preparation f=
or hopefully a bit more feedback from other people here.)</div><div><br></d=
iv><div>Feedback welcome.=C2=A0</div><div><br></div><div>Dan</div></div><di=
v class=3D"gmail_extra"><br><div class=3D"gmail_quote">On Tue, Mar 22, 2016=
 at 8:58 AM, Daniel Margolis <span dir=3D"ltr">&lt;<a href=3D"mailto:dmargo=
lis@google.com" target=3D"_blank">dmargolis@google.com</a>&gt;</span> wrote=
:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-le=
ft:1px #ccc solid;padding-left:1ex"><div dir=3D"ltr"><div class=3D"gmail_ex=
tra">Hi Viktor,=C2=A0</div><div class=3D"gmail_extra"><br></div><div class=
=3D"gmail_extra">Thanks for all the thoughtful comments. I&#39;ll respond t=
o what (at a glance) seems to be the most significant three first.=C2=A0</d=
iv><div class=3D"gmail_extra"><br><div class=3D"gmail_quote"><span class=3D=
"">On Tue, Mar 22, 2016 at 7:35 AM, Viktor Dukhovni <span dir=3D"ltr">&lt;<=
a href=3D"mailto:ietf-dane@dukhovni.org" target=3D"_blank">ietf-dane@dukhov=
ni.org</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"=
margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,20=
4,204);border-left-style:solid;padding-left:1ex"><span style=3D"font-size:1=
2.8px">=C2=A0 =C2=A0 A significant obstacle to a successful roll-out of Web=
PKI with<br></span><span style=3D"font-size:12.8px">=C2=A0 =C2=A0 SMTP is n=
ot such much that obtaining and deploying CA certs is<br></span><span style=
=3D"font-size:12.8px">=C2=A0 =C2=A0 onerous (enabling DNSSEC is likely more=
 difficult at present),<br></span><span style=3D"font-size:12.8px">=C2=A0 =
=C2=A0 but rather that there is no single set of CAs that sending and<br></=
span><span style=3D"font-size:12.8px">=C2=A0 =C2=A0 receiving systems can (=
or perhaps should) reasonably agree on.</span><br style=3D"font-size:12.8px=
"><span style=3D"font-size:12.8px">=C2=A0 =C2=A0 On the one hand, because M=
TAs employing STS are non-interactive<br></span><span style=3D"font-size:12=
.8px">=C2=A0 =C2=A0 background processes with no human-operator in the loop=
 to<br></span><span style=3D"font-size:12.8px">=C2=A0 =C2=A0 &quot;click OK=
&quot; for each exception, the set of CAs a sending system<br></span><span =
style=3D"font-size:12.8px">=C2=A0 =C2=A0 that employs STS would need to tru=
st would need to be &quot;comprehensive<br></span><span style=3D"font-size:=
12.8px">=C2=A0 =C2=A0 enough&quot; to include all the CAs used by all the d=
omains one<br></span><span style=3D"font-size:12.8px">=C2=A0 =C2=A0 might n=
eed to send email to.</span></blockquote><div>=C2=A0</div></span><div>This =
is of course a big topic, but I don&#39;t think we should assume that in co=
mmon deployment web browsers *do* rely upon a user to make some sound human=
 decision about whether to trust a CA. For example, here&#39;s the multi-st=
age process to get Chrome to accept an untrusted certificate:=C2=A0<a href=
=3D"https://docs.oracle.com/cd/E24628_01/install.121/e39876/img/scrnshot_ad=
vanced.gif" target=3D"_blank">https://docs.oracle.com/cd/E24628_01/install.=
121/e39876/img/scrnshot_advanced.gif</a>. It&#39;s not insignificant to me =
that Oracle felt the need to document this process for the users with scree=
nshots: we *don&#39;t* expect the common browser user to make a personal de=
termination of what CAs to accept, so the &quot;background process&quot; ar=
gument is, I think, based on a false premise.=C2=A0</div><div><br></div><di=
v>In truth, we expect browser users to defer to their platform vendors to m=
ake sane decisions for them, and we expect the owners of large websites to =
be able to pick a CA that is widely trusted. With the rise of Let&#39;s Enc=
rypt and other free CAs, this doesn&#39;t seem overly burdensome.=C2=A0</di=
v><span class=3D""><div><br></div><div><br></div><blockquote class=3D"gmail=
_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left=
-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span sty=
le=3D"font-size:12.8px">=C2=A0 =C2=A0 This requires domains that publish ST=
S records to duplicate<br></span><span style=3D"font-size:12.8px">=C2=A0 =
=C2=A0 their MX records in the STS RRset.=C2=A0 It is not clear why that&#3=
9;s<br></span><span style=3D"font-size:12.8px">=C2=A0 =C2=A0 useful.=C2=A0 =
If the STS record itself is not DNSSEC-validated, the<br></span><span style=
=3D"font-size:12.8px">=C2=A0 =C2=A0 payload is not more secure than the MX =
RRset.=C2=A0 If the payload<br></span><span style=3D"font-size:12.8px">=C2=
=A0 =C2=A0 is DNSSEC-validated, then the MX RRset in the same zone would<br=
></span><span style=3D"font-size:12.8px">=C2=A0 =C2=A0 (barring unexpected =
zone cuts) be equally secure.=C2=A0 I posit that<br></span><span style=3D"f=
ont-size:12.8px">=C2=A0 =C2=A0 this field is both onerous and superfluous.<=
/span></blockquote><div><br></div></span><div>There are two differences wit=
h the MX records here:</div><div><br></div><div>1. A (most likely) longer T=
TL on the STS policy versus the MX record</div><div>2. The option for wildc=
ard&#39;s or broader patterns than merely a list of valid hosts</div><div><=
br></div><div>This permits the publishing domain to declare that &quot;for =
the next year, I plan to always host my mail at <a href=3D"http://example.c=
om" target=3D"_blank">example.com</a>&quot; without publishing specific MX =
records that have a 1-year TTL (which of course could be brittle).=C2=A0</d=
iv><span class=3D""><div><br></div><div><br></div><blockquote class=3D"gmai=
l_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;border-lef=
t-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
=C2=A0 =C2=A0 It would be expensive for MTAs to attempt repeated HTTPS<br>
=C2=A0 =C2=A0 connections that timeout trying to connect to port 443 at<br>
=C2=A0 =C2=A0 the majority of domains which have not deployed STS.<br>
<br>
=C2=A0 =C2=A0 All that&#39;s needed in DNS to support a pure WebPKI STS is =
a<br>
=C2=A0 =C2=A0 boolean value to signal the existence of the STS resource URI=
.<br>
=C2=A0 =C2=A0 This data can be obtained efficiently.=C2=A0 If the &quot;_sm=
tp-sts&quot; RR<br>
=C2=A0 =C2=A0 exists (pick a suitable RRtype and fixed short payload) then<=
br>
=C2=A0 =C2=A0 the HTTPS URI should be consulted, otherwise the HTTPS URI is=
<br>
=C2=A0 =C2=A0 not consulted (at first contact), or is consulted asynchronou=
sly,<br>
=C2=A0 =C2=A0 in parallel with the first mail delivery (with appropriate sp=
acing<br>
=C2=A0 =C2=A0 between probes, ...).<br>
<br>
=C2=A0 =C2=A0 Thus some MTAs might compress the STS DNS record to zero bits=
,<br>
=C2=A0 =C2=A0 and just use asynchronous suitably spaced HTTPS probes to the=
<br>
=C2=A0 =C2=A0 domains for which no policy is presently known.=C2=A0 However=
 the<br>
=C2=A0 =C2=A0 1-bit encoding is likely better.<br></blockquote><div><br></d=
iv></span><div>I also dislike the copying of the policy into two places, fo=
r the reasons Dave noted here: <a href=3D"https://mailarchive.ietf.org/arch=
/msg/ietf-smtp/nqWeUTe03mxJLltC-wHOsVvfbKo" target=3D"_blank">https://maila=
rchive.ietf.org/arch/msg/ietf-smtp/nqWeUTe03mxJLltC-wHOsVvfbKo</a>.=C2=A0</=
div><div><br></div><div>The only real reason to do this is to allow MTAs to=
 cheaply see if the policy has been updated. This seems like a silly thing,=
 since in normal usage they never need to check as long as they have a cach=
ed policy, but it&#39;s exactly that asymmetry that worries me: Since in no=
rmal usage the traffic to the HTTPS endpoint will be minuscule compared to =
the SMTP traffic to the domain, hosts are likely to dramatically underprovi=
sion the former versus the latter. Unfortunately, then, in the case of a va=
lidation *failure*, the HTTPS endpoint would (absent some other policy TTL =
separate, and shorter from, the expiration lifetime) be bombarded with an H=
TTP GET *once* *per* email.=C2=A0</div><div><br></div><div>So all we&#39;re=
 really doing here (in the webpki case) is leveraging DNS as a sort of cach=
ing layer. An alternative solution would be what I hinted at above: to simp=
ly embed a short &quot;TTL&quot; in the policy. Or to say we don&#39;t care=
 and encourage the use of HEAD.=C2=A0</div><div><br></div><div>If we are wi=
lling to force the webpki validation method (as you assumed, I think, above=
) and don&#39;t mind making senders handle this short-term TTL logic, =C2=
=A0I think we could make the publishing process simpler, with the advantage=
 Dave noted in the above-linked thread (i.e. an easier deployment for custo=
mers of hosted mail services).=C2=A0</div><div><br></div><div>I&#39;m somew=
hat on the fence about this trade-off myself, but I don&#39;t think it&#39;=
s unreasonable. Thoughts?</div></div></div></div>
</blockquote></div><br></div>

--001a1140fff0e651f1052f719979--


From nobody Fri Apr  1 14:48:28 2016
Return-Path: <chris.newman@oracle.com>
X-Original-To: uta@ietfa.amsl.com
Delivered-To: uta@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D1ED812D68A for <uta@ietfa.amsl.com>; Fri,  1 Apr 2016 14:48:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.211
X-Spam-Level: 
X-Spam-Status: No, score=-4.211 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] 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 DIqGy_sS11fk for <uta@ietfa.amsl.com>; Fri,  1 Apr 2016 14:48:14 -0700 (PDT)
Received: from userp1040.oracle.com (userp1040.oracle.com [156.151.31.81]) (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 6C52312D6F3 for <uta@ietf.org>; Fri,  1 Apr 2016 14:48:14 -0700 (PDT)
Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id u31LmBkY025951 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 1 Apr 2016 21:48:12 GMT
Received: from gotmail.us.oracle.com (gotmail.us.oracle.com [10.133.152.174]) by aserv0022.oracle.com (8.13.8/8.13.8) with ESMTP id u31LmBxS030938;  Fri, 1 Apr 2016 21:48:11 GMT
MIME-version: 1.0
Content-type: multipart/alternative; boundary="Boundary_(ID_FgyqbhE0RTjzhCtRPg/OfQ)"
Received: from dhcp-amer-vpn-adc-anyconnect-10-154-130-14.vpn.oracle.com (dhcp-amer-vpn-adc-anyconnect-10-154-130-14.vpn.oracle.com [10.154.130.14]) by gotmail.us.oracle.com (Oracle Communications Messaging Server 8.0.0.0.0 64bit (built Mar 19 2015)) with ESMTPSA id <0O4Z003685W5N900@gotmail.us.oracle.com>; Fri, 01 Apr 2016 14:48:09 -0700 (PDT)
Date: Fri, 01 Apr 2016 18:48:00 -0300
From: Chris Newman <chris.newman@oracle.com>
To: Daniel Margolis <dmargolis@google.com>, uta@ietf.org
Message-id: <etPan.56feec95.141a081e.3fe@dhcp-amer-vpn-adc-anyconnect-10-154-130-14.vpn.oracle.com>
In-reply-to: <CANtKdUcX0HqNzqzr=Dh05x09hEZyMZnsPQBCi8TXRQccpYARiQ@mail.gmail.com>
References: <CAB0W=GS2PXF-divC+SNs+A-jH1-_BBA889-TbQXHvrVsrbKLEA@mail.gmail.com> <CAB0W=GSQ4oTLT+qepMi7Pj5=UmBD70D_uW7c193RY-gw818ORA@mail.gmail.com> <CAB0W=GRB_6LhqEGYzeYq-srnM99wqwZrdjUEm=vJ7+oFiKbYoA@mail.gmail.com> <CAB0W=GTGja5JtxGuCzhD6O3B2Ow-wLN-B6WQ8XUDyvQRqdFZxw@mail.gmail.com> <20160322063527.GD6602@mournblade.imrryr.org> <CANtKdUeh8LV1uaWAyRqQ2ou4pdTNvKgzuJ5kKsQLwPFORqrDQA@mail.gmail.com> <CANtKdUcX0HqNzqzr=Dh05x09hEZyMZnsPQBCi8TXRQccpYARiQ@mail.gmail.com>
X-Mailer: Airmail (351)
X-Source-IP: aserv0022.oracle.com [141.146.126.234]
Archived-At: <http://mailarchive.ietf.org/arch/msg/uta/9T-uJHU5SEnjrjeeQ1P-PSH5BVw>
Subject: Re: [Uta] New proposal: SMTP Strict Transport Security
X-BeenThere: uta@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: UTA working group mailing list <uta.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/uta>, <mailto:uta-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/uta/>
List-Post: <mailto:uta@ietf.org>
List-Help: <mailto:uta-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/uta>, <mailto:uta-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 01 Apr 2016 21:48:18 -0000

--Boundary_(ID_FgyqbhE0RTjzhCtRPg/OfQ)
Content-type: text/plain; charset=utf-8
Content-transfer-encoding: quoted-printable
Content-disposition: inline

I=E2=80=99m unconvinced by these two design reasoning documents.

They start with the assumption that signed routing information, security =
policy and reporting should be conflated. I consider those separate funct=
ions. The only relationship between signed routing and security policy is=
 that security policy might require that routing be signed.

I am not convinced it is desirable to allow sites with strong security to=
 downgrade to weak security. Since allowing that adds so much complexity =
and security risk to the proposal, it seems you need a much stronger just=
ification to include that complexity than the claim that it=E2=80=99s a f=
orm of =E2=80=9Ccustomer lock-in=E2=80=9D. Assuming we do simplify the pr=
oposal, then once a domain advertises SMTP STS, they will subsequently re=
quire their hosting provider to offer STS. As domain owners usually pay t=
heir hosting providers, this creates a financial incentive for hosting pr=
oviders to offer STS and thus there is no =E2=80=9Ccustomer lock-in=E2=80=
=9D problem as long as this is standardized properly. Indeed, I=E2=80=99d=
 argue that removing the timeout and security downgrade mechanisms from t=
he security policy part of the proposal make it simpler, more secure and =
likely to deploy faster due to financial incentives. Seems like a win-win=
-win to me.

I feel very strongly that policy for SMTP relay should be advertised by S=
MTP and protected by SMTP TLS. Doing anything else creates a much larger =
attack surface on the policy information and is both more complex and les=
s secure. The preferred mechanism to sign SMTP relay routing (DNS MX) is =
DNSSEC. I=E2=80=99m open to proposals for alternate mechanisms to sign MX=
 record information due to the difficulty of deploying DNSSEC, but such m=
echanisms should not be confused with security policy.

I=E2=80=99m open to proposals to advertise reporting information separate=
ly from (or together with) SMTP security policy and to provide a mechanis=
m to report SMTP security without requiring SMTP security policy to be pr=
esent. Given the interest in reporting for a broad range of SMTP relay se=
curity features, we might want to split the reporting function into a sep=
arate document.

		- Chris
On April 1, 2016 at 16:44:20 , Daniel Margolis (dmargolis=40google.com) w=
rote:

Viktor et al,

Two things:

=46irst, I've taken a stab at a =22design reasoning =46AQ=22 document:=C2=
=A0https://github.com/mrisher/smtp-sts/wiki/=46AQ. I think most of the co=
ntents of this were already discussed on this list, but hopefully it prov=
ides a useful reference.=C2=A0

Second, I've tried to write up the reasoning you expressed here about =22=
why DNSSEC=3F=22 (for lack of a better term) here:=C2=A0https://github.co=
m/mrisher/smtp-sts/wiki/Why-DNSSEC-at-all%3=46. (Not that my writing is n=
ecessarily more clear than yours, but rather to extract it for handy refe=
rence in preparation for hopefully a bit more feedback from other people =
here.)

=46eedback welcome.=C2=A0

Dan

On Tue, Mar 22, 2016 at 8:58 AM, Daniel Margolis <dmargolis=40google.com>=
 wrote:
Hi Viktor,=C2=A0

Thanks for all the thoughtful comments. I'll respond to what (at a glance=
) seems to be the most significant three first.=C2=A0

On Tue, Mar 22, 2016 at 7:35 AM, Viktor Dukhovni <ietf-dane=40dukhovni.or=
g> wrote:
=C2=A0 =C2=A0 A significant obstacle to a successful roll-out of WebPKI w=
ith
=C2=A0 =C2=A0 SMTP is not such much that obtaining and deploying CA certs=
 is
=C2=A0 =C2=A0 onerous (enabling DNSSEC is likely more difficult at presen=
t),
=C2=A0 =C2=A0 but rather that there is no single set of CAs that sending =
and
=C2=A0 =C2=A0 receiving systems can (or perhaps should) reasonably agree =
on.
=C2=A0 =C2=A0 On the one hand, because MTAs employing STS are non-interac=
tive
=C2=A0 =C2=A0 background processes with no human-operator in the loop to
=C2=A0 =C2=A0 =22click OK=22 for each exception, the set of CAs a sending=
 system
=C2=A0 =C2=A0 that employs STS would need to trust would need to be =22co=
mprehensive
=C2=A0 =C2=A0 enough=22 to include all the CAs used by all the domains on=
e
=C2=A0 =C2=A0 might need to send email to.
=C2=A0
This is of course a big topic, but I don't think we should assume that in=
 common deployment web browsers *do* rely upon a user to make some sound =
human decision about whether to trust a CA. =46or example, here's the mul=
ti-stage process to get Chrome to accept an untrusted certificate:=C2=A0h=
ttps://docs.oracle.com/cd/E24628=5F01/install.121/e39876/img/scrnshot=5Fa=
dvanced.gif. It's not insignificant to me that Oracle felt the need to do=
cument this process for the users with screenshots: we *don't* expect the=
 common browser user to make a personal determination of what CAs to acce=
pt, so the =22background process=22 argument is, I think, based on a fals=
e premise.=C2=A0

In truth, we expect browser users to defer to their platform vendors to m=
ake sane decisions for them, and we expect the owners of large websites t=
o be able to pick a CA that is widely trusted. With the rise of Let's Enc=
rypt and other free CAs, this doesn't seem overly burdensome.=C2=A0


=C2=A0 =C2=A0 This requires domains that publish STS records to duplicate=

=C2=A0 =C2=A0 their MX records in the STS RRset.=C2=A0 It is not clear wh=
y that's
=C2=A0 =C2=A0 useful.=C2=A0 If the STS record itself is not DNSSEC-valida=
ted, the
=C2=A0 =C2=A0 payload is not more secure than the MX RRset.=C2=A0 If the =
payload
=C2=A0 =C2=A0 is DNSSEC-validated, then the MX RRset in the same zone wou=
ld
=C2=A0 =C2=A0 (barring unexpected zone cuts) be equally secure.=C2=A0 I p=
osit that
=C2=A0 =C2=A0 this field is both onerous and superfluous.

There are two differences with the MX records here:

1. A (most likely) longer TTL on the STS policy versus the MX record
2. The option for wildcard's or broader patterns than merely a list of va=
lid hosts

This permits the publishing domain to declare that =22for the next year, =
I plan to always host my mail at example.com=22 without publishing specif=
ic MX records that have a 1-year TTL (which of course could be brittle).=C2=
=A0


=C2=A0 =C2=A0 It would be expensive for MTAs to attempt repeated HTTPS
=C2=A0 =C2=A0 connections that timeout trying to connect to port 443 at
=C2=A0 =C2=A0 the majority of domains which have not deployed STS.

=C2=A0 =C2=A0 All that's needed in DNS to support a pure WebPKI STS is a
=C2=A0 =C2=A0 boolean value to signal the existence of the STS resource U=
RI.
=C2=A0 =C2=A0 This data can be obtained efficiently.=C2=A0 If the =22=5Fs=
mtp-sts=22 RR
=C2=A0 =C2=A0 exists (pick a suitable RRtype and fixed short payload) the=
n
=C2=A0 =C2=A0 the HTTPS URI should be consulted, otherwise the HTTPS URI =
is
=C2=A0 =C2=A0 not consulted (at first contact), or is consulted asynchron=
ously,
=C2=A0 =C2=A0 in parallel with the first mail delivery (with appropriate =
spacing
=C2=A0 =C2=A0 between probes, ...).

=C2=A0 =C2=A0 Thus some MTAs might compress the STS DNS record to zero bi=
ts,
=C2=A0 =C2=A0 and just use asynchronous suitably spaced HTTPS probes to t=
he
=C2=A0 =C2=A0 domains for which no policy is presently known.=C2=A0 Howev=
er the
=C2=A0 =C2=A0 1-bit encoding is likely better.

I also dislike the copying of the policy into two places, for the reasons=
 Dave noted here: https://mailarchive.ietf.org/arch/msg/ietf-smtp/nqWeUTe=
03mxJLltC-wHOsVvfbKo.=C2=A0

The only real reason to do this is to allow MTAs to cheaply see if the po=
licy has been updated. This seems like a silly thing, since in normal usa=
ge they never need to check as long as they have a cached policy, but it'=
s exactly that asymmetry that worries me: Since in normal usage the traff=
ic to the HTTPS endpoint will be minuscule compared to the SMTP traffic t=
o the domain, hosts are likely to dramatically underprovision the former =
versus the latter. Unfortunately, then, in the case of a validation *fail=
ure*, the HTTPS endpoint would (absent some other policy TTL separate, an=
d shorter from, the expiration lifetime) be bombarded with an HTTP GET *o=
nce* *per* email.=C2=A0

So all we're really doing here (in the webpki case) is leveraging DNS as =
a sort of caching layer. An alternative solution would be what I hinted a=
t above: to simply embed a short =22TTL=22 in the policy. Or to say we do=
n't care and encourage the use of HEAD.=C2=A0

If we are willing to force the webpki validation method (as you assumed, =
I think, above) and don't mind making senders handle this short-term TTL =
logic, =C2=A0I think we could make the publishing process simpler, with t=
he advantage Dave noted in the above-linked thread (i.e. an easier deploy=
ment for customers of hosted mail services).=C2=A0

I'm somewhat on the fence about this trade-off myself, but I don't think =
it's unreasonable. Thoughts=3F

=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F =20
Uta mailing list =20
Uta=40ietf.org =20
https://www.ietf.org/mailman/listinfo/uta =20

--Boundary_(ID_FgyqbhE0RTjzhCtRPg/OfQ)
Content-type: text/html; charset=utf-8
Content-transfer-encoding: quoted-printable
Content-disposition: inline

<html><head><style>body=7Bfont-family:Helvetica,Arial;font-size:13px=7D</=
style></head><body style=3D=22word-wrap: break-word; -webkit-nbsp-mode: s=
pace; -webkit-line-break: after-white-space;=22><div id=3D=22bloop=5Fcust=
omfont=22 style=3D=22font-family:Helvetica,Arial;font-size:13px; color: r=
gba(0,0,0,1.0); margin: 0px; line-height: auto;=22>I=E2=80=99m unconvince=
d by these two design reasoning documents.</div><div id=3D=22bloop=5Fcust=
omfont=22 style=3D=22font-family:Helvetica,Arial;font-size:13px; color: r=
gba(0,0,0,1.0); margin: 0px; line-height: auto;=22><br></div><div id=3D=22=
bloop=5Fcustomfont=22 style=3D=22font-family:Helvetica,Arial;font-size:13=
px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;=22>They start=
 with the assumption that signed routing information, security policy and=
 reporting should be conflated. I consider those separate functions. The =
only relationship between signed routing and security policy is that secu=
rity policy might require that routing be signed.</div><div id=3D=22bloop=
=5Fcustomfont=22 style=3D=22font-family:Helvetica,Arial;font-size:13px; c=
olor: rgba(0,0,0,1.0); margin: 0px; line-height: auto;=22><br></div><div =
id=3D=22bloop=5Fcustomfont=22 style=3D=22font-family:Helvetica,Arial;font=
-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;=22>I =
am not convinced it is desirable to allow sites with strong security to d=
owngrade to weak security. Since allowing that adds so much complexity an=
d security risk to the proposal, it seems you need a much stronger justif=
ication to include that complexity than the claim that it=E2=80=99s a for=
m of =E2=80=9Ccustomer lock-in=E2=80=9D. Assuming we do simplify the prop=
osal, then once a domain advertises SMTP STS, they will subsequently requ=
ire their hosting provider to offer STS. As domain owners usually pay the=
ir hosting providers, this creates a financial incentive for hosting prov=
iders to offer STS and thus there is no =E2=80=9Ccustomer lock-in=E2=80=9D=
 problem as long as this is standardized properly. Indeed, I=E2=80=99d ar=
gue that removing the timeout and security downgrade mechanisms from the =
security policy part of the proposal make it simpler, more secure and lik=
ely to deploy faster due to financial incentives. Seems like a win-win-wi=
n to me.</div> <div><br></div><div>I feel very strongly that policy for S=
MTP relay should be advertised by SMTP and protected by SMTP TLS. Doing a=
nything else creates a much larger attack surface on the policy informati=
on and is both more complex and less secure. The preferred mechanism to s=
ign SMTP relay routing (DNS MX) is DNSSEC. I=E2=80=99m open to proposals =
for alternate mechanisms to sign MX record information due to the difficu=
lty of deploying DNSSEC, but such mechanisms should not be confused with =
security policy.</div><div><br></div><div>I=E2=80=99m open to proposals t=
o advertise reporting information separately from (or together with) SMTP=
 security policy and to provide a mechanism to report SMTP security witho=
ut requiring SMTP security policy to be present. Given the interest in re=
porting for a broad range of SMTP relay security features, we might want =
to split the reporting function into a separate document.</div><div><br><=
/div><span class=3D=22Apple-tab-span=22 style=3D=22white-space:pre=22>		<=
/span>- Chris<br><p class=3D=22airmail=5Fon=22>On April 1, 2016 at 16:44:=
20 , Daniel Margolis (<a href=3D=22mailto:dmargolis=40google.com=22>dmarg=
olis=40google.com</a>) wrote:</p> <blockquote type=3D=22cite=22 class=3D=22=
clean=5Fbq=22><span><div><div></div><div>



<title></title>


<div dir=3D=22ltr=22>Viktor et al,
<div><br></div>
<div>Two things:</div>
<div><br></div>
<div>=46irst, I've taken a stab at a =22design reasoning =46AQ=22
document:&nbsp;<a href=3D=22https://github.com/mrisher/smtp-sts/wiki/=46A=
Q=22>https://github.com/mrisher/smtp-sts/wiki/=46AQ</a>.
I think most of the contents of this were already discussed on this
list, but hopefully it provides a useful reference.&nbsp;</div>
<div><br></div>
<div>Second, I've tried to write up the reasoning you expressed
here about =22why DNSSEC=3F=22 (for lack of a better term)
here:&nbsp;<a href=3D=22https://github.com/mrisher/smtp-sts/wiki/Why-DNSS=
EC-at-all%3=46=22>https://github.com/mrisher/smtp-sts/wiki/Why-DNSSEC-at-=
all%3=46</a>.
(Not that my writing is necessarily more clear than yours, but
rather to extract it for handy reference in preparation for
hopefully a bit more feedback from other people here.)</div>
<div><br></div>
<div>=46eedback welcome.&nbsp;</div>
<div><br></div>
<div>Dan</div>
</div>
<div class=3D=22gmail=5Fextra=22><br>
<div class=3D=22gmail=5Fquote=22>On Tue, Mar 22, 2016 at 8:58 AM, Daniel
Margolis <span dir=3D=22ltr=22>&lt;<a href=3D=22mailto:dmargolis=40google=
.com=22 target=3D=22=5Fblank=22>dmargolis=40google.com</a>&gt;</span> wro=
te:<br>
<blockquote class=3D=22gmail=5Fquote=22 style=3D=22margin:0 0 0 .8ex;bord=
er-left:1px =23ccc solid;padding-left:1ex=22>
<div dir=3D=22ltr=22>
<div class=3D=22gmail=5Fextra=22>Hi Viktor,&nbsp;</div>
<div class=3D=22gmail=5Fextra=22><br></div>
<div class=3D=22gmail=5Fextra=22>Thanks for all the thoughtful comments.
I'll respond to what (at a glance) seems to be the most significant
three first.&nbsp;</div>
<div class=3D=22gmail=5Fextra=22><br>
<div class=3D=22gmail=5Fquote=22><span class=3D=22=22>On Tue, Mar 22, 201=
6 at
7:35 AM, Viktor Dukhovni <span dir=3D=22ltr=22>&lt;<a href=3D=22mailto:ie=
tf-dane=40dukhovni.org=22 target=3D=22=5Fblank=22>ietf-dane=40dukhovni.or=
g</a>&gt;</span> wrote:<br></span>
<blockquote class=3D=22gmail=5Fquote=22 style=3D=22margin:0px 0px 0px 0.8=
ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-s=
tyle:solid;padding-left:1ex=22>
<span style=3D=22font-size:12.8px=22>&nbsp; &nbsp; A significant obstacle=

to a successful roll-out of WebPKI with<br></span><span style=3D=22font-s=
ize:12.8px=22>&nbsp; &nbsp; SMTP is not such much that
obtaining and deploying CA certs is<br></span><span style=3D=22font-size:=
12.8px=22>&nbsp; &nbsp; onerous (enabling DNSSEC is likely
more difficult at present),<br></span><span style=3D=22font-size:12.8px=22=
>&nbsp; &nbsp; but rather that there is no single
set of CAs that sending and<br></span><span style=3D=22font-size:12.8px=22=
>&nbsp; &nbsp; receiving systems can (or perhaps
should) reasonably agree on.</span><br style=3D=22font-size:12.8px=22>
<span style=3D=22font-size:12.8px=22>&nbsp; &nbsp; On the one hand,
because MTAs employing STS are
non-interactive<br></span><span style=3D=22font-size:12.8px=22>&nbsp;
&nbsp; background processes with no human-operator in the loop
to<br></span><span style=3D=22font-size:12.8px=22>&nbsp; &nbsp; =22click
OK=22 for each exception, the set of CAs a sending
system<br></span><span style=3D=22font-size:12.8px=22>&nbsp; &nbsp;
that employs STS would need to trust would need to be
=22comprehensive<br></span><span style=3D=22font-size:12.8px=22>&nbsp;
&nbsp; enough=22 to include all the CAs used by all the domains
one<br></span><span style=3D=22font-size:12.8px=22>&nbsp; &nbsp; might
need to send email to.</span></blockquote>
<div>&nbsp;</div>
<div>This is of course a big topic, but I don't think we should
assume that in common deployment web browsers *do* rely upon a user
to make some sound human decision about whether to trust a CA. =46or
example, here's the multi-stage process to get Chrome to accept an
untrusted certificate:&nbsp;<a href=3D=22https://docs.oracle.com/cd/E2462=
8=5F01/install.121/e39876/img/scrnshot=5Fadvanced.gif=22 target=3D=22=5Fb=
lank=22>https://docs.oracle.com/cd/E24628=5F01/install.121/e39876/img/scr=
nshot=5Fadvanced.gif</a>.
It's not insignificant to me that Oracle felt the need to document
this process for the users with screenshots: we *don't* expect the
common browser user to make a personal determination of what CAs to
accept, so the =22background process=22 argument is, I think, based on
a false premise.&nbsp;</div>
<div><br></div>
<div>In truth, we expect browser users to defer to their platform
vendors to make sane decisions for them, and we expect the owners
of large websites to be able to pick a CA that is widely trusted.
With the rise of Let's Encrypt and other free CAs, this doesn't
seem overly burdensome.&nbsp;</div>
<div><span class=3D=22=22><br></span></div>
<div><span class=3D=22=22><br></span></div>
<blockquote class=3D=22gmail=5Fquote=22 style=3D=22margin:0px 0px 0px 0.8=
ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-s=
tyle:solid;padding-left:1ex=22>
<span class=3D=22=22><span style=3D=22font-size:12.8px=22>&nbsp; &nbsp; T=
his
requires domains that publish STS records to
duplicate<br></span><span style=3D=22font-size:12.8px=22>&nbsp; &nbsp;
their MX records in the STS RRset.&nbsp; It is not clear why
that's<br></span><span style=3D=22font-size:12.8px=22>&nbsp; &nbsp;
useful.&nbsp; If the STS record itself is not DNSSEC-validated,
the<br></span><span style=3D=22font-size:12.8px=22>&nbsp; &nbsp;
payload is not more secure than the MX RRset.&nbsp; If the
payload<br></span><span style=3D=22font-size:12.8px=22>&nbsp; &nbsp; is
DNSSEC-validated, then the MX RRset in the same zone
would<br></span><span style=3D=22font-size:12.8px=22>&nbsp; &nbsp;
(barring unexpected zone cuts) be equally secure.&nbsp; I posit
that<br></span><span style=3D=22font-size:12.8px=22>&nbsp; &nbsp; this
field is both onerous and superfluous.</span></span></blockquote>
<div><br></div>
<div>There are two differences with the MX records here:</div>
<div><br></div>
<div>1. A (most likely) longer TTL on the STS policy versus the MX
record</div>
<div>2. The option for wildcard's or broader patterns than merely a
list of valid hosts</div>
<div><br></div>
<div>This permits the publishing domain to declare that =22for the
next year, I plan to always host my mail at <a href=3D=22http://example.c=
om=22 target=3D=22=5Fblank=22>example.com</a>=22 without
publishing specific MX records that have a 1-year TTL (which of
course could be brittle).&nbsp;</div>
<div><span class=3D=22=22><br></span></div>
<div><span class=3D=22=22><br></span></div>
<blockquote class=3D=22gmail=5Fquote=22 style=3D=22margin:0px 0px 0px 0.8=
ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-s=
tyle:solid;padding-left:1ex=22>
<span class=3D=22=22>&nbsp; &nbsp; It would be expensive for MTAs to
attempt repeated HTTPS<br>
&nbsp; &nbsp; connections that timeout trying to connect to port
443 at<br>
&nbsp; &nbsp; the majority of domains which have not deployed
STS.<br>
<br>
&nbsp; &nbsp; All that's needed in DNS to support a pure WebPKI STS
is a<br>
&nbsp; &nbsp; boolean value to signal the existence of the STS
resource URI.<br>
&nbsp; &nbsp; This data can be obtained efficiently.&nbsp; If the
=22=5Fsmtp-sts=22 RR<br>
&nbsp; &nbsp; exists (pick a suitable RRtype and fixed short
payload) then<br>
&nbsp; &nbsp; the HTTPS URI should be consulted, otherwise the
HTTPS URI is<br>
&nbsp; &nbsp; not consulted (at first contact), or is consulted
asynchronously,<br>
&nbsp; &nbsp; in parallel with the first mail delivery (with
appropriate spacing<br>
&nbsp; &nbsp; between probes, ...).<br>
<br>
&nbsp; &nbsp; Thus some MTAs might compress the STS DNS record to
zero bits,<br>
&nbsp; &nbsp; and just use asynchronous suitably spaced HTTPS
probes to the<br>
&nbsp; &nbsp; domains for which no policy is presently known.&nbsp;
However the<br>
&nbsp; &nbsp; 1-bit encoding is likely
better.<br></span></blockquote>
<div><span class=3D=22=22><br></span></div>
<div>I also dislike the copying of the policy into two places, for
the reasons Dave noted here: <a href=3D=22https://mailarchive.ietf.org/ar=
ch/msg/ietf-smtp/nqWeUTe03mxJLltC-wHOsVvfbKo=22 target=3D=22=5Fblank=22>h=
ttps://mailarchive.ietf.org/arch/msg/ietf-smtp/nqWeUTe03mxJLltC-wHOsVvfbK=
o</a>.&nbsp;</div>
<div><br></div>
<div>The only real reason to do this is to allow MTAs to cheaply
see if the policy has been updated. This seems like a silly thing,
since in normal usage they never need to check as long as they have
a cached policy, but it's exactly that asymmetry that worries me:
Since in normal usage the traffic to the HTTPS endpoint will be
minuscule compared to the SMTP traffic to the domain, hosts are
likely to dramatically underprovision the former versus the latter.
Unfortunately, then, in the case of a validation *failure*, the
HTTPS endpoint would (absent some other policy TTL separate, and
shorter from, the expiration lifetime) be bombarded with an HTTP
GET *once* *per* email.&nbsp;</div>
<div><br></div>
<div>So all we're really doing here (in the webpki case) is
leveraging DNS as a sort of caching layer. An alternative solution
would be what I hinted at above: to simply embed a short =22TTL=22 in
the policy. Or to say we don't care and encourage the use of
HEAD.&nbsp;</div>
<div><br></div>
<div>If we are willing to force the webpki validation method (as
you assumed, I think, above) and don't mind making senders handle
this short-term TTL logic, &nbsp;I think we could make the
publishing process simpler, with the advantage Dave noted in the
above-linked thread (i.e. an easier deployment for customers of
hosted mail services).&nbsp;</div>
<div><br></div>
<div>I'm somewhat on the fence about this trade-off myself, but I
don't think it's unreasonable. Thoughts=3F</div>
</div>
</div>
</div>
</blockquote>
</div>
<br></div>


=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F
<br>Uta mailing list
<br>Uta=40ietf.org
<br>https://www.ietf.org/mailman/listinfo/uta
<br></div></div></span></blockquote> <div id=3D=22bloop=5Fsign=5F14595424=
93510521856=22 class=3D=22bloop=5Fsign=22></div></body></html>=

--Boundary_(ID_FgyqbhE0RTjzhCtRPg/OfQ)--


From nobody Fri Apr  1 15:18:19 2016
Return-Path: <ietf-dane@dukhovni.org>
X-Original-To: uta@ietfa.amsl.com
Delivered-To: uta@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5279912D5A5 for <uta@ietfa.amsl.com>; Fri,  1 Apr 2016 15:18:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001] 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 eKb3TImseJ1t for <uta@ietfa.amsl.com>; Fri,  1 Apr 2016 15:18:16 -0700 (PDT)
Received: from mournblade.imrryr.org (mournblade.imrryr.org [38.117.134.19]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 54BB612D0B0 for <uta@ietf.org>; Fri,  1 Apr 2016 15:18:16 -0700 (PDT)
Received: by mournblade.imrryr.org (Postfix, from userid 1034) id 16C7C284F27; Fri,  1 Apr 2016 22:18:15 +0000 (UTC)
Date: Fri, 1 Apr 2016 22:18:15 +0000
From: Viktor Dukhovni <ietf-dane@dukhovni.org>
To: uta@ietf.org
Message-ID: <20160401221814.GN6602@mournblade.imrryr.org>
References: <CAB0W=GS2PXF-divC+SNs+A-jH1-_BBA889-TbQXHvrVsrbKLEA@mail.gmail.com> <CAB0W=GSQ4oTLT+qepMi7Pj5=UmBD70D_uW7c193RY-gw818ORA@mail.gmail.com> <CAB0W=GRB_6LhqEGYzeYq-srnM99wqwZrdjUEm=vJ7+oFiKbYoA@mail.gmail.com> <CAB0W=GTGja5JtxGuCzhD6O3B2Ow-wLN-B6WQ8XUDyvQRqdFZxw@mail.gmail.com> <20160322063527.GD6602@mournblade.imrryr.org> <CANtKdUeh8LV1uaWAyRqQ2ou4pdTNvKgzuJ5kKsQLwPFORqrDQA@mail.gmail.com> <CANtKdUcX0HqNzqzr=Dh05x09hEZyMZnsPQBCi8TXRQccpYARiQ@mail.gmail.com> <etPan.56feec95.141a081e.3fe@dhcp-amer-vpn-adc-anyconnect-10-154-130-14.vpn.oracle.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <etPan.56feec95.141a081e.3fe@dhcp-amer-vpn-adc-anyconnect-10-154-130-14.vpn.oracle.com>
User-Agent: Mutt/1.5.24 (2015-08-30)
Archived-At: <http://mailarchive.ietf.org/arch/msg/uta/dWWDTGNJ4483JRJca1QhV4ukoUI>
Subject: Re: [Uta] New proposal: SMTP Strict Transport Security
X-BeenThere: uta@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
Reply-To: uta@ietf.org
List-Id: UTA working group mailing list <uta.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/uta>, <mailto:uta-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/uta/>
List-Post: <mailto:uta@ietf.org>
List-Help: <mailto:uta-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/uta>, <mailto:uta-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 01 Apr 2016 22:18:18 -0000

On Fri, Apr 01, 2016 at 06:48:00PM -0300, Chris Newman wrote:

> I feel very strongly that policy for SMTP relay should be advertised by
> SMTP and protected by SMTP TLS. Doing anything else creates a much larger
> attack surface on the policy information and is both more complex and less
> secure. The preferred mechanism to sign SMTP relay routing (DNS MX) is
> DNSSEC. I'm open to proposals for alternate mechanisms to sign MX record
> information due to the difficulty of deploying DNSSEC, but such mechanisms
> should not be confused with security policy.

Unfortunately, in MTA-to-MTA SMTP, the receiving SMTP server has
no idea what domain the sending SMTP client wants to deliver mail
to at the time that it advertises its ESMTP extensions in the EHLO
response.

For this (and other related) reasons, in-band SMTP security policy
can only be communicated for the given SMTP server, and not the
recipient domain.

A relay MTA MUST NOT make any conclusions about recipient domain
security based on security policy advertised by a particular MX
host.  An individual MX host cannot advertise security policy
(implicitly) for every single domain it happens to receive mail
for, except for future relaying via that *same* MX host.

To secure SMTP relay traffic to a recipient domain, the routing
needs to be secured by some means.  STS (with sensible modifications)
proposes doing so via an HTTPS well-known URI associated with the
recipient domain.  This is achieved via DNS-based signalling of
the existence of the STS well-known URI, and likely DNS-based
signalling that a cached policy is stale and should be refreshed. 

Your suggestion, in that light, should be interpreted to say that
the STS URI should be used to only secure the routing information
(security for MX records via HTTPS rather than DNSSEC), and that
once the routing information is secured, security policy for the
given relay be in-band via SMTP and modeled on DEEP.

Note that consequently, a domain would be able to downgrade to a
non-TLS provider, by serving a routing-only policy that references
new MX hosts that don't support a new relay-MTA flavour of DEEP.

Also, when a sending relay sees new MX RRs incompatible with a
cached routing policy, it would be able to refresh that policy,
(provided the well-known STS URI is still up and running) and
deliver via the subset of MX hosts that match the refreshed policy.

[ MX hosts that don't match the policy MUST NOT be ignored when
  doing relay loop elimination.  They would have to be treated
  as though connections to them are failing, not as though they
  weren't part of the MX RRset. ]

-- 
	Viktor.


From nobody Sat Apr  2 07:40:01 2016
Return-Path: <alexey.melnikov@isode.com>
X-Original-To: uta@ietfa.amsl.com
Delivered-To: uta@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 536F112D15F for <uta@ietfa.amsl.com>; Sat,  2 Apr 2016 07:40:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.011
X-Spam-Level: 
X-Spam-Status: No, score=-2.011 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=isode.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 waleGqy1rord for <uta@ietfa.amsl.com>; Sat,  2 Apr 2016 07:39:59 -0700 (PDT)
Received: from waldorf.isode.com (waldorf.isode.com [62.232.206.188]) by ietfa.amsl.com (Postfix) with ESMTP id 0D5DA12D159 for <uta@ietf.org>; Sat,  2 Apr 2016 07:39:59 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1459607998; d=isode.com; s=selector; i=@isode.com; bh=5SZBILs+KBylggA/S649EcYz1py3D0itQFuu9OoxWQE=; h=From:Sender:Reply-To:Subject:Date:Message-ID:To:Cc:MIME-Version: In-Reply-To:References:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description; b=ZQPNxTPJk+J2pTQGXLlEfHewU47Svxifpu+80plluAtBbS7lNwV1vut3OzXSBVWkBE72ca lYBG+tpaSQD/4f639n/NW7HCTz730OGCXhKQ4ypePQtjdpN6nb342TyZsOkOgVnhqutPgJ cyhHx6AK6d3ac/fH7rrAzHuVjejfkcA=;
Received: from [31.133.176.75] (dhcp-b04b.meeting.ietf.org [31.133.176.75])  by waldorf.isode.com (submission channel) via TCP with ESMTPSA  id <Vv=ZvQBTMW5I@waldorf.isode.com>; Sat, 2 Apr 2016 15:39:58 +0100
X-SMTP-Protocol-Errors: PIPELINING
From: Alexey Melnikov <alexey.melnikov@isode.com>
X-Mailer: iPad Mail (13D15)
In-Reply-To: <etPan.56feec95.141a081e.3fe@dhcp-amer-vpn-adc-anyconnect-10-154-130-14.vpn.oracle.com>
Date: Sat, 2 Apr 2016 15:46:25 +0100
Message-Id: <E5BE84EA-7984-42FF-9AFB-6C8FD42959AF@isode.com>
References: <CAB0W=GS2PXF-divC+SNs+A-jH1-_BBA889-TbQXHvrVsrbKLEA@mail.gmail.com> <CAB0W=GSQ4oTLT+qepMi7Pj5=UmBD70D_uW7c193RY-gw818ORA@mail.gmail.com> <CAB0W=GRB_6LhqEGYzeYq-srnM99wqwZrdjUEm=vJ7+oFiKbYoA@mail.gmail.com> <CAB0W=GTGja5JtxGuCzhD6O3B2Ow-wLN-B6WQ8XUDyvQRqdFZxw@mail.gmail.com> <20160322063527.GD6602@mournblade.imrryr.org> <CANtKdUeh8LV1uaWAyRqQ2ou4pdTNvKgzuJ5kKsQLwPFORqrDQA@mail.gmail.com> <CANtKdUcX0HqNzqzr=Dh05x09hEZyMZnsPQBCi8TXRQccpYARiQ@mail.gmail.com> <etPan.56feec95.141a081e.3fe@dhcp-amer-vpn-adc-anyconnect-10-154-130-14.vpn.oracle.com>
To: Chris Newman <chris.newman@oracle.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=windows-1251
Content-Transfer-Encoding: quoted-printable
Archived-At: <http://mailarchive.ietf.org/arch/msg/uta/MXS__233nzfR3hW9EJj8PaPNEEA>
Cc: uta@ietf.org, Daniel Margolis <dmargolis@google.com>
Subject: Re: [Uta] New proposal: SMTP Strict Transport Security
X-BeenThere: uta@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: UTA working group mailing list <uta.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/uta>, <mailto:uta-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/uta/>
List-Post: <mailto:uta@ietf.org>
List-Help: <mailto:uta-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/uta>, <mailto:uta-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 02 Apr 2016 14:40:00 -0000

> On 1 Apr 2016, at 22:48, Chris Newman <chris.newman@oracle.com> wrote:
>=20
> I=92m open to proposals to advertise reporting information separately from=
 (or together with) SMTP security policy and to provide a mechanism to repor=
t SMTP security without requiring SMTP security policy to be present. Given t=
he interest in reporting for a broad range of SMTP relay security features, w=
e might want to split the reporting function into a separate document.

I think having reporting in a separate document makes sense.


From nobody Sun Apr  3 06:53:08 2016
Return-Path: <dmargolis@google.com>
X-Original-To: uta@ietfa.amsl.com
Delivered-To: uta@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6AFE512D175 for <uta@ietfa.amsl.com>; Sun,  3 Apr 2016 06:53:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.71
X-Spam-Level: 
X-Spam-Status: No, score=-2.71 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=google.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 eai88VmdbrTS for <uta@ietfa.amsl.com>; Sun,  3 Apr 2016 06:53:04 -0700 (PDT)
Received: from mail-ig0-x236.google.com (mail-ig0-x236.google.com [IPv6:2607:f8b0:4001:c05::236]) (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 636CD12D115 for <uta@ietf.org>; Sun,  3 Apr 2016 06:53:04 -0700 (PDT)
Received: by mail-ig0-x236.google.com with SMTP id l20so44762464igf.0 for <uta@ietf.org>; Sun, 03 Apr 2016 06:53:04 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=Z4wByMCtXu0a00khc7CTxUCWrMtnbpEm7Dj5aerykUk=; b=pcHveBTCG+2y8gYW2nVz3doR2VOOVrLF4yHfC+WQQvqXVTmj7Yn5R+ANKjK5YI1qYE x3Zjg/j0l3Y30YA1kPGjBEAb0v5iD6GFOBDAQtG3BJlExkV8FXpAwytSfIu4k/oGN1fd fvaAm/eA6ciIPRRouT68MANz2aYTcaXnqsIhTFO/vGRabgivSxguzCyqpG01iMk67Ww8 IO8HteTpBOQ+57EUVoqrdSmudf2aUzrfI4YueEhbD5GXToPsCOqKhzzpRzPPPxKeSAKg IIfzxL4OnUaNd3Hy96QxajDrf7fKrvqJBkAzE4LWH8WG1XgJvVpXkbWyrjK+89vhu/80 8rfQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=Z4wByMCtXu0a00khc7CTxUCWrMtnbpEm7Dj5aerykUk=; b=VQ8UeiBRYG3Ya7+nhHheKUPd1xGfxwALCh6vsQjD2EZGWNqmpYEAJUcZjpXvKA8Gke Nwt0WYzUOCZ+YwnxITEw9RJFHBFZAftFUTlNEtWWoHvuaYwK+lzxVhhr96iYbbdiau4T ifScsd0cIPeWDA6rbRHXfB9/D1C5u7bqFIO+7H4XEL8gMVdVapZD8fphOwL0QIbbGlHl cWawB80gwGZSRdkBm2LBwDJNsv28qkppNiLFB5/WCbXmwFRwbTMTVunLhHF2LbNdaKwp L8gpXnXoq7IZ41YyrEgd8M4NyptunyGPlxF1pkRzhRU7Hu5itoE5agwhmo8KIrQO3f5W QCFw==
X-Gm-Message-State: AD7BkJJ4LDs3TvpJTtUsPagCYdSXZm/WeEccJb1dLshlLGqDaNOxJQE/OTKeVmhV3G8NQOYGWjzfwbyOZS1ncfjn
MIME-Version: 1.0
X-Received: by 10.107.12.67 with SMTP id w64mr13142880ioi.114.1459691583224; Sun, 03 Apr 2016 06:53:03 -0700 (PDT)
Received: by 10.64.101.98 with HTTP; Sun, 3 Apr 2016 06:53:02 -0700 (PDT)
In-Reply-To: <E5BE84EA-7984-42FF-9AFB-6C8FD42959AF@isode.com>
References: <CAB0W=GS2PXF-divC+SNs+A-jH1-_BBA889-TbQXHvrVsrbKLEA@mail.gmail.com> <CAB0W=GSQ4oTLT+qepMi7Pj5=UmBD70D_uW7c193RY-gw818ORA@mail.gmail.com> <CAB0W=GRB_6LhqEGYzeYq-srnM99wqwZrdjUEm=vJ7+oFiKbYoA@mail.gmail.com> <CAB0W=GTGja5JtxGuCzhD6O3B2Ow-wLN-B6WQ8XUDyvQRqdFZxw@mail.gmail.com> <20160322063527.GD6602@mournblade.imrryr.org> <CANtKdUeh8LV1uaWAyRqQ2ou4pdTNvKgzuJ5kKsQLwPFORqrDQA@mail.gmail.com> <CANtKdUcX0HqNzqzr=Dh05x09hEZyMZnsPQBCi8TXRQccpYARiQ@mail.gmail.com> <etPan.56feec95.141a081e.3fe@dhcp-amer-vpn-adc-anyconnect-10-154-130-14.vpn.oracle.com> <E5BE84EA-7984-42FF-9AFB-6C8FD42959AF@isode.com>
Date: Sun, 3 Apr 2016 15:53:02 +0200
Message-ID: <CANtKdUfjHHE2YYc6HhC3ppe94p3G86ejMAzj05mShV54+_XF0g@mail.gmail.com>
From: Daniel Margolis <dmargolis@google.com>
To: Alexey Melnikov <alexey.melnikov@isode.com>
Content-Type: multipart/alternative; boundary=001a113f92b64d6d0b052f94eecf
Archived-At: <http://mailarchive.ietf.org/arch/msg/uta/I0FzyKI7Ql0CK_YWj-6EppIIzh8>
Cc: uta@ietf.org, Chris Newman <chris.newman@oracle.com>
Subject: Re: [Uta] New proposal: SMTP Strict Transport Security
X-BeenThere: uta@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: UTA working group mailing list <uta.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/uta>, <mailto:uta-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/uta/>
List-Post: <mailto:uta@ietf.org>
List-Help: <mailto:uta-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/uta>, <mailto:uta-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 03 Apr 2016 13:53:06 -0000

--001a113f92b64d6d0b052f94eecf
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Alexey,

If we adopt the changes suggested by Viktor (which I described here:
https://github.com/mrisher/smtp-sts/wiki/Why-DNSSEC-at-all%3F), splitting
the reporting information ("rua") into its own DNS record has the advantage
that domains that support DANE today could request reporting without
deploying an STS record. So I think that makes sense (and naturally
suggests reporting should be a separate document as well). I don't think
this should be very contentious.

Regarding Chris and Viktor's discussion:

Chris, just to ensure I understand you properly, you're suggesting that the
MX information (which MX servers are expected) and the policy ("require TLS
with a valid cert") be split, with the former served as described (HTTPS)
and the latter served by the MX itself?

As far as I can see, the implications of this are:

1. As Viktor said, the policy information can only be per-MX. That's not a
problem (DANE works this way), but I'm not sure it's a benefit, either. One
implication is that it could be harder to determine (say, at the time
someone is composing an email) if the recipient domain will support secure
delivery, since the policy is not per-domain (unless the sender refuses to
use some MXs...).

2. It seems like it increases the deployment requirements for inbound mail,
since currently to achieve "always use TLS" as a *receiver* no MTA changes
are necessarily. (This is similar to DANE.) To support the SMTP extension
recipient MTAs would have to advertise it.

It's also not clear to me how this really simplifies things, since it seems
like two components are needed now instead of one: one method to get
routing information (either DNSSEC or HTTPS) and one to get policy
information (something in the SMTP exchange). With either DANE or
STS-as-proposed, there's only a single channel, which I think is a virtue.

Finally, I think the pros and cons of allowing users of hosted mail
providers to downgrade their security are in fact not strongly relevant
here, since in any version in which a domain can update routing information
and the policy information is per-host they can in fact downgrade anyway,
as Viktor said.

So I guess I'm still unsure of the primary motivation for making such a
change. If we have to get routing information securely, why not use
whatever channel to also get policy information? The one is useless without
the other, after all. Requiring a change to participating MTAs may seem to
make it easier (since those of us implementing this probably know the MTA
code better), but it doesn't eliminate the prerequisite for that other
secure channel, does it?

Thanks again,
Dan


On Sat, Apr 2, 2016 at 4:46 PM, Alexey Melnikov <alexey.melnikov@isode.com>
wrote:

>
> > On 1 Apr 2016, at 22:48, Chris Newman <chris.newman@oracle.com> wrote:
> >
> > I=E2=80=99m open to proposals to advertise reporting information separa=
tely from
> (or together with) SMTP security policy and to provide a mechanism to
> report SMTP security without requiring SMTP security policy to be present=
.
> Given the interest in reporting for a broad range of SMTP relay security
> features, we might want to split the reporting function into a separate
> document.
>
> I think having reporting in a separate document makes sense.
>
>

--001a113f92b64d6d0b052f94eecf
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Alexey,</div><div><br></div>If we adopt the changes s=
uggested by Viktor (which I described here: <a href=3D"https://github.com/m=
risher/smtp-sts/wiki/Why-DNSSEC-at-all%3F">https://github.com/mrisher/smtp-=
sts/wiki/Why-DNSSEC-at-all%3F</a>), splitting the reporting information (&q=
uot;rua&quot;) into its own DNS record has the advantage that domains that =
support DANE today could request reporting without deploying an STS record.=
 So I think that makes sense (and naturally suggests reporting should be a =
separate document as well). I don&#39;t think this should be very contentio=
us.<div><br></div><div>Regarding Chris and Viktor&#39;s discussion:</div><d=
iv><br></div><div>Chris, just to ensure I understand you properly, you&#39;=
re suggesting that the MX information (which MX servers are expected) and t=
he policy (&quot;require TLS with a valid cert&quot;) be split, with the fo=
rmer served as described (HTTPS) and the latter served by the MX itself?=C2=
=A0</div><div><br></div><div>As far as I can see, the implications of this =
are:</div><div><br></div><div>1. As Viktor said, the policy information can=
 only be per-MX. That&#39;s not a problem (DANE works this way), but I&#39;=
m not sure it&#39;s a benefit, either. One implication is that it could be =
harder to determine (say, at the time someone is composing an email) if the=
 recipient domain will support secure delivery, since the policy is not per=
-domain (unless the sender refuses to use some MXs...).</div><div><br></div=
><div>2. It seems like it increases the deployment requirements for inbound=
 mail, since currently to achieve &quot;always use TLS&quot; as a <i>receiv=
er</i>=C2=A0no MTA changes are necessarily. (This is similar to DANE.) To s=
upport the SMTP extension recipient MTAs would have to advertise it.</div><=
div><br></div><div>It&#39;s also not clear to me how this really simplifies=
 things, since it seems like two components are needed now instead of one: =
one method to get routing information (either DNSSEC or HTTPS) and one to g=
et policy information (something in the SMTP exchange). With either DANE or=
 STS-as-proposed, there&#39;s only a single channel, which I think is a vir=
tue.=C2=A0</div><div><br></div><div>Finally, I think the pros and cons of a=
llowing users of hosted mail providers to downgrade their security are in f=
act not strongly relevant here, since in any version in which a domain can =
update routing information and the policy information is per-host they can =
in fact downgrade anyway, as Viktor said.=C2=A0</div><div><br></div><div>So=
 I guess I&#39;m still unsure of the primary motivation for making such a c=
hange. If we have to get routing information securely, why not use whatever=
 channel to also get policy information? The one is useless without the oth=
er, after all. Requiring a change to participating MTAs may seem to make it=
 easier (since those of us implementing this probably know the MTA code bet=
ter), but it doesn&#39;t eliminate the prerequisite for that other secure c=
hannel, does it?=C2=A0</div><div><br></div><div>Thanks again,=C2=A0</div><d=
iv>Dan</div><div><br></div></div><div class=3D"gmail_extra"><br><div class=
=3D"gmail_quote">On Sat, Apr 2, 2016 at 4:46 PM, Alexey Melnikov <span dir=
=3D"ltr">&lt;<a href=3D"mailto:alexey.melnikov@isode.com" target=3D"_blank"=
>alexey.melnikov@isode.com</a>&gt;</span> wrote:<br><blockquote class=3D"gm=
ail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-le=
ft:1ex"><span class=3D""><br>
&gt; On 1 Apr 2016, at 22:48, Chris Newman &lt;<a href=3D"mailto:chris.newm=
an@oracle.com">chris.newman@oracle.com</a>&gt; wrote:<br>
&gt;<br>
&gt; I=E2=80=99m open to proposals to advertise reporting information separ=
ately from (or together with) SMTP security policy and to provide a mechani=
sm to report SMTP security without requiring SMTP security policy to be pre=
sent. Given the interest in reporting for a broad range of SMTP relay secur=
ity features, we might want to split the reporting function into a separate=
 document.<br>
<br>
</span>I think having reporting in a separate document makes sense.<br>
<br>
</blockquote></div><br></div>

--001a113f92b64d6d0b052f94eecf--


From nobody Sun Apr  3 21:28:04 2016
Return-Path: <chris.newman@oracle.com>
X-Original-To: uta@ietfa.amsl.com
Delivered-To: uta@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3F10312D196 for <uta@ietfa.amsl.com>; Sun,  3 Apr 2016 21:28:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.211
X-Spam-Level: 
X-Spam-Status: No, score=-4.211 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] 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 C33C6MN_iBYd for <uta@ietfa.amsl.com>; Sun,  3 Apr 2016 21:28:02 -0700 (PDT)
Received: from userp1040.oracle.com (userp1040.oracle.com [156.151.31.81]) (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 2B78C12D0CF for <uta@ietf.org>; Sun,  3 Apr 2016 21:28:02 -0700 (PDT)
Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id u344S1v6014822 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for <uta@ietf.org>; Mon, 4 Apr 2016 04:28:01 GMT
Received: from gotmail.us.oracle.com (gotmail.us.oracle.com [10.133.152.174]) by userv0022.oracle.com (8.14.4/8.13.8) with ESMTP id u344S1Id020327 for <uta@ietf.org>; Mon, 4 Apr 2016 04:28:01 GMT
MIME-version: 1.0
Content-type: multipart/alternative; boundary="Boundary_(ID_cbGheYtbYtxZfffO7DGdDw)"
Received: from dhcp-amer-vpn-adc-anyconnect-10-154-189-72.vpn.oracle.com (dhcp-amer-vpn-adc-anyconnect-10-154-189-72.vpn.oracle.com [10.154.189.72]) by gotmail.us.oracle.com (Oracle Communications Messaging Server 8.0.0.0.0 64bit (built Mar 19 2015)) with ESMTPSA id <0O53007B3DQ8UT00@gotmail.us.oracle.com> for uta@ietf.org; Sun, 03 Apr 2016 21:27:54 -0700 (PDT)
Date: Mon, 04 Apr 2016 01:27:37 -0300
From: Chris Newman <chris.newman@oracle.com>
To: uta@ietf.org
Message-id: <etPan.5701ed3e.4240ccb9.98f2@dhcp-amer-vpn-adc-anyconnect-10-154-189-72.vpn.oracle.com>
In-reply-to: <20160401221814.GN6602@mournblade.imrryr.org>
References: <CAB0W=GS2PXF-divC+SNs+A-jH1-_BBA889-TbQXHvrVsrbKLEA@mail.gmail.com> <CAB0W=GSQ4oTLT+qepMi7Pj5=UmBD70D_uW7c193RY-gw818ORA@mail.gmail.com> <CAB0W=GRB_6LhqEGYzeYq-srnM99wqwZrdjUEm=vJ7+oFiKbYoA@mail.gmail.com> <CAB0W=GTGja5JtxGuCzhD6O3B2Ow-wLN-B6WQ8XUDyvQRqdFZxw@mail.gmail.com> <20160322063527.GD6602@mournblade.imrryr.org> <CANtKdUeh8LV1uaWAyRqQ2ou4pdTNvKgzuJ5kKsQLwPFORqrDQA@mail.gmail.com> <CANtKdUcX0HqNzqzr=Dh05x09hEZyMZnsPQBCi8TXRQccpYARiQ@mail.gmail.com> <etPan.56feec95.141a081e.3fe@dhcp-amer-vpn-adc-anyconnect-10-154-130-14.vpn.oracle.com> <20160401221814.GN6602@mournblade.imrryr.org>
X-Mailer: Airmail (351)
X-Source-IP: userv0022.oracle.com [156.151.31.74]
Archived-At: <http://mailarchive.ietf.org/arch/msg/uta/YKvEd160C3IYW1jEhrtGIT0SBxE>
Subject: Re: [Uta] New proposal: SMTP Strict Transport Security
X-BeenThere: uta@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: UTA working group mailing list <uta.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/uta>, <mailto:uta-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/uta/>
List-Post: <mailto:uta@ietf.org>
List-Help: <mailto:uta-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/uta>, <mailto:uta-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 04 Apr 2016 04:28:04 -0000

--Boundary_(ID_cbGheYtbYtxZfffO7DGdDw)
Content-type: text/plain; charset=utf-8
Content-transfer-encoding: quoted-printable
Content-disposition: inline

On April 1, 2016 at 19:18:31 , Viktor Dukhovni (ietf-dane=40dukhovni.org)=
 wrote:
On =46ri, Apr 01, 2016 at 06:48:00PM -0300, Chris Newman wrote:=C2=A0

> I feel very strongly that policy for SMTP relay should be advertised by=
=C2=A0
> SMTP and protected by SMTP TLS. Doing anything else creates a much larg=
er=C2=A0
> attack surface on the policy information and is both more complex and l=
ess=C2=A0
> secure. The preferred mechanism to sign SMTP relay routing (DNS MX) is=C2=
=A0
> DNSSEC. I'm open to proposals for alternate mechanisms to sign MX recor=
d=C2=A0
> information due to the difficulty of deploying DNSSEC, but such mechani=
sms=C2=A0
> should not be confused with security policy.=C2=A0

Unfortunately, in MTA-to-MTA SMTP, the receiving SMTP server has=C2=A0
no idea what domain the sending SMTP client wants to deliver mail=C2=A0
to at the time that it advertises its ESMTP extensions in the EHLO=C2=A0
response.=C2=A0
This correctly identifies a key difference between SMTP relay and SMTP su=
bmission. I had missed this, thank you for raising it=21

=46or SMTP submission, there=E2=80=99s an early-indication of domain owne=
rship from the mandatory user authentication (multi-domain hosting servic=
es tend to use email address as user name to get this benefit). =46or SMT=
P relay we have no mechanism to indicate the intended domain so to handle=
 the case of a multi-domain hosting service that offers different policie=
s for different domains we=E2=80=99d need to add a way to communicate int=
ended domain early. This can be done with an SMTP verb (adding a round tr=
ip) or by using TLS ALPN or something similar (no new round trip).

=46or this (and other related) reasons, in-band SMTP security policy=C2=A0=

can only be communicated for the given SMTP server, and not the=C2=A0
recipient domain.=C2=A0
I=E2=80=99m not convinced this is true. I=E2=80=99d like to hear those ot=
her reasons.

A relay MTA MUST NOT make any conclusions about recipient domain=C2=A0
security based on security policy advertised by a particular MX=C2=A0
host. An individual MX host cannot advertise security policy=C2=A0
(implicitly) for every single domain it happens to receive mail=C2=A0
for, except for future relaying via that *same* MX host.
If the MX-from-DNS isn=E2=80=99t trusted, then no policy can be trusted. =
But STS-from-DNS has the same issue.

To secure SMTP relay traffic to a recipient domain, the routing=C2=A0
needs to be secured by some means. STS (with sensible modifications)=C2=A0=

proposes doing so via an HTTPS well-known URI associated with the=C2=A0
recipient domain. This is achieved via DNS-based signalling of=C2=A0
the existence of the STS well-known URI, and likely DNS-based=C2=A0
signalling that a cached policy is stale and should be refreshed.=C2=A0

Your suggestion, in that light, should be interpreted to say that=C2=A0
the STS URI should be used to only secure the routing information=C2=A0
(security for MX records via HTTPS rather than DNSSEC), and that=C2=A0
once the routing information is secured, security policy for the=C2=A0
given relay be in-band via SMTP and modeled on DEEP.=C2=A0
Mostly yes. I=E2=80=99d also want to consider an optimization to skip the=
 HTTPS step for self-hosted domains just to reduce overall new traffic.

Note that consequently, a domain would be able to downgrade to a=C2=A0
non-TLS provider, by serving a routing-only policy that references=C2=A0
new MX hosts that don't support a new relay-MTA flavour of DEEP.=C2=A0
We decide in the specification whether the policy attaches to the domain =
or the SMTP hostname. This is a design choice.

Also, when a sending relay sees new MX RRs incompatible with a=C2=A0
cached routing policy, it would be able to refresh that policy,=C2=A0
(provided the well-known STS URI is still up and running) and=C2=A0
deliver via the subset of MX hosts that match the refreshed policy.=C2=A0=

This all follows from a conclusion I don=E2=80=99t agree with.

=5B MX hosts that don't match the policy MUST NOT be ignored when=C2=A0
doing relay loop elimination. They would have to be treated=C2=A0
as though connections to them are failing, not as though they=C2=A0
weren't part of the MX RRset. =5D=C2=A0
Once policy is latched for a domain, any SMTP relay not complying with th=
e policy is a failure. We=E2=80=99ll want to make sure we get the 4xx vs.=
 5xx rules right in the spec for this.

		- Chris


--Boundary_(ID_cbGheYtbYtxZfffO7DGdDw)
Content-type: text/html; charset=utf-8
Content-transfer-encoding: quoted-printable
Content-disposition: inline

<html><head><style>body=7Bfont-family:Helvetica,Arial;font-size:13px=7D</=
style></head><body style=3D=22word-wrap: break-word; -webkit-nbsp-mode: s=
pace; -webkit-line-break: after-white-space;=22><div id=3D=22bloop=5Fcust=
omfont=22 style=3D=22font-family:Helvetica,Arial;font-size:13px; color: r=
gba(0,0,0,1.0); margin: 0px; line-height: auto;=22>On April 1, 2016 at 19=
:18:31 , Viktor Dukhovni (<a href=3D=22mailto:ietf-dane=40dukhovni.org=22=
>ietf-dane=40dukhovni.org</a>) wrote:</div> <div><blockquote type=3D=22ci=
te=22 class=3D=22clean=5Fbq=22 style=3D=22font-family: Helvetica, Arial; =
font-size: 13px; font-style: normal; font-variant-caps: normal; font-weig=
ht: normal; letter-spacing: normal; orphans: auto; text-align: start; tex=
t-indent: 0px; text-transform: none; white-space: normal; widows: auto; w=
ord-spacing: 0px; -webkit-text-stroke-width: 0px;=22><span><div><div></di=
v><div>On =46ri, Apr 01, 2016 at 06:48:00PM -0300, Chris Newman wrote:<sp=
an class=3D=22Apple-converted-space=22>&nbsp;</span><br><br>&gt; I feel v=
ery strongly that policy for SMTP relay should be advertised by<span clas=
s=3D=22Apple-converted-space=22>&nbsp;</span><br>&gt; SMTP and protected =
by SMTP TLS. Doing anything else creates a much larger<span class=3D=22Ap=
ple-converted-space=22>&nbsp;</span><br>&gt; attack surface on the policy=
 information and is both more complex and less<span class=3D=22Apple-conv=
erted-space=22>&nbsp;</span><br>&gt; secure. The preferred mechanism to s=
ign SMTP relay routing (DNS MX) is<span class=3D=22Apple-converted-space=22=
>&nbsp;</span><br>&gt; DNSSEC. I'm open to proposals for alternate mechan=
isms to sign MX record<span class=3D=22Apple-converted-space=22>&nbsp;</s=
pan><br>&gt; information due to the difficulty of deploying DNSSEC, but s=
uch mechanisms<span class=3D=22Apple-converted-space=22>&nbsp;</span><br>=
&gt; should not be confused with security policy.<span class=3D=22Apple-c=
onverted-space=22>&nbsp;</span><br><br>Unfortunately, in MTA-to-MTA SMTP,=
 the receiving SMTP server has<span class=3D=22Apple-converted-space=22>&=
nbsp;</span><br>no idea what domain the sending SMTP client wants to deli=
ver mail<span class=3D=22Apple-converted-space=22>&nbsp;</span><br>to at =
the time that it advertises its ESMTP extensions in the EHLO<span class=3D=
=22Apple-converted-space=22>&nbsp;</span><br>response.<span class=3D=22Ap=
ple-converted-space=22>&nbsp;</span></div></div></span></blockquote></div=
><p>This correctly identifies a key difference between SMTP relay and SMT=
P submission. I had missed this, thank you for raising it=21</p><p>=46or =
SMTP submission, there=E2=80=99s an early-indication of domain ownership =
from the mandatory user authentication (multi-domain hosting services ten=
d to use email address as user name to get this benefit). =46or SMTP rela=
y we have no mechanism to indicate the intended domain so to handle the c=
ase of a multi-domain hosting service that offers different policies for =
different domains we=E2=80=99d need to add a way to communicate intended =
domain early. This can be done with an SMTP verb (adding a round trip) or=
 by using TLS ALPN or something similar (no new round trip).</p><div><div=
><blockquote type=3D=22cite=22 class=3D=22clean=5Fbq=22 style=3D=22font-f=
amily: Helvetica, Arial; font-size: 13px; font-style: normal; font-varian=
t-caps: normal; font-weight: normal; letter-spacing: normal; orphans: aut=
o; text-align: start; text-indent: 0px; text-transform: none; white-space=
: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px=
;=22><span><div><div>=46or this (and other related) reasons, in-band SMTP=
 security policy<span class=3D=22Apple-converted-space=22>&nbsp;</span><b=
r>can only be communicated for the given SMTP server, and not the<span cl=
ass=3D=22Apple-converted-space=22>&nbsp;</span><br>recipient domain.<span=
 class=3D=22Apple-converted-space=22>&nbsp;</span></div></div></span></bl=
ockquote></div><p>I=E2=80=99m not convinced this is true. I=E2=80=99d lik=
e to hear those other reasons.</p><div><div><blockquote type=3D=22cite=22=
 class=3D=22clean=5Fbq=22 style=3D=22font-family: Helvetica, Arial; font-=
size: 13px; font-style: normal; font-variant-caps: normal; font-weight: n=
ormal; letter-spacing: normal; orphans: auto; text-align: start; text-ind=
ent: 0px; text-transform: none; white-space: normal; widows: auto; word-s=
pacing: 0px; -webkit-text-stroke-width: 0px;=22><span><div><div>A relay M=
TA MUST NOT make any conclusions about recipient domain<span class=3D=22A=
pple-converted-space=22>&nbsp;</span><br>security based on security polic=
y advertised by a particular MX<span class=3D=22Apple-converted-space=22>=
&nbsp;</span><br>host. An individual MX host cannot advertise security po=
licy<span class=3D=22Apple-converted-space=22>&nbsp;</span><br>(implicitl=
y) for every single domain it happens to receive mail<span class=3D=22App=
le-converted-space=22>&nbsp;</span><br>for, except for future relaying vi=
a that *same* MX host.</div></div></span></blockquote></div><p>If the MX-=
from-DNS isn=E2=80=99t trusted, then no policy can be trusted. But STS-fr=
om-DNS has the same issue.</p><div><div><blockquote type=3D=22cite=22 cla=
ss=3D=22clean=5Fbq=22 style=3D=22font-family: Helvetica, Arial; font-size=
: 13px; font-style: normal; font-variant-caps: normal; font-weight: norma=
l; letter-spacing: normal; orphans: auto; text-align: start; text-indent:=
 0px; text-transform: none; white-space: normal; widows: auto; word-spaci=
ng: 0px; -webkit-text-stroke-width: 0px;=22><span><div><div>To secure SMT=
P relay traffic to a recipient domain, the routing<span class=3D=22Apple-=
converted-space=22>&nbsp;</span><br>needs to be secured by some means. ST=
S (with sensible modifications)<span class=3D=22Apple-converted-space=22>=
&nbsp;</span><br>proposes doing so via an HTTPS well-known URI associated=
 with the<span class=3D=22Apple-converted-space=22>&nbsp;</span><br>recip=
ient domain. This is achieved via DNS-based signalling of<span class=3D=22=
Apple-converted-space=22>&nbsp;</span><br>the existence of the STS well-k=
nown URI, and likely DNS-based<span class=3D=22Apple-converted-space=22>&=
nbsp;</span><br>signalling that a cached policy is stale and should be re=
freshed.<span class=3D=22Apple-converted-space=22>&nbsp;</span><br><br>Yo=
ur suggestion, in that light, should be interpreted to say that<span clas=
s=3D=22Apple-converted-space=22>&nbsp;</span><br>the STS URI should be us=
ed to only secure the routing information<span class=3D=22Apple-converted=
-space=22>&nbsp;</span><br>(security for MX records via HTTPS rather than=
 DNSSEC), and that<span class=3D=22Apple-converted-space=22>&nbsp;</span>=
<br>once the routing information is secured, security policy for the<span=
 class=3D=22Apple-converted-space=22>&nbsp;</span><br>given relay be in-b=
and via SMTP and modeled on DEEP.<span class=3D=22Apple-converted-space=22=
>&nbsp;</span></div></div></span></blockquote></div><p>Mostly yes. I=E2=80=
=99d also want to consider an optimization to skip the HTTPS step for sel=
f-hosted domains just to reduce overall new traffic.</p><div><div><blockq=
uote type=3D=22cite=22 class=3D=22clean=5Fbq=22 style=3D=22font-family: H=
elvetica, Arial; font-size: 13px; font-style: normal; font-variant-caps: =
normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-=
align: start; text-indent: 0px; text-transform: none; white-space: normal=
; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;=22><sp=
an><div><div>Note that consequently, a domain would be able to downgrade =
to a<span class=3D=22Apple-converted-space=22>&nbsp;</span><br>non-TLS pr=
ovider, by serving a routing-only policy that references<span class=3D=22=
Apple-converted-space=22>&nbsp;</span><br>new MX hosts that don't support=
 a new relay-MTA flavour of DEEP.<span class=3D=22Apple-converted-space=22=
>&nbsp;</span></div></div></span></blockquote></div><p>We decide in the s=
pecification whether the policy attaches to the domain or the SMTP hostna=
me. This is a design choice.</p><div><div><blockquote type=3D=22cite=22 c=
lass=3D=22clean=5Fbq=22 style=3D=22font-family: Helvetica, Arial; font-si=
ze: 13px; font-style: normal; font-variant-caps: normal; font-weight: nor=
mal; letter-spacing: normal; orphans: auto; text-align: start; text-inden=
t: 0px; text-transform: none; white-space: normal; widows: auto; word-spa=
cing: 0px; -webkit-text-stroke-width: 0px;=22><span><div><div>Also, when =
a sending relay sees new MX RRs incompatible with a<span class=3D=22Apple=
-converted-space=22>&nbsp;</span><br>cached routing policy, it would be a=
ble to refresh that policy,<span class=3D=22Apple-converted-space=22>&nbs=
p;</span><br>(provided the well-known STS URI is still up and running) an=
d<span class=3D=22Apple-converted-space=22>&nbsp;</span><br>deliver via t=
he subset of MX hosts that match the refreshed policy.<span class=3D=22Ap=
ple-converted-space=22>&nbsp;</span></div></div></span></blockquote></div=
><p>This all follows from a conclusion I don=E2=80=99t agree with.</p><di=
v><div><blockquote type=3D=22cite=22 class=3D=22clean=5Fbq=22 style=3D=22=
font-family: Helvetica, Arial; font-size: 13px; font-style: normal; font-=
variant-caps: normal; font-weight: normal; letter-spacing: normal; orphan=
s: auto; text-align: start; text-indent: 0px; text-transform: none; white=
-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-widt=
h: 0px;=22><span><div><div>=5B MX hosts that don't match the policy MUST =
NOT be ignored when<span class=3D=22Apple-converted-space=22>&nbsp;</span=
><br>doing relay loop elimination. They would have to be treated<span cla=
ss=3D=22Apple-converted-space=22>&nbsp;</span><br>as though connections t=
o them are failing, not as though they<span class=3D=22Apple-converted-sp=
ace=22>&nbsp;</span><br>weren't part of the MX RRset. =5D<span class=3D=22=
Apple-converted-space=22>&nbsp;</span></div></div></span></blockquote></d=
iv><p>Once policy is latched for a domain, any SMTP relay not complying w=
ith the policy is a failure. We=E2=80=99ll want to make sure we get the 4=
xx vs. 5xx rules right in the spec for this.</p></div></div></div></div><=
/div></div><div id=3D=22bloop=5Fsign=5F1459743248418745088=22 class=3D=22=
bloop=5Fsign=22><span class=3D=22Apple-tab-span=22 style=3D=22white-space=
:pre=22>		</span>- Chris</div><div id=3D=22bloop=5Fsign=5F145974324841874=
5088=22 class=3D=22bloop=5Fsign=22><br></div></body></html>=

--Boundary_(ID_cbGheYtbYtxZfffO7DGdDw)--


From nobody Mon Apr  4 01:42:12 2016
Return-Path: <dmargolis@google.com>
X-Original-To: uta@ietfa.amsl.com
Delivered-To: uta@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BFF9212D0A5 for <uta@ietfa.amsl.com>; Mon,  4 Apr 2016 01:42:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.45
X-Spam-Level: 
X-Spam-Status: No, score=-2.45 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, HTML_OBFUSCATE_05_10=0.26, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=google.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 ORxijWd2KIfF for <uta@ietfa.amsl.com>; Mon,  4 Apr 2016 01:42:08 -0700 (PDT)
Received: from mail-ig0-x229.google.com (mail-ig0-x229.google.com [IPv6:2607:f8b0:4001:c05::229]) (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 8A52112D0AF for <uta@ietf.org>; Mon,  4 Apr 2016 01:42:08 -0700 (PDT)
Received: by mail-ig0-x229.google.com with SMTP id g8so16703087igr.0 for <uta@ietf.org>; Mon, 04 Apr 2016 01:42:08 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=hwgV4JVaDWBroXepv5VmyL9ZTeILe3g8Pe4jpjZmjV4=; b=CDfPFpmlEVTR1Ntjy3c20FWAyc/h3IuAAF3XhH6fe7tmPQ7v9DWwe/7hIWTPsFhpe5 DkuBzCIMUma5iP1+wCPUCrWz6DUcFZ5zXAo75XruJ/8kRLVAyA3G9RD4xlHHvCywdlX3 Pp0yQrHHevRrB3uQI8pHM++mzJbK7v/UIwwzYrFKfAGv6DdhUakAcktofFM3rZ/XvIyr 6ynEzoPivfCw/stR8V5U0zIJg7+MZAJjauRQhft+XNNVC8ftgs5WhK+xYlPody5SAAgF 5VMTs6/RjKUadV+eUJc1kxSmra1e4mbAeZ1iAGtXHhAn8+FCx+aCmdIrh5bhGBGtZk2/ pCmA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=hwgV4JVaDWBroXepv5VmyL9ZTeILe3g8Pe4jpjZmjV4=; b=UA1GQ/bUsq4StkkNzAZ9AqFADEkR+wURTkBb90WeFB7uGZgzOf5gOT4VQYgoE51eFU gkcsi4fyopPCEVvolIZw7vT5SDI89hUR6LjtF8JkZj6cWxHd0qTHt343lOJEbHkPu8v/ QTz3qTHWXLvqblr2dLqZSKAdJJnJXvVeIjFPwzQjg+fW6j6wcVaEjWEVwQEbsKgCFjyw PQmJCuqoIhG4IuUbOLE7pdbIq8w/qXUwTAo9MsDaBUPR9JEr6HqyS/4Q+LntO7zwEqfP HKIxqEcLpzxbHJzF5FRes9E6t0yn5bF/XtrWFun5+1yXpiGxlpilrasqUghfPCNCcxYI ajNA==
X-Gm-Message-State: AD7BkJJNYQR3vRDqkxY3J7pevGoIzrxb9FZ/vddwd2Wmg0GAjwiuldjtceqbhAdS3z3XmHlKW/HtNFuPdLZfap+V
MIME-Version: 1.0
X-Received: by 10.50.47.49 with SMTP id a17mr10162826ign.35.1459759327614; Mon, 04 Apr 2016 01:42:07 -0700 (PDT)
Received: by 10.64.101.98 with HTTP; Mon, 4 Apr 2016 01:42:07 -0700 (PDT)
In-Reply-To: <etPan.5701ed3e.4240ccb9.98f2@dhcp-amer-vpn-adc-anyconnect-10-154-189-72.vpn.oracle.com>
References: <CAB0W=GS2PXF-divC+SNs+A-jH1-_BBA889-TbQXHvrVsrbKLEA@mail.gmail.com> <CAB0W=GSQ4oTLT+qepMi7Pj5=UmBD70D_uW7c193RY-gw818ORA@mail.gmail.com> <CAB0W=GRB_6LhqEGYzeYq-srnM99wqwZrdjUEm=vJ7+oFiKbYoA@mail.gmail.com> <CAB0W=GTGja5JtxGuCzhD6O3B2Ow-wLN-B6WQ8XUDyvQRqdFZxw@mail.gmail.com> <20160322063527.GD6602@mournblade.imrryr.org> <CANtKdUeh8LV1uaWAyRqQ2ou4pdTNvKgzuJ5kKsQLwPFORqrDQA@mail.gmail.com> <CANtKdUcX0HqNzqzr=Dh05x09hEZyMZnsPQBCi8TXRQccpYARiQ@mail.gmail.com> <etPan.56feec95.141a081e.3fe@dhcp-amer-vpn-adc-anyconnect-10-154-130-14.vpn.oracle.com> <20160401221814.GN6602@mournblade.imrryr.org> <etPan.5701ed3e.4240ccb9.98f2@dhcp-amer-vpn-adc-anyconnect-10-154-189-72.vpn.oracle.com>
Date: Mon, 4 Apr 2016 10:42:07 +0200
Message-ID: <CANtKdUf7vxE=9RYCV1h31um3fd9-WJAQU6xzkTU_jKrgWPeK8Q@mail.gmail.com>
From: Daniel Margolis <dmargolis@google.com>
To: Chris Newman <chris.newman@oracle.com>
Content-Type: multipart/alternative; boundary=089e01229fa62ef058052fa4b490
Archived-At: <http://mailarchive.ietf.org/arch/msg/uta/rEiFqT79uMW1dFhfZgtnH7SWBQ8>
Cc: uta@ietf.org
Subject: Re: [Uta] New proposal: SMTP Strict Transport Security
X-BeenThere: uta@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: UTA working group mailing list <uta.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/uta>, <mailto:uta-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/uta/>
List-Post: <mailto:uta@ietf.org>
List-Help: <mailto:uta-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/uta>, <mailto:uta-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 04 Apr 2016 08:42:10 -0000

--089e01229fa62ef058052fa4b490
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Thanks for the clarification.

Sounds like a feature to me. Having MUAs do insecure DNS lookups (which is
> what they=E2=80=99d probably do) and make misleading assertions about rel=
ay
> security (which couldn=E2=80=99t be made even if DNSSEC/HTTPS was employe=
d to trust
> the STS information, given that forwarding is in the infrastructure and a=
ll
> that). If you want to have MUAs make assertions, you=E2=80=99re moving in=
 the
> direction of the SMTP extension draft, and as Victor pointed out, the
> infrastructure is going to ignore even those assertions under some
> circumstances if that were to deploy.

I am (perhaps parochially) thinking mostly about webmail systems where the
MUA and the sending MTA are mostly the same piece of infrastructure. So my
real goal is for the MTA to be able to tell the MUA at compose time that it
has a policy for the recipient domain and can guarantee certain behavior.

In this context, I think having policies be per-domain is important, but as
you note, you could have a policy semantic which allows a single MX to
communicate a domain-wide policy even with an in-band channel.

> Your suggestion, in that light, should be interpreted to say that
> > the STS URI should be used to only secure the routing information
> > (security for MX records via HTTPS rather than DNSSEC), and that
> > once the routing information is secured, security policy for the
> > given relay be in-band via SMTP and modeled on DEEP.
>
> Mostly yes. I=E2=80=99d also want to consider an optimization to skip the=
 HTTPS
> step for self-hosted domains just to reduce overall new traffic.


To clarify a bit the individual steps needed, then, it seems like you're
proposing that given the following stages:

1. Routing information: What MX hostnames are expected
2. Authenticating the MX: Determining that the server TLS cert matches
3. Policy: Ensuring the minimum level of transport-layer encryption

You propose to put #1 in either DNSSEC or HTTPS (with an optimization to
use in-channel in place of HTTPS if the MX domain matches the email domain)
and #2 and #3 in the SMTP exchange?

But this doesn't necessarily eliminate the extra DNS or HTTPS lookup (at
least in the case where the MX domain does not match the email domain),
right? You still need to get the routing information somehow, and we're
still trying to make this viable for domains that can't yet deploy DNSSEC.
So in that light, you're proposing that all domains would need at least the
SMTP in-band exchange and that some domains would also need step #1 to be
done over HTTPS--meaning that sending domains would have to still support
both options, right?

I can see the appeal of doing much of this in-band given that it's
consistent with what DEEP proposes, but I'm still concerned that if we need
*also* support out-of-band, we're just increasing complexity. What do you
think?

Dan

On Mon, Apr 4, 2016 at 6:27 AM, Chris Newman <chris.newman@oracle.com>
wrote:

> On April 1, 2016 at 19:18:31 , Viktor Dukhovni (ietf-dane@dukhovni.org)
> wrote:
>
> On Fri, Apr 01, 2016 at 06:48:00PM -0300, Chris Newman wrote:
>
> > I feel very strongly that policy for SMTP relay should be advertised by
> > SMTP and protected by SMTP TLS. Doing anything else creates a much larg=
er
>
> > attack surface on the policy information and is both more complex and
> less
> > secure. The preferred mechanism to sign SMTP relay routing (DNS MX) is
> > DNSSEC. I'm open to proposals for alternate mechanisms to sign MX recor=
d
>
> > information due to the difficulty of deploying DNSSEC, but such
> mechanisms
> > should not be confused with security policy.
>
> Unfortunately, in MTA-to-MTA SMTP, the receiving SMTP server has
> no idea what domain the sending SMTP client wants to deliver mail
> to at the time that it advertises its ESMTP extensions in the EHLO
> response.
>
> This correctly identifies a key difference between SMTP relay and SMTP
> submission. I had missed this, thank you for raising it!
>
> For SMTP submission, there=E2=80=99s an early-indication of domain owners=
hip from
> the mandatory user authentication (multi-domain hosting services tend to
> use email address as user name to get this benefit). For SMTP relay we ha=
ve
> no mechanism to indicate the intended domain so to handle the case of a
> multi-domain hosting service that offers different policies for different
> domains we=E2=80=99d need to add a way to communicate intended domain ear=
ly. This
> can be done with an SMTP verb (adding a round trip) or by using TLS ALPN =
or
> something similar (no new round trip).
>
> For this (and other related) reasons, in-band SMTP security policy
> can only be communicated for the given SMTP server, and not the
> recipient domain.
>
> I=E2=80=99m not convinced this is true. I=E2=80=99d like to hear those ot=
her reasons.
>
> A relay MTA MUST NOT make any conclusions about recipient domain
> security based on security policy advertised by a particular MX
> host. An individual MX host cannot advertise security policy
> (implicitly) for every single domain it happens to receive mail
> for, except for future relaying via that *same* MX host.
>
> If the MX-from-DNS isn=E2=80=99t trusted, then no policy can be trusted. =
But
> STS-from-DNS has the same issue.
>
> To secure SMTP relay traffic to a recipient domain, the routing
> needs to be secured by some means. STS (with sensible modifications)
> proposes doing so via an HTTPS well-known URI associated with the
> recipient domain. This is achieved via DNS-based signalling of
> the existence of the STS well-known URI, and likely DNS-based
> signalling that a cached policy is stale and should be refreshed.
>
> Your suggestion, in that light, should be interpreted to say that
> the STS URI should be used to only secure the routing information
> (security for MX records via HTTPS rather than DNSSEC), and that
> once the routing information is secured, security policy for the
> given relay be in-band via SMTP and modeled on DEEP.
>
> Mostly yes. I=E2=80=99d also want to consider an optimization to skip the=
 HTTPS
> step for self-hosted domains just to reduce overall new traffic.
>
> Note that consequently, a domain would be able to downgrade to a
> non-TLS provider, by serving a routing-only policy that references
> new MX hosts that don't support a new relay-MTA flavour of DEEP.
>
> We decide in the specification whether the policy attaches to the domain
> or the SMTP hostname. This is a design choice.
>
> Also, when a sending relay sees new MX RRs incompatible with a
> cached routing policy, it would be able to refresh that policy,
> (provided the well-known STS URI is still up and running) and
> deliver via the subset of MX hosts that match the refreshed policy.
>
> This all follows from a conclusion I don=E2=80=99t agree with.
>
> [ MX hosts that don't match the policy MUST NOT be ignored when
> doing relay loop elimination. They would have to be treated
> as though connections to them are failing, not as though they
> weren't part of the MX RRset. ]
>
> Once policy is latched for a domain, any SMTP relay not complying with th=
e
> policy is a failure. We=E2=80=99ll want to make sure we get the 4xx vs. 5=
xx rules
> right in the spec for this.
> - Chris
>
>
> _______________________________________________
> Uta mailing list
> Uta@ietf.org
> https://www.ietf.org/mailman/listinfo/uta
>
>

--089e01229fa62ef058052fa4b490
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Thanks for the clarification.=C2=A0<div><br></div><div><bl=
ockquote style=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;border-lef=
t-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex" class=3D=
"gmail_quote">Sounds like a feature to me. Having MUAs do insecure DNS look=
ups (which is what they=E2=80=99d probably do) and make misleading assertio=
ns about relay security (which couldn=E2=80=99t be made even if DNSSEC/HTTP=
S was employed to trust the STS information, given that forwarding is in th=
e infrastructure and all that). If you want to have MUAs make assertions, y=
ou=E2=80=99re moving in the direction of the SMTP extension draft, and as V=
ictor pointed out, the infrastructure is going to ignore even those asserti=
ons under some circumstances if that were to deploy.</blockquote><div style=
=3D"font-size:15.2px"><span class=3D"im"><blockquote type=3D"cite" style=3D=
"font-family:Helvetica,Arial;font-size:13px"><div dir=3D"ltr"></div></block=
quote></span></div></div><div>I am (perhaps parochially) thinking mostly ab=
out webmail systems where the MUA and the sending MTA are mostly the same p=
iece of infrastructure. So my real goal is for the MTA to be able to tell t=
he MUA at compose time that it has a policy for the recipient domain and ca=
n guarantee certain behavior.=C2=A0</div><div><br></div><div>In this contex=
t, I think having policies be per-domain is important, but as you note, you=
 could have a policy semantic which allows a single MX to communicate a dom=
ain-wide policy even with an in-band channel.=C2=A0</div><div><br><blockquo=
te class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left-widt=
h:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-le=
ft:1ex">&gt; Your suggestion, in that light, should be interpreted to say t=
hat<br> &gt; the STS URI should be used to only secure the routing informat=
ion<br> &gt; (security for MX records via HTTPS rather than DNSSEC), and th=
at<br> &gt; once the routing information is secured, security policy for th=
e<br> &gt; given relay be in-band via SMTP and modeled on DEEP.<br><br>Most=
ly yes. I=E2=80=99d also want to consider an optimization to skip the HTTPS=
 step for self-hosted domains just to reduce overall new traffic.</blockquo=
te></div><div><br></div><div>To clarify a bit the individual steps needed, =
then, it seems like you&#39;re proposing that given the following stages:</=
div><div><br></div><div>1. Routing information: What MX hostnames are expec=
ted</div><div>2. Authenticating the MX: Determining that the server TLS cer=
t matches</div><div>3. Policy: Ensuring the minimum level of transport-laye=
r encryption</div><div><br></div><div>You propose to put #1 in either DNSSE=
C or HTTPS (with an optimization to use in-channel in place of HTTPS if the=
 MX domain matches the email domain) and #2 and #3 in the SMTP exchange?=C2=
=A0</div><div><br></div><div>But this doesn&#39;t necessarily eliminate the=
 extra DNS or HTTPS lookup (at least in the case where the MX domain does n=
ot match the email domain), right? You still need to get the routing inform=
ation somehow, and we&#39;re still trying to make this viable for domains t=
hat can&#39;t yet deploy DNSSEC. So in that light, you&#39;re proposing tha=
t all domains would need at least the SMTP in-band exchange and that some d=
omains would also need step #1 to be done over HTTPS--meaning that sending =
domains would have to still support both options, right?=C2=A0</div><div><b=
r></div><div>I can see the appeal of doing much of this in-band given that =
it&#39;s consistent with what DEEP proposes, but I&#39;m still concerned th=
at if we need <i>also</i>=C2=A0support out-of-band, we&#39;re just increasi=
ng complexity. What do you think?</div><div><br></div><div>Dan</div></div><=
div class=3D"gmail_extra"><br><div class=3D"gmail_quote">On Mon, Apr 4, 201=
6 at 6:27 AM, Chris Newman <span dir=3D"ltr">&lt;<a href=3D"mailto:chris.ne=
wman@oracle.com" target=3D"_blank">chris.newman@oracle.com</a>&gt;</span> w=
rote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;borde=
r-left:1px #ccc solid;padding-left:1ex"><div style=3D"word-wrap:break-word"=
><span class=3D""><div style=3D"font-family:Helvetica,Arial;font-size:13px;=
color:rgba(0,0,0,1.0);margin:0px;line-height:auto">On April 1, 2016 at 19:1=
8:31 , Viktor Dukhovni (<a href=3D"mailto:ietf-dane@dukhovni.org" target=3D=
"_blank">ietf-dane@dukhovni.org</a>) wrote:</div> <div><blockquote type=3D"=
cite" style=3D"font-family:Helvetica,Arial;font-size:13px;font-style:normal=
;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;=
text-transform:none;white-space:normal;word-spacing:0px"><span><div><div></=
div><div>On Fri, Apr 01, 2016 at 06:48:00PM -0300, Chris Newman wrote:<span=
>=C2=A0</span><br><br>&gt; I feel very strongly that policy for SMTP relay =
should be advertised by<span>=C2=A0</span><br>&gt; SMTP and protected by SM=
TP TLS. Doing anything else creates a much larger<span>=C2=A0</span><br>&gt=
; attack surface on the policy information and is both more complex and les=
s<span>=C2=A0</span><br>&gt; secure. The preferred mechanism to sign SMTP r=
elay routing (DNS MX) is<span>=C2=A0</span><br>&gt; DNSSEC. I&#39;m open to=
 proposals for alternate mechanisms to sign MX record<span>=C2=A0</span><br=
>&gt; information due to the difficulty of deploying DNSSEC, but such mecha=
nisms<span>=C2=A0</span><br>&gt; should not be confused with security polic=
y.<span>=C2=A0</span><br><br>Unfortunately, in MTA-to-MTA SMTP, the receivi=
ng SMTP server has<span>=C2=A0</span><br>no idea what domain the sending SM=
TP client wants to deliver mail<span>=C2=A0</span><br>to at the time that i=
t advertises its ESMTP extensions in the EHLO<span>=C2=A0</span><br>respons=
e.<span>=C2=A0</span></div></div></span></blockquote></div></span><p>This c=
orrectly identifies a key difference between SMTP relay and SMTP submission=
. I had missed this, thank you for raising it!</p><p>For SMTP submission, t=
here=E2=80=99s an early-indication of domain ownership from the mandatory u=
ser authentication (multi-domain hosting services tend to use email address=
 as user name to get this benefit). For SMTP relay we have no mechanism to =
indicate the intended domain so to handle the case of a multi-domain hostin=
g service that offers different policies for different domains we=E2=80=99d=
 need to add a way to communicate intended domain early. This can be done w=
ith an SMTP verb (adding a round trip) or by using TLS ALPN or something si=
milar (no new round trip).</p><div><span class=3D""><div><blockquote type=
=3D"cite" style=3D"font-family:Helvetica,Arial;font-size:13px;font-style:no=
rmal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:=
0px;text-transform:none;white-space:normal;word-spacing:0px"><span><div><di=
v>For this (and other related) reasons, in-band SMTP security policy<span>=
=C2=A0</span><br>can only be communicated for the given SMTP server, and no=
t the<span>=C2=A0</span><br>recipient domain.<span>=C2=A0</span></div></div=
></span></blockquote></div></span><p>I=E2=80=99m not convinced this is true=
. I=E2=80=99d like to hear those other reasons.</p><div><span class=3D""><d=
iv><blockquote type=3D"cite" style=3D"font-family:Helvetica,Arial;font-size=
:13px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align=
:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:=
0px"><span><div><div>A relay MTA MUST NOT make any conclusions about recipi=
ent domain<span>=C2=A0</span><br>security based on security policy advertis=
ed by a particular MX<span>=C2=A0</span><br>host. An individual MX host can=
not advertise security policy<span>=C2=A0</span><br>(implicitly) for every =
single domain it happens to receive mail<span>=C2=A0</span><br>for, except =
for future relaying via that *same* MX host.</div></div></span></blockquote=
></div></span><p>If the MX-from-DNS isn=E2=80=99t trusted, then no policy c=
an be trusted. But STS-from-DNS has the same issue.</p><div><span class=3D"=
"><div><blockquote type=3D"cite" style=3D"font-family:Helvetica,Arial;font-=
size:13px;font-style:normal;font-weight:normal;letter-spacing:normal;text-a=
lign:start;text-indent:0px;text-transform:none;white-space:normal;word-spac=
ing:0px"><span><div><div>To secure SMTP relay traffic to a recipient domain=
, the routing<span>=C2=A0</span><br>needs to be secured by some means. STS =
(with sensible modifications)<span>=C2=A0</span><br>proposes doing so via a=
n HTTPS well-known URI associated with the<span>=C2=A0</span><br>recipient =
domain. This is achieved via DNS-based signalling of<span>=C2=A0</span><br>=
the existence of the STS well-known URI, and likely DNS-based<span>=C2=A0</=
span><br>signalling that a cached policy is stale and should be refreshed.<=
span>=C2=A0</span><br><br>Your suggestion, in that light, should be interpr=
eted to say that<span>=C2=A0</span><br>the STS URI should be used to only s=
ecure the routing information<span>=C2=A0</span><br>(security for MX record=
s via HTTPS rather than DNSSEC), and that<span>=C2=A0</span><br>once the ro=
uting information is secured, security policy for the<span>=C2=A0</span><br=
>given relay be in-band via SMTP and modeled on DEEP.<span>=C2=A0</span></d=
iv></div></span></blockquote></div></span><p>Mostly yes. I=E2=80=99d also w=
ant to consider an optimization to skip the HTTPS step for self-hosted doma=
ins just to reduce overall new traffic.</p><div><span class=3D""><div><bloc=
kquote type=3D"cite" style=3D"font-family:Helvetica,Arial;font-size:13px;fo=
nt-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;t=
ext-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><sp=
an><div><div>Note that consequently, a domain would be able to downgrade to=
 a<span>=C2=A0</span><br>non-TLS provider, by serving a routing-only policy=
 that references<span>=C2=A0</span><br>new MX hosts that don&#39;t support =
a new relay-MTA flavour of DEEP.<span>=C2=A0</span></div></div></span></blo=
ckquote></div></span><p>We decide in the specification whether the policy a=
ttaches to the domain or the SMTP hostname. This is a design choice.</p><di=
v><span class=3D""><div><blockquote type=3D"cite" style=3D"font-family:Helv=
etica,Arial;font-size:13px;font-style:normal;font-weight:normal;letter-spac=
ing:normal;text-align:start;text-indent:0px;text-transform:none;white-space=
:normal;word-spacing:0px"><span><div><div>Also, when a sending relay sees n=
ew MX RRs incompatible with a<span>=C2=A0</span><br>cached routing policy, =
it would be able to refresh that policy,<span>=C2=A0</span><br>(provided th=
e well-known STS URI is still up and running) and<span>=C2=A0</span><br>del=
iver via the subset of MX hosts that match the refreshed policy.<span>=C2=
=A0</span></div></div></span></blockquote></div></span><p>This all follows =
from a conclusion I don=E2=80=99t agree with.</p><div><span class=3D""><div=
><blockquote type=3D"cite" style=3D"font-family:Helvetica,Arial;font-size:1=
3px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:s=
tart;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0p=
x"><span><div><div>[ MX hosts that don&#39;t match the policy MUST NOT be i=
gnored when<span>=C2=A0</span><br>doing relay loop elimination. They would =
have to be treated<span>=C2=A0</span><br>as though connections to them are =
failing, not as though they<span>=C2=A0</span><br>weren&#39;t part of the M=
X RRset. ]<span>=C2=A0</span></div></div></span></blockquote></div></span><=
p>Once policy is latched for a domain, any SMTP relay not complying with th=
e policy is a failure. We=E2=80=99ll want to make sure we get the 4xx vs. 5=
xx rules right in the spec for this.</p></div></div></div></div></div></div=
><span class=3D"HOEnZb"><font color=3D"#888888"><div><span style=3D"white-s=
pace:pre-wrap">		</span>- Chris</div><div><br></div></font></span></div><br=
>_______________________________________________<br>
Uta mailing list<br>
<a href=3D"mailto:Uta@ietf.org">Uta@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/uta" rel=3D"noreferrer" ta=
rget=3D"_blank">https://www.ietf.org/mailman/listinfo/uta</a><br>
<br></blockquote></div><br></div>

--089e01229fa62ef058052fa4b490--


From nobody Mon Apr  4 03:14:53 2016
Return-Path: <jgh@wizmail.org>
X-Original-To: uta@ietfa.amsl.com
Delivered-To: uta@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id EEC6812D663 for <uta@ietfa.amsl.com>; Mon,  4 Apr 2016 03:14:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.91
X-Spam-Level: 
X-Spam-Status: No, score=-1.91 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01] 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 sYN9xc0blpNM for <uta@ietfa.amsl.com>; Mon,  4 Apr 2016 03:14:50 -0700 (PDT)
Received: from wizmail.org (wizmail.org [IPv6:2a00:1940:107::2:0:0]) (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 2D41C12D5C4 for <uta@ietf.org>; Mon,  4 Apr 2016 03:14:49 -0700 (PDT)
Received: from [2a00:b900:109e:0:3e97:eff:feb2:e128] (helo=lap.dom.ain) by wizmail.org with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.86_RC122) id 1an1Ww-0003uh-9Q for uta@ietf.org (return-path <jgh@wizmail.org>); Mon, 04 Apr 2016 10:14:46 +0000
To: uta@ietf.org
References: <CAB0W=GS2PXF-divC+SNs+A-jH1-_BBA889-TbQXHvrVsrbKLEA@mail.gmail.com> <CAB0W=GSQ4oTLT+qepMi7Pj5=UmBD70D_uW7c193RY-gw818ORA@mail.gmail.com> <CAB0W=GRB_6LhqEGYzeYq-srnM99wqwZrdjUEm=vJ7+oFiKbYoA@mail.gmail.com> <CAB0W=GTGja5JtxGuCzhD6O3B2Ow-wLN-B6WQ8XUDyvQRqdFZxw@mail.gmail.com> <20160322063527.GD6602@mournblade.imrryr.org> <CANtKdUeh8LV1uaWAyRqQ2ou4pdTNvKgzuJ5kKsQLwPFORqrDQA@mail.gmail.com> <CANtKdUcX0HqNzqzr=Dh05x09hEZyMZnsPQBCi8TXRQccpYARiQ@mail.gmail.com> <etPan.56feec95.141a081e.3fe@dhcp-amer-vpn-adc-anyconnect-10-154-130-14.vpn.oracle.com> <20160401221814.GN6602@mournblade.imrryr.org>
From: Jeremy Harris <jgh@wizmail.org>
Message-ID: <57023E93.7000504@wizmail.org>
Date: Mon, 4 Apr 2016 11:14:43 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.1
MIME-Version: 1.0
In-Reply-To: <20160401221814.GN6602@mournblade.imrryr.org>
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 8bit
X-Pcms-Received-Sender: [2a00:b900:109e:0:3e97:eff:feb2:e128] (helo=lap.dom.ain) with esmtpsa
Archived-At: <http://mailarchive.ietf.org/arch/msg/uta/wkXTg5QpnxhAKdtqCUY6uIsOCXQ>
Subject: Re: [Uta] New proposal: SMTP Strict Transport Security
X-BeenThere: uta@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: UTA working group mailing list <uta.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/uta>, <mailto:uta-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/uta/>
List-Post: <mailto:uta@ietf.org>
List-Help: <mailto:uta-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/uta>, <mailto:uta-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 04 Apr 2016 10:14:52 -0000

On 01/04/16 23:18, Viktor Dukhovni wrote:
> On Fri, Apr 01, 2016 at 06:48:00PM -0300, Chris Newman wrote:
>> I feel very strongly that policy for SMTP relay should be advertised by
>> SMTP and protected by SMTP TLS.

> Unfortunately, in MTA-to-MTA SMTP, the receiving SMTP server has
> no idea what domain the sending SMTP client wants to deliver mail
> to at the time that it advertises its ESMTP extensions in the EHLO
> response.

Why must it be done then?  Why not at RCPT TO time, via some suitable
response?

> in-band SMTP security policy
> can only be communicated for the given SMTP server, and not the
> recipient domain.

Why should a response from one MX not be authoritative for
security policy?  It is taken to be for a message acceptance, or message
hard-rejection.

-- 
Cheers,
  Jeremy


From nobody Mon Apr  4 05:01:26 2016
Return-Path: <fenton@bluepopcorn.net>
X-Original-To: uta@ietfa.amsl.com
Delivered-To: uta@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3456112D686 for <uta@ietfa.amsl.com>; Mon,  4 Apr 2016 05:01:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.011
X-Spam-Level: 
X-Spam-Status: No, score=-2.011 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=bluepopcorn.net
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 AT9_QSj2oKb2 for <uta@ietfa.amsl.com>; Mon,  4 Apr 2016 05:01:19 -0700 (PDT)
Received: from v2.bluepopcorn.net (v2.bluepopcorn.net [IPv6:2607:f2f8:a994::2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2CF8D12D681 for <uta@ietf.org>; Mon,  4 Apr 2016 05:01:18 -0700 (PDT)
Received: from dhcp-b1f7.meeting.ietf.org (dhcp-b1f7.meeting.ietf.org [31.133.177.247]) (authenticated bits=0) by v2.bluepopcorn.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id u34C1Fxp028711 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for <uta@ietf.org>; Mon, 4 Apr 2016 05:01:18 -0700
To: uta@ietf.org
References: <CAB0W=GS2PXF-divC+SNs+A-jH1-_BBA889-TbQXHvrVsrbKLEA@mail.gmail.com> <CAB0W=GSQ4oTLT+qepMi7Pj5=UmBD70D_uW7c193RY-gw818ORA@mail.gmail.com> <CAB0W=GRB_6LhqEGYzeYq-srnM99wqwZrdjUEm=vJ7+oFiKbYoA@mail.gmail.com> <CAB0W=GTGja5JtxGuCzhD6O3B2Ow-wLN-B6WQ8XUDyvQRqdFZxw@mail.gmail.com> <20160322063527.GD6602@mournblade.imrryr.org> <CANtKdUeh8LV1uaWAyRqQ2ou4pdTNvKgzuJ5kKsQLwPFORqrDQA@mail.gmail.com> <CANtKdUcX0HqNzqzr=Dh05x09hEZyMZnsPQBCi8TXRQccpYARiQ@mail.gmail.com> <etPan.56feec95.141a081e.3fe@dhcp-amer-vpn-adc-anyconnect-10-154-130-14.vpn.oracle.com> <20160401221814.GN6602@mournblade.imrryr.org> <57023E93.7000504@wizmail.org>
From: Jim Fenton <fenton@bluepopcorn.net>
Message-ID: <5702578A.9050201@bluepopcorn.net>
Date: Mon, 4 Apr 2016 05:01:14 -0700
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.7.1
MIME-Version: 1.0
In-Reply-To: <57023E93.7000504@wizmail.org>
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=bluepopcorn.net; s=supersize; t=1459771278; bh=e1M66AzppFSKnbsCAntoUg/lm5t5Vk+6inL4fMwV1VE=; h=Subject:To:References:From:Date:In-Reply-To; b=Pgv69iO0fGbq/jyB24yU5/CJCWijcGaEC4FEYM0BJRp+mbLlG3sJ3N35n0orwg6Bq CuXuEUJAJXHg9zV3Z79jNRRIQRxQKhca4z0/ff2x/qtzLtGgqAO2NDy2RGyhWlWhTI 5Qg2JrzvfG61Dh3/w1n3qkbbHDb5G6HtY4zvqaz0=
Archived-At: <http://mailarchive.ietf.org/arch/msg/uta/I31Rag01FW3D9Ri1BwbjUQTdh-c>
Subject: Re: [Uta] New proposal: SMTP Strict Transport Security
X-BeenThere: uta@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: UTA working group mailing list <uta.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/uta>, <mailto:uta-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/uta/>
List-Post: <mailto:uta@ietf.org>
List-Help: <mailto:uta-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/uta>, <mailto:uta-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 04 Apr 2016 12:01:25 -0000

On 4/4/16 3:14 AM, Jeremy Harris wrote:
> On 01/04/16 23:18, Viktor Dukhovni wrote:
>> On Fri, Apr 01, 2016 at 06:48:00PM -0300, Chris Newman wrote:
>>> I feel very strongly that policy for SMTP relay should be advertised =
by
>>> SMTP and protected by SMTP TLS.
>> Unfortunately, in MTA-to-MTA SMTP, the receiving SMTP server has
>> no idea what domain the sending SMTP client wants to deliver mail
>> to at the time that it advertises its ESMTP extensions in the EHLO
>> response.
> Why must it be done then?  Why not at RCPT TO time, via some suitable
> response?

It's not even possible at RCPT TO time, for example if the message is
being forwarded.

-Jim



From nobody Mon Apr  4 05:45:30 2016
Return-Path: <jgh@wizmail.org>
X-Original-To: uta@ietfa.amsl.com
Delivered-To: uta@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DC9F812D6C7 for <uta@ietfa.amsl.com>; Mon,  4 Apr 2016 05:45:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.91
X-Spam-Level: 
X-Spam-Status: No, score=-1.91 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01] 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 5OHCiTeQjycU for <uta@ietfa.amsl.com>; Mon,  4 Apr 2016 05:45:27 -0700 (PDT)
Received: from wizmail.org (wizmail.org [IPv6:2a00:1940:107::2:0:0]) (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 F184C12D6C9 for <uta@ietf.org>; Mon,  4 Apr 2016 05:45:26 -0700 (PDT)
Received: from [2a00:b900:109e:0:3e97:eff:feb2:e128] (helo=lap.dom.ain) by wizmail.org with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.86_RC122) id 1an3sj-0005OI-2N for uta@ietf.org (return-path <jgh@wizmail.org>); Mon, 04 Apr 2016 12:45:25 +0000
To: uta@ietf.org
References: <CAB0W=GS2PXF-divC+SNs+A-jH1-_BBA889-TbQXHvrVsrbKLEA@mail.gmail.com> <CAB0W=GSQ4oTLT+qepMi7Pj5=UmBD70D_uW7c193RY-gw818ORA@mail.gmail.com> <CAB0W=GRB_6LhqEGYzeYq-srnM99wqwZrdjUEm=vJ7+oFiKbYoA@mail.gmail.com> <CAB0W=GTGja5JtxGuCzhD6O3B2Ow-wLN-B6WQ8XUDyvQRqdFZxw@mail.gmail.com> <20160322063527.GD6602@mournblade.imrryr.org> <CANtKdUeh8LV1uaWAyRqQ2ou4pdTNvKgzuJ5kKsQLwPFORqrDQA@mail.gmail.com> <CANtKdUcX0HqNzqzr=Dh05x09hEZyMZnsPQBCi8TXRQccpYARiQ@mail.gmail.com> <etPan.56feec95.141a081e.3fe@dhcp-amer-vpn-adc-anyconnect-10-154-130-14.vpn.oracle.com> <20160401221814.GN6602@mournblade.imrryr.org> <57023E93.7000504@wizmail.org> <5702578A.9050201@bluepopcorn.net>
From: Jeremy Harris <jgh@wizmail.org>
Message-ID: <570261E4.4060906@wizmail.org>
Date: Mon, 4 Apr 2016 13:45:24 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.1
MIME-Version: 1.0
In-Reply-To: <5702578A.9050201@bluepopcorn.net>
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 7bit
X-Pcms-Received-Sender: [2a00:b900:109e:0:3e97:eff:feb2:e128] (helo=lap.dom.ain) with esmtpsa
Archived-At: <http://mailarchive.ietf.org/arch/msg/uta/KzJrhOGa4gWIGrrB08KXqtiROZU>
Subject: Re: [Uta] New proposal: SMTP Strict Transport Security
X-BeenThere: uta@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: UTA working group mailing list <uta.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/uta>, <mailto:uta-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/uta/>
List-Post: <mailto:uta@ietf.org>
List-Help: <mailto:uta-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/uta>, <mailto:uta-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 04 Apr 2016 12:45:29 -0000

On 04/04/16 13:01, Jim Fenton wrote:
> On 4/4/16 3:14 AM, Jeremy Harris wrote:
>> On 01/04/16 23:18, Viktor Dukhovni wrote:
>>> On Fri, Apr 01, 2016 at 06:48:00PM -0300, Chris Newman wrote:
>>>> I feel very strongly that policy for SMTP relay should be advertised by
>>>> SMTP and protected by SMTP TLS.
>>> Unfortunately, in MTA-to-MTA SMTP, the receiving SMTP server has
>>> no idea what domain the sending SMTP client wants to deliver mail
>>> to at the time that it advertises its ESMTP extensions in the EHLO
>>> response.
>> Why must it be done then?  Why not at RCPT TO time, via some suitable
>> response?
> 
> It's not even possible at RCPT TO time, for example if the message is
> being forwarded.

Has been forwarded, and the RCPT is post-forwarding?  Rules for the
current recipient apply.

Is about to be forwarded, and the RCPT is pre-forwarding?  Rules
for the current recipient apply.

I don't see your point; please elucidate?
-- 
Cheers,
  Jeremy


From nobody Mon Apr  4 05:54:58 2016
Return-Path: <fenton@bluepopcorn.net>
X-Original-To: uta@ietfa.amsl.com
Delivered-To: uta@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id EE35712D0C0 for <uta@ietfa.amsl.com>; Mon,  4 Apr 2016 05:54:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.011
X-Spam-Level: 
X-Spam-Status: No, score=-2.011 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=bluepopcorn.net
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 68ejWmj3TtiE for <uta@ietfa.amsl.com>; Mon,  4 Apr 2016 05:54:54 -0700 (PDT)
Received: from v2.bluepopcorn.net (v2.bluepopcorn.net [IPv6:2607:f2f8:a994::2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A0A8912D0AE for <uta@ietf.org>; Mon,  4 Apr 2016 05:54:53 -0700 (PDT)
Received: from dhcp-b1f7.meeting.ietf.org (dhcp-b1f7.meeting.ietf.org [31.133.177.247]) (authenticated bits=0) by v2.bluepopcorn.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id u34Csncf029103 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for <uta@ietf.org>; Mon, 4 Apr 2016 05:54:53 -0700
To: uta@ietf.org
References: <CAB0W=GS2PXF-divC+SNs+A-jH1-_BBA889-TbQXHvrVsrbKLEA@mail.gmail.com> <CAB0W=GSQ4oTLT+qepMi7Pj5=UmBD70D_uW7c193RY-gw818ORA@mail.gmail.com> <CAB0W=GRB_6LhqEGYzeYq-srnM99wqwZrdjUEm=vJ7+oFiKbYoA@mail.gmail.com> <CAB0W=GTGja5JtxGuCzhD6O3B2Ow-wLN-B6WQ8XUDyvQRqdFZxw@mail.gmail.com> <20160322063527.GD6602@mournblade.imrryr.org> <CANtKdUeh8LV1uaWAyRqQ2ou4pdTNvKgzuJ5kKsQLwPFORqrDQA@mail.gmail.com> <CANtKdUcX0HqNzqzr=Dh05x09hEZyMZnsPQBCi8TXRQccpYARiQ@mail.gmail.com> <etPan.56feec95.141a081e.3fe@dhcp-amer-vpn-adc-anyconnect-10-154-130-14.vpn.oracle.com> <20160401221814.GN6602@mournblade.imrryr.org> <57023E93.7000504@wizmail.org> <5702578A.9050201@bluepopcorn.net> <570261E4.4060906@wizmail.org>
From: Jim Fenton <fenton@bluepopcorn.net>
Message-ID: <57026419.3080304@bluepopcorn.net>
Date: Mon, 4 Apr 2016 05:54:49 -0700
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.7.1
MIME-Version: 1.0
In-Reply-To: <570261E4.4060906@wizmail.org>
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=bluepopcorn.net; s=supersize; t=1459774493; bh=X88WF28Qa8908/2CS6mxfIOjbqgPcCi7ADZEgZPoPUg=; h=Subject:To:References:From:Date:In-Reply-To; b=nceWdLsuYueRaASFn6Ax6blZJx4Wq2ulM1FO64f5Dhq8Ew/0/Zfjm3VT/Xcee4qgX snpqB5RQym+AIMknFstvc/y3g8+57Re43jN8QVoY8+QWQlalmc7LXRt/0fwYqgmd0s 481n9n6gxnbVWvHWiP996qdypT+ddAwyYMEOMh6M=
Archived-At: <http://mailarchive.ietf.org/arch/msg/uta/PwgXiPo9_u9Rl3WZSmC2nBNcOco>
Subject: Re: [Uta] New proposal: SMTP Strict Transport Security
X-BeenThere: uta@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: UTA working group mailing list <uta.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/uta>, <mailto:uta-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/uta/>
List-Post: <mailto:uta@ietf.org>
List-Help: <mailto:uta-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/uta>, <mailto:uta-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 04 Apr 2016 12:54:56 -0000

On 4/4/16 5:45 AM, Jeremy Harris wrote:
> On 04/04/16 13:01, Jim Fenton wrote:
>> On 4/4/16 3:14 AM, Jeremy Harris wrote:
>>> On 01/04/16 23:18, Viktor Dukhovni wrote:
>>>> On Fri, Apr 01, 2016 at 06:48:00PM -0300, Chris Newman wrote:
>>>>> I feel very strongly that policy for SMTP relay should be advertise=
d by
>>>>> SMTP and protected by SMTP TLS.
>>>> Unfortunately, in MTA-to-MTA SMTP, the receiving SMTP server has
>>>> no idea what domain the sending SMTP client wants to deliver mail
>>>> to at the time that it advertises its ESMTP extensions in the EHLO
>>>> response.
>>> Why must it be done then?  Why not at RCPT TO time, via some suitable=

>>> response?
>> It's not even possible at RCPT TO time, for example if the message is
>> being forwarded.
> Has been forwarded, and the RCPT is post-forwarding?  Rules for the
> current recipient apply.
>
> Is about to be forwarded, and the RCPT is pre-forwarding?  Rules
> for the current recipient apply.
>
> I don't see your point; please elucidate?

Viktor's other comment was:
> For this (and other related) reasons, in-band SMTP security policy
> can only be communicated for the given SMTP server, and not the
> recipient domain.

I'm pointing out one of the other related reasons that isn't addressed
by doing the response at RCPT TO time.

-Jim



From nobody Mon Apr  4 06:44:09 2016
Return-Path: <chris.newman@oracle.com>
X-Original-To: uta@ietfa.amsl.com
Delivered-To: uta@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 979A512D186 for <uta@ietfa.amsl.com>; Mon,  4 Apr 2016 06:44:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.211
X-Spam-Level: 
X-Spam-Status: No, score=-4.211 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] 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 bpDhQdQXJOcX for <uta@ietfa.amsl.com>; Mon,  4 Apr 2016 06:44:02 -0700 (PDT)
Received: from aserp1040.oracle.com (aserp1040.oracle.com [141.146.126.69]) (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 111DA12D5BB for <uta@ietf.org>; Mon,  4 Apr 2016 06:44:00 -0700 (PDT)
Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id u34Dhv9x024966 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 4 Apr 2016 13:43:58 GMT
Received: from gotmail.us.oracle.com (gotmail.us.oracle.com [10.133.152.174]) by userv0022.oracle.com (8.14.4/8.13.8) with ESMTP id u34Dhr0w002754;  Mon, 4 Apr 2016 13:43:57 GMT
MIME-version: 1.0
Content-type: multipart/alternative; boundary="Boundary_(ID_hK1HUc8XUciIbHjkkL4QFA)"
Received: from dhcp-ukc1-twvpn-2-vpnpool-10-175-218-94.vpn.oracle.com (dhcp-ukc1-twvpn-2-vpnpool-10-175-218-94.vpn.oracle.com [10.175.218.94]) by gotmail.us.oracle.com (Oracle Communications Messaging Server 8.0.0.0.0 64bit (built Mar 19 2015)) with ESMTPSA id <0O54008093FZWO00@gotmail.us.oracle.com>; Mon, 04 Apr 2016 06:43:26 -0700 (PDT)
Date: Mon, 04 Apr 2016 10:43:06 -0300
From: Chris Newman <chris.newman@oracle.com>
To: Daniel Margolis <dmargolis@google.com>
Message-id: <etPan.57026f6f.e35b23.99e0@dhcp-ukc1-twvpn-2-vpnpool-10-175-218-94.vpn.oracle.com>
In-reply-to: <CANtKdUf7vxE=9RYCV1h31um3fd9-WJAQU6xzkTU_jKrgWPeK8Q@mail.gmail.com>
References: <CAB0W=GS2PXF-divC+SNs+A-jH1-_BBA889-TbQXHvrVsrbKLEA@mail.gmail.com> <CAB0W=GSQ4oTLT+qepMi7Pj5=UmBD70D_uW7c193RY-gw818ORA@mail.gmail.com> <CAB0W=GRB_6LhqEGYzeYq-srnM99wqwZrdjUEm=vJ7+oFiKbYoA@mail.gmail.com> <CAB0W=GTGja5JtxGuCzhD6O3B2Ow-wLN-B6WQ8XUDyvQRqdFZxw@mail.gmail.com> <20160322063527.GD6602@mournblade.imrryr.org> <CANtKdUeh8LV1uaWAyRqQ2ou4pdTNvKgzuJ5kKsQLwPFORqrDQA@mail.gmail.com> <CANtKdUcX0HqNzqzr=Dh05x09hEZyMZnsPQBCi8TXRQccpYARiQ@mail.gmail.com> <etPan.56feec95.141a081e.3fe@dhcp-amer-vpn-adc-anyconnect-10-154-130-14.vpn.oracle.com> <20160401221814.GN6602@mournblade.imrryr.org> <etPan.5701ed3e.4240ccb9.98f2@dhcp-amer-vpn-adc-anyconnect-10-154-189-72.vpn.oracle.com> <CANtKdUf7vxE=9RYCV1h31um3fd9-WJAQU6xzkTU_jKrgWPeK8Q@mail.gmail.com>
X-Mailer: Airmail (351)
X-Source-IP: userv0022.oracle.com [156.151.31.74]
Archived-At: <http://mailarchive.ietf.org/arch/msg/uta/NCf-CYNIXVg-nxyj7O-Lfx2fVD0>
Cc: uta@ietf.org
Subject: Re: [Uta] New proposal: SMTP Strict Transport Security
X-BeenThere: uta@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: UTA working group mailing list <uta.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/uta>, <mailto:uta-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/uta/>
List-Post: <mailto:uta@ietf.org>
List-Help: <mailto:uta-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/uta>, <mailto:uta-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 04 Apr 2016 13:44:06 -0000

--Boundary_(ID_hK1HUc8XUciIbHjkkL4QFA)
Content-type: text/plain; charset=utf-8
Content-transfer-encoding: quoted-printable
Content-disposition: inline

On April 4, 2016 at 2:42:15 , Daniel Margolis (dmargolis=40google.com) wr=
ote:
Thanks for the clarification.=C2=A0

Sounds like a feature to me. Having MUAs do insecure DNS lookups (which i=
s what they=E2=80=99d probably do) and make misleading assertions about r=
elay security (which couldn=E2=80=99t be made even if DNSSEC/HTTPS was em=
ployed to trust the STS information, given that forwarding is in the infr=
astructure and all that). If you want to have MUAs make assertions, you=E2=
=80=99re moving in the direction of the SMTP extension draft, and as Vict=
or pointed out, the infrastructure is going to ignore even those assertio=
ns under some circumstances if that were to deploy.
I am (perhaps parochially) thinking mostly about webmail systems where th=
e MUA and the sending MTA are mostly the same piece of infrastructure. So=
 my real goal is for the MTA to be able to tell the MUA at compose time t=
hat it has a policy for the recipient domain and can guarantee certain be=
havior.=C2=A0
Do you really think an end-user can understand what it means if the MTA w=
ill transport encrypt the next hop of mail relay but can say nothing abou=
t relay hops after that or how the mail is handled by either service prov=
ider=3F Perhaps I=E2=80=99m missing the motivation for doing this, can yo=
u explain why this is useful=3F

In this context, I think having policies be per-domain is important, but =
as you note, you could have a policy semantic which allows a single MX to=
 communicate a domain-wide policy even with an in-band channel.=C2=A0

> Your suggestion, in that light, should be interpreted to say that
> the STS URI should be used to only secure the routing information
> (security for MX records via HTTPS rather than DNSSEC), and that
> once the routing information is secured, security policy for the
> given relay be in-band via SMTP and modeled on DEEP.

Mostly yes. I=E2=80=99d also want to consider an optimization to skip the=
 HTTPS step for self-hosted domains just to reduce overall new traffic.

To clarify a bit the individual steps needed, then, it seems like you're =
proposing that given the following stages:

1. Routing information: What MX hostnames are expected
2. Authenticating the MX: Determining that the server TLS cert matches
3. Policy: Ensuring the minimum level of transport-layer encryption

You propose to put =231 in either DNSSEC or HTTPS (with an optimization t=
o use in-channel in place of HTTPS if the MX domain matches the email dom=
ain) and =232 and =233 in the SMTP exchange=3F=C2=A0
Basically right.

But this doesn't necessarily eliminate the extra DNS or HTTPS lookup (at =
least in the case where the MX domain does not match the email domain), r=
ight=3F You still need to get the routing information somehow, and we're =
still trying to make this viable for domains that can't yet deploy DNSSEC=
. So in that light, you're proposing that all domains would need at least=
 the SMTP in-band exchange and that some domains would also need step =23=
1 to be done over HTTPS--meaning that sending domains would have to still=
 support both options, right=3F=C2=A0
Presuming there is WG rough consensus that use of HTTPS meets the cost/be=
nefit cutoff when compared to DNSSEC, then yes that is correct.

I can see the appeal of doing much of this in-band given that it's consis=
tent with what DEEP proposes, but I'm still concerned that if we need=C2=A0=
also=C2=A0support out-of-band, we're just increasing complexity. What do =
you think=3F
As long as the only out-of-band is verification of routing information an=
d not policy, then I don=E2=80=99t see it as increasing complexity. Indee=
d it=E2=80=99s a somewhat more conservative approach to architectural cos=
t (trying to minimize use of extra packets and protocols when performing =
the core SMTP relay operation).

But I=E2=80=99ll admit I have some experiential bias in that I=E2=80=99ve=
 seen few DNS additions deploy effectively, and I=E2=80=99ve seen a bunch=
 of SMTP extensions deploy effectively.

		- Chris

On Mon, Apr 4, 2016 at 6:27 AM, Chris Newman=C2=A0<chris.newman=40oracle.=
com>=C2=A0wrote:
On April 1, 2016 at 19:18:31 , Viktor Dukhovni (ietf-dane=40dukhovni.org)=
 wrote:
On =46ri, Apr 01, 2016 at 06:48:00PM -0300, Chris Newman wrote:=C2=A0

> I feel very strongly that policy for SMTP relay should be advertised by=
=C2=A0
> SMTP and protected by SMTP TLS. Doing anything else creates a much larg=
er=C2=A0
> attack surface on the policy information and is both more complex and l=
ess=C2=A0
> secure. The preferred mechanism to sign SMTP relay routing (DNS MX) is=C2=
=A0
> DNSSEC. I'm open to proposals for alternate mechanisms to sign MX recor=
d=C2=A0
> information due to the difficulty of deploying DNSSEC, but such mechani=
sms=C2=A0
> should not be confused with security policy.=C2=A0

Unfortunately, in MTA-to-MTA SMTP, the receiving SMTP server has=C2=A0
no idea what domain the sending SMTP client wants to deliver mail=C2=A0
to at the time that it advertises its ESMTP extensions in the EHLO=C2=A0
response.=C2=A0
This correctly identifies a key difference between SMTP relay and SMTP su=
bmission. I had missed this, thank you for raising it=21

=46or SMTP submission, there=E2=80=99s an early-indication of domain owne=
rship from the mandatory user authentication (multi-domain hosting servic=
es tend to use email address as user name to get this benefit). =46or SMT=
P relay we have no mechanism to indicate the intended domain so to handle=
 the case of a multi-domain hosting service that offers different policie=
s for different domains we=E2=80=99d need to add a way to communicate int=
ended domain early. This can be done with an SMTP verb (adding a round tr=
ip) or by using TLS ALPN or something similar (no new round trip).

=46or this (and other related) reasons, in-band SMTP security policy=C2=A0=

can only be communicated for the given SMTP server, and not the=C2=A0
recipient domain.=C2=A0
I=E2=80=99m not convinced this is true. I=E2=80=99d like to hear those ot=
her reasons.

A relay MTA MUST NOT make any conclusions about recipient domain=C2=A0
security based on security policy advertised by a particular MX=C2=A0
host. An individual MX host cannot advertise security policy=C2=A0
(implicitly) for every single domain it happens to receive mail=C2=A0
for, except for future relaying via that *same* MX host.
If the MX-from-DNS isn=E2=80=99t trusted, then no policy can be trusted. =
But STS-from-DNS has the same issue.

To secure SMTP relay traffic to a recipient domain, the routing=C2=A0
needs to be secured by some means. STS (with sensible modifications)=C2=A0=

proposes doing so via an HTTPS well-known URI associated with the=C2=A0
recipient domain. This is achieved via DNS-based signalling of=C2=A0
the existence of the STS well-known URI, and likely DNS-based=C2=A0
signalling that a cached policy is stale and should be refreshed.=C2=A0

Your suggestion, in that light, should be interpreted to say that=C2=A0
the STS URI should be used to only secure the routing information=C2=A0
(security for MX records via HTTPS rather than DNSSEC), and that=C2=A0
once the routing information is secured, security policy for the=C2=A0
given relay be in-band via SMTP and modeled on DEEP.=C2=A0
Mostly yes. I=E2=80=99d also want to consider an optimization to skip the=
 HTTPS step for self-hosted domains just to reduce overall new traffic.

Note that consequently, a domain would be able to downgrade to a=C2=A0
non-TLS provider, by serving a routing-only policy that references=C2=A0
new MX hosts that don't support a new relay-MTA flavour of DEEP.=C2=A0
We decide in the specification whether the policy attaches to the domain =
or the SMTP hostname. This is a design choice.

Also, when a sending relay sees new MX RRs incompatible with a=C2=A0
cached routing policy, it would be able to refresh that policy,=C2=A0
(provided the well-known STS URI is still up and running) and=C2=A0
deliver via the subset of MX hosts that match the refreshed policy.=C2=A0=

This all follows from a conclusion I don=E2=80=99t agree with.

=5B MX hosts that don't match the policy MUST NOT be ignored when=C2=A0
doing relay loop elimination. They would have to be treated=C2=A0
as though connections to them are failing, not as though they=C2=A0
weren't part of the MX RRset. =5D=C2=A0
Once policy is latched for a domain, any SMTP relay not complying with th=
e policy is a failure. We=E2=80=99ll want to make sure we get the 4xx vs.=
 5xx rules right in the spec for this.

=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=C2=A0
Uta mailing list=C2=A0
Uta=40ietf.org=C2=A0
https://www.ietf.org/mailman/listinfo/uta=C2=A0





--Boundary_(ID_hK1HUc8XUciIbHjkkL4QFA)
Content-type: text/html; charset=utf-8
Content-transfer-encoding: quoted-printable
Content-disposition: inline

<html><head><style>body=7Bfont-family:Helvetica,Arial;font-size:13px=7D</=
style></head><body style=3D=22word-wrap: break-word; -webkit-nbsp-mode: s=
pace; -webkit-line-break: after-white-space;=22><div id=3D=22bloop=5Fcust=
omfont=22 style=3D=22font-family:Helvetica,Arial;font-size:13px; color: r=
gba(0,0,0,1.0); margin: 0px; line-height: auto;=22><div id=3D=22bloop=5Fc=
ustomfont=22 style=3D=22margin: 0px;=22>On April 4, 2016 at 2:42:15 , Dan=
iel Margolis (<a href=3D=22mailto:dmargolis=40google.com=22>dmargolis=40g=
oogle.com</a>) wrote:</div><div><blockquote type=3D=22cite=22 class=3D=22=
clean=5Fbq=22><div></div><div><div dir=3D=22ltr=22>Thanks for the clarifi=
cation.&nbsp;<div><br></div><div><blockquote class=3D=22gmail=5Fquote=22 =
style=3D=22margin-left: 0.8ex; border-left-width: 1px; border-left-color:=
 rgb(204, 204, 204); padding-left: 1ex;=22>Sounds like a feature to me. H=
aving MUAs do insecure DNS lookups (which is what they=E2=80=99d probably=
 do) and make misleading assertions about relay security (which couldn=E2=
=80=99t be made even if DNSSEC/HTTPS was employed to trust the STS inform=
ation, given that forwarding is in the infrastructure and all that). If y=
ou want to have MUAs make assertions, you=E2=80=99re moving in the direct=
ion of the SMTP extension draft, and as Victor pointed out, the infrastru=
cture is going to ignore even those assertions under some circumstances i=
f that were to deploy.</blockquote><div style=3D=22font-size: 15.2px;=22>=
<blockquote type=3D=22cite=22 style=3D=22font-size: 13px;=22><div dir=3D=22=
ltr=22></div></blockquote></div></div><div>I am (perhaps parochially) thi=
nking mostly about webmail systems where the MUA and the sending MTA are =
mostly the same piece of infrastructure. So my real goal is for the MTA t=
o be able to tell the MUA at compose time that it has a policy for the re=
cipient domain and can guarantee certain behavior.&nbsp;</div></div></div=
></blockquote></div><p>Do you really think an end-user can understand wha=
t it means if the MTA will transport encrypt the next hop of mail relay b=
ut can say nothing about relay hops after that or how the mail is handled=
 by either service provider=3F Perhaps I=E2=80=99m missing the motivation=
 for doing this, can you explain why this is useful=3F</p><div><div><bloc=
kquote type=3D=22cite=22 class=3D=22clean=5Fbq=22><div dir=3D=22ltr=22><d=
iv>In this context, I think having policies be per-domain is important, b=
ut as you note, you could have a policy semantic which allows a single MX=
 to communicate a domain-wide policy even with an in-band channel.&nbsp;<=
/div><div><br><blockquote class=3D=22gmail=5Fquote=22 style=3D=22margin-l=
eft: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204)=
; padding-left: 1ex;=22>&gt; Your suggestion, in that light, should be in=
terpreted to say that<br>&gt; the STS URI should be used to only secure t=
he routing information<br>&gt; (security for MX records via HTTPS rather =
than DNSSEC), and that<br>&gt; once the routing information is secured, s=
ecurity policy for the<br>&gt; given relay be in-band via SMTP and modele=
d on DEEP.<br><br>Mostly yes. I=E2=80=99d also want to consider an optimi=
zation to skip the HTTPS step for self-hosted domains just to reduce over=
all new traffic.</blockquote></div><div><br></div><div>To clarify a bit t=
he individual steps needed, then, it seems like you're proposing that giv=
en the following stages:</div><div><br></div><div>1. Routing information:=
 What MX hostnames are expected</div><div>2. Authenticating the MX: Deter=
mining that the server TLS cert matches</div><div>3. Policy: Ensuring the=
 minimum level of transport-layer encryption</div><div><br></div><div>You=
 propose to put =231 in either DNSSEC or HTTPS (with an optimization to u=
se in-channel in place of HTTPS if the MX domain matches the email domain=
) and =232 and =233 in the SMTP exchange=3F&nbsp;</div></div></blockquote=
></div><p>Basically right.</p><div><div><blockquote type=3D=22cite=22 cla=
ss=3D=22clean=5Fbq=22><div dir=3D=22ltr=22>But this doesn't necessarily e=
liminate the extra DNS or HTTPS lookup (at least in the case where the MX=
 domain does not match the email domain), right=3F You still need to get =
the routing information somehow, and we're still trying to make this viab=
le for domains that can't yet deploy DNSSEC. So in that light, you're pro=
posing that all domains would need at least the SMTP in-band exchange and=
 that some domains would also need step =231 to be done over HTTPS--meani=
ng that sending domains would have to still support both options, right=3F=
&nbsp;</div></blockquote></div><p>Presuming there is WG rough consensus t=
hat use of HTTPS meets the cost/benefit cutoff when compared to DNSSEC, t=
hen yes that is correct.</p><div><div><div><blockquote type=3D=22cite=22 =
class=3D=22clean=5Fbq=22><div dir=3D=22ltr=22>I can see the appeal of doi=
ng much of this in-band given that it's consistent with what DEEP propose=
s, but I'm still concerned that if we need&nbsp;<i>also</i>&nbsp;support =
out-of-band, we're just increasing complexity. What do you think=3F</div>=
</blockquote></div><p>As long as the only out-of-band is verification of =
routing information and not policy, then I don=E2=80=99t see it as increa=
sing complexity. Indeed it=E2=80=99s a somewhat more conservative approac=
h to architectural cost (trying to minimize use of extra packets and prot=
ocols when performing the core SMTP relay operation).</p><p>But I=E2=80=99=
ll admit I have some experiential bias in that I=E2=80=99ve seen few DNS =
additions deploy effectively, and I=E2=80=99ve seen a bunch of SMTP exten=
sions deploy effectively.</p><div><span class=3D=22Apple-tab-span=22 styl=
e=3D=22white-space:pre=22>		</span>- Chris</div></div><div><br></div><div=
><blockquote type=3D=22cite=22 class=3D=22clean=5Fbq=22><div class=3D=22g=
mail=5Fextra=22><div class=3D=22gmail=5Fquote=22>On Mon, Apr 4, 2016 at 6=
:27 AM, Chris Newman&nbsp;<span dir=3D=22ltr=22>&lt;<a href=3D=22mailto:c=
hris.newman=40oracle.com=22 target=3D=22=5Fblank=22>chris.newman=40oracle=
.com</a>&gt;</span>&nbsp;wrote:<br><blockquote class=3D=22gmail=5Fquote=22=
 style=3D=22margin-left: 0.8ex; border-left-width: 1px; border-left-color=
: rgb(204, 204, 204); padding-left: 1ex;=22><div style=3D=22word-wrap: br=
eak-word;=22><div style=3D=22margin: 0px;=22><span class=3D=22=22>On Apri=
l 1, 2016 at 19:18:31 , Viktor Dukhovni (<a href=3D=22mailto:ietf-dane=40=
dukhovni.org=22 target=3D=22=5Fblank=22>ietf-dane=40dukhovni.org</a>) wro=
te:</span></div><div><blockquote type=3D=22cite=22><span class=3D=22=22>O=
n =46ri, Apr 01, 2016 at 06:48:00PM -0300, Chris Newman wrote:&nbsp;<br><=
br>&gt; I feel very strongly that policy for SMTP relay should be adverti=
sed by&nbsp;<br>&gt; SMTP and protected by SMTP TLS. Doing anything else =
creates a much larger&nbsp;<br>&gt; attack surface on the policy informat=
ion and is both more complex and less&nbsp;<br>&gt; secure. The preferred=
 mechanism to sign SMTP relay routing (DNS MX) is&nbsp;<br>&gt; DNSSEC. I=
'm open to proposals for alternate mechanisms to sign MX record&nbsp;<br>=
&gt; information due to the difficulty of deploying DNSSEC, but such mech=
anisms&nbsp;<br>&gt; should not be confused with security policy.&nbsp;<b=
r><br>Unfortunately, in MTA-to-MTA SMTP, the receiving SMTP server has&nb=
sp;<br>no idea what domain the sending SMTP client wants to deliver mail&=
nbsp;<br>to at the time that it advertises its ESMTP extensions in the EH=
LO&nbsp;<br>response.&nbsp;</span></blockquote></div><p>This correctly id=
entifies a key difference between SMTP relay and SMTP submission. I had m=
issed this, thank you for raising it=21</p><p>=46or SMTP submission, ther=
e=E2=80=99s an early-indication of domain ownership from the mandatory us=
er authentication (multi-domain hosting services tend to use email addres=
s as user name to get this benefit). =46or SMTP relay we have no mechanis=
m to indicate the intended domain so to handle the case of a multi-domain=
 hosting service that offers different policies for different domains we=E2=
=80=99d need to add a way to communicate intended domain early. This can =
be done with an SMTP verb (adding a round trip) or by using TLS ALPN or s=
omething similar (no new round trip).</p><div><div><blockquote type=3D=22=
cite=22><span class=3D=22=22>=46or this (and other related) reasons, in-b=
and SMTP security policy&nbsp;<br>can only be communicated for the given =
SMTP server, and not the&nbsp;<br>recipient domain.&nbsp;</span></blockqu=
ote></div><p>I=E2=80=99m not convinced this is true. I=E2=80=99d like to =
hear those other reasons.</p><div><div><blockquote type=3D=22cite=22><spa=
n class=3D=22=22>A relay MTA MUST NOT make any conclusions about recipien=
t domain&nbsp;<br>security based on security policy advertised by a parti=
cular MX&nbsp;<br>host. An individual MX host cannot advertise security p=
olicy&nbsp;<br>(implicitly) for every single domain it happens to receive=
 mail&nbsp;<br>for, except for future relaying via that *same* MX host.</=
span></blockquote></div><p>If the MX-from-DNS isn=E2=80=99t trusted, then=
 no policy can be trusted. But STS-from-DNS has the same issue.</p><div><=
div><blockquote type=3D=22cite=22><span class=3D=22=22>To secure SMTP rel=
ay traffic to a recipient domain, the routing&nbsp;<br>needs to be secure=
d by some means. STS (with sensible modifications)&nbsp;<br>proposes doin=
g so via an HTTPS well-known URI associated with the&nbsp;<br>recipient d=
omain. This is achieved via DNS-based signalling of&nbsp;<br>the existenc=
e of the STS well-known URI, and likely DNS-based&nbsp;<br>signalling tha=
t a cached policy is stale and should be refreshed.&nbsp;<br><br>Your sug=
gestion, in that light, should be interpreted to say that&nbsp;<br>the ST=
S URI should be used to only secure the routing information&nbsp;<br>(sec=
urity for MX records via HTTPS rather than DNSSEC), and that&nbsp;<br>onc=
e the routing information is secured, security policy for the&nbsp;<br>gi=
ven relay be in-band via SMTP and modeled on DEEP.&nbsp;</span></blockquo=
te></div><p>Mostly yes. I=E2=80=99d also want to consider an optimization=
 to skip the HTTPS step for self-hosted domains just to reduce overall ne=
w traffic.</p><div><div><blockquote type=3D=22cite=22><span class=3D=22=22=
>Note that consequently, a domain would be able to downgrade to a&nbsp;<b=
r>non-TLS provider, by serving a routing-only policy that references&nbsp=
;<br>new MX hosts that don't support a new relay-MTA flavour of DEEP.&nbs=
p;</span></blockquote></div><p>We decide in the specification whether the=
 policy attaches to the domain or the SMTP hostname. This is a design cho=
ice.</p><div><div><blockquote type=3D=22cite=22><span class=3D=22=22>Also=
, when a sending relay sees new MX RRs incompatible with a&nbsp;<br>cache=
d routing policy, it would be able to refresh that policy,&nbsp;<br>(prov=
ided the well-known STS URI is still up and running) and&nbsp;<br>deliver=
 via the subset of MX hosts that match the refreshed policy.&nbsp;</span>=
</blockquote></div><p>This all follows from a conclusion I don=E2=80=99t =
agree with.</p><div><div><blockquote type=3D=22cite=22><span class=3D=22=22=
>=5B MX hosts that don't match the policy MUST NOT be ignored when&nbsp;<=
br>doing relay loop elimination. They would have to be treated&nbsp;<br>a=
s though connections to them are failing, not as though they&nbsp;<br>wer=
en't part of the MX RRset. =5D&nbsp;</span></blockquote></div><p>Once pol=
icy is latched for a domain, any SMTP relay not complying with the policy=
 is a failure. We=E2=80=99ll want to make sure we get the 4xx vs. 5xx rul=
es right in the spec for this.</p></div></div></div></div></div></div></d=
iv></blockquote></div></div>=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=
=5F=5F=5F=5F=5F=5F=5F&nbsp;<br>Uta mailing list&nbsp;<br>Uta=40ietf.org&n=
bsp;<br>https://www.ietf.org/mailman/listinfo/uta&nbsp;<br></blockquote><=
br class=3D=22Apple-interchange-newline=22></div><br class=3D=22Apple-int=
erchange-newline=22></div><br class=3D=22Apple-interchange-newline=22></d=
iv></div></div><div id=3D=22bloop=5Fsign=5F1459776637240577024=22 class=3D=
=22bloop=5Fsign=22><br></div></body></html>=

--Boundary_(ID_hK1HUc8XUciIbHjkkL4QFA)--


From nobody Mon Apr  4 07:03:29 2016
Return-Path: <risher@google.com>
X-Original-To: uta@ietfa.amsl.com
Delivered-To: uta@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E0AC112D6E0 for <uta@ietfa.amsl.com>; Mon,  4 Apr 2016 07:03:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.71
X-Spam-Level: 
X-Spam-Status: No, score=-2.71 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=google.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 h68p2kXioNc6 for <uta@ietfa.amsl.com>; Mon,  4 Apr 2016 07:03:21 -0700 (PDT)
Received: from mail-vk0-x235.google.com (mail-vk0-x235.google.com [IPv6:2607:f8b0:400c:c05::235]) (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 D0D3412D6D6 for <uta@ietf.org>; Mon,  4 Apr 2016 07:03:20 -0700 (PDT)
Received: by mail-vk0-x235.google.com with SMTP id e6so180717219vkh.2 for <uta@ietf.org>; Mon, 04 Apr 2016 07:03:20 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=Lm4byFhU9xvAfZQLiaknFPaYCyevnDNP9YzwV5n3fn8=; b=N7ZG0CB7KY39ElReJonJB5zmdHNgW4SU3YOzTiNxKgO4aqDadRwhxfyIeKSyfSQt8v Zx9jsibmyhmB77m8AIpAhzd/QaAE6x++qwZVCq7jIcG10gAK88MJLaX92m6F/U7toTxj jonS/cpp0x2U+oKumB+8Aht3vmjb8zcPX5bRhN9ANGXXWDn8bkdPLRNVyCpsz+Ndmkb4 62DArRugo0+CSbAOnLLr9q1rKhGO/i6L8+8Uy3/SA+rXTBqNT6qx9DKAvplNtj2kWlbp lfj9kRC5RIv3sBHGWgz4YTQlvVlhzZQRH0jnPAb/jgTjJuCivKiXqQH3crcEaEuijTHO aADA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=Lm4byFhU9xvAfZQLiaknFPaYCyevnDNP9YzwV5n3fn8=; b=DYtfs42je89wIMr7VmEUYxdvyADNo/WDHj2c1YIVrbKBI9462vCjWclUPHcJ7FHy86 4CGTz6dczNTq2FfKMDOJxI+uKxR2+uH3AEf2C463u+U5uIXVa/4phodd+rxyXm5C3kSX 6224Vqkqx/a9D6zN8kInUphZ9ulffZUej7QG7eZ89ByWfMgCBjAyAAbu7j7NrRFojF4H /mQoCN0l7IRoCJ5LkK+Y1ZzVF1opVbnnNthyRpgT2/ARU/+L7r2c/EYuvjD0E6zwTU0m +FxU8EPmlOKP8LSzRZwX5fDxIIRf680UrwXDh4+ls1kRqCjNbmE8XdFgE+n7vflOCi3C BLDA==
X-Gm-Message-State: AD7BkJIPOGn7goAOTbM5R6q9yP2G/1lad6TWB41AHwYYzPfugsAr8gVmWQBGueMrwjsE0GzhAMX0ENHwuylH79x0
MIME-Version: 1.0
X-Received: by 10.31.151.75 with SMTP id z72mr464683vkd.104.1459778599767; Mon, 04 Apr 2016 07:03:19 -0700 (PDT)
Received: by 10.176.3.198 with HTTP; Mon, 4 Apr 2016 07:03:19 -0700 (PDT)
Received: by 10.176.3.198 with HTTP; Mon, 4 Apr 2016 07:03:19 -0700 (PDT)
In-Reply-To: <etPan.57026f6f.e35b23.99e0@dhcp-ukc1-twvpn-2-vpnpool-10-175-218-94.vpn.oracle.com>
References: <CAB0W=GS2PXF-divC+SNs+A-jH1-_BBA889-TbQXHvrVsrbKLEA@mail.gmail.com> <CAB0W=GSQ4oTLT+qepMi7Pj5=UmBD70D_uW7c193RY-gw818ORA@mail.gmail.com> <CAB0W=GRB_6LhqEGYzeYq-srnM99wqwZrdjUEm=vJ7+oFiKbYoA@mail.gmail.com> <CAB0W=GTGja5JtxGuCzhD6O3B2Ow-wLN-B6WQ8XUDyvQRqdFZxw@mail.gmail.com> <20160322063527.GD6602@mournblade.imrryr.org> <CANtKdUeh8LV1uaWAyRqQ2ou4pdTNvKgzuJ5kKsQLwPFORqrDQA@mail.gmail.com> <CANtKdUcX0HqNzqzr=Dh05x09hEZyMZnsPQBCi8TXRQccpYARiQ@mail.gmail.com> <etPan.56feec95.141a081e.3fe@dhcp-amer-vpn-adc-anyconnect-10-154-130-14.vpn.oracle.com> <20160401221814.GN6602@mournblade.imrryr.org> <etPan.5701ed3e.4240ccb9.98f2@dhcp-amer-vpn-adc-anyconnect-10-154-189-72.vpn.oracle.com> <CANtKdUf7vxE=9RYCV1h31um3fd9-WJAQU6xzkTU_jKrgWPeK8Q@mail.gmail.com> <etPan.57026f6f.e35b23.99e0@dhcp-ukc1-twvpn-2-vpnpool-10-175-218-94.vpn.oracle.com>
Date: Mon, 4 Apr 2016 07:03:19 -0700
Message-ID: <CAB0W=GTNa+oG7p8djUa+ffrwt0rpVkFofzFv4g6Q=u+re0fNPA@mail.gmail.com>
From: Mark Risher <risher@google.com>
To: Chris Newman <chris.newman@oracle.com>
Content-Type: multipart/alternative; boundary=001a1140f582e44725052fa930cc
Archived-At: <http://mailarchive.ietf.org/arch/msg/uta/KD9uBzx2DWei0wXDrrGWcxU3NuQ>
Cc: uta@ietf.org, Daniel Margolis <dmargolis@google.com>
Subject: Re: [Uta] New proposal: SMTP Strict Transport Security
X-BeenThere: uta@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: UTA working group mailing list <uta.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/uta>, <mailto:uta-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/uta/>
List-Post: <mailto:uta@ietf.org>
List-Help: <mailto:uta-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/uta>, <mailto:uta-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 04 Apr 2016 14:03:29 -0000

--001a1140f582e44725052fa930cc
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

>> Do you really think an end-user can understand what it means if the MTA
will transport encrypt the next hop of mail relay but can say nothing about
relay hops after that or how the mail is handled by either service
provider? Perhaps I=E2=80=99m missing the motivation for doing this, can yo=
u
explain why this is useful?

The intent of this proposal itself is to resist downgrades and frontage
mis-routing of messages. I agree users will not understand this, and any
effort for communicating encryption status covering the entirety of the
journey from user to user would require additional work beyond STS (such as
DEEP, REQUIRETLS, and other proposals).

>> I=E2=80=99ve seen few DNS additions deploy effectively, and I=E2=80=99ve=
 seen a bunch of
SMTP extensions deploy effectively.

Can you share examples of each? We chose DNS over the new verb for ease of
deployment; one example is the rates of adoption of SPF (which only
requires DNS updates) versus DKIM.

Thanks for the feedback. Looking forward to the face to face in a few hours=
,
/m

---
Mark Risher | Google | 650-253-3123
On Apr 4, 2016 10:44 AM, "Chris Newman" <chris.newman@oracle.com> wrote:

> On April 4, 2016 at 2:42:15 , Daniel Margolis (dmargolis@google.com)
> wrote:
>
> Thanks for the clarification.
>
> Sounds like a feature to me. Having MUAs do insecure DNS lookups (which i=
s
>> what they=E2=80=99d probably do) and make misleading assertions about re=
lay
>> security (which couldn=E2=80=99t be made even if DNSSEC/HTTPS was employ=
ed to trust
>> the STS information, given that forwarding is in the infrastructure and =
all
>> that). If you want to have MUAs make assertions, you=E2=80=99re moving i=
n the
>> direction of the SMTP extension draft, and as Victor pointed out, the
>> infrastructure is going to ignore even those assertions under some
>> circumstances if that were to deploy.
>
> I am (perhaps parochially) thinking mostly about webmail systems where th=
e
> MUA and the sending MTA are mostly the same piece of infrastructure. So m=
y
> real goal is for the MTA to be able to tell the MUA at compose time that =
it
> has a policy for the recipient domain and can guarantee certain behavior.
>
> Do you really think an end-user can understand what it means if the MTA
> will transport encrypt the next hop of mail relay but can say nothing abo=
ut
> relay hops after that or how the mail is handled by either service
> provider? Perhaps I=E2=80=99m missing the motivation for doing this, can =
you
> explain why this is useful?
>
> In this context, I think having policies be per-domain is important, but
> as you note, you could have a policy semantic which allows a single MX to
> communicate a domain-wide policy even with an in-band channel.
>
> > Your suggestion, in that light, should be interpreted to say that
>> > the STS URI should be used to only secure the routing information
>> > (security for MX records via HTTPS rather than DNSSEC), and that
>> > once the routing information is secured, security policy for the
>> > given relay be in-band via SMTP and modeled on DEEP.
>>
>> Mostly yes. I=E2=80=99d also want to consider an optimization to skip th=
e HTTPS
>> step for self-hosted domains just to reduce overall new traffic.
>
>
> To clarify a bit the individual steps needed, then, it seems like you're
> proposing that given the following stages:
>
> 1. Routing information: What MX hostnames are expected
> 2. Authenticating the MX: Determining that the server TLS cert matches
> 3. Policy: Ensuring the minimum level of transport-layer encryption
>
> You propose to put #1 in either DNSSEC or HTTPS (with an optimization to
> use in-channel in place of HTTPS if the MX domain matches the email domai=
n)
> and #2 and #3 in the SMTP exchange?
>
> Basically right.
>
> But this doesn't necessarily eliminate the extra DNS or HTTPS lookup (at
> least in the case where the MX domain does not match the email domain),
> right? You still need to get the routing information somehow, and we're
> still trying to make this viable for domains that can't yet deploy DNSSEC=
.
> So in that light, you're proposing that all domains would need at least t=
he
> SMTP in-band exchange and that some domains would also need step #1 to be
> done over HTTPS--meaning that sending domains would have to still support
> both options, right?
>
> Presuming there is WG rough consensus that use of HTTPS meets the
> cost/benefit cutoff when compared to DNSSEC, then yes that is correct.
>
> I can see the appeal of doing much of this in-band given that it's
> consistent with what DEEP proposes, but I'm still concerned that if we ne=
ed
> *also* support out-of-band, we're just increasing complexity. What do you
> think?
>
> As long as the only out-of-band is verification of routing information an=
d
> not policy, then I don=E2=80=99t see it as increasing complexity. Indeed =
it=E2=80=99s a
> somewhat more conservative approach to architectural cost (trying to
> minimize use of extra packets and protocols when performing the core SMTP
> relay operation).
>
> But I=E2=80=99ll admit I have some experiential bias in that I=E2=80=99ve=
 seen few DNS
> additions deploy effectively, and I=E2=80=99ve seen a bunch of SMTP exten=
sions
> deploy effectively.
> - Chris
>
> On Mon, Apr 4, 2016 at 6:27 AM, Chris Newman <chris.newman@oracle.com>
>  wrote:
>
>> On April 1, 2016 at 19:18:31 , Viktor Dukhovni (ietf-dane@dukhovni.org)
>> wrote:
>>
>> On Fri, Apr 01, 2016 at 06:48:00PM -0300, Chris Newman wrote:
>>
>> > I feel very strongly that policy for SMTP relay should be advertised b=
y
>> > SMTP and protected by SMTP TLS. Doing anything else creates a much
>> larger
>> > attack surface on the policy information and is both more complex and
>> less
>> > secure. The preferred mechanism to sign SMTP relay routing (DNS MX) is
>> > DNSSEC. I'm open to proposals for alternate mechanisms to sign MX
>> record
>> > information due to the difficulty of deploying DNSSEC, but such
>> mechanisms
>> > should not be confused with security policy.
>>
>> Unfortunately, in MTA-to-MTA SMTP, the receiving SMTP server has
>> no idea what domain the sending SMTP client wants to deliver mail
>> to at the time that it advertises its ESMTP extensions in the EHLO
>> response.
>>
>> This correctly identifies a key difference between SMTP relay and SMTP
>> submission. I had missed this, thank you for raising it!
>>
>> For SMTP submission, there=E2=80=99s an early-indication of domain owner=
ship from
>> the mandatory user authentication (multi-domain hosting services tend to
>> use email address as user name to get this benefit). For SMTP relay we h=
ave
>> no mechanism to indicate the intended domain so to handle the case of a
>> multi-domain hosting service that offers different policies for differen=
t
>> domains we=E2=80=99d need to add a way to communicate intended domain ea=
rly. This
>> can be done with an SMTP verb (adding a round trip) or by using TLS ALPN=
 or
>> something similar (no new round trip).
>>
>> For this (and other related) reasons, in-band SMTP security policy
>> can only be communicated for the given SMTP server, and not the
>> recipient domain.
>>
>> I=E2=80=99m not convinced this is true. I=E2=80=99d like to hear those o=
ther reasons.
>>
>> A relay MTA MUST NOT make any conclusions about recipient domain
>> security based on security policy advertised by a particular MX
>> host. An individual MX host cannot advertise security policy
>> (implicitly) for every single domain it happens to receive mail
>> for, except for future relaying via that *same* MX host.
>>
>> If the MX-from-DNS isn=E2=80=99t trusted, then no policy can be trusted.=
 But
>> STS-from-DNS has the same issue.
>>
>> To secure SMTP relay traffic to a recipient domain, the routing
>> needs to be secured by some means. STS (with sensible modifications)
>> proposes doing so via an HTTPS well-known URI associated with the
>> recipient domain. This is achieved via DNS-based signalling of
>> the existence of the STS well-known URI, and likely DNS-based
>> signalling that a cached policy is stale and should be refreshed.
>>
>> Your suggestion, in that light, should be interpreted to say that
>> the STS URI should be used to only secure the routing information
>> (security for MX records via HTTPS rather than DNSSEC), and that
>> once the routing information is secured, security policy for the
>> given relay be in-band via SMTP and modeled on DEEP.
>>
>> Mostly yes. I=E2=80=99d also want to consider an optimization to skip th=
e HTTPS
>> step for self-hosted domains just to reduce overall new traffic.
>>
>> Note that consequently, a domain would be able to downgrade to a
>> non-TLS provider, by serving a routing-only policy that references
>> new MX hosts that don't support a new relay-MTA flavour of DEEP.
>>
>> We decide in the specification whether the policy attaches to the domain
>> or the SMTP hostname. This is a design choice.
>>
>> Also, when a sending relay sees new MX RRs incompatible with a
>> cached routing policy, it would be able to refresh that policy,
>> (provided the well-known STS URI is still up and running) and
>> deliver via the subset of MX hosts that match the refreshed policy.
>>
>> This all follows from a conclusion I don=E2=80=99t agree with.
>>
>> [ MX hosts that don't match the policy MUST NOT be ignored when
>> doing relay loop elimination. They would have to be treated
>> as though connections to them are failing, not as though they
>> weren't part of the MX RRset. ]
>>
>> Once policy is latched for a domain, any SMTP relay not complying with
>> the policy is a failure. We=E2=80=99ll want to make sure we get the 4xx =
vs. 5xx
>> rules right in the spec for this.
>>
> _______________________________________________
> Uta mailing list
> Uta@ietf.org
> https://www.ietf.org/mailman/listinfo/uta
>
>
>
>
>
>
> _______________________________________________
> Uta mailing list
> Uta@ietf.org
> https://www.ietf.org/mailman/listinfo/uta
>
>

--001a1140f582e44725052fa930cc
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<p dir=3D"ltr">&gt;&gt; Do you really think an end-user can understand what=
 it means if the MTA will transport encrypt the next hop of mail relay but =
can say nothing about relay hops after that or how the mail is handled by e=
ither service provider? Perhaps I=E2=80=99m missing the motivation for doin=
g this, can you explain why this is useful?</p>
<p dir=3D"ltr">The intent of this proposal itself is to resist downgrades a=
nd frontage mis-routing of messages. I agree users will not understand this=
, and any effort for communicating encryption status covering the entirety =
of the journey from user to user would require additional work beyond STS (=
such as DEEP, REQUIRETLS, and other proposals).</p>
<p dir=3D"ltr">&gt;&gt; I=E2=80=99ve seen few DNS additions deploy effectiv=
ely, and I=E2=80=99ve seen a bunch of SMTP extensions deploy effectively.</=
p>
<p dir=3D"ltr">Can you share examples of each? We chose DNS over the new ve=
rb for ease of deployment; one example is the rates of adoption of SPF (whi=
ch only requires DNS updates) versus DKIM. </p>
<p dir=3D"ltr">Thanks for the feedback. Looking forward to the face to face=
 in a few hours,<br>
/m<br><br></p>
<p dir=3D"ltr">---<br>
Mark Risher | Google | 650-253-3123</p>
<div class=3D"gmail_quote">On Apr 4, 2016 10:44 AM, &quot;Chris Newman&quot=
; &lt;<a href=3D"mailto:chris.newman@oracle.com">chris.newman@oracle.com</a=
>&gt; wrote:<br type=3D"attribution"><blockquote class=3D"gmail_quote" styl=
e=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div st=
yle=3D"word-wrap:break-word"><div style=3D"font-family:Helvetica,Arial;font=
-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto"><div style=3D=
"margin:0px">On April 4, 2016 at 2:42:15 , Daniel Margolis (<a href=3D"mail=
to:dmargolis@google.com" target=3D"_blank">dmargolis@google.com</a>) wrote:=
</div><div><blockquote type=3D"cite"><div></div><div><div dir=3D"ltr">Thank=
s for the clarification.=C2=A0<div><br></div><div><blockquote class=3D"gmai=
l_quote" style=3D"margin-left:0.8ex;border-left-width:1px;border-left-color=
:rgb(204,204,204);padding-left:1ex">Sounds like a feature to me. Having MUA=
s do insecure DNS lookups (which is what they=E2=80=99d probably do) and ma=
ke misleading assertions about relay security (which couldn=E2=80=99t be ma=
de even if DNSSEC/HTTPS was employed to trust the STS information, given th=
at forwarding is in the infrastructure and all that). If you want to have M=
UAs make assertions, you=E2=80=99re moving in the direction of the SMTP ext=
ension draft, and as Victor pointed out, the infrastructure is going to ign=
ore even those assertions under some circumstances if that were to deploy.<=
/blockquote><div style=3D"font-size:15.2px"><blockquote type=3D"cite" style=
=3D"font-size:13px"><div dir=3D"ltr"></div></blockquote></div></div><div>I =
am (perhaps parochially) thinking mostly about webmail systems where the MU=
A and the sending MTA are mostly the same piece of infrastructure. So my re=
al goal is for the MTA to be able to tell the MUA at compose time that it h=
as a policy for the recipient domain and can guarantee certain behavior.=C2=
=A0</div></div></div></blockquote></div><p>Do you really think an end-user =
can understand what it means if the MTA will transport encrypt the next hop=
 of mail relay but can say nothing about relay hops after that or how the m=
ail is handled by either service provider? Perhaps I=E2=80=99m missing the =
motivation for doing this, can you explain why this is useful?</p><div><div=
><blockquote type=3D"cite"><div dir=3D"ltr"><div>In this context, I think h=
aving policies be per-domain is important, but as you note, you could have =
a policy semantic which allows a single MX to communicate a domain-wide pol=
icy even with an in-band channel.=C2=A0</div><div><br><blockquote class=3D"=
gmail_quote" style=3D"margin-left:0.8ex;border-left-width:1px;border-left-c=
olor:rgb(204,204,204);padding-left:1ex">&gt; Your suggestion, in that light=
, should be interpreted to say that<br>&gt; the STS URI should be used to o=
nly secure the routing information<br>&gt; (security for MX records via HTT=
PS rather than DNSSEC), and that<br>&gt; once the routing information is se=
cured, security policy for the<br>&gt; given relay be in-band via SMTP and =
modeled on DEEP.<br><br>Mostly yes. I=E2=80=99d also want to consider an op=
timization to skip the HTTPS step for self-hosted domains just to reduce ov=
erall new traffic.</blockquote></div><div><br></div><div>To clarify a bit t=
he individual steps needed, then, it seems like you&#39;re proposing that g=
iven the following stages:</div><div><br></div><div>1. Routing information:=
 What MX hostnames are expected</div><div>2. Authenticating the MX: Determi=
ning that the server TLS cert matches</div><div>3. Policy: Ensuring the min=
imum level of transport-layer encryption</div><div><br></div><div>You propo=
se to put #1 in either DNSSEC or HTTPS (with an optimization to use in-chan=
nel in place of HTTPS if the MX domain matches the email domain) and #2 and=
 #3 in the SMTP exchange?=C2=A0</div></div></blockquote></div><p>Basically =
right.</p><div><div><blockquote type=3D"cite"><div dir=3D"ltr">But this doe=
sn&#39;t necessarily eliminate the extra DNS or HTTPS lookup (at least in t=
he case where the MX domain does not match the email domain), right? You st=
ill need to get the routing information somehow, and we&#39;re still trying=
 to make this viable for domains that can&#39;t yet deploy DNSSEC. So in th=
at light, you&#39;re proposing that all domains would need at least the SMT=
P in-band exchange and that some domains would also need step #1 to be done=
 over HTTPS--meaning that sending domains would have to still support both =
options, right?=C2=A0</div></blockquote></div><p>Presuming there is WG roug=
h consensus that use of HTTPS meets the cost/benefit cutoff when compared t=
o DNSSEC, then yes that is correct.</p><div><div><div><blockquote type=3D"c=
ite"><div dir=3D"ltr">I can see the appeal of doing much of this in-band gi=
ven that it&#39;s consistent with what DEEP proposes, but I&#39;m still con=
cerned that if we need=C2=A0<i>also</i>=C2=A0support out-of-band, we&#39;re=
 just increasing complexity. What do you think?</div></blockquote></div><p>=
As long as the only out-of-band is verification of routing information and =
not policy, then I don=E2=80=99t see it as increasing complexity. Indeed it=
=E2=80=99s a somewhat more conservative approach to architectural cost (try=
ing to minimize use of extra packets and protocols when performing the core=
 SMTP relay operation).</p><p>But I=E2=80=99ll admit I have some experienti=
al bias in that I=E2=80=99ve seen few DNS additions deploy effectively, and=
 I=E2=80=99ve seen a bunch of SMTP extensions deploy effectively.</p><div><=
span style=3D"white-space:pre-wrap">		</span>- Chris</div></div><div><br></=
div><div><blockquote type=3D"cite"><div class=3D"gmail_extra"><div class=3D=
"gmail_quote">On Mon, Apr 4, 2016 at 6:27 AM, Chris Newman=C2=A0<span dir=
=3D"ltr">&lt;<a href=3D"mailto:chris.newman@oracle.com" target=3D"_blank">c=
hris.newman@oracle.com</a>&gt;</span>=C2=A0wrote:<br><blockquote class=3D"g=
mail_quote" style=3D"margin-left:0.8ex;border-left-width:1px;border-left-co=
lor:rgb(204,204,204);padding-left:1ex"><div style=3D"word-wrap:break-word">=
<div style=3D"margin:0px"><span>On April 1, 2016 at 19:18:31 , Viktor Dukho=
vni (<a href=3D"mailto:ietf-dane@dukhovni.org" target=3D"_blank">ietf-dane@=
dukhovni.org</a>) wrote:</span></div><div><blockquote type=3D"cite"><span>O=
n Fri, Apr 01, 2016 at 06:48:00PM -0300, Chris Newman wrote:=C2=A0<br><br>&=
gt; I feel very strongly that policy for SMTP relay should be advertised by=
=C2=A0<br>&gt; SMTP and protected by SMTP TLS. Doing anything else creates =
a much larger=C2=A0<br>&gt; attack surface on the policy information and is=
 both more complex and less=C2=A0<br>&gt; secure. The preferred mechanism t=
o sign SMTP relay routing (DNS MX) is=C2=A0<br>&gt; DNSSEC. I&#39;m open to=
 proposals for alternate mechanisms to sign MX record=C2=A0<br>&gt; informa=
tion due to the difficulty of deploying DNSSEC, but such mechanisms=C2=A0<b=
r>&gt; should not be confused with security policy.=C2=A0<br><br>Unfortunat=
ely, in MTA-to-MTA SMTP, the receiving SMTP server has=C2=A0<br>no idea wha=
t domain the sending SMTP client wants to deliver mail=C2=A0<br>to at the t=
ime that it advertises its ESMTP extensions in the EHLO=C2=A0<br>response.=
=C2=A0</span></blockquote></div><p>This correctly identifies a key differen=
ce between SMTP relay and SMTP submission. I had missed this, thank you for=
 raising it!</p><p>For SMTP submission, there=E2=80=99s an early-indication=
 of domain ownership from the mandatory user authentication (multi-domain h=
osting services tend to use email address as user name to get this benefit)=
. For SMTP relay we have no mechanism to indicate the intended domain so to=
 handle the case of a multi-domain hosting service that offers different po=
licies for different domains we=E2=80=99d need to add a way to communicate =
intended domain early. This can be done with an SMTP verb (adding a round t=
rip) or by using TLS ALPN or something similar (no new round trip).</p><div=
><div><blockquote type=3D"cite"><span>For this (and other related) reasons,=
 in-band SMTP security policy=C2=A0<br>can only be communicated for the giv=
en SMTP server, and not the=C2=A0<br>recipient domain.=C2=A0</span></blockq=
uote></div><p>I=E2=80=99m not convinced this is true. I=E2=80=99d like to h=
ear those other reasons.</p><div><div><blockquote type=3D"cite"><span>A rel=
ay MTA MUST NOT make any conclusions about recipient domain=C2=A0<br>securi=
ty based on security policy advertised by a particular MX=C2=A0<br>host. An=
 individual MX host cannot advertise security policy=C2=A0<br>(implicitly) =
for every single domain it happens to receive mail=C2=A0<br>for, except for=
 future relaying via that *same* MX host.</span></blockquote></div><p>If th=
e MX-from-DNS isn=E2=80=99t trusted, then no policy can be trusted. But STS=
-from-DNS has the same issue.</p><div><div><blockquote type=3D"cite"><span>=
To secure SMTP relay traffic to a recipient domain, the routing=C2=A0<br>ne=
eds to be secured by some means. STS (with sensible modifications)=C2=A0<br=
>proposes doing so via an HTTPS well-known URI associated with the=C2=A0<br=
>recipient domain. This is achieved via DNS-based signalling of=C2=A0<br>th=
e existence of the STS well-known URI, and likely DNS-based=C2=A0<br>signal=
ling that a cached policy is stale and should be refreshed.=C2=A0<br><br>Yo=
ur suggestion, in that light, should be interpreted to say that=C2=A0<br>th=
e STS URI should be used to only secure the routing information=C2=A0<br>(s=
ecurity for MX records via HTTPS rather than DNSSEC), and that=C2=A0<br>onc=
e the routing information is secured, security policy for the=C2=A0<br>give=
n relay be in-band via SMTP and modeled on DEEP.=C2=A0</span></blockquote><=
/div><p>Mostly yes. I=E2=80=99d also want to consider an optimization to sk=
ip the HTTPS step for self-hosted domains just to reduce overall new traffi=
c.</p><div><div><blockquote type=3D"cite"><span>Note that consequently, a d=
omain would be able to downgrade to a=C2=A0<br>non-TLS provider, by serving=
 a routing-only policy that references=C2=A0<br>new MX hosts that don&#39;t=
 support a new relay-MTA flavour of DEEP.=C2=A0</span></blockquote></div><p=
>We decide in the specification whether the policy attaches to the domain o=
r the SMTP hostname. This is a design choice.</p><div><div><blockquote type=
=3D"cite"><span>Also, when a sending relay sees new MX RRs incompatible wit=
h a=C2=A0<br>cached routing policy, it would be able to refresh that policy=
,=C2=A0<br>(provided the well-known STS URI is still up and running) and=C2=
=A0<br>deliver via the subset of MX hosts that match the refreshed policy.=
=C2=A0</span></blockquote></div><p>This all follows from a conclusion I don=
=E2=80=99t agree with.</p><div><div><blockquote type=3D"cite"><span>[ MX ho=
sts that don&#39;t match the policy MUST NOT be ignored when=C2=A0<br>doing=
 relay loop elimination. They would have to be treated=C2=A0<br>as though c=
onnections to them are failing, not as though they=C2=A0<br>weren&#39;t par=
t of the MX RRset. ]=C2=A0</span></blockquote></div><p>Once policy is latch=
ed for a domain, any SMTP relay not complying with the policy is a failure.=
 We=E2=80=99ll want to make sure we get the 4xx vs. 5xx rules right in the =
spec for this.</p></div></div></div></div></div></div></div></blockquote></=
div></div>_______________________________________________=C2=A0<br>Uta mail=
ing list=C2=A0<br><a href=3D"mailto:Uta@ietf.org" target=3D"_blank">Uta@iet=
f.org</a>=C2=A0<br><a href=3D"https://www.ietf.org/mailman/listinfo/uta" ta=
rget=3D"_blank">https://www.ietf.org/mailman/listinfo/uta</a>=C2=A0<br></bl=
ockquote><br></div><br></div><br></div></div></div><div><br></div></div><br=
>_______________________________________________<br>
Uta mailing list<br>
<a href=3D"mailto:Uta@ietf.org">Uta@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/uta" rel=3D"noreferrer" ta=
rget=3D"_blank">https://www.ietf.org/mailman/listinfo/uta</a><br>
<br></blockquote></div>

--001a1140f582e44725052fa930cc--


From nobody Mon Apr  4 07:05:51 2016
Return-Path: <risher@google.com>
X-Original-To: uta@ietfa.amsl.com
Delivered-To: uta@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2FE1A12D6FC for <uta@ietfa.amsl.com>; Mon,  4 Apr 2016 07:05:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.71
X-Spam-Level: 
X-Spam-Status: No, score=-2.71 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=google.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 LxR1z51JCM-6 for <uta@ietfa.amsl.com>; Mon,  4 Apr 2016 07:05:38 -0700 (PDT)
Received: from mail-vk0-x235.google.com (mail-vk0-x235.google.com [IPv6:2607:f8b0:400c:c05::235]) (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 22B9A12D1A3 for <uta@ietf.org>; Mon,  4 Apr 2016 07:05:38 -0700 (PDT)
Received: by mail-vk0-x235.google.com with SMTP id e6so180817264vkh.2 for <uta@ietf.org>; Mon, 04 Apr 2016 07:05:38 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=2XNV6dNgFkr8caYsZYrUCwid0K32n/Anv6KFf+84tzc=; b=XmXHTVhYrLXMw6Hhb4sR6qY42vLOQU0es/kNLZKESatl8oN7cxpfKHhVLurwksEAHB UdgL2q5ZZYP2Piajj45MhQLMZuZKFxNHB+M9E/gUjr6MQ2JVz/gW/gBYI1UebmP4PS4c k5Rq9BKQXfWn3h2W+66cdrvtzv3Bfc9UDXCawMVe2QP0gAYwhF631rWQfDi4qyWXrl9K fC+OWY3et9YqE37tx1aQ7jp69HPbdr+v4FPMWgg/ns4813V4NvRf62tikIt0ybkvQtpO JvXsuTOOSv+lHtwZcftUuuv//AqqsvrH6ZIKxYkQLGpKn6wHcTLIQuBLAObJR6BLLhXn muGA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=2XNV6dNgFkr8caYsZYrUCwid0K32n/Anv6KFf+84tzc=; b=NN35XSVcNylQasinRGH59d8dawlZW/XOPGICCEVpcgP2bQ9D+f71QecrFy31v/CnY4 vSpl3Dv6cDHtk5dnmboo2uu0Q7RklPzro9fwgkvS6vDnFAazZPJT8NesM53ArkGIDQWR bEo1RURm65gBFHRWiobsZhlAu9fdOH1eTm6gzSeWi0fnmhmR47h91Obev119lcVBk2Y3 hdOKnJhv3BeYteC2Hyzd393OV8yjn18jIox8QUyl1ECu95v6S80TTFdfj+TwqdIlB4Qc SI7LzTISLDhq8DhvRuB7zn/lp/ymayCYQhJrx2aJjbF1boIB42sNUWxE63WD5urUNem6 7D2A==
X-Gm-Message-State: AD7BkJJ5d2Mxyr2z1YuZ6NepoNHirUXkrHmnAnk7WlCHnvywzDftyFdIQUJ5wc4gokQcyUUrFjjrEA80yigSmSza
MIME-Version: 1.0
X-Received: by 10.31.13.140 with SMTP id 134mr9289601vkn.142.1459778737065; Mon, 04 Apr 2016 07:05:37 -0700 (PDT)
Received: by 10.176.3.198 with HTTP; Mon, 4 Apr 2016 07:05:36 -0700 (PDT)
Received: by 10.176.3.198 with HTTP; Mon, 4 Apr 2016 07:05:36 -0700 (PDT)
In-Reply-To: <CAB0W=GTNa+oG7p8djUa+ffrwt0rpVkFofzFv4g6Q=u+re0fNPA@mail.gmail.com>
References: <CAB0W=GS2PXF-divC+SNs+A-jH1-_BBA889-TbQXHvrVsrbKLEA@mail.gmail.com> <CAB0W=GSQ4oTLT+qepMi7Pj5=UmBD70D_uW7c193RY-gw818ORA@mail.gmail.com> <CAB0W=GRB_6LhqEGYzeYq-srnM99wqwZrdjUEm=vJ7+oFiKbYoA@mail.gmail.com> <CAB0W=GTGja5JtxGuCzhD6O3B2Ow-wLN-B6WQ8XUDyvQRqdFZxw@mail.gmail.com> <20160322063527.GD6602@mournblade.imrryr.org> <CANtKdUeh8LV1uaWAyRqQ2ou4pdTNvKgzuJ5kKsQLwPFORqrDQA@mail.gmail.com> <CANtKdUcX0HqNzqzr=Dh05x09hEZyMZnsPQBCi8TXRQccpYARiQ@mail.gmail.com> <etPan.56feec95.141a081e.3fe@dhcp-amer-vpn-adc-anyconnect-10-154-130-14.vpn.oracle.com> <20160401221814.GN6602@mournblade.imrryr.org> <etPan.5701ed3e.4240ccb9.98f2@dhcp-amer-vpn-adc-anyconnect-10-154-189-72.vpn.oracle.com> <CANtKdUf7vxE=9RYCV1h31um3fd9-WJAQU6xzkTU_jKrgWPeK8Q@mail.gmail.com> <etPan.57026f6f.e35b23.99e0@dhcp-ukc1-twvpn-2-vpnpool-10-175-218-94.vpn.oracle.com> <CAB0W=GTNa+oG7p8djUa+ffrwt0rpVkFofzFv4g6Q=u+re0fNPA@mail.gmail.com>
Date: Mon, 4 Apr 2016 07:05:36 -0700
Message-ID: <CAB0W=GSocqPg78Kmv-ujBugBKFiZxWVHKETU7tKPD+4NTFsRRg@mail.gmail.com>
From: Mark Risher <risher@google.com>
To: Chris Newman <chris.newman@oracle.com>
Content-Type: multipart/alternative; boundary=001a11411e641390f9052fa939cf
Archived-At: <http://mailarchive.ietf.org/arch/msg/uta/lEIq63MBxLhPmKOVUCtiuHTFlJQ>
Cc: uta@ietf.org, Daniel Margolis <dmargolis@google.com>
Subject: Re: [Uta] New proposal: SMTP Strict Transport Security
X-BeenThere: uta@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: UTA working group mailing list <uta.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/uta>, <mailto:uta-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/uta/>
List-Post: <mailto:uta@ietf.org>
List-Help: <mailto:uta-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/uta>, <mailto:uta-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 04 Apr 2016 14:05:50 -0000

--001a11411e641390f9052fa939cf
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

(Sorry, "frontage" was a Swype typo. I meant "deliberate")

The intent of this proposal itself is to resist downgrades and *deliberate*
mis-routing of messages

/m

---
Mark Risher | Google | 650-253-3123
On Apr 4, 2016 11:03 AM, "Mark Risher" <risher@google.com> wrote:

> >> Do you really think an end-user can understand what it means if the MT=
A
> will transport encrypt the next hop of mail relay but can say nothing abo=
ut
> relay hops after that or how the mail is handled by either service
> provider? Perhaps I=E2=80=99m missing the motivation for doing this, can =
you
> explain why this is useful?
>
> The intent of this proposal itself is to resist downgrades and frontage
> mis-routing of messages. I agree users will not understand this, and any
> effort for communicating encryption status covering the entirety of the
> journey from user to user would require additional work beyond STS (such =
as
> DEEP, REQUIRETLS, and other proposals).
>
> >> I=E2=80=99ve seen few DNS additions deploy effectively, and I=E2=80=99=
ve seen a bunch
> of SMTP extensions deploy effectively.
>
> Can you share examples of each? We chose DNS over the new verb for ease o=
f
> deployment; one example is the rates of adoption of SPF (which only
> requires DNS updates) versus DKIM.
>
> Thanks for the feedback. Looking forward to the face to face in a few
> hours,
> /m
>
> ---
> Mark Risher | Google | 650-253-3123
> On Apr 4, 2016 10:44 AM, "Chris Newman" <chris.newman@oracle.com> wrote:
>
>> On April 4, 2016 at 2:42:15 , Daniel Margolis (dmargolis@google.com)
>> wrote:
>>
>> Thanks for the clarification.
>>
>> Sounds like a feature to me. Having MUAs do insecure DNS lookups (which
>>> is what they=E2=80=99d probably do) and make misleading assertions abou=
t relay
>>> security (which couldn=E2=80=99t be made even if DNSSEC/HTTPS was emplo=
yed to trust
>>> the STS information, given that forwarding is in the infrastructure and=
 all
>>> that). If you want to have MUAs make assertions, you=E2=80=99re moving =
in the
>>> direction of the SMTP extension draft, and as Victor pointed out, the
>>> infrastructure is going to ignore even those assertions under some
>>> circumstances if that were to deploy.
>>
>> I am (perhaps parochially) thinking mostly about webmail systems where
>> the MUA and the sending MTA are mostly the same piece of infrastructure.=
 So
>> my real goal is for the MTA to be able to tell the MUA at compose time t=
hat
>> it has a policy for the recipient domain and can guarantee certain
>> behavior.
>>
>> Do you really think an end-user can understand what it means if the MTA
>> will transport encrypt the next hop of mail relay but can say nothing ab=
out
>> relay hops after that or how the mail is handled by either service
>> provider? Perhaps I=E2=80=99m missing the motivation for doing this, can=
 you
>> explain why this is useful?
>>
>> In this context, I think having policies be per-domain is important, but
>> as you note, you could have a policy semantic which allows a single MX t=
o
>> communicate a domain-wide policy even with an in-band channel.
>>
>> > Your suggestion, in that light, should be interpreted to say that
>>> > the STS URI should be used to only secure the routing information
>>> > (security for MX records via HTTPS rather than DNSSEC), and that
>>> > once the routing information is secured, security policy for the
>>> > given relay be in-band via SMTP and modeled on DEEP.
>>>
>>> Mostly yes. I=E2=80=99d also want to consider an optimization to skip t=
he HTTPS
>>> step for self-hosted domains just to reduce overall new traffic.
>>
>>
>> To clarify a bit the individual steps needed, then, it seems like you're
>> proposing that given the following stages:
>>
>> 1. Routing information: What MX hostnames are expected
>> 2. Authenticating the MX: Determining that the server TLS cert matches
>> 3. Policy: Ensuring the minimum level of transport-layer encryption
>>
>> You propose to put #1 in either DNSSEC or HTTPS (with an optimization to
>> use in-channel in place of HTTPS if the MX domain matches the email doma=
in)
>> and #2 and #3 in the SMTP exchange?
>>
>> Basically right.
>>
>> But this doesn't necessarily eliminate the extra DNS or HTTPS lookup (at
>> least in the case where the MX domain does not match the email domain),
>> right? You still need to get the routing information somehow, and we're
>> still trying to make this viable for domains that can't yet deploy DNSSE=
C.
>> So in that light, you're proposing that all domains would need at least =
the
>> SMTP in-band exchange and that some domains would also need step #1 to b=
e
>> done over HTTPS--meaning that sending domains would have to still suppor=
t
>> both options, right?
>>
>> Presuming there is WG rough consensus that use of HTTPS meets the
>> cost/benefit cutoff when compared to DNSSEC, then yes that is correct.
>>
>> I can see the appeal of doing much of this in-band given that it's
>> consistent with what DEEP proposes, but I'm still concerned that if we n=
eed
>> *also* support out-of-band, we're just increasing complexity. What do
>> you think?
>>
>> As long as the only out-of-band is verification of routing information
>> and not policy, then I don=E2=80=99t see it as increasing complexity. In=
deed it=E2=80=99s a
>> somewhat more conservative approach to architectural cost (trying to
>> minimize use of extra packets and protocols when performing the core SMT=
P
>> relay operation).
>>
>> But I=E2=80=99ll admit I have some experiential bias in that I=E2=80=99v=
e seen few DNS
>> additions deploy effectively, and I=E2=80=99ve seen a bunch of SMTP exte=
nsions
>> deploy effectively.
>> - Chris
>>
>> On Mon, Apr 4, 2016 at 6:27 AM, Chris Newman <chris.newman@oracle.com>
>>  wrote:
>>
>>> On April 1, 2016 at 19:18:31 , Viktor Dukhovni (ietf-dane@dukhovni.org)
>>> wrote:
>>>
>>> On Fri, Apr 01, 2016 at 06:48:00PM -0300, Chris Newman wrote:
>>>
>>> > I feel very strongly that policy for SMTP relay should be advertised
>>> by
>>> > SMTP and protected by SMTP TLS. Doing anything else creates a much
>>> larger
>>> > attack surface on the policy information and is both more complex and
>>> less
>>> > secure. The preferred mechanism to sign SMTP relay routing (DNS MX) i=
s
>>> > DNSSEC. I'm open to proposals for alternate mechanisms to sign MX
>>> record
>>> > information due to the difficulty of deploying DNSSEC, but such
>>> mechanisms
>>> > should not be confused with security policy.
>>>
>>> Unfortunately, in MTA-to-MTA SMTP, the receiving SMTP server has
>>> no idea what domain the sending SMTP client wants to deliver mail
>>> to at the time that it advertises its ESMTP extensions in the EHLO
>>> response.
>>>
>>> This correctly identifies a key difference between SMTP relay and SMTP
>>> submission. I had missed this, thank you for raising it!
>>>
>>> For SMTP submission, there=E2=80=99s an early-indication of domain owne=
rship
>>> from the mandatory user authentication (multi-domain hosting services t=
end
>>> to use email address as user name to get this benefit). For SMTP relay =
we
>>> have no mechanism to indicate the intended domain so to handle the case=
 of
>>> a multi-domain hosting service that offers different policies for diffe=
rent
>>> domains we=E2=80=99d need to add a way to communicate intended domain e=
arly. This
>>> can be done with an SMTP verb (adding a round trip) or by using TLS ALP=
N or
>>> something similar (no new round trip).
>>>
>>> For this (and other related) reasons, in-band SMTP security policy
>>> can only be communicated for the given SMTP server, and not the
>>> recipient domain.
>>>
>>> I=E2=80=99m not convinced this is true. I=E2=80=99d like to hear those =
other reasons.
>>>
>>> A relay MTA MUST NOT make any conclusions about recipient domain
>>> security based on security policy advertised by a particular MX
>>> host. An individual MX host cannot advertise security policy
>>> (implicitly) for every single domain it happens to receive mail
>>> for, except for future relaying via that *same* MX host.
>>>
>>> If the MX-from-DNS isn=E2=80=99t trusted, then no policy can be trusted=
. But
>>> STS-from-DNS has the same issue.
>>>
>>> To secure SMTP relay traffic to a recipient domain, the routing
>>> needs to be secured by some means. STS (with sensible modifications)
>>> proposes doing so via an HTTPS well-known URI associated with the
>>> recipient domain. This is achieved via DNS-based signalling of
>>> the existence of the STS well-known URI, and likely DNS-based
>>> signalling that a cached policy is stale and should be refreshed.
>>>
>>> Your suggestion, in that light, should be interpreted to say that
>>> the STS URI should be used to only secure the routing information
>>> (security for MX records via HTTPS rather than DNSSEC), and that
>>> once the routing information is secured, security policy for the
>>> given relay be in-band via SMTP and modeled on DEEP.
>>>
>>> Mostly yes. I=E2=80=99d also want to consider an optimization to skip t=
he HTTPS
>>> step for self-hosted domains just to reduce overall new traffic.
>>>
>>> Note that consequently, a domain would be able to downgrade to a
>>> non-TLS provider, by serving a routing-only policy that references
>>> new MX hosts that don't support a new relay-MTA flavour of DEEP.
>>>
>>> We decide in the specification whether the policy attaches to the domai=
n
>>> or the SMTP hostname. This is a design choice.
>>>
>>> Also, when a sending relay sees new MX RRs incompatible with a
>>> cached routing policy, it would be able to refresh that policy,
>>> (provided the well-known STS URI is still up and running) and
>>> deliver via the subset of MX hosts that match the refreshed policy.
>>>
>>> This all follows from a conclusion I don=E2=80=99t agree with.
>>>
>>> [ MX hosts that don't match the policy MUST NOT be ignored when
>>> doing relay loop elimination. They would have to be treated
>>> as though connections to them are failing, not as though they
>>> weren't part of the MX RRset. ]
>>>
>>> Once policy is latched for a domain, any SMTP relay not complying with
>>> the policy is a failure. We=E2=80=99ll want to make sure we get the 4xx=
 vs. 5xx
>>> rules right in the spec for this.
>>>
>> _______________________________________________
>> Uta mailing list
>> Uta@ietf.org
>> https://www.ietf.org/mailman/listinfo/uta
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> Uta mailing list
>> Uta@ietf.org
>> https://www.ietf.org/mailman/listinfo/uta
>>
>>

--001a11411e641390f9052fa939cf
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<p dir=3D"ltr">(Sorry, &quot;frontage&quot; was a Swype typo. I meant &quot=
;deliberate&quot;)</p>
<p dir=3D"ltr">The intent of this proposal itself is to resist downgrades a=
nd *deliberate* mis-routing of messages</p>
<p dir=3D"ltr">/m<br><br></p>
<p dir=3D"ltr">---<br>
Mark Risher | Google | 650-253-3123</p>
<div class=3D"gmail_quote">On Apr 4, 2016 11:03 AM, &quot;Mark Risher&quot;=
 &lt;<a href=3D"mailto:risher@google.com">risher@google.com</a>&gt; wrote:<=
br type=3D"attribution"><blockquote class=3D"gmail_quote" style=3D"margin:0=
 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir=3D"ltr">&gt;&=
gt; Do you really think an end-user can understand what it means if the MTA=
 will transport encrypt the next hop of mail relay but can say nothing abou=
t relay hops after that or how the mail is handled by either service provid=
er? Perhaps I=E2=80=99m missing the motivation for doing this, can you expl=
ain why this is useful?</p>
<p dir=3D"ltr">The intent of this proposal itself is to resist downgrades a=
nd frontage mis-routing of messages. I agree users will not understand this=
, and any effort for communicating encryption status covering the entirety =
of the journey from user to user would require additional work beyond STS (=
such as DEEP, REQUIRETLS, and other proposals).</p>
<p dir=3D"ltr">&gt;&gt; I=E2=80=99ve seen few DNS additions deploy effectiv=
ely, and I=E2=80=99ve seen a bunch of SMTP extensions deploy effectively.</=
p>
<p dir=3D"ltr">Can you share examples of each? We chose DNS over the new ve=
rb for ease of deployment; one example is the rates of adoption of SPF (whi=
ch only requires DNS updates) versus DKIM. </p>
<p dir=3D"ltr">Thanks for the feedback. Looking forward to the face to face=
 in a few hours,<br>
/m<br><br></p>
<p dir=3D"ltr">---<br>
Mark Risher | Google | <a href=3D"tel:650-253-3123" value=3D"+16502533123" =
target=3D"_blank">650-253-3123</a></p>
<div class=3D"gmail_quote">On Apr 4, 2016 10:44 AM, &quot;Chris Newman&quot=
; &lt;<a href=3D"mailto:chris.newman@oracle.com" target=3D"_blank">chris.ne=
wman@oracle.com</a>&gt; wrote:<br type=3D"attribution"><blockquote class=3D=
"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding=
-left:1ex"><div style=3D"word-wrap:break-word"><div style=3D"font-family:He=
lvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:a=
uto"><div style=3D"margin:0px">On April 4, 2016 at 2:42:15 , Daniel Margoli=
s (<a href=3D"mailto:dmargolis@google.com" target=3D"_blank">dmargolis@goog=
le.com</a>) wrote:</div><div><blockquote type=3D"cite"><div></div><div><div=
 dir=3D"ltr">Thanks for the clarification.=C2=A0<div><br></div><div><blockq=
uote class=3D"gmail_quote" style=3D"margin-left:0.8ex;border-left-width:1px=
;border-left-color:rgb(204,204,204);padding-left:1ex">Sounds like a feature=
 to me. Having MUAs do insecure DNS lookups (which is what they=E2=80=99d p=
robably do) and make misleading assertions about relay security (which coul=
dn=E2=80=99t be made even if DNSSEC/HTTPS was employed to trust the STS inf=
ormation, given that forwarding is in the infrastructure and all that). If =
you want to have MUAs make assertions, you=E2=80=99re moving in the directi=
on of the SMTP extension draft, and as Victor pointed out, the infrastructu=
re is going to ignore even those assertions under some circumstances if tha=
t were to deploy.</blockquote><div style=3D"font-size:15.2px"><blockquote t=
ype=3D"cite" style=3D"font-size:13px"><div dir=3D"ltr"></div></blockquote><=
/div></div><div>I am (perhaps parochially) thinking mostly about webmail sy=
stems where the MUA and the sending MTA are mostly the same piece of infras=
tructure. So my real goal is for the MTA to be able to tell the MUA at comp=
ose time that it has a policy for the recipient domain and can guarantee ce=
rtain behavior.=C2=A0</div></div></div></blockquote></div><p>Do you really =
think an end-user can understand what it means if the MTA will transport en=
crypt the next hop of mail relay but can say nothing about relay hops after=
 that or how the mail is handled by either service provider? Perhaps I=E2=
=80=99m missing the motivation for doing this, can you explain why this is =
useful?</p><div><div><blockquote type=3D"cite"><div dir=3D"ltr"><div>In thi=
s context, I think having policies be per-domain is important, but as you n=
ote, you could have a policy semantic which allows a single MX to communica=
te a domain-wide policy even with an in-band channel.=C2=A0</div><div><br><=
blockquote class=3D"gmail_quote" style=3D"margin-left:0.8ex;border-left-wid=
th:1px;border-left-color:rgb(204,204,204);padding-left:1ex">&gt; Your sugge=
stion, in that light, should be interpreted to say that<br>&gt; the STS URI=
 should be used to only secure the routing information<br>&gt; (security fo=
r MX records via HTTPS rather than DNSSEC), and that<br>&gt; once the routi=
ng information is secured, security policy for the<br>&gt; given relay be i=
n-band via SMTP and modeled on DEEP.<br><br>Mostly yes. I=E2=80=99d also wa=
nt to consider an optimization to skip the HTTPS step for self-hosted domai=
ns just to reduce overall new traffic.</blockquote></div><div><br></div><di=
v>To clarify a bit the individual steps needed, then, it seems like you&#39=
;re proposing that given the following stages:</div><div><br></div><div>1. =
Routing information: What MX hostnames are expected</div><div>2. Authentica=
ting the MX: Determining that the server TLS cert matches</div><div>3. Poli=
cy: Ensuring the minimum level of transport-layer encryption</div><div><br>=
</div><div>You propose to put #1 in either DNSSEC or HTTPS (with an optimiz=
ation to use in-channel in place of HTTPS if the MX domain matches the emai=
l domain) and #2 and #3 in the SMTP exchange?=C2=A0</div></div></blockquote=
></div><p>Basically right.</p><div><div><blockquote type=3D"cite"><div dir=
=3D"ltr">But this doesn&#39;t necessarily eliminate the extra DNS or HTTPS =
lookup (at least in the case where the MX domain does not match the email d=
omain), right? You still need to get the routing information somehow, and w=
e&#39;re still trying to make this viable for domains that can&#39;t yet de=
ploy DNSSEC. So in that light, you&#39;re proposing that all domains would =
need at least the SMTP in-band exchange and that some domains would also ne=
ed step #1 to be done over HTTPS--meaning that sending domains would have t=
o still support both options, right?=C2=A0</div></blockquote></div><p>Presu=
ming there is WG rough consensus that use of HTTPS meets the cost/benefit c=
utoff when compared to DNSSEC, then yes that is correct.</p><div><div><div>=
<blockquote type=3D"cite"><div dir=3D"ltr">I can see the appeal of doing mu=
ch of this in-band given that it&#39;s consistent with what DEEP proposes, =
but I&#39;m still concerned that if we need=C2=A0<i>also</i>=C2=A0support o=
ut-of-band, we&#39;re just increasing complexity. What do you think?</div><=
/blockquote></div><p>As long as the only out-of-band is verification of rou=
ting information and not policy, then I don=E2=80=99t see it as increasing =
complexity. Indeed it=E2=80=99s a somewhat more conservative approach to ar=
chitectural cost (trying to minimize use of extra packets and protocols whe=
n performing the core SMTP relay operation).</p><p>But I=E2=80=99ll admit I=
 have some experiential bias in that I=E2=80=99ve seen few DNS additions de=
ploy effectively, and I=E2=80=99ve seen a bunch of SMTP extensions deploy e=
ffectively.</p><div><span style=3D"white-space:pre-wrap">		</span>- Chris</=
div></div><div><br></div><div><blockquote type=3D"cite"><div class=3D"gmail=
_extra"><div class=3D"gmail_quote">On Mon, Apr 4, 2016 at 6:27 AM, Chris Ne=
wman=C2=A0<span dir=3D"ltr">&lt;<a href=3D"mailto:chris.newman@oracle.com" =
target=3D"_blank">chris.newman@oracle.com</a>&gt;</span>=C2=A0wrote:<br><bl=
ockquote class=3D"gmail_quote" style=3D"margin-left:0.8ex;border-left-width=
:1px;border-left-color:rgb(204,204,204);padding-left:1ex"><div style=3D"wor=
d-wrap:break-word"><div style=3D"margin:0px"><span>On April 1, 2016 at 19:1=
8:31 , Viktor Dukhovni (<a href=3D"mailto:ietf-dane@dukhovni.org" target=3D=
"_blank">ietf-dane@dukhovni.org</a>) wrote:</span></div><div><blockquote ty=
pe=3D"cite"><span>On Fri, Apr 01, 2016 at 06:48:00PM -0300, Chris Newman wr=
ote:=C2=A0<br><br>&gt; I feel very strongly that policy for SMTP relay shou=
ld be advertised by=C2=A0<br>&gt; SMTP and protected by SMTP TLS. Doing any=
thing else creates a much larger=C2=A0<br>&gt; attack surface on the policy=
 information and is both more complex and less=C2=A0<br>&gt; secure. The pr=
eferred mechanism to sign SMTP relay routing (DNS MX) is=C2=A0<br>&gt; DNSS=
EC. I&#39;m open to proposals for alternate mechanisms to sign MX record=C2=
=A0<br>&gt; information due to the difficulty of deploying DNSSEC, but such=
 mechanisms=C2=A0<br>&gt; should not be confused with security policy.=C2=
=A0<br><br>Unfortunately, in MTA-to-MTA SMTP, the receiving SMTP server has=
=C2=A0<br>no idea what domain the sending SMTP client wants to deliver mail=
=C2=A0<br>to at the time that it advertises its ESMTP extensions in the EHL=
O=C2=A0<br>response.=C2=A0</span></blockquote></div><p>This correctly ident=
ifies a key difference between SMTP relay and SMTP submission. I had missed=
 this, thank you for raising it!</p><p>For SMTP submission, there=E2=80=99s=
 an early-indication of domain ownership from the mandatory user authentica=
tion (multi-domain hosting services tend to use email address as user name =
to get this benefit). For SMTP relay we have no mechanism to indicate the i=
ntended domain so to handle the case of a multi-domain hosting service that=
 offers different policies for different domains we=E2=80=99d need to add a=
 way to communicate intended domain early. This can be done with an SMTP ve=
rb (adding a round trip) or by using TLS ALPN or something similar (no new =
round trip).</p><div><div><blockquote type=3D"cite"><span>For this (and oth=
er related) reasons, in-band SMTP security policy=C2=A0<br>can only be comm=
unicated for the given SMTP server, and not the=C2=A0<br>recipient domain.=
=C2=A0</span></blockquote></div><p>I=E2=80=99m not convinced this is true. =
I=E2=80=99d like to hear those other reasons.</p><div><div><blockquote type=
=3D"cite"><span>A relay MTA MUST NOT make any conclusions about recipient d=
omain=C2=A0<br>security based on security policy advertised by a particular=
 MX=C2=A0<br>host. An individual MX host cannot advertise security policy=
=C2=A0<br>(implicitly) for every single domain it happens to receive mail=
=C2=A0<br>for, except for future relaying via that *same* MX host.</span></=
blockquote></div><p>If the MX-from-DNS isn=E2=80=99t trusted, then no polic=
y can be trusted. But STS-from-DNS has the same issue.</p><div><div><blockq=
uote type=3D"cite"><span>To secure SMTP relay traffic to a recipient domain=
, the routing=C2=A0<br>needs to be secured by some means. STS (with sensibl=
e modifications)=C2=A0<br>proposes doing so via an HTTPS well-known URI ass=
ociated with the=C2=A0<br>recipient domain. This is achieved via DNS-based =
signalling of=C2=A0<br>the existence of the STS well-known URI, and likely =
DNS-based=C2=A0<br>signalling that a cached policy is stale and should be r=
efreshed.=C2=A0<br><br>Your suggestion, in that light, should be interprete=
d to say that=C2=A0<br>the STS URI should be used to only secure the routin=
g information=C2=A0<br>(security for MX records via HTTPS rather than DNSSE=
C), and that=C2=A0<br>once the routing information is secured, security pol=
icy for the=C2=A0<br>given relay be in-band via SMTP and modeled on DEEP.=
=C2=A0</span></blockquote></div><p>Mostly yes. I=E2=80=99d also want to con=
sider an optimization to skip the HTTPS step for self-hosted domains just t=
o reduce overall new traffic.</p><div><div><blockquote type=3D"cite"><span>=
Note that consequently, a domain would be able to downgrade to a=C2=A0<br>n=
on-TLS provider, by serving a routing-only policy that references=C2=A0<br>=
new MX hosts that don&#39;t support a new relay-MTA flavour of DEEP.=C2=A0<=
/span></blockquote></div><p>We decide in the specification whether the poli=
cy attaches to the domain or the SMTP hostname. This is a design choice.</p=
><div><div><blockquote type=3D"cite"><span>Also, when a sending relay sees =
new MX RRs incompatible with a=C2=A0<br>cached routing policy, it would be =
able to refresh that policy,=C2=A0<br>(provided the well-known STS URI is s=
till up and running) and=C2=A0<br>deliver via the subset of MX hosts that m=
atch the refreshed policy.=C2=A0</span></blockquote></div><p>This all follo=
ws from a conclusion I don=E2=80=99t agree with.</p><div><div><blockquote t=
ype=3D"cite"><span>[ MX hosts that don&#39;t match the policy MUST NOT be i=
gnored when=C2=A0<br>doing relay loop elimination. They would have to be tr=
eated=C2=A0<br>as though connections to them are failing, not as though the=
y=C2=A0<br>weren&#39;t part of the MX RRset. ]=C2=A0</span></blockquote></d=
iv><p>Once policy is latched for a domain, any SMTP relay not complying wit=
h the policy is a failure. We=E2=80=99ll want to make sure we get the 4xx v=
s. 5xx rules right in the spec for this.</p></div></div></div></div></div><=
/div></div></blockquote></div></div>_______________________________________=
________=C2=A0<br>Uta mailing list=C2=A0<br><a href=3D"mailto:Uta@ietf.org"=
 target=3D"_blank">Uta@ietf.org</a>=C2=A0<br><a href=3D"https://www.ietf.or=
g/mailman/listinfo/uta" target=3D"_blank">https://www.ietf.org/mailman/list=
info/uta</a>=C2=A0<br></blockquote><br></div><br></div><br></div></div></di=
v><div><br></div></div><br>_______________________________________________<=
br>
Uta mailing list<br>
<a href=3D"mailto:Uta@ietf.org" target=3D"_blank">Uta@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/uta" rel=3D"noreferrer" ta=
rget=3D"_blank">https://www.ietf.org/mailman/listinfo/uta</a><br>
<br></blockquote></div>
</blockquote></div>

--001a11411e641390f9052fa939cf--


From nobody Mon Apr  4 08:01:40 2016
Return-Path: <dmargolis@google.com>
X-Original-To: uta@ietfa.amsl.com
Delivered-To: uta@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 98F5312D7A7 for <uta@ietfa.amsl.com>; Mon,  4 Apr 2016 08:01:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.71
X-Spam-Level: 
X-Spam-Status: No, score=-2.71 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=google.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 wO1CMjVYLqXI for <uta@ietfa.amsl.com>; Mon,  4 Apr 2016 08:01:31 -0700 (PDT)
Received: from mail-ig0-x230.google.com (mail-ig0-x230.google.com [IPv6:2607:f8b0:4001:c05::230]) (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 2C12B12D7C8 for <uta@ietf.org>; Mon,  4 Apr 2016 07:59:46 -0700 (PDT)
Received: by mail-ig0-x230.google.com with SMTP id gy3so22292644igb.0 for <uta@ietf.org>; Mon, 04 Apr 2016 07:59:46 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=d9mQ0b7ugcKlTzBzoojelmAIJqJdzQaX8Rr3mE673e0=; b=Ce3Vkeo5SL2V9myuQ/AkuCSCw4yWM8J1y/5EbsCy88mjnU5EXlol5bD+zrmEbpr1AC uNXZ7rYhDLHonQ5iIR+dKJG4WIzLwGmrtTTbtfjCVVHHnjTxZWwl8VBPu3mLWCgXoWSx bH3m5W5YY1ssTT9UQBscNpq4NBJ2lTcyX0iviQLpi65rHFS7Ap6Dwl6tYDIEaRyvVDWw yQ0Xxv/oHqv8v7WRpi0HxYiZ/ecZCSNcuVDw0wz325bGrQ4fNO4bHodGl+j8puQASDnV eURepx722eq5i1ecyISDKkAy484GMbDqdKFyZALgLpQYq6gBx04LirjWoI0IlkRrnRRC lxNw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=d9mQ0b7ugcKlTzBzoojelmAIJqJdzQaX8Rr3mE673e0=; b=GW1Hq7xPb5HSKLailCVEcXHf0ftt0t1LglSyzAKo03ISywt5t5Q0gwAjmuIKn6y0/5 H5mYGb43WDd/xPjM/hUfEiGOEJJFeVQSeca9Wu7ScS0GBNxa4E/UZG91jlzsgveB2j5w mvJBT95VJr1mG6gAZtre5EATt5i18KP/dLV8smlZyzBQHb7Waej2MOOHeR+Mew/jWtxv 0MEcJkBavqSqX/cZOqsj6AlbaPFUKM1fdQCOyrMQeUhTe+ufZg2RiKoWkDlYsUj34N++ gCgAoTc64hJY8tsjRWWs0HFlpLaeeBadqgjW7rvbWmgn/plivpH88icUcOLLSGKUSqbh s27g==
X-Gm-Message-State: AD7BkJJ9xDvPyuHQfAFOeWZIYBjYsCD0jzphYKH8usX0ANZvimq9VgdSurNL2gSkfGs9FPfevg1lRdgqh/ui3f54
MIME-Version: 1.0
X-Received: by 10.107.12.67 with SMTP id w64mr18578791ioi.114.1459781973911; Mon, 04 Apr 2016 07:59:33 -0700 (PDT)
Received: by 10.64.101.98 with HTTP; Mon, 4 Apr 2016 07:59:33 -0700 (PDT)
In-Reply-To: <etPan.57026f6f.e35b23.99e0@dhcp-ukc1-twvpn-2-vpnpool-10-175-218-94.vpn.oracle.com>
References: <CAB0W=GS2PXF-divC+SNs+A-jH1-_BBA889-TbQXHvrVsrbKLEA@mail.gmail.com> <CAB0W=GSQ4oTLT+qepMi7Pj5=UmBD70D_uW7c193RY-gw818ORA@mail.gmail.com> <CAB0W=GRB_6LhqEGYzeYq-srnM99wqwZrdjUEm=vJ7+oFiKbYoA@mail.gmail.com> <CAB0W=GTGja5JtxGuCzhD6O3B2Ow-wLN-B6WQ8XUDyvQRqdFZxw@mail.gmail.com> <20160322063527.GD6602@mournblade.imrryr.org> <CANtKdUeh8LV1uaWAyRqQ2ou4pdTNvKgzuJ5kKsQLwPFORqrDQA@mail.gmail.com> <CANtKdUcX0HqNzqzr=Dh05x09hEZyMZnsPQBCi8TXRQccpYARiQ@mail.gmail.com> <etPan.56feec95.141a081e.3fe@dhcp-amer-vpn-adc-anyconnect-10-154-130-14.vpn.oracle.com> <20160401221814.GN6602@mournblade.imrryr.org> <etPan.5701ed3e.4240ccb9.98f2@dhcp-amer-vpn-adc-anyconnect-10-154-189-72.vpn.oracle.com> <CANtKdUf7vxE=9RYCV1h31um3fd9-WJAQU6xzkTU_jKrgWPeK8Q@mail.gmail.com> <etPan.57026f6f.e35b23.99e0@dhcp-ukc1-twvpn-2-vpnpool-10-175-218-94.vpn.oracle.com>
Date: Mon, 4 Apr 2016 16:59:33 +0200
Message-ID: <CANtKdUddLnwsdhF+WiSawJ9otD3Be5LXTj1m7K3Zxm7CGtj9-Q@mail.gmail.com>
From: Daniel Margolis <dmargolis@google.com>
To: Chris Newman <chris.newman@oracle.com>
Content-Type: multipart/alternative; boundary=001a113f92b601aafc052fa9fa0d
Archived-At: <http://mailarchive.ietf.org/arch/msg/uta/iXjcmJFi1I2cJpfnxKheiyuihGo>
Cc: uta@ietf.org
Subject: Re: [Uta] New proposal: SMTP Strict Transport Security
X-BeenThere: uta@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: UTA working group mailing list <uta.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/uta>, <mailto:uta-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/uta/>
List-Post: <mailto:uta@ietf.org>
List-Help: <mailto:uta-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/uta>, <mailto:uta-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 04 Apr 2016 15:01:36 -0000

--001a113f92b601aafc052fa9fa0d
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On Mon, Apr 4, 2016 at 3:43 PM, Chris Newman <chris.newman@oracle.com>
wrote:

>
> To clarify a bit the individual steps needed, then, it seems like you're
> proposing that given the following stages:
>
> 1. Routing information: What MX hostnames are expected
> 2. Authenticating the MX: Determining that the server TLS cert matches
> 3. Policy: Ensuring the minimum level of transport-layer encryption
>
> You propose to put #1 in either DNSSEC or HTTPS (with an optimization to
> use in-channel in place of HTTPS if the MX domain matches the email domai=
n)
> and #2 and #3 in the SMTP exchange?
>
> Basically right.
>
> But this doesn't necessarily eliminate the extra DNS or HTTPS lookup (at
> least in the case where the MX domain does not match the email domain),
> right? You still need to get the routing information somehow, and we're
> still trying to make this viable for domains that can't yet deploy DNSSEC=
.
> So in that light, you're proposing that all domains would need at least t=
he
> SMTP in-band exchange and that some domains would also need step #1 to be
> done over HTTPS--meaning that sending domains would have to still support
> both options, right?
>
> Presuming there is WG rough consensus that use of HTTPS meets the
> cost/benefit cutoff when compared to DNSSEC, then yes that is correct.
>
I can see the appeal of doing much of this in-band given that it's
> consistent with what DEEP proposes, but I'm still concerned that if we ne=
ed
> *also* support out-of-band, we're just increasing complexity. What do you
> think?
>
> As long as the only out-of-band is verification of routing information an=
d
> not policy, then I don=E2=80=99t see it as increasing complexity. Indeed =
it=E2=80=99s a
> somewhat more conservative approach to architectural cost (trying to
> minimize use of extra packets and protocols when performing the core SMTP
> relay operation).
>
> But I=E2=80=99ll admit I have some experiential bias in that I=E2=80=99ve=
 seen few DNS
> additions deploy effectively, and I=E2=80=99ve seen a bunch of SMTP exten=
sions
> deploy effectively.
>

Hmm, like what?

In terms of the extra round-trips or protocols, I think:

1. The HTTPS request is probably unavoidable here (since if we assume we
can require DNSSEC in all cases, why wouldn't we just use DANE?), but
fortunately it's rare (once per recipient domain per policy lifetime). So I
think the round trip cost here is minimal, but the infrastructure cost is
worth noting, as you say (even if the HTTPS GET isn't in the sending path;
it can of course be done by some offline process that populates the policy
cache asynchronously.)
2. If we adopt Viktor's suggested edits, there's only a single additional
DNS lookup in the sending path (to check the policy nonce).

I don't think #2 is a huge problem; after all, DMARC, DKIM, and SPF each
result in a DNS lookup per *inbound* message (and many servers also do
rDNS). These should be cheap and highly cache-able, so if we're counting
bytes, I would say they're probably cheaper than an extra round trip on the
SMTP protocol itself (if it happens on every message).

That said, I also don't think that an extra round trip on the SMTP protocol
is a huge deal, so I don't think this is the deciding factor either way. At
heart, the question to me is whether a) it's more elegant to built the
policy stuff into the SMTP exchange and b) whether it's more deployable to
build these changes into the MTA or loosely coupled infrastructure.

My concern remains that we would end up having to *both* stand up an HTTPS
endpoint (or client, for senders) for the routing information *and* change
the MTA to serve and retrieve policy information. That said, I have only
one MTA I'd have to change, and I can probably manage either option; I'm
curious to hear from you and from people like Viktor about what options
they would consider easier to implement in MTAs they work on.

Dan

--001a113f92b601aafc052fa9fa0d
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo=
te">On Mon, Apr 4, 2016 at 3:43 PM, Chris Newman <span dir=3D"ltr">&lt;<a h=
ref=3D"mailto:chris.newman@oracle.com" target=3D"_blank">chris.newman@oracl=
e.com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"m=
argin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style=3D=
"word-wrap:break-word"><div style=3D"font-family:Helvetica,Arial;font-size:=
13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto"><div><span class=3D=
""><div><blockquote type=3D"cite"><div dir=3D"ltr"><div><br></div><div>To c=
larify a bit the individual steps needed, then, it seems like you&#39;re pr=
oposing that given the following stages:</div><div><br></div><div>1. Routin=
g information: What MX hostnames are expected</div><div>2. Authenticating t=
he MX: Determining that the server TLS cert matches</div><div>3. Policy: En=
suring the minimum level of transport-layer encryption</div><div><br></div>=
<div>You propose to put #1 in either DNSSEC or HTTPS (with an optimization =
to use in-channel in place of HTTPS if the MX domain matches the email doma=
in) and #2 and #3 in the SMTP exchange?=C2=A0</div></div></blockquote></div=
></span><p>Basically right.</p><div><span class=3D""><div><blockquote type=
=3D"cite"><div dir=3D"ltr">But this doesn&#39;t necessarily eliminate the e=
xtra DNS or HTTPS lookup (at least in the case where the MX domain does not=
 match the email domain), right? You still need to get the routing informat=
ion somehow, and we&#39;re still trying to make this viable for domains tha=
t can&#39;t yet deploy DNSSEC. So in that light, you&#39;re proposing that =
all domains would need at least the SMTP in-band exchange and that some dom=
ains would also need step #1 to be done over HTTPS--meaning that sending do=
mains would have to still support both options, right?=C2=A0</div></blockqu=
ote></div></span><p>Presuming there is WG rough consensus that use of HTTPS=
 meets the cost/benefit cutoff when compared to DNSSEC, then yes that is co=
rrect.</p></div></div></div></div></blockquote><blockquote class=3D"gmail_q=
uote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1e=
x"><div style=3D"word-wrap:break-word"><div style=3D"font-family:Helvetica,=
Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto"><sp=
an class=3D""><div><blockquote type=3D"cite"><div dir=3D"ltr">I can see the=
 appeal of doing much of this in-band given that it&#39;s consistent with w=
hat DEEP proposes, but I&#39;m still concerned that if we need=C2=A0<i>also=
</i>=C2=A0support out-of-band, we&#39;re just increasing complexity. What d=
o you think?</div></blockquote></div></span><p>As long as the only out-of-b=
and is verification of routing information and not policy, then I don=E2=80=
=99t see it as increasing complexity. Indeed it=E2=80=99s a somewhat more c=
onservative approach to architectural cost (trying to minimize use of extra=
 packets and protocols when performing the core SMTP relay operation).</p><=
p>But I=E2=80=99ll admit I have some experiential bias in that I=E2=80=99ve=
 seen few DNS additions deploy effectively, and I=E2=80=99ve seen a bunch o=
f SMTP extensions deploy effectively.</p></div></div></blockquote><div><br>=
</div><div>Hmm, like what?</div><div><br></div><div>In terms of the extra r=
ound-trips or protocols, I think:</div><div><br></div><div>1. The HTTPS req=
uest is probably unavoidable here (since if we assume we can require DNSSEC=
 in all cases, why wouldn&#39;t we just use DANE?), but fortunately it&#39;=
s rare (once per recipient domain per policy lifetime). So I think the roun=
d trip cost here is minimal, but the infrastructure cost is worth noting, a=
s you say (even if the HTTPS GET isn&#39;t in the sending path; it can of c=
ourse be done by some offline process that populates the policy cache async=
hronously.)</div><div>2. If we adopt Viktor&#39;s suggested edits, there&#3=
9;s only a single additional DNS lookup in the sending path (to check the p=
olicy nonce).=C2=A0</div><div><br></div><div>I don&#39;t think #2 is a huge=
 problem; after all, DMARC, DKIM, and SPF each result in a DNS lookup per <=
i>inbound</i>=C2=A0message (and many servers also do rDNS). These should be=
 cheap and highly cache-able, so if we&#39;re counting bytes, I would say t=
hey&#39;re probably cheaper than an extra round trip on the SMTP protocol i=
tself (if it happens on every message).</div><div><br></div><div>That said,=
 I also don&#39;t think that an extra round trip on the SMTP protocol is a =
huge deal, so I don&#39;t think this is the deciding factor either way. At =
heart, the question to me is whether a) it&#39;s more elegant to built the =
policy stuff into the SMTP exchange and b) whether it&#39;s more deployable=
 to build these changes into the MTA or loosely coupled infrastructure.</di=
v><div><br></div><div>My concern remains that we would end up having to <i>=
both</i>=C2=A0stand up an HTTPS endpoint (or client, for senders) for the r=
outing information=C2=A0<i>and</i>=C2=A0change the MTA to serve and retriev=
e policy information. That said, I have only one MTA I&#39;d have to change=
, and I can probably manage either option; I&#39;m curious to hear from you=
 and from people like Viktor about what options they would consider easier =
to implement in MTAs they work on.</div><div><br></div><div>Dan</div></div>=
</div></div>

--001a113f92b601aafc052fa9fa0d--


From nobody Mon Apr  4 08:24:50 2016
Return-Path: <azet@azet.org>
X-Original-To: uta@ietfa.amsl.com
Delivered-To: uta@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 67F9D12D75E for <uta@ietfa.amsl.com>; Mon,  4 Apr 2016 08:24:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.7
X-Spam-Level: 
X-Spam-Status: No, score=-2.7 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=azet.org
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 Gqi4CZHkBmrX for <uta@ietfa.amsl.com>; Mon,  4 Apr 2016 08:24:44 -0700 (PDT)
Received: from mail-lb0-x236.google.com (mail-lb0-x236.google.com [IPv6:2a00:1450:4010:c04::236]) (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 A852C12D75A for <uta@ietf.org>; Mon,  4 Apr 2016 08:24:42 -0700 (PDT)
Received: by mail-lb0-x236.google.com with SMTP id u8so166064592lbk.0 for <uta@ietf.org>; Mon, 04 Apr 2016 08:24:42 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=azet.org; s=gmail; h=subject:mime-version:from:in-reply-to:date:cc:message-id:references :to; bh=no4yjkKWJY7J7WE85Cl5Q5qIGRLeYQLAC2LkzHGQffg=; b=fx59RrYdCnJydsly2tPLFhX4SuEDS0KMz+gAfDVBluUzjqYWrTyMYdLCJ4ko7okiy7 sCkp4+b7qEIZ6l3tmHjxJIN2ggddTxMKL7faaN6yVcvE9jGZClCZ8s2tC5A28Dtik5Zo TWyZKCIWomAFpI6cu8ABB1/+Z7oh+y3lh7gFU=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:mime-version:from:in-reply-to:date:cc :message-id:references:to; bh=no4yjkKWJY7J7WE85Cl5Q5qIGRLeYQLAC2LkzHGQffg=; b=isnnxWtXeYq8luNHzy3LQT1mPYXp7ZPbkV6WNNF6wFXBWDaYi10RSulyWl6u0V+6aU tNcdVI3n9pFgoWhjE9cfKtNqZY0dQIy1y1LE/WgKS3Ka68aIrHqDdLwrnc1DfB8lsmdk ZsUMI3evmBirCa/ch3wde/W5X/jeELJ7Cksfc92zndo5gGltzJ2EvICsQwD5kffIZTxH KntOb+MnQjWh/PjHIeuqip0OQCCD39uz7X2jHwoLqsRu9VJJYHzxLMzpkcDXF+6T5V/s 1uGLMA2J4R2KkI6cUNBvpmdKWp0+gFnyh+9m+Pg18TBe34B8/ANiryX3fLUc4wqVjHVq U4ww==
X-Gm-Message-State: AD7BkJKLV/iLS3Yodpilcy406l3dSRM/oVCUnuASUmfvrzJpnYTjI/HhWU/lM+wjYZoGUQ==
X-Received: by 10.28.107.9 with SMTP id g9mr13004958wmc.34.1459783480744; Mon, 04 Apr 2016 08:24:40 -0700 (PDT)
Received: from aarons-macbook.home.azet.org (chello080108049181.14.11.vie.surfer.at. [80.108.49.181]) by smtp.gmail.com with ESMTPSA id e127sm14497410wma.20.2016.04.04.08.24.37 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 04 Apr 2016 08:24:37 -0700 (PDT)
Mime-Version: 1.0 (Mac OS X Mail 9.2 \(3112\))
Content-Type: multipart/signed; boundary="Apple-Mail=_6707DFD5-690A-44A9-AA1E-A45822118EA4"; protocol="application/pgp-signature"; micalg=pgp-sha512
X-Pgp-Agent: GPGMail 2.6b2
From: Aaron Zauner <azet@azet.org>
In-Reply-To: <CAB0W=GTGja5JtxGuCzhD6O3B2Ow-wLN-B6WQ8XUDyvQRqdFZxw@mail.gmail.com>
Date: Mon, 4 Apr 2016 17:24:59 +0200
Message-Id: <F78DA210-CD80-4403-A33D-E8A38A402ED9@azet.org>
References: <CAB0W=GS2PXF-divC+SNs+A-jH1-_BBA889-TbQXHvrVsrbKLEA@mail.gmail.com> <CAB0W=GSQ4oTLT+qepMi7Pj5=UmBD70D_uW7c193RY-gw818ORA@mail.gmail.com> <CAB0W=GRB_6LhqEGYzeYq-srnM99wqwZrdjUEm=vJ7+oFiKbYoA@mail.gmail.com> <CAB0W=GTGja5JtxGuCzhD6O3B2Ow-wLN-B6WQ8XUDyvQRqdFZxw@mail.gmail.com>
To: Mark Risher <risher@google.com>
X-Mailer: Apple Mail (2.3112)
Archived-At: <http://mailarchive.ietf.org/arch/msg/uta/hqDId6qFYXuPhDclVZ8-IKMQ5bU>
Cc: uta@ietf.org, "Orit Levin \(CELA\)" <oritl@microsoft.com>
Subject: Re: [Uta] New proposal: SMTP Strict Transport Security
X-BeenThere: uta@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: UTA working group mailing list <uta.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/uta>, <mailto:uta-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/uta/>
List-Post: <mailto:uta@ietf.org>
List-Help: <mailto:uta-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/uta>, <mailto:uta-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 04 Apr 2016 15:24:47 -0000

--Apple-Mail=_6707DFD5-690A-44A9-AA1E-A45822118EA4
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

Hi,

> On 19 Mar 2016, at 11:20, Mark Risher <risher@google.com> wrote:
>=20
> Dear UTA:
> We have just submitted a proposal entitled SMTP Strict Transport =
Security, which details a mechanism for protecting MTA-to-MTA email =
traffic against TLS downgrade attacks and interception.
>=20
> The initial draft is at =
https://datatracker.ietf.org/doc/draft-margolis-smtp-sts/ and we hope to =
discuss this at the Buenos Aires meeting next month. While we have =
deployed a prototype/reference implementation among the authors, we are =
very open to feedback and suggestions from the broader group and look =
forward to your input.

As already mentioned in two previous threads to this mailing list and a =
GitHub issue: I see a big problem with deployment of the webpki =
authentication part outside of big hosting environments. But I really do =
like the idea of getting feedback from/to MTAs. Can you guys think of a =
way we can get in-band reporting within e.g. SMTP (an extension)?

EFF is currently picking up STARTTLS-Everywhere again (mind: it's been =
idle since before Let's Encrypt, a lot of new proposals like this one =
for mail came out - so the project, scope and even it's name are subject =
to change in the near future). One idea I had was to provide anonymised =
log information regarding TLS-failures / MITM attempts to distributed =
monitoring servers and the receiving party. If there were a more general =
document for error-reporting (as some suggested) - we could maybe make =
use of that as well. If it requires every small mail-OP to set up a =
webserver on the same machine, it's unlikely that we can push for that, =
and adoption number might turn out low.

As for authentication/TOFU: I see no better proposal than TACK around. =
HPKP was an utter failure [0] and I fear that, for the very same =
reasons, SMTP-STS might not see a lot of deployment nor use in =
single-domain-setups. And there're quite a few around. While it's =
important to secure the majority of mail traffic between large providers =
- they're already doing well - we should not forget that there's still a =
lot of self-hosted MXs on the Internet.  I could imagine an updated =
(e.g. using EdDSA over ECDSA etc) version of TACK fitted to SMTP. One of =
the original authors might be interested in working on that he told me =
earlier this year, unfortunately I did not have any time to pursue this =
idea further.

Thanks,
Aaron

[0] =
http://news.netcraft.com/archives/2016/03/30/http-public-key-pinning-youre=
-doing-it-wrong.html

--Apple-Mail=_6707DFD5-690A-44A9-AA1E-A45822118EA4
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----

iQIcBAEBCgAGBQJXAodMAAoJEOTbZJL9ubXVYvUQAPSzThHtiQSjlN85Gv+L8FrN
opGSlhRQd0qkdQcNjiutV3Ap/JXO9D/9WyMptgoUJBlWysD2F59i5YyQjNNKgzJJ
QenMUrbJIZOK2LBTgMI9MRE4LiZCtY1GOJqyZuxsJOyuEYN0aM4FAssVb5IYHWR8
k0aWdv0DPKaBPEv+AkOk05t39qpD/p3g6KVP2ZeEj6G57KTcG0u6qM2rQS2irfIe
0XFTJz3C01GiucK2NnfyngTZfbktzCPcKt7ahv80XbNq3dPSZ0x3/VpU8pKacu7l
7RY5yN6hxhWFmD09tsz/exUvt71yU5JhuLGpXh/HaQkqHeYrhISfZ8dTw8hkBmZZ
qb2o7EMO53goSBW8NPGPS+9BAPf6vETr/jL5JhrBQkEDxt5mnHeAe9lFz5S9CCAh
B/rA+kiGSvRF0EIcPSLh4HIVoYT11iUYKke7JOyu5coT6+m1KcX3CQO4VrHPmHVV
dGahmK29ffM2Ykx/FGlkLnTzX4v+BjiG8eUpQYgOZJoNYRS37CkBLddkk1p9wC2Y
f8x6uLjLp/4mJzT8+CNk/fBSaYRyqRkmoq9GYUBN8gaZJc/T8r/DjZ8LLQdXZwC4
oShbmEK7ElhiT9FhYB7PNaN9aIaV7q+YqKNcApjfdomNbVogSGjG/KQSx4HpwUGV
aStatGp7BkRZda0c2YYO
=8kpi
-----END PGP SIGNATURE-----

--Apple-Mail=_6707DFD5-690A-44A9-AA1E-A45822118EA4--


From nobody Mon Apr  4 09:01:59 2016
Return-Path: <azet@azet.org>
X-Original-To: uta@ietfa.amsl.com
Delivered-To: uta@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B054712D70C for <uta@ietfa.amsl.com>; Mon,  4 Apr 2016 09:01:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.7
X-Spam-Level: 
X-Spam-Status: No, score=-2.7 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=azet.org
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 kDQi6UG1UzsB for <uta@ietfa.amsl.com>; Mon,  4 Apr 2016 09:01:57 -0700 (PDT)
Received: from mail-qg0-x233.google.com (mail-qg0-x233.google.com [IPv6:2607:f8b0:400d:c04::233]) (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 2F1B512D0EE for <uta@ietf.org>; Mon,  4 Apr 2016 09:01:47 -0700 (PDT)
Received: by mail-qg0-x233.google.com with SMTP id c6so26783157qga.1 for <uta@ietf.org>; Mon, 04 Apr 2016 09:01:47 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=azet.org; s=gmail; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=OoLnY/X4P56YEB37JSeEyiuYUl757JbNCsS7oTJSz3c=; b=S6kFBlqwMiOzlnDRSMSj/0oPu2ByNDj1sTVbSguq7qzRW3XyMcap1vx8EiO2ziw1kF tiASjXTeRz04n3SpmVBpJbjnL42jiraEtpTr0s0s9PkJWpeOlgSeq0OWc4lqX8KJrJLP L9qdWcwgyRJiFWauT5UC5WAQ8DAM9lmTGiA1Q=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=OoLnY/X4P56YEB37JSeEyiuYUl757JbNCsS7oTJSz3c=; b=I7kQCPtFOQwCmX8aUxCokKwMhoDfi/nSMe1UM8XqFddahkxWp+ajJadiNUt919vo1a Mx3v9j2481TN6iWibpG2O0tSDL3EdEXve99rpVhT69jVCviNdg4UJ/Th5mXyNzbRKMg6 ttxR1RVj1TTtCRZEZpG1e63Um9Rhql2boXnQ4XdF4/8PiwjQose2yUTb1gBpounk4ghw 5PLLJy5dvuRR3533x8pqIkX6LXHQYPo50QLNsIqmW0p+503684C6/JcBk3dQ4l/eiNRH 2FSh8bjA38XsVWEuDgMx9MmQzhY4rfPBCz1GVH0D0gwTaz543IDSRgK2iKKLHWu+K/iW upkA==
X-Gm-Message-State: AD7BkJILAgAm1U4CtgP6Q6w4yG7lnRukyz52jqMLbZ5OiQjiD7+O/RqPBYaQEJfBTLexNQ==
X-Received: by 10.194.119.201 with SMTP id kw9mr14687270wjb.173.1459785706237;  Mon, 04 Apr 2016 09:01:46 -0700 (PDT)
Received: from typhoon.azet.org (chello080108049181.14.11.vie.surfer.at. [80.108.49.181]) by smtp.gmail.com with ESMTPSA id j10sm29775654wjb.46.2016.04.04.09.01.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 04 Apr 2016 09:01:44 -0700 (PDT)
Date: Mon, 4 Apr 2016 18:01:43 +0200
From: Aaron Zauner <azet@azet.org>
To: Mark Risher <risher@google.com>
Message-ID: <20160404180128.7cb3c8bd65@718744a4e132f55>
References: <CAB0W=GS2PXF-divC+SNs+A-jH1-_BBA889-TbQXHvrVsrbKLEA@mail.gmail.com> <CAB0W=GSQ4oTLT+qepMi7Pj5=UmBD70D_uW7c193RY-gw818ORA@mail.gmail.com> <CAB0W=GRB_6LhqEGYzeYq-srnM99wqwZrdjUEm=vJ7+oFiKbYoA@mail.gmail.com> <CAB0W=GTGja5JtxGuCzhD6O3B2Ow-wLN-B6WQ8XUDyvQRqdFZxw@mail.gmail.com> <F78DA210-CD80-4403-A33D-E8A38A402ED9@azet.org>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="a8Wt8u1KmwUX3Y2C"
Content-Disposition: inline
In-Reply-To: <F78DA210-CD80-4403-A33D-E8A38A402ED9@azet.org>
User-Agent: Mutt/1.5.23 (2014-03-12)
Archived-At: <http://mailarchive.ietf.org/arch/msg/uta/xV3RcX81lt5jaHDDXTsntVzxFmg>
Cc: uta@ietf.org, "Orit Levin \(CELA\)" <oritl@microsoft.com>
Subject: Re: [Uta] New proposal: SMTP Strict Transport Security
X-BeenThere: uta@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: UTA working group mailing list <uta.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/uta>, <mailto:uta-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/uta/>
List-Post: <mailto:uta@ietf.org>
List-Help: <mailto:uta-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/uta>, <mailto:uta-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 04 Apr 2016 16:01:58 -0000

--a8Wt8u1KmwUX3Y2C
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline

* Aaron Zauner <azet@azet.org> [04/04/2016 17:24:37] wrote:
> As for authentication/TOFU: I see no better proposal than TACK
> around. HPKP was an utter failure [0] and I fear that, for the
> very same reasons, SMTP-STS might not see a lot of deployment nor
> use in single-domain-setups. And there're quite a few around.
> While it's important to secure the majority of mail traffic
> between large providers - they're already doing well - we should
> not forget that there's still a lot of self-hosted MXs on the
> Internet.  I could imagine an updated (e.g. using EdDSA over ECDSA
> etc) version of TACK fitted to SMTP. One of the original authors
> might be interested in working on that he told me earlier this
> year, unfortunately I did not have any time to pursue this idea
> further.

Could work like that: the MTA announces an additional extension
(e.g. NOSTRIP), once the other side sees that, it requires that the
MTA support STARTTLS and the TLS TACK extension [0]. An in-band
upgrade
is performed and TACK/policy information retrieved and stored. These
pins can be used on follow-up connections, and the way TACK handles
key-rollover it's very unlikely that operators have to take a lot of
care regarding their pins (this is why HPKP fails and isn't widely
deployed). For implementors this doesn't change much either; as with
the original SMTP-STS proposal the MTA needs to be aware of policy
information. This information is now provided by TACK. TACK is a TLS
extension, so functionality only needs to be provided from the
library
(TLS stack - there's already TACK code available for e.g. OpenSSL).

The beauty really is TACK's pin lifecycle and rollover. It being an
extension, it's also rather easy to deploy (eg. an admin would just
need to upgrade their system TLS stack to a current release), and
deployment is usually the biggest barrier, especially in
small/single-domain setups as we've seen from our scans.

Reporting could be handeled entirely seperate or as a SHOULD.


Aaron

[0] http://tack.io/draft.html


--a8Wt8u1KmwUX3Y2C
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature

-----BEGIN PGP SIGNATURE-----

iQIcBAEBCgAGBQJXAo/kAAoJEOTbZJL9ubXVbFEP/j97n8wAgyvQG5KcgYNgS//4
sUNQSrFK9gKCSY0nCpSel1gzRTTBTzQ7ecDZBQHOb+J+2IXivphQbv+f915ICt1/
iIrnPWUcgIphZ3HEu1Yu0A4iWDndftmTXcXknlE88UcALGve87ucs3TVI5jCXDm1
652meEhBk6ehSBLY8kB61qG5xqb6DAz5SOBkbk+z8gy6mejc6WXLxWIpl38HSzL3
03ZYWOwFbRtlu5rzd7u7ZrQo9aK1gtD7ZfhWulBDz+FvqfJjL8spHymFp/F5OWOd
w8gkF1eCN0+7GMT8+d9H5hhhNKUfLjkp5oSly4NhgVCBpF7Vw6ZXQzVsVDdb+dqQ
54qj+cXIWLDEiquaYummGfl0tXocZysuztixa0ROH9tNUZOA2iAlZjHegEoNfXgs
Pi6VGZ20e/FbKrEooj3HlddcbFlZ+H8jwYPq1nJumntumB66KQnGVF/U0wMaVA+n
H9zPokvzWDa63NcN057z5kEIfdO7bFWPzO950x7RPX8wvGn7GxBZPLKP+Ia8XjAW
O6gMDw+rAdiXMtslPIZU6gB3YoOTZPbQzIlCHe3wgC71SaK6ZOqvbce//hvLI2+v
9tjfBzkSNsp6Quo3Y6EoINL/JREWbQeF/ATbCYUrg0gDzt0bpLoYEDODZAV0v2q6
FM4Dqx1V8s+NHfbsKrHa
=8C4p
-----END PGP SIGNATURE-----

--a8Wt8u1KmwUX3Y2C--


From nobody Mon Apr  4 10:56:42 2016
Return-Path: <dmargolis@google.com>
X-Original-To: uta@ietfa.amsl.com
Delivered-To: uta@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A2C0912D0A8 for <uta@ietfa.amsl.com>; Mon,  4 Apr 2016 10:56:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.71
X-Spam-Level: 
X-Spam-Status: No, score=-2.71 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=google.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 C1f-8QjKpVi6 for <uta@ietfa.amsl.com>; Mon,  4 Apr 2016 10:56:36 -0700 (PDT)
Received: from mail-ig0-x235.google.com (mail-ig0-x235.google.com [IPv6:2607:f8b0:4001:c05::235]) (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 508C212D560 for <uta@ietf.org>; Mon,  4 Apr 2016 10:56:32 -0700 (PDT)
Received: by mail-ig0-x235.google.com with SMTP id f1so82730804igr.1 for <uta@ietf.org>; Mon, 04 Apr 2016 10:56:32 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=4BmWF6CUgfSrtmM6IIM5GtgiCaRM1tY6SEpaffLVCHM=; b=gP++MSwcGEG3I9C4CfkRkq2C15Zhx1/vcDQgF4OwaThXKndV7AZJES/j3HCxCG/tIT xAmmiuZ+d4+Zpn89J4v5ZYxC4E8s5BvK11+5ve4ggpzzdwotAAwDme47Bw41Pukfh1A9 CHOMtCa6UFtYuLHtK9QpD2Bb/1SEgOju2RaaokuJx7cgvAziagAWZuJw64NXTWPa5AAH 2MM7/QVq6Saf41BJwTXk+B7GKCO3ws8SFjmy81MpGHxGhJN95tUjfawGHBgj8t8w/GpZ zErISWy9jhnH1ErpEOb28VzeV2eN28GP/S9kaqCX/jnuYxYAEiqUu6W5LR6w75I5if4z yvaQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=4BmWF6CUgfSrtmM6IIM5GtgiCaRM1tY6SEpaffLVCHM=; b=Dzni8xa/CIAdmu/3fPMQzCzSaTZlVFL7xonYJ0PsO5kLPQseDyXDTj1ynZpXG3nE9m cJHDOc9Rw8MyHzSHFTFoQCVNAwrxi6Gblo7y7CSrBNZN5VJpnFnY1JEEA/iIU/OZe8Xj viaUUS9Kgc1mmgEfdmJk717AD5QS8N3u2X+od0+cGXI7aNQ+1hdbJvQgDh7gk/Ci2f0w MVMlbxqclY9l7tmNlPfdpTX+ge12giPtL5TndE6W/AkA7iCnu/xRHlInpofbGwZ3gASO 0Hkp7JzPJ0bSusHAgv2kLlVbiOfLnVN9HaDn6Wqcd10znIA6pZjlBSW7mX2sVD8UGC/R PjCg==
X-Gm-Message-State: AD7BkJILKrmdN7ghujZNxbsKewdnTAGlreolbpTgggZcUD1Kj0LwgXsaBQNmA8yAbJ47mhRnfQ+YUMEBtiigTs8l
MIME-Version: 1.0
X-Received: by 10.50.79.135 with SMTP id j7mr12551034igx.84.1459792587956; Mon, 04 Apr 2016 10:56:27 -0700 (PDT)
Received: by 10.64.101.98 with HTTP; Mon, 4 Apr 2016 10:56:27 -0700 (PDT)
In-Reply-To: <20160404180128.7cb3c8bd65@718744a4e132f55>
References: <CAB0W=GS2PXF-divC+SNs+A-jH1-_BBA889-TbQXHvrVsrbKLEA@mail.gmail.com> <CAB0W=GSQ4oTLT+qepMi7Pj5=UmBD70D_uW7c193RY-gw818ORA@mail.gmail.com> <CAB0W=GRB_6LhqEGYzeYq-srnM99wqwZrdjUEm=vJ7+oFiKbYoA@mail.gmail.com> <CAB0W=GTGja5JtxGuCzhD6O3B2Ow-wLN-B6WQ8XUDyvQRqdFZxw@mail.gmail.com> <F78DA210-CD80-4403-A33D-E8A38A402ED9@azet.org> <20160404180128.7cb3c8bd65@718744a4e132f55>
Date: Mon, 4 Apr 2016 19:56:27 +0200
Message-ID: <CANtKdUe8nBKUezHRq4fFzkxGFHjWtkZQC8qzvWNfRWxUmB3WKA@mail.gmail.com>
From: Daniel Margolis <dmargolis@google.com>
To: Aaron Zauner <azet@azet.org>
Content-Type: multipart/alternative; boundary=089e0122a754a70d31052fac7222
Archived-At: <http://mailarchive.ietf.org/arch/msg/uta/cjNa2A_sq19tM43GvgeL-eiUsM8>
Cc: uta@ietf.org, "Orit Levin \(CELA\)" <oritl@microsoft.com>, Mark Risher <risher@google.com>
Subject: Re: [Uta] New proposal: SMTP Strict Transport Security
X-BeenThere: uta@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: UTA working group mailing list <uta.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/uta>, <mailto:uta-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/uta/>
List-Post: <mailto:uta@ietf.org>
List-Help: <mailto:uta-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/uta>, <mailto:uta-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 04 Apr 2016 17:56:40 -0000

--089e0122a754a70d31052fac7222
Content-Type: text/plain; charset=UTF-8

It's been a long time since I looked at TACK, but if I remember right,
doesn't this only help with the CA/trust issue?

To me the big question with STS as is is how to exchange policy/routing
information, which I believe is mostly unrelated to TACK, right? In fact
STS is quite agnostic about how to determine if you trust the HTTPS
certificate presented--I think TACK is potentially applicable there (as is
Cert Transparency, though we also considered CT as a future option for
publishing or discovering policy presence).

Or am I totally misremembering what TACK does?

Dan

On Mon, Apr 4, 2016 at 6:01 PM, Aaron Zauner <azet@azet.org> wrote:

> * Aaron Zauner <azet@azet.org> [04/04/2016 17:24:37] wrote:
> > As for authentication/TOFU: I see no better proposal than TACK
> > around. HPKP was an utter failure [0] and I fear that, for the
> > very same reasons, SMTP-STS might not see a lot of deployment nor
> > use in single-domain-setups. And there're quite a few around.
> > While it's important to secure the majority of mail traffic
> > between large providers - they're already doing well - we should
> > not forget that there's still a lot of self-hosted MXs on the
> > Internet.  I could imagine an updated (e.g. using EdDSA over ECDSA
> > etc) version of TACK fitted to SMTP. One of the original authors
> > might be interested in working on that he told me earlier this
> > year, unfortunately I did not have any time to pursue this idea
> > further.
>
> Could work like that: the MTA announces an additional extension
> (e.g. NOSTRIP), once the other side sees that, it requires that the
> MTA support STARTTLS and the TLS TACK extension [0]. An in-band
> upgrade
> is performed and TACK/policy information retrieved and stored. These
> pins can be used on follow-up connections, and the way TACK handles
> key-rollover it's very unlikely that operators have to take a lot of
> care regarding their pins (this is why HPKP fails and isn't widely
> deployed). For implementors this doesn't change much either; as with
> the original SMTP-STS proposal the MTA needs to be aware of policy
> information. This information is now provided by TACK. TACK is a TLS
> extension, so functionality only needs to be provided from the
> library
> (TLS stack - there's already TACK code available for e.g. OpenSSL).
>
> The beauty really is TACK's pin lifecycle and rollover. It being an
> extension, it's also rather easy to deploy (eg. an admin would just
> need to upgrade their system TLS stack to a current release), and
> deployment is usually the biggest barrier, especially in
> small/single-domain setups as we've seen from our scans.
>
> Reporting could be handeled entirely seperate or as a SHOULD.
>
>
> Aaron
>
> [0] http://tack.io/draft.html
>
>
> _______________________________________________
> Uta mailing list
> Uta@ietf.org
> https://www.ietf.org/mailman/listinfo/uta
>
>

--089e0122a754a70d31052fac7222
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">It&#39;s been a long time since I looked at TACK, but if I=
 remember right, doesn&#39;t this only help with the CA/trust issue?<div><b=
r></div><div>To me the big question with STS as is is how to exchange polic=
y/routing information, which I believe is mostly unrelated to TACK, right? =
In fact STS is quite agnostic about how to determine if you trust the HTTPS=
 certificate presented--I think TACK is potentially applicable there (as is=
 Cert Transparency, though we also considered CT as a future option for pub=
lishing or discovering policy presence).=C2=A0</div><div><br></div><div>Or =
am I totally misremembering what TACK does?=C2=A0</div><div><br></div><div>=
Dan</div></div><div class=3D"gmail_extra"><br><div class=3D"gmail_quote">On=
 Mon, Apr 4, 2016 at 6:01 PM, Aaron Zauner <span dir=3D"ltr">&lt;<a href=3D=
"mailto:azet@azet.org" target=3D"_blank">azet@azet.org</a>&gt;</span> wrote=
:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-le=
ft:1px #ccc solid;padding-left:1ex"><span class=3D"">* Aaron Zauner &lt;<a =
href=3D"mailto:azet@azet.org">azet@azet.org</a>&gt; [04/04/2016 17:24:37] w=
rote:<br>
&gt; As for authentication/TOFU: I see no better proposal than TACK<br>
&gt; around. HPKP was an utter failure [0] and I fear that, for the<br>
&gt; very same reasons, SMTP-STS might not see a lot of deployment nor<br>
&gt; use in single-domain-setups. And there&#39;re quite a few around.<br>
&gt; While it&#39;s important to secure the majority of mail traffic<br>
&gt; between large providers - they&#39;re already doing well - we should<b=
r>
&gt; not forget that there&#39;s still a lot of self-hosted MXs on the<br>
&gt; Internet.=C2=A0 I could imagine an updated (e.g. using EdDSA over ECDS=
A<br>
&gt; etc) version of TACK fitted to SMTP. One of the original authors<br>
&gt; might be interested in working on that he told me earlier this<br>
&gt; year, unfortunately I did not have any time to pursue this idea<br>
&gt; further.<br>
<br>
</span>Could work like that: the MTA announces an additional extension<br>
(e.g. NOSTRIP), once the other side sees that, it requires that the<br>
MTA support STARTTLS and the TLS TACK extension [0]. An in-band<br>
upgrade<br>
is performed and TACK/policy information retrieved and stored. These<br>
pins can be used on follow-up connections, and the way TACK handles<br>
key-rollover it&#39;s very unlikely that operators have to take a lot of<br=
>
care regarding their pins (this is why HPKP fails and isn&#39;t widely<br>
deployed). For implementors this doesn&#39;t change much either; as with<br=
>
the original SMTP-STS proposal the MTA needs to be aware of policy<br>
information. This information is now provided by TACK. TACK is a TLS<br>
extension, so functionality only needs to be provided from the<br>
library<br>
(TLS stack - there&#39;s already TACK code available for e.g. OpenSSL).<br>
<br>
The beauty really is TACK&#39;s pin lifecycle and rollover. It being an<br>
extension, it&#39;s also rather easy to deploy (eg. an admin would just<br>
need to upgrade their system TLS stack to a current release), and<br>
deployment is usually the biggest barrier, especially in<br>
small/single-domain setups as we&#39;ve seen from our scans.<br>
<br>
Reporting could be handeled entirely seperate or as a SHOULD.<br>
<br>
<br>
Aaron<br>
<br>
[0] <a href=3D"http://tack.io/draft.html" rel=3D"noreferrer" target=3D"_bla=
nk">http://tack.io/draft.html</a><br>
<br>
<br>_______________________________________________<br>
Uta mailing list<br>
<a href=3D"mailto:Uta@ietf.org">Uta@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/uta" rel=3D"noreferrer" ta=
rget=3D"_blank">https://www.ietf.org/mailman/listinfo/uta</a><br>
<br></blockquote></div><br></div>

--089e0122a754a70d31052fac7222--


From nobody Mon Apr  4 13:24:53 2016
Return-Path: <chris.newman@oracle.com>
X-Original-To: uta@ietfa.amsl.com
Delivered-To: uta@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id EF5FF12D182 for <uta@ietfa.amsl.com>; Mon,  4 Apr 2016 13:24:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.211
X-Spam-Level: 
X-Spam-Status: No, score=-4.211 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] 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 06g2nNRpKTrw for <uta@ietfa.amsl.com>; Mon,  4 Apr 2016 13:24:49 -0700 (PDT)
Received: from userp1040.oracle.com (userp1040.oracle.com [156.151.31.81]) (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 29D6C12D111 for <uta@ietf.org>; Mon,  4 Apr 2016 13:24:49 -0700 (PDT)
Received: from aserv0021.oracle.com (aserv0021.oracle.com [141.146.126.233]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id u34KOhIQ021622 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 4 Apr 2016 20:24:43 GMT
Received: from gotmail.us.oracle.com (gotmail.us.oracle.com [10.133.152.174]) by aserv0021.oracle.com (8.13.8/8.13.8) with ESMTP id u34KOgxD012635;  Mon, 4 Apr 2016 20:24:43 GMT
MIME-version: 1.0
Content-type: multipart/alternative; boundary="Boundary_(ID_lVE/VX7Sok+dGlEUqNqVoA)"
Received: from dhcp-ukc1-twvpn-3-vpnpool-10-175-242-84.vpn.oracle.com (dhcp-ukc1-twvpn-3-vpnpool-10-175-242-84.vpn.oracle.com [10.175.242.84]) by gotmail.us.oracle.com (Oracle Communications Messaging Server 8.0.0.0.0 64bit (built Mar 19 2015)) with ESMTPSA id <0O540085DM0XWO00@gotmail.us.oracle.com>; Mon, 04 Apr 2016 13:24:42 -0700 (PDT)
Date: Mon, 04 Apr 2016 17:24:27 -0300
From: Chris Newman <chris.newman@oracle.com>
To: Mark Risher <risher@google.com>
Message-id: <etPan.5702cd80.1ba963ce.9b91@dhcp-ukc1-twvpn-3-vpnpool-10-175-242-84.vpn.oracle.com>
In-reply-to: <CAB0W=GTNa+oG7p8djUa+ffrwt0rpVkFofzFv4g6Q=u+re0fNPA@mail.gmail.com>
References: <CAB0W=GS2PXF-divC+SNs+A-jH1-_BBA889-TbQXHvrVsrbKLEA@mail.gmail.com> <CAB0W=GSQ4oTLT+qepMi7Pj5=UmBD70D_uW7c193RY-gw818ORA@mail.gmail.com> <CAB0W=GRB_6LhqEGYzeYq-srnM99wqwZrdjUEm=vJ7+oFiKbYoA@mail.gmail.com> <CAB0W=GTGja5JtxGuCzhD6O3B2Ow-wLN-B6WQ8XUDyvQRqdFZxw@mail.gmail.com> <20160322063527.GD6602@mournblade.imrryr.org> <CANtKdUeh8LV1uaWAyRqQ2ou4pdTNvKgzuJ5kKsQLwPFORqrDQA@mail.gmail.com> <CANtKdUcX0HqNzqzr=Dh05x09hEZyMZnsPQBCi8TXRQccpYARiQ@mail.gmail.com> <etPan.56feec95.141a081e.3fe@dhcp-amer-vpn-adc-anyconnect-10-154-130-14.vpn.oracle.com> <20160401221814.GN6602@mournblade.imrryr.org> <etPan.5701ed3e.4240ccb9.98f2@dhcp-amer-vpn-adc-anyconnect-10-154-189-72.vpn.oracle.com> <CANtKdUf7vxE=9RYCV1h31um3fd9-WJAQU6xzkTU_jKrgWPeK8Q@mail.gmail.com> <etPan.57026f6f.e35b23.99e0@dhcp-ukc1-twvpn-2-vpnpool-10-175-218-94.vpn.oracle.com> <CAB0W=GTNa+oG7p8djUa+ffrwt0rpVkFofzFv4g6Q=u+re0fNPA@mail.gmail.com>
X-Mailer: Airmail (351)
X-Source-IP: aserv0021.oracle.com [141.146.126.233]
Archived-At: <http://mailarchive.ietf.org/arch/msg/uta/ryVHfJvzT6B_dmXQ08Gh4m8yhTQ>
Cc: uta@ietf.org, Daniel Margolis <dmargolis@google.com>
Subject: Re: [Uta] New proposal: SMTP Strict Transport Security
X-BeenThere: uta@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: UTA working group mailing list <uta.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/uta>, <mailto:uta-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/uta/>
List-Post: <mailto:uta@ietf.org>
List-Help: <mailto:uta-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/uta>, <mailto:uta-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 04 Apr 2016 20:24:52 -0000

--Boundary_(ID_lVE/VX7Sok+dGlEUqNqVoA)
Content-type: text/plain; charset=utf-8
Content-transfer-encoding: quoted-printable
Content-disposition: inline

On April 4, 2016 at 11:03:33 , Mark Risher (risher=40google.com) wrote:
>> Do you really think an end-user can understand what it means if the MT=
A will transport encrypt the next hop of mail relay but can say nothing a=
bout relay hops after that or how the mail is handled by either service p=
rovider=3F Perhaps I=E2=80=99m missing the motivation for doing this, can=
 you explain why this is useful=3F

The intent of this proposal itself is to resist downgrades and frontage m=
is-routing of messages. I agree users will not understand this, and any e=
ffort for communicating encryption status covering the entirety of the jo=
urney from user to user would require additional work beyond STS (such as=
 DEEP, REQUIRETLS, and other proposals).

I guess I mis-stated my question. Here=E2=80=99s another attempt: Why is =
it useful for the MUA to know if a domain has STS policy at mail composit=
ion time=3F

>> I=E2=80=99ve seen few DNS additions deploy effectively, and I=E2=80=99=
ve seen a bunch of SMTP extensions deploy effectively.

Can you share examples of each=3F We chose DNS over the new verb for ease=
 of deployment; one example is the rates of adoption of SP=46 (which only=
 requires DNS updates) versus DKIM.

=46or standards, I=E2=80=99ve seen SMTP AUTH, SMTP CHUNKING, SMTP BINARYM=
IME, SMTP STARTTLS deploy rather successfully (although the latter has is=
sues we=E2=80=99ve all seen). I understand SMTP X-CLIENT (for a non-stand=
ard extension) is quite common now. I=E2=80=99m not sure how successful S=
P=46 is in practice =E2=80=94 our server implements it but I don=E2=80=99=
t hear much customer traffic about it.

		- Chris

Thanks for the feedback. Looking forward to the face to face in a few hou=
rs,
/m


---
Mark Risher =7C Google =7C 650-253-3123

On Apr 4, 2016 10:44 AM, =22Chris Newman=22 <chris.newman=40oracle.com> w=
rote:
On April 4, 2016 at 2:42:15 , Daniel Margolis (dmargolis=40google.com) wr=
ote:
Thanks for the clarification.=C2=A0

Sounds like a feature to me. Having MUAs do insecure DNS lookups (which i=
s what they=E2=80=99d probably do) and make misleading assertions about r=
elay security (which couldn=E2=80=99t be made even if DNSSEC/HTTPS was em=
ployed to trust the STS information, given that forwarding is in the infr=
astructure and all that). If you want to have MUAs make assertions, you=E2=
=80=99re moving in the direction of the SMTP extension draft, and as Vict=
or pointed out, the infrastructure is going to ignore even those assertio=
ns under some circumstances if that were to deploy.
I am (perhaps parochially) thinking mostly about webmail systems where th=
e MUA and the sending MTA are mostly the same piece of infrastructure. So=
 my real goal is for the MTA to be able to tell the MUA at compose time t=
hat it has a policy for the recipient domain and can guarantee certain be=
havior.=C2=A0
Do you really think an end-user can understand what it means if the MTA w=
ill transport encrypt the next hop of mail relay but can say nothing abou=
t relay hops after that or how the mail is handled by either service prov=
ider=3F Perhaps I=E2=80=99m missing the motivation for doing this, can yo=
u explain why this is useful=3F

In this context, I think having policies be per-domain is important, but =
as you note, you could have a policy semantic which allows a single MX to=
 communicate a domain-wide policy even with an in-band channel.=C2=A0

> Your suggestion, in that light, should be interpreted to say that
> the STS URI should be used to only secure the routing information
> (security for MX records via HTTPS rather than DNSSEC), and that
> once the routing information is secured, security policy for the
> given relay be in-band via SMTP and modeled on DEEP.

Mostly yes. I=E2=80=99d also want to consider an optimization to skip the=
 HTTPS step for self-hosted domains just to reduce overall new traffic.

To clarify a bit the individual steps needed, then, it seems like you're =
proposing that given the following stages:

1. Routing information: What MX hostnames are expected
2. Authenticating the MX: Determining that the server TLS cert matches
3. Policy: Ensuring the minimum level of transport-layer encryption

You propose to put =231 in either DNSSEC or HTTPS (with an optimization t=
o use in-channel in place of HTTPS if the MX domain matches the email dom=
ain) and =232 and =233 in the SMTP exchange=3F=C2=A0
Basically right.

But this doesn't necessarily eliminate the extra DNS or HTTPS lookup (at =
least in the case where the MX domain does not match the email domain), r=
ight=3F You still need to get the routing information somehow, and we're =
still trying to make this viable for domains that can't yet deploy DNSSEC=
. So in that light, you're proposing that all domains would need at least=
 the SMTP in-band exchange and that some domains would also need step =23=
1 to be done over HTTPS--meaning that sending domains would have to still=
 support both options, right=3F=C2=A0
Presuming there is WG rough consensus that use of HTTPS meets the cost/be=
nefit cutoff when compared to DNSSEC, then yes that is correct.

I can see the appeal of doing much of this in-band given that it's consis=
tent with what DEEP proposes, but I'm still concerned that if we need=C2=A0=
also=C2=A0support out-of-band, we're just increasing complexity. What do =
you think=3F
As long as the only out-of-band is verification of routing information an=
d not policy, then I don=E2=80=99t see it as increasing complexity. Indee=
d it=E2=80=99s a somewhat more conservative approach to architectural cos=
t (trying to minimize use of extra packets and protocols when performing =
the core SMTP relay operation).

But I=E2=80=99ll admit I have some experiential bias in that I=E2=80=99ve=
 seen few DNS additions deploy effectively, and I=E2=80=99ve seen a bunch=
 of SMTP extensions deploy effectively.

- Chris

On Mon, Apr 4, 2016 at 6:27 AM, Chris Newman=C2=A0<chris.newman=40oracle.=
com>=C2=A0wrote:
On April 1, 2016 at 19:18:31 , Viktor Dukhovni (ietf-dane=40dukhovni.org)=
 wrote:
On =46ri, Apr 01, 2016 at 06:48:00PM -0300, Chris Newman wrote:=C2=A0

> I feel very strongly that policy for SMTP relay should be advertised by=
=C2=A0
> SMTP and protected by SMTP TLS. Doing anything else creates a much larg=
er=C2=A0
> attack surface on the policy information and is both more complex and l=
ess=C2=A0
> secure. The preferred mechanism to sign SMTP relay routing (DNS MX) is=C2=
=A0
> DNSSEC. I'm open to proposals for alternate mechanisms to sign MX recor=
d=C2=A0
> information due to the difficulty of deploying DNSSEC, but such mechani=
sms=C2=A0
> should not be confused with security policy.=C2=A0

Unfortunately, in MTA-to-MTA SMTP, the receiving SMTP server has=C2=A0
no idea what domain the sending SMTP client wants to deliver mail=C2=A0
to at the time that it advertises its ESMTP extensions in the EHLO=C2=A0
response.=C2=A0
This correctly identifies a key difference between SMTP relay and SMTP su=
bmission. I had missed this, thank you for raising it=21

=46or SMTP submission, there=E2=80=99s an early-indication of domain owne=
rship from the mandatory user authentication (multi-domain hosting servic=
es tend to use email address as user name to get this benefit). =46or SMT=
P relay we have no mechanism to indicate the intended domain so to handle=
 the case of a multi-domain hosting service that offers different policie=
s for different domains we=E2=80=99d need to add a way to communicate int=
ended domain early. This can be done with an SMTP verb (adding a round tr=
ip) or by using TLS ALPN or something similar (no new round trip).

=46or this (and other related) reasons, in-band SMTP security policy=C2=A0=

can only be communicated for the given SMTP server, and not the=C2=A0
recipient domain.=C2=A0
I=E2=80=99m not convinced this is true. I=E2=80=99d like to hear those ot=
her reasons.

A relay MTA MUST NOT make any conclusions about recipient domain=C2=A0
security based on security policy advertised by a particular MX=C2=A0
host. An individual MX host cannot advertise security policy=C2=A0
(implicitly) for every single domain it happens to receive mail=C2=A0
for, except for future relaying via that *same* MX host.
If the MX-from-DNS isn=E2=80=99t trusted, then no policy can be trusted. =
But STS-from-DNS has the same issue.

To secure SMTP relay traffic to a recipient domain, the routing=C2=A0
needs to be secured by some means. STS (with sensible modifications)=C2=A0=

proposes doing so via an HTTPS well-known URI associated with the=C2=A0
recipient domain. This is achieved via DNS-based signalling of=C2=A0
the existence of the STS well-known URI, and likely DNS-based=C2=A0
signalling that a cached policy is stale and should be refreshed.=C2=A0

Your suggestion, in that light, should be interpreted to say that=C2=A0
the STS URI should be used to only secure the routing information=C2=A0
(security for MX records via HTTPS rather than DNSSEC), and that=C2=A0
once the routing information is secured, security policy for the=C2=A0
given relay be in-band via SMTP and modeled on DEEP.=C2=A0
Mostly yes. I=E2=80=99d also want to consider an optimization to skip the=
 HTTPS step for self-hosted domains just to reduce overall new traffic.

Note that consequently, a domain would be able to downgrade to a=C2=A0
non-TLS provider, by serving a routing-only policy that references=C2=A0
new MX hosts that don't support a new relay-MTA flavour of DEEP.=C2=A0
We decide in the specification whether the policy attaches to the domain =
or the SMTP hostname. This is a design choice.

Also, when a sending relay sees new MX RRs incompatible with a=C2=A0
cached routing policy, it would be able to refresh that policy,=C2=A0
(provided the well-known STS URI is still up and running) and=C2=A0
deliver via the subset of MX hosts that match the refreshed policy.=C2=A0=

This all follows from a conclusion I don=E2=80=99t agree with.

=5B MX hosts that don't match the policy MUST NOT be ignored when=C2=A0
doing relay loop elimination. They would have to be treated=C2=A0
as though connections to them are failing, not as though they=C2=A0
weren't part of the MX RRset. =5D=C2=A0
Once policy is latched for a domain, any SMTP relay not complying with th=
e policy is a failure. We=E2=80=99ll want to make sure we get the 4xx vs.=
 5xx rules right in the spec for this.

=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=C2=A0
Uta mailing list=C2=A0
Uta=40ietf.org=C2=A0
https://www.ietf.org/mailman/listinfo/uta=C2=A0





=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F
Uta mailing list
Uta=40ietf.org
https://www.ietf.org/mailman/listinfo/uta

=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=C2=A0
Uta mailing list=C2=A0
Uta=40ietf.org=C2=A0
https://www.ietf.org/mailman/listinfo/uta=C2=A0


--Boundary_(ID_lVE/VX7Sok+dGlEUqNqVoA)
Content-type: text/html; charset=utf-8
Content-transfer-encoding: quoted-printable
Content-disposition: inline

<html><head><style>body=7Bfont-family:Helvetica,Arial;font-size:13px=7D</=
style></head><body style=3D=22word-wrap: break-word; -webkit-nbsp-mode: s=
pace; -webkit-line-break: after-white-space;=22><div id=3D=22bloop=5Fcust=
omfont=22 style=3D=22font-family:Helvetica,Arial;font-size:13px; color: r=
gba(0,0,0,1.0); margin: 0px; line-height: auto;=22>On April 4, 2016 at 11=
:03:33 , Mark Risher (<a href=3D=22mailto:risher=40google.com=22>risher=40=
google.com</a>) wrote:</div> <div><div><blockquote type=3D=22cite=22 clas=
s=3D=22clean=5Fbq=22 style=3D=22font-family: Helvetica, Arial; font-size:=
 13px; font-style: normal; font-variant-caps: normal; font-weight: normal=
; letter-spacing: normal; orphans: auto; text-align: start; text-indent: =
0px; text-transform: none; white-space: normal; widows: auto; word-spacin=
g: 0px; -webkit-text-stroke-width: 0px;=22><span><div><div></div><div><p =
dir=3D=22ltr=22>&gt;&gt; Do you really think an end-user can understand w=
hat it means if the MTA will transport encrypt the next hop of mail relay=
 but can say nothing about relay hops after that or how the mail is handl=
ed by either service provider=3F Perhaps I=E2=80=99m missing the motivati=
on for doing this, can you explain why this is useful=3F</p><p dir=3D=22l=
tr=22>The intent of this proposal itself is to resist downgrades and fron=
tage mis-routing of messages. I agree users will not understand this, and=
 any effort for communicating encryption status covering the entirety of =
the journey from user to user would require additional work beyond STS (s=
uch as DEEP, REQUIRETLS, and other proposals).</p></div></div></span></bl=
ockquote></div><p>I guess I mis-stated my question. Here=E2=80=99s anothe=
r attempt: Why is it useful for the MUA to know if a domain has STS polic=
y at mail composition time=3F</p><div><blockquote type=3D=22cite=22 class=
=3D=22clean=5Fbq=22 style=3D=22font-family: Helvetica, Arial; font-size: =
13px; font-style: normal; font-variant-caps: normal; font-weight: normal;=
 letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0=
px; text-transform: none; white-space: normal; widows: auto; word-spacing=
: 0px; -webkit-text-stroke-width: 0px;=22><span><div><div><p dir=3D=22ltr=
=22>&gt;&gt; I=E2=80=99ve seen few DNS additions deploy effectively, and =
I=E2=80=99ve seen a bunch of SMTP extensions deploy effectively.</p><p di=
r=3D=22ltr=22>Can you share examples of each=3F We chose DNS over the new=
 verb for ease of deployment; one example is the rates of adoption of SP=46=
 (which only requires DNS updates) versus DKIM.</p></div></div></span></b=
lockquote></div></div><p>=46or standards, I=E2=80=99ve seen SMTP AUTH, SM=
TP CHUNKING, SMTP BINARYMIME, SMTP STARTTLS deploy rather successfully (a=
lthough the latter has issues we=E2=80=99ve all seen). I understand SMTP =
X-CLIENT (for a non-standard extension) is quite common now. I=E2=80=99m =
not sure how successful SP=46 is in practice =E2=80=94 our server impleme=
nts it but I don=E2=80=99t hear much customer traffic about it.</p><p><sp=
an class=3D=22Apple-tab-span=22 style=3D=22white-space:pre=22>		</span>- =
Chris</p><div><blockquote type=3D=22cite=22 class=3D=22clean=5Fbq=22 styl=
e=3D=22font-family: Helvetica, Arial; font-size: 13px; font-style: normal=
; font-variant-caps: normal; font-weight: normal; letter-spacing: normal;=
 orphans: auto; text-align: start; text-indent: 0px; text-transform: none=
; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stro=
ke-width: 0px;=22><span><div><div><p dir=3D=22ltr=22>Thanks for the feedb=
ack. Looking forward to the face to face in a few hours,<br>/m<br><br></p=
><p dir=3D=22ltr=22>---<br>Mark Risher =7C Google =7C 650-253-3123</p><di=
v class=3D=22gmail=5Fquote=22>On Apr 4, 2016 10:44 AM, =22Chris Newman=22=
 &lt;<a href=3D=22mailto:chris.newman=40oracle.com=22>chris.newman=40orac=
le.com</a>&gt; wrote:<br type=3D=22attribution=22><blockquote class=3D=22=
gmail=5Fquote=22 style=3D=22margin: 0px 0px 0px 0.8ex; border-left-width:=
 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; pa=
dding-left: 1ex;=22><div style=3D=22word-wrap: break-word;=22><div style=3D=
=22font-family: Helvetica, Arial; font-size: 13px; color: rgb(0, 0, 0); m=
argin: 0px;=22><div style=3D=22margin: 0px;=22>On April 4, 2016 at 2:42:1=
5 , Daniel Margolis (<a href=3D=22mailto:dmargolis=40google.com=22 target=
=3D=22=5Fblank=22>dmargolis=40google.com</a>) wrote:</div><div><blockquot=
e type=3D=22cite=22><div><div dir=3D=22ltr=22>Thanks for the clarificatio=
n.&nbsp;<div><br></div><div><blockquote class=3D=22gmail=5Fquote=22 style=
=3D=22margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(=
204, 204, 204); padding-left: 1ex;=22>Sounds like a feature to me. Having=
 MUAs do insecure DNS lookups (which is what they=E2=80=99d probably do) =
and make misleading assertions about relay security (which couldn=E2=80=99=
t be made even if DNSSEC/HTTPS was employed to trust the STS information,=
 given that forwarding is in the infrastructure and all that). If you wan=
t to have MUAs make assertions, you=E2=80=99re moving in the direction of=
 the SMTP extension draft, and as Victor pointed out, the infrastructure =
is going to ignore even those assertions under some circumstances if that=
 were to deploy.</blockquote><div style=3D=22font-size: 15.2px;=22><block=
quote type=3D=22cite=22 style=3D=22font-size: 13px;=22><div dir=3D=22ltr=22=
></div></blockquote></div></div><div>I am (perhaps parochially) thinking =
mostly about webmail systems where the MUA and the sending MTA are mostly=
 the same piece of infrastructure. So my real goal is for the MTA to be a=
ble to tell the MUA at compose time that it has a policy for the recipien=
t domain and can guarantee certain behavior.&nbsp;</div></div></div></blo=
ckquote></div><p>Do you really think an end-user can understand what it m=
eans if the MTA will transport encrypt the next hop of mail relay but can=
 say nothing about relay hops after that or how the mail is handled by ei=
ther service provider=3F Perhaps I=E2=80=99m missing the motivation for d=
oing this, can you explain why this is useful=3F</p><div><div><blockquote=
 type=3D=22cite=22><div dir=3D=22ltr=22><div>In this context, I think hav=
ing policies be per-domain is important, but as you note, you could have =
a policy semantic which allows a single MX to communicate a domain-wide p=
olicy even with an in-band channel.&nbsp;</div><div><br><blockquote class=
=3D=22gmail=5Fquote=22 style=3D=22margin-left: 0.8ex; border-left-width: =
1px; border-left-color: rgb(204, 204, 204); padding-left: 1ex;=22>&gt; Yo=
ur suggestion, in that light, should be interpreted to say that<br>&gt; t=
he STS URI should be used to only secure the routing information<br>&gt; =
(security for MX records via HTTPS rather than DNSSEC), and that<br>&gt; =
once the routing information is secured, security policy for the<br>&gt; =
given relay be in-band via SMTP and modeled on DEEP.<br><br>Mostly yes. I=
=E2=80=99d also want to consider an optimization to skip the HTTPS step f=
or self-hosted domains just to reduce overall new traffic.</blockquote></=
div><div><br></div><div>To clarify a bit the individual steps needed, the=
n, it seems like you're proposing that given the following stages:</div><=
div><br></div><div>1. Routing information: What MX hostnames are expected=
</div><div>2. Authenticating the MX: Determining that the server TLS cert=
 matches</div><div>3. Policy: Ensuring the minimum level of transport-lay=
er encryption</div><div><br></div><div>You propose to put =231 in either =
DNSSEC or HTTPS (with an optimization to use in-channel in place of HTTPS=
 if the MX domain matches the email domain) and =232 and =233 in the SMTP=
 exchange=3F&nbsp;</div></div></blockquote></div><p>Basically right.</p><=
div><div><blockquote type=3D=22cite=22><div dir=3D=22ltr=22>But this does=
n't necessarily eliminate the extra DNS or HTTPS lookup (at least in the =
case where the MX domain does not match the email domain), right=3F You s=
till need to get the routing information somehow, and we're still trying =
to make this viable for domains that can't yet deploy DNSSEC. So in that =
light, you're proposing that all domains would need at least the SMTP in-=
band exchange and that some domains would also need step =231 to be done =
over HTTPS--meaning that sending domains would have to still support both=
 options, right=3F&nbsp;</div></blockquote></div><p>Presuming there is WG=
 rough consensus that use of HTTPS meets the cost/benefit cutoff when com=
pared to DNSSEC, then yes that is correct.</p><div><div><div><blockquote =
type=3D=22cite=22><div dir=3D=22ltr=22>I can see the appeal of doing much=
 of this in-band given that it's consistent with what DEEP proposes, but =
I'm still concerned that if we need&nbsp;<i>also</i>&nbsp;support out-of-=
band, we're just increasing complexity. What do you think=3F</div></block=
quote></div><p>As long as the only out-of-band is verification of routing=
 information and not policy, then I don=E2=80=99t see it as increasing co=
mplexity. Indeed it=E2=80=99s a somewhat more conservative approach to ar=
chitectural cost (trying to minimize use of extra packets and protocols w=
hen performing the core SMTP relay operation).</p><p>But I=E2=80=99ll adm=
it I have some experiential bias in that I=E2=80=99ve seen few DNS additi=
ons deploy effectively, and I=E2=80=99ve seen a bunch of SMTP extensions =
deploy effectively.</p><div>- Chris</div></div><div><br></div><div><block=
quote type=3D=22cite=22><div class=3D=22gmail=5Fextra=22><div class=3D=22=
gmail=5Fquote=22>On Mon, Apr 4, 2016 at 6:27 AM, Chris Newman&nbsp;<span =
dir=3D=22ltr=22>&lt;<a href=3D=22mailto:chris.newman=40oracle.com=22 targ=
et=3D=22=5Fblank=22>chris.newman=40oracle.com</a>&gt;</span>&nbsp;wrote:<=
br><blockquote class=3D=22gmail=5Fquote=22 style=3D=22margin-left: 0.8ex;=
 border-left-width: 1px; border-left-color: rgb(204, 204, 204); padding-l=
eft: 1ex;=22><div style=3D=22word-wrap: break-word;=22><div style=3D=22ma=
rgin: 0px;=22><span>On April 1, 2016 at 19:18:31 , Viktor Dukhovni (<a hr=
ef=3D=22mailto:ietf-dane=40dukhovni.org=22 target=3D=22=5Fblank=22>ietf-d=
ane=40dukhovni.org</a>) wrote:</span></div><div><blockquote type=3D=22cit=
e=22><span>On =46ri, Apr 01, 2016 at 06:48:00PM -0300, Chris Newman wrote=
:&nbsp;<br><br>&gt; I feel very strongly that policy for SMTP relay shoul=
d be advertised by&nbsp;<br>&gt; SMTP and protected by SMTP TLS. Doing an=
ything else creates a much larger&nbsp;<br>&gt; attack surface on the pol=
icy information and is both more complex and less&nbsp;<br>&gt; secure. T=
he preferred mechanism to sign SMTP relay routing (DNS MX) is&nbsp;<br>&g=
t; DNSSEC. I'm open to proposals for alternate mechanisms to sign MX reco=
rd&nbsp;<br>&gt; information due to the difficulty of deploying DNSSEC, b=
ut such mechanisms&nbsp;<br>&gt; should not be confused with security pol=
icy.&nbsp;<br><br>Unfortunately, in MTA-to-MTA SMTP, the receiving SMTP s=
erver has&nbsp;<br>no idea what domain the sending SMTP client wants to d=
eliver mail&nbsp;<br>to at the time that it advertises its ESMTP extensio=
ns in the EHLO&nbsp;<br>response.&nbsp;</span></blockquote></div><p>This =
correctly identifies a key difference between SMTP relay and SMTP submiss=
ion. I had missed this, thank you for raising it=21</p><p>=46or SMTP subm=
ission, there=E2=80=99s an early-indication of domain ownership from the =
mandatory user authentication (multi-domain hosting services tend to use =
email address as user name to get this benefit). =46or SMTP relay we have=
 no mechanism to indicate the intended domain so to handle the case of a =
multi-domain hosting service that offers different policies for different=
 domains we=E2=80=99d need to add a way to communicate intended domain ea=
rly. This can be done with an SMTP verb (adding a round trip) or by using=
 TLS ALPN or something similar (no new round trip).</p><div><div><blockqu=
ote type=3D=22cite=22><span>=46or this (and other related) reasons, in-ba=
nd SMTP security policy&nbsp;<br>can only be communicated for the given S=
MTP server, and not the&nbsp;<br>recipient domain.&nbsp;</span></blockquo=
te></div><p>I=E2=80=99m not convinced this is true. I=E2=80=99d like to h=
ear those other reasons.</p><div><div><blockquote type=3D=22cite=22><span=
>A relay MTA MUST NOT make any conclusions about recipient domain&nbsp;<b=
r>security based on security policy advertised by a particular MX&nbsp;<b=
r>host. An individual MX host cannot advertise security policy&nbsp;<br>(=
implicitly) for every single domain it happens to receive mail&nbsp;<br>f=
or, except for future relaying via that *same* MX host.</span></blockquot=
e></div><p>If the MX-from-DNS isn=E2=80=99t trusted, then no policy can b=
e trusted. But STS-from-DNS has the same issue.</p><div><div><blockquote =
type=3D=22cite=22><span>To secure SMTP relay traffic to a recipient domai=
n, the routing&nbsp;<br>needs to be secured by some means. STS (with sens=
ible modifications)&nbsp;<br>proposes doing so via an HTTPS well-known UR=
I associated with the&nbsp;<br>recipient domain. This is achieved via DNS=
-based signalling of&nbsp;<br>the existence of the STS well-known URI, an=
d likely DNS-based&nbsp;<br>signalling that a cached policy is stale and =
should be refreshed.&nbsp;<br><br>Your suggestion, in that light, should =
be interpreted to say that&nbsp;<br>the STS URI should be used to only se=
cure the routing information&nbsp;<br>(security for MX records via HTTPS =
rather than DNSSEC), and that&nbsp;<br>once the routing information is se=
cured, security policy for the&nbsp;<br>given relay be in-band via SMTP a=
nd modeled on DEEP.&nbsp;</span></blockquote></div><p>Mostly yes. I=E2=80=
=99d also want to consider an optimization to skip the HTTPS step for sel=
f-hosted domains just to reduce overall new traffic.</p><div><div><blockq=
uote type=3D=22cite=22><span>Note that consequently, a domain would be ab=
le to downgrade to a&nbsp;<br>non-TLS provider, by serving a routing-only=
 policy that references&nbsp;<br>new MX hosts that don't support a new re=
lay-MTA flavour of DEEP.&nbsp;</span></blockquote></div><p>We decide in t=
he specification whether the policy attaches to the domain or the SMTP ho=
stname. This is a design choice.</p><div><div><blockquote type=3D=22cite=22=
><span>Also, when a sending relay sees new MX RRs incompatible with a&nbs=
p;<br>cached routing policy, it would be able to refresh that policy,&nbs=
p;<br>(provided the well-known STS URI is still up and running) and&nbsp;=
<br>deliver via the subset of MX hosts that match the refreshed policy.&n=
bsp;</span></blockquote></div><p>This all follows from a conclusion I don=
=E2=80=99t agree with.</p><div><div><blockquote type=3D=22cite=22><span>=5B=
 MX hosts that don't match the policy MUST NOT be ignored when&nbsp;<br>d=
oing relay loop elimination. They would have to be treated&nbsp;<br>as th=
ough connections to them are failing, not as though they&nbsp;<br>weren't=
 part of the MX RRset. =5D&nbsp;</span></blockquote></div><p>Once policy =
is latched for a domain, any SMTP relay not complying with the policy is =
a failure. We=E2=80=99ll want to make sure we get the 4xx vs. 5xx rules r=
ight in the spec for this.</p></div></div></div></div></div></div></div><=
/blockquote></div></div>=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=
=5F=5F=5F=5F=5F&nbsp;<br>Uta mailing list&nbsp;<br><a href=3D=22mailto:Ut=
a=40ietf.org=22 target=3D=22=5Fblank=22>Uta=40ietf.org</a>&nbsp;<br><a hr=
ef=3D=22https://www.ietf.org/mailman/listinfo/uta=22 target=3D=22=5Fblank=
=22>https://www.ietf.org/mailman/listinfo/uta</a>&nbsp;<br></blockquote><=
br></div><br></div><br></div></div></div><div><br></div></div><br>=5F=5F=5F=
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F<br>Uta mailing =
list<br><a href=3D=22mailto:Uta=40ietf.org=22>Uta=40ietf.org</a><br><a hr=
ef=3D=22https://www.ietf.org/mailman/listinfo/uta=22 rel=3D=22noreferrer=22=
 target=3D=22=5Fblank=22>https://www.ietf.org/mailman/listinfo/uta</a><br=
><br></blockquote></div>=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=
=5F=5F=5F=5F=5F<span class=3D=22Apple-converted-space=22>&nbsp;</span><br=
>Uta mailing list<span class=3D=22Apple-converted-space=22>&nbsp;</span><=
br>Uta=40ietf.org<span class=3D=22Apple-converted-space=22>&nbsp;</span><=
br>https://www.ietf.org/mailman/listinfo/uta<span class=3D=22Apple-conver=
ted-space=22>&nbsp;</span><br></div></div></span></blockquote><br class=3D=
=22Apple-interchange-newline=22></div> <div id=3D=22bloop=5Fsign=5F145980=
1172850669824=22 class=3D=22bloop=5Fsign=22></div></body></html>=

--Boundary_(ID_lVE/VX7Sok+dGlEUqNqVoA)--


From nobody Mon Apr  4 13:40:30 2016
Return-Path: <azet@azet.org>
X-Original-To: uta@ietfa.amsl.com
Delivered-To: uta@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 392AE12D898 for <uta@ietfa.amsl.com>; Mon,  4 Apr 2016 13:40:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.7
X-Spam-Level: 
X-Spam-Status: No, score=-2.7 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=azet.org
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 blJPm3vSxdK4 for <uta@ietfa.amsl.com>; Mon,  4 Apr 2016 13:40:27 -0700 (PDT)
Received: from mail-lf0-x22c.google.com (mail-lf0-x22c.google.com [IPv6:2a00:1450:4010:c07::22c]) (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 151CE12D886 for <uta@ietf.org>; Mon,  4 Apr 2016 13:40:27 -0700 (PDT)
Received: by mail-lf0-x22c.google.com with SMTP id p188so161905978lfd.0 for <uta@ietf.org>; Mon, 04 Apr 2016 13:40:26 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=azet.org; s=gmail; h=subject:mime-version:from:in-reply-to:date:cc:message-id:references :to; bh=GPjPAL2LNYqKyge5WIv6U92x4GbtoH5GIOBzZA0+U8o=; b=ZicQQrCfaXWWd3MTVSJy6vEvLtDqLNqbkuZLH8GepDS2RXalDP+6l5LsqEyTe4yHG4 fl3MUDHpiKJLrHj47o1nAb4tBpGY3wbl11sbuWVQqQhelNRmIgZdx5yi9Tyuxba0IHwR tj36e2bmU/aEAFR17gIcqSC7v4uXvoAnuIgtM=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:mime-version:from:in-reply-to:date:cc :message-id:references:to; bh=GPjPAL2LNYqKyge5WIv6U92x4GbtoH5GIOBzZA0+U8o=; b=icQuXuEg2r7KJQY6Vw+6AN0hKSFpz3T0ZOf4bdLXYg5zlgpStyczvqoZFE8+SpyoHH 3TAzlAxPnHgkvn88NaxtV75PI4LPuVnA7rMDPNJUkv7QQOX28+0/RWwGsZ1yhMp524pJ 7Y0n+TbAUns8egATNNkP2kw1BxU0rAN3DE+EolwKdZDBK6h5RlFr8ydq2IxX9risKhFn pEwGrrBVxmJ98Xi49tDpErZiFoxrWrr3YvKNqLvQPr5Lxk6wQzHjCF/5QxXj0HLOLlfs tQhK1SUjCS4lKuvEw5FvrVbKAdDTMgMS4/VoqXmiGesSpvjBjTwQzUgx7witS/Yg4/X3 Jtvg==
X-Gm-Message-State: AD7BkJI1z3QUA6yveC24zB5YGeZ7t+sHpCdYSND04VCL+whBR8Q5jO6csx7c39cHP5TRLA==
X-Received: by 10.194.62.110 with SMTP id x14mr13531250wjr.68.1459802425237; Mon, 04 Apr 2016 13:40:25 -0700 (PDT)
Received: from aarons-macbook.home.azet.org (chello080108049181.14.11.vie.surfer.at. [80.108.49.181]) by smtp.gmail.com with ESMTPSA id 7sm15778229wmn.7.2016.04.04.13.40.21 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 04 Apr 2016 13:40:21 -0700 (PDT)
Mime-Version: 1.0 (Mac OS X Mail 9.2 \(3112\))
Content-Type: multipart/signed; boundary="Apple-Mail=_26653042-240F-4AAF-8F7A-4E56D9999F70"; protocol="application/pgp-signature"; micalg=pgp-sha512
X-Pgp-Agent: GPGMail 2.6b2
From: Aaron Zauner <azet@azet.org>
In-Reply-To: <CANtKdUe8nBKUezHRq4fFzkxGFHjWtkZQC8qzvWNfRWxUmB3WKA@mail.gmail.com>
Date: Mon, 4 Apr 2016 22:40:43 +0200
Message-Id: <586AD4BA-4EFC-45A4-BEB4-1CBF82D8FF43@azet.org>
References: <CAB0W=GS2PXF-divC+SNs+A-jH1-_BBA889-TbQXHvrVsrbKLEA@mail.gmail.com> <CAB0W=GSQ4oTLT+qepMi7Pj5=UmBD70D_uW7c193RY-gw818ORA@mail.gmail.com> <CAB0W=GRB_6LhqEGYzeYq-srnM99wqwZrdjUEm=vJ7+oFiKbYoA@mail.gmail.com> <CAB0W=GTGja5JtxGuCzhD6O3B2Ow-wLN-B6WQ8XUDyvQRqdFZxw@mail.gmail.com> <F78DA210-CD80-4403-A33D-E8A38A402ED9@azet.org> <20160404180128.7cb3c8bd65@718744a4e132f55> <CANtKdUe8nBKUezHRq4fFzkxGFHjWtkZQC8qzvWNfRWxUmB3WKA@mail.gmail.com>
To: Daniel Margolis <dmargolis@google.com>
X-Mailer: Apple Mail (2.3112)
Archived-At: <http://mailarchive.ietf.org/arch/msg/uta/Q-QfzS12bKESI2-5e2x-xund6ZE>
Cc: uta@ietf.org, "Orit Levin \(CELA\)" <oritl@microsoft.com>, Mark Risher <risher@google.com>
Subject: Re: [Uta] New proposal: SMTP Strict Transport Security
X-BeenThere: uta@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: UTA working group mailing list <uta.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/uta>, <mailto:uta-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/uta/>
List-Post: <mailto:uta@ietf.org>
List-Help: <mailto:uta-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/uta>, <mailto:uta-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 04 Apr 2016 20:40:29 -0000

--Apple-Mail=_26653042-240F-4AAF-8F7A-4E56D9999F70
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

Hi Daniel,

> On 04 Apr 2016, at 19:56, Daniel Margolis <dmargolis@google.com> =
wrote:
>=20
> It's been a long time since I looked at TACK, but if I remember right, =
doesn't this only help with the CA/trust issue?
>=20
> To me the big question with STS as is is how to exchange =
policy/routing information, which I believe is mostly unrelated to TACK, =
right? In fact STS is quite agnostic about how to determine if you trust =
the HTTPS certificate presented--I think TACK is potentially applicable =
there (as is Cert Transparency, though we also considered CT as a future =
option for publishing or discovering policy presence).
>=20
> Or am I totally misremembering what TACK does?

TACK is a pinning proposal primarily focused on HTTPS (but also =
considers other application layer protocols) client/server interaction. =
It's also almost three years old, uses old signature schemes et cetera. =
- It's not what I'd want to use right away. It's neither a standard nor =
has it been updated since it's inception back then. It needs =
considerable love, but would also work for server<->server =
transmissions. My thinking in the past revolved around an SMTP extension =
that indicates (updated, SMTP-)TACK use and may, additionally, contain =
arbitrary security information (similar to your policies) once =
authenticated.

The main properties that make building on TACK interesting for me are:
- Lifecycle-management / Key-rollover (no accidental lock-out as you may =
get with HPKP)
- No need for CA-signed certificates (fits well into the SMTPS domain)
- Ease of deployment
- Ease of maintenance (a good, automated implementation may do =
everything on it's own)

Given there're now multiple proposals for mail security, I think it =
would not be very constructive to write/publish a competing I-D for =
this.

Hmm. I haven't given any thought on how to best incorporate that into =
your STS proposal. Could you use it instead of the webpki authentication =
method and distribute TACK fingerprints via DNS?

w.r.t. Certificate Transparency: how do you see CT working for SMTP mail =
certificates? It's currently EV-only and more than 60% of MTAs are =
unsigned. Do you mean building on technology/hash-trees like CT?

Thanks for the feedback,
Aaron

--Apple-Mail=_26653042-240F-4AAF-8F7A-4E56D9999F70
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----

iQIcBAEBCgAGBQJXAtFMAAoJEOTbZJL9ubXV/lIP/iubdnaOg9nSM00PZ72BAs2+
G8XXRQS32T/1D+GHdV4QgHbcQqcLGSukU44lfeqn7XjxW1vCsjLlek9wM1suqBUf
e0mtUg2elZNk/l3c5g6VJltV/FLCpbKDpuK5a5ZhFDO7Zdkq2oc1slby+jskQYsk
2/9/IH7ZpUTZv7uni+BRlgJNrIBxPIcVVsd9FJe0fokgvclIemRNSyh58ZIlZLMK
2VrQOyJvJChQWh5eT6EqEPc6YGQLBCZzGrjhz52A4TG1VnSxtTkg9+v5yl8fIsF+
ETj3smSAXOnbkjAN8WGdVGe3MH/vUA1oWFD9SGe1pPG4R+uuXGzWKqwJmq3cSRqd
xnJymQllmUyIiHy5uE7fvIbplJ1Jg7DwpGBsezoGBd/sc3xKw/NJcHR8Wgc35T1/
GO2tfG4dbY/yapbnaG/xvJUPINot3NleAJqsZd4hlwH5LuH1+rbB7X4bWRWxzhQ4
MkWdwgAS1tWYH2/Xun131FpWTa0c+p8zvdS3ReXDJ+JG3PX1qvy3SC3eS0StiI/5
Zj0jJGXvOGKA1udQmFJUIiBHzi2YGQ3CmatxqRNXbDqDCfqxzbEG0Kchs5/6AA4G
X9RRP++7i2awkJ9KYXFcjLQ1byMcIuKTjKRE9j0zMdBRTl7vvVEEjXsH0mYsApOy
0Rn2aYr/CNEjZtYKtJJA
=iPBn
-----END PGP SIGNATURE-----

--Apple-Mail=_26653042-240F-4AAF-8F7A-4E56D9999F70--


From nobody Mon Apr  4 14:50:00 2016
Return-Path: <risher@google.com>
X-Original-To: uta@ietfa.amsl.com
Delivered-To: uta@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3889E12D8B9 for <uta@ietfa.amsl.com>; Mon,  4 Apr 2016 14:49:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.71
X-Spam-Level: 
X-Spam-Status: No, score=-2.71 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=google.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 RMopo3OEoHa1 for <uta@ietfa.amsl.com>; Mon,  4 Apr 2016 14:49:56 -0700 (PDT)
Received: from mail-vk0-x232.google.com (mail-vk0-x232.google.com [IPv6:2607:f8b0:400c:c05::232]) (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 C13D312D711 for <uta@ietf.org>; Mon,  4 Apr 2016 14:49:55 -0700 (PDT)
Received: by mail-vk0-x232.google.com with SMTP id c4so72836744vkb.3 for <uta@ietf.org>; Mon, 04 Apr 2016 14:49:55 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=lTVrNsY37mHwRlgVdXrn3PoveqcwLlWYC/0irNu25Jw=; b=X04vQxGdYdhSrZ7ahZM58laV/Vukttx0+nBYAq+AEtqBCKb9xcrJ84nAKC2iYtNTA5 0tpINIa9HhjVwqHCh+pA7ofHpU/1atvREv8SLwslqNH26nWYIZObmbshySTiJRX+zVXJ 7JImYUUVohHxCUiqBNPAabnFW/LG+UCtHdk4saVn7L67m4H0J/MJ5UlquqY63saRUNY5 MKiGQX7qvlcx7OFqQehEuhQ7bJxZQNUQdScOTk5iDPCFkwLW3LKx8TypSKN3R+BmLhZh k2eETSQIPmBUVmwzanmkPlFA26g9U45kby9YQCrJ0BmLHgMmiUgOavw2R//YjM+82fUy OdUw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=lTVrNsY37mHwRlgVdXrn3PoveqcwLlWYC/0irNu25Jw=; b=RmAxphSwvC67D9jVjotNnnZ2X+NtkTBmhUNurHxS1t0/JJnvZeLCn/DAZub3DU2U7M NsoZNITdcAyBTG4gw7d4mo5vwYc+4js/NJyylRyP9pvdziRWApkrAhSvIQnyXZXGgxGj daIXOuSuHrsgxzk3cXX68CAPLouUaW9uiMYDOOo8hDRoMemVeyd2o8lemMycxPHFh/xh N6Du0GtmVx7S5oRIgfjxCSbJNmX0anlV1EtYJRrCJtDPRY9aGnHJFaVRBuNYw+24ePXq +l6IBkYCEYjaWJmKvCOSeD52i79wyKXOxjH4RUG5x5Szrod9jwbKTZzJ8D5PuQ0osEYt 3pQQ==
X-Gm-Message-State: AD7BkJIZ/N2hFINZUwuteOpU/UHluQqGHJ8mUO3KBLYEvdDIOTzqxxagZAYafVF0kPcFTuFfFxahLpiyxDWJo4cb
MIME-Version: 1.0
X-Received: by 10.31.32.83 with SMTP id g80mr2408443vkg.126.1459806594691; Mon, 04 Apr 2016 14:49:54 -0700 (PDT)
Received: by 10.176.3.198 with HTTP; Mon, 4 Apr 2016 14:49:54 -0700 (PDT)
In-Reply-To: <586AD4BA-4EFC-45A4-BEB4-1CBF82D8FF43@azet.org>
References: <CAB0W=GS2PXF-divC+SNs+A-jH1-_BBA889-TbQXHvrVsrbKLEA@mail.gmail.com> <CAB0W=GSQ4oTLT+qepMi7Pj5=UmBD70D_uW7c193RY-gw818ORA@mail.gmail.com> <CAB0W=GRB_6LhqEGYzeYq-srnM99wqwZrdjUEm=vJ7+oFiKbYoA@mail.gmail.com> <CAB0W=GTGja5JtxGuCzhD6O3B2Ow-wLN-B6WQ8XUDyvQRqdFZxw@mail.gmail.com> <F78DA210-CD80-4403-A33D-E8A38A402ED9@azet.org> <20160404180128.7cb3c8bd65@718744a4e132f55> <CANtKdUe8nBKUezHRq4fFzkxGFHjWtkZQC8qzvWNfRWxUmB3WKA@mail.gmail.com> <586AD4BA-4EFC-45A4-BEB4-1CBF82D8FF43@azet.org>
Date: Mon, 4 Apr 2016 18:49:54 -0300
Message-ID: <CAB0W=GQ=Mm6sGgN_jb+6ekveK43a=Ue+n5yPQpRvmdjUosr6GQ@mail.gmail.com>
From: Mark Risher <risher@google.com>
To: Aaron Zauner <azet@azet.org>
Content-Type: multipart/alternative; boundary=001a11c00d8c84f44b052fafb584
Archived-At: <http://mailarchive.ietf.org/arch/msg/uta/RY-lfjUyITreCLwFzvg9lsLg3-c>
Cc: uta@ietf.org, "Orit Levin \(CELA\)" <oritl@microsoft.com>, Daniel Margolis <dmargolis@google.com>
Subject: Re: [Uta] New proposal: SMTP Strict Transport Security
X-BeenThere: uta@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: UTA working group mailing list <uta.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/uta>, <mailto:uta-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/uta/>
List-Post: <mailto:uta@ietf.org>
List-Help: <mailto:uta-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/uta>, <mailto:uta-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 04 Apr 2016 21:49:58 -0000

--001a11c00d8c84f44b052fafb584
Content-Type: text/plain; charset=UTF-8

>> EFF is currently picking up STARTTLS-Everywhere again (mind: it's been
idle since before Let's Encrypt, a lot of new proposals like this one for
mail came out - so the project, scope and even it's name are subject to
change in the near future).

This is cool. How far along is it? One issue we ran into with
STARTTLS-Everywhere was where it would be hosted.

>> One idea I had was to provide anonymised log information regarding
TLS-failures / MITM attempts to distributed monitoring servers and the
receiving party. If there were a more general document for error-reporting
(as some suggested) - we could maybe make use of that as well. If it
requires every small mail-OP to set up a webserver on the same machine,
it's unlikely that we can push for that, and adoption number might turn out
low.

This is similar to what we were discussing with Certificate Transparency,
i.e. some sort of append-only log for policies published and policies
discovered.

>> w.r.t. Certificate Transparency: how do you see CT working for SMTP mail
certificates? It's currently EV-only and more than 60% of MTAs are
unsigned. Do you mean building on technology/hash-trees like CT?

More like the latter. We've been discussing with the CT folks how it could
be extended for DV certs, what extensions would be needed, and whether to
allow self-signed. We moved that to "Future Work" so as not to derail the
short-term, and because someone recommended against writing a draft that
depends on another draft, but it remains an interesting alternative
solution to the cryptographically-secure distributed hashtable problem.

/m





--
Mark E. Risher |  Group Product Manager |  risher@google.com |  650-253-3123

On Mon, Apr 4, 2016 at 5:40 PM, Aaron Zauner <azet@azet.org> wrote:

> Hi Daniel,
>
> > On 04 Apr 2016, at 19:56, Daniel Margolis <dmargolis@google.com> wrote:
> >
> > It's been a long time since I looked at TACK, but if I remember right,
> doesn't this only help with the CA/trust issue?
> >
> > To me the big question with STS as is is how to exchange policy/routing
> information, which I believe is mostly unrelated to TACK, right? In fact
> STS is quite agnostic about how to determine if you trust the HTTPS
> certificate presented--I think TACK is potentially applicable there (as is
> Cert Transparency, though we also considered CT as a future option for
> publishing or discovering policy presence).
> >
> > Or am I totally misremembering what TACK does?
>
> TACK is a pinning proposal primarily focused on HTTPS (but also considers
> other application layer protocols) client/server interaction. It's also
> almost three years old, uses old signature schemes et cetera. - It's not
> what I'd want to use right away. It's neither a standard nor has it been
> updated since it's inception back then. It needs considerable love, but
> would also work for server<->server transmissions. My thinking in the past
> revolved around an SMTP extension that indicates (updated, SMTP-)TACK use
> and may, additionally, contain arbitrary security information (similar to
> your policies) once authenticated.
>
> The main properties that make building on TACK interesting for me are:
> - Lifecycle-management / Key-rollover (no accidental lock-out as you may
> get with HPKP)
> - No need for CA-signed certificates (fits well into the SMTPS domain)
> - Ease of deployment
> - Ease of maintenance (a good, automated implementation may do everything
> on it's own)
>
> Given there're now multiple proposals for mail security, I think it would
> not be very constructive to write/publish a competing I-D for this.
>
> Hmm. I haven't given any thought on how to best incorporate that into your
> STS proposal. Could you use it instead of the webpki authentication method
> and distribute TACK fingerprints via DNS?
>
> w.r.t. Certificate Transparency: how do you see CT working for SMTP mail
> certificates? It's currently EV-only and more than 60% of MTAs are
> unsigned. Do you mean building on technology/hash-trees like CT?
>
> Thanks for the feedback,
> Aaron
>

--001a11c00d8c84f44b052fafb584
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><span style=3D"font-size:12.8px">&gt;&gt; EFF is currently=
 picking up STARTTLS-Everywhere again (mind: it&#39;s been idle since befor=
e Let&#39;s Encrypt, a lot of new proposals like this one for mail came out=
 - so the project, scope and even it&#39;s name are subject to change in th=
e near future).=C2=A0</span><div><span style=3D"font-size:12.8px"><br></spa=
n></div><div><span style=3D"font-size:12.8px">This is cool. How far along i=
s it? One issue we ran into with STARTTLS-Everywhere was where it would be =
hosted.</span></div><div><span style=3D"font-size:12.8px"><br></span></div>=
<div><span style=3D"font-size:12.8px">&gt;&gt; One idea I had was to provid=
e anonymised log information regarding TLS-failures / MITM attempts to dist=
ributed monitoring servers and the receiving party. If there were a more ge=
neral document for error-reporting (as some suggested) - we could maybe mak=
e use of that as well. If it requires every small mail-OP to set up a webse=
rver on the same machine, it&#39;s unlikely that we can push for that, and =
adoption number might turn out low.</span><br></div><div><span style=3D"fon=
t-size:12.8px"><br></span></div><div><span style=3D"font-size:12.8px">This =
is similar to what we were discussing with Certificate Transparency, i.e. s=
ome sort of append-only log for policies published and policies discovered.=
=C2=A0</span></div><div><span style=3D"font-size:12.8px"><br></span></div><=
div><span style=3D"font-size:12.8px">&gt;&gt; w.r.t. Certificate Transparen=
cy: how do you see CT working for SMTP mail certificates? It&#39;s currentl=
y EV-only and more than 60% of MTAs are unsigned. Do you mean building on t=
echnology/hash-trees like CT?</span><span style=3D"font-size:12.8px"><br></=
span></div><div><span style=3D"font-size:12.8px"><br></span></div><div><spa=
n style=3D"font-size:12.8px">More like the latter. We&#39;ve been discussin=
g with the CT folks how it could be extended for DV certs, what extensions =
would be needed, and whether to allow self-signed. We moved that to &quot;F=
uture Work&quot; so as not to derail the short-term, and because someone re=
commended against writing a draft that depends on another draft, but it rem=
ains an interesting alternative solution to the cryptographically-secure di=
stributed hashtable problem.</span></div><div><span style=3D"font-size:12.8=
px"><br></span></div><div><span style=3D"font-size:12.8px">/m</span></div><=
div><span style=3D"font-size:12.8px"><br></span></div><div><span style=3D"f=
ont-size:12.8px"><br></span></div></div><div class=3D"gmail_extra"><br clea=
r=3D"all"><div><div class=3D"gmail_signature"><div dir=3D"ltr"><div><br></d=
iv><div><br></div>--<br style=3D"color:rgb(80,0,80)"><div dir=3D"ltr" style=
=3D"color:rgb(80,0,80)"><table cellspacing=3D"0" cellpadding=3D"0" style=3D=
"color:rgb(136,136,136)"><tbody><tr style=3D"color:rgb(85,85,85);font-famil=
y:sans-serif;font-size:small"><td nowrap style=3D"border-top-style:solid;bo=
rder-top-color:rgb(213,15,37);border-top-width:2px">Mark E. Risher |</td><t=
d nowrap style=3D"border-top-style:solid;border-top-color:rgb(51,105,232);b=
order-top-width:2px">=C2=A0Group Product Manager |</td><td nowrap style=3D"=
border-top-style:solid;border-top-color:rgb(0,153,57);border-top-width:2px"=
>=C2=A0<a href=3D"mailto:risher@google.com" style=3D"color:rgb(17,85,204)" =
target=3D"_blank">risher@google.com</a>=C2=A0|</td><td nowrap style=3D"bord=
er-top-style:solid;border-top-color:rgb(238,178,17);border-top-width:2px">=
=C2=A0<a value=3D"+13109201977" style=3D"color:rgb(17,85,204)">650-253-3123=
</a></td></tr></tbody></table></div></div></div></div>
<br><div class=3D"gmail_quote">On Mon, Apr 4, 2016 at 5:40 PM, Aaron Zauner=
 <span dir=3D"ltr">&lt;<a href=3D"mailto:azet@azet.org" target=3D"_blank">a=
zet@azet.org</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" sty=
le=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Dan=
iel,<br>
<span class=3D""><br>
&gt; On 04 Apr 2016, at 19:56, Daniel Margolis &lt;<a href=3D"mailto:dmargo=
lis@google.com">dmargolis@google.com</a>&gt; wrote:<br>
&gt;<br>
&gt; It&#39;s been a long time since I looked at TACK, but if I remember ri=
ght, doesn&#39;t this only help with the CA/trust issue?<br>
&gt;<br>
&gt; To me the big question with STS as is is how to exchange policy/routin=
g information, which I believe is mostly unrelated to TACK, right? In fact =
STS is quite agnostic about how to determine if you trust the HTTPS certifi=
cate presented--I think TACK is potentially applicable there (as is Cert Tr=
ansparency, though we also considered CT as a future option for publishing =
or discovering policy presence).<br>
&gt;<br>
&gt; Or am I totally misremembering what TACK does?<br>
<br>
</span>TACK is a pinning proposal primarily focused on HTTPS (but also cons=
iders other application layer protocols) client/server interaction. It&#39;=
s also almost three years old, uses old signature schemes et cetera. - It&#=
39;s not what I&#39;d want to use right away. It&#39;s neither a standard n=
or has it been updated since it&#39;s inception back then. It needs conside=
rable love, but would also work for server&lt;-&gt;server transmissions. My=
 thinking in the past revolved around an SMTP extension that indicates (upd=
ated, SMTP-)TACK use and may, additionally, contain arbitrary security info=
rmation (similar to your policies) once authenticated.<br>
<br>
The main properties that make building on TACK interesting for me are:<br>
- Lifecycle-management / Key-rollover (no accidental lock-out as you may ge=
t with HPKP)<br>
- No need for CA-signed certificates (fits well into the SMTPS domain)<br>
- Ease of deployment<br>
- Ease of maintenance (a good, automated implementation may do everything o=
n it&#39;s own)<br>
<br>
Given there&#39;re now multiple proposals for mail security, I think it wou=
ld not be very constructive to write/publish a competing I-D for this.<br>
<br>
Hmm. I haven&#39;t given any thought on how to best incorporate that into y=
our STS proposal. Could you use it instead of the webpki authentication met=
hod and distribute TACK fingerprints via DNS?<br>
<br>
w.r.t. Certificate Transparency: how do you see CT working for SMTP mail ce=
rtificates? It&#39;s currently EV-only and more than 60% of MTAs are unsign=
ed. Do you mean building on technology/hash-trees like CT?<br>
<br>
Thanks for the feedback,<br>
Aaron<br>
</blockquote></div><br></div>

--001a11c00d8c84f44b052fafb584--


From nobody Mon Apr  4 15:25:30 2016
Return-Path: <azet@azet.org>
X-Original-To: uta@ietfa.amsl.com
Delivered-To: uta@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 32F3012D8CC for <uta@ietfa.amsl.com>; Mon,  4 Apr 2016 15:25:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.7
X-Spam-Level: 
X-Spam-Status: No, score=-2.7 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=azet.org
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 tIsLSGfvjKxW for <uta@ietfa.amsl.com>; Mon,  4 Apr 2016 15:25:27 -0700 (PDT)
Received: from mail-lf0-x22d.google.com (mail-lf0-x22d.google.com [IPv6:2a00:1450:4010:c07::22d]) (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 66ED712D85F for <uta@ietf.org>; Mon,  4 Apr 2016 15:25:27 -0700 (PDT)
Received: by mail-lf0-x22d.google.com with SMTP id c126so73496920lfb.2 for <uta@ietf.org>; Mon, 04 Apr 2016 15:25:27 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=azet.org; s=gmail; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=hsDjkm67cEFZ+G4S0Wey+oGRzoczHje/kH3tDQ0zp1A=; b=fbpMFB+mY8BmO+8OhUfZ0qxOFVEKGi70h8ysfsTCp8MYQWAeFtY1DQkNLh1auZISqo hAA1SDib9vrp29zBKIN/+vKiXI8sCF1ZCZzibdd8f+Tpey82xE5wJ7K4tjy57habzDQM cqFmOLvbP65yzWG+dGwiwes7LGUwddRwfjgGg=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=hsDjkm67cEFZ+G4S0Wey+oGRzoczHje/kH3tDQ0zp1A=; b=VhtVKl5982FKLfRMp2KpHo41NtG84yuWfUWe2eqptIgywwfB3Y5+LsWH1fkk4/aRTA 7prakUGLqjlwJ7SKYzmTXKLeDID5cX5Z9CrA8XTkXXeUNwfkYL27aALTAwXGPf3HcEao E29uELFItTZJ9WkkQ8+A8zfg3kgp/vhL4k9iZqnzvcEnmk1Exw9rfijXHC0KxWuD+WuL QucpeQKQG8xp9SMHKwTVeWyLhzHDeTeLOwZ92psyB48kpSAdUjLQYSXFVXQ8gP55xGCC TVJksk1LOFpIhA3HxwQQYrryFOaa6cutLQVi+laRXX07EOgxnZSaaGzNS8Hs3i3jwCGx GJEw==
X-Gm-Message-State: AD7BkJJKdN6gagaORe3h46Dnkv0ab4FagtsV158s2jLgwMQJliURNuk5D7W7WWOKV9JQ2A==
X-Received: by 10.194.77.15 with SMTP id o15mr26643568wjw.41.1459808725564; Mon, 04 Apr 2016 15:25:25 -0700 (PDT)
Received: from typhoon.azet.org (chello080108049181.14.11.vie.surfer.at. [80.108.49.181]) by smtp.gmail.com with ESMTPSA id w8sm31237964wjf.19.2016.04.04.15.25.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 04 Apr 2016 15:25:23 -0700 (PDT)
Date: Tue, 5 Apr 2016 00:25:21 +0200
From: Aaron Zauner <azet@azet.org>
To: Mark Risher <risher@google.com>
Message-ID: <20160405002118.6f7bb0b274@8da9a8ad15f2049>
References: <CAB0W=GS2PXF-divC+SNs+A-jH1-_BBA889-TbQXHvrVsrbKLEA@mail.gmail.com> <CAB0W=GSQ4oTLT+qepMi7Pj5=UmBD70D_uW7c193RY-gw818ORA@mail.gmail.com> <CAB0W=GRB_6LhqEGYzeYq-srnM99wqwZrdjUEm=vJ7+oFiKbYoA@mail.gmail.com> <CAB0W=GTGja5JtxGuCzhD6O3B2Ow-wLN-B6WQ8XUDyvQRqdFZxw@mail.gmail.com> <F78DA210-CD80-4403-A33D-E8A38A402ED9@azet.org> <20160404180128.7cb3c8bd65@718744a4e132f55> <CANtKdUe8nBKUezHRq4fFzkxGFHjWtkZQC8qzvWNfRWxUmB3WKA@mail.gmail.com> <586AD4BA-4EFC-45A4-BEB4-1CBF82D8FF43@azet.org> <CAB0W=GQ=Mm6sGgN_jb+6ekveK43a=Ue+n5yPQpRvmdjUosr6GQ@mail.gmail.com>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="OgqxwSJOaUobr8KG"
Content-Disposition: inline
In-Reply-To: <CAB0W=GQ=Mm6sGgN_jb+6ekveK43a=Ue+n5yPQpRvmdjUosr6GQ@mail.gmail.com>
User-Agent: Mutt/1.5.23 (2014-03-12)
Archived-At: <http://mailarchive.ietf.org/arch/msg/uta/0OJjugN3V5J4WduDYTut79soDwI>
Cc: uta@ietf.org, "Orit Levin \(CELA\)" <oritl@microsoft.com>, Daniel Margolis <dmargolis@google.com>
Subject: Re: [Uta] New proposal: SMTP Strict Transport Security
X-BeenThere: uta@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: UTA working group mailing list <uta.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/uta>, <mailto:uta-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/uta/>
List-Post: <mailto:uta@ietf.org>
List-Help: <mailto:uta-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/uta>, <mailto:uta-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 04 Apr 2016 22:25:29 -0000

--OgqxwSJOaUobr8KG
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline

Hey Mark,

* Mark Risher <risher@google.com> [04/04/2016 23:49:55] wrote:
> This is cool. How far along is it? One issue we ran into with
> STARTTLS-Everywhere was where it would be hosted.

We're just starting (April). We've had a few video-calls that were a
mix of organizing and hackathon fixing trivial open issues, PRs and
reading up/documenting on what's changed TLS-wise in mail daemon
software over the years. I'll start working considerably more on the
project this month, hopefully we'll have more to show in the near
future.

> This is similar to what we were discussing with Certificate
> Transparency,
> i.e. some sort of append-only log for policies published and
> policies
> discovered.

I was actually also thinking of distributed append-only logs. I'm
open to collaborate on that, would be very useful to us. git has
been suggested as a (maybe temporary) distribution platform, but
I'd prefer a solid design with distributed append-only logs.

> More like the latter. We've been discussing with the CT folks how
> it could
> be extended for DV certs, what extensions would be needed, and
> whether to
> allow self-signed. We moved that to "Future Work" so as not to
> derail the
> short-term, and because someone recommended against writing a
> draft that
> depends on another draft, but it remains an interesting
> alternative
> solution to the cryptographically-secure distributed hashtable
> problem.

Yes, very interesting. Please keep me in the loop if that's OK with
you guys, might also be something that should (for now) be discussed
off-list?

The STS suggested error-reporting feature is something that makes
sense as a seperate draft, as others could use it for different/
augmented data as well if spec'd in the right way. I'm open to
collaborate and will have (finally!) more time for all that email
related stuff now.

Thanks,
Aaron

--OgqxwSJOaUobr8KG
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature

-----BEGIN PGP SIGNATURE-----

iQIcBAEBCgAGBQJXAunOAAoJEOTbZJL9ubXVqy0P/3CtwoXbN1pRGy97uOOctaCK
FYzO4vM0cFzhWz9aXy026fzRBbmCKRdDUh8jFQHmvEw5VARH7QVBQpwlC53TemYN
0276mjgFbxrRDpk7Kzkj57tEtpTyfeAb6/gTxy3Ud05NNit8FW3S5KT+b9Bsdg+g
+OnyNtc2b+M+yRbn5zzWCDFpKYSOzeiz17IST9CMI7smzDQj5mwGTO1Mm3tEW+Gb
2YK4qdJ8H8YpWBhvha+L+Jd7kvGxwk5D+E9DlkQ4MESq9U3+wQfj8dabAQ//Qd/u
5X6hkw0LQ3epqRLW2VxSFbrEQXlCpEN1pv5L/fDYBEtbANBs6CCUdJaqGInCqTbA
jFMocTxSIkqeGoF6NxPNtPTKMFOseCX3D3fv9IazCDKj2JgkgvAfwhy/1hvw+/Cx
eEU9PZQ1TJYnNha/vgDBppekvZvWyjJjR06skpzcYitUbyR5DdOlk/okYroRXUSk
jREY/GvMXIrVVHwV/PGk1JxXBDxAhodTT5cqDWMPysSb1zrUwusMN/FKyLxJXQEC
UZRuVauIVqYfVvEhgSpUgeoejJJGBrTHon/oJMsakuBh1eGj5DWzXHMkib8v9wc2
M/6rd/xvB12EurS0XgHVkreGrYoVSIxeRcFiYgKudhkvvV8XC6tSDK4eLXgstinB
0DVBGURMCHoKr4/aIYG+
=Bl9q
-----END PGP SIGNATURE-----

--OgqxwSJOaUobr8KG--


From nobody Mon Apr  4 16:35:22 2016
Return-Path: <ietf-dane@dukhovni.org>
X-Original-To: uta@ietfa.amsl.com
Delivered-To: uta@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B6E3B12D645 for <uta@ietfa.amsl.com>; Mon,  4 Apr 2016 16:35:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001] 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 ORmzN4bpMAdy for <uta@ietfa.amsl.com>; Mon,  4 Apr 2016 16:35:20 -0700 (PDT)
Received: from mournblade.imrryr.org (mournblade.imrryr.org [38.117.134.19]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1B1A312D878 for <uta@ietf.org>; Mon,  4 Apr 2016 16:35:19 -0700 (PDT)
Received: by mournblade.imrryr.org (Postfix, from userid 1034) id D06F6284E1F; Mon,  4 Apr 2016 23:35:18 +0000 (UTC)
Date: Mon, 4 Apr 2016 23:35:18 +0000
From: Viktor Dukhovni <ietf-dane@dukhovni.org>
To: uta@ietf.org
Message-ID: <20160404233518.GC26423@mournblade.imrryr.org>
References: <CAB0W=GS2PXF-divC+SNs+A-jH1-_BBA889-TbQXHvrVsrbKLEA@mail.gmail.com> <CAB0W=GSQ4oTLT+qepMi7Pj5=UmBD70D_uW7c193RY-gw818ORA@mail.gmail.com> <CAB0W=GRB_6LhqEGYzeYq-srnM99wqwZrdjUEm=vJ7+oFiKbYoA@mail.gmail.com> <CAB0W=GTGja5JtxGuCzhD6O3B2Ow-wLN-B6WQ8XUDyvQRqdFZxw@mail.gmail.com> <F78DA210-CD80-4403-A33D-E8A38A402ED9@azet.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <F78DA210-CD80-4403-A33D-E8A38A402ED9@azet.org>
User-Agent: Mutt/1.5.24 (2015-08-30)
Archived-At: <http://mailarchive.ietf.org/arch/msg/uta/hAMMYMB6rrVb74bZ28NpJPRKk0o>
Subject: Re: [Uta] New proposal: SMTP Strict Transport Security
X-BeenThere: uta@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
Reply-To: uta@ietf.org
List-Id: UTA working group mailing list <uta.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/uta>, <mailto:uta-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/uta/>
List-Post: <mailto:uta@ietf.org>
List-Help: <mailto:uta-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/uta>, <mailto:uta-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 04 Apr 2016 23:35:21 -0000

On Mon, Apr 04, 2016 at 05:24:59PM +0200, Aaron Zauner wrote:

> As for authentication/TOFU: I see no better proposal than TACK around.

I was briefly interested in TACK for SMTP before I started work on
DANE 2 years ago, but gave up after realizing that TACK cannot
protect the MX records.  Without protecting the MX records you get
no active attack protection.

STS proposes to validate MX records (MX host patterns) via HTTPS,
at which point one can consider various mechanisms for authenticating
the credentials of the validated MX hosts.  

Are you proposing TACK without WebPKI for the STS HTTPS URL or
WebPKI + TACK pins?  Note also that secondary MX hosts are rarely
used so senders will often lack prior contact with these, but an
attacker can block access to the primary MX, at which point you
get cold-start with a secondary MX (reducing TACK to WebPKI).

-- 
	Viktor.


From nobody Mon Apr  4 17:06:21 2016
Return-Path: <azet@azet.org>
X-Original-To: uta@ietfa.amsl.com
Delivered-To: uta@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 616FE12D146 for <uta@ietfa.amsl.com>; Mon,  4 Apr 2016 17:06:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.7
X-Spam-Level: 
X-Spam-Status: No, score=-2.7 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=azet.org
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 tavlCHCpJltP for <uta@ietfa.amsl.com>; Mon,  4 Apr 2016 17:06:18 -0700 (PDT)
Received: from mail-wm0-x231.google.com (mail-wm0-x231.google.com [IPv6:2a00:1450:400c:c09::231]) (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 95F2D12D138 for <uta@ietf.org>; Mon,  4 Apr 2016 17:06:18 -0700 (PDT)
Received: by mail-wm0-x231.google.com with SMTP id l6so1617451wml.1 for <uta@ietf.org>; Mon, 04 Apr 2016 17:06:18 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=azet.org; s=gmail; h=subject:mime-version:from:in-reply-to:date:cc:message-id:references :to; bh=1E1FvoNwRoK+VsPuryX7sYn0Zz5nW/mRo6+cnI/sAZA=; b=QsATS5K0mqa/83yEDaYv+GHxwGtZEMt4poYzfYvCc/gQqR+Dup/iq8kqPzWZgZFPtn GTinzI0hreesVeJ5R0y7uGWW6TjrMiaFLkzbrkf2WSkiWMpwX+eu/b4gc5wNUFDjHVr+ ZAt6o7SCGR3Mf38lJ6rnBRVbW07IQI1FchOj0=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:mime-version:from:in-reply-to:date:cc :message-id:references:to; bh=1E1FvoNwRoK+VsPuryX7sYn0Zz5nW/mRo6+cnI/sAZA=; b=Cja2UcYKLoFPCaBRlZYW+VFwtvou8pPD/gJHHdW+27oSwDqxaMgR+5Jx88+HO02n7s Q7rizfX2AHXaaN4HR+oDpA5xGShWxYvBn46yQJs7YVyxov9pDEp0raH+y8s0XiOTjNjb HwfcxmUwP8S3mifca1UWQlI4OL8wgZr9AcHM4aDNMNzBCMHe54ejGOQszr+O99Mc2hZy bQVvW597ExuKR3Ie0ZDhZ/h9UcKxI2AnCteMqFf0Nl83IrVam5uqZ+RvcrM9YueWA0n0 OLSXQGsHW8vJq3pdKwlULSHaDHB9zJg5FhlIY+Rktjs8tXyrlW6HMpx3MYKRLSVjGPGl +82g==
X-Gm-Message-State: AD7BkJKjxrfuabN4/WYLtHWVq3RgAxGVbm1koMODOEumLag/CslqywWLGwKPjtT0CS5Ehg==
X-Received: by 10.194.144.10 with SMTP id si10mr14014537wjb.180.1459814777041;  Mon, 04 Apr 2016 17:06:17 -0700 (PDT)
Received: from aarons-macbook.home.azet.org (chello080108049181.14.11.vie.surfer.at. [80.108.49.181]) by smtp.gmail.com with ESMTPSA id 20sm16533696wmv.4.2016.04.04.17.06.15 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 04 Apr 2016 17:06:15 -0700 (PDT)
Mime-Version: 1.0 (Mac OS X Mail 9.2 \(3112\))
Content-Type: multipart/signed; boundary="Apple-Mail=_20227949-172B-4845-BB40-EF1B5E271A44"; protocol="application/pgp-signature"; micalg=pgp-sha512
X-Pgp-Agent: GPGMail 2.6b2
From: Aaron Zauner <azet@azet.org>
In-Reply-To: <1570673069.2008767.1459813453573.JavaMail.yahoo@mail.yahoo.com>
Date: Tue, 5 Apr 2016 02:06:37 +0200
Message-Id: <835BFD7B-B8F1-43CD-8E6B-AC474E9A1741@azet.org>
References: <20160405002118.6f7bb0b274@8da9a8ad15f2049> <1570673069.2008767.1459813453573.JavaMail.yahoo@mail.yahoo.com>
To: Binu Ramakrishnan <prbinu@yahoo.com>
X-Mailer: Apple Mail (2.3112)
Archived-At: <http://mailarchive.ietf.org/arch/msg/uta/BC0Uvw3-qoOHmIBjjmwPwR8Hxns>
Cc: "uta@ietf.org" <uta@ietf.org>, "Orit Levin \(CELA\)" <oritl@microsoft.com>, Mark Risher <risher@google.com>, Daniel Margolis <dmargolis@google.com>
Subject: Re: [Uta] New proposal: SMTP Strict Transport Security
X-BeenThere: uta@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: UTA working group mailing list <uta.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/uta>, <mailto:uta-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/uta/>
List-Post: <mailto:uta@ietf.org>
List-Help: <mailto:uta-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/uta>, <mailto:uta-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 05 Apr 2016 00:06:20 -0000

--Apple-Mail=_20227949-172B-4845-BB40-EF1B5E271A44
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

Hi,

> On 05 Apr 2016, at 01:44, Binu Ramakrishnan <prbinu@yahoo.com> wrote:
>=20
> Aaron,
>=20
> Whether we use Git to distribute policies or use CT append logs, we =
still need to pull policies using HTTPS (or something similar). =46rom =
that perspective, STS's webpki model is not different. If you are =
talking about TACK, based on my understanding it is not suitable for =
SMTP MTAs. The fundamental issue is that a secure in-band policy =
distribution is difficult in such environments because of MX =
indirection.

Could you go a bit into what you consider "mx indirection" and where you =
see problems there? e.g. a specific problem statement. I'm not sure I =
follow.

>=20
> > The main properties that make building on TACK interesting for me =
are:
> > - Lifecycle-management / Key-rollover (no accidental lock-out as you =
may get with HPKP)
> This may not even a differentiator.

I don't follow?

>=20
> - No need for CA-signed certificates (fits well into the SMTPS domain)
> How the trust is establised without DNSSEC or PKIX?

It's a TOFU model. So you establish trust on first use / flight. =46rom =
thereon you have pins. See above w.r.t. roll-over.

>=20
> > - Ease of deployment
> I would have agreed with "ease of deployment" if openssl changes serve =
as a drop-in replacement that magically enforce policy, but that is not =
the case. Just updating openssl alone is not going enable this feature. =
In addition to TLS library upgrade, we need to make changes to MTA to =
make it work with STARTTLS flow. On top of that TACK draft also mentions =
about fetching pins from a 3rd party, even that also may require HTTPS.

Yes, but the same is very much true with STS as well, or did I =
misunderstand something entirely? Ideally it might be as easy as an =
`sudo apt-get upgrade  openssl exim -y`. If the upstream distribution =
packages well and provides proper tooling, this can be *very* smooth. If =
there's zero tooling it's a burden for admins, but that's the same issue =
with any proposal of that kind.

TACK only mentions as a note that pins _could_ be also fetched from =
servers. This is probably not something I'd incorporate. This is =
entirely optional and I'm not sure it's implemented anywhere.  In the =
UTA meeting today something similar was mentioned for pre-fetching =
policies with SMTP-STS: cronjobs and fetch from HTTPS.

> > - Ease of maintenance (a good, automated implementation may do =
everything on it's own)
> STS provides lot of flexibility with deployment; for instance, we can =
deploy separate outbound MTAs for valid STS domains without even =
touching outbound MTAs at all (STS check happens before queuing it to =
outbound MTAs).

I already mentioned that small-mail shops probably won't go through all =
of the difficulties of deploying a proper SMTP-STS setup. Added to that, =
most dont have DNSSEC.

>HTTPS is current medium of policy distribution, but it can be replaced =
with anything better in the future.

Right, so why not ponder over better solutions? Someone might come up =
with something good after all!

Thanks,
Aaron


--Apple-Mail=_20227949-172B-4845-BB40-EF1B5E271A44
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----

iQIcBAEBCgAGBQJXAwGOAAoJEOTbZJL9ubXVeecQAI0CskigMpy6aTONPajx0k8u
Jwn2FzUs1gsu4ofxJy/H/3EwcTsSWgzUAy8buZb0f3YhkL/6RbF36Va2Q+jgW716
dAMzE1t7W1xB9n9jDoGtcUPWrQYCLNuPD92AHH3U5KdNUkO4M4Xr9z8vS3aa6P9i
qbfdQopMQD6pfT1PCn1ju9syhZi1/C62GuDWVkZ8HeKadalSdNB1UdTnewG9qdPi
pNbgWvZ2lnS8HT0Yo9oDSmPTz5mYQ73RiueiISrrZnhspypx0FvI573kmZtC4fPI
yJ0QfMcQqaUvh1trAR/VRviktbQBdWL8IyM/CB51kNc8J4OLTKrI/OMtYb3n81EH
WGoaLsM2/f7xYNMjMqytVp7606hXj7w2V3DPJdHV0+h2Jf8713K/L+iRTpW9jW3i
wQc6bRpHdKwtWywsvZ47dLVY0pT9pGeu+diLjRv95eSkUYTvvEAyInYub34R+diG
Y5Ooes3zppfxwzZtOIZ1u/gvaaCHJSFADywedm+MQEjOsveSlkiX5ennPqSmE1Us
zwLqPyxQZ28LwqMHvORMmf/dpbOQKjkBaorszRmDYhPRavZVGQcu5DMegIIdQ8/i
jb7pD0+bfLxl23aLcaeT7ucmLCR98CoRqykEwMKDmtjP64D6bxhnsivdQoMjHCsZ
VmP7vm153SmHPl9O11we
=JSB9
-----END PGP SIGNATURE-----

--Apple-Mail=_20227949-172B-4845-BB40-EF1B5E271A44--


From nobody Mon Apr  4 17:10:43 2016
Return-Path: <azet@azet.org>
X-Original-To: uta@ietfa.amsl.com
Delivered-To: uta@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D7AE212D138 for <uta@ietfa.amsl.com>; Mon,  4 Apr 2016 17:10:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.7
X-Spam-Level: 
X-Spam-Status: No, score=-2.7 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=azet.org
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 oB8LqN3KU241 for <uta@ietfa.amsl.com>; Mon,  4 Apr 2016 17:10:40 -0700 (PDT)
Received: from mail-wm0-x22c.google.com (mail-wm0-x22c.google.com [IPv6:2a00:1450:400c:c09::22c]) (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 0D1D512D111 for <uta@ietf.org>; Mon,  4 Apr 2016 17:10:40 -0700 (PDT)
Received: by mail-wm0-x22c.google.com with SMTP id f198so10233201wme.0 for <uta@ietf.org>; Mon, 04 Apr 2016 17:10:39 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=azet.org; s=gmail; h=mime-version:subject:from:in-reply-to:date:message-id:references:to; bh=amUwoX+FcDeUZMODqfCKTHc4vzzGLgEeljCe2E/gpJQ=; b=X5ljIIuLl0l4TiwcUzAr0KbgVHaYIlt/jrS2fMitz1+DySoBjBCRZTH0zq5ZfMsnh8 AtttLfNt8asS2sJozjWnBLIxjVb3S/krAmTIf9Bjn3BxDKD8TYDPpr6UeObZX11qf1b1 zXxKTjKkOcfz6YiiaPOozR6oi+JusCgRdIlCo=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date :message-id:references:to; bh=amUwoX+FcDeUZMODqfCKTHc4vzzGLgEeljCe2E/gpJQ=; b=YVCESU1yyMehRpX/aPRv2XGuBRFu3sW0tDXabv8SeIXvptS/8tg/Ck3HRa7FYy9rnm 6Ns40v3kG3+eAq9/YhQCVdyUAhVdYp6eqcbDSWXb7Aks+waUW3bL4P3kb6ShgXYa7YBI 68Us0nPMhGyX56F9eZyRD81qsKdwWPV1muMpb/r86Bdfuz6jwqU03ItCAWGTcGx19PRE a26mYzwBCkUzIEcLkEmeU6/tV6uIRV2EUWTDjOZQQSB5+VZq3QHv9+9c3LDJHoxHK+gl w+h5UWj72nKpGRv0DAYEmLUwZK51kzkDEI5cY2pm7KbskED88XJOE7xybKu6Nwo/zNoq CaLA==
X-Gm-Message-State: AD7BkJJC6uxwkNI1KCkgu+C5FYuPwTrgioctaJaTC7t4COUsY7vRfK8bkAUsL38SbxV27Q==
X-Received: by 10.28.73.70 with SMTP id w67mr3734698wma.28.1459815038609; Mon, 04 Apr 2016 17:10:38 -0700 (PDT)
Received: from aarons-macbook.home.azet.org (chello080108049181.14.11.vie.surfer.at. [80.108.49.181]) by smtp.gmail.com with ESMTPSA id p125sm16484482wmd.16.2016.04.04.17.10.36 for <uta@ietf.org> (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 04 Apr 2016 17:10:37 -0700 (PDT)
Content-Type: multipart/signed; boundary="Apple-Mail=_508B5749-EA58-4331-9B4E-9F4FD35C9714"; protocol="application/pgp-signature"; micalg=pgp-sha512
Mime-Version: 1.0 (Mac OS X Mail 9.2 \(3112\))
X-Pgp-Agent: GPGMail 2.6b2
From: Aaron Zauner <azet@azet.org>
In-Reply-To: <20160404233518.GC26423@mournblade.imrryr.org>
Date: Tue, 5 Apr 2016 02:11:00 +0200
Message-Id: <9025450D-6E01-4A69-BCF8-812E7EB84DE2@azet.org>
References: <CAB0W=GS2PXF-divC+SNs+A-jH1-_BBA889-TbQXHvrVsrbKLEA@mail.gmail.com> <CAB0W=GSQ4oTLT+qepMi7Pj5=UmBD70D_uW7c193RY-gw818ORA@mail.gmail.com> <CAB0W=GRB_6LhqEGYzeYq-srnM99wqwZrdjUEm=vJ7+oFiKbYoA@mail.gmail.com> <CAB0W=GTGja5JtxGuCzhD6O3B2Ow-wLN-B6WQ8XUDyvQRqdFZxw@mail.gmail.com> <F78DA210-CD80-4403-A33D-E8A38A402ED9@azet.org> <20160404233518.GC26423@mournblade.imrryr.org>
To: uta@ietf.org
X-Mailer: Apple Mail (2.3112)
Archived-At: <http://mailarchive.ietf.org/arch/msg/uta/XICo-wVHBrHK7JcmoPRU49YYGbU>
Subject: Re: [Uta] New proposal: SMTP Strict Transport Security
X-BeenThere: uta@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: UTA working group mailing list <uta.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/uta>, <mailto:uta-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/uta/>
List-Post: <mailto:uta@ietf.org>
List-Help: <mailto:uta-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/uta>, <mailto:uta-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 05 Apr 2016 00:10:42 -0000

--Apple-Mail=_508B5749-EA58-4331-9B4E-9F4FD35C9714
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

Hi Viktor,

> On 05 Apr 2016, at 01:35, Viktor Dukhovni <ietf-dane@dukhovni.org> =
wrote:
>=20
> On Mon, Apr 04, 2016 at 05:24:59PM +0200, Aaron Zauner wrote:
>=20
>> As for authentication/TOFU: I see no better proposal than TACK =
around.
>=20
> I was briefly interested in TACK for SMTP before I started work on
> DANE 2 years ago, but gave up after realizing that TACK cannot
> protect the MX records.  Without protecting the MX records you get
> no active attack protection.
>=20
> STS proposes to validate MX records (MX host patterns) via HTTPS,
> at which point one can consider various mechanisms for authenticating
> the credentials of the validated MX hosts.

But if I use a TOFU model like TACK then if an attack on any MX record I =
try to resolve happens and I get redirected I end up with a TLS alert =
instead of a classic MITM because the attacker does not control my keys. =
DOS can happen in any case.

> Are you proposing TACK without WebPKI for the STS HTTPS URL or
> WebPKI + TACK pins?  Note also that secondary MX hosts are rarely
> used so senders will often lack prior contact with these, but an
> attacker can block access to the primary MX, at which point you
> get cold-start with a secondary MX (reducing TACK to WebPKI).

WebPKI + TACK essentially (plus an SMTP extension). And again; the TACK =
draft would have to be updated and retrofitted.

Thanks,
Aaron

--Apple-Mail=_508B5749-EA58-4331-9B4E-9F4FD35C9714
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----

iQIcBAEBCgAGBQJXAwKUAAoJEOTbZJL9ubXVQI8QAJbp4JUah+nVRlV+EDHcq22L
Qg8LCAK5VBNHVmi7dXknoRNkrypsgxn7IWlK5XZsI9SpwjOSTuIoFxINJkBgfXhd
Kp4er7wvMUQ1faGDE3MflvRhtc7hi6dpAmsFVunQEXaEEVHnRgRuYbu9SYHBZAvk
UkwE9GG0xjB0ygV3X2rh8bd1X9H0k/MejcMfW8Ckn/R3hJ67fuBhHydt77J1t5MM
D5sgkcNyMYalBl03ehY9DYrHauREUOfmoKs204KX3A37aZccRExSQlPSMmfPe0LR
j45EofxXu6/AIIZKPwKG7hdFvviFqF4IcWElSYkc7wInHrz9QT6xNj460olIlUax
3uG5oK6e+TwmS2Su5uTX0KRPkyX/bLGdHyByoX9RcDCvX1lIrVd8ySFVhmgVfbRd
H2eskWNdpnWR8ayrJTkN3U9GvNN+UrmIFT72/ZyMOYpBSjXdf0eAa00mkps/aUPI
EI2ekEqdCE1hAcVhm4I0Ti2FblajJUHuAbn8hPPZ7JZirGj9Fl2YTbuehDojYFd+
UGPhrdNrBsrqMF5XGv/4FCxadXRVwJ50Z1WfaYabY32NVLFxhMSciW16ugP4nKXE
u2wuu6ensxQAiccSEOTcAtY9tuX9YgjNpauFQw07yLK+V/VQFjfSkZFKKmRC7xuj
CFqHkiaW6YiPzzkEwG7+
=Fgl1
-----END PGP SIGNATURE-----

--Apple-Mail=_508B5749-EA58-4331-9B4E-9F4FD35C9714--


From nobody Tue Apr  5 02:16:12 2016
Return-Path: <dmargolis@google.com>
X-Original-To: uta@ietfa.amsl.com
Delivered-To: uta@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2396712D17F for <uta@ietfa.amsl.com>; Tue,  5 Apr 2016 02:16:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.71
X-Spam-Level: 
X-Spam-Status: No, score=-2.71 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=google.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 nAgPH9sLwPao for <uta@ietfa.amsl.com>; Tue,  5 Apr 2016 02:16:07 -0700 (PDT)
Received: from mail-io0-x22d.google.com (mail-io0-x22d.google.com [IPv6:2607:f8b0:4001:c06::22d]) (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 4BCC312D171 for <uta@ietf.org>; Tue,  5 Apr 2016 02:16:07 -0700 (PDT)
Received: by mail-io0-x22d.google.com with SMTP id g185so11729332ioa.2 for <uta@ietf.org>; Tue, 05 Apr 2016 02:16:07 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=3vyCnr5xh5bR9axW6tgRt3azrHQlGj8RABsBx8Srd3E=; b=JU5DBlPGsMVropvTtaL41uZvT9R/ncVNm7NGpF5q8bYgQlHSJlD34AA6lobm95/HKk ndkMjcWBaEfM8eqSmjEht3COpRYGVANp1sI9Gq9M2tSwUEGNyWlq5VpdQKazvjsJIAos 555Lot4PX9titydQMZyKnF2l7nhBHnEu0VnDxZLjWzFDaj0Mvj8LeqhnrWVcSa31sBEP PJSxUkxb63yiVZKZc+pb8U+m9/Zja+4W/Ffp82Fts8kC8nShBYuupG1Fkbtlt6qjaCGQ WLZR4byHge9UdzBiknpV0Df11/jZw5j8xl+2i2xwi3CV2M98IXJP2jJqCvgaLxqV2F89 LmcQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=3vyCnr5xh5bR9axW6tgRt3azrHQlGj8RABsBx8Srd3E=; b=fkd1Q6/N1t/treSYS3C7Eej8CntooWNDs6YvlLsxdRDbuAzp5qv7Reum2SNXLnK2WK NrWZw5MK+0y0h7kOTtBZDuY6FhjGHeHZ+UI1gFL7bkC/n8xisAp4oqr9I4vrx7LdWaLN lGjWfW7UAxHjjQWG9jkE1iSz5+8oCA29VtGsz5jYE9x94x9cPr66cdKt7WiW4Adnaael rupsLuDTAoBOQN1ygxX4x0Ml5+e55UkcOZHAVW7qkgo4AsXR3i3rT5xi+nwYK6ueTaYO yUe+7GpOLIDMSg4hDK//h3rFomuEfVRHdLYWxBoSlCsm8VdFSu2Hsa2XqgRVtMWG+vzY GbnQ==
X-Gm-Message-State: AD7BkJIDsxQyBqOVsl5ocquNYO8WS2mZxaWtq5t7/V2mRyBqcMj/tTYvxjSdHORtwkdn0GGO/mkNmMsEr8grspYX
MIME-Version: 1.0
X-Received: by 10.107.12.67 with SMTP id w64mr23098954ioi.114.1459847766350; Tue, 05 Apr 2016 02:16:06 -0700 (PDT)
Received: by 10.64.91.226 with HTTP; Tue, 5 Apr 2016 02:16:06 -0700 (PDT)
In-Reply-To: <835BFD7B-B8F1-43CD-8E6B-AC474E9A1741@azet.org>
References: <20160405002118.6f7bb0b274@8da9a8ad15f2049> <1570673069.2008767.1459813453573.JavaMail.yahoo@mail.yahoo.com> <835BFD7B-B8F1-43CD-8E6B-AC474E9A1741@azet.org>
Date: Tue, 5 Apr 2016 11:16:06 +0200
Message-ID: <CANtKdUewMQ5jVAUOaWfuUquFdDB_dh_jNEfAo7T=qruqzszGqw@mail.gmail.com>
From: Daniel Margolis <dmargolis@google.com>
To: Aaron Zauner <azet@azet.org>
Content-Type: multipart/alternative; boundary=001a113f92b68a9723052fb94b04
Archived-At: <http://mailarchive.ietf.org/arch/msg/uta/aQxGfUa_k-C09TVXhMs7WoQFYtU>
Cc: "uta@ietf.org" <uta@ietf.org>, "Orit Levin \(CELA\)" <oritl@microsoft.com>, Binu Ramakrishnan <prbinu@yahoo.com>, Mark Risher <risher@google.com>
Subject: Re: [Uta] New proposal: SMTP Strict Transport Security
X-BeenThere: uta@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: UTA working group mailing list <uta.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/uta>, <mailto:uta-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/uta/>
List-Post: <mailto:uta@ietf.org>
List-Help: <mailto:uta-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/uta>, <mailto:uta-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 05 Apr 2016 09:16:10 -0000

--001a113f92b68a9723052fb94b04
Content-Type: text/plain; charset=UTF-8

On Tue, Apr 5, 2016 at 2:06 AM, Aaron Zauner <azet@azet.org> wrote:

> Hi,
>
> > On 05 Apr 2016, at 01:44, Binu Ramakrishnan <prbinu@yahoo.com> wrote:
> >
> > Aaron,
> >
> > Whether we use Git to distribute policies or use CT append logs, we
> still need to pull policies using HTTPS (or something similar). From that
> perspective, STS's webpki model is not different. If you are talking about
> TACK, based on my understanding it is not suitable for SMTP MTAs. The
> fundamental issue is that a secure in-band policy distribution is difficult
> in such environments because of MX indirection.
>
> Could you go a bit into what you consider "mx indirection" and where you
> see problems there? e.g. a specific problem statement. I'm not sure I
> follow.
>

To slightly paraphrase Binu's reply, I think one of the (if not the) key
challenges with SMTP STS is allowing the email domain to specify a routing
policy (and maybe also a security policy, as discussed with Chris
up-thread) regardless of whether it's also the email hosting domain.

I'm not clear on how TACK can be used here.

One idea on how to use a CT-style append-only log is that you could use the
log itself as the source of policies, and the log server can sort of do
whatever it wants to for the log inclusion criteria (e.g. with CT the
inclusion criteria are "must be an EV cert", but that's very arbitrary; a
different log could include any policy served over validated HTTPS for any
domain, or you could have a log that includes policies seen by EFF's
outbound MTA--since the log is observable and append-only, it still feels a
lot safer to me to do this than to use Github for policy distribution).


>
> >
> > > The main properties that make building on TACK interesting for me are:
> > > - Lifecycle-management / Key-rollover (no accidental lock-out as you
> may get with HPKP)
> > This may not even a differentiator.
>
> I don't follow?
>
> >
> > - No need for CA-signed certificates (fits well into the SMTPS domain)
> > How the trust is establised without DNSSEC or PKIX?
>
> It's a TOFU model. So you establish trust on first use / flight. From
> thereon you have pins. See above w.r.t. roll-over.
>
> >
> > > - Ease of deployment
> > I would have agreed with "ease of deployment" if openssl changes serve
> as a drop-in replacement that magically enforce policy, but that is not the
> case. Just updating openssl alone is not going enable this feature. In
> addition to TLS library upgrade, we need to make changes to MTA to make it
> work with STARTTLS flow. On top of that TACK draft also mentions about
> fetching pins from a 3rd party, even that also may require HTTPS.
>
> Yes, but the same is very much true with STS as well, or did I
> misunderstand something entirely? Ideally it might be as easy as an `sudo
> apt-get upgrade  openssl exim -y`. If the upstream distribution packages
> well and provides proper tooling, this can be *very* smooth. If there's
> zero tooling it's a burden for admins, but that's the same issue with any
> proposal of that kind.
>
> TACK only mentions as a note that pins _could_ be also fetched from
> servers. This is probably not something I'd incorporate. This is entirely
> optional and I'm not sure it's implemented anywhere.  In the UTA meeting
> today something similar was mentioned for pre-fetching policies with
> SMTP-STS: cronjobs and fetch from HTTPS.
>

What I meant about a cron that fetches policies was that any given server
can fetch policies directly from the policy domain asynchronously from the
send path--I was merely answering the question of whether it's a big
problem to have an MTA that speaks HTTPS. (My point being that you don't
need that; you can have an MTA with a cron job that runs the moral
equivalent of "for line in `grep sts_policy_missing postfix.log`; do
curl_policy $line; done".)

I do separately think it makes sense to pre-ship common bundles, but I'm
not sure that we should focus on that as the main method of policy
distribution. In particular, today, if I'm a Debian user, Debian is already
part of my trusted computing base, so having a Debian policy bundle doesn't
really scare me. But if some upstream github repo were the *only* source of
truth for policies, it seems a bit scarier to me--a much more brittle
distribution mechanism, and somewhat overly centarlized.


>
> > > - Ease of maintenance (a good, automated implementation may do
> everything on it's own)
> > STS provides lot of flexibility with deployment; for instance, we can
> deploy separate outbound MTAs for valid STS domains without even touching
> outbound MTAs at all (STS check happens before queuing it to outbound MTAs).
>
> I already mentioned that small-mail shops probably won't go through all of
> the difficulties of deploying a proper SMTP-STS setup. Added to that, most
> dont have DNSSEC.
>

I'm not sure about this intuition, though I only have a counter intuition.
For the hosted scenario, a provider could simply set up an HTTPS endpoint
for their client domains, use SNI, and fetch SSL certs for the client as
part of a hosting package. For the self-hosted scenario, is it considerably
harder? I'm not sure, but given how easy it is to set up a personal HTTPS
endpoint with Let's Encrypt, I don't really see why. Am I far off base?


>
> >HTTPS is current medium of policy distribution, but it can be replaced
> with anything better in the future.
>
> Right, so why not ponder over better solutions? Someone might come up with
> something good after all!
>

Agreed!


>
> Thanks,
> Aaron
>
>

--001a113f92b68a9723052fb94b04
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_extra"><br><div class=3D"gmail_quote">=
On Tue, Apr 5, 2016 at 2:06 AM, Aaron Zauner <span dir=3D"ltr">&lt;<a href=
=3D"mailto:azet@azet.org" target=3D"_blank">azet@azet.org</a>&gt;</span> wr=
ote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border=
-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<span class=3D""><br>
&gt; On 05 Apr 2016, at 01:44, Binu Ramakrishnan &lt;<a href=3D"mailto:prbi=
nu@yahoo.com">prbinu@yahoo.com</a>&gt; wrote:<br>
&gt;<br>
&gt; Aaron,<br>
&gt;<br>
&gt; Whether we use Git to distribute policies or use CT append logs, we st=
ill need to pull policies using HTTPS (or something similar). From that per=
spective, STS&#39;s webpki model is not different. If you are talking about=
 TACK, based on my understanding it is not suitable for SMTP MTAs. The fund=
amental issue is that a secure in-band policy distribution is difficult in =
such environments because of MX indirection.<br>
<br>
</span>Could you go a bit into what you consider &quot;mx indirection&quot;=
 and where you see problems there? e.g. a specific problem statement. I&#39=
;m not sure I follow.<br></blockquote><div><br></div><div>To slightly parap=
hrase Binu&#39;s reply, I think one of the (if not the) key challenges with=
 SMTP STS is allowing the email domain to specify a routing policy (and may=
be also a security policy, as discussed with Chris up-thread) regardless of=
 whether it&#39;s also the email hosting domain.=C2=A0</div><div><br></div>=
<div>I&#39;m not clear on how TACK can be used here.=C2=A0</div><div><br></=
div><div>One idea on how to use a CT-style append-only log is that you coul=
d use the log itself as the source of policies, and the log server can sort=
 of do whatever it wants to for the log inclusion criteria (e.g. with CT th=
e inclusion criteria are &quot;must be an EV cert&quot;, but that&#39;s ver=
y arbitrary; a different log could include any policy served over validated=
 HTTPS for any domain, or you could have a log that includes policies seen =
by EFF&#39;s outbound MTA--since the log is observable and append-only, it =
still feels a lot safer to me to do this than to use Github for policy dist=
ribution).=C2=A0</div><div>=C2=A0</div><blockquote class=3D"gmail_quote" st=
yle=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<span class=3D""><br>
&gt;<br>
&gt; &gt; The main properties that make building on TACK interesting for me=
 are:<br>
&gt; &gt; - Lifecycle-management / Key-rollover (no accidental lock-out as =
you may get with HPKP)<br>
&gt; This may not even a differentiator.<br>
<br>
</span>I don&#39;t follow?<br>
<span class=3D""><br>
&gt;<br>
&gt; - No need for CA-signed certificates (fits well into the SMTPS domain)=
<br>
&gt; How the trust is establised without DNSSEC or PKIX?<br>
<br>
</span>It&#39;s a TOFU model. So you establish trust on first use / flight.=
 From thereon you have pins. See above w.r.t. roll-over.<br>
<span class=3D""><br>
&gt;<br>
&gt; &gt; - Ease of deployment<br>
&gt; I would have agreed with &quot;ease of deployment&quot; if openssl cha=
nges serve as a drop-in replacement that magically enforce policy, but that=
 is not the case. Just updating openssl alone is not going enable this feat=
ure. In addition to TLS library upgrade, we need to make changes to MTA to =
make it work with STARTTLS flow. On top of that TACK draft also mentions ab=
out fetching pins from a 3rd party, even that also may require HTTPS.<br>
<br>
</span>Yes, but the same is very much true with STS as well, or did I misun=
derstand something entirely? Ideally it might be as easy as an `sudo apt-ge=
t upgrade=C2=A0 openssl exim -y`. If the upstream distribution packages wel=
l and provides proper tooling, this can be *very* smooth. If there&#39;s ze=
ro tooling it&#39;s a burden for admins, but that&#39;s the same issue with=
 any proposal of that kind.<br>
<br>
TACK only mentions as a note that pins _could_ be also fetched from servers=
. This is probably not something I&#39;d incorporate. This is entirely opti=
onal and I&#39;m not sure it&#39;s implemented anywhere.=C2=A0 In the UTA m=
eeting today something similar was mentioned for pre-fetching policies with=
 SMTP-STS: cronjobs and fetch from HTTPS.<br></blockquote><div><br></div><d=
iv>What I meant about a cron that fetches policies was that any given serve=
r can fetch policies directly from the policy domain asynchronously from th=
e send path--I was merely answering the question of whether it&#39;s a big =
problem to have an MTA that speaks HTTPS. (My point being that you don&#39;=
t need that; you can have an MTA with a cron job that runs the moral equiva=
lent of &quot;for line in `grep sts_policy_missing postfix.log`; do curl_po=
licy $line; done&quot;.)=C2=A0</div><div><br></div><div>I do separately thi=
nk it makes sense to pre-ship common bundles, but I&#39;m not sure that we =
should focus on that as the main method of policy distribution. In particul=
ar, today, if I&#39;m a Debian user, Debian is already part of my trusted c=
omputing base, so having a Debian policy bundle doesn&#39;t really scare me=
. But if some upstream github repo were the *only* source of truth for poli=
cies, it seems a bit scarier to me--a much more brittle distribution mechan=
ism, and somewhat overly centarlized.</div><div>=C2=A0</div><blockquote cla=
ss=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;pa=
dding-left:1ex">
<span class=3D""><br>
&gt; &gt; - Ease of maintenance (a good, automated implementation may do ev=
erything on it&#39;s own)<br>
&gt; STS provides lot of flexibility with deployment; for instance, we can =
deploy separate outbound MTAs for valid STS domains without even touching o=
utbound MTAs at all (STS check happens before queuing it to outbound MTAs).=
<br>
<br>
</span>I already mentioned that small-mail shops probably won&#39;t go thro=
ugh all of the difficulties of deploying a proper SMTP-STS setup. Added to =
that, most dont have DNSSEC.<br></blockquote><div><br></div><div>I&#39;m no=
t sure about this intuition, though I only have a counter intuition. For th=
e hosted scenario, a provider could simply set up an HTTPS endpoint for the=
ir client domains, use SNI, and fetch SSL certs for the client as part of a=
 hosting package. For the self-hosted scenario, is it considerably harder? =
I&#39;m not sure, but given how easy it is to set up a personal HTTPS endpo=
int with Let&#39;s Encrypt, I don&#39;t really see why. Am I far off base?<=
/div><div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0=
 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<span class=3D""><br>
&gt;HTTPS is current medium of policy distribution, but it can be replaced =
with anything better in the future.<br>
<br>
</span>Right, so why not ponder over better solutions? Someone might come u=
p with something good after all!<br></blockquote><div><br></div><div>Agreed=
!=C2=A0</div><div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"ma=
rgin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Thanks,<br>
Aaron<br>
<br>
</blockquote></div><br></div></div>

--001a113f92b68a9723052fb94b04--


From nobody Tue Apr  5 15:33:47 2016
Return-Path: <azet@azet.org>
X-Original-To: uta@ietfa.amsl.com
Delivered-To: uta@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3F0A212D0B8 for <uta@ietfa.amsl.com>; Tue,  5 Apr 2016 15:33:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.7
X-Spam-Level: 
X-Spam-Status: No, score=-2.7 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=azet.org
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 lSpH23GkQvOP for <uta@ietfa.amsl.com>; Tue,  5 Apr 2016 15:33:44 -0700 (PDT)
Received: from mail-wm0-x235.google.com (mail-wm0-x235.google.com [IPv6:2a00:1450:400c:c09::235]) (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 362C812D11E for <uta@ietf.org>; Tue,  5 Apr 2016 15:33:44 -0700 (PDT)
Received: by mail-wm0-x235.google.com with SMTP id v188so3933336wme.1 for <uta@ietf.org>; Tue, 05 Apr 2016 15:33:44 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=azet.org; s=gmail; h=subject:mime-version:from:in-reply-to:date:cc:message-id:references :to; bh=ojJEC7Z8mRutyY8PvCuKVoSmunIDwVEnmS4WUSiPT6Y=; b=ZjKR53YRYlm4vC+1/UxxPXSzhPYh6Ec2c+9qVu8I3iuRMwSH1OqyJRl26EGvUS4vY6 hOEzZ+Jrb/uB1cqlrI6UmvfBIi3vARUsmFLEzu7vDSSjvtAHNNpmhwXXU2Q97hq8Z9HZ L8BUynAhMe5K+vl3uoAvHyJ8qFYh4FqMOUCLs=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:mime-version:from:in-reply-to:date:cc :message-id:references:to; bh=ojJEC7Z8mRutyY8PvCuKVoSmunIDwVEnmS4WUSiPT6Y=; b=Yvnlep5dTPUT+ugfKQUf/7e2NEQVQMR5/MHLXynTr6s8rnX0xbxSFWAR5MKaLexPsR OTcto9SgWDqlstpNcGDZIRlwx3R56CBWLyG40WduEJ0KnrvL1XdfuuojAZHgMsO7FWYc X7HORX5r4qPYcmw/JeIGYorIb1mxuf5NdX2kX3aGvEdOQ96FJ7jfRO40W3i89CDrKxO7 vBUqUgpWb4oFQIub2tIh3tJht/VmaY/YZfWgyrldvSTZyfiXlrT7L64L9kPYmD5aYWEn x3ai54bp441CAeAehJ7cLcIxFhN/djgMF6hH7YWJfQFPob2ECdUkoss8l610nd2BK0OL Ds6g==
X-Gm-Message-State: AD7BkJJGc76IvXfSSVWwzBM6d8g2KkbXB0Q48VD/M3LKkHvTSrt5b+zXf/CDiLj8tDo+UQ==
X-Received: by 10.194.121.70 with SMTP id li6mr5109464wjb.164.1459895169632; Tue, 05 Apr 2016 15:26:09 -0700 (PDT)
Received: from aarons-macbook.home.azet.org (chello080108049181.14.11.vie.surfer.at. [80.108.49.181]) by smtp.gmail.com with ESMTPSA id 188sm21664644wml.19.2016.04.05.15.26.07 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 05 Apr 2016 15:26:07 -0700 (PDT)
Mime-Version: 1.0 (Mac OS X Mail 9.2 \(3112\))
Content-Type: multipart/signed; boundary="Apple-Mail=_C454AE65-CE35-4124-9150-3A0105BD2C9E"; protocol="application/pgp-signature"; micalg=pgp-sha512
X-Pgp-Agent: GPGMail 2.6b2
From: Aaron Zauner <azet@azet.org>
In-Reply-To: <299327396.2047588.1459818787524.JavaMail.yahoo@mail.yahoo.com>
Date: Wed, 6 Apr 2016 00:26:31 +0200
Message-Id: <4143301C-6311-409C-831B-E82BB00A080E@azet.org>
References: <835BFD7B-B8F1-43CD-8E6B-AC474E9A1741@azet.org> <299327396.2047588.1459818787524.JavaMail.yahoo@mail.yahoo.com>
To: Binu Ramakrishnan <prbinu@yahoo.com>
X-Mailer: Apple Mail (2.3112)
Archived-At: <http://mailarchive.ietf.org/arch/msg/uta/YudJ5Tj7Puu7jeEC9lydu3cJXps>
Cc: "uta@ietf.org" <uta@ietf.org>, "Orit Levin \(CELA\)" <oritl@microsoft.com>, Mark Risher <risher@google.com>, Daniel Margolis <dmargolis@google.com>
Subject: Re: [Uta] New proposal: SMTP Strict Transport Security
X-BeenThere: uta@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: UTA working group mailing list <uta.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/uta>, <mailto:uta-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/uta/>
List-Post: <mailto:uta@ietf.org>
List-Help: <mailto:uta-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/uta>, <mailto:uta-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 05 Apr 2016 22:33:46 -0000

--Apple-Mail=_C454AE65-CE35-4124-9150-3A0105BD2C9E
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

Hi,

> On 05 Apr 2016, at 03:13, Binu Ramakrishnan <prbinu@yahoo.com> wrote:
> 1. TACK TOFU model promotes trusting self-signed certificates. It is =
similar to SSH and it is less trusted than PKIX.

You can use TACK with self-signed or with CA signed certificates. I'm =
not sure I agree that there is less trust than with just PKIX.

> 2. What is the process followed when you change your MX from abc.com =
to xyz.com ? Basically explain how to differentiate a legitimate MX =
redirection with an attacker diverting the traffic, especially in short =
notice?

A TACK pin is bound to a hostname and TACK signing key (TSK). While =
ordinarily you'd probably just publish a new TACK for a new hostname =
it's possible to have multiple hostnames signed by the same TSK and this =
could be used to manage hostname-rollover if I'm not mistaken (the =
original draft does of course not consider this scenario).

You do have a similar problem with STS: You'd need DNSSEC to ensure that =
an attacker can't divert traffic on the first connection attempt. You =
already mention this in the "Future Work" section of your document under =
"certificate pinning" (I think it's supposed to say "public key =
pinning"). One of the main issues currently is that most MTA-MTA traffic =
is over connections established without a CA signed certificate. You're =
now requiring them to use one anyhow, just in a different place.

> 3. (repeating) Whether you use Git or append logs or "pins" from 3rd =
party, you still need to fetch policies from a remote location possibly =
over HTTPS.

Sorry I think that wasn't clear: my discussion on git/CT/reporting and =
interest in your CT-related work had nothing to do with TACK or =
authentication.

>=20
> >It's a TOFU model. So you establish trust on first use / flight. =46rom=
 thereon you have pins.
> > See above w.r.t. roll-over.
>=20
> Why to use TOFU, when there are better options? STS directly fetches =
policies over HTTPS and the trust is established over PKIX

Again; you may use PKIX with TACK.


Aaron

--Apple-Mail=_C454AE65-CE35-4124-9150-3A0105BD2C9E
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----

iQIcBAEBCgAGBQJXBDuYAAoJEOTbZJL9ubXVI4YP/3qMfS8l0CsXrt3QfVM8YE51
gfIKPY+w/8RCbBautTomtW+ZdXkQA+zZDgL7UTGuoXXHcXhsT17WIkvZl4f3zGzg
iYZFfqJ5I5UtV+bTK00XnefBl41ObYqnO7dtGgqbva/mpouNAb0GudKud/C72KzI
saTePSeEQD9S0Uj2XpGHtMgO5CFqnFrWCuQJSduml/3axYCcWHFxeni4UHzLUwi5
DQOY5iZZ1p6AdlSGXckmseC6NZxAr6dUjX8I3vyFxSLl8omn4Qn+YKXU6BdQI7IC
9GlJtyQ6Zp/Foo/r/mkNYI9awRtH2UBQmJHDh5sacC4P0zbL8r4ufkn2fHY4UOtE
uZmE2R0SWLG9Ei5uTGsqEwRnggjCL9t5bvBXHTPb5EqI6tDjQHPR7J0y6ewHbcB2
Bob63hAkQ60Dy9Bldbxn8IJD9oxZPCH6aZwTNOAt7FsLtPALn4RnR7U97/IvFZ2q
lAAiL4aFrxqknVHydJbpFRmC+h2FlYjw9/ge/gIlbWBTHvdNZpx2TeGDVQHSzPxc
9mMvcZMnF4spkhkdqCF2T3+XBGkfhaXgd6guGRp+mMI5tOYHOjtjumGRKhF5I6Wy
7wKeepq/tB0e7sVfdt9C/IBlw8TwOcRNVcxCZEN9Ss/ZJXZt0geJyK65yS140RkU
oEZXtvZKszVirggNWU6n
=VjvS
-----END PGP SIGNATURE-----

--Apple-Mail=_C454AE65-CE35-4124-9150-3A0105BD2C9E--


From nobody Tue Apr  5 15:35:56 2016
Return-Path: <azet@azet.org>
X-Original-To: uta@ietfa.amsl.com
Delivered-To: uta@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7064D12D0A2 for <uta@ietfa.amsl.com>; Tue,  5 Apr 2016 15:35:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.7
X-Spam-Level: 
X-Spam-Status: No, score=-2.7 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=azet.org
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 PuycMnaLW5LD for <uta@ietfa.amsl.com>; Tue,  5 Apr 2016 15:35:53 -0700 (PDT)
Received: from mail-wm0-x22f.google.com (mail-wm0-x22f.google.com [IPv6:2a00:1450:400c:c09::22f]) (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 78C3D12D09D for <uta@ietf.org>; Tue,  5 Apr 2016 15:35:53 -0700 (PDT)
Received: by mail-wm0-x22f.google.com with SMTP id u206so22231646wme.1 for <uta@ietf.org>; Tue, 05 Apr 2016 15:35:53 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=azet.org; s=gmail; h=subject:mime-version:from:in-reply-to:date:cc:message-id:references :to; bh=BlJscNQ7mswP4Zux1yCmVtzHcOD8ZIRHV+FhQE/RGzU=; b=GUGR+1iIz0dyoUwJ9PLYkbPTbQ5wKbW5mJHrMPOv/gCUnrbh9+MqI+TfoxlK82P6lT irYZwrKKJ/kMLZtwEdgrf+EvBpVshEA/u3erQqqqGSvUzspd+9BfUVZEI2o98liGhudb YG6K+lank3oD+vc/XKOPwgLl7cELJ+ZNmMcYg=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:mime-version:from:in-reply-to:date:cc :message-id:references:to; bh=BlJscNQ7mswP4Zux1yCmVtzHcOD8ZIRHV+FhQE/RGzU=; b=WYZFGssJFKB9d2OAiNqj20jv8AEbo5dWMtQ+hQNWEqLOUqfvwzVTYMhOfsjubzih0q HwH/M+UHCoIF6k8OI+eWZolMOjpS9A9VCggbvmQyN2SP+Zdqp3DavyS1lhb94Lyv17o2 G+I82fEnlYwE/wv7f2IwVzGfFJj86qfgWPHr2quSxSXFjcOS8VJNKFn26fdVTEb/Iyj/ yhXBMNLbCVkE3tqechEwNtOskZiMhz2eaqwVbtSutOz26nW0uJ5Vo3fMu1dXwHNl7WiL xXf6AQP/8+ko3wpdZCIHyfS4J98y7CG8RTNwCo4/OpQT9BfgPG+F2I2Z0ANSz+xZthrL ZK5g==
X-Gm-Message-State: AD7BkJIyDtWoNSFwoA10Jgdpyz4Si1Qiy8pQtrnVISb6zRUTrROAGu2IxEJJl07DJBV5oQ==
X-Received: by 10.194.94.106 with SMTP id db10mr17123863wjb.175.1459895752083;  Tue, 05 Apr 2016 15:35:52 -0700 (PDT)
Received: from aarons-macbook.home.azet.org (chello080108049181.14.11.vie.surfer.at. [80.108.49.181]) by smtp.gmail.com with ESMTPSA id i201sm412041wmf.23.2016.04.05.15.35.49 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 05 Apr 2016 15:35:50 -0700 (PDT)
Mime-Version: 1.0 (Mac OS X Mail 9.2 \(3112\))
Content-Type: multipart/signed; boundary="Apple-Mail=_D868C7C9-8975-422D-BFB4-CDAE9CFFD556"; protocol="application/pgp-signature"; micalg=pgp-sha512
X-Pgp-Agent: GPGMail 2.6b2
From: Aaron Zauner <azet@azet.org>
In-Reply-To: <CANtKdUewMQ5jVAUOaWfuUquFdDB_dh_jNEfAo7T=qruqzszGqw@mail.gmail.com>
Date: Wed, 6 Apr 2016 00:36:14 +0200
Message-Id: <1A3DB748-26E6-404D-84F5-962B3AA21AB4@azet.org>
References: <20160405002118.6f7bb0b274@8da9a8ad15f2049> <1570673069.2008767.1459813453573.JavaMail.yahoo@mail.yahoo.com> <835BFD7B-B8F1-43CD-8E6B-AC474E9A1741@azet.org> <CANtKdUewMQ5jVAUOaWfuUquFdDB_dh_jNEfAo7T=qruqzszGqw@mail.gmail.com>
To: Daniel Margolis <dmargolis@google.com>
X-Mailer: Apple Mail (2.3112)
Archived-At: <http://mailarchive.ietf.org/arch/msg/uta/NLpIZ6dhSlvS2Ye-00VMkl3tGB0>
Cc: "uta@ietf.org" <uta@ietf.org>, "Orit Levin \(CELA\)" <oritl@microsoft.com>, Binu Ramakrishnan <prbinu@yahoo.com>, Mark Risher <risher@google.com>
Subject: Re: [Uta] New proposal: SMTP Strict Transport Security
X-BeenThere: uta@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: UTA working group mailing list <uta.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/uta>, <mailto:uta-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/uta/>
List-Post: <mailto:uta@ietf.org>
List-Help: <mailto:uta-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/uta>, <mailto:uta-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 05 Apr 2016 22:35:55 -0000

--Apple-Mail=_D868C7C9-8975-422D-BFB4-CDAE9CFFD556
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

Hi,

> On 05 Apr 2016, at 11:16, Daniel Margolis <dmargolis@google.com> =
wrote:
> Could you go a bit into what you consider "mx indirection" and where =
you see problems there? e.g. a specific problem statement. I'm not sure =
I follow.
>=20
> To slightly paraphrase Binu's reply, I think one of the (if not the) =
key challenges with SMTP STS is allowing the email domain to specify a =
routing policy (and maybe also a security policy, as discussed with =
Chris up-thread) regardless of whether it's also the email hosting =
domain.
>=20
> I'm not clear on how TACK can be used here.

TACK isn't the right place to distribute information from. It's a TLS =
extension, it should be terse. My original idea was to use a SMTP =
extension along with required TACK-like authentication. The extension =
could send arbitrary information. As mentioned earlier, I'm not sure =
what the best way is to integrate this with STS.

>=20
> One idea on how to use a CT-style append-only log is that you could =
use the log itself as the source of policies, and the log server can =
sort of do whatever it wants to for the log inclusion criteria (e.g. =
with CT the inclusion criteria are "must be an EV cert", but that's very =
arbitrary; a different log could include any policy served over =
validated HTTPS for any domain, or you could have a log that includes =
policies seen by EFF's outbound MTA--since the log is observable and =
append-only, it still feels a lot safer to me to do this than to use =
Github for policy distribution).

Yes, I totally agree there. git was brought up in a discussion, we're =
not currently implementing anything in that direction. When we come back =
to this we'll see what's available from UTA etc. for us to use.

> I'm not sure about this intuition, though I only have a counter =
intuition. For the hosted scenario, a provider could simply set up an =
HTTPS endpoint for their client domains, use SNI, and fetch SSL certs =
for the client as part of a hosting package. For the self-hosted =
scenario, is it considerably harder? I'm not sure, but given how easy it =
is to set up a personal HTTPS endpoint with Let's Encrypt, I don't =
really see why. Am I far off base?

While I see benefits to hosters, what I've seen from community projects =
like bettercrypto(.org) is there's a lot of misunderstanding on how to =
properly configure services, a lot of bad information sources around for =
sysadmins and barely any tooling to automate. Let's Encrypt now does =
automate on specific platforms and for specific daemons - we'll probably =
extend this to some degree for mail daemons in the future but there's =
also a lot of unwillingness among admins to use automation tools that =
require e.g. root. I feel that a lot of admins will reject going via =
HTTPS services just to serve mail in a secure fashion. I'm also not sure =
how willing software implementers will be to go this direction, but we'd =
better ask them.

Thanks,
Aaron

--Apple-Mail=_D868C7C9-8975-422D-BFB4-CDAE9CFFD556
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----

iQIcBAEBCgAGBQJXBD3eAAoJEOTbZJL9ubXVK8wQAIbanOaSCdXclzaqFkzVvZRp
JUu3drwXl6cXUX5W5/hY07kWLA7b3r6BCHjFsw9cA1jZ2bltqHycRb9qwBZG2bXP
qsnOEcBSWytqsqbdepcO4xyesoDNEEJlwVEetfFmLIcyatn8u28HjjoVwjNDNXCV
8Eyg9mBDtOADWVu3VE6oyB70Gb4G1kVLfTIAmsbJmyQRmaUQI73z3R7PI4Jp09sO
1LcIHu0Vy/hq8DYe6MgVsCDHeLVu3KKgx/1Iw2i96sdz+aQB96rCpzWp3CekixrI
Q50jro2oRDeMc9nM0NQMSK18aR/sqXnCCH/EOfS9nT/6qq8jeirpF5ni5IpbAQlF
6k0eVc+vAuIumIdtOJe1hJ9VyJ5iJUTxAB7Th4FtzZZSVev/IlvduZzFKo60hyx0
PXLEmbqsrJEFWblhf0wpV/EyetM2gqO43+T8VPwoLLVs/0JyK1efY20d6M2WOksm
vqtuJiA2Tyto/zHv6iJtvOU372tXuh2E5344nd2BkE7yil9U0wnkXf/i5BcgmcOq
NC/OeL4uS7SSuIbmucNTcLr7ME1+Q5G2NOWoIKOVuIeJC4B500Piu1YbwG58E0Rs
0lnJu0m9J/2qdrZ9elDe1OkCVOotZ0r2C72Tosqm29EduXAMct043ik8NrNjA/EC
JAIkB29/ZUCdQdjkGbIl
=6hRA
-----END PGP SIGNATURE-----

--Apple-Mail=_D868C7C9-8975-422D-BFB4-CDAE9CFFD556--


From nobody Tue Apr  5 18:42:15 2016
Return-Path: <prbinu@yahoo.com>
X-Original-To: uta@ietfa.amsl.com
Delivered-To: uta@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DFB5412D17E for <uta@ietfa.amsl.com>; Tue,  5 Apr 2016 18:42:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.729
X-Spam-Level: 
X-Spam-Status: No, score=-2.729 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=yahoo.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 oWF61WuNo8AY for <uta@ietfa.amsl.com>; Tue,  5 Apr 2016 18:42:12 -0700 (PDT)
Received: from nm22-vm4.bullet.mail.sg3.yahoo.com (nm22-vm4.bullet.mail.sg3.yahoo.com [106.10.151.51]) (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 D332C12D173 for <uta@ietf.org>; Tue,  5 Apr 2016 18:42:11 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1459906929; bh=sgCSSA5c7J3f14I8e6F+8pAgIV8pUdn4TdlxBKXLbfw=; h=Date:From:Reply-To:To:Cc:In-Reply-To:References:Subject:From:Subject; b=b2KbA0T0dCXIszcMvYK6ALsQMInnKI0DnbTNi9tI829N52N7OnEDdwxeskIfx+v8r701YgKlVAoVrCm9JXaGZcZVxJ2k9UKji8yq0fPHlF4d39Mles5+pyI1Jp05VpzCrp63n3SXCH4vC0wXJhGpOcYgdNGQueGExcibu/ZBmW4K9y3cHtGBHCkfPgRZf5LHOfc8ajVoTe66Hqwj/UblCfO1il263/PK6pNpPD/Kgn8jifHW5CfzrMV/2hwXqbhByXiWLOws3io+kokQHLyd1iemlQodnAEXAd2jHMzgt2cRNNHIJcJg08jDiRZjlKVR9P1kLKHijW+c0zoMRXVAdA==
Received: from [106.10.166.126] by nm22.bullet.mail.sg3.yahoo.com with NNFMP;  06 Apr 2016 01:42:09 -0000
Received: from [106.10.150.25] by tm15.bullet.mail.sg3.yahoo.com with NNFMP; 06 Apr 2016 01:42:09 -0000
Received: from [127.0.0.1] by omp1026.mail.sg3.yahoo.com with NNFMP; 06 Apr 2016 01:42:09 -0000
X-Yahoo-Newman-Property: ymail-3
X-Yahoo-Newman-Id: 495399.82394.bm@omp1026.mail.sg3.yahoo.com
X-YMail-OSG: HZ70HsEVM1lZEiNIUkxLDXW6AxQjWX0WOBCgM_jTwjKPpJlNa1cCMxo5bGLLScr dhp_cxalDWxZaXTSjf6wZKj4a_n_d1YKgjcGdJ7AITykRkPnx1kxoHMxUwEn2.wemDdlhQVAUIUL _BAB8CYjYbrCse2fV_Fluexf0993wbfyIq7DAJxkbzOk_l9YPMru2mPEoxqyEE3m24abzmbpuwm7 aMBajDb83Esfef5q24A2qUFS5AbSifL09jGLe3mq6pUllLJm_b9g5_KFZKa7RMCcB8XgZ_sNYExU _OyuL2I4j__LK6Mwbrn1Hxkz6kHEDqYJUJXANyk0i1cPhvk9lReBFAYD7WP_ZzWXqWotfpShArIC VZQf0mgSbX4levk4tSkCWwBxsLc_XWw4TSX_uewV_X.wI6GUPk6l8Gnyww4XVGrBsMtS0T7NG6UY mf1_B1azojsCgVRk5VmP7Ks9G7dA99WjpuYfcAQgliU2Aq5D5l_1AR3iFIrDKoj5zHbTQcVWe8ca QjMqEfppJY9kzlasYA3jnQYmhPhcfvF0Vg9vKP.oYpGAR3SKAxw--
Received: by 106.10.196.91; Wed, 06 Apr 2016 01:42:09 +0000 
Date: Wed, 6 Apr 2016 01:42:08 +0000 (UTC)
From: Binu Ramakrishnan <prbinu@yahoo.com>
To: Aaron Zauner <azet@azet.org>
Message-ID: <1955107947.2541407.1459906928711.JavaMail.yahoo@mail.yahoo.com>
In-Reply-To: <4143301C-6311-409C-831B-E82BB00A080E@azet.org>
References: <4143301C-6311-409C-831B-E82BB00A080E@azet.org>
MIME-Version: 1.0
Content-Type: multipart/alternative;  boundary="----=_Part_2541406_1535318539.1459906928705"
Archived-At: <http://mailarchive.ietf.org/arch/msg/uta/SWU_8zbAQruuGn8H8ZSL8nkSuy4>
Cc: "uta@ietf.org" <uta@ietf.org>, "Orit Levin \(CELA\)" <oritl@microsoft.com>, Mark Risher <risher@google.com>, Daniel Margolis <dmargolis@google.com>
Subject: Re: [Uta] New proposal: SMTP Strict Transport Security
X-BeenThere: uta@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
Reply-To: Binu Ramakrishnan <prbinu@yahoo.com>
List-Id: UTA working group mailing list <uta.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/uta>, <mailto:uta-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/uta/>
List-Post: <mailto:uta@ietf.org>
List-Help: <mailto:uta-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/uta>, <mailto:uta-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 06 Apr 2016 01:42:14 -0000

------=_Part_2541406_1535318539.1459906928705
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Aaron, I think the=C2=A0important point here is when you say TOFU (Trust On=
 First Use) - that means no trust=C2=A0anchor is involved=C2=A0at least dur=
ing the initial step. In the case of STS, the policy is served over webpki.=
 In fact sender can possibly skip DNS indicator flag and directly fetch pol=
icies from recipient's well known HTTPS endpoint. Note that DNS STS record =
is a convenience, not a must to have component.
>=C2=A0One of the main issues currently is that most MTA-MTA traffic is ove=
r connections established without a CA signed certificate.=C2=A0You're now =
requiring them to use one anyhow, just in a different place.Using untrusted=
 cert is not a feature, but an important security issue that needs to be fi=
xed either through DANE or PKIX.
thanks,-binu
      From: Aaron Zauner <azet@azet.org>
 To: Binu Ramakrishnan <prbinu@yahoo.com>=20
Cc: Mark Risher <risher@google.com>; "uta@ietf.org" <uta@ietf.org>; Orit Le=
vin (CELA) <oritl@microsoft.com>; Daniel Margolis <dmargolis@google.com>
 Sent: Tuesday, 5 April 2016 3:26 PM
 Subject: Re: [Uta] New proposal: SMTP Strict Transport Security
  =20
Hi,

> On 05 Apr 2016, at 03:13, Binu Ramakrishnan <prbinu@yahoo.com> wrote:
> 1. TACK TOFU model promotes trusting self-signed certificates. It is simi=
lar to SSH and it is less trusted than PKIX.

You can use TACK with self-signed or with CA signed certificates. I'm not s=
ure I agree that there is less trust than with just PKIX.

> 2. What is the process followed when you change your MX from abc.com to x=
yz.com ? Basically explain how to differentiate a legitimate MX redirection=
 with an attacker diverting the traffic, especially in short notice?

A TACK pin is bound to a hostname and TACK signing key (TSK). While ordinar=
ily you'd probably just publish a new TACK for a new hostname it's possible=
 to have multiple hostnames signed by the same TSK and this could be used t=
o manage hostname-rollover if I'm not mistaken (the original draft does of =
course not consider this scenario).

You do have a similar problem with STS: You'd need DNSSEC to ensure that an=
 attacker can't divert traffic on the first connection attempt. You already=
 mention this in the "Future Work" section of your document under "certific=
ate pinning" (I think it's supposed to say "public key pinning"). One of th=
e main issues currently is that most MTA-MTA traffic is over connections es=
tablished without a CA signed certificate. You're now requiring them to use=
 one anyhow, just in a different place.

> 3. (repeating) Whether you use Git or append logs or "pins" from 3rd part=
y, you still need to fetch policies from a remote location possibly over HT=
TPS.

Sorry I think that wasn't clear: my discussion on git/CT/reporting and inte=
rest in your CT-related work had nothing to do with TACK or authentication.

>=20
> >It's a TOFU model. So you establish trust on first use / flight. From th=
ereon you have pins.
> > See above w.r.t. roll-over.
>=20
> Why to use TOFU, when there are better options? STS directly fetches poli=
cies over HTTPS and the trust is established over PKIX

Again; you may use PKIX with TACK.


Aaron

  
------=_Part_2541406_1535318539.1459906928705
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<html><head></head><body><div style=3D"color:#000; background-color:#fff; f=
ont-family:verdana, helvetica, sans-serif;font-size:13px"><div id=3D"yui_3_=
16_0_ym19_1_1459786707519_110821" dir=3D"ltr"><span id=3D"yui_3_16_0_ym19_1=
_1459786707519_110822">Aaron, I think the&nbsp;important point here is when=
 you say TOFU (Trust On First Use) - that means no trust&nbsp;anchor is inv=
olved&nbsp;at least during the initial step. In the case of STS, the policy=
 is served over webpki. In fact sender can possibly skip DNS indicator flag=
 and directly fetch policies from recipient's well known HTTPS endpoint. No=
te that DNS STS record is a convenience, not a must to have component.</spa=
n></div><div id=3D"yui_3_16_0_ym19_1_1459786707519_110821" dir=3D"ltr"><br>=
</div><div id=3D"yui_3_16_0_ym19_1_1459786707519_110821" dir=3D"ltr">&gt;&n=
bsp;<span style=3D"font-family: HelveticaNeue, 'Helvetica Neue', Helvetica,=
 Arial, 'Lucida Grande', sans-serif; font-size: 16px;" id=3D"yui_3_16_0_ym1=
9_1_1459786707519_112460">One of the main issues currently is that most MTA=
-MTA traffic is over connections established without a CA signed certificat=
e.&nbsp;</span><span style=3D"font-family: HelveticaNeue, 'Helvetica Neue',=
 Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 16px;" id=3D"yui=
_3_16_0_ym19_1_1459786707519_112504">You're now requiring them to use one a=
nyhow, just in a different place.</span></div><div id=3D"yui_3_16_0_ym19_1_=
1459786707519_110821" dir=3D"ltr">Using untrusted cert is not a feature, bu=
t an important security issue that needs to be fixed either through DANE or=
 PKIX.</div><div id=3D"yui_3_16_0_ym19_1_1459786707519_110821" dir=3D"ltr">=
<br></div><div class=3D"qtdSeparateBR" id=3D"yui_3_16_0_ym19_1_145978670751=
9_110772">thanks,</div><div class=3D"qtdSeparateBR" id=3D"yui_3_16_0_ym19_1=
_1459786707519_110772">-binu</div><div class=3D"qtdSeparateBR" id=3D"yui_3_=
16_0_ym19_1_1459786707519_110772"><br></div><div class=3D"yahoo_quoted" id=
=3D"yui_3_16_0_ym19_1_1459786707519_110776" style=3D"display: block;">  <di=
v style=3D"font-family: verdana, helvetica, sans-serif; font-size: 13px;" i=
d=3D"yui_3_16_0_ym19_1_1459786707519_110775"> <div style=3D"font-family: He=
lveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, Sans-Serif; f=
ont-size: 16px;" id=3D"yui_3_16_0_ym19_1_1459786707519_110774"> <div dir=3D=
"ltr" id=3D"yui_3_16_0_ym19_1_1459786707519_110773"> <font size=3D"2" face=
=3D"Arial" id=3D"yui_3_16_0_ym19_1_1459786707519_110937"> <hr size=3D"1" id=
=3D"yui_3_16_0_ym19_1_1459786707519_110958"> <b><span style=3D"font-weight:=
bold;">From:</span></b> Aaron Zauner &lt;azet@azet.org&gt;<br> <b><span sty=
le=3D"font-weight: bold;">To:</span></b> Binu Ramakrishnan &lt;prbinu@yahoo=
.com&gt; <br><b id=3D"yui_3_16_0_ym19_1_1459786707519_113276"><span style=
=3D"font-weight: bold;" id=3D"yui_3_16_0_ym19_1_1459786707519_113275">Cc:</=
span></b> Mark Risher &lt;risher@google.com&gt;; "uta@ietf.org" &lt;uta@iet=
f.org&gt;; Orit Levin (CELA) &lt;oritl@microsoft.com&gt;; Daniel Margolis &=
lt;dmargolis@google.com&gt;<br> <b id=3D"yui_3_16_0_ym19_1_1459786707519_11=
3274"><span style=3D"font-weight: bold;" id=3D"yui_3_16_0_ym19_1_1459786707=
519_113273">Sent:</span></b> Tuesday, 5 April 2016 3:26 PM<br> <b id=3D"yui=
_3_16_0_ym19_1_1459786707519_113280"><span style=3D"font-weight: bold;" id=
=3D"yui_3_16_0_ym19_1_1459786707519_113279">Subject:</span></b> Re: [Uta] N=
ew proposal: SMTP Strict Transport Security<br> </font> </div> <div class=
=3D"y_msg_container" id=3D"yui_3_16_0_ym19_1_1459786707519_110940"><br>Hi,<=
br clear=3D"none"><br clear=3D"none">&gt; On 05 Apr 2016, at 03:13, Binu Ra=
makrishnan &lt;<a shape=3D"rect" ymailto=3D"mailto:prbinu@yahoo.com" href=
=3D"mailto:prbinu@yahoo.com">prbinu@yahoo.com</a>&gt; wrote:<br clear=3D"no=
ne">&gt; 1. TACK TOFU model promotes trusting self-signed certificates. It =
is similar to SSH and it is less trusted than PKIX.<br clear=3D"none"><br c=
lear=3D"none">You can use TACK with self-signed or with CA signed certifica=
tes. I'm not sure I agree that there is less trust than with just PKIX.<br =
clear=3D"none"><br clear=3D"none">&gt; 2. What is the process followed when=
 you change your MX from abc.com to xyz.com ? Basically explain how to diff=
erentiate a legitimate MX redirection with an attacker diverting the traffi=
c, especially in short notice?<br clear=3D"none"><br clear=3D"none">A TACK =
pin is bound to a hostname and TACK signing key (TSK). While ordinarily you=
'd probably just publish a new TACK for a new hostname it's possible to hav=
e multiple hostnames signed by the same TSK and this could be used to manag=
e hostname-rollover if I'm not mistaken (the original draft does of course =
not consider this scenario).<br clear=3D"none"><br clear=3D"none">You do ha=
ve a similar problem with STS: You'd need DNSSEC to ensure that an attacker=
 can't divert traffic on the first connection attempt. You already mention =
this in the "Future Work" section of your document under "certificate pinni=
ng" (I think it's supposed to say "public key pinning"). One of the main is=
sues currently is that most MTA-MTA traffic is over connections established=
 without a CA signed certificate. You're now requiring them to use one anyh=
ow, just in a different place.<br clear=3D"none"><br clear=3D"none">&gt; 3.=
 (repeating) Whether you use Git or append logs or "pins" from 3rd party, y=
ou still need to fetch policies from a remote location possibly over HTTPS.=
<br clear=3D"none"><br clear=3D"none">Sorry I think that wasn't clear: my d=
iscussion on git/CT/reporting and interest in your CT-related work had noth=
ing to do with TACK or authentication.<div class=3D"yqt1750742307" id=3D"yq=
tfd59684"><br clear=3D"none"><br clear=3D"none">&gt; <br clear=3D"none">&gt=
; &gt;It's a TOFU model. So you establish trust on first use / flight. From=
 thereon you have pins.<br clear=3D"none">&gt; &gt; See above w.r.t. roll-o=
ver.<br clear=3D"none">&gt; <br clear=3D"none">&gt; Why to use TOFU, when t=
here are better options? STS directly fetches policies over HTTPS and the t=
rust is established over PKIX</div><br clear=3D"none"><br clear=3D"none">Ag=
ain; you may use PKIX with TACK.<br clear=3D"none"><br clear=3D"none"><br c=
lear=3D"none">Aaron<br><br></div> </div> </div>  </div></div></body></html>
------=_Part_2541406_1535318539.1459906928705--


From nobody Wed Apr  6 01:52:30 2016
Return-Path: <dmargolis@google.com>
X-Original-To: uta@ietfa.amsl.com
Delivered-To: uta@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E1F9312D125 for <uta@ietfa.amsl.com>; Wed,  6 Apr 2016 01:52:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.71
X-Spam-Level: 
X-Spam-Status: No, score=-2.71 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=google.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 I_YCVuHt1aiB for <uta@ietfa.amsl.com>; Wed,  6 Apr 2016 01:52:25 -0700 (PDT)
Received: from mail-io0-x22d.google.com (mail-io0-x22d.google.com [IPv6:2607:f8b0:4001:c06::22d]) (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 68B2912D0E6 for <uta@ietf.org>; Wed,  6 Apr 2016 01:52:15 -0700 (PDT)
Received: by mail-io0-x22d.google.com with SMTP id 2so48446604ioy.1 for <uta@ietf.org>; Wed, 06 Apr 2016 01:52:15 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=Ynuh4+yQ7DUbE81sEfgZg70YlENMy/vKu97TzJDL7bA=; b=TZX8sMtu+orGlgZR2Wgka9WL8B5/qDh4vCCpjSJ33V+zQcoe5d0iuW0vaBRZUhkv3D F7ZdYEijxGGnAOcvJKXG2Zn+ujqBJn8rLvmZOOvIulBg8TtJjf9xuRTj00axR2J1/CDl 9E2mMaBQLa+25kIkESb86Zmtypn8EqlDlr3GBWpd7rLlnr0/EgDYem05veyM70pxwHjY ZP+19eFENihIf5Sq8+O5Kui/sHA5dv7f6uOnj5+uIRrD9QS1MSeWcjGmSE0tAmI28a7U 9G1l8AzvkE+aorlmzZqWX6yJdfQaxXaVJxlfoxMoeRWCdrdDwDRbBjdkRqWeHkLJFC4Z 3PMA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=Ynuh4+yQ7DUbE81sEfgZg70YlENMy/vKu97TzJDL7bA=; b=I6QuzUfubLewlQaSHFTrFJdraqlAWtiQJOUeX76dvgKaw9WDbV0KUthB2B5RCfX0hA dGfu7U36r1ynIhiNSUXvhGtqMNqp0NkfxPTlgPMWldCeKeOJXKNrxuxRfYn8F3nFvl4O oyqxQIZOk8KvOLF/mX+OOEx3YjwWUKZ7QctM8K9lAzacK/j4sWwnxtH0vVdVLZ4Qcpba mtYDh04JPa5zaHxWzv44okVPT24jCAHPAnTq0Qa3LEzIhVaPm+E/ANPkvwT69uvTwE43 Aw0YTRqUvUPrRK9PVZtpzlWiX6tN3heQNcXk+jf+86ofYTYN3b/1aUVgXlTPRD9XlBkA q2Ug==
X-Gm-Message-State: AD7BkJI4qrNYmtA9a+d95A7HHUgbD1qYapU8aCX9aEnZjANKSE9WQCBaEaxmZbNjD1G1v4oInZ1gu7bN/RKIa4Om
MIME-Version: 1.0
X-Received: by 10.107.12.67 with SMTP id w64mr29480823ioi.114.1459932734571; Wed, 06 Apr 2016 01:52:14 -0700 (PDT)
Received: by 10.64.91.226 with HTTP; Wed, 6 Apr 2016 01:52:14 -0700 (PDT)
In-Reply-To: <1A3DB748-26E6-404D-84F5-962B3AA21AB4@azet.org>
References: <20160405002118.6f7bb0b274@8da9a8ad15f2049> <1570673069.2008767.1459813453573.JavaMail.yahoo@mail.yahoo.com> <835BFD7B-B8F1-43CD-8E6B-AC474E9A1741@azet.org> <CANtKdUewMQ5jVAUOaWfuUquFdDB_dh_jNEfAo7T=qruqzszGqw@mail.gmail.com> <1A3DB748-26E6-404D-84F5-962B3AA21AB4@azet.org>
Date: Wed, 6 Apr 2016 10:52:14 +0200
Message-ID: <CANtKdUf9MujQxZQMz8xbPi+EVOYXLWgR342x1-S8u12PPm-TAA@mail.gmail.com>
From: Daniel Margolis <dmargolis@google.com>
To: Aaron Zauner <azet@azet.org>
Content-Type: multipart/alternative; boundary=001a113f92b60b01fc052fcd1453
Archived-At: <http://mailarchive.ietf.org/arch/msg/uta/MrJQKwHO8l2SISn8W--KUNIHq6A>
Cc: "uta@ietf.org" <uta@ietf.org>, "Orit Levin \(CELA\)" <oritl@microsoft.com>, Binu Ramakrishnan <prbinu@yahoo.com>, Mark Risher <risher@google.com>
Subject: Re: [Uta] New proposal: SMTP Strict Transport Security
X-BeenThere: uta@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: UTA working group mailing list <uta.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/uta>, <mailto:uta-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/uta/>
List-Post: <mailto:uta@ietf.org>
List-Help: <mailto:uta-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/uta>, <mailto:uta-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 06 Apr 2016 08:52:29 -0000

--001a113f92b60b01fc052fcd1453
Content-Type: text/plain; charset=UTF-8

On Wed, Apr 6, 2016 at 12:36 AM, Aaron Zauner <azet@azet.org> wrote:

> Hi,
>
> > On 05 Apr 2016, at 11:16, Daniel Margolis <dmargolis@google.com> wrote:
> > Could you go a bit into what you consider "mx indirection" and where you
> see problems there? e.g. a specific problem statement. I'm not sure I
> follow.
> >
> > To slightly paraphrase Binu's reply, I think one of the (if not the) key
> challenges with SMTP STS is allowing the email domain to specify a routing
> policy (and maybe also a security policy, as discussed with Chris
> up-thread) regardless of whether it's also the email hosting domain.
> >
> > I'm not clear on how TACK can be used here.
>
> TACK isn't the right place to distribute information from. It's a TLS
> extension, it should be terse. My original idea was to use a SMTP extension
> along with required TACK-like authentication. The extension could send
> arbitrary information. As mentioned earlier, I'm not sure what the best way
> is to integrate this with STS.
>

Ah, I misunderstood. You weren't talking about policy bootstrapping--you
were talking about how to do cert auth. But even if we'd prefer TACK (which
isn't unreasonable by itself), do we really want to deviate from the
well-trodden path of webPKI? I think not--browser-to-webmail HTTPS is
already an existing piece of attack surface for most users, so reusing it
here is somewhat sensible. And convincing people to do something
new--especially if we have to design it from scratch--is biting off more
than I'd want to chew.


>
> >
> > One idea on how to use a CT-style append-only log is that you could use
> the log itself as the source of policies, and the log server can sort of do
> whatever it wants to for the log inclusion criteria (e.g. with CT the
> inclusion criteria are "must be an EV cert", but that's very arbitrary; a
> different log could include any policy served over validated HTTPS for any
> domain, or you could have a log that includes policies seen by EFF's
> outbound MTA--since the log is observable and append-only, it still feels a
> lot safer to me to do this than to use Github for policy distribution).
>
> Yes, I totally agree there. git was brought up in a discussion, we're not
> currently implementing anything in that direction. When we come back to
> this we'll see what's available from UTA etc. for us to use.
>

I think we should break this into a separate thread, but I'd be very
interested to continue this discussion. I think with this kind of
verifiable log infrastructure in place you could potentially solve the
policy bootstrap issues as well. This isn't something we'd want to gate a
v1 on, I don't think, but it's a worthwhile discussion.


>
> > I'm not sure about this intuition, though I only have a counter
> intuition. For the hosted scenario, a provider could simply set up an HTTPS
> endpoint for their client domains, use SNI, and fetch SSL certs for the
> client as part of a hosting package. For the self-hosted scenario, is it
> considerably harder? I'm not sure, but given how easy it is to set up a
> personal HTTPS endpoint with Let's Encrypt, I don't really see why. Am I
> far off base?
>
> While I see benefits to hosters, what I've seen from community projects
> like bettercrypto(.org) is there's a lot of misunderstanding on how to
> properly configure services, a lot of bad information sources around for
> sysadmins and barely any tooling to automate. Let's Encrypt now does
> automate on specific platforms and for specific daemons - we'll probably
> extend this to some degree for mail daemons in the future but there's also
> a lot of unwillingness among admins to use automation tools that require
> e.g. root. I feel that a lot of admins will reject going via HTTPS services
> just to serve mail in a secure fashion. I'm also not sure how willing
> software implementers will be to go this direction, but we'd better ask
> them.
>

One of my big questions to Viktor. :)


>
> Thanks,
> Aaron
>

--001a113f92b60b01fc052fcd1453
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo=
te">On Wed, Apr 6, 2016 at 12:36 AM, Aaron Zauner <span dir=3D"ltr">&lt;<a =
href=3D"mailto:azet@azet.org" target=3D"_blank">azet@azet.org</a>&gt;</span=
> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;bo=
rder-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<span class=3D""><br>
&gt; On 05 Apr 2016, at 11:16, Daniel Margolis &lt;<a href=3D"mailto:dmargo=
lis@google.com">dmargolis@google.com</a>&gt; wrote:<br>
&gt; Could you go a bit into what you consider &quot;mx indirection&quot; a=
nd where you see problems there? e.g. a specific problem statement. I&#39;m=
 not sure I follow.<br>
&gt;<br>
&gt; To slightly paraphrase Binu&#39;s reply, I think one of the (if not th=
e) key challenges with SMTP STS is allowing the email domain to specify a r=
outing policy (and maybe also a security policy, as discussed with Chris up=
-thread) regardless of whether it&#39;s also the email hosting domain.<br>
&gt;<br>
&gt; I&#39;m not clear on how TACK can be used here.<br>
<br>
</span>TACK isn&#39;t the right place to distribute information from. It&#3=
9;s a TLS extension, it should be terse. My original idea was to use a SMTP=
 extension along with required TACK-like authentication. The extension coul=
d send arbitrary information. As mentioned earlier, I&#39;m not sure what t=
he best way is to integrate this with STS.<br></blockquote><div><br></div><=
div>Ah, I misunderstood. You weren&#39;t talking about policy bootstrapping=
--you were talking about how to do cert auth. But even if we&#39;d prefer T=
ACK (which isn&#39;t unreasonable by itself), do we really want to deviate =
from the well-trodden path of webPKI? I think not--browser-to-webmail HTTPS=
 is already an existing piece of attack surface for most users, so reusing =
it here is somewhat sensible. And convincing people to do something new--es=
pecially if we have to design it from scratch--is biting off more than I&#3=
9;d want to chew.</div><div>=C2=A0</div><blockquote class=3D"gmail_quote" s=
tyle=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<span class=3D""><br>
&gt;<br>
&gt; One idea on how to use a CT-style append-only log is that you could us=
e the log itself as the source of policies, and the log server can sort of =
do whatever it wants to for the log inclusion criteria (e.g. with CT the in=
clusion criteria are &quot;must be an EV cert&quot;, but that&#39;s very ar=
bitrary; a different log could include any policy served over validated HTT=
PS for any domain, or you could have a log that includes policies seen by E=
FF&#39;s outbound MTA--since the log is observable and append-only, it stil=
l feels a lot safer to me to do this than to use Github for policy distribu=
tion).<br>
<br>
</span>Yes, I totally agree there. git was brought up in a discussion, we&#=
39;re not currently implementing anything in that direction. When we come b=
ack to this we&#39;ll see what&#39;s available from UTA etc. for us to use.=
<br></blockquote><div><br></div><div>I think we should break this into a se=
parate thread, but I&#39;d be very interested to continue this discussion. =
I think with this kind of verifiable log infrastructure in place you could =
potentially solve the policy bootstrap issues as well. This isn&#39;t somet=
hing we&#39;d want to gate a v1 on, I don&#39;t think, but it&#39;s a worth=
while discussion.=C2=A0</div><div>=C2=A0</div><blockquote class=3D"gmail_qu=
ote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex=
">
<span class=3D""><br>
&gt; I&#39;m not sure about this intuition, though I only have a counter in=
tuition. For the hosted scenario, a provider could simply set up an HTTPS e=
ndpoint for their client domains, use SNI, and fetch SSL certs for the clie=
nt as part of a hosting package. For the self-hosted scenario, is it consid=
erably harder? I&#39;m not sure, but given how easy it is to set up a perso=
nal HTTPS endpoint with Let&#39;s Encrypt, I don&#39;t really see why. Am I=
 far off base?<br>
<br>
</span>While I see benefits to hosters, what I&#39;ve seen from community p=
rojects like bettercrypto(.org) is there&#39;s a lot of misunderstanding on=
 how to properly configure services, a lot of bad information sources aroun=
d for sysadmins and barely any tooling to automate. Let&#39;s Encrypt now d=
oes automate on specific platforms and for specific daemons - we&#39;ll pro=
bably extend this to some degree for mail daemons in the future but there&#=
39;s also a lot of unwillingness among admins to use automation tools that =
require e.g. root. I feel that a lot of admins will reject going via HTTPS =
services just to serve mail in a secure fashion. I&#39;m also not sure how =
willing software implementers will be to go this direction, but we&#39;d be=
tter ask them.<br></blockquote><div><br></div><div>One of my big questions =
to Viktor. :)=C2=A0</div><div>=C2=A0</div><blockquote class=3D"gmail_quote"=
 style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Thanks,<br>
Aaron<br>
</blockquote></div><br></div></div>

--001a113f92b60b01fc052fcd1453--


From nobody Wed Apr  6 02:24:38 2016
Return-Path: <jgh@wizmail.org>
X-Original-To: uta@ietfa.amsl.com
Delivered-To: uta@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 839CC12D1E3 for <uta@ietfa.amsl.com>; Wed,  6 Apr 2016 02:24:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.91
X-Spam-Level: 
X-Spam-Status: No, score=-1.91 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01] 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 SnU7ODUD5qsr for <uta@ietfa.amsl.com>; Wed,  6 Apr 2016 02:24:34 -0700 (PDT)
Received: from wizmail.org (wizmail.org [IPv6:2a00:1940:107::2:0:0]) (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 999E012D0B6 for <uta@ietf.org>; Wed,  6 Apr 2016 02:24:34 -0700 (PDT)
Received: from [2a00:b900:109e:0:3e97:eff:feb2:e128] (helo=lap.dom.ain) by wizmail.org with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.86_RC122) id 1anjhQ-0002fH-Od for uta@ietf.org (return-path <jgh@wizmail.org>); Wed, 06 Apr 2016 09:24:32 +0000
To: uta@ietf.org
References: <20160405002118.6f7bb0b274@8da9a8ad15f2049> <1570673069.2008767.1459813453573.JavaMail.yahoo@mail.yahoo.com> <835BFD7B-B8F1-43CD-8E6B-AC474E9A1741@azet.org> <CANtKdUewMQ5jVAUOaWfuUquFdDB_dh_jNEfAo7T=qruqzszGqw@mail.gmail.com> <1A3DB748-26E6-404D-84F5-962B3AA21AB4@azet.org> <CANtKdUf9MujQxZQMz8xbPi+EVOYXLWgR342x1-S8u12PPm-TAA@mail.gmail.com>
From: Jeremy Harris <jgh@wizmail.org>
Message-ID: <5704D5C6.9010308@wizmail.org>
Date: Wed, 6 Apr 2016 10:24:22 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.1
MIME-Version: 1.0
In-Reply-To: <CANtKdUf9MujQxZQMz8xbPi+EVOYXLWgR342x1-S8u12PPm-TAA@mail.gmail.com>
Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="lDBnPwNNt2CH8rhlP0WvtlkNkE6Hr0pGQ"
X-Pcms-Received-Sender: [2a00:b900:109e:0:3e97:eff:feb2:e128] (helo=lap.dom.ain) with esmtpsa
Archived-At: <http://mailarchive.ietf.org/arch/msg/uta/dIeURx4-T8j-ykVxQiEjv_oyt3A>
Subject: Re: [Uta] New proposal: SMTP Strict Transport Security
X-BeenThere: uta@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: UTA working group mailing list <uta.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/uta>, <mailto:uta-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/uta/>
List-Post: <mailto:uta@ietf.org>
List-Help: <mailto:uta-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/uta>, <mailto:uta-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 06 Apr 2016 09:24:37 -0000

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--lDBnPwNNt2CH8rhlP0WvtlkNkE6Hr0pGQ
Content-Type: multipart/mixed; boundary="5FA978P1NQiKE6hgUewVgv3dLMIDWg6f9"
From: Jeremy Harris <jgh@wizmail.org>
To: uta@ietf.org
Message-ID: <5704D5C6.9010308@wizmail.org>
Subject: Re: [Uta] New proposal: SMTP Strict Transport Security
References: <20160405002118.6f7bb0b274@8da9a8ad15f2049>
 <1570673069.2008767.1459813453573.JavaMail.yahoo@mail.yahoo.com>
 <835BFD7B-B8F1-43CD-8E6B-AC474E9A1741@azet.org>
 <CANtKdUewMQ5jVAUOaWfuUquFdDB_dh_jNEfAo7T=qruqzszGqw@mail.gmail.com>
 <1A3DB748-26E6-404D-84F5-962B3AA21AB4@azet.org>
 <CANtKdUf9MujQxZQMz8xbPi+EVOYXLWgR342x1-S8u12PPm-TAA@mail.gmail.com>
In-Reply-To: <CANtKdUf9MujQxZQMz8xbPi+EVOYXLWgR342x1-S8u12PPm-TAA@mail.gmail.com>

--5FA978P1NQiKE6hgUewVgv3dLMIDWg6f9
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

On 06/04/16 09:52, Daniel Margolis wrote:
>  But even if we'd prefer TACK (which
> isn't unreasonable by itself), do we really want to deviate from the
> well-trodden path of webPKI? I think not--browser-to-webmail HTTPS is
> already an existing piece of attack surface for most users, so reusing =
it
> here is somewhat sensible.

Speaking as the maintainer of an MTA, no it is not.  Having to add
support for another protocol to an application which deals in SMTP,
and knows how to use a library to get DNS, just feels wrong.  I'd
feel an extreme lack of enthusiasm for ever getting around to
implementing such.
--=20
Jeremy                                  jgh@exim.org



--5FA978P1NQiKE6hgUewVgv3dLMIDWg6f9--

--lDBnPwNNt2CH8rhlP0WvtlkNkE6Hr0pGQ
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJXBNXQAAoJELzljIzkHzLfuGAH/3sTAFW8i6O4cRhW3tRlp2Yo
szRJtHwUk0iUba6caacR5N0fZtH2bh0PmTsrrg9ciWPONCIURaGrFDMYM8klfLtH
7gURDDOhzit0bc+YWjRJJWZNWaKrzj+8Q8TmcG0pow2DOm6uCeQtOW4ETzcTM12K
1FY4PuGLHUzzbm7o4Vu5FFx/du4pmrG/RkNU3Dazwvh5OP6BAvkWjymGqTUHDuuh
v/evxW+dcNjCVEs27rrahsUtTu2eoeHmAYCHtkmJ/NADp4cuBIj/3QFgcfaKKh00
MJkvewXLs3VuUht+r86yMNuwUNYnTc3d+xRKExkCJMdwnOeg/zj8HK5i5C1c6W0=
=GaGl
-----END PGP SIGNATURE-----

--lDBnPwNNt2CH8rhlP0WvtlkNkE6Hr0pGQ--


From nobody Wed Apr  6 02:49:26 2016
Return-Path: <dmargolis@google.com>
X-Original-To: uta@ietfa.amsl.com
Delivered-To: uta@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id AF16A12D0B6 for <uta@ietfa.amsl.com>; Wed,  6 Apr 2016 02:49:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.71
X-Spam-Level: 
X-Spam-Status: No, score=-2.71 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=google.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 FzkCs_rhCjxo for <uta@ietfa.amsl.com>; Wed,  6 Apr 2016 02:49:22 -0700 (PDT)
Received: from mail-io0-x236.google.com (mail-io0-x236.google.com [IPv6:2607:f8b0:4001:c06::236]) (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 7091612D09C for <uta@ietf.org>; Wed,  6 Apr 2016 02:49:22 -0700 (PDT)
Received: by mail-io0-x236.google.com with SMTP id 2so49775965ioy.1 for <uta@ietf.org>; Wed, 06 Apr 2016 02:49:22 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=1fVJDlvK9dDD9v0q48y2UvIyuCKhYN3T4VjCbZSL2Ek=; b=nNifkseWaThMaglF1Y+sEhi7m5nrnJngGD9p7C0LT8D0J3DV2PeHRoh9otlnjNvGel CVrPGIQM/tb46neXNxSUxrpzbMpjTl1iRSccwM/tnwxyBy9g6fI2H65pC5iTW5CIfz0P T/myXhNoQsOtxOfHFvE+hIzh8GtdGb89BfR4dAPZLFINeyIGxnfsqgbLTjE0COoOmup/ 3/bhCb5VHkPBVIDfyZKUMWROHkZ2AQ7NKa3vM/NatHzM4jEQRV7ad/3NaWsgk6C7GUl+ bTE1CgK5eDyvTrhdqMKwFgh8ldEizRczukWMyhdx7VxRQkGq8wgLSXRuR5D9qshLwhuS 7EuA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=1fVJDlvK9dDD9v0q48y2UvIyuCKhYN3T4VjCbZSL2Ek=; b=ifRQOagI0Sq5DYyZlulYWDyc+nBmDwaaeTqVecIHwhwh9lWSX1gECwTR2eRm1+F39G TPIrxpiD8dHhyQ4aja2BEK1WQF07MHmqmzTKkd3ygkgoXk3s/k/MxgJV/IxQ3Qenfr+p ysX/4MLvj4qCVhOvwSJL5usMdhP6vM1lhcey6oFYbMqZsRb1ag+OBoKHOXso5nVBhy5f FyT5IFCZoIz7qlZ+v/pbBU7YP33zWSXD66lOlm14SGj1QjdLQKYUxrbtbLmHXFApPrAS JJ//6r383kxB0kWKn43Uxj9gxq/wVrQKIH40xmRG2rEjkvIomwp/34NbrN0gj3usGKkp LcFw==
X-Gm-Message-State: AD7BkJLCEJkW3JZ3zUVXmMEsIJgJrFWP3NVZKhxLDDhMM4D6Sg3WXp3A2Fbrc6c67yQf+Li7K5UyuRfqXrW0wGYx
MIME-Version: 1.0
X-Received: by 10.107.161.140 with SMTP id k134mr3493438ioe.190.1459936161503;  Wed, 06 Apr 2016 02:49:21 -0700 (PDT)
Received: by 10.64.91.226 with HTTP; Wed, 6 Apr 2016 02:49:21 -0700 (PDT)
In-Reply-To: <5704D5C6.9010308@wizmail.org>
References: <20160405002118.6f7bb0b274@8da9a8ad15f2049> <1570673069.2008767.1459813453573.JavaMail.yahoo@mail.yahoo.com> <835BFD7B-B8F1-43CD-8E6B-AC474E9A1741@azet.org> <CANtKdUewMQ5jVAUOaWfuUquFdDB_dh_jNEfAo7T=qruqzszGqw@mail.gmail.com> <1A3DB748-26E6-404D-84F5-962B3AA21AB4@azet.org> <CANtKdUf9MujQxZQMz8xbPi+EVOYXLWgR342x1-S8u12PPm-TAA@mail.gmail.com> <5704D5C6.9010308@wizmail.org>
Date: Wed, 6 Apr 2016 11:49:21 +0200
Message-ID: <CANtKdUfsH7u+iv4NsQGovKWRDuYwCqpcEb1n0LXRo1Xx09EKhg@mail.gmail.com>
From: Daniel Margolis <dmargolis@google.com>
To: Jeremy Harris <jgh@wizmail.org>
Content-Type: multipart/alternative; boundary=001a1140fff04d8b32052fcde01a
Archived-At: <http://mailarchive.ietf.org/arch/msg/uta/fPq_VRAZW3dBMnBjo3oyS_dPlNc>
Cc: uta@ietf.org
Subject: Re: [Uta] New proposal: SMTP Strict Transport Security
X-BeenThere: uta@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: UTA working group mailing list <uta.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/uta>, <mailto:uta-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/uta/>
List-Post: <mailto:uta@ietf.org>
List-Help: <mailto:uta-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/uta>, <mailto:uta-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 06 Apr 2016 09:49:25 -0000

--001a1140fff04d8b32052fcde01a
Content-Type: text/plain; charset=UTF-8

The discussion about TACK doesn't address the question of how to get
policies out of band--Aaron, as far as I read it, is merely suggesting to
use TACK for cert authentication. Not to disregard the issue you raise, but
it's unrelated to the one I was discussing. My point was that it's
reasonable to mimic the HTTPS trust model, not that it's desirable to bring
in an HTTPS dependency in the MTA.

Regarding your point:

I do agree that an SMTP dependency on HTTPS doesn't feel great, but what
are the concrete issues? Is libcurl that much worse than libresolv? In
reality, you're delegating to some client library in both cases. DNS is
better in the common case, in that it has a more robust caching
infrastructure, but since we rely (by necessity, to ensure the security
model works) on policy caching explicitly, that's irrelevant to our usage.

I can think of a few cases that may be problematic--in a big deployment,
the MTAs might be unable to talk to the outside world over port 443, for
example. That's a real issue, though I think a solvable one (e.g. by
delegating policy updating to a different process or machine).

(For some at least somewhat interesting context,
https://www.ietf.org/mail-archive/web/dnsop/current/msg15195.html,
https://developers.google.com/speed/public-dns/docs/dns-over-https.)

That said, "extreme lack of enthusiasm" is of course not what I want to
hear. Aside from "don't do that", do you have any suggestions? What are the
concrete issues that make this particularly unappealing?

Dan

On Wed, Apr 6, 2016 at 11:24 AM, Jeremy Harris <jgh@wizmail.org> wrote:

> On 06/04/16 09:52, Daniel Margolis wrote:
> >  But even if we'd prefer TACK (which
> > isn't unreasonable by itself), do we really want to deviate from the
> > well-trodden path of webPKI? I think not--browser-to-webmail HTTPS is
> > already an existing piece of attack surface for most users, so reusing it
> > here is somewhat sensible.
>
> Speaking as the maintainer of an MTA, no it is not.  Having to add
> support for another protocol to an application which deals in SMTP,
> and knows how to use a library to get DNS, just feels wrong.  I'd
> feel an extreme lack of enthusiasm for ever getting around to
> implementing such.
> --
> Jeremy                                  jgh@exim.org
>
>
>
> _______________________________________________
> Uta mailing list
> Uta@ietf.org
> https://www.ietf.org/mailman/listinfo/uta
>
>

--001a1140fff04d8b32052fcde01a
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">The discussion about TACK doesn&#39;t address the question=
 of how to get policies out of band--Aaron, as far as I read it, is merely =
suggesting to use TACK for cert authentication. Not to disregard the issue =
you raise, but it&#39;s unrelated to the one I was discussing. My point was=
 that it&#39;s reasonable to mimic the HTTPS trust model, not that it&#39;s=
 desirable to bring in an HTTPS dependency in the MTA.=C2=A0<div><br></div>=
<div>Regarding your point:<br><div><br></div><div>I do agree that an SMTP d=
ependency on HTTPS doesn&#39;t feel great, but what are the concrete issues=
? Is libcurl that much worse than libresolv? In reality, you&#39;re delegat=
ing to some client library in both cases. DNS is better in the common case,=
 in that it has a more robust caching infrastructure, but since we rely (by=
 necessity, to ensure the security model works) on policy caching explicitl=
y, that&#39;s irrelevant to our usage.=C2=A0</div><div><br></div><div>I can=
 think of a few cases that may be problematic--in a big deployment, the MTA=
s might be unable to talk to the outside world over port 443, for example. =
That&#39;s a real issue, though I think a solvable one (e.g. by delegating =
policy updating to a different process or machine).</div><div><br></div><di=
v>(For some at least somewhat interesting context,=C2=A0<a href=3D"https://=
www.ietf.org/mail-archive/web/dnsop/current/msg15195.html">https://www.ietf=
.org/mail-archive/web/dnsop/current/msg15195.html</a>,=C2=A0<a href=3D"http=
s://developers.google.com/speed/public-dns/docs/dns-over-https">https://dev=
elopers.google.com/speed/public-dns/docs/dns-over-https</a>.)=C2=A0</div><d=
iv><br></div><div>That said, &quot;extreme lack of enthusiasm&quot; is of c=
ourse not what I want to hear. Aside from &quot;don&#39;t do that&quot;, do=
 you have any suggestions? What are the concrete issues that make this part=
icularly unappealing?=C2=A0</div><div><br></div><div>Dan</div></div></div><=
div class=3D"gmail_extra"><br><div class=3D"gmail_quote">On Wed, Apr 6, 201=
6 at 11:24 AM, Jeremy Harris <span dir=3D"ltr">&lt;<a href=3D"mailto:jgh@wi=
zmail.org" target=3D"_blank">jgh@wizmail.org</a>&gt;</span> wrote:<br><bloc=
kquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #cc=
c solid;padding-left:1ex"><span class=3D"">On 06/04/16 09:52, Daniel Margol=
is wrote:<br>
&gt;=C2=A0 But even if we&#39;d prefer TACK (which<br>
&gt; isn&#39;t unreasonable by itself), do we really want to deviate from t=
he<br>
&gt; well-trodden path of webPKI? I think not--browser-to-webmail HTTPS is<=
br>
&gt; already an existing piece of attack surface for most users, so reusing=
 it<br>
&gt; here is somewhat sensible.<br>
<br>
</span>Speaking as the maintainer of an MTA, no it is not.=C2=A0 Having to =
add<br>
support for another protocol to an application which deals in SMTP,<br>
and knows how to use a library to get DNS, just feels wrong.=C2=A0 I&#39;d<=
br>
feel an extreme lack of enthusiasm for ever getting around to<br>
implementing such.<br>
<span class=3D"HOEnZb"><font color=3D"#888888">--<br>
Jeremy=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=
 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 <a href=3D"mailto:jgh@exi=
m.org">jgh@exim.org</a><br>
<br>
<br>
</font></span><br>_______________________________________________<br>
Uta mailing list<br>
<a href=3D"mailto:Uta@ietf.org">Uta@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/uta" rel=3D"noreferrer" ta=
rget=3D"_blank">https://www.ietf.org/mailman/listinfo/uta</a><br>
<br></blockquote></div><br></div>

--001a1140fff04d8b32052fcde01a--


From nobody Wed Apr  6 03:12:52 2016
Return-Path: <jgh@wizmail.org>
X-Original-To: uta@ietfa.amsl.com
Delivered-To: uta@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4DEC012D13B for <uta@ietfa.amsl.com>; Wed,  6 Apr 2016 03:12:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.91
X-Spam-Level: 
X-Spam-Status: No, score=-1.91 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01] 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 b1_YqHnOuw5T for <uta@ietfa.amsl.com>; Wed,  6 Apr 2016 03:12:50 -0700 (PDT)
Received: from wizmail.org (wizmail.org [IPv6:2a00:1940:107::2:0:0]) (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 D720712D10B for <uta@ietf.org>; Wed,  6 Apr 2016 03:12:49 -0700 (PDT)
Received: from [2a00:b900:109e:0:3e97:eff:feb2:e128] (helo=lap.dom.ain) by wizmail.org with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.86_RC122) id 1ankS7-0005qB-5t for uta@ietf.org (return-path <jgh@wizmail.org>); Wed, 06 Apr 2016 10:12:47 +0000
To: uta@ietf.org
References: <20160405002118.6f7bb0b274@8da9a8ad15f2049> <1570673069.2008767.1459813453573.JavaMail.yahoo@mail.yahoo.com> <835BFD7B-B8F1-43CD-8E6B-AC474E9A1741@azet.org> <CANtKdUewMQ5jVAUOaWfuUquFdDB_dh_jNEfAo7T=qruqzszGqw@mail.gmail.com> <1A3DB748-26E6-404D-84F5-962B3AA21AB4@azet.org> <CANtKdUf9MujQxZQMz8xbPi+EVOYXLWgR342x1-S8u12PPm-TAA@mail.gmail.com> <5704D5C6.9010308@wizmail.org> <CANtKdUfsH7u+iv4NsQGovKWRDuYwCqpcEb1n0LXRo1Xx09EKhg@mail.gmail.com>
From: Jeremy Harris <jgh@wizmail.org>
Message-ID: <5704E117.7090801@wizmail.org>
Date: Wed, 6 Apr 2016 11:12:39 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.1
MIME-Version: 1.0
In-Reply-To: <CANtKdUfsH7u+iv4NsQGovKWRDuYwCqpcEb1n0LXRo1Xx09EKhg@mail.gmail.com>
Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="OoVwU9lh7cSTRDGpVdIc46lHJ40qJS1xP"
X-Pcms-Received-Sender: [2a00:b900:109e:0:3e97:eff:feb2:e128] (helo=lap.dom.ain) with esmtpsa
Archived-At: <http://mailarchive.ietf.org/arch/msg/uta/AwmfFn_SQe1_T464RJLWw6caBZ0>
Subject: Re: [Uta] New proposal: SMTP Strict Transport Security
X-BeenThere: uta@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: UTA working group mailing list <uta.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/uta>, <mailto:uta-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/uta/>
List-Post: <mailto:uta@ietf.org>
List-Help: <mailto:uta-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/uta>, <mailto:uta-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 06 Apr 2016 10:12:51 -0000

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--OoVwU9lh7cSTRDGpVdIc46lHJ40qJS1xP
Content-Type: multipart/mixed; boundary="6pdHB56wMHoLhbJBIk7dUuK8CsgEcUew2"
From: Jeremy Harris <jgh@wizmail.org>
To: uta@ietf.org
Message-ID: <5704E117.7090801@wizmail.org>
Subject: Re: [Uta] New proposal: SMTP Strict Transport Security
References: <20160405002118.6f7bb0b274@8da9a8ad15f2049>
 <1570673069.2008767.1459813453573.JavaMail.yahoo@mail.yahoo.com>
 <835BFD7B-B8F1-43CD-8E6B-AC474E9A1741@azet.org>
 <CANtKdUewMQ5jVAUOaWfuUquFdDB_dh_jNEfAo7T=qruqzszGqw@mail.gmail.com>
 <1A3DB748-26E6-404D-84F5-962B3AA21AB4@azet.org>
 <CANtKdUf9MujQxZQMz8xbPi+EVOYXLWgR342x1-S8u12PPm-TAA@mail.gmail.com>
 <5704D5C6.9010308@wizmail.org>
 <CANtKdUfsH7u+iv4NsQGovKWRDuYwCqpcEb1n0LXRo1Xx09EKhg@mail.gmail.com>
In-Reply-To: <CANtKdUfsH7u+iv4NsQGovKWRDuYwCqpcEb1n0LXRo1Xx09EKhg@mail.gmail.com>

--6pdHB56wMHoLhbJBIk7dUuK8CsgEcUew2
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

On 06/04/16 10:49, Daniel Margolis wrote:
> I do agree that an SMTP dependency on HTTPS doesn't feel great, but wha=
t
> are the concrete issues? Is libcurl that much worse than libresolv?

Nothing concrete.  However, you are not swapping libresolv for libcurl,
you're adding libcurl to the assemblage.  Bloat, in runtime memory
footprint, in exec linkage cpu time, in maintainer/developer load.
--=20
Cheers,
  Jeremy



--6pdHB56wMHoLhbJBIk7dUuK8CsgEcUew2--

--OoVwU9lh7cSTRDGpVdIc46lHJ40qJS1xP
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJXBOEXAAoJELzljIzkHzLf+D4IAL2w5s9Kr//SstvANhGISk0u
hJhG2Rl67Kfu4FVK0VCB0kZ5YxA52x+jaPvUk0ULCtp1foMtsy2cwtSdMEumWPpe
rac9D10MEbl0/YMtJ1a1N+TcgwrDMX22CU5tgXfNNZl+IMcxrSB5oI6OZ1kvTa+G
Uuf4OdP5kX4ntJvfrafj6B0hhAyxdUiiDCYveZWVXxRqiSbG/fK0jqWEuROtMC/F
Gyh9fVFN71edtPdWjWlC0XB9fWbgcMUs/ara5Je2LkKbEIZYmoNjiRUvKa/1y43v
j6V8bpstIEp8UvmXbzQD+4YYSgyKy9F3uNqju8P7V+2Q2DO5iBxeXxjep/ucWHc=
=kxN1
-----END PGP SIGNATURE-----

--OoVwU9lh7cSTRDGpVdIc46lHJ40qJS1xP--


From nobody Wed Apr  6 06:57:37 2016
Return-Path: <ned+uta@mrochek.com>
X-Original-To: uta@ietfa.amsl.com
Delivered-To: uta@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E3CA812D1AF for <uta@ietfa.amsl.com>; Wed,  6 Apr 2016 06:57:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.012
X-Spam-Level: 
X-Spam-Status: No, score=-2.012 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] 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 6ego5eq6NzQJ for <uta@ietfa.amsl.com>; Wed,  6 Apr 2016 06:57:34 -0700 (PDT)
Received: from mauve.mrochek.com (mauve.mrochek.com [68.183.62.69]) (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 8DB0612D525 for <uta@ietf.org>; Wed,  6 Apr 2016 06:57:33 -0700 (PDT)
Received: from dkim-sign.mauve.mrochek.com by mauve.mrochek.com (PMDF V6.1-1 #35243) id <01PYOMC01S9C00FESX@mauve.mrochek.com> for uta@ietf.org; Wed, 6 Apr 2016 06:52:30 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=mrochek.com; s=mauve; t=1459950750; bh=/ZNwAXXKvlcBc94h3YeBWOopdkkyK8GmrlKll2VfAl4=; h=From:Cc:Date:Subject:In-reply-to:References:To; b=a7LHAw9flP4H+WvEg7TPuAIcedOmGaxRMaPWps+IUzi04s4l7HzEr6VCtbWob8NJN ieeeJ5BgcvkzH52/Hjf5IKqGg6dX96FoTn0RGt4bO9GFhnMMlElnEl1smINkuEQZWA cBxVqDEAc4sFHQWmkEnmQOL9T0FUmvGx7YgBGsSI=
MIME-version: 1.0
Content-transfer-encoding: 7BIT
Content-type: text/plain; CHARSET=US-ASCII
Received: from mauve.mrochek.com by mauve.mrochek.com (PMDF V6.1-1 #35243) id <01PYL04N2GJK00005M@mauve.mrochek.com> (original mail from NED@mauve.mrochek.com) for uta@ietf.org; Wed, 06 Apr 2016 06:52:28 -0700 (PDT)
From: ned+uta@mrochek.com
Message-id: <01PYOMBYL75S00005M@mauve.mrochek.com>
Date: Wed, 06 Apr 2016 06:34:58 -0700 (PDT)
In-reply-to: "Your message dated Wed, 06 Apr 2016 10:24:22 +0100" <5704D5C6.9010308@wizmail.org>
References: <20160405002118.6f7bb0b274@8da9a8ad15f2049> <1570673069.2008767.1459813453573.JavaMail.yahoo@mail.yahoo.com> <835BFD7B-B8F1-43CD-8E6B-AC474E9A1741@azet.org> <CANtKdUewMQ5jVAUOaWfuUquFdDB_dh_jNEfAo7T=qruqzszGqw@mail.gmail.com> <1A3DB748-26E6-404D-84F5-962B3AA21AB4@azet.org> <CANtKdUf9MujQxZQMz8xbPi+EVOYXLWgR342x1-S8u12PPm-TAA@mail.gmail.com> <5704D5C6.9010308@wizmail.org>
To: Jeremy Harris <jgh@wizmail.org>
Archived-At: <http://mailarchive.ietf.org/arch/msg/uta/gu-mCVrq8Q9QgY3iNB3ys9yZ-n0>
Cc: uta@ietf.org
Subject: Re: [Uta] New proposal: SMTP Strict Transport Security
X-BeenThere: uta@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: UTA working group mailing list <uta.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/uta>, <mailto:uta-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/uta/>
List-Post: <mailto:uta@ietf.org>
List-Help: <mailto:uta-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/uta>, <mailto:uta-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 06 Apr 2016 13:57:36 -0000

> On 06/04/16 09:52, Daniel Margolis wrote:
> >  But even if we'd prefer TACK (which
> > isn't unreasonable by itself), do we really want to deviate from the
> > well-trodden path of webPKI? I think not--browser-to-webmail HTTPS is
> > already an existing piece of attack surface for most users, so reusing it
> > here is somewhat sensible.

> Speaking as the maintainer of an MTA, no it is not.  Having to add
> support for another protocol to an application which deals in SMTP,
> and knows how to use a library to get DNS, just feels wrong.

As I indicated in the Jabber chat session the other day, I'm 100% with Jeremy
on this. This expands the attack surface of the MTA considerably, and like it
or not that has to be considered as part of the security tradeoffs we're making
here.

Nor did the suggestion that prefetching, caching, and similar techniques
somehow ameliorate this impress me. While it may be possible to perform some or
even all of these http operations outside of critical SMTP client code, the MTA
has to perform them somewhere, somehow.

I briefly considered calling for a limited profile of https for this purpose,
but I don't see how that can possibly work. Just as we know that the way some
people are going to implement the client side of this is by throwing an
existing, hugely  complex https library into their SMTP client, it's even more
certain that the way people are going to implement the server part of this is
by throwing up a web server using whatever existing web server technology they
have lying around, with all that implies.

> I'd
> feel an extreme lack of enthusiasm for ever getting around to
> implementing such.

FWIW, if this comes to pass given our customer base we won't really have an
option not to implement it. But I think the way I'm going to handle it is by
building on top of an existing minimal https client we already have, and adding
additional capabilties as the need arises. And if that causes ongoing
interoperability issues, that's just too bad.

				Ned


From nobody Wed Apr  6 07:53:25 2016
Return-Path: <johnl@taugh.com>
X-Original-To: uta@ietfa.amsl.com
Delivered-To: uta@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9C69612D0ED for <uta@ietfa.amsl.com>; Wed,  6 Apr 2016 07:53:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level: 
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-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 vChFclQz17Mf for <uta@ietfa.amsl.com>; Wed,  6 Apr 2016 07:53:22 -0700 (PDT)
Received: from miucha.iecc.com (abusenet-1-pt.tunnel.tserv4.nyc4.ipv6.he.net [IPv6:2001:470:1f06:1126::2]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2ED8E12D5DE for <uta@ietf.org>; Wed,  6 Apr 2016 07:53:18 -0700 (PDT)
Received: (qmail 51301 invoked from network); 6 Apr 2016 14:53:17 -0000
Received: from unknown (64.57.183.18) by mail1.iecc.com with QMQP; 6 Apr 2016 14:53:17 -0000
Date: 6 Apr 2016 14:52:55 -0000
Message-ID: <20160406145255.52033.qmail@ary.lan>
From: "John Levine" <johnl@taugh.com>
To: uta@ietf.org
In-Reply-To: <01PYOMBYL75S00005M@mauve.mrochek.com>
Organization: 
X-Headerized: yes
Mime-Version: 1.0
Content-type: text/plain; charset=utf-8
Content-transfer-encoding: 8bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/uta/RqaG1h9uzJy32jqbKXSJHaUUeK0>
Cc: ned+uta@mrochek.com
Subject: Re: [Uta] New proposal: SMTP Strict Transport Security
X-BeenThere: uta@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: UTA working group mailing list <uta.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/uta>, <mailto:uta-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/uta/>
List-Post: <mailto:uta@ietf.org>
List-Help: <mailto:uta-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/uta>, <mailto:uta-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 06 Apr 2016 14:53:23 -0000

>> Speaking as the maintainer of an MTA, no it is not.  Having to add
>> support for another protocol to an application which deals in SMTP,
>> and knows how to use a library to get DNS, just feels wrong.

At the dinner a few nights ago we spent a lot of time thinking about
this, and I believe there was a general sense that asking MTAs to
become https clients isn't going to work.  But in the absence
of DNSSEC, we didn't have any better ideas.

R's,
John


From nobody Wed Apr  6 08:34:06 2016
Return-Path: <dmargolis@google.com>
X-Original-To: uta@ietfa.amsl.com
Delivered-To: uta@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 15B8012D11F for <uta@ietfa.amsl.com>; Wed,  6 Apr 2016 08:34:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.71
X-Spam-Level: 
X-Spam-Status: No, score=-2.71 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=google.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 V6UwKMTDo3nL for <uta@ietfa.amsl.com>; Wed,  6 Apr 2016 08:34:03 -0700 (PDT)
Received: from mail-ig0-x233.google.com (mail-ig0-x233.google.com [IPv6:2607:f8b0:4001:c05::233]) (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 D1A9E12D17D for <uta@ietf.org>; Wed,  6 Apr 2016 08:34:02 -0700 (PDT)
Received: by mail-ig0-x233.google.com with SMTP id g8so45445372igr.0 for <uta@ietf.org>; Wed, 06 Apr 2016 08:34:02 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=gnFtSudPD8uvEBV4Bb30uYf6j/UrJmPAPcDH1U8SA1g=; b=aC/qEPK/8Eku3J6xVUepnmJZag4U9m3HnwW0h+zhl/D95WK1rVbbRO92d/gyGTq/tZ wGg6LJFhABWwjF+cqMPjlNTXW1hxYJTVnEGNStfOLO1TZPPiMxgc6AIjY2y6JKuAwaJA i/D1icrAnWDxiZiexToPmHfY2xrhql7sNTeOcVQ/lWicHDnCzfWw2gvCQvs7eUlsIRuL 6LxUocH2p9/XMLAiwO0TUCb+xKP+43TsTGDBEjMdVXrFEqcn/Z6bvdoQdNMj58kJf60S Ii1QIw9VQxeFjBHLdrgbUvCNS15QTr+qGL/gNsI5/jeHXjBgsCBztTmMy8JJG/omz24L mfTg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=gnFtSudPD8uvEBV4Bb30uYf6j/UrJmPAPcDH1U8SA1g=; b=me1+WVjkPscVmG47b3KCiUoNiRBoivk4iR7oxg2UUbkW7/CTFmolrW5tjZRA/zbbgl tJD2jdzmlyOv98vdYjpL2gTa/RlOP0i6L5haX0B7GNPKvtbf2PDNgRcpMy1N17JFNBSs MB6lkJjroAIXw01TTrT+eAaI7xNCPcCiSu8DyoenP7I7djysy+Xwe7ywqylKPZFDmF1F fUMv9qkqueCtLjNM9zblm2FAbSW+AcR1BDVSl+lR6cIf4cRpJf0SR2X92UmeqcyZE/SM IaorlmKQo6moI18ZwKctvxE6F2dCmrXl7nOcuFJMnTCEgTholU/0JpOUco7atFOznBHI oUsg==
X-Gm-Message-State: AD7BkJJvIHtMbt7OKaW4YCO+g2HjRM0qpDNKlyn9I9hJzeJ2DJJ1kvqRbS4E2cefSOfUh9TpkDLO9nzR/EyfVl8d
MIME-Version: 1.0
X-Received: by 10.50.47.49 with SMTP id a17mr24249628ign.35.1459956841952; Wed, 06 Apr 2016 08:34:01 -0700 (PDT)
Received: by 10.64.91.226 with HTTP; Wed, 6 Apr 2016 08:34:01 -0700 (PDT)
In-Reply-To: <20160406145255.52033.qmail@ary.lan>
References: <01PYOMBYL75S00005M@mauve.mrochek.com> <20160406145255.52033.qmail@ary.lan>
Date: Wed, 6 Apr 2016 17:34:01 +0200
Message-ID: <CANtKdUezq-Rb9mhQHDwb18BGDD811rMcdC=hAB6yY7gkdE-AMw@mail.gmail.com>
From: Daniel Margolis <dmargolis@google.com>
To: John Levine <johnl@taugh.com>
Content-Type: multipart/alternative; boundary=089e01229fa6f44c44052fd2b034
Archived-At: <http://mailarchive.ietf.org/arch/msg/uta/BTiFCijCEBpZcwenWSWwDaC16C4>
Cc: uta@ietf.org, ned+uta@mrochek.com
Subject: Re: [Uta] New proposal: SMTP Strict Transport Security
X-BeenThere: uta@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: UTA working group mailing list <uta.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/uta>, <mailto:uta-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/uta/>
List-Post: <mailto:uta@ietf.org>
List-Help: <mailto:uta-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/uta>, <mailto:uta-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 06 Apr 2016 15:34:05 -0000

--089e01229fa6f44c44052fd2b034
Content-Type: text/plain; charset=UTF-8

That's a pretty depressing conclusion, but yes, I think this is a
compromise solution.

To be mildly contrarian, though, I would consider HTTP's pervasiveness to
be a feature rather than a bug, and the idea that someone could implement
the server-side component by using "whatever existing technology they have
lying around" to be a benefit rather than a cost. I'd prefer to require
people to use robust, well-tested common libraries rather than implement
something custom to support a protocol we had designed de novo.

I am making no claims that this is anything other than pragmatism at
work--we haven't invented the most elegant protocol ever! But if we need
out-of-band communication (which we do, given the assumed constraints),
HTTPS seems as good as anything *because* there are many implementations of
clients and servers and *because* it's well-understood and widely
supported.

Dan

On Wed, Apr 6, 2016 at 4:52 PM, John Levine <johnl@taugh.com> wrote:

> >> Speaking as the maintainer of an MTA, no it is not.  Having to add
> >> support for another protocol to an application which deals in SMTP,
> >> and knows how to use a library to get DNS, just feels wrong.
>
> At the dinner a few nights ago we spent a lot of time thinking about
> this, and I believe there was a general sense that asking MTAs to
> become https clients isn't going to work.  But in the absence
> of DNSSEC, we didn't have any better ideas.
>
> R's,
> John
>
> _______________________________________________
> Uta mailing list
> Uta@ietf.org
> https://www.ietf.org/mailman/listinfo/uta
>

--089e01229fa6f44c44052fd2b034
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">That&#39;s a pretty depressing conclusion, but yes, I thin=
k this is a compromise solution.=C2=A0<div><br></div><div>To be mildly cont=
rarian, though, I would consider HTTP&#39;s pervasiveness to be a feature r=
ather than a bug, and the idea that someone could implement the server-side=
 component by using &quot;whatever existing technology they have lying arou=
nd&quot; to be a benefit rather than a cost. I&#39;d prefer to require peop=
le to use robust, well-tested common libraries rather than implement someth=
ing custom to support a protocol we had designed de novo.</div><div><br></d=
iv><div>I am making no claims that this is anything other than pragmatism a=
t work--we haven&#39;t invented the most elegant protocol ever! But if we n=
eed out-of-band communication (which we do, given the assumed constraints),=
 HTTPS seems as good as anything <i>because</i> there are many implementati=
ons of clients and servers and <i>because</i> it&#39;s well-understood and =
widely supported.=C2=A0</div><div><br></div><div>Dan</div></div><div class=
=3D"gmail_extra"><br><div class=3D"gmail_quote">On Wed, Apr 6, 2016 at 4:52=
 PM, John Levine <span dir=3D"ltr">&lt;<a href=3D"mailto:johnl@taugh.com" t=
arget=3D"_blank">johnl@taugh.com</a>&gt;</span> wrote:<br><blockquote class=
=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padd=
ing-left:1ex"><span class=3D"">&gt;&gt; Speaking as the maintainer of an MT=
A, no it is not.=C2=A0 Having to add<br>
&gt;&gt; support for another protocol to an application which deals in SMTP=
,<br>
&gt;&gt; and knows how to use a library to get DNS, just feels wrong.<br>
<br>
</span>At the dinner a few nights ago we spent a lot of time thinking about=
<br>
this, and I believe there was a general sense that asking MTAs to<br>
become https clients isn&#39;t going to work.=C2=A0 But in the absence<br>
of DNSSEC, we didn&#39;t have any better ideas.<br>
<br>
R&#39;s,<br>
John<br>
<div class=3D"HOEnZb"><div class=3D"h5"><br>
_______________________________________________<br>
Uta mailing list<br>
<a href=3D"mailto:Uta@ietf.org">Uta@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/uta" rel=3D"noreferrer" ta=
rget=3D"_blank">https://www.ietf.org/mailman/listinfo/uta</a><br>
</div></div></blockquote></div><br></div>

--089e01229fa6f44c44052fd2b034--


From nobody Wed Apr  6 15:40:56 2016
Return-Path: <ietf-dane@dukhovni.org>
X-Original-To: uta@ietfa.amsl.com
Delivered-To: uta@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E023212D71A for <uta@ietfa.amsl.com>; Wed,  6 Apr 2016 15:40:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001] 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 FgEzoCCEHTgv for <uta@ietfa.amsl.com>; Wed,  6 Apr 2016 15:40:52 -0700 (PDT)
Received: from mournblade.imrryr.org (mournblade.imrryr.org [38.117.134.19]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5E26612D0A5 for <uta@ietf.org>; Wed,  6 Apr 2016 15:40:41 -0700 (PDT)
Received: by mournblade.imrryr.org (Postfix, from userid 1034) id 43431284DEF; Wed,  6 Apr 2016 22:40:40 +0000 (UTC)
Date: Wed, 6 Apr 2016 22:40:40 +0000
From: Viktor Dukhovni <ietf-dane@dukhovni.org>
To: uta@ietf.org
Message-ID: <20160406224039.GH26423@mournblade.imrryr.org>
References: <20160405002118.6f7bb0b274@8da9a8ad15f2049> <1570673069.2008767.1459813453573.JavaMail.yahoo@mail.yahoo.com> <835BFD7B-B8F1-43CD-8E6B-AC474E9A1741@azet.org> <CANtKdUewMQ5jVAUOaWfuUquFdDB_dh_jNEfAo7T=qruqzszGqw@mail.gmail.com> <1A3DB748-26E6-404D-84F5-962B3AA21AB4@azet.org> <CANtKdUf9MujQxZQMz8xbPi+EVOYXLWgR342x1-S8u12PPm-TAA@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CANtKdUf9MujQxZQMz8xbPi+EVOYXLWgR342x1-S8u12PPm-TAA@mail.gmail.com>
User-Agent: Mutt/1.5.24 (2015-08-30)
Archived-At: <http://mailarchive.ietf.org/arch/msg/uta/3YhsBbrrspFJ1yeWdeVfcEfcBt0>
Subject: Re: [Uta] New proposal: SMTP Strict Transport Security
X-BeenThere: uta@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
Reply-To: uta@ietf.org
List-Id: UTA working group mailing list <uta.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/uta>, <mailto:uta-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/uta/>
List-Post: <mailto:uta@ietf.org>
List-Help: <mailto:uta-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/uta>, <mailto:uta-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 06 Apr 2016 22:40:55 -0000

On Wed, Apr 06, 2016 at 10:52:14AM +0200, Daniel Margolis wrote:

> > While I see benefits to hosters, what I've seen from community projects
> > like bettercrypto(.org) is there's a lot of misunderstanding on how to
> > properly configure services, a lot of bad information sources around for
> > sysadmins and barely any tooling to automate. Let's Encrypt now does
> > automate on specific platforms and for specific daemons - we'll probably
> > extend this to some degree for mail daemons in the future but there's also
> > a lot of unwillingness among admins to use automation tools that require
> > e.g. root. I feel that a lot of admins will reject going via HTTPS services
> > just to serve mail in a secure fashion. I'm also not sure how willing
> > software implementers will be to go this direction, but we'd better ask
> > them.
> 
> One of my big questions to Viktor. :)

In Postfix, finding a way to query an HTTPS server for transport
security policy is relatively simple.  Postfix supports policy
lookup via a variety of key/value lookup interfaces one of which
happens to be "socketmap" which is IPC over unix-domain or inet
sockets.

So the lookup can be out of process, via some sort of socketmap
talking STS-agent.

The difficult bits are:

    * Cold start: Validation of the policy on first use.  STS wants
      to only cache policies that work, so the policy lookup layer
      needs to find out whether the policy "worked".

      When an unvalidated policy fails, delivery needs proceed
      despite the policy failure, so we need to perform certificate
      verification, proceed despite verification failure, but report
      the verification failure to the STS-agent.  Currently when
      authentication is not required we don't bother checking
      certificates.

    * Error recovery:  STS (draft) suggests refreshing the
      policy when deliveries fail.  This again requires 
      post-delivery data reporting back to the policy
      lookup service.

Both of the above are complicated by the fact that "success" and
"failure" are not well defined when a destination has multiple MX
hosts.  

 * Is it enough for delivery via just the first MX tried to succeed?
   Or does the initial delivery need to confirm more than one MX host?

 * Is delivery to a second MX host after failing the first a "success"?

 * How about a site only some of whose MX hosts match the STS policy constraints?

 * What about MX hosts whose certificate chain is fine, but the TLS handshake
   fails for other reasons?  Is the policy "validated"?

 * What if the handshake completes, but the connection breaks during data
   transfer (possibly due to a TLS interoperability error)?

The draft is not particularly detailed in defining what "validation"
means, and there is not at present in Postfix a mechanism to report
SMTP delivery status to external agents.

What should a success or failure report to the STS policy lookup
agent include?   Should this agent also manage the failure reporting?
As STS evolves the requirements may change, but we'd want to nail
down the delivery-agent to STS-agent protocol, so that STS-agents
can be add-ons that evolve largely separately from Postfix, without
requiring new C-code in new Postfix releases to stay current with
the protocol.

It may also be helpful to explain that the "domain" for which the
STS client is doing policy lookup is not necessarily the domain
part of the recipient address(es) in the message envelope.  While
these are typically the same, in some cases the nexthop domain may
be a "smarthost" relay or a manually configured nexthop for a set
of designated recipient domains.

Another one of the things that DANE "gets right", is that TLSA
records are service-endpoint-specific.  MTAs may at times be
configured to relay some or all mail via nexthop:port with a port
other than 25.

The certificate on port 587 (or whatever) may be different than
the one on port 25 and the desired TLS policies may be different
for the different (by port) SMTP services.

We'd probably avoid linking-in libcurl, we'd very much want to
avoid synchronous HTTP lookups inside the delivery agent.

To avoid deliver pipeline stalls we'd expect the out-of-process
STS delivery agent to reply immediately with no policy when it does
not already have at least an embryonic unvalidated policy cached,
and to schedule a policy fetch in the background.  The policy would
only be used and validated on the first delivery *after* it was
already cached locally (as an unvalidated policy).

    * Cold start:
      Trigger STS background policy fetch, proceed without STS
      policy.

    * Luke warm start:
      Validate as-yet not validated policy.  Deliver either way,
      but enable on "success" (carefully defined, TBD).

    * Warm start:
      Enforce policy, "failure" (definition TBD) defers mail and
      triggers background policy refresh.  Need a mechanism to
      securely "repudiate" the policy (return an HTTPS validated
      empty policy, or one that just supplies a reporting address).

So, this is not going to be easy.  I don't expect to see a stable
specification for STS this year.  But early 2017 may be possible.
Work to integrate this into Postfix may begin in the Spring of
2017, and the first stable release that supports it might then
appear in Jan/Feb 2018.  Distros will take 2-5 years to bundle that
release, and users another 2-5 years to deploy said distros.  So
no significant deployment much before 2020 at the earliest.

-- 
	Viktor.


From nobody Wed Apr  6 16:13:42 2016
Return-Path: <oritl@microsoft.com>
X-Original-To: uta@ietfa.amsl.com
Delivered-To: uta@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C6FE812D7CC for <uta@ietfa.amsl.com>; Wed,  6 Apr 2016 16:13:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.002
X-Spam-Level: 
X-Spam-Status: No, score=-2.002 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=microsoft.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 VGDovMzjSM-6 for <uta@ietfa.amsl.com>; Wed,  6 Apr 2016 16:13:39 -0700 (PDT)
Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1bon0769.outbound.protection.outlook.com [IPv6:2a01:111:f400:fc10::1:769]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id EFB8612D76A for <uta@ietf.org>; Wed,  6 Apr 2016 16:13:37 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector1; h=From:To:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=3IEzJ0Jwto5tU2AI1jTyvbU+PCPy+eq+uvPQdDsSCuQ=; b=AFRX0V6oZtx1oHce8bUKA7IQ61q6I50ap/HWfsGdbv5gI59UAT/eHTMj8yXDeTPDculDcGCYVa4KaKJPwgmo3HOOLHu2BL9xjSv5tRnDtIQU1w8aat44ZSpOkIDR8PK49S4FTAqdaRh1jBWM4/khMaNcZqsN+tJ7U2bTVUQlRo0=
Received: from BN3PR0301MB0867.namprd03.prod.outlook.com (10.160.155.141) by BN3PR0301MB0865.namprd03.prod.outlook.com (10.160.155.14) with Microsoft SMTP Server (TLS) id 15.1.447.15; Wed, 6 Apr 2016 23:13:18 +0000
Received: from BN3PR0301MB0867.namprd03.prod.outlook.com ([10.160.155.141]) by BN3PR0301MB0867.namprd03.prod.outlook.com ([10.160.155.141]) with mapi id 15.01.0447.027; Wed, 6 Apr 2016 23:13:18 +0000
From: "Orit Levin (CELA)" <oritl@microsoft.com>
To: "uta@ietf.org" <uta@ietf.org>
Thread-Topic: Recording from irtfopen on email security using TLS
Thread-Index: AdGQWOYgjtWjGRBIT3GlXIu6Z1wMZQ==
Date: Wed, 6 Apr 2016 23:13:17 +0000
Message-ID: <BN3PR0301MB08678C5C40FDD9741697D201AD9F0@BN3PR0301MB0867.namprd03.prod.outlook.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
authentication-results: ietf.org; dkim=none (message not signed) header.d=none;ietf.org; dmarc=none action=none header.from=microsoft.com;
x-originating-ip: [2001:67c:370:136:cc91:6a2e:82c8:fadd]
x-ms-office365-filtering-correlation-id: 1a9e90f8-361c-4769-3166-08d35e7109fb
x-microsoft-exchange-diagnostics: 1; BN3PR0301MB0865; 5:CgbkxKQAVmZVLGQBsOCH1r1jx8zawMiO4KFjZpnXNHpNtdEYNfYc7Zf/h0v75zop4ss17EgICnnOeTHjahQQslHWqyHZuuAgec5mzKdZEcmyI0R7HVQnjugJ0fjyoyreQyHZDp+De9qvhTX3iC2afQ==; 24:rbVUL/+og6b+dO9fpdg7CunVCWpQuWClyXFoBL+krKV5t/qpYr7kC/WdfCH7uW1isI27nPHtXLrMgssrqSI0/zbl7Xuj+zuozUrIdHY2XpQ=
x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BN3PR0301MB0865;
x-microsoft-antispam-prvs: <BN3PR0301MB086598C9DD9FE021475DE97CAD9F0@BN3PR0301MB0865.namprd03.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:;
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(61425038)(601004)(2401047)(8121501046)(5005006)(3002001)(10201501046)(6055026)(61426038)(61427038); SRVR:BN3PR0301MB0865; BCL:0; PCL:0; RULEID:; SRVR:BN3PR0301MB0865; 
x-forefront-prvs: 0904004ECB
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(6009001)(189998001)(19580395003)(10090500001)(1096002)(33656002)(74316001)(5004730100002)(5002640100001)(110136002)(5005710100001)(99286002)(54356999)(107886002)(1220700001)(50986999)(76576001)(15975445007)(6116002)(102836003)(10290500002)(10400500002)(450100001)(77096005)(2351001)(8990500004)(1730700002)(2906002)(2501003)(5008740100001)(3660700001)(86362001)(5003600100002)(2900100001)(229853001)(87936001)(11100500001)(5640700001)(558084003)(92566002)(81166005)(586003)(122556002)(3280700002)(3826002); DIR:OUT; SFP:1102; SCL:1; SRVR:BN3PR0301MB0865; H:BN3PR0301MB0867.namprd03.prod.outlook.com; FPR:; SPF:None; MLV:sfv; LANG:en; 
spamdiagnosticoutput: 1:23
spamdiagnosticmetadata: NSPM
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: microsoft.com
X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Apr 2016 23:13:17.8956 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR0301MB0865
Archived-At: <http://mailarchive.ietf.org/arch/msg/uta/kT-3i3YLXiFssL_xgRn2EnN2TEE>
Subject: [Uta] Recording from irtfopen on email security using TLS
X-BeenThere: uta@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: UTA working group mailing list <uta.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/uta>, <mailto:uta-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/uta/>
List-Post: <mailto:uta@ietf.org>
List-Help: <mailto:uta-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/uta>, <mailto:uta-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 06 Apr 2016 23:13:41 -0000

For those who didn't attend the irtfopen session on Tue, I recommend viewin=
g the recording at=20
https://www.youtube.com/watch?v=3D36WDbfKEIRI.

The talk relevant to UTA starts at min 22. It provides a great intro to the=
 challenges around using email with TLS.

Orit.


From nobody Thu Apr  7 12:41:23 2016
Return-Path: <ietf-dane@dukhovni.org>
X-Original-To: uta@ietfa.amsl.com
Delivered-To: uta@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E1BBD12D1B1 for <uta@ietfa.amsl.com>; Thu,  7 Apr 2016 12:41:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001] 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 gCWyAv7Es1lA for <uta@ietfa.amsl.com>; Thu,  7 Apr 2016 12:41:17 -0700 (PDT)
Received: from mournblade.imrryr.org (mournblade.imrryr.org [38.117.134.19]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 674F412D0BA for <uta@ietf.org>; Thu,  7 Apr 2016 12:41:17 -0700 (PDT)
Received: by mournblade.imrryr.org (Postfix, from userid 1034) id 287CA284F25; Thu,  7 Apr 2016 19:41:16 +0000 (UTC)
Date: Thu, 7 Apr 2016 19:41:16 +0000
From: Viktor Dukhovni <ietf-dane@dukhovni.org>
To: "uta@ietf.org" <uta@ietf.org>
Message-ID: <20160407194115.GI26423@mournblade.imrryr.org>
References: <BN3PR0301MB08678C5C40FDD9741697D201AD9F0@BN3PR0301MB0867.namprd03.prod.outlook.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <BN3PR0301MB08678C5C40FDD9741697D201AD9F0@BN3PR0301MB0867.namprd03.prod.outlook.com>
User-Agent: Mutt/1.5.24 (2015-08-30)
Archived-At: <http://mailarchive.ietf.org/arch/msg/uta/WkaqFWI03Hw6R6UT6QdYOAeWTcw>
Subject: Re: [Uta] Recording from irtfopen on email security using TLS
X-BeenThere: uta@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
Reply-To: uta@ietf.org
List-Id: UTA working group mailing list <uta.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/uta>, <mailto:uta-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/uta/>
List-Post: <mailto:uta@ietf.org>
List-Help: <mailto:uta-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/uta>, <mailto:uta-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 07 Apr 2016 19:41:22 -0000

On Wed, Apr 06, 2016 at 11:13:17PM +0000, Orit Levin (CELA) wrote:

> For those who didn't attend the irtfopen session on Tue, I recommend viewing the recording at 
> https://www.youtube.com/watch?v=36WDbfKEIRI.
> 
> The talk relevant to UTA starts at min 22. It provides a great intro to
> the challenges around using email with TLS.

While the talk was interesting and provides useful background it
is also somewhat misleading.

  * Firstly it compares SMTP security with HTTPS, but the right
    comparison is with the Web, whether HTTP or HTTPS, not just
    the "secure" Web.  What fraction of HTTP sites visited by users
    are HTTPS with valid certificates?

    I certainly find many HTTP-only sites, even sites of major
    server hardware vendors that provide firmware and software
    updates are HTTP-only, or routinely serve HTTP links from
    from HTTPS pages even if they support both.

    The state of SMTP transport security is not nearly as dire as
    presented.  Yes, the "secure" portion of SMTP is typically only
    secure against passive attacks, but in practice more of the
    traffic may be at least somewhat protected than with HTTP.
    Opportunistic security *is* easier to deploy.

  * The dismissal of DANE in the Q&A is either disingenuous or
    naive.  Yes, DNSSEC adoption is low (around 2% of domains in
    my survey), but it is not *zero* as with STS.

    Just as DANE requires adoption of new software (DANE capable
    MTAs, and DNSSEC validating resolvers), so would STS require
    adoption of new capabilities in client MTAs.

    DANE software is already available in Postfix and Exim, and in
    May will become part of the stable OpenSSL 1.1.0 release.  I've
    identified 11.7k domains with working DANE (out of an estimated
    100k similar domains that don't always appear on lists such as
    the Alexa 1M, which is not a particularly relevant list for
    email).

Whether the solution is STS, DANE or both, neither will happen
overnight.  I estimate broad adoption of STS not much earlier than
circa 2020--2022.  In the same timeframe, the large providers could
likely implement DNSSEC and DANE.

Adoption of STS may be faster on the server side at the large
providers, but client-side adoption of STS outside that set of
providers will take longer than it would for DANE, because there
is neither a stable specification, nor even experimental code in
the various open-source MTAs.

The following "well-known" domains (based on a current listing at
Google's email transparency report) support DANE on the server
side:

    registro.br
    mail.com
    mzk.cz
    bund.de
    jpberlin.de
    lrz.de
    posteo.de
    unitymedia.de
    octopuce.fr
    comcast.net
    t-2.net
    xs4all.net
    xs4all.nl
    debian.org
    freebsd.org
    gentoo.org
    ietf.org
    netbsd.org
    openssl.org
    samba.org
    torproject.org

if we include domains that appeared in that report in the past,
the list grows to include:

    travelbirdbelgie.be
    mailous.com
    societe.com
    t-2.com
    gohost.cz
    bayern.de
    ish.de
    kabelmail.de
    ruhr-uni-bochum.de
    tum.de
    unitybox.de
    lepartidegauche.fr
    dd24.net
    rrpproxy.net
    xworks.net
    aanbodpagina.nl
    jasperalblas.nl
    mijngastouderburo.nl
    steffann.nl
    isc.org

I've identified > 11700 additional domains, but most are too small
to account for a noticeable fraction of most senders' email.

[ Even my domain is not listed, despite my best efforts to
  flood the ietf lists with my comments. :-) ]

-- 
	Viktor.


From nobody Fri Apr  8 08:16:25 2016
Return-Path: <david@schweikert.ch>
X-Original-To: uta@ietfa.amsl.com
Delivered-To: uta@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 26BF312D958 for <uta@ietfa.amsl.com>; Fri,  8 Apr 2016 08:16:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.012
X-Spam-Level: 
X-Spam-Status: No, score=-2.012 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=schweikert.ch
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 4wxm3v5HhBFI for <uta@ietfa.amsl.com>; Fri,  8 Apr 2016 08:16:10 -0700 (PDT)
Received: from mail.schweikert.ch (gore.schweikert.ch [176.9.38.243]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C5EB412D91C for <uta@ietf.org>; Fri,  8 Apr 2016 08:16:03 -0700 (PDT)
Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.schweikert.ch (Postfix) with ESMTP id B0C8D602BF for <uta@ietf.org>; Fri,  8 Apr 2016 17:16:00 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=schweikert.ch; h= user-agent:in-reply-to:content-disposition:content-type :content-type:mime-version:references:message-id:subject:subject :from:from:date:date:received:received; s=mail; t=1460128560; bh=XyAgj8rnukS+5DC7LB13/BFhe48NKQRSaqDJrJm5hQA=; b=EPCkd7WBAaM8 MOaO1u+ISttP+A9fuOjsCwdNgNrClfr8G75yXpZaF+eImZ34vMDQItlPjybcXDuO mMCo9S1CHuWgH4Uoc+5SqtayWzIdzBbK1ipIT0k/CVx2tqHryzQht9Sd4ymbrwAf NHzuPkMz8gzJMh0XGUEXug3EvGPcsuERQgXPxJqee4eDeJZw8IFt8mE6KPH0trUb 8L6S9/wb4umA6UhC1l2XP4f/PXg6/VGE1tKXMwUI3F6vyv1lY0QZ5nBzeuOBYLJb vqa0aOxnVh+SQ08CxbXZhm4riGVwIKluB0Fk6HpMGGbx4kZJYUGOYKG3tLlxNBbT NfvTX/Nehg==
X-Virus-Scanned: Debian amavisd-new at mail.schweikert.ch
Received: from mail.schweikert.ch ([127.0.0.1]) by localhost (mail.schweikert.ch [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id oWZGiTgkMYRY for <uta@ietf.org>; Fri,  8 Apr 2016 17:16:00 +0200 (CEST)
Received: by mail.schweikert.ch (Postfix, from userid 1000) id 93CF5636DE; Fri,  8 Apr 2016 17:16:00 +0200 (CEST)
Date: Fri, 8 Apr 2016 17:16:00 +0200
From: David Schweikert <david@schweikert.ch>
To: uta@ietf.org
Message-ID: <20160408151600.GB13343@schweikert.ch>
References: <20160405002118.6f7bb0b274@8da9a8ad15f2049> <1570673069.2008767.1459813453573.JavaMail.yahoo@mail.yahoo.com> <835BFD7B-B8F1-43CD-8E6B-AC474E9A1741@azet.org> <CANtKdUewMQ5jVAUOaWfuUquFdDB_dh_jNEfAo7T=qruqzszGqw@mail.gmail.com> <1A3DB748-26E6-404D-84F5-962B3AA21AB4@azet.org> <CANtKdUf9MujQxZQMz8xbPi+EVOYXLWgR342x1-S8u12PPm-TAA@mail.gmail.com> <20160406224039.GH26423@mournblade.imrryr.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20160406224039.GH26423@mournblade.imrryr.org>
User-Agent: Mutt/1.5.21 (2010-09-15)
Archived-At: <http://mailarchive.ietf.org/arch/msg/uta/NplteqpwvS9Uaw9I1LiYhVrLsDg>
Subject: Re: [Uta] New proposal: SMTP Strict Transport Security
X-BeenThere: uta@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: UTA working group mailing list <uta.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/uta>, <mailto:uta-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/uta/>
List-Post: <mailto:uta@ietf.org>
List-Help: <mailto:uta-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/uta>, <mailto:uta-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 08 Apr 2016 15:16:24 -0000

Hi Viktor,

On Wed, Apr 06, 2016 at 22:40:40 +0000, Viktor Dukhovni wrote:
>  * Is it enough for delivery via just the first MX tried to succeed?
>    Or does the initial delivery need to confirm more than one MX host?
> 
>  * Is delivery to a second MX host after failing the first a "success"?
> 
>  * How about a site only some of whose MX hosts match the STS policy constraints?

What about considering STS to be a mechanism that verifies something
that should always be true, and just generating a permanent failure if
you encounter something that doesn't match that policy? Like a sort of
"assertion check" on what you see following the normal processing path.

> As STS evolves the requirements may change, but we'd want to nail
> down the delivery-agent to STS-agent protocol, so that STS-agents
> can be add-ons that evolve largely separately from Postfix, without
> requiring new C-code in new Postfix releases to stay current with
> the protocol.

You could design a protocol that is very similar to the postfix access
policy delegation protocol:

- Postfix SMTP connects to the chosen next hop and does the handshake
- It gives via policy protocol all information that it has about the
  connection (hostname, IP, TLS information, etc.)
- In case something is bad, the policy demon can return "REJECT" with a
  reason (and initiate reporting by registering the failure in some
  database).

> It may also be helpful to explain that the "domain" for which the
> STS client is doing policy lookup is not necessarily the domain
> part of the recipient address(es) in the message envelope.  While
> these are typically the same, in some cases the nexthop domain may
> be a "smarthost" relay or a manually configured nexthop for a set
> of designated recipient domains.

I don't understand this: why would the STS client do a policy lookup not
on the recipient address? I understand that you can have a different
nexthop specified in your transport map, but why look that up instead of
the recipient address domain?

> Another one of the things that DANE "gets right", is that TLSA
> records are service-endpoint-specific.  MTAs may at times be
> configured to relay some or all mail via nexthop:port with a port
> other than 25.
> 
> The certificate on port 587 (or whatever) may be different than
> the one on port 25 and the desired TLS policies may be different
> for the different (by port) SMTP services.

Maybe you should be able to disable the STS check in those cases where
you do some local override?

> To avoid deliver pipeline stalls we'd expect the out-of-process
> STS delivery agent to reply immediately with no policy when it does
> not already have at least an embryonic unvalidated policy cached,
> and to schedule a policy fetch in the background.  The policy would
> only be used and validated on the first delivery *after* it was
> already cached locally (as an unvalidated policy).

Yes, that's really a problem in the policy-delegation idea. I guess you
could return a "DEFER" and thus force the mail to be back in the queue,
waiting for the fetching of a current policy to finish? But then you
have the problem that postfix is going to retry with another hop...

Cheers
David


From nobody Fri Apr  8 12:06:19 2016
Return-Path: <ietf-dane@dukhovni.org>
X-Original-To: uta@ietfa.amsl.com
Delivered-To: uta@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C46AD12D5D4 for <uta@ietfa.amsl.com>; Fri,  8 Apr 2016 12:06:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001] 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 fg0krjvEaVFc for <uta@ietfa.amsl.com>; Fri,  8 Apr 2016 12:06:17 -0700 (PDT)
Received: from mournblade.imrryr.org (mournblade.imrryr.org [38.117.134.19]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 19A7B12D5CF for <uta@ietf.org>; Fri,  8 Apr 2016 12:06:16 -0700 (PDT)
Received: by mournblade.imrryr.org (Postfix, from userid 1034) id 1FED9284DEF; Fri,  8 Apr 2016 19:06:16 +0000 (UTC)
Date: Fri, 8 Apr 2016 19:06:16 +0000
From: Viktor Dukhovni <ietf-dane@dukhovni.org>
To: uta@ietf.org
Message-ID: <20160408190615.GM26423@mournblade.imrryr.org>
References: <20160405002118.6f7bb0b274@8da9a8ad15f2049> <1570673069.2008767.1459813453573.JavaMail.yahoo@mail.yahoo.com> <835BFD7B-B8F1-43CD-8E6B-AC474E9A1741@azet.org> <CANtKdUewMQ5jVAUOaWfuUquFdDB_dh_jNEfAo7T=qruqzszGqw@mail.gmail.com> <1A3DB748-26E6-404D-84F5-962B3AA21AB4@azet.org> <CANtKdUf9MujQxZQMz8xbPi+EVOYXLWgR342x1-S8u12PPm-TAA@mail.gmail.com> <20160406224039.GH26423@mournblade.imrryr.org> <20160408151600.GB13343@schweikert.ch>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20160408151600.GB13343@schweikert.ch>
User-Agent: Mutt/1.5.24 (2015-08-30)
Archived-At: <http://mailarchive.ietf.org/arch/msg/uta/soMA7EgXWKF5l4FaeDnruoh1Fas>
Subject: Re: [Uta] New proposal: SMTP Strict Transport Security
X-BeenThere: uta@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
Reply-To: uta@ietf.org
List-Id: UTA working group mailing list <uta.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/uta>, <mailto:uta-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/uta/>
List-Post: <mailto:uta@ietf.org>
List-Help: <mailto:uta-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/uta>, <mailto:uta-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 08 Apr 2016 19:06:19 -0000

On Fri, Apr 08, 2016 at 05:16:00PM +0200, David Schweikert wrote:

> > It may also be helpful to explain that the "domain" for which the
> > STS client is doing policy lookup is not necessarily the domain
> > part of the recipient address(es) in the message envelope.  While
> > these are typically the same, in some cases the nexthop domain may
> > be a "smarthost" relay or a manually configured nexthop for a set
> > of designated recipient domains.
> 
> I don't understand this: why would the STS client do a policy lookup not
> on the recipient address? I understand that you can have a different
> nexthop specified in your transport map, but why look that up instead of
> the recipient address domain?

Because STS is *transport* policy.  Not end-to-end policy.  Given
that you expected otherwise, this definitely needs to be explained.

Just because email is ultimately going to say Gmail, if my nexthop
relay is some corporate outbound smarthost, the relevant STS policy
is for that relay, not the destination domain.

-- 
	Viktor.


From nobody Sat Apr  9 15:00:15 2016
Return-Path: <david@schweikert.ch>
X-Original-To: uta@ietfa.amsl.com
Delivered-To: uta@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D043012D130 for <uta@ietfa.amsl.com>; Sat,  9 Apr 2016 15:00:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.998
X-Spam-Level: 
X-Spam-Status: No, score=-2.998 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RP_MATCHES_RCVD=-0.996, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=schweikert.ch
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 pesU3v26uf3k for <uta@ietfa.amsl.com>; Sat,  9 Apr 2016 15:00:12 -0700 (PDT)
Received: from mail.schweikert.ch (gore.schweikert.ch [IPv6:2a01:4f8:150:44ee::2]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 168F112D0DC for <uta@ietf.org>; Sat,  9 Apr 2016 15:00:10 -0700 (PDT)
Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.schweikert.ch (Postfix) with ESMTP id BA71363651 for <uta@ietf.org>; Sun, 10 Apr 2016 00:00:07 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=schweikert.ch; h= user-agent:in-reply-to:content-disposition:content-type :content-type:mime-version:references:message-id:subject:subject :from:from:date:date:received:received; s=mail; t=1460239207; bh=RrQnkpOMdFwix2Ed2Wm4FHZ1zjZbfohTOeUXnWwFjLA=; b=P1XFwZZwagY/ mlDYNnYJlBP/Y+PP1iPe5tqOfXu7KIghVdDTWd4n9wkhTYFBHIV1DCWVuyXruM8w WeHoA9RMdBltqXMAHHG0Wag28vEnNLBfUKPqj81yGJgXmXdfsuiWmJBaHvemWZhM qwtkUeMFPD4SpQNolX66oDrkegKwmpYTN0BTitRlLdf7GYISARlWY/cQ+3pt+Mrw TE2JiWeLgx2l2d4jewO23fISGunxF3AOQxHFqf1kmMXRqFx9cMcSNRF8BypvzMUB GVQBA8L2xiM1WkirXbTrL9qdO1YBSX2zBAHIiJibSZjVhsXzmrase7nNbl2/fKzd t6mbPUtDLg==
X-Virus-Scanned: Debian amavisd-new at mail.schweikert.ch
Received: from mail.schweikert.ch ([127.0.0.1]) by localhost (mail.schweikert.ch [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id Homa886VFJHj for <uta@ietf.org>; Sun, 10 Apr 2016 00:00:07 +0200 (CEST)
Received: by mail.schweikert.ch (Postfix, from userid 1000) id 95818601B3; Sun, 10 Apr 2016 00:00:07 +0200 (CEST)
Date: Sun, 10 Apr 2016 00:00:07 +0200
From: David Schweikert <david@schweikert.ch>
To: uta@ietf.org
Message-ID: <20160409220007.GA17512@schweikert.ch>
References: <20160405002118.6f7bb0b274@8da9a8ad15f2049> <1570673069.2008767.1459813453573.JavaMail.yahoo@mail.yahoo.com> <835BFD7B-B8F1-43CD-8E6B-AC474E9A1741@azet.org> <CANtKdUewMQ5jVAUOaWfuUquFdDB_dh_jNEfAo7T=qruqzszGqw@mail.gmail.com> <1A3DB748-26E6-404D-84F5-962B3AA21AB4@azet.org> <CANtKdUf9MujQxZQMz8xbPi+EVOYXLWgR342x1-S8u12PPm-TAA@mail.gmail.com> <20160406224039.GH26423@mournblade.imrryr.org> <20160408151600.GB13343@schweikert.ch> <20160408190615.GM26423@mournblade.imrryr.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20160408190615.GM26423@mournblade.imrryr.org>
User-Agent: Mutt/1.5.21 (2010-09-15)
Archived-At: <http://mailarchive.ietf.org/arch/msg/uta/Rfq3z7EUgLUojvJ97svw2MpuvXE>
Subject: Re: [Uta] New proposal: SMTP Strict Transport Security
X-BeenThere: uta@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: UTA working group mailing list <uta.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/uta>, <mailto:uta-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/uta/>
List-Post: <mailto:uta@ietf.org>
List-Help: <mailto:uta-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/uta>, <mailto:uta-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 09 Apr 2016 22:00:14 -0000

On Fri, Apr 08, 2016 at 19:06:16 +0000, Viktor Dukhovni wrote:
> > I don't understand this: why would the STS client do a policy lookup not
> > on the recipient address? I understand that you can have a different
> > nexthop specified in your transport map, but why look that up instead of
> > the recipient address domain?
> 
> Because STS is *transport* policy.  Not end-to-end policy.  Given
> that you expected otherwise, this definitely needs to be explained.
> 
> Just because email is ultimately going to say Gmail, if my nexthop
> relay is some corporate outbound smarthost, the relevant STS policy
> is for that relay, not the destination domain.

OK, got it. But this is going to work only for nexthops / relays
specified as a mail domain (and not as hosts), right?

I am not so sure about the usefulness of this, though. I mean: in case
you are modifying the routing for a mail domain, I would have thought
that you also need to disable the STS check (like you need to disable
certificate pinning when using SSL web proxies).

Or said differently: are you going to enforce TLS encryption to your
outbound smarthosts using STS?

Cheers
David


From nobody Sun Apr 10 07:19:07 2016
Return-Path: <dmargolis@google.com>
X-Original-To: uta@ietfa.amsl.com
Delivered-To: uta@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 909F112D5CD for <uta@ietfa.amsl.com>; Sun, 10 Apr 2016 07:19:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.696
X-Spam-Level: 
X-Spam-Status: No, score=-3.696 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RP_MATCHES_RCVD=-0.996, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=google.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 h-HZEqiJI6YV for <uta@ietfa.amsl.com>; Sun, 10 Apr 2016 07:19:04 -0700 (PDT)
Received: from mail-io0-x229.google.com (mail-io0-x229.google.com [IPv6:2607:f8b0:4001:c06::229]) (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 6F2F712D5BE for <uta@ietf.org>; Sun, 10 Apr 2016 07:19:04 -0700 (PDT)
Received: by mail-io0-x229.google.com with SMTP id o126so158392125iod.0 for <uta@ietf.org>; Sun, 10 Apr 2016 07:19:04 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=LZU+hdZxcSRkwtHeZbeg6W2qcOfmCjwfOp+k+6GWItU=; b=n7cefzDP0K/Yo9LyrfQcOrU7W7BROgvYuCRQa75VvX3JpPkxzY0uyWAPpGqJRnchKD 5UQSo6XTe7D7A2trEoG8WdfVD6TvGlOO5aBQ//PhF32DcHo8nDhDpe2zBTOOGxOGCmfW Qf2bf8YGa3jK7w55GccSF3hiTKMf0RICTiralH0letoD4sTfDZqmk9SoRSPinG3jIrbN kWEzFdLoQK2lM2ktAEvWZUbBiCjOwojkrcRjJwl4vpQFhcNoYW4vvoOPaANm6dCjmT6W DzFtSdPK4jweE7oZPNKelj7IgQFul4v84RQORdx6oA6OxkaCYBaCjqRPE21xOw8R2pU4 AkMw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=LZU+hdZxcSRkwtHeZbeg6W2qcOfmCjwfOp+k+6GWItU=; b=HJ8mAi9GDr+QZbuNADuTE0u7x0TsxEGC7jnVAD/5tDJFeKWxJ8NXnyMlrXpZxOSZFb gmMeEeIJlZKkCdSqh78JbVK5vncjWPn3MAPOlKV0UJzHtKnFbeQWlankegeXHrcVXDuf XGMzae7dDkr91BBl403xv0B5PHmM8Eg4g1DO0SEOn0OyPc/naNsvU2wrmG99GDRWHHtB Ap586muGvlOWIJvFUe1GPQpshZk0KN2q/RDBP32a32IC9xKuiTvJtWb8sFSqWzO2ZYvN gGICn1VhKlHPOtFsUXa5su82mXRt7kDQdXTh02xlcoZkhgkAZwkzotc0evuFbJxvg8Rd UraQ==
X-Gm-Message-State: AD7BkJLRWy4lk39oea30QDMyx043RxxNub3gqMXWf4YAxtXVrkoeZaargTKgzr6Q7BsD7Hzyjx9i2r4QI4Z7UUa1
MIME-Version: 1.0
X-Received: by 10.107.12.67 with SMTP id w64mr21083034ioi.114.1460297943558; Sun, 10 Apr 2016 07:19:03 -0700 (PDT)
Received: by 10.64.91.226 with HTTP; Sun, 10 Apr 2016 07:19:03 -0700 (PDT)
In-Reply-To: <20160409220007.GA17512@schweikert.ch>
References: <20160405002118.6f7bb0b274@8da9a8ad15f2049> <1570673069.2008767.1459813453573.JavaMail.yahoo@mail.yahoo.com> <835BFD7B-B8F1-43CD-8E6B-AC474E9A1741@azet.org> <CANtKdUewMQ5jVAUOaWfuUquFdDB_dh_jNEfAo7T=qruqzszGqw@mail.gmail.com> <1A3DB748-26E6-404D-84F5-962B3AA21AB4@azet.org> <CANtKdUf9MujQxZQMz8xbPi+EVOYXLWgR342x1-S8u12PPm-TAA@mail.gmail.com> <20160406224039.GH26423@mournblade.imrryr.org> <20160408151600.GB13343@schweikert.ch> <20160408190615.GM26423@mournblade.imrryr.org> <20160409220007.GA17512@schweikert.ch>
Date: Sun, 10 Apr 2016 16:19:03 +0200
Message-ID: <CANtKdUd5Oqbd9Y-mTzEoBzKJJy5gcbUzYOu=YFziGaCsg56SoQ@mail.gmail.com>
From: Daniel Margolis <dmargolis@google.com>
To: David Schweikert <david@schweikert.ch>
Content-Type: multipart/alternative; boundary=001a113f92b631a2530530221c80
Archived-At: <http://mailarchive.ietf.org/arch/msg/uta/WLCF4o5EQxzoDjGTe-GNqXLCtlc>
Cc: uta@ietf.org
Subject: Re: [Uta] New proposal: SMTP Strict Transport Security
X-BeenThere: uta@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: UTA working group mailing list <uta.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/uta>, <mailto:uta-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/uta/>
List-Post: <mailto:uta@ietf.org>
List-Help: <mailto:uta-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/uta>, <mailto:uta-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 10 Apr 2016 14:19:06 -0000

--001a113f92b631a2530530221c80
Content-Type: text/plain; charset=UTF-8

Right, I was thinking of it the same was as you. If you're using
smarthosts, you're already not using the email domain's MX, so of course
you can't use its STS policy, either.

What we didn't define is whether the STS policy mechanism should be used in
this case. But does this even make sense? STS is fairly closely coupled to
the notion of a valid set of MXs; in the case of a smarthost setup where
you've manually configured a relay server, it's a bit hard to see how a
"per domain, validate MXs this way" kind of policy could be applied. Is it
the domain of the smarthost?

Obviously you could craft a policy semantic to support this (perhaps by
making per-host policies explicit), but is it worth the complexity? In the
static relay case you could conceivably manually encode security policies,
though maybe that doesn't scale well to some complex setups?

On Sun, Apr 10, 2016 at 12:00 AM, David Schweikert <david@schweikert.ch>
wrote:

> On Fri, Apr 08, 2016 at 19:06:16 +0000, Viktor Dukhovni wrote:
> > > I don't understand this: why would the STS client do a policy lookup
> not
> > > on the recipient address? I understand that you can have a different
> > > nexthop specified in your transport map, but why look that up instead
> of
> > > the recipient address domain?
> >
> > Because STS is *transport* policy.  Not end-to-end policy.  Given
> > that you expected otherwise, this definitely needs to be explained.
> >
> > Just because email is ultimately going to say Gmail, if my nexthop
> > relay is some corporate outbound smarthost, the relevant STS policy
> > is for that relay, not the destination domain.
>
> OK, got it. But this is going to work only for nexthops / relays
> specified as a mail domain (and not as hosts), right?
>
> I am not so sure about the usefulness of this, though. I mean: in case
> you are modifying the routing for a mail domain, I would have thought
> that you also need to disable the STS check (like you need to disable
> certificate pinning when using SSL web proxies).
>
> Or said differently: are you going to enforce TLS encryption to your
> outbound smarthosts using STS?
>
> Cheers
> David
>
> _______________________________________________
> Uta mailing list
> Uta@ietf.org
> https://www.ietf.org/mailman/listinfo/uta
>

--001a113f92b631a2530530221c80
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Right, I was thinking of it the same was as you. If you&#3=
9;re using smarthosts, you&#39;re already not using the email domain&#39;s =
MX, so of course you can&#39;t use its STS policy, either.=C2=A0<div><br></=
div><div>What we didn&#39;t define is whether the STS policy mechanism shou=
ld be used in this case. But does this even make sense? STS is fairly close=
ly coupled to the notion of a valid set of MXs; in the case of a smarthost =
setup where you&#39;ve manually configured a relay server, it&#39;s a bit h=
ard to see how a &quot;per domain, validate MXs this way&quot; kind of poli=
cy could be applied. Is it the domain of the smarthost?=C2=A0</div><div><br=
></div><div>Obviously you could craft a policy semantic to support this (pe=
rhaps by making per-host policies explicit), but is it worth the complexity=
? In the static relay case you could conceivably manually encode security p=
olicies, though maybe that doesn&#39;t scale well to some complex setups?</=
div></div><div class=3D"gmail_extra"><br><div class=3D"gmail_quote">On Sun,=
 Apr 10, 2016 at 12:00 AM, David Schweikert <span dir=3D"ltr">&lt;<a href=
=3D"mailto:david@schweikert.ch" target=3D"_blank">david@schweikert.ch</a>&g=
t;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0=
 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=3D"">On Fri,=
 Apr 08, 2016 at 19:06:16 +0000, Viktor Dukhovni wrote:<br>
&gt; &gt; I don&#39;t understand this: why would the STS client do a policy=
 lookup not<br>
&gt; &gt; on the recipient address? I understand that you can have a differ=
ent<br>
&gt; &gt; nexthop specified in your transport map, but why look that up ins=
tead of<br>
&gt; &gt; the recipient address domain?<br>
&gt;<br>
&gt; Because STS is *transport* policy.=C2=A0 Not end-to-end policy.=C2=A0 =
Given<br>
&gt; that you expected otherwise, this definitely needs to be explained.<br=
>
&gt;<br>
&gt; Just because email is ultimately going to say Gmail, if my nexthop<br>
&gt; relay is some corporate outbound smarthost, the relevant STS policy<br=
>
&gt; is for that relay, not the destination domain.<br>
<br>
</span>OK, got it. But this is going to work only for nexthops / relays<br>
specified as a mail domain (and not as hosts), right?<br>
<br>
I am not so sure about the usefulness of this, though. I mean: in case<br>
you are modifying the routing for a mail domain, I would have thought<br>
that you also need to disable the STS check (like you need to disable<br>
certificate pinning when using SSL web proxies).<br>
<br>
Or said differently: are you going to enforce TLS encryption to your<br>
outbound smarthosts using STS?<br>
<br>
Cheers<br>
<span class=3D"HOEnZb"><font color=3D"#888888">David<br>
</font></span><div class=3D"HOEnZb"><div class=3D"h5"><br>
_______________________________________________<br>
Uta mailing list<br>
<a href=3D"mailto:Uta@ietf.org">Uta@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/uta" rel=3D"noreferrer" ta=
rget=3D"_blank">https://www.ietf.org/mailman/listinfo/uta</a><br>
</div></div></blockquote></div><br></div>

--001a113f92b631a2530530221c80--


From nobody Sun Apr 10 13:36:46 2016
Return-Path: <ietf-dane@dukhovni.org>
X-Original-To: uta@ietfa.amsl.com
Delivered-To: uta@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 896F812D63A for <uta@ietfa.amsl.com>; Sun, 10 Apr 2016 13:36:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001] 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 hbP3A01lNMEU for <uta@ietfa.amsl.com>; Sun, 10 Apr 2016 13:36:44 -0700 (PDT)
Received: from mournblade.imrryr.org (mournblade.imrryr.org [38.117.134.19]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0583912D638 for <uta@ietf.org>; Sun, 10 Apr 2016 13:36:43 -0700 (PDT)
Received: by mournblade.imrryr.org (Postfix, from userid 1034) id F023B284DEF; Sun, 10 Apr 2016 20:36:42 +0000 (UTC)
Date: Sun, 10 Apr 2016 20:36:42 +0000
From: Viktor Dukhovni <ietf-dane@dukhovni.org>
To: uta@ietf.org
Message-ID: <20160410203642.GW26423@mournblade.imrryr.org>
References: <20160405002118.6f7bb0b274@8da9a8ad15f2049> <1570673069.2008767.1459813453573.JavaMail.yahoo@mail.yahoo.com> <835BFD7B-B8F1-43CD-8E6B-AC474E9A1741@azet.org> <CANtKdUewMQ5jVAUOaWfuUquFdDB_dh_jNEfAo7T=qruqzszGqw@mail.gmail.com> <1A3DB748-26E6-404D-84F5-962B3AA21AB4@azet.org> <CANtKdUf9MujQxZQMz8xbPi+EVOYXLWgR342x1-S8u12PPm-TAA@mail.gmail.com> <20160406224039.GH26423@mournblade.imrryr.org> <20160408151600.GB13343@schweikert.ch> <20160408190615.GM26423@mournblade.imrryr.org> <20160409220007.GA17512@schweikert.ch>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20160409220007.GA17512@schweikert.ch>
User-Agent: Mutt/1.5.24 (2015-08-30)
Archived-At: <http://mailarchive.ietf.org/arch/msg/uta/W4Q_51VWQLebz3t3W0CL549Trt8>
Subject: Re: [Uta] New proposal: SMTP Strict Transport Security
X-BeenThere: uta@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
Reply-To: uta@ietf.org
List-Id: UTA working group mailing list <uta.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/uta>, <mailto:uta-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/uta/>
List-Post: <mailto:uta@ietf.org>
List-Help: <mailto:uta-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/uta>, <mailto:uta-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 10 Apr 2016 20:36:45 -0000

On Sun, Apr 10, 2016 at 12:00:07AM +0200, David Schweikert wrote:

> > Just because email is ultimately going to say Gmail, if my nexthop
> > relay is some corporate outbound smarthost, the relevant STS policy
> > is for that relay, not the destination domain.
> 
> OK, got it. But this is going to work only for nexthops / relays
> specified as a mail domain (and not as hosts), right?

Either.  For example, DANE works regardless of whether routing is
via MX records or directly to the nexthop as a hostname.  A domain
with no MX records, or a administrator-specified route in which
the nexthop is not subject to MX lookups (a [nexthop.example] in
square brackets with Sendmail and Postfix) is implicitly equivalent
to:

	nexhop.example. IN MX 0 nexthop.example.

So if a Postfix transport table contains:

	examle.com	smtp:example.net

then we deliver example.com's mail via the MX hosts of example.net
with whatever policy pertains to other mail sent via example.net.
If, on the other hand, the transport table contains:

	examle.org	smtp:[smtp.example.name]

then mail is sent via the smtp.example.name relay, and the TLS
policy is that for "smtp.example.name" as a domain with no MX
records.

> I am not so sure about the usefulness of this, though.

It is quite useful, because a smarthost is not the only case,
sometimes one explicitly redirects mail for remote domains to other
domains and not infrequently MX lookups are not disabled for such a
"redirect".

> I mean: in case
> you are modifying the routing for a mail domain, I would have thought
> that you also need to disable the STS check (like you need to disable
> certificate pinning when using SSL web proxies).

Well, we don't disable DANE checks in such a case.  It both economy
of mechanism and useful to apply the relevant policy for the nexthop
domain regardless of the reason the domain is selected.

And it would certainly be wrong to use the policy for the recipient
domain.

> Or said differently: are you going to enforce TLS encryption to your
> outbound smarthosts using STS?

Yes.  STS is a transport policy, not an end-to-end policy.  Therefore
it applies to the logical transport nexthop.

-- 
	Viktor.


From nobody Sun Apr 10 13:45:02 2016
Return-Path: <ietf-dane@dukhovni.org>
X-Original-To: uta@ietfa.amsl.com
Delivered-To: uta@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 28A7A12D0DA for <uta@ietfa.amsl.com>; Sun, 10 Apr 2016 13:45:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001] 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 GPn0tNn8xoAw for <uta@ietfa.amsl.com>; Sun, 10 Apr 2016 13:44:59 -0700 (PDT)
Received: from mournblade.imrryr.org (mournblade.imrryr.org [38.117.134.19]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9A45D12B04C for <uta@ietf.org>; Sun, 10 Apr 2016 13:44:59 -0700 (PDT)
Received: by mournblade.imrryr.org (Postfix, from userid 1034) id 75D1D284DEF; Sun, 10 Apr 2016 20:44:58 +0000 (UTC)
Date: Sun, 10 Apr 2016 20:44:58 +0000
From: Viktor Dukhovni <ietf-dane@dukhovni.org>
To: uta@ietf.org
Message-ID: <20160410204458.GX26423@mournblade.imrryr.org>
References: <1570673069.2008767.1459813453573.JavaMail.yahoo@mail.yahoo.com> <835BFD7B-B8F1-43CD-8E6B-AC474E9A1741@azet.org> <CANtKdUewMQ5jVAUOaWfuUquFdDB_dh_jNEfAo7T=qruqzszGqw@mail.gmail.com> <1A3DB748-26E6-404D-84F5-962B3AA21AB4@azet.org> <CANtKdUf9MujQxZQMz8xbPi+EVOYXLWgR342x1-S8u12PPm-TAA@mail.gmail.com> <20160406224039.GH26423@mournblade.imrryr.org> <20160408151600.GB13343@schweikert.ch> <20160408190615.GM26423@mournblade.imrryr.org> <20160409220007.GA17512@schweikert.ch> <CANtKdUd5Oqbd9Y-mTzEoBzKJJy5gcbUzYOu=YFziGaCsg56SoQ@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CANtKdUd5Oqbd9Y-mTzEoBzKJJy5gcbUzYOu=YFziGaCsg56SoQ@mail.gmail.com>
User-Agent: Mutt/1.5.24 (2015-08-30)
Archived-At: <http://mailarchive.ietf.org/arch/msg/uta/teACg9dUI5QNN7BEiGcikJzAJhw>
Subject: Re: [Uta] New proposal: SMTP Strict Transport Security
X-BeenThere: uta@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
Reply-To: uta@ietf.org
List-Id: UTA working group mailing list <uta.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/uta>, <mailto:uta-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/uta/>
List-Post: <mailto:uta@ietf.org>
List-Help: <mailto:uta-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/uta>, <mailto:uta-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 10 Apr 2016 20:45:01 -0000

On Sun, Apr 10, 2016 at 04:19:03PM +0200, Daniel Margolis wrote:

> Right, I was thinking of it the same was as you. If you're using
> smarthosts, you're already not using the email domain's MX, so of course
> you can't use its STS policy, either.

Postfix need not know or care which transport overrides are
"smarthosts" and which are alternate nexhtops negotiated with a
remote peer.  The same security mechanisms apply in both cases.

> What we didn't define is whether the STS policy mechanism should be used in
> this case. But does this even make sense?

Yes, it does.  You're securing a delivery channel between a sending
relay and a set receiving relays with possible MX indirection.

> STS is fairly closely coupled to
> the notion of a valid set of MXs; in the case of a smarthost setup where
> you've manually configured a relay server, it's a bit hard to see how a
> "per domain, validate MXs this way" kind of policy could be applied. Is it
> the domain of the smarthost?

RFC5321 explains how mail is routed in the absence of MX hosts.
Delivery to a non-MX destination is equivalent to delivery to a
destination with a single preference 0 MX record where owner-domain
an the MX exchange are the same.

If MX records are out of scope (non-MX smarthost, then the MX
pinning of STS is not needed, and the policy only specifies the
use of PKI and reporting addresses).  If MX records are used
to select the actual relay, then transport security policy is
the same as with mail that is addressed to the relay domain.

> Obviously you could craft a policy semantic to support this (perhaps by
> making per-host policies explicit), but is it worth the complexity? In the
> static relay case you could conceivably manually encode security policies,
> though maybe that doesn't scale well to some complex setups?

Absense of the STS DNS record that triggers policy acquisition via
HTTPS suffices to cover cases where no policy is desired or published.

However the nexthop is determined, STS and DANE should apply to
secure SMTP traffic to the nexthop.  In most case the nexthop
domain and the recipient domain are the same, but this is not
always so.

-- 
	Viktor.


From nobody Mon Apr 11 01:07:19 2016
Return-Path: <dmargolis@google.com>
X-Original-To: uta@ietfa.amsl.com
Delivered-To: uta@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4FF1A12E75E for <uta@ietfa.amsl.com>; Mon, 11 Apr 2016 01:07:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.696
X-Spam-Level: 
X-Spam-Status: No, score=-3.696 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RP_MATCHES_RCVD=-0.996, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=google.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 dhNzq597ERSD for <uta@ietfa.amsl.com>; Mon, 11 Apr 2016 01:07:16 -0700 (PDT)
Received: from mail-io0-x234.google.com (mail-io0-x234.google.com [IPv6:2607:f8b0:4001:c06::234]) (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 1E5E412E758 for <uta@ietf.org>; Mon, 11 Apr 2016 01:07:16 -0700 (PDT)
Received: by mail-io0-x234.google.com with SMTP id o126so176747108iod.0 for <uta@ietf.org>; Mon, 11 Apr 2016 01:07:15 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to; bh=KCJZUwC3LINVmXWriHSQpUSKkyenzai7Ozrx91Trd9E=; b=SZCL73iAyP0BYBuQoDJS4S8s2GkYvkv+XpnKM6wYWj7MADMK5JOn1BGvVbvCwxAeQo eL8I3NWCjIJUzZYWTUfUbns8JYUgxjR4ckcAzi9XsjJy+NokwJPsy4bNKidTYJ5CiOY9 PVm8McoyXYC0oXBy21oaRKwrCqDXzu0RXK7tNkHTmoq2YMmqiTpFJDp/jnBMwIQqfANB To9bvVBh7N7s7BSzXyeFpeEOlNTwKQAOfW3dfVIH/+u8Hysm808p3+FBdq2h1Y/z3MKZ 8e4YbdkAPY345e3yUC1e+RckcOog4ouGNOQxWIWc/cnzCyznybCiP20zBHA7svv4xVTn ffSg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to; bh=KCJZUwC3LINVmXWriHSQpUSKkyenzai7Ozrx91Trd9E=; b=D8mQLDEV1NR/q8gHn9TPo4gOr5c9/ZevXKxJIunas0KVxlFxvfa8gs4ti2WOIlsWLF /UUVhVmh9ZMDrushxCIS+Wwk0BziCKWqsk7qRX1j6QgUanZlZCuBQlkZ4LIg5zVQ4QuP 1pEzwVig1S9n1/YaCSBhtO5CjPb02FcrSu9Sf4JRnGvJKsvMFZOH0L1NlGA57+Q8AFsk YjOjrEg6jabvKGiFvzAHLKuX+Pc3buSTcgCUEe7HmwdvBfe9I6DIOVgsWxjS0SVr7g1+ 3LTC5HqbsHk+6dpJQbcIVzSv6gQa37Fs9okZOITgNSiHZU7JqMgopjq4JOjW7C7yCqVq O2gQ==
X-Gm-Message-State: AD7BkJJtuvIj23zDUTNS82kr3Ge3YuX4+jvS+OAdlqn3Ix3V9cyutbq/UbUn1B3VT0qO26rr+wGhtT6naqev7oYv
MIME-Version: 1.0
X-Received: by 10.107.12.67 with SMTP id w64mr24722987ioi.114.1460362035124; Mon, 11 Apr 2016 01:07:15 -0700 (PDT)
Received: by 10.64.91.226 with HTTP; Mon, 11 Apr 2016 01:07:14 -0700 (PDT)
In-Reply-To: <20160410204458.GX26423@mournblade.imrryr.org>
References: <1570673069.2008767.1459813453573.JavaMail.yahoo@mail.yahoo.com> <835BFD7B-B8F1-43CD-8E6B-AC474E9A1741@azet.org> <CANtKdUewMQ5jVAUOaWfuUquFdDB_dh_jNEfAo7T=qruqzszGqw@mail.gmail.com> <1A3DB748-26E6-404D-84F5-962B3AA21AB4@azet.org> <CANtKdUf9MujQxZQMz8xbPi+EVOYXLWgR342x1-S8u12PPm-TAA@mail.gmail.com> <20160406224039.GH26423@mournblade.imrryr.org> <20160408151600.GB13343@schweikert.ch> <20160408190615.GM26423@mournblade.imrryr.org> <20160409220007.GA17512@schweikert.ch> <CANtKdUd5Oqbd9Y-mTzEoBzKJJy5gcbUzYOu=YFziGaCsg56SoQ@mail.gmail.com> <20160410204458.GX26423@mournblade.imrryr.org>
Date: Mon, 11 Apr 2016 10:07:14 +0200
Message-ID: <CANtKdUe7_ZUT=Js47mP=i7h+hbR6wrMJN6XvZEypyWGyTkVUeA@mail.gmail.com>
From: Daniel Margolis <dmargolis@google.com>
To: uta@ietf.org
Content-Type: multipart/alternative; boundary=001a113f92b659755805303108e4
Archived-At: <http://mailarchive.ietf.org/arch/msg/uta/NX626qIP2QAzXkbeWkoPXLXFMZw>
Subject: Re: [Uta] New proposal: SMTP Strict Transport Security
X-BeenThere: uta@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: UTA working group mailing list <uta.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/uta>, <mailto:uta-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/uta/>
List-Post: <mailto:uta@ietf.org>
List-Help: <mailto:uta-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/uta>, <mailto:uta-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 11 Apr 2016 08:07:18 -0000

--001a113f92b659755805303108e4
Content-Type: text/plain; charset=UTF-8

I see your point. But I think one thing still needs to be specified. In the
smarthost case, what domain is used to validate the server certificate
during the HTTPS policy fetch? Presumably it's now the domain of the
smarthost, not the domain of the recipient domain (for obvious reasons).
But this is mildly funny; absent smarthosting, it's the email domain that
signs the policy (for obvious reasons); with smarthosting, it's the MX
domain?

I guess this is why Chris was saying it makes sense to separate routing
policy and security policy, but I don't love the complexity that that adds.
I think instead it makes sense to simply say that in the smarthosting case
the policy domain is the smarthost domain.

Dan

On Sun, Apr 10, 2016 at 10:44 PM, Viktor Dukhovni <ietf-dane@dukhovni.org>
wrote:

> On Sun, Apr 10, 2016 at 04:19:03PM +0200, Daniel Margolis wrote:
>
> > Right, I was thinking of it the same was as you. If you're using
> > smarthosts, you're already not using the email domain's MX, so of course
> > you can't use its STS policy, either.
>
> Postfix need not know or care which transport overrides are
> "smarthosts" and which are alternate nexhtops negotiated with a
> remote peer.  The same security mechanisms apply in both cases.
>
> > What we didn't define is whether the STS policy mechanism should be used
> in
> > this case. But does this even make sense?
>
> Yes, it does.  You're securing a delivery channel between a sending
> relay and a set receiving relays with possible MX indirection.
>
> > STS is fairly closely coupled to
> > the notion of a valid set of MXs; in the case of a smarthost setup where
> > you've manually configured a relay server, it's a bit hard to see how a
> > "per domain, validate MXs this way" kind of policy could be applied. Is
> it
> > the domain of the smarthost?
>
> RFC5321 explains how mail is routed in the absence of MX hosts.
> Delivery to a non-MX destination is equivalent to delivery to a
> destination with a single preference 0 MX record where owner-domain
> an the MX exchange are the same.
>
> If MX records are out of scope (non-MX smarthost, then the MX
> pinning of STS is not needed, and the policy only specifies the
> use of PKI and reporting addresses).  If MX records are used
> to select the actual relay, then transport security policy is
> the same as with mail that is addressed to the relay domain.
>
> > Obviously you could craft a policy semantic to support this (perhaps by
> > making per-host policies explicit), but is it worth the complexity? In
> the
> > static relay case you could conceivably manually encode security
> policies,
> > though maybe that doesn't scale well to some complex setups?
>
> Absense of the STS DNS record that triggers policy acquisition via
> HTTPS suffices to cover cases where no policy is desired or published.
>
> However the nexthop is determined, STS and DANE should apply to
> secure SMTP traffic to the nexthop.  In most case the nexthop
> domain and the recipient domain are the same, but this is not
> always so.
>
> --
>         Viktor.
>
> _______________________________________________
> Uta mailing list
> Uta@ietf.org
> https://www.ietf.org/mailman/listinfo/uta
>

--001a113f92b659755805303108e4
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">I see your point. But I think one thing still needs to be =
specified. In the smarthost case, what domain is used to validate the serve=
r certificate during the HTTPS policy fetch? Presumably it&#39;s now the do=
main of the smarthost, not the domain of the recipient domain (for obvious =
reasons). But this is mildly funny; absent smarthosting, it&#39;s the email=
 domain that signs the policy (for obvious reasons); with smarthosting, it&=
#39;s the MX domain?=C2=A0<div><br></div><div>I guess this is why Chris was=
 saying it makes sense to separate routing policy and security policy, but =
I don&#39;t love the complexity that that adds. I think instead it makes se=
nse to simply say that in the smarthosting case the policy domain is the sm=
arthost domain.=C2=A0</div><div><br></div><div>Dan</div></div><div class=3D=
"gmail_extra"><br><div class=3D"gmail_quote">On Sun, Apr 10, 2016 at 10:44 =
PM, Viktor Dukhovni <span dir=3D"ltr">&lt;<a href=3D"mailto:ietf-dane@dukho=
vni.org" target=3D"_blank">ietf-dane@dukhovni.org</a>&gt;</span> wrote:<br>=
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><span class=3D"">On Sun, Apr 10, 2016 at 04:=
19:03PM +0200, Daniel Margolis wrote:<br>
<br>
&gt; Right, I was thinking of it the same was as you. If you&#39;re using<b=
r>
&gt; smarthosts, you&#39;re already not using the email domain&#39;s MX, so=
 of course<br>
&gt; you can&#39;t use its STS policy, either.<br>
<br>
</span>Postfix need not know or care which transport overrides are<br>
&quot;smarthosts&quot; and which are alternate nexhtops negotiated with a<b=
r>
remote peer.=C2=A0 The same security mechanisms apply in both cases.<br>
<span class=3D""><br>
&gt; What we didn&#39;t define is whether the STS policy mechanism should b=
e used in<br>
&gt; this case. But does this even make sense?<br>
<br>
</span>Yes, it does.=C2=A0 You&#39;re securing a delivery channel between a=
 sending<br>
relay and a set receiving relays with possible MX indirection.<br>
<span class=3D""><br>
&gt; STS is fairly closely coupled to<br>
&gt; the notion of a valid set of MXs; in the case of a smarthost setup whe=
re<br>
&gt; you&#39;ve manually configured a relay server, it&#39;s a bit hard to =
see how a<br>
&gt; &quot;per domain, validate MXs this way&quot; kind of policy could be =
applied. Is it<br>
&gt; the domain of the smarthost?<br>
<br>
</span>RFC5321 explains how mail is routed in the absence of MX hosts.<br>
Delivery to a non-MX destination is equivalent to delivery to a<br>
destination with a single preference 0 MX record where owner-domain<br>
an the MX exchange are the same.<br>
<br>
If MX records are out of scope (non-MX smarthost, then the MX<br>
pinning of STS is not needed, and the policy only specifies the<br>
use of PKI and reporting addresses).=C2=A0 If MX records are used<br>
to select the actual relay, then transport security policy is<br>
the same as with mail that is addressed to the relay domain.<br>
<span class=3D""><br>
&gt; Obviously you could craft a policy semantic to support this (perhaps b=
y<br>
&gt; making per-host policies explicit), but is it worth the complexity? In=
 the<br>
&gt; static relay case you could conceivably manually encode security polic=
ies,<br>
&gt; though maybe that doesn&#39;t scale well to some complex setups?<br>
<br>
</span>Absense of the STS DNS record that triggers policy acquisition via<b=
r>
HTTPS suffices to cover cases where no policy is desired or published.<br>
<br>
However the nexthop is determined, STS and DANE should apply to<br>
secure SMTP traffic to the nexthop.=C2=A0 In most case the nexthop<br>
domain and the recipient domain are the same, but this is not<br>
always so.<br>
<span class=3D"HOEnZb"><font color=3D"#888888"><br>
--<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Viktor.<br>
</font></span><div class=3D"HOEnZb"><div class=3D"h5"><br>
_______________________________________________<br>
Uta mailing list<br>
<a href=3D"mailto:Uta@ietf.org">Uta@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/uta" rel=3D"noreferrer" ta=
rget=3D"_blank">https://www.ietf.org/mailman/listinfo/uta</a><br>
</div></div></blockquote></div><br></div>

--001a113f92b659755805303108e4--


From nobody Mon Apr 11 13:20:34 2016
Return-Path: <david@schweikert.ch>
X-Original-To: uta@ietfa.amsl.com
Delivered-To: uta@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7D4E712F130 for <uta@ietfa.amsl.com>; Mon, 11 Apr 2016 13:20:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.998
X-Spam-Level: 
X-Spam-Status: No, score=-2.998 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RP_MATCHES_RCVD=-0.996, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=schweikert.ch
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 PVT3iBdY7wRi for <uta@ietfa.amsl.com>; Mon, 11 Apr 2016 13:20:28 -0700 (PDT)
Received: from mail.schweikert.ch (gore.schweikert.ch [176.9.38.243]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 8CEE712EF52 for <uta@ietf.org>; Mon, 11 Apr 2016 13:20:28 -0700 (PDT)
Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.schweikert.ch (Postfix) with ESMTP id 6F273600A8 for <uta@ietf.org>; Mon, 11 Apr 2016 22:20:25 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=schweikert.ch; h= user-agent:in-reply-to:content-disposition:content-type :content-type:mime-version:references:message-id:subject:subject :from:from:date:date:received:received; s=mail; t=1460406025; bh=nWqouX/PbSMR75DhcOv597dGYVsTaqBHDHE+A9pjcbU=; b=oUls/LPVpTcJ GKgEXpUSIsUTlnoiIEnmBjFimgpayxSvVz5xFK4EhimlU363I4lZbzxQlorxuR0W 701bCBXUGUPVFNdmqe1riXwmIoRYuz1gy1JR64h9mg4h7coAjv1kU7Ma+ZSdaUw2 r+OS5ueQgxFdz67WPWcyEeVXKMd5qcysfl+zwRp9sn+oVZRo/dEJrv7IZl1n3BWM MW/EBRaEaYrQX5AZumoH/FmGmovnLw78H4O+ox9xOzEDhIrYkc7+MkpXyggjua17 Cn9gsyUEJ/2sgKEq5WkRc95ghGWlu2UojlYDi+wqZc6zEtqPT092Zf0DN9OmYAaJ bAxqUllMhg==
X-Virus-Scanned: Debian amavisd-new at mail.schweikert.ch
Received: from mail.schweikert.ch ([127.0.0.1]) by localhost (mail.schweikert.ch [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 6DYXJplKhKwZ for <uta@ietf.org>; Mon, 11 Apr 2016 22:20:25 +0200 (CEST)
Received: by mail.schweikert.ch (Postfix, from userid 1000) id 51FBD63616; Mon, 11 Apr 2016 22:20:25 +0200 (CEST)
Date: Mon, 11 Apr 2016 22:20:25 +0200
From: David Schweikert <david@schweikert.ch>
To: uta@ietf.org
Message-ID: <20160411202025.GB32383@schweikert.ch>
References: <1570673069.2008767.1459813453573.JavaMail.yahoo@mail.yahoo.com> <835BFD7B-B8F1-43CD-8E6B-AC474E9A1741@azet.org> <CANtKdUewMQ5jVAUOaWfuUquFdDB_dh_jNEfAo7T=qruqzszGqw@mail.gmail.com> <1A3DB748-26E6-404D-84F5-962B3AA21AB4@azet.org> <CANtKdUf9MujQxZQMz8xbPi+EVOYXLWgR342x1-S8u12PPm-TAA@mail.gmail.com> <20160406224039.GH26423@mournblade.imrryr.org> <20160408151600.GB13343@schweikert.ch> <20160408190615.GM26423@mournblade.imrryr.org> <20160409220007.GA17512@schweikert.ch> <20160410203642.GW26423@mournblade.imrryr.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20160410203642.GW26423@mournblade.imrryr.org>
User-Agent: Mutt/1.5.21 (2010-09-15)
Archived-At: <http://mailarchive.ietf.org/arch/msg/uta/7h5DRfcP2kZfxA3EEprqCuzeqPY>
Subject: Re: [Uta] New proposal: SMTP Strict Transport Security
X-BeenThere: uta@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: UTA working group mailing list <uta.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/uta>, <mailto:uta-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/uta/>
List-Post: <mailto:uta@ietf.org>
List-Help: <mailto:uta-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/uta>, <mailto:uta-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 11 Apr 2016 20:20:32 -0000

Hi Viktor,

On Sun, Apr 10, 2016 at 20:36:42 +0000, Viktor Dukhovni wrote:
> > OK, got it. But this is going to work only for nexthops / relays
> > specified as a mail domain (and not as hosts), right?
> 
> Either.  For example, DANE works regardless of whether routing is
> via MX records or directly to the nexthop as a hostname.

I am not sure that the analogy with DANE is appropriate. DANE has TLSA
records for hosts, and not for mail domains (and can of course map
securely mail domains to hosts with DNSSEC MX lookups), whereas STS
focuses on the policy for mail domains, right?

> A domain with no MX records, or a administrator-specified route in
> which the nexthop is not subject to MX lookups (a [nexthop.example] in
> square brackets with Sendmail and Postfix) is implicitly equivalent
> to:
> 
> 	nexhop.example. IN MX 0 nexthop.example.
> 
> So if a Postfix transport table contains:
> 
> 	examle.com	smtp:example.net
> 
> then we deliver example.com's mail via the MX hosts of example.net
> with whatever policy pertains to other mail sent via example.net.
> If, on the other hand, the transport table contains:
> 
> 	examle.org	smtp:[smtp.example.name]
> 
> then mail is sent via the smtp.example.name relay, and the TLS
> policy is that for "smtp.example.name" as a domain with no MX
> records.

In the case of STS, I have the feeling that it is important not to mix
up mail domains and hostnames. So if you have:

   examle.org	smtp:[example.name]

Then "example.name" is a hostname, and the MTA shouldn't lookup the policy
for "example.name", because that is actually the policy for the mail
domain "example.name".

Cheers
David


From nobody Mon Apr 11 13:30:53 2016
Return-Path: <ietf-dane@dukhovni.org>
X-Original-To: uta@ietfa.amsl.com
Delivered-To: uta@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 48BA012E6D2 for <uta@ietfa.amsl.com>; Mon, 11 Apr 2016 13:30:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001] 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 8tg0ANPRACw2 for <uta@ietfa.amsl.com>; Mon, 11 Apr 2016 13:30:49 -0700 (PDT)
Received: from mournblade.imrryr.org (mournblade.imrryr.org [38.117.134.19]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4FDA112ED47 for <uta@ietf.org>; Mon, 11 Apr 2016 13:30:48 -0700 (PDT)
Received: by mournblade.imrryr.org (Postfix, from userid 1034) id 0CC3C284DCA; Mon, 11 Apr 2016 20:30:47 +0000 (UTC)
Date: Mon, 11 Apr 2016 20:30:47 +0000
From: Viktor Dukhovni <ietf-dane@dukhovni.org>
To: uta@ietf.org
Message-ID: <20160411203046.GZ26423@mournblade.imrryr.org>
References: <CANtKdUewMQ5jVAUOaWfuUquFdDB_dh_jNEfAo7T=qruqzszGqw@mail.gmail.com> <1A3DB748-26E6-404D-84F5-962B3AA21AB4@azet.org> <CANtKdUf9MujQxZQMz8xbPi+EVOYXLWgR342x1-S8u12PPm-TAA@mail.gmail.com> <20160406224039.GH26423@mournblade.imrryr.org> <20160408151600.GB13343@schweikert.ch> <20160408190615.GM26423@mournblade.imrryr.org> <20160409220007.GA17512@schweikert.ch> <CANtKdUd5Oqbd9Y-mTzEoBzKJJy5gcbUzYOu=YFziGaCsg56SoQ@mail.gmail.com> <20160410204458.GX26423@mournblade.imrryr.org> <CANtKdUe7_ZUT=Js47mP=i7h+hbR6wrMJN6XvZEypyWGyTkVUeA@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CANtKdUe7_ZUT=Js47mP=i7h+hbR6wrMJN6XvZEypyWGyTkVUeA@mail.gmail.com>
User-Agent: Mutt/1.5.24 (2015-08-30)
Archived-At: <http://mailarchive.ietf.org/arch/msg/uta/Q4A99aWrrcey0FUNfGEWZY_1YkE>
Subject: Re: [Uta] New proposal: SMTP Strict Transport Security
X-BeenThere: uta@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
Reply-To: uta@ietf.org
List-Id: UTA working group mailing list <uta.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/uta>, <mailto:uta-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/uta/>
List-Post: <mailto:uta@ietf.org>
List-Help: <mailto:uta-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/uta>, <mailto:uta-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 11 Apr 2016 20:30:51 -0000

On Mon, Apr 11, 2016 at 10:07:14AM +0200, Daniel Margolis wrote:

> I see your point. But I think one thing still needs to be specified. In the
> smarthost case, what domain is used to validate the server certificate
> during the HTTPS policy fetch?

The nexthop domain.  It may, or may not, be subject to further MX
indirection depending on local policy:

    1.  # Forward example.com email via example.net's MX hosts
	# whatever they may be
	#
	example.com	smtp:example.net

    2.  # Forward example.name email via the smtp.example.org
	# relay host.
	#
	example.name	smtp:[smtp.example.org]

In case "1" the STS policy DNS lookup (signal of support) would be
at "example.net" and the well-known URI would be https://example.com/...

In case "2" the STS policy DNS lookup would at "smtp.example.org",
and if that happens to indicate STS support, the well known URI
would be https://smtp.example.org/...


> Presumably it's now the domain of the
> smarthost, not the domain of the recipient domain (for obvious reasons).

Yes, always the domain of the SMTP nexthop, which may or not be
subject to further MX indirection, but recall that (RFC 5321) relay
hosts are just (implicitly) MX domains with:

	smtp.example.com. IN MX 0 smtp.example.com

So the two cases are the same, the STS policy is always associated
with the owner-domain domain on the (possibly implicit) MX RRset.

> But this is mildly funny; absent smarthosting, it's the email domain that
> signs the policy (for obvious reasons); with smarthosting, it's the MX
> domain?

Nothing funny at all, and not it is always the transport nexthop
domain that signs the policy.  Do not confuse the nexthop domain
with its MX exchange host, even when they are necessarily the same
(example 2).

> I guess this is why Chris was saying it makes sense to separate routing
> policy and security policy, but I don't love the complexity that that adds.

Yes, these are related.  With DANE routing is protected by DNSSEC
alone, and TLSA records then provide security policy for the target
MX.  Since TLSA records are cleanly separated from routing they
protect the traffic for that MX regardless of whether MX indirection
was used or not.

In Postfix 3.1 (released in Feb 2016) we by default also make use
of DANE TLSA records even when the MX RRset is not signed, provided
the MX host's TLSA records are.  We don't log that as being as
secure as having signed MX RRs, but it does protect against active
attacks when the DNS records are not compromised.

> I think instead it makes sense to simply say that in the smarthosting case
> the policy domain is the smarthost domain.

Not sure where "instead" comes from, that's the only plausible
interpretation for transport security, but note that when the
nexthop domain (smarthost is a special case of nexthop based on
local policy) is subject to further MX lookups (example 1), the
STS policy is associated with the nexthop domain, not the target
MX hosts.

-- 
	Viktor.


From nobody Mon Apr 11 13:45:17 2016
Return-Path: <stephen.farrell@cs.tcd.ie>
X-Original-To: uta@ietfa.amsl.com
Delivered-To: uta@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D1B4C12EAD5 for <uta@ietfa.amsl.com>; Mon, 11 Apr 2016 13:45:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.297
X-Spam-Level: 
X-Spam-Status: No, score=-5.297 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.996, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cs.tcd.ie
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 ByPzfOxFCw1J for <uta@ietfa.amsl.com>; Mon, 11 Apr 2016 13:45:13 -0700 (PDT)
Received: from mercury.scss.tcd.ie (mercury.scss.tcd.ie [134.226.56.6]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 687D912E436 for <uta@ietf.org>; Mon, 11 Apr 2016 13:45:13 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by mercury.scss.tcd.ie (Postfix) with ESMTP id 640DBBDF9 for <uta@ietf.org>; Mon, 11 Apr 2016 21:45:10 +0100 (IST)
X-Virus-Scanned: Debian amavisd-new at scss.tcd.ie
Received: from mercury.scss.tcd.ie ([127.0.0.1]) by localhost (mercury.scss.tcd.ie [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DntjE_kligsb for <uta@ietf.org>; Mon, 11 Apr 2016 21:45:08 +0100 (IST)
Received: from [10.87.49.100] (unknown [86.46.23.241]) by mercury.scss.tcd.ie (Postfix) with ESMTPSA id 2F6AFBDD0 for <uta@ietf.org>; Mon, 11 Apr 2016 21:45:08 +0100 (IST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cs.tcd.ie; s=mail; t=1460407508; bh=ZYQQE9Q++jxvGJrnv6xX075Q9FjLdHBUmfwPqjd5Tfw=; h=To:From:Subject:Date:From; b=p6GDzq9ehW9O1+cxdd3zxb+hZ0r5/6awEDXr3MYPx84ejTP/ZBfXeR5VS5z5wi3YV tFS2GkHaH5htWd9fhyJOn0ne4SDTgu8MhYgjm7FeD7DbGXYwOi2aENHlC40G8EKzr/ viKnRxJDQHICSQ5ilbXfSx/drdEffJElxTySuucA=
To: "uta@ietf.org" <uta@ietf.org>
From: Stephen Farrell <stephen.farrell@cs.tcd.ie>
Openpgp: id=D66EA7906F0B897FB2E97D582F3C8736805F8DA2; url=
Message-ID: <570C0CD2.9030401@cs.tcd.ie>
Date: Mon, 11 Apr 2016 21:45:06 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0
MIME-Version: 1.0
Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-256; boundary="------------ms090201000000020901000808"
Archived-At: <http://mailarchive.ietf.org/arch/msg/uta/K5VzClYdB6mg4syc2UTlPlPQdNQ>
Subject: [Uta] "webby" STS and DANE/DNSSEC co-existence
X-BeenThere: uta@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: UTA working group mailing list <uta.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/uta>, <mailto:uta-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/uta/>
List-Post: <mailto:uta@ietf.org>
List-Help: <mailto:uta-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/uta>, <mailto:uta-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 11 Apr 2016 20:45:16 -0000

This is a cryptographically signed message in MIME format.

--------------ms090201000000020901000808
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable


Hiya,

With no hats, I'd like to argue that the WG should pursue
the "webby" STS proposal, but should also ensure that we
do not damage progress made by those who are deploying the
DANE/DNSSEC approach to securing MTA-MTA connections.

I think we can do that by requiring that outbound MTAs
that implement the "webby" approach MUST/SHOULD first test
for, and process, TLSA records for the next MX in the path.
In  other words the "webby" approach is tried 2nd.

In more detail, my reasoning is as follows:

- The DANE/DNSSEC approach works and when deployed does
  move MTA-MTA use of TLS beyond opportunistic security.
  And indeed some folks have deployed that and gotten the
  benefits.
- Deploying DANE/DNSSEC requires DNSSEC (fairly obviously;-)
  and the fact is that DNSSEC deployment is not something
  that everyone who wants to move beyond opportunistic
  security is currently willing to do.
- We can, and probably will, define a "webby" to achieve
  the same desired effect of getting beyond opportunistic
  security. Daniel and co's STS aprooach (as outlined for
  the next revision in B-A) is one such, and seems like
  it's one that can work.
- Any such webby approach will inherently involve us in
  re-inventing a lot of what we get from DANE/DNSSEC. That's
  a bit of a pain, but inevitable and not a reason to not
  do STS. (The goal here is not perfection but to enable
  folks to do better than opportunistic security after all.)
- My guess is that the webby approach will end up being
  a bit less secure/safe compared to the DANE/DNSSEC way
  of doing things, mostly due to it having to depend on
  some kind of TOFU step that gets repeated whenever DNS
  without DNSSEC is used (i.e. when something cached
  expires).
- We therefore end up with two ways to do one thing. One
  ("webby") likely to be deployed by some bigger mail
  processors who don't currently do DNSSEC, and another
  DANE/DNSSEC that will likely be better and that's where
  we'd (as in the IETF) really prefer us all to end up
  when/if possible.
- I think that saying one MUST first try DANE/DNSSEC is
  correct, but there may be cases where e.g. DNSSEC is
  just never going to visibly work for an MTA so it may
  be correct to say one SHOULD first try DANE/DNSSEC
  with the exception being cases where one knows at
  coding time that you'll never see an RRSIG or similar.

Anyway with two ways, I really hope the WG conclude that
we want both to be deployable without one damaging the
other. There are of course other ways to try ensure we can
sensibly live with both DANE/DNSSEC and webby STS and
yet help folks move beyond opportunistic security, but
I think the way outlined above is likely best if the folks
who develop MTAs can accept it.

Cheers,
S.

PS: Yes, this is entirely jumping the gun, and is only
something the WG would need to decide a bit down the road.
But since we had a good discussion of the topic in B-A,
I wanted to send this before I forget it all, as I'm quite
likely to do;-)



--------------ms090201000000020901000808
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgEFADCABgkqhkiG9w0BBwEAAKCC
CvIwggUIMIID8KADAgECAhBPzaE7pzYviUJyhmHTFBdnMA0GCSqGSIb3DQEBCwUAMHUxCzAJ
BgNVBAYTAklMMRYwFAYDVQQKEw1TdGFydENvbSBMdGQuMSkwJwYDVQQLEyBTdGFydENvbSBD
ZXJ0aWZpY2F0aW9uIEF1dGhvcml0eTEjMCEGA1UEAxMaU3RhcnRDb20gQ2xhc3MgMSBDbGll
bnQgQ0EwHhcNMTYwMjA5MDkyODE1WhcNMTcwMjA5MDkyODE1WjBOMSIwIAYDVQQDDBlzdGVw
aGVuLmZhcnJlbGxAY3MudGNkLmllMSgwJgYJKoZIhvcNAQkBFhlzdGVwaGVuLmZhcnJlbGxA
Y3MudGNkLmllMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAtuC0rYze/2JinSra
C9F2RjGdQZjNALLcW9C3WKTwYII3wBslobmHuPEYE5JaGItmzuKnAW619R1rD/kfoNWC19N3
rBZ6UX9Cmb9D9exCwYIwVuSwjrCQWGxgCtNQTrwKzCCpI790GRiMTvxvO7UmzmBrCaBLiZW5
R0fBjK5Yn6hUhAzGBkNbkIEL28cLJqH0yVz7Kl92OlzrQqTPEts5m6cDnNdY/ADfeAX18c1r
dxZqcAxhLotrCqgsVA4ilbQDMMXGTLlB5TP35HeWZuGBU7xu003rLcFLdOkD8xvpJoYZy9Kt
3oABXPS5yqtMK+XCNdqmMn+4mOtLwQSMmPCSiQIDAQABo4IBuTCCAbUwCwYDVR0PBAQDAgSw
MB0GA1UdJQQWMBQGCCsGAQUFBwMCBggrBgEFBQcDBDAJBgNVHRMEAjAAMB0GA1UdDgQWBBQJ
QhvwQ5Fl372Z6xqo6fdn8XejTTAfBgNVHSMEGDAWgBQkgWw5Yb5JD4+3G0YrySi1J0htaDBv
BggrBgEFBQcBAQRjMGEwJAYIKwYBBQUHMAGGGGh0dHA6Ly9vY3NwLnN0YXJ0c3NsLmNvbTA5
BggrBgEFBQcwAoYtaHR0cDovL2FpYS5zdGFydHNzbC5jb20vY2VydHMvc2NhLmNsaWVudDEu
Y3J0MDgGA1UdHwQxMC8wLaAroCmGJ2h0dHA6Ly9jcmwuc3RhcnRzc2wuY29tL3NjYS1jbGll
bnQxLmNybDAkBgNVHREEHTAbgRlzdGVwaGVuLmZhcnJlbGxAY3MudGNkLmllMCMGA1UdEgQc
MBqGGGh0dHA6Ly93d3cuc3RhcnRzc2wuY29tLzBGBgNVHSAEPzA9MDsGCysGAQQBgbU3AQIE
MCwwKgYIKwYBBQUHAgEWHmh0dHA6Ly93d3cuc3RhcnRzc2wuY29tL3BvbGljeTANBgkqhkiG
9w0BAQsFAAOCAQEArzrSv2C8PlBBmGuiGrzm2Wma46/KHtXmZYS0bsd43pM66Pc/MsqPE0HD
C1GzMFfwB6BfkJn8ijNSIhlgj898WzjvnpM/SO8KStjlB8719ig/xKISrOl5mX55XbFlQtX9
U6MrqRgbDIATxhD9IDr+ryvovDzChqgQj7mt2jYr4mdlRjsjod3H1VY6XglRmaaNGZfsCARM
aE/TU5SXIiqauwt5KxNGYAY67QkOBs7O1FkSXpTk7+1MmzJMF4nP8QQ5n8vhVNseF+/Wm7ai
9mtnrkLbaznMsy/ULo/C2yuLUWTbZZbf4EKNmVdme6tUDgYkFjAFOblfA7W1fSPiQGagYzCC
BeIwggPKoAMCAQICEGunin0K14jWUQr5WeTntOEwDQYJKoZIhvcNAQELBQAwfTELMAkGA1UE
BhMCSUwxFjAUBgNVBAoTDVN0YXJ0Q29tIEx0ZC4xKzApBgNVBAsTIlNlY3VyZSBEaWdpdGFs
IENlcnRpZmljYXRlIFNpZ25pbmcxKTAnBgNVBAMTIFN0YXJ0Q29tIENlcnRpZmljYXRpb24g
QXV0aG9yaXR5MB4XDTE1MTIxNjAxMDAwNVoXDTMwMTIxNjAxMDAwNVowdTELMAkGA1UEBhMC
SUwxFjAUBgNVBAoTDVN0YXJ0Q29tIEx0ZC4xKTAnBgNVBAsTIFN0YXJ0Q29tIENlcnRpZmlj
YXRpb24gQXV0aG9yaXR5MSMwIQYDVQQDExpTdGFydENvbSBDbGFzcyAxIENsaWVudCBDQTCC
ASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAL192vfDon2D9luC/dtbX64eG3XAtRmv
mCSsu1d52DXsCR58zJQbCtB2/A5uFqNxWacpXGGtTCRk9dEDBlmixEd8QiLkUfvHpJX/xKnm
VkS6Iye8wUbYzMsDzgnpazlPg19dnSqfhM+Cevdfa89VLnUztRr2cgmCfyO9Otrh7LJDPG+4
D8ZnAqDtVB8MKYJL6QgKyVhhaBc4y3bGWxKyXEtx7QIZZGxPwSkzK3WIN+VKNdkiwTubW5PI
dopmykwvIjLPqbJK7yPwFZYekKE015OsW6FV+s4DIM8UlVS8pkIsoGGJtMuWjLL4tq2hYQuu
N0jhrxK1ljz50hH23gA9cbMCAwEAAaOCAWQwggFgMA4GA1UdDwEB/wQEAwIBBjAdBgNVHSUE
FjAUBggrBgEFBQcDAgYIKwYBBQUHAwQwEgYDVR0TAQH/BAgwBgEB/wIBADAyBgNVHR8EKzAp
MCegJaAjhiFodHRwOi8vY3JsLnN0YXJ0c3NsLmNvbS9zZnNjYS5jcmwwZgYIKwYBBQUHAQEE
WjBYMCQGCCsGAQUFBzABhhhodHRwOi8vb2NzcC5zdGFydHNzbC5jb20wMAYIKwYBBQUHMAKG
JGh0dHA6Ly9haWEuc3RhcnRzc2wuY29tL2NlcnRzL2NhLmNydDAdBgNVHQ4EFgQUJIFsOWG+
SQ+PtxtGK8kotSdIbWgwHwYDVR0jBBgwFoAUTgvvGqRAW6UXaYcwyjRoQ9BBrvIwPwYDVR0g
BDgwNjA0BgRVHSAAMCwwKgYIKwYBBQUHAgEWHmh0dHA6Ly93d3cuc3RhcnRzc2wuY29tL3Bv
bGljeTANBgkqhkiG9w0BAQsFAAOCAgEAi+P3h+wBi4StDwECW5zhIycjBL008HACblIf26HY
0JdOruKbrWDsXUsiI0j/7Crft9S5oxvPiDtVqspBOB/y5uzSns1lZwh7sG96bYBZpcGzGxpF
NjDmQbcM3yl3WFIRS4WhNrsOY14V7y2IrUGsvetsD+bjyOngCIVeC/GmsmtbuLOzJ606tEc9
uRbhjTu/b0x2Fo+/e7UkQvKzNeo7OMhijixaULyINBfCBJb+e29bLafgu6JqjOUJ9eXXj20p
6q/CW+uVrZiSW57+q5an2P2i7hP85jQJcy5j4HzA0rSiF3YPhKGAWUxKPMAVGgcYoXzWydOv
Z3UDsTDTagXpRDIKQLZo02wrlxY6iMFqvlzsemVf1odhQJmi7Eh5TbxI40kDGcBOBHhwnaOu
mZhLP+SWJQnjpLpSlUOj95uf1zo9oz9e0NgIJoz/tdfrBzez76xtDsK0KfUDHt1/q59BvDI7
RX6gVr0fQoCyMczNzCTcRXYHY0tq2J0oT+bsb6sH2b4WVWAiJKnSYaWDjdA70qHX4mq9MIjO
/ZskmSY8wtAk24orAc0vwXgYanqNsBX5Yv4sN4Z9VyrwMdLcusP7HJgRdAGKpkR2I9U4zEsN
JQJewM7S4Jalo1DyPrLpL2nTET8ZrSl5Utp1UeGp/2deoprGevfnxWB+vHNQiu85o6MxggPM
MIIDyAIBATCBiTB1MQswCQYDVQQGEwJJTDEWMBQGA1UEChMNU3RhcnRDb20gTHRkLjEpMCcG
A1UECxMgU3RhcnRDb20gQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkxIzAhBgNVBAMTGlN0YXJ0
Q29tIENsYXNzIDEgQ2xpZW50IENBAhBPzaE7pzYviUJyhmHTFBdnMA0GCWCGSAFlAwQCAQUA
oIICEzAYBgkqhkiG9w0BCQMxCwYJKoZIhvcNAQcBMBwGCSqGSIb3DQEJBTEPFw0xNjA0MTEy
MDQ1MDZaMC8GCSqGSIb3DQEJBDEiBCCkU9C+xOR8z738CEhw1WVshTXcIeg8k29ZF9B7GYjk
ejBsBgkqhkiG9w0BCQ8xXzBdMAsGCWCGSAFlAwQBKjALBglghkgBZQMEAQIwCgYIKoZIhvcN
AwcwDgYIKoZIhvcNAwICAgCAMA0GCCqGSIb3DQMCAgFAMAcGBSsOAwIHMA0GCCqGSIb3DQMC
AgEoMIGaBgkrBgEEAYI3EAQxgYwwgYkwdTELMAkGA1UEBhMCSUwxFjAUBgNVBAoTDVN0YXJ0
Q29tIEx0ZC4xKTAnBgNVBAsTIFN0YXJ0Q29tIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MSMw
IQYDVQQDExpTdGFydENvbSBDbGFzcyAxIENsaWVudCBDQQIQT82hO6c2L4lCcoZh0xQXZzCB
nAYLKoZIhvcNAQkQAgsxgYyggYkwdTELMAkGA1UEBhMCSUwxFjAUBgNVBAoTDVN0YXJ0Q29t
IEx0ZC4xKTAnBgNVBAsTIFN0YXJ0Q29tIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MSMwIQYD
VQQDExpTdGFydENvbSBDbGFzcyAxIENsaWVudCBDQQIQT82hO6c2L4lCcoZh0xQXZzANBgkq
hkiG9w0BAQEFAASCAQA3RZePNT0guZ9dGLNiUCPcf36jxC6YzMhfqi361d1/oZaSdhaRVGDI
TEKvnD+3IDwjcBHFO569XWYUXXhPQqQ4yC4NQzuPuxGScInQ+cruv2zt/uloc/JJCiy1SgBY
nS3cK3IuH7nYeqOzA3Nzm7lsVDQ9eO5bUpPojSiwBwB6WVAEAlGrND+epja0rkr2DMIdVPRR
WQY1IQdenHYTQWph9CpBY5hIP0wH80oyswCOA8HczcULPu2vLUiZ3/AUdltlO4zmAlNrztEU
Fe34N7gbiZhdetrH8xeG86h3VwZj55iA9mLYU2H9/lJvUK2aU6kW7XAbOtDRZzjh06lI492n
AAAAAAAA
--------------ms090201000000020901000808--


From nobody Mon Apr 11 13:53:56 2016
Return-Path: <dmargolis@google.com>
X-Original-To: uta@ietfa.amsl.com
Delivered-To: uta@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BCFBB12F465 for <uta@ietfa.amsl.com>; Mon, 11 Apr 2016 13:53:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.696
X-Spam-Level: 
X-Spam-Status: No, score=-3.696 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RP_MATCHES_RCVD=-0.996, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=google.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 3CWZU8d3p6ee for <uta@ietfa.amsl.com>; Mon, 11 Apr 2016 13:53:53 -0700 (PDT)
Received: from mail-io0-x22a.google.com (mail-io0-x22a.google.com [IPv6:2607:f8b0:4001:c06::22a]) (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 1E1C012F464 for <uta@ietf.org>; Mon, 11 Apr 2016 13:53:53 -0700 (PDT)
Received: by mail-io0-x22a.google.com with SMTP id u185so2192969iod.3 for <uta@ietf.org>; Mon, 11 Apr 2016 13:53:53 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to; bh=v0HY4WKsJlZAwCoJhcM/b7mtP9LM4YeCe7GPniEF+Go=; b=KM/Lu16CzKKbBda6mzxWDMTzXwSQxDgQ7lEqvQWwO4uZdOUldIiJ0vnkp/nVJWsyMM urgsfx1w4l275y0yRfrP1szdfakIPfELNFPpkSwUL+zRENrJuAQbV3uIeG5KZyndGRD8 EtrGJXQo/Y9t35jAF6p9gkbCQDgxKf+34ImM7TZO3O1nzFQSmEEv7nsURy0YBZEm3HbJ AWYyAes6k5WVJq2MBLQUEzkWj70o/qmLJ1NaNDgx5Pwfcbtz2Ek3HZmsEec7+THUXeKX b1gxJfApwr9nOQUgbeXhlC4Q4LDs6IGgUnZ+uxPH1FBQl9jYU+dccd8oM0VkWfdcRsyR 018w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to; bh=v0HY4WKsJlZAwCoJhcM/b7mtP9LM4YeCe7GPniEF+Go=; b=OtONSmaMZNhsT/2vM0XDk3hv7+r16a9KcLz0h3DE6kZ/FdBRu23eTNaLbvV3tRd4bM 3X9YQJcMDHgezBlzpvA1/+lhV9oZC00sNpKjEF8xufTjRVT9niMM/LFP/rtDZ5GYdwro vQ/sbOPoV45GQUVQOyROZm89em1cwjoXaMEayCfFI11OouYQbg8CuxXAoszI2RfuQMC3 NdNyNAAGjrZL5haVENIyxW9cArNJjodgEG0QAfUZew4IhWBDDtzUibLMMf7zJe9DuCSc E1D4OzYmq3heaI9mShF/oobXIBBmwYpki9UsiP2W7E6x25SWDUWoo61g16PdbedG/AxP VUIQ==
X-Gm-Message-State: AOPr4FWl9KUvZs3uUrHTSEjCuEhPjE4DjfS6uVA0UO7v2cOR6mMFfU/AXvy/sQ7EA2BTY/zRcYyHD+yofHGcspt8
MIME-Version: 1.0
X-Received: by 10.107.12.67 with SMTP id w64mr124091ioi.114.1460408032225; Mon, 11 Apr 2016 13:53:52 -0700 (PDT)
Received: by 10.64.91.226 with HTTP; Mon, 11 Apr 2016 13:53:51 -0700 (PDT)
In-Reply-To: <20160411203046.GZ26423@mournblade.imrryr.org>
References: <CANtKdUewMQ5jVAUOaWfuUquFdDB_dh_jNEfAo7T=qruqzszGqw@mail.gmail.com> <1A3DB748-26E6-404D-84F5-962B3AA21AB4@azet.org> <CANtKdUf9MujQxZQMz8xbPi+EVOYXLWgR342x1-S8u12PPm-TAA@mail.gmail.com> <20160406224039.GH26423@mournblade.imrryr.org> <20160408151600.GB13343@schweikert.ch> <20160408190615.GM26423@mournblade.imrryr.org> <20160409220007.GA17512@schweikert.ch> <CANtKdUd5Oqbd9Y-mTzEoBzKJJy5gcbUzYOu=YFziGaCsg56SoQ@mail.gmail.com> <20160410204458.GX26423@mournblade.imrryr.org> <CANtKdUe7_ZUT=Js47mP=i7h+hbR6wrMJN6XvZEypyWGyTkVUeA@mail.gmail.com> <20160411203046.GZ26423@mournblade.imrryr.org>
Date: Mon, 11 Apr 2016 22:53:51 +0200
Message-ID: <CANtKdUdhrAMWVGfaqQgbr+vmHpRNYVzzNJ-gvM38zNe5kmqDjw@mail.gmail.com>
From: Daniel Margolis <dmargolis@google.com>
To: uta@ietf.org
Content-Type: multipart/alternative; boundary=001a113f92b6fd955005303bbd3e
Archived-At: <http://mailarchive.ietf.org/arch/msg/uta/wk8jnB1FZ3e6Q53bdepIMW5HhYA>
Subject: Re: [Uta] New proposal: SMTP Strict Transport Security
X-BeenThere: uta@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: UTA working group mailing list <uta.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/uta>, <mailto:uta-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/uta/>
List-Post: <mailto:uta@ietf.org>
List-Help: <mailto:uta-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/uta>, <mailto:uta-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 11 Apr 2016 20:53:55 -0000

--001a113f92b6fd955005303bbd3e
Content-Type: text/plain; charset=UTF-8

On Mon, Apr 11, 2016 at 10:30 PM, Viktor Dukhovni <ietf-dane@dukhovni.org>
wrote:

> > I think instead it makes sense to simply say that in the smarthosting
> case
> > the policy domain is the smarthost domain.
>
> Not sure where "instead" comes from, that's the only plausible
> interpretation for transport security, but note that when the
> nexthop domain (smarthost is a special case of nexthop based on
> local policy) is subject to further MX lookups (example 1), the
> STS policy is associated with the nexthop domain, not the target
> MX hosts.
>

Yes, agreed. I was saying "instead" as in "as opposed to truly separating
routing and per-host policies". In that solution (either separating the
policies into separate records on possibly separate domains--somewhat
mimicking the relationship between the DNSSEC-signed MX and the TLSA
records in the DANE case--or moving the per-host policy in-band) you get
more complexity to handle the case in the same way as we just described
here (an STS policy for the next-hop, regardless of what it is), which
seems a losing trade.

Anyway, tl;dr: agreed that it needs to be specified as you suggest.

--001a113f92b6fd955005303bbd3e
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_extra"><br><div class=3D"gmail_quote">=
On Mon, Apr 11, 2016 at 10:30 PM, Viktor Dukhovni <span dir=3D"ltr">&lt;<a =
href=3D"mailto:ietf-dane@dukhovni.org" target=3D"_blank">ietf-dane@dukhovni=
.org</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"ma=
rgin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=3D=
"">&gt; I think instead it makes sense to simply say that in the smarthosti=
ng case<br>
&gt; the policy domain is the smarthost domain.<br>
<br>
</span>Not sure where &quot;instead&quot; comes from, that&#39;s the only p=
lausible<br>
interpretation for transport security, but note that when the<br>
nexthop domain (smarthost is a special case of nexthop based on<br>
local policy) is subject to further MX lookups (example 1), the<br>
STS policy is associated with the nexthop domain, not the target<br>
MX hosts.<div class=3D"yj6qo ajU"><div id=3D":24z" class=3D"ajR" tabindex=
=3D"0"></div></div></blockquote></div><br>Yes, agreed. I was saying &quot;i=
nstead&quot; as in &quot;as opposed to truly separating routing and per-hos=
t policies&quot;. In that solution (either separating the policies into sep=
arate records on possibly separate domains--somewhat mimicking the relation=
ship between the DNSSEC-signed MX and the TLSA records in the DANE case--or=
 moving the per-host policy in-band) you get more complexity to handle the =
case in the same way as we just described here (an STS policy for the next-=
hop, regardless of what it is), which seems a losing trade.=C2=A0</div><div=
 class=3D"gmail_extra"><br></div><div class=3D"gmail_extra">Anyway, tl;dr: =
agreed that it needs to be specified as you suggest.=C2=A0</div></div>

--001a113f92b6fd955005303bbd3e--


From nobody Mon Apr 11 14:18:20 2016
Return-Path: <fenton@bluepopcorn.net>
X-Original-To: uta@ietfa.amsl.com
Delivered-To: uta@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5FDE312D87E for <uta@ietfa.amsl.com>; Mon, 11 Apr 2016 14:18:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.997
X-Spam-Level: 
X-Spam-Status: No, score=-2.997 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RP_MATCHES_RCVD=-0.996, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=bluepopcorn.net
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 qWe-1Xj0-vmj for <uta@ietfa.amsl.com>; Mon, 11 Apr 2016 14:18:17 -0700 (PDT)
Received: from v2.bluepopcorn.net (v2.bluepopcorn.net [IPv6:2607:f2f8:a994::2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1977612D873 for <uta@ietf.org>; Mon, 11 Apr 2016 14:18:16 -0700 (PDT)
Received: from splunge.local (c-50-136-244-117.hsd1.ca.comcast.net [50.136.244.117]) (authenticated bits=0) by v2.bluepopcorn.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id u3BLIEWG013732 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for <uta@ietf.org>; Mon, 11 Apr 2016 14:18:16 -0700
To: uta@ietf.org
References: <570C0CD2.9030401@cs.tcd.ie>
From: Jim Fenton <fenton@bluepopcorn.net>
Message-ID: <570C1496.3040203@bluepopcorn.net>
Date: Mon, 11 Apr 2016 14:18:14 -0700
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.7.2
MIME-Version: 1.0
In-Reply-To: <570C0CD2.9030401@cs.tcd.ie>
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=bluepopcorn.net; s=supersize; t=1460409496; bh=5lmo/nafAXr4LYbFNLjht2cm2VtI9bI3JiAg+9RGVNI=; h=Subject:To:References:From:Date:In-Reply-To; b=glrdFsrpTh/OwzCQVyc0hBS6mrCtQcfgPUMNpIvaOJ5hYqch/NLM6bfbl+xC05xkm DYYIMbIfafR20fCf8yGbIZufN833Yxa7/GA/WaLORe2VfG654kovdbNIVF+jfzUoZT dT0Cna8kMVPGL7pTPFj0DpJ2qLwmhAT0Utqi2Lb0=
Archived-At: <http://mailarchive.ietf.org/arch/msg/uta/3K61KZWymeMmRDAexztUG1GWap0>
Subject: Re: [Uta] "webby" STS and DANE/DNSSEC co-existence
X-BeenThere: uta@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: UTA working group mailing list <uta.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/uta>, <mailto:uta-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/uta/>
List-Post: <mailto:uta@ietf.org>
List-Help: <mailto:uta-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/uta>, <mailto:uta-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 11 Apr 2016 21:18:18 -0000

On 4/11/16 1:45 PM, Stephen Farrell wrote:
> - We can, and probably will, define a "webby" to achieve
>   the same desired effect of getting beyond opportunistic
>   security. Daniel and co's STS aprooach (as outlined for
>   the next revision in B-A) is one such, and seems like
>   it's one that can work.

As I remember, there were still some issues with how the lookup would
take place (what the URL would be): some sort of reserved hostname was
seen to be a non-starter, and I seem to remember that there was some
issue with .well-known as well, but can't remember the specifics.

Another issue I'm not sure we discussed is the handling of wildcard MX
records: if I send a message to user@foo.example.com, and there is an MX
record for *.example.com, do I look for the policy at foo.example.com,
or do I notice that there was a wildcard MX and use the next higher
domain? I suppose that might work. But I'm still not 100% comfortable
that there's a good "webby" approach to finding the policy in all cases.
> - Any such webby approach will inherently involve us in
>   re-inventing a lot of what we get from DANE/DNSSEC. That's
>   a bit of a pain, but inevitable and not a reason to not
>   do STS. (The goal here is not perfection but to enable
>   folks to do better than opportunistic security after all.)
> - My guess is that the webby approach will end up being
>   a bit less secure/safe compared to the DANE/DNSSEC way
>   of doing things, mostly due to it having to depend on
>   some kind of TOFU step that gets repeated whenever DNS
>   without DNSSEC is used (i.e. when something cached
>   expires).

The risk is that the sender won't find the policy at all if the web
address lookup fails. But can we agree that the long MTU approach
described in the current draft isn't an effective mitigation to that
problem? Several people pointed out in the meeting that caches don't
typically hold things for very long times; the MTU specifies how long
records MAY be cached, not how long they SHOULD be cached.

My concern here is that if it's possible for intermediaries (for
example, firewalls at the enterprise and national level that currently
interfere with STARTTLS negotiation) to interfere with STS lookups, all
we will have done is to ask them to implement a new blockage feature,
and we haven't actually improved security.

-Jim


From nobody Mon Apr 11 14:21:33 2016
Return-Path: <ietf-dane@dukhovni.org>
X-Original-To: uta@ietfa.amsl.com
Delivered-To: uta@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3B9FE12D8B7 for <uta@ietfa.amsl.com>; Mon, 11 Apr 2016 14:21:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001] 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 C-3mfUuMeuVN for <uta@ietfa.amsl.com>; Mon, 11 Apr 2016 14:21:29 -0700 (PDT)
Received: from mournblade.imrryr.org (mournblade.imrryr.org [38.117.134.19]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7398E12DA11 for <uta@ietf.org>; Mon, 11 Apr 2016 14:21:29 -0700 (PDT)
Received: by mournblade.imrryr.org (Postfix, from userid 1034) id A00C9284DCA; Mon, 11 Apr 2016 21:21:28 +0000 (UTC)
Date: Mon, 11 Apr 2016 21:21:28 +0000
From: Viktor Dukhovni <ietf-dane@dukhovni.org>
To: uta@ietf.org
Message-ID: <20160411212128.GA26423@mournblade.imrryr.org>
References: <570C0CD2.9030401@cs.tcd.ie>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <570C0CD2.9030401@cs.tcd.ie>
User-Agent: Mutt/1.5.24 (2015-08-30)
Archived-At: <http://mailarchive.ietf.org/arch/msg/uta/zac5-EmIFLyt5g3XFlMhH7upBPw>
Subject: Re: [Uta] "webby" STS and DANE/DNSSEC co-existence
X-BeenThere: uta@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
Reply-To: uta@ietf.org
List-Id: UTA working group mailing list <uta.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/uta>, <mailto:uta-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/uta/>
List-Post: <mailto:uta@ietf.org>
List-Help: <mailto:uta-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/uta>, <mailto:uta-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 11 Apr 2016 21:21:31 -0000

On Mon, Apr 11, 2016 at 09:45:06PM +0100, Stephen Farrell wrote:

> With no hats, I'd like to argue that the WG should pursue
> the "webby" STS proposal, but should also ensure that we
> do not damage progress made by those who are deploying the
> DANE/DNSSEC approach to securing MTA-MTA connections.
> 
> I think we can do that by requiring that outbound MTAs
> that implement the "webby" approach MUST/SHOULD first test
> for, and process, TLSA records for the next MX in the path.
> In  other words the "webby" approach is tried 2nd.

[ By the way both DANE and STS are still opportunistic security as
  defined in RFC 7435, the difference is that these are not just
  unauthenticated encryption. DANE and STS are used on the fly
  with peers that publish the relevant policy via some downgrade-
  resistant mechanism. ]

In Postfix, if and when we do implement client-side "webby" STS,
I expect that STS wil be trumped by any DANE policy on MTAs that
support both (when sending email to destinations that support both).
One key reason is that DANE downgrade-resistance is stronger (works
on first contact) and DANE is exposed to fewer trusted CAs.

-- 
	Viktor.


From nobody Mon Apr 11 14:38:14 2016
Return-Path: <risher@google.com>
X-Original-To: uta@ietfa.amsl.com
Delivered-To: uta@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1BDA012F472 for <uta@ietfa.amsl.com>; Mon, 11 Apr 2016 14:38:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.696
X-Spam-Level: 
X-Spam-Status: No, score=-3.696 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RP_MATCHES_RCVD=-0.996, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=google.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 FG5tsck8tfv0 for <uta@ietfa.amsl.com>; Mon, 11 Apr 2016 14:38:10 -0700 (PDT)
Received: from mail-vk0-x229.google.com (mail-vk0-x229.google.com [IPv6:2607:f8b0:400c:c05::229]) (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 7CEF112F45A for <uta@ietf.org>; Mon, 11 Apr 2016 14:38:10 -0700 (PDT)
Received: by mail-vk0-x229.google.com with SMTP id k1so232418018vkb.0 for <uta@ietf.org>; Mon, 11 Apr 2016 14:38:10 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to; bh=kDomKXSdP7mdZjpMAhfWlifH5MyUmBK2+W0uFr9VDkw=; b=UHOF+L3M+2QJxxfpbn//ydbS+9z+iYAnV7l6epos/JvBIlD8iWJrImxJRCR6mWAe65 yXv6z68jyVh8vFV4btI0DvUOPIoIkREFyen6q3f1FoQPjkOiazN0sslYjLuVs/C3k2Xt aJJ0jdSJsokG5e6dESQDWZKRtaf9L8iHmvYptdMLTZM6L5hX90EXy/ZHYamZInRAK5f5 Z2d37RGzWnf0G6LhoFXE0MFl99XQMZQTQMRRRSIiLoHMkXGcGBPeNX1y/G8d6HgLbT1Y ebdd3cKMY1k8rMwZWQTb20xFyAdcBPDbTZ3BWdi3fdDjrzoVB0LNO2SW9GD06DCMWqTf wNng==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to; bh=kDomKXSdP7mdZjpMAhfWlifH5MyUmBK2+W0uFr9VDkw=; b=ZPhlOePplG+MgC8AAW0xFCkMRiT7edx2BrXDKE1Xq1gz//X6Wqx2ovfq3CjjP0z5RO GUjgmKORf/Ar8HCoP/s0GczeLdoCqRdiX1l/6NzWhxvU2YUvmRbUpij2ZoyozbLqjWwN g0J/WkXhnqHcNfGcNTZ747twnKZQrSYe+ihS7CYgpzGt3wOXnJyANYDvWXwCJF0R1lj9 F5rcp7nvXT+YIGexvjZ33i5v+KQUagIsKVxcvqFyMBz7/Q31MrH4RjGuy7zyAWzF5Q2c r7sy65rNjkzywykD9fc9dkUBW0mok74YyZZlD13pSPBn3QXq/5cfowZG9JRGgZKl4U0I L7bw==
X-Gm-Message-State: AD7BkJKTLZMQAHUi0xh6JeSixEV72nktq/QDEGmjd+H98oB6S67Sj02vEimwRvJICXzYCzOEc2TZcnqOPHlrALG7
MIME-Version: 1.0
X-Received: by 10.31.151.75 with SMTP id z72mr11971242vkd.104.1460410689308; Mon, 11 Apr 2016 14:38:09 -0700 (PDT)
Received: by 10.176.3.198 with HTTP; Mon, 11 Apr 2016 14:38:09 -0700 (PDT)
In-Reply-To: <20160411212128.GA26423@mournblade.imrryr.org>
References: <570C0CD2.9030401@cs.tcd.ie> <20160411212128.GA26423@mournblade.imrryr.org>
Date: Mon, 11 Apr 2016 18:38:09 -0300
Message-ID: <CAB0W=GSR1zRtxwb2nk6e5qAtF92_iD6o=efbMkTA2T7DFMAWuQ@mail.gmail.com>
From: Mark Risher <risher@google.com>
To: uta@ietf.org
Content-Type: multipart/alternative; boundary=001a1140f5825d3c5005303c5c94
Archived-At: <http://mailarchive.ietf.org/arch/msg/uta/_va4IxHPsYrhu9u9NjslN5i75tQ>
Subject: Re: [Uta] "webby" STS and DANE/DNSSEC co-existence
X-BeenThere: uta@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: UTA working group mailing list <uta.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/uta>, <mailto:uta-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/uta/>
List-Post: <mailto:uta@ietf.org>
List-Help: <mailto:uta-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/uta>, <mailto:uta-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 11 Apr 2016 21:38:13 -0000

--001a1140f5825d3c5005303c5c94
Content-Type: text/plain; charset=UTF-8

Hi, everyone:
Hope you all made it home safely.

I think we can do that by requiring that outbound MTAs
> that implement the "webby" approach MUST/SHOULD first test
> for, and process, TLSA records for the next MX in the path.
> In  other words the "webby" approach is tried 2nd.


I agree that's the right order of operations for sending MTAs that *can* do
both, and I agree we don't want one approach to preclude the other. So it
actually sounds like MUST to me, in that if a sender does not have the
plumbing in place (yet) to validate TLSA records, then the SHOULD still
won't have any effect (you'd basically be saying that you SHOULD implement
DANE/DNSSEC, which I think we all agree with). Would that clarification be
better in the STS specification (because it will be published later), or in
a meta BCP that explains operational guidelines for people who can support
both?

>
>  The risk is that the sender won't find the policy at all if the web
> address lookup fails. But can we agree that the long MTU approach
> described in the current draft isn't an effective mitigation to that
> problem? Several people pointed out in the meeting that caches don't
> typically hold things for very long times; the MTU specifies how long
> records MAY be cached, not how long they SHOULD be cached.


Yes, we have a known issue that, if you can never successfully retrieve a
policy, then you can never do better than status quo. The value of the long
MTU only kicks in once you've bootstrapped. The bootstrapping problem
against a persistent adversary could potentially be addressed with
preloading, e.g. the way that certain web browsers ship with pinned
certificates already in place.

Side update for the mailing list/working group: Based on feedback from the
in-person meeting, the authors are working on separating reporting and
clearing up the DNSSEC/policy issues as discussed, and hope to have a new
draft shortly. Thank you for all of your feedback and comments, both on
email and at the meeting.

Take care,
/m






--
Mark E. Risher |  Group Product Manager |  risher@google.com |  650-253-3123

On Mon, Apr 11, 2016 at 6:21 PM, Viktor Dukhovni <ietf-dane@dukhovni.org>
wrote:

> On Mon, Apr 11, 2016 at 09:45:06PM +0100, Stephen Farrell wrote:
>
> > With no hats, I'd like to argue that the WG should pursue
> > the "webby" STS proposal, but should also ensure that we
> > do not damage progress made by those who are deploying the
> > DANE/DNSSEC approach to securing MTA-MTA connections.
> >
> > I think we can do that by requiring that outbound MTAs
> > that implement the "webby" approach MUST/SHOULD first test
> > for, and process, TLSA records for the next MX in the path.
> > In  other words the "webby" approach is tried 2nd.
>
> [ By the way both DANE and STS are still opportunistic security as
>   defined in RFC 7435, the difference is that these are not just
>   unauthenticated encryption. DANE and STS are used on the fly
>   with peers that publish the relevant policy via some downgrade-
>   resistant mechanism. ]
>
> In Postfix, if and when we do implement client-side "webby" STS,
> I expect that STS wil be trumped by any DANE policy on MTAs that
> support both (when sending email to destinations that support both).
> One key reason is that DANE downgrade-resistance is stronger (works
> on first contact) and DANE is exposed to fewer trusted CAs.
>
> --
>         Viktor.
>
> _______________________________________________
> Uta mailing list
> Uta@ietf.org
> https://www.ietf.org/mailman/listinfo/uta
>

--001a1140f5825d3c5005303c5c94
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div><span style=3D"font-size:12.8px">Hi, everyone:</span>=
</div><div><span style=3D"font-size:12.8px">Hope you all made it home safel=
y.=C2=A0</span></div><div><span style=3D"font-size:12.8px"><br></span></div=
><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border=
-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;=
padding-left:1ex"><span style=3D"font-size:12.8px">I think we can do that b=
y requiring that outbound MTAs<br></span><span style=3D"font-size:12.8px">t=
hat implement the &quot;webby&quot; approach MUST/SHOULD first test<br></sp=
an><span style=3D"font-size:12.8px">for, and process, TLSA records for the =
next MX in the path.<br></span><span style=3D"font-size:12.8px">In=C2=A0 ot=
her words the &quot;webby&quot; approach is tried 2nd.</span></blockquote><=
div><br></div><div>I agree that&#39;s the right order of operations for sen=
ding MTAs that *can* do both, and I agree we don&#39;t want one approach to=
 preclude the other. So it actually sounds like MUST to me, in that if a se=
nder does not have the plumbing in place (yet) to validate TLSA records, th=
en the SHOULD still won&#39;t have any effect (you&#39;d basically be sayin=
g that you SHOULD implement DANE/DNSSEC, which I think we all agree with). =
Would that clarification be better in the STS specification (because it wil=
l be published later), or in a meta BCP that explains operational guideline=
s for people who can support both?</div><blockquote class=3D"gmail_quote" s=
tyle=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rg=
b(204,204,204);border-left-style:solid;padding-left:1ex"><br>=C2=A0<span st=
yle=3D"font-size:12.8px">The risk is that the sender won&#39;t find the pol=
icy at all if the web<br></span><span style=3D"font-size:12.8px">address lo=
okup fails. But can we agree that the long MTU approach<br></span><span sty=
le=3D"font-size:12.8px">described in the current draft isn&#39;t an effecti=
ve mitigation to that<br></span><span style=3D"font-size:12.8px">problem? S=
everal people pointed out in the meeting that caches don&#39;t<br></span><s=
pan style=3D"font-size:12.8px">typically hold things for very long times; t=
he MTU specifies how long<br></span><span style=3D"font-size:12.8px">record=
s MAY be cached, not how long they SHOULD be cached.</span></blockquote><di=
v><br></div><div>Yes, we have a known issue that, if you can never successf=
ully retrieve a policy, then you can never do better than status quo. The v=
alue of the long MTU only kicks in once you&#39;ve bootstrapped. The bootst=
rapping problem against a persistent adversary could potentially be address=
ed with preloading, e.g. the way that certain web browsers ship with pinned=
 certificates already in place.=C2=A0</div><div><br></div><div>Side update =
for the mailing list/working group: Based on feedback from the in-person me=
eting, the authors are working on separating reporting and clearing up the =
DNSSEC/policy issues as discussed, and hope to have a new draft shortly. Th=
ank you for all of your feedback and comments, both on email and at the mee=
ting.</div><div><br></div><div>Take care,</div><div>/m</div><div><br></div>=
<div><br></div><div><br></div></div><div class=3D"gmail_extra"><br clear=3D=
"all"><div><div class=3D"gmail_signature"><div dir=3D"ltr"><div><br></div><=
div><br></div>--<br style=3D"color:rgb(80,0,80)"><div dir=3D"ltr" style=3D"=
color:rgb(80,0,80)"><table cellspacing=3D"0" cellpadding=3D"0" style=3D"col=
or:rgb(136,136,136)"><tbody><tr style=3D"color:rgb(85,85,85);font-family:sa=
ns-serif;font-size:small"><td nowrap style=3D"border-top-style:solid;border=
-top-color:rgb(213,15,37);border-top-width:2px">Mark E. Risher |</td><td no=
wrap style=3D"border-top-style:solid;border-top-color:rgb(51,105,232);borde=
r-top-width:2px">=C2=A0Group Product Manager |</td><td nowrap style=3D"bord=
er-top-style:solid;border-top-color:rgb(0,153,57);border-top-width:2px">=C2=
=A0<a href=3D"mailto:risher@google.com" style=3D"color:rgb(17,85,204)" targ=
et=3D"_blank">risher@google.com</a>=C2=A0|</td><td nowrap style=3D"border-t=
op-style:solid;border-top-color:rgb(238,178,17);border-top-width:2px">=C2=
=A0<a value=3D"+13109201977" style=3D"color:rgb(17,85,204)">650-253-3123</a=
></td></tr></tbody></table></div></div></div></div>
<br><div class=3D"gmail_quote">On Mon, Apr 11, 2016 at 6:21 PM, Viktor Dukh=
ovni <span dir=3D"ltr">&lt;<a href=3D"mailto:ietf-dane@dukhovni.org" target=
=3D"_blank">ietf-dane@dukhovni.org</a>&gt;</span> wrote:<br><blockquote cla=
ss=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;pa=
dding-left:1ex"><span class=3D"">On Mon, Apr 11, 2016 at 09:45:06PM +0100, =
Stephen Farrell wrote:<br>
<br>
&gt; With no hats, I&#39;d like to argue that the WG should pursue<br>
&gt; the &quot;webby&quot; STS proposal, but should also ensure that we<br>
&gt; do not damage progress made by those who are deploying the<br>
&gt; DANE/DNSSEC approach to securing MTA-MTA connections.<br>
&gt;<br>
&gt; I think we can do that by requiring that outbound MTAs<br>
&gt; that implement the &quot;webby&quot; approach MUST/SHOULD first test<b=
r>
&gt; for, and process, TLSA records for the next MX in the path.<br>
&gt; In=C2=A0 other words the &quot;webby&quot; approach is tried 2nd.<br>
<br>
</span>[ By the way both DANE and STS are still opportunistic security as<b=
r>
=C2=A0 defined in RFC 7435, the difference is that these are not just<br>
=C2=A0 unauthenticated encryption. DANE and STS are used on the fly<br>
=C2=A0 with peers that publish the relevant policy via some downgrade-<br>
=C2=A0 resistant mechanism. ]<br>
<br>
In Postfix, if and when we do implement client-side &quot;webby&quot; STS,<=
br>
I expect that STS wil be trumped by any DANE policy on MTAs that<br>
support both (when sending email to destinations that support both).<br>
One key reason is that DANE downgrade-resistance is stronger (works<br>
on first contact) and DANE is exposed to fewer trusted CAs.<br>
<span class=3D"HOEnZb"><font color=3D"#888888"><br>
--<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Viktor.<br>
</font></span><div class=3D"HOEnZb"><div class=3D"h5"><br>
_______________________________________________<br>
Uta mailing list<br>
<a href=3D"mailto:Uta@ietf.org">Uta@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/uta" rel=3D"noreferrer" ta=
rget=3D"_blank">https://www.ietf.org/mailman/listinfo/uta</a><br>
</div></div></blockquote></div><br></div>

--001a1140f5825d3c5005303c5c94--


From nobody Tue Apr 12 02:40:11 2016
Return-Path: <neil.cook@noware.co.uk>
X-Original-To: uta@ietfa.amsl.com
Delivered-To: uta@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DB9E212E8BC for <uta@ietfa.amsl.com>; Tue, 12 Apr 2016 02:40:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.895
X-Spam-Level: 
X-Spam-Status: No, score=-2.895 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RP_MATCHES_RCVD=-0.996] 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 0n-bs-0NbtvR for <uta@ietfa.amsl.com>; Tue, 12 Apr 2016 02:40:02 -0700 (PDT)
Received: from mail.noware.co.uk (mail.noware.co.uk [192.241.243.54]) by ietfa.amsl.com (Postfix) with ESMTP id 7823F12EBCC for <uta@ietf.org>; Tue, 12 Apr 2016 02:39:54 -0700 (PDT)
Received: from neil-cook-mbp.home (unknown [86.153.224.89]) by mail.noware.co.uk (Postfix) with ESMTPSA id 8FC601C0533; Tue, 12 Apr 2016 09:39:52 +0000 (UTC)
Content-Type: multipart/alternative; boundary="Apple-Mail=_980F4545-296D-4360-8BE6-B51C3306D0E7"
Mime-Version: 1.0 (Mac OS X Mail 9.2 \(3112\))
From: Neil Cook <neil.cook@noware.co.uk>
In-Reply-To: <CAB0W=GSR1zRtxwb2nk6e5qAtF92_iD6o=efbMkTA2T7DFMAWuQ@mail.gmail.com>
Date: Tue, 12 Apr 2016 10:39:52 +0100
Message-Id: <7315357D-ADEF-4DF8-AAB4-21BC7275E9A8@noware.co.uk>
References: <570C0CD2.9030401@cs.tcd.ie> <20160411212128.GA26423@mournblade.imrryr.org> <CAB0W=GSR1zRtxwb2nk6e5qAtF92_iD6o=efbMkTA2T7DFMAWuQ@mail.gmail.com>
To: Mark Risher <risher@google.com>
X-Mailer: Apple Mail (2.3112)
X-CMAE-Score: 0
X-CMAE-Analysis: v=2.1 cv=TdMYtHgh c=1 sm=1 tr=0 a=xfdXm1iLTETJF5zWIHVl8g==:117 a=xfdXm1iLTETJF5zWIHVl8g==:17 a=L9H7d07YOLsA:10:nop_no_from_header a=9cW_t1CCXrUA:10:nop_no_to_header a=s5jvgZ67dGcA:10:nop_no_subject_header a=1XWaLZrsAAAA:8 a=lyf1682xAAAA:8 a=48vgC7mUAAAA:8 a=kE2DoC51fQbma-6G4BoA:9 a=aQZlhHJkN_oCxetH:21 a=b62wtnBd8FbJ2BWz:21 a=QEXdDO2ut3YA:10:nop_charset_2 a=r0Y_wE0v1vYA:10:phone_number_3 a=ZjYcokJ3XB4dRx5KgWEA:9 a=G3oS-f4tahuwsfGS:21 a=XvvR81xhkfoXeE6k:21 a=cTYt_0mENbqzfE3X:21 a=_W_S_7VecoQA:10:nop_html
Archived-At: <http://mailarchive.ietf.org/arch/msg/uta/SMepmO0a9_Rph4RtCIcH2W5oNss>
Cc: uta@ietf.org
Subject: Re: [Uta] "webby" STS and DANE/DNSSEC co-existence
X-BeenThere: uta@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: UTA working group mailing list <uta.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/uta>, <mailto:uta-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/uta/>
List-Post: <mailto:uta@ietf.org>
List-Help: <mailto:uta-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/uta>, <mailto:uta-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 12 Apr 2016 09:40:10 -0000

--Apple-Mail=_980F4545-296D-4360-8BE6-B51C3306D0E7
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8

> On 11 Apr 2016, at 22:38, Mark Risher <risher@google.com> wrote:
>=20
> Hi, everyone:
> Hope you all made it home safely.=20
>=20
> I think we can do that by requiring that outbound MTAs
> that implement the "webby" approach MUST/SHOULD first test
> for, and process, TLSA records for the next MX in the path.
> In  other words the "webby" approach is tried 2nd.
>=20
> I agree that's the right order of operations for sending MTAs that =
*can* do both, and I agree we don't want one approach to preclude the =
other. So it actually sounds like MUST to me, in that if a sender does =
not have the plumbing in place (yet) to validate TLSA records, then the =
SHOULD still won't have any effect (you'd basically be saying that you =
SHOULD implement DANE/DNSSEC, which I think we all agree with). Would =
that clarification be better in the STS specification (because it will =
be published later), or in a meta BCP that explains operational =
guidelines for people who can support both?
>=20

I=E2=80=99d rather see it specified in the STS specification (as a =
MUST), because there=E2=80=99s otherwise there=E2=80=99s a chance some =
implementors won=E2=80=99t read a separate meta BCP.

Neil

>  The risk is that the sender won't find the policy at all if the web
> address lookup fails. But can we agree that the long MTU approach
> described in the current draft isn't an effective mitigation to that
> problem? Several people pointed out in the meeting that caches don't
> typically hold things for very long times; the MTU specifies how long
> records MAY be cached, not how long they SHOULD be cached.
>=20
> Yes, we have a known issue that, if you can never successfully =
retrieve a policy, then you can never do better than status quo. The =
value of the long MTU only kicks in once you've bootstrapped. The =
bootstrapping problem against a persistent adversary could potentially =
be addressed with preloading, e.g. the way that certain web browsers =
ship with pinned certificates already in place.=20
>=20

> Side update for the mailing list/working group: Based on feedback from =
the in-person meeting, the authors are working on separating reporting =
and clearing up the DNSSEC/policy issues as discussed, and hope to have =
a new draft shortly. Thank you for all of your feedback and comments, =
both on email and at the meeting.
>=20
> Take care,
> /m
>=20
>=20
>=20
>=20
>=20
>=20
> --
> Mark E. Risher |	 Group Product Manager |	 =
risher@google.com <mailto:risher@google.com> |	 650-253-3123 <>
> On Mon, Apr 11, 2016 at 6:21 PM, Viktor Dukhovni =
<ietf-dane@dukhovni.org <mailto:ietf-dane@dukhovni.org>> wrote:
> On Mon, Apr 11, 2016 at 09:45:06PM +0100, Stephen Farrell wrote:
>=20
> > With no hats, I'd like to argue that the WG should pursue
> > the "webby" STS proposal, but should also ensure that we
> > do not damage progress made by those who are deploying the
> > DANE/DNSSEC approach to securing MTA-MTA connections.
> >
> > I think we can do that by requiring that outbound MTAs
> > that implement the "webby" approach MUST/SHOULD first test
> > for, and process, TLSA records for the next MX in the path.
> > In  other words the "webby" approach is tried 2nd.
>=20
> [ By the way both DANE and STS are still opportunistic security as
>   defined in RFC 7435, the difference is that these are not just
>   unauthenticated encryption. DANE and STS are used on the fly
>   with peers that publish the relevant policy via some downgrade-
>   resistant mechanism. ]
>=20
> In Postfix, if and when we do implement client-side "webby" STS,
> I expect that STS wil be trumped by any DANE policy on MTAs that
> support both (when sending email to destinations that support both).
> One key reason is that DANE downgrade-resistance is stronger (works
> on first contact) and DANE is exposed to fewer trusted CAs.
>=20
> --
>         Viktor.
>=20
> _______________________________________________
> Uta mailing list
> Uta@ietf.org <mailto:Uta@ietf.org>
> https://www.ietf.org/mailman/listinfo/uta =
<https://www.ietf.org/mailman/listinfo/uta>
>=20
> _______________________________________________
> Uta mailing list
> Uta@ietf.org
> https://www.ietf.org/mailman/listinfo/uta


--Apple-Mail=_980F4545-296D-4360-8BE6-B51C3306D0E7
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=utf-8

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" =
class=3D""><div><blockquote type=3D"cite" class=3D""><div class=3D"">On =
11 Apr 2016, at 22:38, Mark Risher &lt;<a =
href=3D"mailto:risher@google.com" class=3D"">risher@google.com</a>&gt; =
wrote:</div><br class=3D"Apple-interchange-newline"><div class=3D""><div =
dir=3D"ltr" class=3D""><div class=3D""><span style=3D"font-size:12.8px" =
class=3D"">Hi, everyone:</span></div><div class=3D""><span =
style=3D"font-size:12.8px" class=3D"">Hope you all made it home =
safely.&nbsp;</span></div><div class=3D""><span style=3D"font-size:12.8px"=
 class=3D""><br class=3D""></span></div><blockquote class=3D"gmail_quote" =
style=3D"margin:0px 0px 0px =
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left=
-style:solid;padding-left:1ex"><span style=3D"font-size:12.8px" =
class=3D"">I think we can do that by requiring that outbound MTAs<br =
class=3D""></span><span style=3D"font-size:12.8px" class=3D"">that =
implement the "webby" approach MUST/SHOULD first test<br =
class=3D""></span><span style=3D"font-size:12.8px" class=3D"">for, and =
process, TLSA records for the next MX in the path.<br =
class=3D""></span><span style=3D"font-size:12.8px" class=3D"">In&nbsp; =
other words the "webby" approach is tried 2nd.</span></blockquote><div =
class=3D""><br class=3D""></div><div class=3D"">I agree that's the right =
order of operations for sending MTAs that *can* do both, and I agree we =
don't want one approach to preclude the other. So it actually sounds =
like MUST to me, in that if a sender does not have the plumbing in place =
(yet) to validate TLSA records, then the SHOULD still won't have any =
effect (you'd basically be saying that you SHOULD implement DANE/DNSSEC, =
which I think we all agree with). Would that clarification be better in =
the STS specification (because it will be published later), or in a meta =
BCP that explains operational guidelines for people who can support =
both?</div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px =
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left=
-style:solid;padding-left:1ex"><br =
class=3D""></blockquote></div></div></blockquote><div><br =
class=3D""></div><div>I=E2=80=99d rather see it specified in the STS =
specification (as a MUST), because there=E2=80=99s otherwise there=E2=80=99=
s a chance some implementors won=E2=80=99t read a separate meta =
BCP.</div><div><br class=3D""></div>Neil</div><div><br =
class=3D""><blockquote type=3D"cite" class=3D""><div class=3D""><div =
dir=3D"ltr" class=3D""><blockquote class=3D"gmail_quote" =
style=3D"margin:0px 0px 0px =
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left=
-style:solid;padding-left:1ex">&nbsp;<span style=3D"font-size:12.8px" =
class=3D"">The risk is that the sender won't find the policy at all if =
the web<br class=3D""></span><span style=3D"font-size:12.8px" =
class=3D"">address lookup fails. But can we agree that the long MTU =
approach<br class=3D""></span><span style=3D"font-size:12.8px" =
class=3D"">described in the current draft isn't an effective mitigation =
to that<br class=3D""></span><span style=3D"font-size:12.8px" =
class=3D"">problem? Several people pointed out in the meeting that =
caches don't<br class=3D""></span><span style=3D"font-size:12.8px" =
class=3D"">typically hold things for very long times; the MTU specifies =
how long<br class=3D""></span><span style=3D"font-size:12.8px" =
class=3D"">records MAY be cached, not how long they SHOULD be =
cached.</span></blockquote><div class=3D""><br class=3D""></div><div =
class=3D"">Yes, we have a known issue that, if you can never =
successfully retrieve a policy, then you can never do better than status =
quo. The value of the long MTU only kicks in once you've bootstrapped. =
The bootstrapping problem against a persistent adversary could =
potentially be addressed with preloading, e.g. the way that certain web =
browsers ship with pinned certificates already in place.&nbsp;</div><div =
class=3D""><br =
class=3D""></div></div></div></blockquote></div><div><blockquote =
type=3D"cite" class=3D""><div class=3D""><div dir=3D"ltr" class=3D""><div =
class=3D"">Side update for the mailing list/working group: Based on =
feedback from the in-person meeting, the authors are working on =
separating reporting and clearing up the DNSSEC/policy issues as =
discussed, and hope to have a new draft shortly. Thank you for all of =
your feedback and comments, both on email and at the meeting.</div><div =
class=3D""><br class=3D""></div><div class=3D"">Take care,</div><div =
class=3D"">/m</div><div class=3D""><br class=3D""></div><div =
class=3D""><br class=3D""></div><div class=3D""><br =
class=3D""></div></div><div class=3D"gmail_extra"><br clear=3D"all" =
class=3D""><div class=3D""><div class=3D"gmail_signature"><div dir=3D"ltr"=
 class=3D""><div class=3D""><br class=3D""></div><div class=3D""><br =
class=3D""></div>--<br style=3D"color:rgb(80,0,80)" class=3D""><div =
dir=3D"ltr" style=3D"color:rgb(80,0,80)" class=3D""><table =
cellspacing=3D"0" cellpadding=3D"0" style=3D"color:rgb(136,136,136)" =
class=3D""><tbody class=3D""><tr =
style=3D"color:rgb(85,85,85);font-family:sans-serif;font-size:small" =
class=3D""><td nowrap=3D"" =
style=3D"border-top-style:solid;border-top-color:rgb(213,15,37);border-top=
-width:2px" class=3D"">Mark E. Risher |</td><td nowrap=3D"" =
style=3D"border-top-style:solid;border-top-color:rgb(51,105,232);border-to=
p-width:2px" class=3D"">&nbsp;Group Product Manager |</td><td nowrap=3D"" =
style=3D"border-top-style:solid;border-top-color:rgb(0,153,57);border-top-=
width:2px" class=3D"">&nbsp;<a href=3D"mailto:risher@google.com" =
style=3D"color:rgb(17,85,204)" target=3D"_blank" =
class=3D"">risher@google.com</a>&nbsp;|</td><td nowrap=3D"" =
style=3D"border-top-style:solid;border-top-color:rgb(238,178,17);border-to=
p-width:2px" class=3D"">&nbsp;<a value=3D"+13109201977" =
style=3D"color:rgb(17,85,204)" =
class=3D"">650-253-3123</a></td></tr></tbody></table></div></div></div></d=
iv>
<br class=3D""><div class=3D"gmail_quote">On Mon, Apr 11, 2016 at 6:21 =
PM, Viktor Dukhovni <span dir=3D"ltr" class=3D"">&lt;<a =
href=3D"mailto:ietf-dane@dukhovni.org" target=3D"_blank" =
class=3D"">ietf-dane@dukhovni.org</a>&gt;</span> wrote:<br =
class=3D""><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 =
.8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=3D"">On =
Mon, Apr 11, 2016 at 09:45:06PM +0100, Stephen Farrell wrote:<br =
class=3D"">
<br class=3D"">
&gt; With no hats, I'd like to argue that the WG should pursue<br =
class=3D"">
&gt; the "webby" STS proposal, but should also ensure that we<br =
class=3D"">
&gt; do not damage progress made by those who are deploying the<br =
class=3D"">
&gt; DANE/DNSSEC approach to securing MTA-MTA connections.<br class=3D"">
&gt;<br class=3D"">
&gt; I think we can do that by requiring that outbound MTAs<br class=3D"">=

&gt; that implement the "webby" approach MUST/SHOULD first test<br =
class=3D"">
&gt; for, and process, TLSA records for the next MX in the path.<br =
class=3D"">
&gt; In&nbsp; other words the "webby" approach is tried 2nd.<br =
class=3D"">
<br class=3D"">
</span>[ By the way both DANE and STS are still opportunistic security =
as<br class=3D"">
&nbsp; defined in RFC 7435, the difference is that these are not just<br =
class=3D"">
&nbsp; unauthenticated encryption. DANE and STS are used on the fly<br =
class=3D"">
&nbsp; with peers that publish the relevant policy via some =
downgrade-<br class=3D"">
&nbsp; resistant mechanism. ]<br class=3D"">
<br class=3D"">
In Postfix, if and when we do implement client-side "webby" STS,<br =
class=3D"">
I expect that STS wil be trumped by any DANE policy on MTAs that<br =
class=3D"">
support both (when sending email to destinations that support both).<br =
class=3D"">
One key reason is that DANE downgrade-resistance is stronger (works<br =
class=3D"">
on first contact) and DANE is exposed to fewer trusted CAs.<br class=3D"">=

<span class=3D"HOEnZb"><font color=3D"#888888" class=3D""><br class=3D"">
--<br class=3D"">
&nbsp; &nbsp; &nbsp; &nbsp; Viktor.<br class=3D"">
</font></span><div class=3D"HOEnZb"><div class=3D"h5"><br class=3D"">
_______________________________________________<br class=3D"">
Uta mailing list<br class=3D"">
<a href=3D"mailto:Uta@ietf.org" class=3D"">Uta@ietf.org</a><br class=3D"">=

<a href=3D"https://www.ietf.org/mailman/listinfo/uta" rel=3D"noreferrer" =
target=3D"_blank" =
class=3D"">https://www.ietf.org/mailman/listinfo/uta</a><br class=3D"">
</div></div></blockquote></div><br class=3D""></div>
_______________________________________________<br class=3D"">Uta =
mailing list<br class=3D""><a href=3D"mailto:Uta@ietf.org" =
class=3D"">Uta@ietf.org</a><br =
class=3D"">https://www.ietf.org/mailman/listinfo/uta<br =
class=3D""></div></blockquote></div><br class=3D""></body></html>=

--Apple-Mail=_980F4545-296D-4360-8BE6-B51C3306D0E7--


From nobody Tue Apr 12 09:52:36 2016
Return-Path: <dmargolis@google.com>
X-Original-To: uta@ietfa.amsl.com
Delivered-To: uta@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id EBBA012E91B for <uta@ietfa.amsl.com>; Tue, 12 Apr 2016 09:52:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.696
X-Spam-Level: 
X-Spam-Status: No, score=-3.696 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RP_MATCHES_RCVD=-0.996, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=google.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 PCOIL048Pyuv for <uta@ietfa.amsl.com>; Tue, 12 Apr 2016 09:52:32 -0700 (PDT)
Received: from mail-io0-x22f.google.com (mail-io0-x22f.google.com [IPv6:2607:f8b0:4001:c06::22f]) (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 1D9B712E910 for <uta@ietf.org>; Tue, 12 Apr 2016 09:52:32 -0700 (PDT)
Received: by mail-io0-x22f.google.com with SMTP id o126so36196042iod.0 for <uta@ietf.org>; Tue, 12 Apr 2016 09:52:32 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to; bh=Y2itdRnIYD2OjHtD6pq6S+1DGV+bQBatCCleKXpC9js=; b=ggcRV/6a91pbjvagxG55O1DhjKUAOIdsKWVY31WGM2bASNI01uwcfmq8FKFg26BoMt EyxsX3TXQyMO/YQsZOB21nZ8utmh+vHSlJjLweBxrBQA0SJItYiNV7xtzFmmSmx0H3am 7BxV2/Msl/64pcMKbgu5SAYeX+uDqJte7d8f1fryUPJpakt/HMn8UoIrXDWtzTTnyiYe mAbzmrO/h3MA5pkMpcYIqEHumtq2cVNwFPAcSb4aviRB6TKk4eVNHshdTSUMoEjeH0NK k06FUuOFRe1JP5FnJ58EINi0+7tuJXs+i1WHw46bDw0BiWnxetkNcn+V6bPRhy6k9cEf w1XQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to; bh=Y2itdRnIYD2OjHtD6pq6S+1DGV+bQBatCCleKXpC9js=; b=SFVGsOho+o753daxk7NZ9u3KXJahDDBFl85yck32GTAuvZfVCrE2tJz53wOogVnS5A MBCy3ezxYzcPzX0+jX74gGoXCJabhvBsdsX9b+8SyU2IXwpNTvVfwMsCMnlvTLzDRq2o GoRC0ElKttwQ+1XZJPakruTgQK+/eSLMgbgiA/s4LNKuxvPo2rbZ+sZOiKqZFPIkEYyW 2quK3ZUlFJfn48CJh94fakqZuCLHgt7fKMnaZDBJ66I+8PIlV+LCSHLtDbthbrkrYn7b Hniz6F83G2ZsdvsNhwV3YStKSwd5fxtS74Hz/Uj+EcWOONR3QvHFdmr/5GP1bK+C7GXr RrGg==
X-Gm-Message-State: AOPr4FVfetyoY+LNPAYnMalfWcCXqD9zerLwnXmfNR8lqF+jJVjqSNaQc9pT0dqWur0lYoh+JaPRhI1HvdDj5MFA
MIME-Version: 1.0
X-Received: by 10.107.12.67 with SMTP id w64mr5738156ioi.114.1460479951256; Tue, 12 Apr 2016 09:52:31 -0700 (PDT)
Received: by 10.64.91.226 with HTTP; Tue, 12 Apr 2016 09:52:31 -0700 (PDT)
In-Reply-To: <20160411212128.GA26423@mournblade.imrryr.org>
References: <570C0CD2.9030401@cs.tcd.ie> <20160411212128.GA26423@mournblade.imrryr.org>
Date: Tue, 12 Apr 2016 18:52:31 +0200
Message-ID: <CANtKdUekXNkVvsfq0UjCiaaPVBgoVGfrfnYUrdoOf0EegXMuPg@mail.gmail.com>
From: Daniel Margolis <dmargolis@google.com>
To: uta@ietf.org
Content-Type: multipart/alternative; boundary=001a113f92b6b2f29005304c7c6f
Archived-At: <http://mailarchive.ietf.org/arch/msg/uta/MFqonHdfhD2GAo8FlyOgGMbXUuQ>
Subject: Re: [Uta] "webby" STS and DANE/DNSSEC co-existence
X-BeenThere: uta@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: UTA working group mailing list <uta.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/uta>, <mailto:uta-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/uta/>
List-Post: <mailto:uta@ietf.org>
List-Help: <mailto:uta-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/uta>, <mailto:uta-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 12 Apr 2016 16:52:34 -0000

--001a113f92b6b2f29005304c7c6f
Content-Type: text/plain; charset=UTF-8

I'm not sure if I'm being stupid here, but what does it mean for STS to be
"trumped" by DANE (or the reverse)? Do you mean that if the recipient
domain/MX has both STS and DANE you will *only* validate the DANE policy?

If we instead said that senders who validate STS must honor STS and senders
who validate DANE must honor DANE, is there a conflict? I would presume
that if there is either a DANE failure or an STS failure senders who
validate both will treat it as a failure. Introducing a concept of priority
strikes me as unnecessary. What am I missing?

On Mon, Apr 11, 2016 at 11:21 PM, Viktor Dukhovni <ietf-dane@dukhovni.org>
wrote:

> On Mon, Apr 11, 2016 at 09:45:06PM +0100, Stephen Farrell wrote:
>
> > With no hats, I'd like to argue that the WG should pursue
> > the "webby" STS proposal, but should also ensure that we
> > do not damage progress made by those who are deploying the
> > DANE/DNSSEC approach to securing MTA-MTA connections.
> >
> > I think we can do that by requiring that outbound MTAs
> > that implement the "webby" approach MUST/SHOULD first test
> > for, and process, TLSA records for the next MX in the path.
> > In  other words the "webby" approach is tried 2nd.
>
> [ By the way both DANE and STS are still opportunistic security as
>   defined in RFC 7435, the difference is that these are not just
>   unauthenticated encryption. DANE and STS are used on the fly
>   with peers that publish the relevant policy via some downgrade-
>   resistant mechanism. ]
>
> In Postfix, if and when we do implement client-side "webby" STS,
> I expect that STS wil be trumped by any DANE policy on MTAs that
> support both (when sending email to destinations that support both).
> One key reason is that DANE downgrade-resistance is stronger (works
> on first contact) and DANE is exposed to fewer trusted CAs.
>
> --
>         Viktor.
>
> _______________________________________________
> Uta mailing list
> Uta@ietf.org
> https://www.ietf.org/mailman/listinfo/uta
>

--001a113f92b6b2f29005304c7c6f
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">I&#39;m not sure if I&#39;m being stupid here, but what do=
es it mean for STS to be &quot;trumped&quot; by DANE (or the reverse)? Do y=
ou mean that if the recipient domain/MX has both STS and DANE you will *onl=
y* validate the DANE policy?<div><br></div><div>If we instead said that sen=
ders who validate STS must honor STS and senders who validate DANE must hon=
or DANE, is there a conflict? I would presume that if there is either a DAN=
E failure or an STS failure senders who validate both will treat it as a fa=
ilure. Introducing a concept of priority strikes me as unnecessary. What am=
 I missing?</div></div><div class=3D"gmail_extra"><br><div class=3D"gmail_q=
uote">On Mon, Apr 11, 2016 at 11:21 PM, Viktor Dukhovni <span dir=3D"ltr">&=
lt;<a href=3D"mailto:ietf-dane@dukhovni.org" target=3D"_blank">ietf-dane@du=
khovni.org</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=
=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span cl=
ass=3D"">On Mon, Apr 11, 2016 at 09:45:06PM +0100, Stephen Farrell wrote:<b=
r>
<br>
&gt; With no hats, I&#39;d like to argue that the WG should pursue<br>
&gt; the &quot;webby&quot; STS proposal, but should also ensure that we<br>
&gt; do not damage progress made by those who are deploying the<br>
&gt; DANE/DNSSEC approach to securing MTA-MTA connections.<br>
&gt;<br>
&gt; I think we can do that by requiring that outbound MTAs<br>
&gt; that implement the &quot;webby&quot; approach MUST/SHOULD first test<b=
r>
&gt; for, and process, TLSA records for the next MX in the path.<br>
&gt; In=C2=A0 other words the &quot;webby&quot; approach is tried 2nd.<br>
<br>
</span>[ By the way both DANE and STS are still opportunistic security as<b=
r>
=C2=A0 defined in RFC 7435, the difference is that these are not just<br>
=C2=A0 unauthenticated encryption. DANE and STS are used on the fly<br>
=C2=A0 with peers that publish the relevant policy via some downgrade-<br>
=C2=A0 resistant mechanism. ]<br>
<br>
In Postfix, if and when we do implement client-side &quot;webby&quot; STS,<=
br>
I expect that STS wil be trumped by any DANE policy on MTAs that<br>
support both (when sending email to destinations that support both).<br>
One key reason is that DANE downgrade-resistance is stronger (works<br>
on first contact) and DANE is exposed to fewer trusted CAs.<br>
<span class=3D"HOEnZb"><font color=3D"#888888"><br>
--<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Viktor.<br>
</font></span><div class=3D"HOEnZb"><div class=3D"h5"><br>
_______________________________________________<br>
Uta mailing list<br>
<a href=3D"mailto:Uta@ietf.org">Uta@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/uta" rel=3D"noreferrer" ta=
rget=3D"_blank">https://www.ietf.org/mailman/listinfo/uta</a><br>
</div></div></blockquote></div><br></div>

--001a113f92b6b2f29005304c7c6f--


From nobody Tue Apr 12 18:43:08 2016
Return-Path: <ietf-dane@dukhovni.org>
X-Original-To: uta@ietfa.amsl.com
Delivered-To: uta@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 479B312DC33 for <uta@ietfa.amsl.com>; Tue, 12 Apr 2016 18:43:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001] 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 br5VJuQeAeFH for <uta@ietfa.amsl.com>; Tue, 12 Apr 2016 18:43:06 -0700 (PDT)
Received: from mournblade.imrryr.org (mournblade.imrryr.org [38.117.134.19]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E6D0F12DC1A for <uta@ietf.org>; Tue, 12 Apr 2016 18:43:05 -0700 (PDT)
Received: by mournblade.imrryr.org (Postfix, from userid 1034) id B57B5284DCA; Wed, 13 Apr 2016 01:43:04 +0000 (UTC)
Date: Wed, 13 Apr 2016 01:43:04 +0000
From: Viktor Dukhovni <ietf-dane@dukhovni.org>
To: uta@ietf.org
Message-ID: <20160413014304.GB26423@mournblade.imrryr.org>
References: <570C0CD2.9030401@cs.tcd.ie> <20160411212128.GA26423@mournblade.imrryr.org> <CANtKdUekXNkVvsfq0UjCiaaPVBgoVGfrfnYUrdoOf0EegXMuPg@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CANtKdUekXNkVvsfq0UjCiaaPVBgoVGfrfnYUrdoOf0EegXMuPg@mail.gmail.com>
User-Agent: Mutt/1.5.24 (2015-08-30)
Archived-At: <http://mailarchive.ietf.org/arch/msg/uta/5Iw8d52VVWb1x_khRk0gv9SdSmQ>
Subject: Re: [Uta] "webby" STS and DANE/DNSSEC co-existence
X-BeenThere: uta@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
Reply-To: uta@ietf.org
List-Id: UTA working group mailing list <uta.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/uta>, <mailto:uta-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/uta/>
List-Post: <mailto:uta@ietf.org>
List-Help: <mailto:uta-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/uta>, <mailto:uta-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 13 Apr 2016 01:43:07 -0000

On Tue, Apr 12, 2016 at 06:52:31PM +0200, Daniel Margolis wrote:

> I'm not sure if I'm being stupid here, but what does it mean for STS to be
> "trumped" by DANE (or the reverse)? Do you mean that if the recipient
> domain/MX has both STS and DANE you will *only* validate the DANE policy?

Correct.  Trying to enforce both is too complex, and needlessly
increases the risk of delivery problems.

> If we instead said that senders who validate STS must honor STS and senders
> who validate DANE must honor DANE, is there a conflict?

That language is either tautological, or unreasonable, if intended
to imply that systems capable of both must be willing to apply both
concurrently.

> I would presume that if there is either a DANE failure or an STS failure
> senders who validate both will treat it as a failure. Introducing a concept
> of priority strikes me as unnecessary. What am I missing?

I have no plans to support concurrent evaluation of potentially
conflicting policies.  DANE is more robust than STS, given a DANE
policy I see no reason to also consider STS policy.

Of course an administrator will be able to choose which policy
applies to a given nexthop, but not enforcement of both.

-- 
	Viktor.


From nobody Wed Apr 13 00:48:21 2016
Return-Path: <dmargolis@google.com>
X-Original-To: uta@ietfa.amsl.com
Delivered-To: uta@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DB9E312DFEA for <uta@ietfa.amsl.com>; Wed, 13 Apr 2016 00:48:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.696
X-Spam-Level: 
X-Spam-Status: No, score=-3.696 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RP_MATCHES_RCVD=-0.996, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=google.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 BgRfTVvQsi4g for <uta@ietfa.amsl.com>; Wed, 13 Apr 2016 00:48:18 -0700 (PDT)
Received: from mail-io0-x233.google.com (mail-io0-x233.google.com [IPv6:2607:f8b0:4001:c06::233]) (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 A01BF12DFCD for <uta@ietf.org>; Wed, 13 Apr 2016 00:48:14 -0700 (PDT)
Received: by mail-io0-x233.google.com with SMTP id o126so60207601iod.0 for <uta@ietf.org>; Wed, 13 Apr 2016 00:48:14 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to; bh=o4Nvx7ioVlsak4v31ighfmeTxOybkczTOZnUiK/xeKM=; b=JP0eiTDnnVWlPqpqThDeCUWa8G8WK/LJ3Wgo/YflzTFpTC3pTWjfWb5gd1nKlY3ZMk Bm0f7FjXqVntAmBQHB08b1iaCeBqqCxibHu53btTdOeZsau3llyqey0r8Kf9dNXGFyiF 8dLv6bCQC0aochfn1dDCCMVsGdUoafaMIdUgPjuKvtI0Gm9sJUw1vxTZ/8SDNyIrjeoE D8RHEaBG4CyND2WkCSjnYp8qbBq4gOLV4AmvruVrDGJQPT43Bx0akfFINI0LMvqFUeb4 qtcuQZM8+ZHxXK4oga0N6hmuCPJsbD2wRui646VIXofO0/Q56rJ8v60FkwOgybX4NvP7 FMfQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to; bh=o4Nvx7ioVlsak4v31ighfmeTxOybkczTOZnUiK/xeKM=; b=kvm7X7Eotu8xRQ5eaOF2aQ69bAtjKkSgVnFUYugSQEyc21t/OCydpqdt+yHJ2xW33Z xp8ECqWjN1wOMdM6IHR6WGejdLm24fTNm8XUPQ/IZ2dzPeXdXL9y9yNQv2VLH/If2ieq HdfDYbbdKG1O3SdP50PqrlWvWjszCPD4x9lhC0VVWrZZ5bZ5BUe0zAY7eLH9FCH+DG2u XSCBBwEuQZa+fAqRqBRqewlN0D0XNtwf197wad4S8frGQggFyAOooTliwHbOMhgn7rac 6PjmeeA6QDRvHBhlMdT56GgzR+eI33oekhT33aeHMGHaWmwsO4ENfJ9zYNdNQdF+S1ar iJAw==
X-Gm-Message-State: AOPr4FX70sjTp5MXGTH00p8KgIX1Ap3PIpFTo6IeI69Uog2jfkGlNq1EP7cUPTXjJxc0cNJ09a3SW4FnL+SsH9Jy
MIME-Version: 1.0
X-Received: by 10.107.161.140 with SMTP id k134mr8881962ioe.190.1460533693806;  Wed, 13 Apr 2016 00:48:13 -0700 (PDT)
Received: by 10.64.91.226 with HTTP; Wed, 13 Apr 2016 00:48:13 -0700 (PDT)
In-Reply-To: <20160413014304.GB26423@mournblade.imrryr.org>
References: <570C0CD2.9030401@cs.tcd.ie> <20160411212128.GA26423@mournblade.imrryr.org> <CANtKdUekXNkVvsfq0UjCiaaPVBgoVGfrfnYUrdoOf0EegXMuPg@mail.gmail.com> <20160413014304.GB26423@mournblade.imrryr.org>
Date: Wed, 13 Apr 2016 09:48:13 +0200
Message-ID: <CANtKdUf0kN5aOmX0-NsyQXz_+PRGfaXa37DFZoCX3FqdYh5CpA@mail.gmail.com>
From: Daniel Margolis <dmargolis@google.com>
To: uta@ietf.org
Content-Type: multipart/alternative; boundary=001a1140fff001069a05305900f4
Archived-At: <http://mailarchive.ietf.org/arch/msg/uta/LLsTjPJ2LFIzcMljkeBSmz5X_50>
Subject: Re: [Uta] "webby" STS and DANE/DNSSEC co-existence
X-BeenThere: uta@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: UTA working group mailing list <uta.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/uta>, <mailto:uta-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/uta/>
List-Post: <mailto:uta@ietf.org>
List-Help: <mailto:uta-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/uta>, <mailto:uta-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 13 Apr 2016 07:48:20 -0000

--001a1140fff001069a05305900f4
Content-Type: text/plain; charset=UTF-8

What's the complexity you're worried about? Is it mainly that there's
another switch to flip incorrectly (i.e. inadvertent misconfiguration, at a
greater risk due to the presence of more configurations) or the risk of
malicious DoS?

I think Stephen laid out the trade-offs fairly well. I can see the argument
for telling recipients that if they already publish a DANE record they're
probably fine and shouldn't really need an STS policy as well. But a "must"
seems less helpful to me here; senders who have some external limitation
that prevents them from implementing DNSSEC then must not implement STS?
I'd be worried that some larger deployments might have trouble with that.

On Wed, Apr 13, 2016 at 3:43 AM, Viktor Dukhovni <ietf-dane@dukhovni.org>
wrote:

> On Tue, Apr 12, 2016 at 06:52:31PM +0200, Daniel Margolis wrote:
>
> > I'm not sure if I'm being stupid here, but what does it mean for STS to
> be
> > "trumped" by DANE (or the reverse)? Do you mean that if the recipient
> > domain/MX has both STS and DANE you will *only* validate the DANE policy?
>
> Correct.  Trying to enforce both is too complex, and needlessly
> increases the risk of delivery problems.
>
> > If we instead said that senders who validate STS must honor STS and
> senders
> > who validate DANE must honor DANE, is there a conflict?
>
> That language is either tautological, or unreasonable, if intended
> to imply that systems capable of both must be willing to apply both
> concurrently.
>
> > I would presume that if there is either a DANE failure or an STS failure
> > senders who validate both will treat it as a failure. Introducing a
> concept
> > of priority strikes me as unnecessary. What am I missing?
>
> I have no plans to support concurrent evaluation of potentially
> conflicting policies.  DANE is more robust than STS, given a DANE
> policy I see no reason to also consider STS policy.
>
> Of course an administrator will be able to choose which policy
> applies to a given nexthop, but not enforcement of both.
>
> --
>         Viktor.
>
> _______________________________________________
> Uta mailing list
> Uta@ietf.org
> https://www.ietf.org/mailman/listinfo/uta
>

--001a1140fff001069a05305900f4
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>What&#39;s the complexity you&#39;re worried about? I=
s it mainly that there&#39;s another switch to flip incorrectly (i.e. inadv=
ertent misconfiguration, at a greater risk due to the presence of more conf=
igurations) or the risk of malicious DoS?=C2=A0<br></div><div><br></div><di=
v>I think Stephen laid out the trade-offs fairly well. I can see the argume=
nt for telling recipients that if they already publish a DANE record they&#=
39;re probably fine and shouldn&#39;t really need an STS policy as well. Bu=
t a &quot;must&quot; seems less helpful to me here; senders who have some e=
xternal limitation that prevents them from implementing DNSSEC then must no=
t implement STS? I&#39;d be worried that some larger deployments might have=
 trouble with that.=C2=A0</div><div><br></div><div><div><div class=3D"gmail=
_extra"><div class=3D"gmail_quote">On Wed, Apr 13, 2016 at 3:43 AM, Viktor =
Dukhovni <span dir=3D"ltr">&lt;<a href=3D"mailto:ietf-dane@dukhovni.org" ta=
rget=3D"_blank">ietf-dane@dukhovni.org</a>&gt;</span> wrote:<br><blockquote=
 class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc soli=
d;padding-left:1ex"><span class=3D"">On Tue, Apr 12, 2016 at 06:52:31PM +02=
00, Daniel Margolis wrote:<br>
<br>
&gt; I&#39;m not sure if I&#39;m being stupid here, but what does it mean f=
or STS to be<br>
&gt; &quot;trumped&quot; by DANE (or the reverse)? Do you mean that if the =
recipient<br>
&gt; domain/MX has both STS and DANE you will *only* validate the DANE poli=
cy?<br>
<br>
</span>Correct.=C2=A0 Trying to enforce both is too complex, and needlessly=
<br>
increases the risk of delivery problems.<br>
<span class=3D""><br>
&gt; If we instead said that senders who validate STS must honor STS and se=
nders<br>
&gt; who validate DANE must honor DANE, is there a conflict?<br>
<br>
</span>That language is either tautological, or unreasonable, if intended<b=
r>
to imply that systems capable of both must be willing to apply both<br>
concurrently.<br>
<span class=3D""><br>
&gt; I would presume that if there is either a DANE failure or an STS failu=
re<br>
&gt; senders who validate both will treat it as a failure. Introducing a co=
ncept<br>
&gt; of priority strikes me as unnecessary. What am I missing?<br>
<br>
</span>I have no plans to support concurrent evaluation of potentially<br>
conflicting policies.=C2=A0 DANE is more robust than STS, given a DANE<br>
policy I see no reason to also consider STS policy.<br>
<br>
Of course an administrator will be able to choose which policy<br>
applies to a given nexthop, but not enforcement of both.<br>
<div class=3D"HOEnZb"><div class=3D"h5"><br>
--<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Viktor.<br>
<br>
_______________________________________________<br>
Uta mailing list<br>
<a href=3D"mailto:Uta@ietf.org">Uta@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/uta" rel=3D"noreferrer" ta=
rget=3D"_blank">https://www.ietf.org/mailman/listinfo/uta</a><br>
</div></div></blockquote></div><br></div></div></div></div>

--001a1140fff001069a05305900f4--


From nobody Wed Apr 13 01:15:21 2016
Return-Path: <azet@azet.org>
X-Original-To: uta@ietfa.amsl.com
Delivered-To: uta@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C7C5F12E185 for <uta@ietfa.amsl.com>; Wed, 13 Apr 2016 01:15:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.7
X-Spam-Level: 
X-Spam-Status: No, score=-2.7 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=azet.org
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 y_h9lCVG5zJ5 for <uta@ietfa.amsl.com>; Wed, 13 Apr 2016 01:15:19 -0700 (PDT)
Received: from mail-pf0-x22e.google.com (mail-pf0-x22e.google.com [IPv6:2607:f8b0:400e:c00::22e]) (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 D548112E17A for <uta@ietf.org>; Wed, 13 Apr 2016 01:15:18 -0700 (PDT)
Received: by mail-pf0-x22e.google.com with SMTP id n1so29958927pfn.2 for <uta@ietf.org>; Wed, 13 Apr 2016 01:15:18 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=azet.org; s=gmail; h=subject:mime-version:from:in-reply-to:date:cc:message-id:references :to; bh=d5Yr2UNslGPVlII2Z3UROfUaHIINmt+gNNQPiIUKUO8=; b=aeyXdcsR+r4WixbJdYhB8Z169XVyV3ewcfhXk99heohZB5C5LXxiv0EVrg64udaS39 skUMcu/0wXoRNfeLuQqVDvMdclvtDYjgcg9Ho2Bsg6iZRbXGzXbZ1kEqDfSLQC90t5hp 2Y7qOUJZLoDD2ivT3Bg8MDk7SYjtDb0qqVtQk=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:mime-version:from:in-reply-to:date:cc :message-id:references:to; bh=d5Yr2UNslGPVlII2Z3UROfUaHIINmt+gNNQPiIUKUO8=; b=G7GZllqWoSr+tn+9zh81TXQiGc++hiyIx8P32mx6IlHaGoVX/Z24hNLWzwB2TsOUj/ fonhEiYkerRLNzMwLktjZuUooxHDQiNgyAPYeNXzmjzWDo08OJlyLG/JpFPKels+RgDr kfFjBUAp5jY6VMgC486Ci1Wrl3WhyUf4ClaT0g1UcF2DY7ifr5rkmxck+tqcrev14TY/ MAA5POJWbOk4CmXOnpJIDxGKEkP1mUWMFzEXPPsRtUAlKjRYKUurCH7Kr5Gyks+jtjre JKXRbbysLXVDorxCG8kUtKKpUHa4KoYKm09XY3Vz2Ys2WtMKRXkF07m4LA7wpSzJHcy3 w3Aw==
X-Gm-Message-State: AOPr4FXKlkG8iezRLFQpSGO1j6YsUg5nOJOLwOJ37JvNn5yO+X71N98u8s8ag1sa+x2e4A==
X-Received: by 10.98.17.132 with SMTP id 4mr11184922pfr.16.1460535318445; Wed, 13 Apr 2016 01:15:18 -0700 (PDT)
Received: from [192.168.0.128] (node-ke.pool-180-180.dynamic.totbb.net. [180.180.2.222]) by smtp.gmail.com with ESMTPSA id r68sm48935538pfa.33.2016.04.13.01.15.14 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 13 Apr 2016 01:15:16 -0700 (PDT)
Mime-Version: 1.0 (Mac OS X Mail 9.2 \(3112\))
Content-Type: multipart/signed; boundary="Apple-Mail=_157CFECC-EE65-46C4-A659-F0E52CF60E6D"; protocol="application/pgp-signature"; micalg=pgp-sha512
X-Pgp-Agent: GPGMail 2.6b2
From: Aaron Zauner <azet@azet.org>
In-Reply-To: <1955107947.2541407.1459906928711.JavaMail.yahoo@mail.yahoo.com>
Date: Wed, 13 Apr 2016 15:15:48 +0700
Message-Id: <AED25695-CB4C-4175-9019-E3689E2F1C97@azet.org>
References: <4143301C-6311-409C-831B-E82BB00A080E@azet.org> <1955107947.2541407.1459906928711.JavaMail.yahoo@mail.yahoo.com>
To: Binu Ramakrishnan <prbinu@yahoo.com>
X-Mailer: Apple Mail (2.3112)
Archived-At: <http://mailarchive.ietf.org/arch/msg/uta/ey9sr3dQCbPWhde6Sxp31iQj6HY>
Cc: "uta@ietf.org" <uta@ietf.org>, "Orit Levin \(CELA\)" <oritl@microsoft.com>, Mark Risher <risher@google.com>, Daniel Margolis <dmargolis@google.com>
Subject: Re: [Uta] New proposal: SMTP Strict Transport Security
X-BeenThere: uta@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: UTA working group mailing list <uta.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/uta>, <mailto:uta-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/uta/>
List-Post: <mailto:uta@ietf.org>
List-Help: <mailto:uta-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/uta>, <mailto:uta-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 13 Apr 2016 08:15:21 -0000

--Apple-Mail=_157CFECC-EE65-46C4-A659-F0E52CF60E6D
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

Hi Binu,

First off: sorry for the very late reply, I've been moving to another =
continent temporarily.

> On 06 Apr 2016, at 08:42, Binu Ramakrishnan <prbinu@yahoo.com> wrote:
>=20
> Aaron, I think the important point here is when you say TOFU (Trust On =
First Use) - that means no trust anchor is involved at least during the =
initial step. In the case of STS, the policy is served over webpki. In =
fact sender can possibly skip DNS indicator flag and directly fetch =
policies from recipient's well known HTTPS endpoint. Note that DNS STS =
record is a convenience, not a must to have component.

I think your misconception is that I'm an opponent to WebPKI. I'm not - =
I'm merely trying to deal with realities..

Currently the majority of MXs (i.e. 90+%) on the internet do not have =
properly signed certificates, and even the signed ones often contain =
wrong CNs or SANs. I've even seen invalid characters in different places =
in certs during scans [0] - no idea how they got signed by a CA in the =
first place. A lot of them are a few years old and expired long ago. =
This is the reason why MTAs do not properly validate certificates in the =
first place. The move you're suggesting just puts verification in a =
different (out-of-band, HTTPS) place.

As noted earlier to Viktor: I'd like to see WebPKI + TACK. Meaning: we =
could probably achieve fast roll-out on MTAs that do not have properly =
signed certs and move to properly signed certificates in the long run. =
TACK would effectively mitigate MITM attacks due to pinning. Once a MTA =
switches to a valid cert (or something like Let's Encrypt to automate) =
you get pinning plus a trust-chain/anchor. I'm not suggesting we move =
away from the CA system - it's currently the only thing that works at =
scale. I'm still quite pessimistic about DNSSEC, though I hear about big =
rollouts to happen during this year - let's see.

Then there's another problem, it's probably what Dan meant with =
'bootstrapping': If I'm not mistaken, a sending MTA on the first =
connection to a new MTA will need to resolve DNS - MX records, without =
DNSSEC any attacker can manipulate these queries. One idea is to =
pre-populate with pins as STARTTLS-Everywhere tried in the past and some =
of you have suggested for STS. TACK Pinning would also work very =
effectively in this case, with the nice property that TACK allows for =
very efficient key-rollover - no out-of-band communication needed at =
all.

Of course this doesn't solve the matter of policy distribution, while =
I'd like to see something in-band (i.e. an SMTP extension as mentioned =
earlier) the STS suggested way is via out-of-band HTTPS verification =
where i.e. policies get compared and verified. I'm not a fan of this =
solution as you can probably guess - if it ends up this way, I'll =
probably need to implement support for that in STARTTLS-Everywhere/LE =
anyhow.

> > One of the main issues currently is that most MTA-MTA traffic is =
over connections established without a CA signed certificate. You're now =
requiring them to use one anyhow, just in a different place.
> Using untrusted cert is not a feature, but an important security issue =
that needs to be fixed either through DANE or PKIX.

..as mentioned in the sentence you quote; I strongly feel this is one of =
the major issues in MTA security today, not a feature.

It's probably a good idea to split this into several threads as Dan =
suggested: policies and their distribution, feedback mechanisms and =
authentication (pinning, PKIX et cetera).

Thanks,
Aaron

[0] http://arxiv.org/abs/1510.08646

--Apple-Mail=_157CFECC-EE65-46C4-A659-F0E52CF60E6D
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----

iQIcBAEBCgAGBQJXDgA1AAoJEOTbZJL9ubXVd18P/2o50NrG8esZGTkAniC6d7G3
+djIH34fDpQik0NrxQnXpVqOLkc/WZ3gSt2158Q1MwguSyQjyGiE67tgD1NoKQcH
ZvI4a7lnH9E4gVAZIhATOVY04KjATJxYcZKPiuoy1+kM4wiIptW8LT7rza3uhofM
4XHyDUvPt2hFlFG6tpBifI7adi9I688KwQRGJguIng01gNTfAB4V5bxEb/utUodi
l/1tys7PdUe53ztdy5sUyckY099NAoh5Q7PXPiGuY4xUW2zpwV/WQit7XiSCaYzI
LCEn7J6G+mV2hpctUdVM0ilcRn3nBNijP9TdtI9uY0az2zaw7YU4U8Xk/lA5Aa9C
zk+5YDhKrEdjTyRICSQtJH1H6WMZcqFeCUFXHxcJrvXt3yOGBdZxXhVQKmIeOAKY
Czvb9Om+/rWkbSx82QqdPwPx8bxIHmdb7RoQ07QaSPmZJjXLHukbELAB62pUMh8/
q9lnmkmceKnJNc0O02XSHmQykW+zTuce5z5T3AJ1WAPwqEkiguFHfaB2CEj/VqY/
vJQH2WGONqkTIx4ZqZ/zCViQZw+y2YXhJeQqwRdjawNB2itJwCAT4BxCJLyOY+OJ
vRUlRzD++JDXUfY2Bgkrtt5xSkKhBu94KLxrA1c0EYsk7iyGYzemTm8GY0XpDlgJ
lQRpYIIMNWmlcbDcRC5H
=EZUD
-----END PGP SIGNATURE-----

--Apple-Mail=_157CFECC-EE65-46C4-A659-F0E52CF60E6D--


From nobody Wed Apr 13 01:35:16 2016
Return-Path: <azet@azet.org>
X-Original-To: uta@ietfa.amsl.com
Delivered-To: uta@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 016EE12DE71 for <uta@ietfa.amsl.com>; Wed, 13 Apr 2016 01:35:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.7
X-Spam-Level: 
X-Spam-Status: No, score=-2.7 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=azet.org
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 6Di-oL8nVbH3 for <uta@ietfa.amsl.com>; Wed, 13 Apr 2016 01:35:13 -0700 (PDT)
Received: from mail-pa0-x235.google.com (mail-pa0-x235.google.com [IPv6:2607:f8b0:400e:c03::235]) (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 B54AA12DC25 for <uta@ietf.org>; Wed, 13 Apr 2016 01:35:13 -0700 (PDT)
Received: by mail-pa0-x235.google.com with SMTP id ot11so29714211pab.1 for <uta@ietf.org>; Wed, 13 Apr 2016 01:35:13 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=azet.org; s=gmail; h=subject:mime-version:from:in-reply-to:date:cc:message-id:references :to; bh=DOgY0a+d3dl3e8CYpFRLSncvJXkxpI+glgjB41Jg8zk=; b=dsYQEzhDY2+WT8kVfcfIeM3GNembVbHzLNqqlNp7yJT7QaEtl3LPb6HdcZFi6kDvKm sX7yGc8o7FdY/HIFvUgd3vwOPLLzdOIOPkZlpRgKK8qh1l5xc30chKHrWjrHLTmSYDgj O5b+ZefuTMSzvFZPGausrnTgOvUmMzeDc/e/w=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:mime-version:from:in-reply-to:date:cc :message-id:references:to; bh=DOgY0a+d3dl3e8CYpFRLSncvJXkxpI+glgjB41Jg8zk=; b=bumxvYyzO9vRC9W7du2sVp/BaoOsg1/WRjM+oclrmRw0zQVbymYlKbvIgbTfr7kSLl MUX0P0RpYVjaHsDZhd2BTHAFuiJBsWhWDKEqndnOO5MAHU2/0OeDCe9CMPz9qovEBtM7 8ZXL+igbpKbQzyxK0jxVh9Bd4296LQVwANRVDUxkfk1ZnVp2sRTAzQi86L5s5lf/ld7i DWuifCXENuG/hj9bfevG5oQXT01zy6duMopgsqd9jiOZ4DFeCOyy1QV4D7aorvq7pqlI NyDdxOMO4z+Z5EtfkBFiJ+kjcL2C4+89PdTqvu9WW68vh1GD0lZITxD8nk6jw5MHaqr4 BXUg==
X-Gm-Message-State: AOPr4FUhfL9oXmq8r5APJ1P1pEi2d/3KTffQkwAVCzKCCt2U8TyB7dYIl1N7o5Y7qaS6uA==
X-Received: by 10.66.146.39 with SMTP id sz7mr11326966pab.76.1460536513356; Wed, 13 Apr 2016 01:35:13 -0700 (PDT)
Received: from [192.168.0.128] (node-ke.pool-180-180.dynamic.totbb.net. [180.180.2.222]) by smtp.gmail.com with ESMTPSA id q20sm49076208pfi.63.2016.04.13.01.35.10 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 13 Apr 2016 01:35:11 -0700 (PDT)
Mime-Version: 1.0 (Mac OS X Mail 9.2 \(3112\))
Content-Type: multipart/signed; boundary="Apple-Mail=_66B7CB75-1A3D-43C9-8C36-FD23195DB5E4"; protocol="application/pgp-signature"; micalg=pgp-sha512
X-Pgp-Agent: GPGMail 2.6b2
From: Aaron Zauner <azet@azet.org>
In-Reply-To: <CANtKdUf0kN5aOmX0-NsyQXz_+PRGfaXa37DFZoCX3FqdYh5CpA@mail.gmail.com>
Date: Wed, 13 Apr 2016 15:35:45 +0700
Message-Id: <B77A88B5-321F-4D98-BB40-9823D6EE10A5@azet.org>
References: <570C0CD2.9030401@cs.tcd.ie> <20160411212128.GA26423@mournblade.imrryr.org> <CANtKdUekXNkVvsfq0UjCiaaPVBgoVGfrfnYUrdoOf0EegXMuPg@mail.gmail.com> <20160413014304.GB26423@mournblade.imrryr.org> <CANtKdUf0kN5aOmX0-NsyQXz_+PRGfaXa37DFZoCX3FqdYh5CpA@mail.gmail.com>
To: Daniel Margolis <dmargolis@google.com>
X-Mailer: Apple Mail (2.3112)
Archived-At: <http://mailarchive.ietf.org/arch/msg/uta/F3AplgPqnmEw0uAjdlxUGEu-1BI>
Cc: uta@ietf.org
Subject: Re: [Uta] "webby" STS and DANE/DNSSEC co-existence
X-BeenThere: uta@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: UTA working group mailing list <uta.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/uta>, <mailto:uta-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/uta/>
List-Post: <mailto:uta@ietf.org>
List-Help: <mailto:uta-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/uta>, <mailto:uta-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 13 Apr 2016 08:35:15 -0000

--Apple-Mail=_66B7CB75-1A3D-43C9-8C36-FD23195DB5E4
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

Hi,

> On 13 Apr 2016, at 14:48, Daniel Margolis <dmargolis@google.com> =
wrote:
>=20
> What's the complexity you're worried about? Is it mainly that there's =
another switch to flip incorrectly (i.e. inadvertent misconfiguration, =
at a greater risk due to the presence of more configurations) or the =
risk of malicious DoS?
>=20
> I think Stephen laid out the trade-offs fairly well. I can see the =
argument for telling recipients that if they already publish a DANE =
record they're probably fine and shouldn't really need an STS policy as =
well. But a "must" seems less helpful to me here; senders who have some =
external limitation that prevents them from implementing DNSSEC then =
must not implement STS? I'd be worried that some larger deployments =
might have trouble with that.

I understood this as: First check for DNSSEC/DANE if there're no records =
available try STS. But do not do both. Which is entirely reasonable =
given the added complexity and attack vector. You really do not want to =
validate via two to three different protocols/solutions.

Aaron


--Apple-Mail=_66B7CB75-1A3D-43C9-8C36-FD23195DB5E4
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----

iQIcBAEBCgAGBQJXDgTiAAoJEOTbZJL9ubXVpeUQAPNH83lWqA2SKCXXavTDavEt
cFDBWSNz+t+IhpCbSK7D5ju9LorFRkKq7Sj7d038hJbvhsi7j+v4MNXEScLKTrth
wGVujXPwkY+7HH0aa5oMMSGxuREqMd7LHrJKINYRjojBZoKgzsktCxPxcfeEwm5z
VrIxX98NGCb/Rovso+fQkBUyg5P8YWEbUZjAH3VQCjZCBSlxKvaOBynXMahefrwZ
fygP/vSJD9Hw3vhuALsvqTOTFSpVhlVoOPV+YFR7x2azWNqQxrShXVhXwo7DoLqM
xOOaLrV0jabbYaWoWUnadluVRgsiQtVJ20t01mssI4k9zCTbHaSNB52Met4z4zb+
amwSVtw9ACEJJIuOwSlZOL7ihSAVmkzNVuOHCBzZ2WFdTO0JU2Ht/bsJ5e4ABh5S
+RGvrUDmSe25uqw7tEdeY41Q0WYtcO107e0YUrZF3oLu4fMeLkg50bKHCnDYXICF
UoULAHf+fcUJYISRmWjQm57DqWEXh2ceNvFNXFq/L2cgDW/zcXv9QYkVxshMZ+3H
+VCxS8el1Tq6UaQpwlPDiqAx8mpA58xbiLc+DivSNpR5r1uDMzbC8SQPk8lTf3vb
/J1/n4UvYr1O5gDK8u6NkCaDRWJ3lfYJsmTKE8sWheCb3jHSimu7a80fjPvlLP7G
Aguw1+uQ+KyVqAQxeZpC
=ta+0
-----END PGP SIGNATURE-----

--Apple-Mail=_66B7CB75-1A3D-43C9-8C36-FD23195DB5E4--


From nobody Wed Apr 13 01:40:52 2016
Return-Path: <neil.cook@noware.co.uk>
X-Original-To: uta@ietfa.amsl.com
Delivered-To: uta@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C35D212DCEA for <uta@ietfa.amsl.com>; Wed, 13 Apr 2016 01:40:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.895
X-Spam-Level: 
X-Spam-Status: No, score=-2.895 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RP_MATCHES_RCVD=-0.996] 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 lePh7HAuUGji for <uta@ietfa.amsl.com>; Wed, 13 Apr 2016 01:40:48 -0700 (PDT)
Received: from mail.noware.co.uk (mail.noware.co.uk [192.241.243.54]) by ietfa.amsl.com (Postfix) with ESMTP id 8222812DAE4 for <uta@ietf.org>; Wed, 13 Apr 2016 01:40:48 -0700 (PDT)
Received: from neil-cook-mbp.home (unknown [86.153.224.89]) by mail.noware.co.uk (Postfix) with ESMTPSA id AE0BA1C2A9D; Wed, 13 Apr 2016 08:40:46 +0000 (UTC)
Mime-Version: 1.0 (Mac OS X Mail 9.2 \(3112\))
Content-Type: multipart/signed; boundary="Apple-Mail=_9E262AD2-213B-4A5D-A540-E2A7148E7F7B"; protocol="application/pgp-signature"; micalg=pgp-sha256
X-Pgp-Agent: GPGMail 2.6b2
From: Neil Cook <neil.cook@noware.co.uk>
In-Reply-To: <CANtKdUf0kN5aOmX0-NsyQXz_+PRGfaXa37DFZoCX3FqdYh5CpA@mail.gmail.com>
Date: Wed, 13 Apr 2016 09:40:45 +0100
Message-Id: <5249C8ED-CACD-4765-909E-CB8EB218BF10@noware.co.uk>
References: <570C0CD2.9030401@cs.tcd.ie> <20160411212128.GA26423@mournblade.imrryr.org> <CANtKdUekXNkVvsfq0UjCiaaPVBgoVGfrfnYUrdoOf0EegXMuPg@mail.gmail.com> <20160413014304.GB26423@mournblade.imrryr.org> <CANtKdUf0kN5aOmX0-NsyQXz_+PRGfaXa37DFZoCX3FqdYh5CpA@mail.gmail.com>
To: Daniel Margolis <dmargolis@google.com>
X-Mailer: Apple Mail (2.3112)
X-CMAE-Score: 0
X-CMAE-Analysis: v=2.1 cv=TdMYtHgh c=1 sm=1 tr=0 a=xfdXm1iLTETJF5zWIHVl8g==:117 a=xfdXm1iLTETJF5zWIHVl8g==:17 a=L9H7d07YOLsA:10:nop_no_from_header a=9cW_t1CCXrUA:10:nop_no_to_header a=s5jvgZ67dGcA:10:nop_no_subject_header a=1XWaLZrsAAAA:8 a=lyf1682xAAAA:8 a=48vgC7mUAAAA:8 a=yflVpddrNOIfUZswHnMA:9 a=QEXdDO2ut3YA:10:nop_charset_2 a=AnQPWLKY8RGxl9MyBFAA:9 a=YozZwymvE84Rr6Lu:21 a=_W_S_7VecoQA:10:nop_html a=FdW6SKLwP66qnElS_IsA:9
Archived-At: <http://mailarchive.ietf.org/arch/msg/uta/fYH1HrfclaYrd4G2pdjSAB0rX90>
Cc: uta@ietf.org
Subject: Re: [Uta] "webby" STS and DANE/DNSSEC co-existence
X-BeenThere: uta@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: UTA working group mailing list <uta.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/uta>, <mailto:uta-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/uta/>
List-Post: <mailto:uta@ietf.org>
List-Help: <mailto:uta-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/uta>, <mailto:uta-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 13 Apr 2016 08:40:51 -0000

--Apple-Mail=_9E262AD2-213B-4A5D-A540-E2A7148E7F7B
Content-Type: multipart/alternative;
	boundary="Apple-Mail=_1C63E99B-72F1-4ED8-B65E-D5F0B8F7377A"


--Apple-Mail=_1C63E99B-72F1-4ED8-B65E-D5F0B8F7377A
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8


> On 13 Apr 2016, at 08:48, Daniel Margolis <dmargolis@google.com> =
wrote:
>=20
> What's the complexity you're worried about? Is it mainly that there's =
another switch to flip incorrectly (i.e. inadvertent misconfiguration, =
at a greater risk due to the presence of more configurations) or the =
risk of malicious DoS?
>=20

Checking both is not a good idea. DANE support scenarios like =
self-signed certs, which STS does not.

> I think Stephen laid out the trade-offs fairly well. I can see the =
argument for telling recipients that if they already publish a DANE =
record they're probably fine and shouldn't really need an STS policy as =
well. But a "must" seems less helpful to me here; senders who have some =
external limitation that prevents them from implementing DNSSEC then =
must not implement STS? I'd be worried that some larger deployments =
might have trouble with that.
>=20

We=E2=80=99re only talking about what precedence to use for senders who =
support both, not saying that recipients must support both. If sender =
who supports both DANE/DNSSEC and STS encounters a TLSA record it MUST =
honour that, and not use STS. If a sender supporting both only sees one =
or the other, then it=E2=80=99s fine. Senders which only support one or =
the other are also fine.

Neil

> On Wed, Apr 13, 2016 at 3:43 AM, Viktor Dukhovni =
<ietf-dane@dukhovni.org <mailto:ietf-dane@dukhovni.org>> wrote:
> On Tue, Apr 12, 2016 at 06:52:31PM +0200, Daniel Margolis wrote:
>=20
> > I'm not sure if I'm being stupid here, but what does it mean for STS =
to be
> > "trumped" by DANE (or the reverse)? Do you mean that if the =
recipient
> > domain/MX has both STS and DANE you will *only* validate the DANE =
policy?
>=20
> Correct.  Trying to enforce both is too complex, and needlessly
> increases the risk of delivery problems.
>=20
> > If we instead said that senders who validate STS must honor STS and =
senders
> > who validate DANE must honor DANE, is there a conflict?
>=20
> That language is either tautological, or unreasonable, if intended
> to imply that systems capable of both must be willing to apply both
> concurrently.
>=20
> > I would presume that if there is either a DANE failure or an STS =
failure
> > senders who validate both will treat it as a failure. Introducing a =
concept
> > of priority strikes me as unnecessary. What am I missing?
>=20
> I have no plans to support concurrent evaluation of potentially
> conflicting policies.  DANE is more robust than STS, given a DANE
> policy I see no reason to also consider STS policy.
>=20
> Of course an administrator will be able to choose which policy
> applies to a given nexthop, but not enforcement of both.
>=20
> --
>         Viktor.
>=20
> _______________________________________________
> Uta mailing list
> Uta@ietf.org <mailto:Uta@ietf.org>
> https://www.ietf.org/mailman/listinfo/uta =
<https://www.ietf.org/mailman/listinfo/uta>
>=20
> _______________________________________________
> Uta mailing list
> Uta@ietf.org
> https://www.ietf.org/mailman/listinfo/uta


--Apple-Mail=_1C63E99B-72F1-4ED8-B65E-D5F0B8F7377A
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=utf-8

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" =
class=3D""><br class=3D""><div><blockquote type=3D"cite" class=3D""><div =
class=3D"">On 13 Apr 2016, at 08:48, Daniel Margolis &lt;<a =
href=3D"mailto:dmargolis@google.com" =
class=3D"">dmargolis@google.com</a>&gt; wrote:</div><br =
class=3D"Apple-interchange-newline"><div class=3D""><div dir=3D"ltr" =
class=3D""><div class=3D"">What's the complexity you're worried about? =
Is it mainly that there's another switch to flip incorrectly (i.e. =
inadvertent misconfiguration, at a greater risk due to the presence of =
more configurations) or the risk of malicious DoS?&nbsp;<br =
class=3D""></div><div class=3D""><br =
class=3D""></div></div></div></blockquote><div><br =
class=3D""></div><div>Checking both is not a good idea. DANE support =
scenarios like self-signed certs, which STS does not.</div><br =
class=3D""><blockquote type=3D"cite" class=3D""><div class=3D""><div =
dir=3D"ltr" class=3D""><div class=3D"">I think Stephen laid out the =
trade-offs fairly well. I can see the argument for telling recipients =
that if they already publish a DANE record they're probably fine and =
shouldn't really need an STS policy as well. But a "must" seems less =
helpful to me here; senders who have some external limitation that =
prevents them from implementing DNSSEC then must not implement STS? I'd =
be worried that some larger deployments might have trouble with =
that.&nbsp;</div><div class=3D""><br =
class=3D""></div></div></div></blockquote><div><br =
class=3D""></div><div>We=E2=80=99re only talking about what precedence =
to use for senders who support both, not saying that recipients must =
support both. If sender who supports both DANE/DNSSEC and STS encounters =
a TLSA record it MUST honour that, and not use STS. If a sender =
supporting both only sees one or the other, then it=E2=80=99s fine. =
Senders which only support one or the other are also fine.</div><div><br =
class=3D""></div><div>Neil</div><div><br class=3D""></div><blockquote =
type=3D"cite" class=3D""><div class=3D""><div dir=3D"ltr" class=3D""><div =
class=3D""><div class=3D""><div class=3D"gmail_extra"><div =
class=3D"gmail_quote">On Wed, Apr 13, 2016 at 3:43 AM, Viktor Dukhovni =
<span dir=3D"ltr" class=3D"">&lt;<a href=3D"mailto:ietf-dane@dukhovni.org"=
 target=3D"_blank" class=3D"">ietf-dane@dukhovni.org</a>&gt;</span> =
wrote:<br class=3D""><blockquote class=3D"gmail_quote" style=3D"margin:0 =
0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=3D"">On =
Tue, Apr 12, 2016 at 06:52:31PM +0200, Daniel Margolis wrote:<br =
class=3D"">
<br class=3D"">
&gt; I'm not sure if I'm being stupid here, but what does it mean for =
STS to be<br class=3D"">
&gt; "trumped" by DANE (or the reverse)? Do you mean that if the =
recipient<br class=3D"">
&gt; domain/MX has both STS and DANE you will *only* validate the DANE =
policy?<br class=3D"">
<br class=3D"">
</span>Correct.&nbsp; Trying to enforce both is too complex, and =
needlessly<br class=3D"">
increases the risk of delivery problems.<br class=3D"">
<span class=3D""><br class=3D"">
&gt; If we instead said that senders who validate STS must honor STS and =
senders<br class=3D"">
&gt; who validate DANE must honor DANE, is there a conflict?<br =
class=3D"">
<br class=3D"">
</span>That language is either tautological, or unreasonable, if =
intended<br class=3D"">
to imply that systems capable of both must be willing to apply both<br =
class=3D"">
concurrently.<br class=3D"">
<span class=3D""><br class=3D"">
&gt; I would presume that if there is either a DANE failure or an STS =
failure<br class=3D"">
&gt; senders who validate both will treat it as a failure. Introducing a =
concept<br class=3D"">
&gt; of priority strikes me as unnecessary. What am I missing?<br =
class=3D"">
<br class=3D"">
</span>I have no plans to support concurrent evaluation of =
potentially<br class=3D"">
conflicting policies.&nbsp; DANE is more robust than STS, given a =
DANE<br class=3D"">
policy I see no reason to also consider STS policy.<br class=3D"">
<br class=3D"">
Of course an administrator will be able to choose which policy<br =
class=3D"">
applies to a given nexthop, but not enforcement of both.<br class=3D"">
<div class=3D"HOEnZb"><div class=3D"h5"><br class=3D"">
--<br class=3D"">
&nbsp; &nbsp; &nbsp; &nbsp; Viktor.<br class=3D"">
<br class=3D"">
_______________________________________________<br class=3D"">
Uta mailing list<br class=3D"">
<a href=3D"mailto:Uta@ietf.org" class=3D"">Uta@ietf.org</a><br class=3D"">=

<a href=3D"https://www.ietf.org/mailman/listinfo/uta" rel=3D"noreferrer" =
target=3D"_blank" =
class=3D"">https://www.ietf.org/mailman/listinfo/uta</a><br class=3D"">
</div></div></blockquote></div><br class=3D""></div></div></div></div>
_______________________________________________<br class=3D"">Uta =
mailing list<br class=3D""><a href=3D"mailto:Uta@ietf.org" =
class=3D"">Uta@ietf.org</a><br =
class=3D"">https://www.ietf.org/mailman/listinfo/uta<br =
class=3D""></div></blockquote></div><br class=3D""></body></html>=

--Apple-Mail=_1C63E99B-72F1-4ED8-B65E-D5F0B8F7377A--

--Apple-Mail=_9E262AD2-213B-4A5D-A540-E2A7148E7F7B
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org

iQEcBAEBCAAGBQJXDgYOAAoJEKo+hxOLIhYn2oQIAIPY4OLKz9/rKMs6N9luBuYP
weY5wZKivI9Dh6kjjtRT2mxCcPrUmQy3EmuC1GiVNUXwZYkCskTf+xpREo/bpEiv
4lMPNgHRmiZZhi1aOrK+WYTxpaR2q38iVARt5uu9TjGfd2xovM03Z+ZuwTn+4e/Q
BaSfkED5fcS5bMtMEEiUY+B1LZXbx4UoYEPV8qV07CHc9smMMCLBqRV1HuztPgve
JRYRNJul2NeYmR1wPiUsP3lDGknevStAgk/1W4Q6ccT8BDfjxTtsYmOC25h92lu4
bkM86V++lgjTqhTk16eTQ60spHrMjRKzUi6vZXInTBchBX4Z9ASGa0pgff9LdZg=
=OEkK
-----END PGP SIGNATURE-----

--Apple-Mail=_9E262AD2-213B-4A5D-A540-E2A7148E7F7B--


From nobody Wed Apr 13 02:04:19 2016
Return-Path: <dmargolis@google.com>
X-Original-To: uta@ietfa.amsl.com
Delivered-To: uta@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 74CF112DC41 for <uta@ietfa.amsl.com>; Wed, 13 Apr 2016 02:04:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.696
X-Spam-Level: 
X-Spam-Status: No, score=-3.696 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RP_MATCHES_RCVD=-0.996, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=google.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 DHG49fpgFxP0 for <uta@ietfa.amsl.com>; Wed, 13 Apr 2016 02:04:15 -0700 (PDT)
Received: from mail-io0-x233.google.com (mail-io0-x233.google.com [IPv6:2607:f8b0:4001:c06::233]) (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 2E29912D81D for <uta@ietf.org>; Wed, 13 Apr 2016 02:04:15 -0700 (PDT)
Received: by mail-io0-x233.google.com with SMTP id o126so62119117iod.0 for <uta@ietf.org>; Wed, 13 Apr 2016 02:04:15 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=KQ7ueq/EOHhURBgqqwJVqKpLtPoWVVBX1ixhr6S+o18=; b=jQPA0Qj0EhIVUA6Nj1LHXJ+rrRBkByy3FubVQDVb/7KPfhltxkwaf0ZQ3eR61//T8N zI5meHwjQQKS/Q+s8rZEFh+67KUUetBe1WyDF3QH0HQ5KaTg3ap+3NIg5nU3QEf1U/0V 1Ot7YRWflegzVDvlnUPOJIsJ90Cvhc91nYxCCAL7qKsH40qQIxzwSVidFA7LBw6WXu9S 5pt16QY0jUUHH/4RVEV17wPpG7mS94fhsSKgGRDlslksCFEeYhT6NT3j9Mk9G6Pr7Zk/ D521NV1x/cDAla0GsnFU36GhXbscXHeOtYFodAuwW+A30l9hwjkr5JmS8MyedX299TVr QFFw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=KQ7ueq/EOHhURBgqqwJVqKpLtPoWVVBX1ixhr6S+o18=; b=Y/Ug5WYZs9BZwVgp/Va0oQvwu+9r9cnE2jiUjjoTfCQqxn1Fxc7r5rNNkGkApkQ63d Qg/24c4jxU1X/MhJPDRXZJUSNS8PWUCo1hk6bLVVH+pImH1nTJvZj7k9Kim0XYy33Dbi +1b+X9NiROVZg+pTUZRfk573IDTwtj0K8rpI/dQVpDVQiK7JxdF4puYcU6ri5P5XvNSD yK1qg7tAbsAEKi2QCfosRnc4qE7nPoIuQIF5XqIY/7hg00ga/UraYe2UoaUFf04HwtuP i7J6rtFxk3/s5k+mErruZ+c2s/Bu0WAYbqfB0btX9gJY8LmJLsnvQ17bNURbB9WgpRsy MUbg==
X-Gm-Message-State: AOPr4FXbA59xJf4w6JrfI8lXwpGPlUzetLMXDbbjBsCq9lpi3gvJh3jSILCaSUV4sHKNlkk8b9TyTHKdQVSO0du7
MIME-Version: 1.0
X-Received: by 10.107.12.67 with SMTP id w64mr9786115ioi.114.1460538254312; Wed, 13 Apr 2016 02:04:14 -0700 (PDT)
Received: by 10.64.91.226 with HTTP; Wed, 13 Apr 2016 02:04:14 -0700 (PDT)
In-Reply-To: <5249C8ED-CACD-4765-909E-CB8EB218BF10@noware.co.uk>
References: <570C0CD2.9030401@cs.tcd.ie> <20160411212128.GA26423@mournblade.imrryr.org> <CANtKdUekXNkVvsfq0UjCiaaPVBgoVGfrfnYUrdoOf0EegXMuPg@mail.gmail.com> <20160413014304.GB26423@mournblade.imrryr.org> <CANtKdUf0kN5aOmX0-NsyQXz_+PRGfaXa37DFZoCX3FqdYh5CpA@mail.gmail.com> <5249C8ED-CACD-4765-909E-CB8EB218BF10@noware.co.uk>
Date: Wed, 13 Apr 2016 11:04:14 +0200
Message-ID: <CANtKdUctfEKuQAscMkt_A5wcA84Z4y3L4KvcsxVd2Qb0NRBtgw@mail.gmail.com>
From: Daniel Margolis <dmargolis@google.com>
To: Neil Cook <neil.cook@noware.co.uk>
Content-Type: multipart/alternative; boundary=001a113f92b6d4f13705305a0f19
Archived-At: <http://mailarchive.ietf.org/arch/msg/uta/aiHevSaEeZgbMKxmvckpkrToLQM>
Cc: uta@ietf.org
Subject: Re: [Uta] "webby" STS and DANE/DNSSEC co-existence
X-BeenThere: uta@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: UTA working group mailing list <uta.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/uta>, <mailto:uta-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/uta/>
List-Post: <mailto:uta@ietf.org>
List-Help: <mailto:uta-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/uta>, <mailto:uta-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 13 Apr 2016 09:04:17 -0000

--001a113f92b6d4f13705305a0f19
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Ah, in that case, I totally misunderstood. Sorry about that.

I don't have a big problem with saying that *if* you support both you
should do DANE first. But I must admit, I still don't really understand the
value in specifying this explicitly: recipients still have to assume a
misconfiguration in either policy may result in dropped mail, so this isn't
a great mitigation for misconfigurations or deliberate DoS. My view (in
previous discussions of the same question) was that we would simply not
specify this--which infrastructure to trust seems like it's something that
the sender determines on their own; it's (obviously) impossible for the
recipient to dictate this ("Let me give you my CA-signed proof that I want
you to always trust CAs."), so a sender can reasonably say that they would
prefer DNSSEC to WebPKI or vice versa (or fail if either fails). But this
isn't a big point to me, so I'm flexible about it.

On Wed, Apr 13, 2016 at 10:40 AM, Neil Cook <neil.cook@noware.co.uk> wrote:

>
> On 13 Apr 2016, at 08:48, Daniel Margolis <dmargolis@google.com> wrote:
>
> What's the complexity you're worried about? Is it mainly that there's
> another switch to flip incorrectly (i.e. inadvertent misconfiguration, at=
 a
> greater risk due to the presence of more configurations) or the risk of
> malicious DoS?
>
>
> Checking both is not a good idea. DANE support scenarios like self-signed
> certs, which STS does not.
>

Yes, but if you have a self-signed cert, you aren't going to have an STS
policy, so that's a different scenario than what we're discussing, no?

This is distinct from the first analogy that crossed my mind, which is Web
browsers who support DANE: in the web browser case, WebPKI is essentially
the default, so for DANE to work (with self-signed certs) we need to be
clear that DANE trumps WebPKI. But in the SMTP case the default is nothing,
so if someone explicitly requests STS or DANE, both policies must work
independently (or else they're going to be missing mail from senders who
validate only one or the other).


>
> I think Stephen laid out the trade-offs fairly well. I can see the
> argument for telling recipients that if they already publish a DANE recor=
d
> they're probably fine and shouldn't really need an STS policy as well. Bu=
t
> a "must" seems less helpful to me here; senders who have some external
> limitation that prevents them from implementing DNSSEC then must not
> implement STS? I'd be worried that some larger deployments might have
> trouble with that.
>
>
> We=E2=80=99re only talking about what precedence to use for senders who s=
upport
> both, not saying that recipients must support both. If sender who support=
s
> both DANE/DNSSEC and STS encounters a TLSA record it MUST honour that, an=
d
> not use STS. If a sender supporting both only sees one or the other, then
> it=E2=80=99s fine. Senders which only support one or the other are also f=
ine.
>
> Neil
>
> On Wed, Apr 13, 2016 at 3:43 AM, Viktor Dukhovni <ietf-dane@dukhovni.org>
> wrote:
>
>> On Tue, Apr 12, 2016 at 06:52:31PM +0200, Daniel Margolis wrote:
>>
>> > I'm not sure if I'm being stupid here, but what does it mean for STS t=
o
>> be
>> > "trumped" by DANE (or the reverse)? Do you mean that if the recipient
>> > domain/MX has both STS and DANE you will *only* validate the DANE
>> policy?
>>
>> Correct.  Trying to enforce both is too complex, and needlessly
>> increases the risk of delivery problems.
>>
>> > If we instead said that senders who validate STS must honor STS and
>> senders
>> > who validate DANE must honor DANE, is there a conflict?
>>
>> That language is either tautological, or unreasonable, if intended
>> to imply that systems capable of both must be willing to apply both
>> concurrently.
>>
>> > I would presume that if there is either a DANE failure or an STS failu=
re
>> > senders who validate both will treat it as a failure. Introducing a
>> concept
>> > of priority strikes me as unnecessary. What am I missing?
>>
>> I have no plans to support concurrent evaluation of potentially
>> conflicting policies.  DANE is more robust than STS, given a DANE
>> policy I see no reason to also consider STS policy.
>>
>> Of course an administrator will be able to choose which policy
>> applies to a given nexthop, but not enforcement of both.
>>
>> --
>>         Viktor.
>>
>> _______________________________________________
>> Uta mailing list
>> Uta@ietf.org
>> https://www.ietf.org/mailman/listinfo/uta
>>
>
> _______________________________________________
> Uta mailing list
> Uta@ietf.org
> https://www.ietf.org/mailman/listinfo/uta
>
>
>

--001a113f92b6d4f13705305a0f19
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Ah, in that case, I totally misunderstood. Sorry about tha=
t.=C2=A0<div><br></div><div>I don&#39;t have a big problem with saying that=
 <i>if</i>=C2=A0you support both you should do DANE first. But I must admit=
, I still don&#39;t really understand the value in specifying this explicit=
ly: recipients still have to assume a misconfiguration in either policy may=
 result in dropped mail, so this isn&#39;t a great mitigation for misconfig=
urations or deliberate DoS. My view (in previous discussions of the same qu=
estion) was that we would simply not specify this--which infrastructure to =
trust seems like it&#39;s something that the sender determines on their own=
; it&#39;s (obviously) impossible for the recipient to dictate this (&quot;=
Let me give you my CA-signed proof that I want you to always trust CAs.&quo=
t;), so a sender can reasonably say that they would prefer DNSSEC to WebPKI=
 or vice versa (or fail if either fails). But this isn&#39;t a big point to=
 me, so I&#39;m flexible about it.=C2=A0<br><div class=3D"gmail_extra"><br>=
<div class=3D"gmail_quote">On Wed, Apr 13, 2016 at 10:40 AM, Neil Cook <spa=
n dir=3D"ltr">&lt;<a href=3D"mailto:neil.cook@noware.co.uk" target=3D"_blan=
k">neil.cook@noware.co.uk</a>&gt;</span> wrote:<br><blockquote class=3D"gma=
il_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-lef=
t:1ex"><div style=3D"word-wrap:break-word"><br><div><span class=3D""><block=
quote type=3D"cite"><div>On 13 Apr 2016, at 08:48, Daniel Margolis &lt;<a h=
ref=3D"mailto:dmargolis@google.com" target=3D"_blank">dmargolis@google.com<=
/a>&gt; wrote:</div><br><div><div dir=3D"ltr"><div>What&#39;s the complexit=
y you&#39;re worried about? Is it mainly that there&#39;s another switch to=
 flip incorrectly (i.e. inadvertent misconfiguration, at a greater risk due=
 to the presence of more configurations) or the risk of malicious DoS?=C2=
=A0<br></div><div><br></div></div></div></blockquote><div><br></div></span>=
<div>Checking both is not a good idea. DANE support scenarios like self-sig=
ned certs, which STS does not.</div></div></div></blockquote><div><br></div=
><div>Yes, but if you have a self-signed cert, you aren&#39;t going to have=
 an STS policy, so that&#39;s a different scenario than what we&#39;re disc=
ussing, no?=C2=A0</div><div><br></div><div>This is distinct from the first =
analogy that crossed my mind, which is Web browsers who support DANE: in th=
e web browser case, WebPKI is essentially the default, so for DANE to work =
(with self-signed certs) we need to be clear that DANE trumps WebPKI. But i=
n the SMTP case the default is nothing, so if someone explicitly requests S=
TS or DANE, both policies must work independently (or else they&#39;re goin=
g to be missing mail from senders who validate only one or the other).=C2=
=A0</div><div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"margin=
:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style=3D"word=
-wrap:break-word"><div><span class=3D""><br><blockquote type=3D"cite"><div>=
<div dir=3D"ltr"><div>I think Stephen laid out the trade-offs fairly well. =
I can see the argument for telling recipients that if they already publish =
a DANE record they&#39;re probably fine and shouldn&#39;t really need an ST=
S policy as well. But a &quot;must&quot; seems less helpful to me here; sen=
ders who have some external limitation that prevents them from implementing=
 DNSSEC then must not implement STS? I&#39;d be worried that some larger de=
ployments might have trouble with that.=C2=A0</div><div><br></div></div></d=
iv></blockquote><div><br></div></span><div>We=E2=80=99re only talking about=
 what precedence to use for senders who support both, not saying that recip=
ients must support both. If sender who supports both DANE/DNSSEC and STS en=
counters a TLSA record it MUST honour that, and not use STS. If a sender su=
pporting both only sees one or the other, then it=E2=80=99s fine. Senders w=
hich only support one or the other are also fine.</div><span class=3D"HOEnZ=
b"><font color=3D"#888888"><div><br></div><div>Neil</div></font></span><div=
><div class=3D"h5"><div><br></div><blockquote type=3D"cite"><div><div dir=
=3D"ltr"><div><div><div class=3D"gmail_extra"><div class=3D"gmail_quote">On=
 Wed, Apr 13, 2016 at 3:43 AM, Viktor Dukhovni <span dir=3D"ltr">&lt;<a hre=
f=3D"mailto:ietf-dane@dukhovni.org" target=3D"_blank">ietf-dane@dukhovni.or=
g</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margi=
n:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>On Tue, Apr=
 12, 2016 at 06:52:31PM +0200, Daniel Margolis wrote:<br>
<br>
&gt; I&#39;m not sure if I&#39;m being stupid here, but what does it mean f=
or STS to be<br>
&gt; &quot;trumped&quot; by DANE (or the reverse)? Do you mean that if the =
recipient<br>
&gt; domain/MX has both STS and DANE you will *only* validate the DANE poli=
cy?<br>
<br>
</span>Correct.=C2=A0 Trying to enforce both is too complex, and needlessly=
<br>
increases the risk of delivery problems.<br>
<span><br>
&gt; If we instead said that senders who validate STS must honor STS and se=
nders<br>
&gt; who validate DANE must honor DANE, is there a conflict?<br>
<br>
</span>That language is either tautological, or unreasonable, if intended<b=
r>
to imply that systems capable of both must be willing to apply both<br>
concurrently.<br>
<span><br>
&gt; I would presume that if there is either a DANE failure or an STS failu=
re<br>
&gt; senders who validate both will treat it as a failure. Introducing a co=
ncept<br>
&gt; of priority strikes me as unnecessary. What am I missing?<br>
<br>
</span>I have no plans to support concurrent evaluation of potentially<br>
conflicting policies.=C2=A0 DANE is more robust than STS, given a DANE<br>
policy I see no reason to also consider STS policy.<br>
<br>
Of course an administrator will be able to choose which policy<br>
applies to a given nexthop, but not enforcement of both.<br>
<div><div><br>
--<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Viktor.<br>
<br>
_______________________________________________<br>
Uta mailing list<br>
<a href=3D"mailto:Uta@ietf.org" target=3D"_blank">Uta@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/uta" rel=3D"noreferrer" ta=
rget=3D"_blank">https://www.ietf.org/mailman/listinfo/uta</a><br>
</div></div></blockquote></div><br></div></div></div></div>
_______________________________________________<br>Uta mailing list<br><a h=
ref=3D"mailto:Uta@ietf.org" target=3D"_blank">Uta@ietf.org</a><br><a href=
=3D"https://www.ietf.org/mailman/listinfo/uta" target=3D"_blank">https://ww=
w.ietf.org/mailman/listinfo/uta</a><br></div></blockquote></div></div></div=
><br></div></blockquote></div><br></div></div></div>

--001a113f92b6d4f13705305a0f19--


From nobody Wed Apr 13 02:34:40 2016
Return-Path: <neil.cook@noware.co.uk>
X-Original-To: uta@ietfa.amsl.com
Delivered-To: uta@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 24D8E12DD74 for <uta@ietfa.amsl.com>; Wed, 13 Apr 2016 02:34:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.895
X-Spam-Level: 
X-Spam-Status: No, score=-2.895 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RP_MATCHES_RCVD=-0.996] 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 yV4R-zt2a48k for <uta@ietfa.amsl.com>; Wed, 13 Apr 2016 02:34:29 -0700 (PDT)
Received: from mail.noware.co.uk (mail.noware.co.uk [192.241.243.54]) by ietfa.amsl.com (Postfix) with ESMTP id 7630A12DD51 for <uta@ietf.org>; Wed, 13 Apr 2016 02:34:23 -0700 (PDT)
Received: from neil-cook-mbp.home (unknown [86.153.224.89]) by mail.noware.co.uk (Postfix) with ESMTPSA id 7006A1C0533; Wed, 13 Apr 2016 09:34:21 +0000 (UTC)
Mime-Version: 1.0 (Mac OS X Mail 9.2 \(3112\))
Content-Type: multipart/signed; boundary="Apple-Mail=_50DC278C-E7D2-409D-82F0-C5B7BE1628FB"; protocol="application/pgp-signature"; micalg=pgp-sha256
X-Pgp-Agent: GPGMail 2.6b2
From: Neil Cook <neil.cook@noware.co.uk>
In-Reply-To: <CANtKdUctfEKuQAscMkt_A5wcA84Z4y3L4KvcsxVd2Qb0NRBtgw@mail.gmail.com>
Date: Wed, 13 Apr 2016 10:34:20 +0100
Message-Id: <96AFF4DD-A934-4C92-A72E-AF729CE053D7@noware.co.uk>
References: <570C0CD2.9030401@cs.tcd.ie> <20160411212128.GA26423@mournblade.imrryr.org> <CANtKdUekXNkVvsfq0UjCiaaPVBgoVGfrfnYUrdoOf0EegXMuPg@mail.gmail.com> <20160413014304.GB26423@mournblade.imrryr.org> <CANtKdUf0kN5aOmX0-NsyQXz_+PRGfaXa37DFZoCX3FqdYh5CpA@mail.gmail.com> <5249C8ED-CACD-4765-909E-CB8EB218BF10@noware.co.uk> <CANtKdUctfEKuQAscMkt_A5wcA84Z4y3L4KvcsxVd2Qb0NRBtgw@mail.gmail.com>
To: Daniel Margolis <dmargolis@google.com>
X-Mailer: Apple Mail (2.3112)
X-CMAE-Score: 0
X-CMAE-Analysis: v=2.1 cv=TdMYtHgh c=1 sm=1 tr=0 a=xfdXm1iLTETJF5zWIHVl8g==:117 a=xfdXm1iLTETJF5zWIHVl8g==:17 a=L9H7d07YOLsA:10:nop_no_from_header a=9cW_t1CCXrUA:10:nop_no_to_header a=s5jvgZ67dGcA:10:nop_no_subject_header a=1XWaLZrsAAAA:8 a=D2AyyhpcAAAA:8 a=lyf1682xAAAA:8 a=48vgC7mUAAAA:8 a=6dZpJeI1ItK5x4o9M5QA:9 a=yICD5vKH5Jx3eUZ4:21 a=G_a9a3jD6cIkyQ3T:21 a=QEXdDO2ut3YA:10:nop_charset_2 a=ucdxbJRuHdZ4l4PoRWYA:9 a=ALW_UFhRtDTayQC5:21 a=IZM1355Hl8bAHR6N:21 a=ElSMnAEMWt0tQ-oC:21 a=_W_S_7VecoQA:10:nop_html a=XUIFR0xDUUPnZkHRsA0A:9
Archived-At: <http://mailarchive.ietf.org/arch/msg/uta/NnpsQFukc35J5LAZvKMXhLhUPH0>
Cc: uta@ietf.org
Subject: Re: [Uta] "webby" STS and DANE/DNSSEC co-existence
X-BeenThere: uta@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: UTA working group mailing list <uta.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/uta>, <mailto:uta-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/uta/>
List-Post: <mailto:uta@ietf.org>
List-Help: <mailto:uta-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/uta>, <mailto:uta-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 13 Apr 2016 09:34:34 -0000

--Apple-Mail=_50DC278C-E7D2-409D-82F0-C5B7BE1628FB
Content-Type: multipart/alternative;
	boundary="Apple-Mail=_376F54D2-B00C-46E1-B39C-ECB8CF66F962"


--Apple-Mail=_376F54D2-B00C-46E1-B39C-ECB8CF66F962
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8


> On 13 Apr 2016, at 10:04, Daniel Margolis <dmargolis@google.com =
<mailto:dmargolis@google.com>> wrote:
>=20
> On Wed, Apr 13, 2016 at 10:40 AM, Neil Cook <neil.cook@noware.co.uk =
<mailto:neil.cook@noware.co.uk>> wrote:
>=20
>> On 13 Apr 2016, at 08:48, Daniel Margolis <dmargolis@google.com =
<mailto:dmargolis@google.com>> wrote:
>>=20
>> What's the complexity you're worried about? Is it mainly that there's =
another switch to flip incorrectly (i.e. inadvertent misconfiguration, =
at a greater risk due to the presence of more configurations) or the =
risk of malicious DoS?
>>=20
>=20
> Checking both is not a good idea. DANE support scenarios like =
self-signed certs, which STS does not.
>=20
> Yes, but if you have a self-signed cert, you aren't going to have an =
STS policy, so that's a different scenario than what we're discussing, =
no?
>=20

Well, both need to work independently as you say below. But I might =
still have an STS policy (using a different, CA-signed cert) where I =
have a self-signed cert for DANE, because I want to support clients who =
only support one or the other. Forcing clients to validate both =
doesn=E2=80=99t seem to be a good idea.

> This is distinct from the first analogy that crossed my mind, which is =
Web browsers who support DANE: in the web browser case, WebPKI is =
essentially the default, so for DANE to work (with self-signed certs) we =
need to be clear that DANE trumps WebPKI. But in the SMTP case the =
default is nothing, so if someone explicitly requests STS or DANE, both =
policies must work independently (or else they're going to be missing =
mail from senders who validate only one or the other).

Yes, but I might prefer that senders use one rather than the other. DANE =
is more flexible in terms of allowing things like self-signed certs, so =
from my point of view, if I=E2=80=99m running a mail server I want =
clients to use DANE if they support both. I don=E2=80=99t want the =
client to make that decision.

Neil

>=20
>=20
>> I think Stephen laid out the trade-offs fairly well. I can see the =
argument for telling recipients that if they already publish a DANE =
record they're probably fine and shouldn't really need an STS policy as =
well. But a "must" seems less helpful to me here; senders who have some =
external limitation that prevents them from implementing DNSSEC then =
must not implement STS? I'd be worried that some larger deployments =
might have trouble with that.
>>=20
>=20
> We=E2=80=99re only talking about what precedence to use for senders =
who support both, not saying that recipients must support both. If =
sender who supports both DANE/DNSSEC and STS encounters a TLSA record it =
MUST honour that, and not use STS. If a sender supporting both only sees =
one or the other, then it=E2=80=99s fine. Senders which only support one =
or the other are also fine.
>=20
> Neil
>=20
>> On Wed, Apr 13, 2016 at 3:43 AM, Viktor Dukhovni =
<ietf-dane@dukhovni.org <mailto:ietf-dane@dukhovni.org>> wrote:
>> On Tue, Apr 12, 2016 at 06:52:31PM +0200, Daniel Margolis wrote:
>>=20
>> > I'm not sure if I'm being stupid here, but what does it mean for =
STS to be
>> > "trumped" by DANE (or the reverse)? Do you mean that if the =
recipient
>> > domain/MX has both STS and DANE you will *only* validate the DANE =
policy?
>>=20
>> Correct.  Trying to enforce both is too complex, and needlessly
>> increases the risk of delivery problems.
>>=20
>> > If we instead said that senders who validate STS must honor STS and =
senders
>> > who validate DANE must honor DANE, is there a conflict?
>>=20
>> That language is either tautological, or unreasonable, if intended
>> to imply that systems capable of both must be willing to apply both
>> concurrently.
>>=20
>> > I would presume that if there is either a DANE failure or an STS =
failure
>> > senders who validate both will treat it as a failure. Introducing a =
concept
>> > of priority strikes me as unnecessary. What am I missing?
>>=20
>> I have no plans to support concurrent evaluation of potentially
>> conflicting policies.  DANE is more robust than STS, given a DANE
>> policy I see no reason to also consider STS policy.
>>=20
>> Of course an administrator will be able to choose which policy
>> applies to a given nexthop, but not enforcement of both.
>>=20
>> --
>>         Viktor.
>>=20
>> _______________________________________________
>> Uta mailing list
>> Uta@ietf.org <mailto:Uta@ietf.org>
>> https://www.ietf.org/mailman/listinfo/uta =
<https://www.ietf.org/mailman/listinfo/uta>
>>=20
>> _______________________________________________
>> Uta mailing list
>> Uta@ietf.org <mailto:Uta@ietf.org>
>> https://www.ietf.org/mailman/listinfo/uta =
<https://www.ietf.org/mailman/listinfo/uta>
>=20
>=20
> _______________________________________________
> Uta mailing list
> Uta@ietf.org <mailto:Uta@ietf.org>
> https://www.ietf.org/mailman/listinfo/uta


--Apple-Mail=_376F54D2-B00C-46E1-B39C-ECB8CF66F962
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=utf-8

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Dutf-8"><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" =
class=3D""><br class=3D""><div class=3D""><blockquote type=3D"cite" =
class=3D""><div class=3D"">On 13 Apr 2016, at 10:04, Daniel Margolis =
&lt;<a href=3D"mailto:dmargolis@google.com" =
class=3D"">dmargolis@google.com</a>&gt; wrote:</div><div class=3D""><div =
dir=3D"ltr" class=3D""><div class=3D""><div class=3D"gmail_extra"><br =
class=3D""><div class=3D"gmail_quote">On Wed, Apr 13, 2016 at 10:40 AM, =
Neil Cook <span dir=3D"ltr" class=3D"">&lt;<a =
href=3D"mailto:neil.cook@noware.co.uk" target=3D"_blank" =
class=3D"">neil.cook@noware.co.uk</a>&gt;</span> wrote:<br =
class=3D""><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 =
.8ex;border-left:1px #ccc solid;padding-left:1ex"><div =
style=3D"word-wrap:break-word" class=3D""><br class=3D""><div =
class=3D""><span class=3D""><blockquote type=3D"cite" class=3D""><div =
class=3D"">On 13 Apr 2016, at 08:48, Daniel Margolis &lt;<a =
href=3D"mailto:dmargolis@google.com" target=3D"_blank" =
class=3D"">dmargolis@google.com</a>&gt; wrote:</div><br class=3D""><div =
class=3D""><div dir=3D"ltr" class=3D""><div class=3D"">What's the =
complexity you're worried about? Is it mainly that there's another =
switch to flip incorrectly (i.e. inadvertent misconfiguration, at a =
greater risk due to the presence of more configurations) or the risk of =
malicious DoS?&nbsp;<br class=3D""></div><div class=3D""><br =
class=3D""></div></div></div></blockquote><div class=3D""><br =
class=3D""></div></span><div class=3D"">Checking both is not a good =
idea. DANE support scenarios like self-signed certs, which STS does =
not.</div></div></div></blockquote><div class=3D""><br =
class=3D""></div><div class=3D"">Yes, but if you have a self-signed =
cert, you aren't going to have an STS policy, so that's a different =
scenario than what we're discussing, no?&nbsp;</div><div class=3D""><br =
class=3D""></div></div></div></div></div></div></blockquote><div =
class=3D""><br class=3D""></div><div class=3D"">Well, both need to work =
independently as you say below. But I might still have an STS policy =
(using a different, CA-signed cert) where I have a self-signed cert for =
DANE, because I want to support clients who only support one or the =
other. Forcing clients to validate both doesn=E2=80=99t seem to be a =
good idea.</div><br class=3D""><blockquote type=3D"cite" class=3D""><div =
class=3D""><div dir=3D"ltr" class=3D""><div class=3D""><div =
class=3D"gmail_extra"><div class=3D"gmail_quote"><div class=3D"">This is =
distinct from the first analogy that crossed my mind, which is Web =
browsers who support DANE: in the web browser case, WebPKI is =
essentially the default, so for DANE to work (with self-signed certs) we =
need to be clear that DANE trumps WebPKI. But in the SMTP case the =
default is nothing, so if someone explicitly requests STS or DANE, both =
policies must work independently (or else they're going to be missing =
mail from senders who validate only one or the =
other).&nbsp;</div></div></div></div></div></div></blockquote><div =
class=3D""><br class=3D""></div><div class=3D"">Yes, but I might prefer =
that senders use one rather than the other. DANE is more flexible in =
terms of allowing things like self-signed certs, so from my point of =
view, if I=E2=80=99m running a mail server I want clients to use DANE if =
they support both. I don=E2=80=99t want the client to make that =
decision.</div><div class=3D""><br class=3D""></div><div =
class=3D"">Neil</div><br class=3D""><blockquote type=3D"cite" =
class=3D""><div class=3D""><div dir=3D"ltr" class=3D""><div =
class=3D""><div class=3D"gmail_extra"><div class=3D"gmail_quote"><div =
class=3D"">&nbsp;</div><blockquote class=3D"gmail_quote" style=3D"margin:0=
 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div =
style=3D"word-wrap:break-word" class=3D""><div class=3D""><span =
class=3D""><br class=3D""><blockquote type=3D"cite" class=3D""><div =
class=3D""><div dir=3D"ltr" class=3D""><div class=3D"">I think Stephen =
laid out the trade-offs fairly well. I can see the argument for telling =
recipients that if they already publish a DANE record they're probably =
fine and shouldn't really need an STS policy as well. But a "must" seems =
less helpful to me here; senders who have some external limitation that =
prevents them from implementing DNSSEC then must not implement STS? I'd =
be worried that some larger deployments might have trouble with =
that.&nbsp;</div><div class=3D""><br =
class=3D""></div></div></div></blockquote><div class=3D""><br =
class=3D""></div></span><div class=3D"">We=E2=80=99re only talking about =
what precedence to use for senders who support both, not saying that =
recipients must support both. If sender who supports both DANE/DNSSEC =
and STS encounters a TLSA record it MUST honour that, and not use STS. =
If a sender supporting both only sees one or the other, then it=E2=80=99s =
fine. Senders which only support one or the other are also =
fine.</div><span class=3D"HOEnZb"><font color=3D"#888888" class=3D""><div =
class=3D""><br class=3D""></div><div =
class=3D"">Neil</div></font></span><div class=3D""><div class=3D"h5"><div =
class=3D""><br class=3D""></div><blockquote type=3D"cite" class=3D""><div =
class=3D""><div dir=3D"ltr" class=3D""><div class=3D""><div =
class=3D""><div class=3D"gmail_extra"><div class=3D"gmail_quote">On Wed, =
Apr 13, 2016 at 3:43 AM, Viktor Dukhovni <span dir=3D"ltr" =
class=3D"">&lt;<a href=3D"mailto:ietf-dane@dukhovni.org" target=3D"_blank"=
 class=3D"">ietf-dane@dukhovni.org</a>&gt;</span> wrote:<br =
class=3D""><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 =
.8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=3D"">On =
Tue, Apr 12, 2016 at 06:52:31PM +0200, Daniel Margolis wrote:<br =
class=3D"">
<br class=3D"">
&gt; I'm not sure if I'm being stupid here, but what does it mean for =
STS to be<br class=3D"">
&gt; "trumped" by DANE (or the reverse)? Do you mean that if the =
recipient<br class=3D"">
&gt; domain/MX has both STS and DANE you will *only* validate the DANE =
policy?<br class=3D"">
<br class=3D"">
</span>Correct.&nbsp; Trying to enforce both is too complex, and =
needlessly<br class=3D"">
increases the risk of delivery problems.<br class=3D"">
<span class=3D""><br class=3D"">
&gt; If we instead said that senders who validate STS must honor STS and =
senders<br class=3D"">
&gt; who validate DANE must honor DANE, is there a conflict?<br =
class=3D"">
<br class=3D"">
</span>That language is either tautological, or unreasonable, if =
intended<br class=3D"">
to imply that systems capable of both must be willing to apply both<br =
class=3D"">
concurrently.<br class=3D"">
<span class=3D""><br class=3D"">
&gt; I would presume that if there is either a DANE failure or an STS =
failure<br class=3D"">
&gt; senders who validate both will treat it as a failure. Introducing a =
concept<br class=3D"">
&gt; of priority strikes me as unnecessary. What am I missing?<br =
class=3D"">
<br class=3D"">
</span>I have no plans to support concurrent evaluation of =
potentially<br class=3D"">
conflicting policies.&nbsp; DANE is more robust than STS, given a =
DANE<br class=3D"">
policy I see no reason to also consider STS policy.<br class=3D"">
<br class=3D"">
Of course an administrator will be able to choose which policy<br =
class=3D"">
applies to a given nexthop, but not enforcement of both.<br class=3D"">
<div class=3D""><div class=3D""><br class=3D"">
--<br class=3D"">
&nbsp; &nbsp; &nbsp; &nbsp; Viktor.<br class=3D"">
<br class=3D"">
_______________________________________________<br class=3D"">
Uta mailing list<br class=3D"">
<a href=3D"mailto:Uta@ietf.org" target=3D"_blank" =
class=3D"">Uta@ietf.org</a><br class=3D"">
<a href=3D"https://www.ietf.org/mailman/listinfo/uta" rel=3D"noreferrer" =
target=3D"_blank" =
class=3D"">https://www.ietf.org/mailman/listinfo/uta</a><br class=3D"">
</div></div></blockquote></div><br class=3D""></div></div></div></div>
_______________________________________________<br class=3D"">Uta =
mailing list<br class=3D""><a href=3D"mailto:Uta@ietf.org" =
target=3D"_blank" class=3D"">Uta@ietf.org</a><br class=3D""><a =
href=3D"https://www.ietf.org/mailman/listinfo/uta" target=3D"_blank" =
class=3D"">https://www.ietf.org/mailman/listinfo/uta</a><br =
class=3D""></div></blockquote></div></div></div><br =
class=3D""></div></blockquote></div><br class=3D""></div></div></div>
_______________________________________________<br class=3D"">Uta =
mailing list<br class=3D""><a href=3D"mailto:Uta@ietf.org" =
class=3D"">Uta@ietf.org</a><br class=3D""><a =
href=3D"https://www.ietf.org/mailman/listinfo/uta" =
class=3D"">https://www.ietf.org/mailman/listinfo/uta</a><br =
class=3D""></div></blockquote></div><br class=3D""></body></html>=

--Apple-Mail=_376F54D2-B00C-46E1-B39C-ECB8CF66F962--

--Apple-Mail=_50DC278C-E7D2-409D-82F0-C5B7BE1628FB
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org

iQEcBAEBCAAGBQJXDhKdAAoJEKo+hxOLIhYn9JQH/1/p1xBmK3kzNTZRZSUc0fHP
JwNRCA/EQUKsXevT5WAgWf2KlkiT1Nli9TuHUSEIGqKAsMM/QkhfpBXVEIo7bJbN
B8EdeA/CMb7YX4UjO5MSVfmcyq1AN/WH8BQ6qRoJKFDj1tz5aXKayj6ErejgCgZI
fHjSOSS29LsDwzCa4TRcGdg4apet4sIx7d7fcPKPyKcBAEv8Cjc2N+7ZtZubEt0H
yM16rGDtmuEZuHzdHlatUKbiownFcDyTxtjzDtr8v7oHIvS8mhTs8QoW23DVMvzC
KlwBouPABp4B38p7I6UKrAYeQP5uWsmJRgQd4yo+e3pbiT1ftovhoYMZV0crToE=
=yhzp
-----END PGP SIGNATURE-----

--Apple-Mail=_50DC278C-E7D2-409D-82F0-C5B7BE1628FB--


From nobody Wed Apr 13 02:38:40 2016
Return-Path: <dmargolis@google.com>
X-Original-To: uta@ietfa.amsl.com
Delivered-To: uta@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B412212DB59 for <uta@ietfa.amsl.com>; Wed, 13 Apr 2016 02:38:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.696
X-Spam-Level: 
X-Spam-Status: No, score=-3.696 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RP_MATCHES_RCVD=-0.996, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=google.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 I6i2G-HFo9Kg for <uta@ietfa.amsl.com>; Wed, 13 Apr 2016 02:38:36 -0700 (PDT)
Received: from mail-ig0-x22a.google.com (mail-ig0-x22a.google.com [IPv6:2607:f8b0:4001:c05::22a]) (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 A2F5A12DAD1 for <uta@ietf.org>; Wed, 13 Apr 2016 02:38:36 -0700 (PDT)
Received: by mail-ig0-x22a.google.com with SMTP id gy3so121118194igb.1 for <uta@ietf.org>; Wed, 13 Apr 2016 02:38:36 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=4uFBcJmBvdn7UBTA6bklcmOeM/sS8ZwsEfGZL/fpkXw=; b=AjdjqMXzqTSNEPBFZI5HUDnZu1POD+/b9ZrZa7aDiBu2CJrGhFZHRjXSQMlMh7PzQe Wi3yaoGQFD2qRagmRPWPf+2qbdFvNrtxPND9fODXYzKVM4LZuN7LFw9rOzocg4b9F4zQ 5M3dNb4zzKQlgM+OV9KVMGqs0cBJyX+VOvXazJm6Vkc731dh2ufnh7DiSCzYnITBsWWF qUD8Mwj/mjo4wQa8KkPRin8N11oSqeKQ9hA9tkZaoaMfMjQ+BWfHQ+Mkn0AJhNi9+E+8 KHrbOSs2m4P+RSAXmUyq15Am3ZtKhWKFwQqgwo0sUbN/bV+TSItixcYTjZ3Iz+irrjKg UJ3w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=4uFBcJmBvdn7UBTA6bklcmOeM/sS8ZwsEfGZL/fpkXw=; b=Y0j0bkrW+ZmBr+rXXW0rYNSCaC5MH4fpvrp3YRhOUDNn8zm+CMpn8uk8T/soUSPray 0iEGoz0W6azBXg5NgU0negYnu5jbrj/io7vtgRanUC/qU4oV7AKX6S1xIx1H4KqlbPh0 UutpZMyWC8Iypdv+xSwRUgghIO4J4E+/aVmc/7H3rwQI5fiv96sI8LpMgyrCKxIy1FUA bcSeS4yoUxMS+kKFmwEPlg6O17cYFAQZRkKUVwGMKIbbozyS7yZ6s+Z1TZ0jb347bxl5 p9QqX0CuV+dfD/8ceXuQ+E4lfX+3Rp5KHZPKf7X66flahLSkjAJQBuN6CS007gSrepc7 DM4g==
X-Gm-Message-State: AOPr4FWIKbUxN9rp9Z9oX3wfCBKnmdJWkcLnD6Z53cno/yhxI7nyyWdBU9wKuYJYizjlBODYOuKDpa8HWDYOA74e
MIME-Version: 1.0
X-Received: by 10.50.249.20 with SMTP id yq20mr9241345igc.35.1460540315850; Wed, 13 Apr 2016 02:38:35 -0700 (PDT)
Received: by 10.64.91.226 with HTTP; Wed, 13 Apr 2016 02:38:35 -0700 (PDT)
In-Reply-To: <96AFF4DD-A934-4C92-A72E-AF729CE053D7@noware.co.uk>
References: <570C0CD2.9030401@cs.tcd.ie> <20160411212128.GA26423@mournblade.imrryr.org> <CANtKdUekXNkVvsfq0UjCiaaPVBgoVGfrfnYUrdoOf0EegXMuPg@mail.gmail.com> <20160413014304.GB26423@mournblade.imrryr.org> <CANtKdUf0kN5aOmX0-NsyQXz_+PRGfaXa37DFZoCX3FqdYh5CpA@mail.gmail.com> <5249C8ED-CACD-4765-909E-CB8EB218BF10@noware.co.uk> <CANtKdUctfEKuQAscMkt_A5wcA84Z4y3L4KvcsxVd2Qb0NRBtgw@mail.gmail.com> <96AFF4DD-A934-4C92-A72E-AF729CE053D7@noware.co.uk>
Date: Wed, 13 Apr 2016 11:38:35 +0200
Message-ID: <CANtKdUcvhE+xxXtrRFgS0gcEE=8qLyPea5BpdLkv2DYmt9BHww@mail.gmail.com>
From: Daniel Margolis <dmargolis@google.com>
To: Neil Cook <neil.cook@noware.co.uk>
Content-Type: multipart/alternative; boundary=f46d042875bfb553da05305a8a68
Archived-At: <http://mailarchive.ietf.org/arch/msg/uta/19BkCHBoZP_TVjmUMeX0yXfrjVg>
Cc: uta@ietf.org
Subject: Re: [Uta] "webby" STS and DANE/DNSSEC co-existence
X-BeenThere: uta@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: UTA working group mailing list <uta.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/uta>, <mailto:uta-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/uta/>
List-Post: <mailto:uta@ietf.org>
List-Help: <mailto:uta-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/uta>, <mailto:uta-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 13 Apr 2016 09:38:38 -0000

--f46d042875bfb553da05305a8a68
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On Wed, Apr 13, 2016 at 11:34 AM, Neil Cook <neil.cook@noware.co.uk> wrote:

> Well, both need to work independently as you say below. But I might still
> have an STS policy (using a different, CA-signed cert) where I have a
> self-signed cert for DANE, because I want to support clients who only
> support one or the other. Forcing clients to validate both doesn=E2=80=99=
t seem to
> be a good idea.
>

I don't really understand how you would do this, though. Wouldn't this
necessitate having different MX records (some of which have matching TLSA
records and serve self-signed certs but aren't included in the STS policy,
and some of which are in the STS policy and have CA-signed certs) and
counting on sending MTAs falling back to the subset of (from their
perspective) valid MXs?

I'm just trying to understand the setup here a bit better.

--f46d042875bfb553da05305a8a68
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_extra"><br><div class=3D"gmail_quote">=
On Wed, Apr 13, 2016 at 11:34 AM, Neil Cook <span dir=3D"ltr">&lt;<a href=
=3D"mailto:neil.cook@noware.co.uk" target=3D"_blank">neil.cook@noware.co.uk=
</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin=
:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>Well, both ne=
ed to work independently as you say below. But I might still have an STS po=
licy (using a different, CA-signed cert) where I have a self-signed cert fo=
r DANE, because I want to support clients who only support one or the other=
. Forcing clients to validate both doesn=E2=80=99t seem to be a good idea.<=
/div><span class=3D""></span></blockquote></div><br>I don&#39;t really unde=
rstand how you would do this, though. Wouldn&#39;t this necessitate having =
different MX records (some of which have matching TLSA records and serve se=
lf-signed certs but aren&#39;t included in the STS policy, and some of whic=
h are in the STS policy and have CA-signed certs) and counting on sending M=
TAs falling back to the subset of (from their perspective) valid MXs?=C2=A0=
</div><div class=3D"gmail_extra"><br></div><div class=3D"gmail_extra">I&#39=
;m just trying to understand the setup here a bit better.</div></div>

--f46d042875bfb553da05305a8a68--


From nobody Wed Apr 13 02:59:11 2016
Return-Path: <neil.cook@noware.co.uk>
X-Original-To: uta@ietfa.amsl.com
Delivered-To: uta@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7807112DBEE for <uta@ietfa.amsl.com>; Wed, 13 Apr 2016 02:59:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.895
X-Spam-Level: 
X-Spam-Status: No, score=-2.895 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RP_MATCHES_RCVD=-0.996] 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 k32NN5wHmxmy for <uta@ietfa.amsl.com>; Wed, 13 Apr 2016 02:59:08 -0700 (PDT)
Received: from mail.noware.co.uk (mail.noware.co.uk [192.241.243.54]) by ietfa.amsl.com (Postfix) with ESMTP id 8B7AD12D582 for <uta@ietf.org>; Wed, 13 Apr 2016 02:59:08 -0700 (PDT)
Received: from neil-cook-mbp.home (unknown [86.153.224.89]) by mail.noware.co.uk (Postfix) with ESMTPSA id 130B01C2B59; Wed, 13 Apr 2016 09:59:06 +0000 (UTC)
Mime-Version: 1.0 (Mac OS X Mail 9.2 \(3112\))
Content-Type: multipart/signed; boundary="Apple-Mail=_9E91058D-DBF9-43E3-A8D1-7D12FF5F56A3"; protocol="application/pgp-signature"; micalg=pgp-sha256
X-Pgp-Agent: GPGMail 2.6b2
From: Neil Cook <neil.cook@noware.co.uk>
In-Reply-To: <CANtKdUcvhE+xxXtrRFgS0gcEE=8qLyPea5BpdLkv2DYmt9BHww@mail.gmail.com>
Date: Wed, 13 Apr 2016 10:59:06 +0100
Message-Id: <A41EBA6F-D988-491B-A436-C7D3EE2018C1@noware.co.uk>
References: <570C0CD2.9030401@cs.tcd.ie> <20160411212128.GA26423@mournblade.imrryr.org> <CANtKdUekXNkVvsfq0UjCiaaPVBgoVGfrfnYUrdoOf0EegXMuPg@mail.gmail.com> <20160413014304.GB26423@mournblade.imrryr.org> <CANtKdUf0kN5aOmX0-NsyQXz_+PRGfaXa37DFZoCX3FqdYh5CpA@mail.gmail.com> <5249C8ED-CACD-4765-909E-CB8EB218BF10@noware.co.uk> <CANtKdUctfEKuQAscMkt_A5wcA84Z4y3L4KvcsxVd2Qb0NRBtgw@mail.gmail.com> <96AFF4DD-A934-4C92-A72E-AF729CE053D7@noware.co.uk> <CANtKdUcvhE+xxXtrRFgS0gcEE=8qLyPea5BpdLkv2DYmt9BHww@mail.gmail.com>
To: Daniel Margolis <dmargolis@google.com>
X-Mailer: Apple Mail (2.3112)
X-CMAE-Score: 0
X-CMAE-Analysis: v=2.1 cv=TdMYtHgh c=1 sm=1 tr=0 a=xfdXm1iLTETJF5zWIHVl8g==:117 a=xfdXm1iLTETJF5zWIHVl8g==:17 a=L9H7d07YOLsA:10:nop_no_from_header a=9cW_t1CCXrUA:10:nop_no_to_header a=s5jvgZ67dGcA:10:nop_no_subject_header a=1XWaLZrsAAAA:8 a=D2AyyhpcAAAA:8 a=-u1ENcOADcrXOuLihYMA:9 a=SKojxcxMFLIuxdvK:21 a=F5yx9e_sw32XssCw:21 a=QEXdDO2ut3YA:10:nop_charset_2 a=U4bUSx9Sv8vJMbumdgYA:9 a=qoPlM4c5uArNB27M:21 a=Hb1Nkaq-KW3K0ujM:21 a=zqMG_dBFTKWcTdBD:21 a=_W_S_7VecoQA:10:nop_html a=o6HtvRefxuz0P7z49vEA:9
Archived-At: <http://mailarchive.ietf.org/arch/msg/uta/Si_wWJ0ZtlVrArUJaOiI5o12iIM>
Cc: uta@ietf.org
Subject: Re: [Uta] "webby" STS and DANE/DNSSEC co-existence
X-BeenThere: uta@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: UTA working group mailing list <uta.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/uta>, <mailto:uta-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/uta/>
List-Post: <mailto:uta@ietf.org>
List-Help: <mailto:uta-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/uta>, <mailto:uta-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 13 Apr 2016 09:59:10 -0000

--Apple-Mail=_9E91058D-DBF9-43E3-A8D1-7D12FF5F56A3
Content-Type: multipart/alternative;
	boundary="Apple-Mail=_C157A440-A83D-4145-ABC2-1EBCE48C3791"


--Apple-Mail=_C157A440-A83D-4145-ABC2-1EBCE48C3791
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8


> On 13 Apr 2016, at 10:38, Daniel Margolis <dmargolis@google.com> =
wrote:
>=20
>=20
> On Wed, Apr 13, 2016 at 11:34 AM, Neil Cook <neil.cook@noware.co.uk =
<mailto:neil.cook@noware.co.uk>> wrote:
> Well, both need to work independently as you say below. But I might =
still have an STS policy (using a different, CA-signed cert) where I =
have a self-signed cert for DANE, because I want to support clients who =
only support one or the other. Forcing clients to validate both =
doesn=E2=80=99t seem to be a good idea.
>=20
> I don't really understand how you would do this, though. Wouldn't this =
necessitate having different MX records (some of which have matching =
TLSA records and serve self-signed certs but aren't included in the STS =
policy, and some of which are in the STS policy and have CA-signed =
certs) and counting on sending MTAs falling back to the subset of (from =
their perspective) valid MXs?
>=20
> I'm just trying to understand the setup here a bit better.

Yeah, that would suck. I didn=E2=80=99t think enough about how you would =
make this work practically.

However this does bring up a good point - if I want to support STS *and* =
DANE as a receiver, and have a homogeneous MX/MTA setup, i.e. not =
something like the above, I would have to support the common subset of =
both specifications, at least as far as MTA configuration is concerned, =
e.g. no self-signed certs. That is a consequence we haven=E2=80=99t =
discussed before.

Neil


--Apple-Mail=_C157A440-A83D-4145-ABC2-1EBCE48C3791
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=utf-8

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" =
class=3D""><br class=3D""><div><blockquote type=3D"cite" class=3D""><div =
class=3D"">On 13 Apr 2016, at 10:38, Daniel Margolis &lt;<a =
href=3D"mailto:dmargolis@google.com" =
class=3D"">dmargolis@google.com</a>&gt; wrote:</div><br =
class=3D"Apple-interchange-newline"><div class=3D""><div dir=3D"ltr" =
class=3D""><div class=3D"gmail_extra"><br class=3D""><div =
class=3D"gmail_quote">On Wed, Apr 13, 2016 at 11:34 AM, Neil Cook <span =
dir=3D"ltr" class=3D"">&lt;<a href=3D"mailto:neil.cook@noware.co.uk" =
target=3D"_blank" class=3D"">neil.cook@noware.co.uk</a>&gt;</span> =
wrote:<br class=3D""><blockquote class=3D"gmail_quote" style=3D"margin:0 =
0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div =
class=3D"">Well, both need to work independently as you say below. But I =
might still have an STS policy (using a different, CA-signed cert) where =
I have a self-signed cert for DANE, because I want to support clients =
who only support one or the other. Forcing clients to validate both =
doesn=E2=80=99t seem to be a good idea.</div><span =
class=3D""></span></blockquote></div><br class=3D"">I don't really =
understand how you would do this, though. Wouldn't this necessitate =
having different MX records (some of which have matching TLSA records =
and serve self-signed certs but aren't included in the STS policy, and =
some of which are in the STS policy and have CA-signed certs) and =
counting on sending MTAs falling back to the subset of (from their =
perspective) valid MXs?&nbsp;</div><div class=3D"gmail_extra"><br =
class=3D""></div><div class=3D"gmail_extra">I'm just trying to =
understand the setup here a bit better.</div></div>
</div></blockquote><div><br class=3D""></div><div>Yeah, that would suck. =
I didn=E2=80=99t think enough about how you would make this work =
practically.</div><div><br class=3D""></div><div>However this does bring =
up a good point - if I want to support STS *and* DANE as a receiver, and =
have a homogeneous MX/MTA setup, i.e. not something like the above, I =
would have to support the common subset of both specifications, at least =
as far as MTA configuration is concerned, e.g. no self-signed certs. =
That is a consequence we haven=E2=80=99t discussed =
before.</div></div><br class=3D""><div class=3D"">Neil</div><div =
class=3D""><br class=3D""></div></body></html>=

--Apple-Mail=_C157A440-A83D-4145-ABC2-1EBCE48C3791--

--Apple-Mail=_9E91058D-DBF9-43E3-A8D1-7D12FF5F56A3
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org

iQEcBAEBCAAGBQJXDhhqAAoJEKo+hxOLIhYnNR4H/2z0I4Q4LeSpWOEaZSQR4ueZ
Q5eoROA8Ef0PXWYIKr4zBcuPs2drtVScOdGsXeI3hnb/FRinp31CU+OkuQIb8A17
hCw+2WSgp2zpic3y4nmB9P7ssVu6zDcAHMDDm+foqohER2IepyqLOmPSR6Qk2+EB
zPK8nYnGhFtQrTuE+v4srIg6mt0qEBNHouJvVJZxeQfwnqhIGokModBchBOarmNd
KxyOWfA5yOFE1J8edeQ9jwCtoaICNepiGjOagn8R3jV0wB/CZxcEzBn13yfqedNF
C9bR9lQ9rqehZ21UnQJPiQlRjRORsy1KPBKnU+SmOLkn4NcWf5guA7JxWyNenqU=
=N8+k
-----END PGP SIGNATURE-----

--Apple-Mail=_9E91058D-DBF9-43E3-A8D1-7D12FF5F56A3--


From nobody Wed Apr 13 10:44:16 2016
Return-Path: <chris.newman@oracle.com>
X-Original-To: uta@ietfa.amsl.com
Delivered-To: uta@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6B8ED12DFDB for <uta@ietfa.amsl.com>; Wed, 13 Apr 2016 10:44:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.197
X-Spam-Level: 
X-Spam-Status: No, score=-5.197 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, RP_MATCHES_RCVD=-0.996, SPF_PASS=-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 1yESi-73aaTB for <uta@ietfa.amsl.com>; Wed, 13 Apr 2016 10:44:12 -0700 (PDT)
Received: from aserp1040.oracle.com (aserp1040.oracle.com [141.146.126.69]) (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 7FF0112DE22 for <uta@ietf.org>; Wed, 13 Apr 2016 10:44:12 -0700 (PDT)
Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id u3DHiAg1021927 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 13 Apr 2016 17:44:11 GMT
Received: from gotmail.us.oracle.com (gotmail.us.oracle.com [10.133.152.174]) by userv0022.oracle.com (8.14.4/8.13.8) with ESMTP id u3DHiAcM022941;  Wed, 13 Apr 2016 17:44:10 GMT
MIME-version: 1.0
Content-type: multipart/alternative; boundary="Boundary_(ID_qKG0M5fnGq2Gl+514E1Sng)"
Received: from jcaps-rd2.us.oracle.com (jcaps-rd2.us.oracle.com [10.145.239.107]) by gotmail.us.oracle.com (Oracle Communications Messaging Server 8.0.0.0.0 64bit (built Mar 19 2015)) with ESMTPSA id <0O5L00F362KKTT00@gotmail.us.oracle.com>; Wed, 13 Apr 2016 10:43:46 -0700 (PDT)
Date: Wed, 13 Apr 2016 10:43:31 -0700
From: Chris Newman <chris.newman@oracle.com>
To: Daniel Margolis <dmargolis@google.com>, uta@ietf.org
Message-id: <etPan.570e8549.3d8c14b4.1614d@jcaps-rd2.us.oracle.com>
In-reply-to: <CANtKdUf0kN5aOmX0-NsyQXz_+PRGfaXa37DFZoCX3FqdYh5CpA@mail.gmail.com>
References: <570C0CD2.9030401@cs.tcd.ie> <20160411212128.GA26423@mournblade.imrryr.org> <CANtKdUekXNkVvsfq0UjCiaaPVBgoVGfrfnYUrdoOf0EegXMuPg@mail.gmail.com> <20160413014304.GB26423@mournblade.imrryr.org> <CANtKdUf0kN5aOmX0-NsyQXz_+PRGfaXa37DFZoCX3FqdYh5CpA@mail.gmail.com>
X-Mailer: Airmail (351)
X-Source-IP: userv0022.oracle.com [156.151.31.74]
Archived-At: <http://mailarchive.ietf.org/arch/msg/uta/QD1mopF45Gnfcfz7w7QyoLCRhtE>
Subject: Re: [Uta] "webby" STS and DANE/DNSSEC co-existence
X-BeenThere: uta@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: UTA working group mailing list <uta.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/uta>, <mailto:uta-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/uta/>
List-Post: <mailto:uta@ietf.org>
List-Help: <mailto:uta-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/uta>, <mailto:uta-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 13 Apr 2016 17:44:15 -0000

--Boundary_(ID_qKG0M5fnGq2Gl+514E1Sng)
Content-type: text/plain; charset=utf-8
Content-transfer-encoding: quoted-printable
Content-disposition: inline

DANE is merely one method of validating a certificate, there can also be =
SMTP policy orthogonal to DANE. Take for example, DEEP=E2=80=99s =E2=80=9C=
tls11=E2=80=9D and =E2=80=9Ctls12=E2=80=9D directives. Those specify a mi=
nimum acceptable version of TLS for future connections. Although we haven=
=E2=80=99t debated yet whether to include those in SMTP relay policy, I t=
hink it would make sense to include those directives, particularly given =
the problems we=E2=80=99ve seen with old versions of TLS causing real sec=
urity problems. And there may be future policy directives we want that ar=
e even more compelling. So the question is where to put SMTP relay securi=
ty policy that is orthogonal to DANE. Seems like wherever we choose to pu=
t the policy for SMTP relay STS (whether in a DNSSEC-protected DNS record=
, HTTPS well-known or SMTP+STARTTLS), that=E2=80=99s where we should alwa=
ys look for SMTP relay policy.

		- Chris
On April 12, 2016 at 17:48:25 , Daniel Margolis (dmargolis=40google.com) =
wrote:

What's the complexity you're worried about=3F Is it mainly that there's a=
nother switch to flip incorrectly (i.e. inadvertent misconfiguration, at =
a greater risk due to the presence of more configurations) or the risk of=
 malicious DoS=3F=C2=A0

I think Stephen laid out the trade-offs fairly well. I can see the argume=
nt for telling recipients that if they already publish a DANE record they=
're probably fine and shouldn't really need an STS policy as well. But a =
=22must=22 seems less helpful to me here; senders who have some external =
limitation that prevents them from implementing DNSSEC then must not impl=
ement STS=3F I'd be worried that some larger deployments might have troub=
le with that.=C2=A0

On Wed, Apr 13, 2016 at 3:43 AM, Viktor Dukhovni <ietf-dane=40dukhovni.or=
g> wrote:
On Tue, Apr 12, 2016 at 06:52:31PM +0200, Daniel Margolis wrote:

> I'm not sure if I'm being stupid here, but what does it mean for STS to=
 be
> =22trumped=22 by DANE (or the reverse)=3F Do you mean that if the recip=
ient
> domain/MX has both STS and DANE you will *only* validate the DANE polic=
y=3F

Correct.=C2=A0 Trying to enforce both is too complex, and needlessly
increases the risk of delivery problems.

> If we instead said that senders who validate STS must honor STS and sen=
ders
> who validate DANE must honor DANE, is there a conflict=3F

That language is either tautological, or unreasonable, if intended
to imply that systems capable of both must be willing to apply both
concurrently.

> I would presume that if there is either a DANE failure or an STS failur=
e
> senders who validate both will treat it as a failure. Introducing a con=
cept
> of priority strikes me as unnecessary. What am I missing=3F

I have no plans to support concurrent evaluation of potentially
conflicting policies.=C2=A0 DANE is more robust than STS, given a DANE
policy I see no reason to also consider STS policy.

Of course an administrator will be able to choose which policy
applies to a given nexthop, but not enforcement of both.

--
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Viktor.

=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F
Uta mailing list
Uta=40ietf.org
https://www.ietf.org/mailman/listinfo/uta

=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F =20
Uta mailing list =20
Uta=40ietf.org =20
https://www.ietf.org/mailman/listinfo/uta =20

--Boundary_(ID_qKG0M5fnGq2Gl+514E1Sng)
Content-type: text/html; charset=utf-8
Content-transfer-encoding: quoted-printable
Content-disposition: inline

<html><head><style>body=7Bfont-family:Helvetica,Arial;font-size:13px=7D</=
style></head><body style=3D=22word-wrap: break-word; -webkit-nbsp-mode: s=
pace; -webkit-line-break: after-white-space;=22><div id=3D=22bloop=5Fcust=
omfont=22 style=3D=22font-family:Helvetica,Arial;font-size:13px; color: r=
gba(0,0,0,1.0); margin: 0px; line-height: auto;=22>DANE is merely one met=
hod of validating a certificate, there can also be SMTP policy orthogonal=
 to DANE. Take for example, DEEP=E2=80=99s =E2=80=9Ctls11=E2=80=9D and =E2=
=80=9Ctls12=E2=80=9D directives. Those specify a minimum acceptable versi=
on of TLS for future connections. Although we haven=E2=80=99t debated yet=
 whether to include those in SMTP relay policy, I think it would make sen=
se to include those directives, particularly given the problems we=E2=80=99=
ve seen with old versions of TLS causing real security problems. And ther=
e may be future policy directives we want that are even more compelling. =
So the question is where to put SMTP relay security policy that is orthog=
onal to DANE. Seems like wherever we choose to put the policy for SMTP re=
lay STS (whether in a DNSSEC-protected DNS record, HTTPS well-known or SM=
TP+STARTTLS), that=E2=80=99s where we should always look for SMTP relay p=
olicy.</div><div id=3D=22bloop=5Fcustomfont=22 style=3D=22font-family:Hel=
vetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-he=
ight: auto;=22><br></div><div id=3D=22bloop=5Fcustomfont=22 style=3D=22fo=
nt-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin:=
 0px; line-height: auto;=22><span class=3D=22Apple-tab-span=22 style=3D=22=
white-space:pre=22>		</span>- Chris</div><p class=3D=22airmail=5Fon=22>On=
 April 12, 2016 at 17:48:25 , Daniel Margolis (<a href=3D=22mailto:dmargo=
lis=40google.com=22>dmargolis=40google.com</a>) wrote:</p> <blockquote ty=
pe=3D=22cite=22 class=3D=22clean=5Fbq=22><span><div><div></div><div>



<title></title>


<div dir=3D=22ltr=22>
<div>What's the complexity you're worried about=3F Is it mainly that
there's another switch to flip incorrectly (i.e. inadvertent
misconfiguration, at a greater risk due to the presence of more
configurations) or the risk of malicious DoS=3F&nbsp;<br></div>
<div><br></div>
<div>I think Stephen laid out the trade-offs fairly well. I can see
the argument for telling recipients that if they already publish a
DANE record they're probably fine and shouldn't really need an STS
policy as well. But a =22must=22 seems less helpful to me here; senders
who have some external limitation that prevents them from
implementing DNSSEC then must not implement STS=3F I'd be worried
that some larger deployments might have trouble with
that.&nbsp;</div>
<div><br></div>
<div>
<div>
<div class=3D=22gmail=5Fextra=22>
<div class=3D=22gmail=5Fquote=22>On Wed, Apr 13, 2016 at 3:43 AM, Viktor
Dukhovni <span dir=3D=22ltr=22>&lt;<a href=3D=22mailto:ietf-dane=40dukhov=
ni.org=22 target=3D=22=5Fblank=22>ietf-dane=40dukhovni.org</a>&gt;</span>=
 wrote:<br>
<blockquote class=3D=22gmail=5Fquote=22 style=3D=22margin:0 0 0 .8ex;bord=
er-left:1px =23ccc solid;padding-left:1ex=22>
<span class=3D=22=22>On Tue, Apr 12, 2016 at 06:52:31PM +0200, Daniel
Margolis wrote:<br>
<br>
&gt; I'm not sure if I'm being stupid here, but what does it mean
for STS to be<br>
&gt; =22trumped=22 by DANE (or the reverse)=3F Do you mean that if the
recipient<br>
&gt; domain/MX has both STS and DANE you will *only* validate the
DANE policy=3F<br>
<br></span>Correct.&nbsp; Trying to enforce both is too complex,
and needlessly<br>
increases the risk of delivery problems.<br>
<span class=3D=22=22><br>
&gt; If we instead said that senders who validate STS must honor
STS and senders<br>
&gt; who validate DANE must honor DANE, is there a conflict=3F<br>
<br></span>That language is either tautological, or unreasonable,
if intended<br>
to imply that systems capable of both must be willing to apply
both<br>
concurrently.<br>
<span class=3D=22=22><br>
&gt; I would presume that if there is either a DANE failure or an
STS failure<br>
&gt; senders who validate both will treat it as a failure.
Introducing a concept<br>
&gt; of priority strikes me as unnecessary. What am I
missing=3F<br>
<br></span>I have no plans to support concurrent evaluation of
potentially<br>
conflicting policies.&nbsp; DANE is more robust than STS, given a
DANE<br>
policy I see no reason to also consider STS policy.<br>
<br>
Of course an administrator will be able to choose which
policy<br>
applies to a given nexthop, but not enforcement of both.<br>
<div class=3D=22HOEnZb=22>
<div class=3D=22h5=22><br>
--<br>
&nbsp; &nbsp; &nbsp; &nbsp; Viktor.<br>
<br>
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F<br>
Uta mailing list<br>
<a href=3D=22mailto:Uta=40ietf.org=22>Uta=40ietf.org</a><br>
<a href=3D=22https://www.ietf.org/mailman/listinfo/uta=22 rel=3D=22norefe=
rrer=22 target=3D=22=5Fblank=22>https://www.ietf.org/mailman/listinfo/uta=
</a><br></div>
</div>
</blockquote>
</div>
<br></div>
</div>
</div>
</div>


=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F
<br>Uta mailing list
<br>Uta=40ietf.org
<br>https://www.ietf.org/mailman/listinfo/uta
<br></div></div></span></blockquote> <div id=3D=22bloop=5Fsign=5F14605688=
34734002176=22 class=3D=22bloop=5Fsign=22></div></body></html>=

--Boundary_(ID_qKG0M5fnGq2Gl+514E1Sng)--


From nobody Wed Apr 13 12:03:50 2016
Return-Path: <ietf-dane@dukhovni.org>
X-Original-To: uta@ietfa.amsl.com
Delivered-To: uta@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C1A4212D732 for <uta@ietfa.amsl.com>; Wed, 13 Apr 2016 12:03:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001] 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 ZUUrlF3JrZAO for <uta@ietfa.amsl.com>; Wed, 13 Apr 2016 12:03:47 -0700 (PDT)
Received: from mournblade.imrryr.org (mournblade.imrryr.org [38.117.134.19]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0ABDB12D658 for <uta@ietf.org>; Wed, 13 Apr 2016 12:03:46 -0700 (PDT)
Received: by mournblade.imrryr.org (Postfix, from userid 1034) id E56EF284DEF; Wed, 13 Apr 2016 19:03:45 +0000 (UTC)
Date: Wed, 13 Apr 2016 19:03:45 +0000
From: Viktor Dukhovni <ietf-dane@dukhovni.org>
To: uta@ietf.org
Message-ID: <20160413190345.GE26423@mournblade.imrryr.org>
References: <570C0CD2.9030401@cs.tcd.ie> <20160411212128.GA26423@mournblade.imrryr.org> <CANtKdUekXNkVvsfq0UjCiaaPVBgoVGfrfnYUrdoOf0EegXMuPg@mail.gmail.com> <20160413014304.GB26423@mournblade.imrryr.org> <CANtKdUf0kN5aOmX0-NsyQXz_+PRGfaXa37DFZoCX3FqdYh5CpA@mail.gmail.com> <5249C8ED-CACD-4765-909E-CB8EB218BF10@noware.co.uk> <CANtKdUctfEKuQAscMkt_A5wcA84Z4y3L4KvcsxVd2Qb0NRBtgw@mail.gmail.com> <96AFF4DD-A934-4C92-A72E-AF729CE053D7@noware.co.uk>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <96AFF4DD-A934-4C92-A72E-AF729CE053D7@noware.co.uk>
User-Agent: Mutt/1.5.24 (2015-08-30)
Archived-At: <http://mailarchive.ietf.org/arch/msg/uta/Oskl9FmuCck8oKfUykuYi0-o0To>
Subject: Re: [Uta] "webby" STS and DANE/DNSSEC co-existence
X-BeenThere: uta@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
Reply-To: uta@ietf.org
List-Id: UTA working group mailing list <uta.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/uta>, <mailto:uta-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/uta/>
List-Post: <mailto:uta@ietf.org>
List-Help: <mailto:uta-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/uta>, <mailto:uta-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 13 Apr 2016 19:03:49 -0000

On Wed, Apr 13, 2016 at 10:34:20AM +0100, Neil Cook wrote:

> > Yes, but if you have a self-signed cert, you aren't going to have an
> > STS policy, so that's a different scenario than what we're discussing, no?

[ Response to up-thread comment ]

If a domain publishes both DANE and STS policy indeed both need to
be correct.  Which to use when both are published is perhaps just
local policy, but some guidance may be appropriate.

In particular because opportunistic authentication (please read
RFC7435, and then sections 1.3 and 3.1 of RFC7672) can be viewed
a policy of receiving system that the sending system is playing
along with, fragile policies are best avoided, lest senders throw
in the towel and disable SMTP transport security, because it is
more trouble than it is worth.

Now of DANE and STS have their separate pain points:

    * DANE: Cert rotation can be tricky, users may need to
      update DNS before replacing their certs.  Some will botch
      this from time to time.  

      However, with "3 X X" TLSA records certificate expiration and
      hostname matching are not relevant, so authentication works
      even with "expired" certs or certs that don't match the MX
      hostname, or for chains that lack otherwise required intermediate
      CA certs.

    * STS: Users will forget to renew certificates, and name checks
      need to work, and the CA needs to be trusted by the sender.
      Missing intermediate certs (often not added when renewing
      certs) are also a frequent problem.

      Certificate transparency may also enter the picture at some
      point, and provide more ways for WebPKI authentication to
      fail (missing SCTs in stapled OCSP, unsupported log servers,
      ...).

If we require *both* to work, there are just too many ways to lose.
The sender typically is willing to send in the clear, and is doing
TLS because *some* traffic deserves better and to thwart pervasive
monitoring.

Setting the bar too high is often counterproductive.

So my view is that for SMTP DANE is by far the more natural of the
two transport security mechanisms, and that STS is essentially a
medium-term work-around for the complexity of cost-justifying DNSSEC
in the face of internal organizational politics at the large
providers.

In that light, the more natural mechanism is used when available,
and the work-around is a secondary strategy.

> Well, both need to work independently as you say below. But I might still
> have an STS policy (using a different, CA-signed cert) where I have a
> self-signed cert for DANE, because I want to support clients who only
> support one or the other. Forcing clients to validate both doesnï¿½t seem
> to be a good idea.

This can't work.  An MTA will present the same certificate chain
to STS and DANE clients alike.

-- 
	Viktor.


From nobody Wed Apr 13 12:14:09 2016
Return-Path: <ietf-dane@dukhovni.org>
X-Original-To: uta@ietfa.amsl.com
Delivered-To: uta@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7C68212D682 for <uta@ietfa.amsl.com>; Wed, 13 Apr 2016 12:14:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001] 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 uzqDcIIu39gb for <uta@ietfa.amsl.com>; Wed, 13 Apr 2016 12:14:07 -0700 (PDT)
Received: from mournblade.imrryr.org (mournblade.imrryr.org [38.117.134.19]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id EADE912D926 for <uta@ietf.org>; Wed, 13 Apr 2016 12:14:06 -0700 (PDT)
Received: by mournblade.imrryr.org (Postfix, from userid 1034) id 21A76284DEF; Wed, 13 Apr 2016 19:14:06 +0000 (UTC)
Date: Wed, 13 Apr 2016 19:14:06 +0000
From: Viktor Dukhovni <ietf-dane@dukhovni.org>
To: uta@ietf.org
Message-ID: <20160413191405.GF26423@mournblade.imrryr.org>
References: <570C0CD2.9030401@cs.tcd.ie> <20160411212128.GA26423@mournblade.imrryr.org> <CANtKdUekXNkVvsfq0UjCiaaPVBgoVGfrfnYUrdoOf0EegXMuPg@mail.gmail.com> <20160413014304.GB26423@mournblade.imrryr.org> <CANtKdUf0kN5aOmX0-NsyQXz_+PRGfaXa37DFZoCX3FqdYh5CpA@mail.gmail.com> <5249C8ED-CACD-4765-909E-CB8EB218BF10@noware.co.uk> <CANtKdUctfEKuQAscMkt_A5wcA84Z4y3L4KvcsxVd2Qb0NRBtgw@mail.gmail.com> <96AFF4DD-A934-4C92-A72E-AF729CE053D7@noware.co.uk> <CANtKdUcvhE+xxXtrRFgS0gcEE=8qLyPea5BpdLkv2DYmt9BHww@mail.gmail.com> <A41EBA6F-D988-491B-A436-C7D3EE2018C1@noware.co.uk>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <A41EBA6F-D988-491B-A436-C7D3EE2018C1@noware.co.uk>
User-Agent: Mutt/1.5.24 (2015-08-30)
Archived-At: <http://mailarchive.ietf.org/arch/msg/uta/ccWr8SacEl7V_ZxUiLSoBX-uoFc>
Subject: Re: [Uta] "webby" STS and DANE/DNSSEC co-existence
X-BeenThere: uta@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
Reply-To: uta@ietf.org
List-Id: UTA working group mailing list <uta.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/uta>, <mailto:uta-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/uta/>
List-Post: <mailto:uta@ietf.org>
List-Help: <mailto:uta-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/uta>, <mailto:uta-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 13 Apr 2016 19:14:08 -0000

On Wed, Apr 13, 2016 at 10:59:06AM +0100, Neil Cook wrote:

> However this does bring up a good point - if I want to support STS *and*
> DANE as a receiver, and have a homogeneous MX/MTA setup, i.e. not something
> like the above, I would have to support the common subset of both
> specifications, at least as far as MTA configuration is concerned, e.g.
> no self-signed certs. That is a consequence we havenï¿½t discussed before.

STS is WebPKI.  If you want STS, you need a certificate from one
of the usual CAs.  With a self-signed certificate (some day just
a bare public key and no certificate at all) you can only use DANE.

Top 10 issuers of certs for DANE MX hosts:

     172 ; Issuer = CN=StartCom Class 1 Primary Intermediate Server CA,OU=Secure Digital Certificate Signing,O=StartCom Ltd.,C=IL
     166 ; Issuer = CN=COMODO RSA Domain Validation Secure Server CA,O=COMODO CA Limited,L=Salford,ST=Greater Manchester,C=GB
     165 ; Issuer = CN=Let's Encrypt Authority X1,O=Let's Encrypt,C=US
      91 ; Issuer = CN=StartCom Class 2 Primary Intermediate Server CA,OU=Secure Digital Certificate Signing,O=StartCom Ltd.,C=IL
      90 ; Issuer = CN=Gandi Standard SSL CA 2,O=Gandi,L=Paris,ST=Paris,C=FR
      81 ; Issuer = CN=StartCom Class 1 DV Server CA,OU=StartCom Certification Authority,O=StartCom Ltd.,C=IL
      63 ; Issuer = CN=Let's Encrypt Authority X3,O=Let's Encrypt,C=US
      62 ; Issuer = CN=RapidSSL SHA256 CA - G3,O=GeoTrust Inc.,C=US
      38 ; Issuer = CN=WoSign CA Free SSL Certificate G2,O=WoSign CA Limited,C=CN
      33 ; Issuer = CN=CAcert Class 3 Root,OU=http://www.CAcert.org,O=CAcert Inc.

( Note some of the MX hosts support many hundreds of domains, the above counts
  the issuer just once for each issued certificate, not once per domain served. )

-- 
	Viktor.


From nobody Wed Apr 13 13:59:16 2016
Return-Path: <prbinu@yahoo.com>
X-Original-To: uta@ietfa.amsl.com
Delivered-To: uta@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9A88D12D0DF for <uta@ietfa.amsl.com>; Wed, 13 Apr 2016 13:59:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.695
X-Spam-Level: 
X-Spam-Status: No, score=-3.695 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RP_MATCHES_RCVD=-0.996, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=yahoo.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 zlonbUOirXhn for <uta@ietfa.amsl.com>; Wed, 13 Apr 2016 13:59:12 -0700 (PDT)
Received: from nm6-vm10.bullet.mail.sg3.yahoo.com (nm6-vm10.bullet.mail.sg3.yahoo.com [106.10.148.169]) (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 2526212D0C0 for <uta@ietf.org>; Wed, 13 Apr 2016 13:59:11 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1460581149; bh=5HD4k2FuWGe8PEybV0lpBaDO6jgi8xV9wJA9SrUijhY=; h=Date:From:Reply-To:To:In-Reply-To:References:Subject:From:Subject; b=pTrhPU0bsqpJD0LK8kb6v4v0q15deG4i/tUzmS7XAFl/mWDmDDO58Efc/6VQV83sPn2OOTGjrvY9S6T6K9Y149/WFxWNgoA4jUNsPQRUB1VUmwpEXRwsOShL0AjJh3AL62BYVtqda9497BQvX8PQRFdlTVzx16CV5tZRdwDMPoKsuiGzW+Wjg7MeTvYi27QB0EeArjLSOPrwH45+CUOQFxbvQ9ycSWcb/0RQFSM8QQXxVK3/LFBdjKDA1MvocStJXKxdcciymPENC/FfySPslkXAuwkoB8P0Vn9N7enp7piBl2dg7AaT15iMg5ecc0Vm/t6kZmmOY4uVdOS2/9MS4A==
Received: from [106.10.166.62] by nm6.bullet.mail.sg3.yahoo.com with NNFMP; 13 Apr 2016 20:59:09 -0000
Received: from [106.10.151.254] by tm19.bullet.mail.sg3.yahoo.com with NNFMP;  13 Apr 2016 20:59:09 -0000
Received: from [127.0.0.1] by omp1003.mail.sg3.yahoo.com with NNFMP; 13 Apr 2016 20:59:09 -0000
X-Yahoo-Newman-Property: ymail-3
X-Yahoo-Newman-Id: 716706.94209.bm@omp1003.mail.sg3.yahoo.com
X-YMail-OSG: anPm0tEVM1n6.IuYlwYBXl0C4XoSPxS.fgzMrpBsxZrVjJDu1EqQO4nuDMKwWh0 RvyTWJeFpdSc3R3r2N.nRuS_5d7qRiLconLm3.uPAZ.ebDE0KqFJL.X5K.zd7zMX1X_fhqf.D48Z Bujoqg85g5jG7ZNnmQzWetrDderqJCOhdnwuC80e_EaVrftsYYJtMaL96PIDzVpLgr5UCBmG5WvQ Znqeh95LSQJrSGXfT52s7NhU4rIelrbbDf.XL88w7Ls0F67mqqmFx24WGd1fsenYl1_vVT0_2.pQ fkGBj7_FKWDD_h8MBu7yryKNv4QDQ7yjGFg3q9RP3OitROcSQA2TRIXeTbYp8.LRDKPCTIvcSYpS 0MoEZmV3db2WpohamshLd35oKDEdBMhge7sXsN_FGDhq80kB7vD2IVTGXrpQ7fRzWU_VJ9VjpfsM ItvTt3OFyYb_gwz9nhs.qyiY9JUUq492MyoEhXik_WNQ3VAO6VMyeanfBmgCxFrlRfhO98UoDddn VybpzqcTPsaVy
Received: by 106.10.196.94; Wed, 13 Apr 2016 20:59:09 +0000 
Date: Wed, 13 Apr 2016 20:58:58 +0000 (UTC)
From: Binu Ramakrishnan <prbinu@yahoo.com>
To: "uta@ietf.org" <uta@ietf.org>
Message-ID: <542002133.1160.1460581138072.JavaMail.yahoo@mail.yahoo.com>
In-Reply-To: <20160413191405.GF26423@mournblade.imrryr.org>
References: <20160413191405.GF26423@mournblade.imrryr.org>
MIME-Version: 1.0
Content-Type: multipart/alternative;  boundary="----=_Part_1159_1322460619.1460581138069"
Archived-At: <http://mailarchive.ietf.org/arch/msg/uta/MSj3ArAc6N9QJSkG1g5qmihg13E>
Subject: Re: [Uta] "webby" STS and DANE/DNSSEC co-existence
X-BeenThere: uta@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
Reply-To: Binu Ramakrishnan <prbinu@yahoo.com>
List-Id: UTA working group mailing list <uta.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/uta>, <mailto:uta-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/uta/>
List-Post: <mailto:uta@ietf.org>
List-Help: <mailto:uta-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/uta>, <mailto:uta-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 13 Apr 2016 20:59:14 -0000

------=_Part_1159_1322460619.1460581138069
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

>> However this does bring up a good point - if I want to support STS *and*
>> DANE as a receiver, and have a homogeneous MX/MTA setup, i.e. not someth=
ing
>> like the above, I would have to support the common subset of both
>> specifications, at least as far as MTA configuration is concerned, e.g.
>> no self-signed certs. That is a consequence we haven=EF=BF=BDt discussed=
 before.

> STS is WebPKI.=C2=A0 If you want STS, you need a certificate from one
> of the usual CAs.=C2=A0 With a self-signed certificate (some day just
> a bare public key and no certificate at all) you can only use DANE.>--
Yes, the STS policy is served over WebPKI, but in the STS policy you may st=
ill specify/pin public key or certificate for MX server. Pinning is propose=
d as a future work for STS along with additional constraints like min TLS v=
ersion, PFS etc. STS use WebPKI/Root CA as trust anchor for policy distribu=
tion and in the case of DANE, trust anchor is DNS root (through DNSSEC)

      From: Viktor Dukhovni <ietf-dane@dukhovni.org>
 To: uta@ietf.org=20
 Sent: Wednesday, 13 April 2016 12:14 PM
 Subject: Re: [Uta] "webby" STS and DANE/DNSSEC co-existence
  =20
On Wed, Apr 13, 2016 at 10:59:06AM +0100, Neil Cook wrote:

> However this does bring up a good point - if I want to support STS *and*
> DANE as a receiver, and have a homogeneous MX/MTA setup, i.e. not somethi=
ng
> like the above, I would have to support the common subset of both
> specifications, at least as far as MTA configuration is concerned, e.g.
> no self-signed certs. That is a consequence we haven=EF=BF=BDt discussed =
before.

STS is WebPKI.=C2=A0 If you want STS, you need a certificate from one
of the usual CAs.=C2=A0 With a self-signed certificate (some day just
a bare public key and no certificate at all) you can only use DANE.

Top 10 issuers of certs for DANE MX hosts:

=C2=A0 =C2=A0 172 ; Issuer =3D CN=3DStartCom Class 1 Primary Intermediate S=
erver CA,OU=3DSecure Digital Certificate Signing,O=3DStartCom Ltd.,C=3DIL
=C2=A0 =C2=A0 166 ; Issuer =3D CN=3DCOMODO RSA Domain Validation Secure Ser=
ver CA,O=3DCOMODO CA Limited,L=3DSalford,ST=3DGreater Manchester,C=3DGB
=C2=A0 =C2=A0 165 ; Issuer =3D CN=3DLet's Encrypt Authority X1,O=3DLet's En=
crypt,C=3DUS
=C2=A0 =C2=A0 =C2=A0 91 ; Issuer =3D CN=3DStartCom Class 2 Primary Intermed=
iate Server CA,OU=3DSecure Digital Certificate Signing,O=3DStartCom Ltd.,C=
=3DIL
=C2=A0 =C2=A0 =C2=A0 90 ; Issuer =3D CN=3DGandi Standard SSL CA 2,O=3DGandi=
,L=3DParis,ST=3DParis,C=3DFR
=C2=A0 =C2=A0 =C2=A0 81 ; Issuer =3D CN=3DStartCom Class 1 DV Server CA,OU=
=3DStartCom Certification Authority,O=3DStartCom Ltd.,C=3DIL
=C2=A0 =C2=A0 =C2=A0 63 ; Issuer =3D CN=3DLet's Encrypt Authority X3,O=3DLe=
t's Encrypt,C=3DUS
=C2=A0 =C2=A0 =C2=A0 62 ; Issuer =3D CN=3DRapidSSL SHA256 CA - G3,O=3DGeoTr=
ust Inc.,C=3DUS
=C2=A0 =C2=A0 =C2=A0 38 ; Issuer =3D CN=3DWoSign CA Free SSL Certificate G2=
,O=3DWoSign CA Limited,C=3DCN
=C2=A0 =C2=A0 =C2=A0 33 ; Issuer =3D CN=3DCAcert Class 3 Root,OU=3Dhttp://w=
ww.CAcert.org,O=3DCAcert Inc.

( Note some of the MX hosts support many hundreds of domains, the above cou=
nts
=C2=A0 the issuer just once for each issued certificate, not once per domai=
n served. )

--=20
=C2=A0=C2=A0=C2=A0 Viktor.

_______________________________________________
Uta mailing list
Uta@ietf.org
https://www.ietf.org/mailman/listinfo/uta


  
------=_Part_1159_1322460619.1460581138069
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<html><head></head><body><div style=3D"color:#000; background-color:#fff; f=
ont-family:verdana, helvetica, sans-serif;font-size:13px"><div id=3D"yui_3_=
16_0_ym19_1_1460317530896_79258" dir=3D"ltr"><span style=3D"font-family: He=
lveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-seri=
f; font-size: 16px;" id=3D"yui_3_16_0_ym19_1_1460317530896_79297">&gt;&gt; =
However this does bring up a good point - if I want to support STS *and*</s=
pan><br clear=3D"none" style=3D"font-family: HelveticaNeue, 'Helvetica Neue=
', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 16px;" id=3D"y=
ui_3_16_0_ym19_1_1460317530896_79298"><span style=3D"font-family: Helvetica=
Neue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font=
-size: 16px;" id=3D"yui_3_16_0_ym19_1_1460317530896_79299">&gt;&gt; DANE as=
 a receiver, and have a homogeneous MX/MTA setup, i.e. not something</span>=
<br clear=3D"none" style=3D"font-family: HelveticaNeue, 'Helvetica Neue', H=
elvetica, Arial, 'Lucida Grande', sans-serif; font-size: 16px;" id=3D"yui_3=
_16_0_ym19_1_1460317530896_79300"><span style=3D"font-family: HelveticaNeue=
, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-siz=
e: 16px;" id=3D"yui_3_16_0_ym19_1_1460317530896_79301">&gt;&gt; like the ab=
ove, I would have to support the common subset of both</span><br clear=3D"n=
one" style=3D"font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Aria=
l, 'Lucida Grande', sans-serif; font-size: 16px;" id=3D"yui_3_16_0_ym19_1_1=
460317530896_79302"><span style=3D"font-family: HelveticaNeue, 'Helvetica N=
eue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 16px;" id=
=3D"yui_3_16_0_ym19_1_1460317530896_79303">&gt;&gt; specifications, at leas=
t as far as MTA configuration is concerned, e.g.</span><br clear=3D"none" s=
tyle=3D"font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lu=
cida Grande', sans-serif; font-size: 16px;" id=3D"yui_3_16_0_ym19_1_1460317=
530896_79304"><span style=3D"font-family: HelveticaNeue, 'Helvetica Neue', =
Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 16px;" id=3D"yui_=
3_16_0_ym19_1_1460317530896_79305">&gt;&gt; no self-signed certs. That is a=
 consequence we haven=EF=BF=BDt discussed before.</span><br clear=3D"none" =
style=3D"font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'L=
ucida Grande', sans-serif; font-size: 16px;" id=3D"yui_3_16_0_ym19_1_146031=
7530896_79306"><br clear=3D"none" style=3D"font-family: HelveticaNeue, 'Hel=
vetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 16p=
x;" id=3D"yui_3_16_0_ym19_1_1460317530896_79307"><span style=3D"font-family=
: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-=
serif; font-size: 16px;" id=3D"yui_3_16_0_ym19_1_1460317530896_79308">&gt; =
STS is WebPKI.&nbsp; If you want STS, you need a certificate from one</span=
><br clear=3D"none" style=3D"font-family: HelveticaNeue, 'Helvetica Neue', =
Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 16px;" id=3D"yui_=
3_16_0_ym19_1_1460317530896_79309"><span style=3D"font-family: HelveticaNeu=
e, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-si=
ze: 16px;" id=3D"yui_3_16_0_ym19_1_1460317530896_79310">&gt; of the usual C=
As.&nbsp; With a self-signed certificate (some day just</span><br clear=3D"=
none" style=3D"font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Ari=
al, 'Lucida Grande', sans-serif; font-size: 16px;" id=3D"yui_3_16_0_ym19_1_=
1460317530896_79311"><span style=3D"font-family: HelveticaNeue, 'Helvetica =
Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 16px;" id=
=3D"yui_3_16_0_ym19_1_1460317530896_79312">&gt; a bare public key and no ce=
rtificate at all) you can only use DANE.</span><span></span></div><div clas=
s=3D"qtdSeparateBR" id=3D"yui_3_16_0_ym19_1_1460317530896_79192">&gt;</div>=
<div class=3D"qtdSeparateBR" id=3D"yui_3_16_0_ym19_1_1460317530896_79192" d=
ir=3D"ltr">--<br>Yes, the STS policy is served over WebPKI, but in the STS =
policy you may still specify/pin public key or certificate for MX server. P=
inning is proposed as a future work for STS along with additional constrain=
ts like min TLS version, PFS etc. STS use WebPKI/Root CA as trust anchor fo=
r policy distribution and in the case of DANE, trust anchor is DNS root (th=
rough DNSSEC)</div><div class=3D"qtdSeparateBR" id=3D"yui_3_16_0_ym19_1_146=
0317530896_79192" dir=3D"ltr"><br></div><div class=3D"qtdSeparateBR" id=3D"=
yui_3_16_0_ym19_1_1460317530896_79192" dir=3D"ltr"><br></div><div class=3D"=
yahoo_quoted" id=3D"yui_3_16_0_ym19_1_1460317530896_79211" style=3D"display=
: block;">  <div style=3D"font-family: verdana, helvetica, sans-serif; font=
-size: 13px;" id=3D"yui_3_16_0_ym19_1_1460317530896_79210"> <div style=3D"f=
ont-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande,=
 Sans-Serif; font-size: 16px;" id=3D"yui_3_16_0_ym19_1_1460317530896_79209"=
> <div dir=3D"ltr" id=3D"yui_3_16_0_ym19_1_1460317530896_79208"> <font size=
=3D"2" face=3D"Arial" id=3D"yui_3_16_0_ym19_1_1460317530896_79207"> <hr siz=
e=3D"1" id=3D"yui_3_16_0_ym19_1_1460317530896_79257"> <b><span style=3D"fon=
t-weight:bold;">From:</span></b> Viktor Dukhovni &lt;ietf-dane@dukhovni.org=
&gt;<br> <b><span style=3D"font-weight: bold;">To:</span></b> uta@ietf.org =
<br> <b id=3D"yui_3_16_0_ym19_1_1460317530896_79216"><span style=3D"font-we=
ight: bold;" id=3D"yui_3_16_0_ym19_1_1460317530896_79215">Sent:</span></b> =
Wednesday, 13 April 2016 12:14 PM<br> <b id=3D"yui_3_16_0_ym19_1_1460317530=
896_79218"><span style=3D"font-weight: bold;" id=3D"yui_3_16_0_ym19_1_14603=
17530896_79217">Subject:</span></b> Re: [Uta] "webby" STS and DANE/DNSSEC c=
o-existence<br> </font> </div> <div class=3D"y_msg_container" id=3D"yui_3_1=
6_0_ym19_1_1460317530896_79219"><br>On Wed, Apr 13, 2016 at 10:59:06AM +010=
0, Neil Cook wrote:<br clear=3D"none"><br clear=3D"none">&gt; However this =
does bring up a good point - if I want to support STS *and*<br clear=3D"non=
e">&gt; DANE as a receiver, and have a homogeneous MX/MTA setup, i.e. not s=
omething<br clear=3D"none">&gt; like the above, I would have to support the=
 common subset of both<br clear=3D"none">&gt; specifications, at least as f=
ar as MTA configuration is concerned, e.g.<br clear=3D"none">&gt; no self-s=
igned certs. That is a consequence we haven=EF=BF=BDt discussed before.<br =
clear=3D"none"><br clear=3D"none">STS is WebPKI.&nbsp; If you want STS, you=
 need a certificate from one<br clear=3D"none">of the usual CAs.&nbsp; With=
 a self-signed certificate (some day just<br clear=3D"none">a bare public k=
ey and no certificate at all) you can only use DANE.<br clear=3D"none"><br =
clear=3D"none">Top 10 issuers of certs for DANE MX hosts:<br clear=3D"none"=
><br clear=3D"none">&nbsp; &nbsp;  172 ; Issuer =3D CN=3DStartCom Class 1 P=
rimary Intermediate Server CA,OU=3DSecure Digital Certificate Signing,O=3DS=
tartCom Ltd.,C=3DIL<br clear=3D"none">&nbsp; &nbsp;  166 ; Issuer =3D CN=3D=
COMODO RSA Domain Validation Secure Server CA,O=3DCOMODO CA Limited,L=3DSal=
ford,ST=3DGreater Manchester,C=3DGB<br clear=3D"none">&nbsp; &nbsp;  165 ; =
Issuer =3D CN=3DLet's Encrypt Authority X1,O=3DLet's Encrypt,C=3DUS<br clea=
r=3D"none">&nbsp; &nbsp; &nbsp; 91 ; Issuer =3D CN=3DStartCom Class 2 Prima=
ry Intermediate Server CA,OU=3DSecure Digital Certificate Signing,O=3DStart=
Com Ltd.,C=3DIL<br clear=3D"none">&nbsp; &nbsp; &nbsp; 90 ; Issuer =3D CN=
=3DGandi Standard SSL CA 2,O=3DGandi,L=3DParis,ST=3DParis,C=3DFR<br clear=
=3D"none">&nbsp; &nbsp; &nbsp; 81 ; Issuer =3D CN=3DStartCom Class 1 DV Ser=
ver CA,OU=3DStartCom Certification Authority,O=3DStartCom Ltd.,C=3DIL<br cl=
ear=3D"none">&nbsp; &nbsp; &nbsp; 63 ; Issuer =3D CN=3DLet's Encrypt Author=
ity X3,O=3DLet's Encrypt,C=3DUS<br clear=3D"none">&nbsp; &nbsp; &nbsp; 62 ;=
 Issuer =3D CN=3DRapidSSL SHA256 CA - G3,O=3DGeoTrust Inc.,C=3DUS<br clear=
=3D"none">&nbsp; &nbsp; &nbsp; 38 ; Issuer =3D CN=3DWoSign CA Free SSL Cert=
ificate G2,O=3DWoSign CA Limited,C=3DCN<br clear=3D"none">&nbsp; &nbsp; &nb=
sp; 33 ; Issuer =3D CN=3DCAcert Class 3 Root,OU=3D<a shape=3D"rect" href=3D=
"http://www.CAcert.org,O=3DCAcert" target=3D"_blank">http://www.CAcert.org,=
O=3DCAcert </a>Inc.<br clear=3D"none"><br clear=3D"none">( Note some of the=
 MX hosts support many hundreds of domains, the above counts<br clear=3D"no=
ne">&nbsp; the issuer just once for each issued certificate, not once per d=
omain served. )<br clear=3D"none"><br clear=3D"none">-- <br clear=3D"none">=
&nbsp;&nbsp;&nbsp; Viktor.<div class=3D"yqt8063374653" id=3D"yqtfd92700"><b=
r clear=3D"none"><br clear=3D"none">_______________________________________=
________<br clear=3D"none">Uta mailing list<br clear=3D"none"><a shape=3D"r=
ect" ymailto=3D"mailto:Uta@ietf.org" href=3D"mailto:Uta@ietf.org">Uta@ietf.=
org</a><br clear=3D"none"><a shape=3D"rect" href=3D"https://www.ietf.org/ma=
ilman/listinfo/uta" target=3D"_blank">https://www.ietf.org/mailman/listinfo=
/uta</a><br clear=3D"none"></div><br><br></div> </div> </div>  </div></div>=
</body></html>
------=_Part_1159_1322460619.1460581138069--


From nobody Wed Apr 13 23:30:12 2016
Return-Path: <ietf-dane@dukhovni.org>
X-Original-To: uta@ietfa.amsl.com
Delivered-To: uta@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 58D4312DD9F for <uta@ietfa.amsl.com>; Wed, 13 Apr 2016 23:30:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001] 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 8cfQts_AzNJe for <uta@ietfa.amsl.com>; Wed, 13 Apr 2016 23:30:09 -0700 (PDT)
Received: from mournblade.imrryr.org (mournblade.imrryr.org [38.117.134.19]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 72A0B12DD97 for <uta@ietf.org>; Wed, 13 Apr 2016 23:30:09 -0700 (PDT)
Received: by mournblade.imrryr.org (Postfix, from userid 1034) id 3FE7C284DCA; Thu, 14 Apr 2016 06:30:08 +0000 (UTC)
Date: Thu, 14 Apr 2016 06:30:08 +0000
From: Viktor Dukhovni <ietf-dane@dukhovni.org>
To: uta@ietf.org
Message-ID: <20160414063007.GA17212@mournblade.imrryr.org>
References: <570C0CD2.9030401@cs.tcd.ie> <20160411212128.GA26423@mournblade.imrryr.org> <CANtKdUekXNkVvsfq0UjCiaaPVBgoVGfrfnYUrdoOf0EegXMuPg@mail.gmail.com> <20160413014304.GB26423@mournblade.imrryr.org> <CANtKdUf0kN5aOmX0-NsyQXz_+PRGfaXa37DFZoCX3FqdYh5CpA@mail.gmail.com> <etPan.570e8549.3d8c14b4.1614d@jcaps-rd2.us.oracle.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <etPan.570e8549.3d8c14b4.1614d@jcaps-rd2.us.oracle.com>
User-Agent: Mutt/1.5.24 (2015-08-30)
Archived-At: <http://mailarchive.ietf.org/arch/msg/uta/pWiomF24qFExQATskgzcFDGZGuM>
Subject: Re: [Uta] "webby" STS and DANE/DNSSEC co-existence
X-BeenThere: uta@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
Reply-To: uta@ietf.org
List-Id: UTA working group mailing list <uta.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/uta>, <mailto:uta-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/uta/>
List-Post: <mailto:uta@ietf.org>
List-Help: <mailto:uta-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/uta>, <mailto:uta-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 14 Apr 2016 06:30:11 -0000

On Wed, Apr 13, 2016 at 10:43:31AM -0700, Chris Newman wrote:

> DANE is merely one method of validating a certificate, there can also be
> SMTP policy orthogonal to DANE.

Sure, but I don't see DEEP-style policy latches playing much of a
role, if any, in MTA-to-MTA opportunistic transport security.  No
plans to implement.  Sorry about that.

> Take for example, DEEP's 'tls11' and 'tls12' directives. Those specify a
> minimum acceptable version of TLS for future connections.

I don't see adding any support for this in Postfix.  Keep in mind
that MTA-to-MTA TLS is still opportunistic security even with DANE.
The client cannot be expected to jump through excessive hoops for
marginal gain.

Caching of TLS policy pins for every MX host ever contacted is not
a sensible requirement on the sending MTA.  Nor does this achieve
broad security, since secondary/tertiarry/... MX hosts are rarely
contacted, and MITM attackers can often block access to these, and
cause connections to use MX hosts that have not been used recently.
Caches with no size or TTL constraints are not viable.

The higher we set the bar for use of opportunistic TLS the less
useful it becomes.  We need to be reasonably modest in our goals,
so that they remain broadly achievable.

> So the question is where to put SMTP relay security policy
> that is orthogonal to DANE.

Opportunistic transport security for relays needs to avoid being
overly-prescriptive or require significant sender resources.

> Seems like wherever we choose to put the policy for SMTP relay STS (whether
> in a DNSSEC-protected DNS record, HTTPS well-known or SMTP+STARTTLS),
> that's where we should always look for SMTP relay policy.

DEEP is a fine hammer for MUAs, let's not make every SMTP-related
problem a DEEP nail.

DANE SMTP is deliberately minimally prescriptive.  The "floor"
security policy on acceptable ciphers and protocols will gradually
rise via adjustments to local policy and MTA software defaults as
older protocols and ciphers become increasingly rare.  Keeping the
design as simple as possible is a key feature.

If STS is to be a successful (be it perhaps in some sense secondary)
alternative it too needs to remain (or become) sufficiently simple.

Transparent interoperability is more important than dialing security
up to 11.

-- 
	Viktor.


From nobody Wed Apr 13 23:38:11 2016
Return-Path: <ietf-dane@dukhovni.org>
X-Original-To: uta@ietfa.amsl.com
Delivered-To: uta@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E2D1112E701 for <uta@ietfa.amsl.com>; Wed, 13 Apr 2016 23:38:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001] 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 of6wnRo6Y8-w for <uta@ietfa.amsl.com>; Wed, 13 Apr 2016 23:38:08 -0700 (PDT)
Received: from mournblade.imrryr.org (mournblade.imrryr.org [38.117.134.19]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7E30312E700 for <uta@ietf.org>; Wed, 13 Apr 2016 23:38:08 -0700 (PDT)
Received: by mournblade.imrryr.org (Postfix, from userid 1034) id 938A8284DCA; Thu, 14 Apr 2016 06:38:07 +0000 (UTC)
Date: Thu, 14 Apr 2016 06:38:07 +0000
From: Viktor Dukhovni <ietf-dane@dukhovni.org>
To: uta@ietf.org
Message-ID: <20160414063807.GB17212@mournblade.imrryr.org>
References: <20160413191405.GF26423@mournblade.imrryr.org> <542002133.1160.1460581138072.JavaMail.yahoo@mail.yahoo.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <542002133.1160.1460581138072.JavaMail.yahoo@mail.yahoo.com>
User-Agent: Mutt/1.5.24 (2015-08-30)
Archived-At: <http://mailarchive.ietf.org/arch/msg/uta/_Pw3pxalaw9_fp-QSr9fxxwF5vo>
Subject: Re: [Uta] "webby" STS and DANE/DNSSEC co-existence
X-BeenThere: uta@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
Reply-To: uta@ietf.org
List-Id: UTA working group mailing list <uta.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/uta>, <mailto:uta-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/uta/>
List-Post: <mailto:uta@ietf.org>
List-Help: <mailto:uta-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/uta>, <mailto:uta-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 14 Apr 2016 06:38:10 -0000

On Wed, Apr 13, 2016 at 08:58:58PM +0000, Binu Ramakrishnan wrote:

> > STS is WebPKI.  If you want STS, you need a certificate from one
> > of the usual CAs.  With a self-signed certificate (some day just
> > a bare public key and no certificate at all) you can only use DANE.>--
>
> Yes, the STS policy is served over WebPKI, but in the STS policy you may
> still specify/pin public key or certificate for MX server. Pinning is
> proposed as a future work for STS along with additional constraints like
> min TLS version, PFS etc. STS use WebPKI/Root CA as trust anchor for policy
> distribution and in the case of DANE, trust anchor is DNS root (through
> DNSSEC)

See my response to Chris Newman.  The more prescriptive/ambitious
the STS design the less likely it is too see workable broad adoption.

If the STS spec is just for email between Yahoo and Gmail, sure,
go for it.  Less work for me, I won't need to implement yet another
transport security mechanism.

A more reasonably modest STS would stay well clear of prescribing
such fine details.  Once the policy lookup requires WebPKI support,
pinning MX host certs is fragile over-engineering.

-- 
	Viktor.


From nobody Thu Apr 14 01:58:37 2016
Return-Path: <dmargolis@google.com>
X-Original-To: uta@ietfa.amsl.com
Delivered-To: uta@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DFCE512E046 for <uta@ietfa.amsl.com>; Thu, 14 Apr 2016 01:58:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.696
X-Spam-Level: 
X-Spam-Status: No, score=-3.696 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RP_MATCHES_RCVD=-0.996, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=google.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 seFZDE2GLf0I for <uta@ietfa.amsl.com>; Thu, 14 Apr 2016 01:58:34 -0700 (PDT)
Received: from mail-io0-x22c.google.com (mail-io0-x22c.google.com [IPv6:2607:f8b0:4001:c06::22c]) (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 F1B1512E023 for <uta@ietf.org>; Thu, 14 Apr 2016 01:58:33 -0700 (PDT)
Received: by mail-io0-x22c.google.com with SMTP id u185so97225023iod.3 for <uta@ietf.org>; Thu, 14 Apr 2016 01:58:33 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to; bh=od4anPpGJBrddXyqmjTdA3ag6fCXmiKX5tlrUm9G/8w=; b=UfzwtpilxahcuXfaQgjUKhH6bkKFfgWMpLbafTr8XrJx3K3l0ePLl3jF5t2EPYKq71 djp1sgFVtv4ca69xEJVmTRacUwRSEUCHbyIT4ImQBRlJwxbsG49IqCv5J+3JulsASon9 i7A/K5mTE40zpN1Su64T0Fq4bJGHPnrD3F10I8tAz1MlMtPd6EQj37z31830Aii/W/bv ri+F6Uxbuo3p2qvkSU6O7Ulv0EfKsaxbVuJWIiG/GtVFoBsPeSOBpfgdooEUs8TaDTX9 cxUnXB7nL/U2BeGlIAPPlf+FfUvSxXLt/I6XuCC9gYaGQbUZhnmeSwAG3tVf/TfLwsZ/ quag==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to; bh=od4anPpGJBrddXyqmjTdA3ag6fCXmiKX5tlrUm9G/8w=; b=WDOrAHow23WQ0INqEkthVZTd4Sbu+rbgDB4OcSqn7B7DJQV95ruOHWElJt2skV0BnA jNpYPQVLv1773Jb2gbVoFTFnxr8jx6t4jEEjeYelQIs+2cw+sxyIAmDuBniYtwDdcxd4 KsnuItVPjnOPNNEfM9QkJ0uFkgsV8y11BjmaoYsGnay79Wzsj0wfHM02jLbTCF9iP+uy RZBnO+56SLShXmNviqx6k15o4mZfhFYXo3uf1QnzkrF12sAUegExjsQbfBIXRy5mCkyG s1n3mwjsK+KMpCg8z5uyLTo2dlURk5fX7NqWkoKNn+W+kqYpn4Q4pM174vGudTW1isF5 /Wjw==
X-Gm-Message-State: AOPr4FV90T7G0+3SzkOZopyZbnGsqy58OYueO6gmRQpruf4uj/cP+pWrS57Ej3qe21TM7npCf0JRqIA5OUHBdMrW
MIME-Version: 1.0
X-Received: by 10.107.170.216 with SMTP id g85mr14239923ioj.58.1460624313130;  Thu, 14 Apr 2016 01:58:33 -0700 (PDT)
Received: by 10.64.91.226 with HTTP; Thu, 14 Apr 2016 01:58:32 -0700 (PDT)
In-Reply-To: <20160414063807.GB17212@mournblade.imrryr.org>
References: <20160413191405.GF26423@mournblade.imrryr.org> <542002133.1160.1460581138072.JavaMail.yahoo@mail.yahoo.com> <20160414063807.GB17212@mournblade.imrryr.org>
Date: Thu, 14 Apr 2016 10:58:32 +0200
Message-ID: <CANtKdUdT+Lf89-EiJQ9rCvv=ph+z2AJEjSM7KUDcs85ztgRPEw@mail.gmail.com>
From: Daniel Margolis <dmargolis@google.com>
To: uta@ietf.org
Content-Type: multipart/alternative; boundary=001a11425ab856147c05306e195b
Archived-At: <http://mailarchive.ietf.org/arch/msg/uta/W-s85wHs_n6HAfRLlCl0tlNqffk>
Subject: Re: [Uta] "webby" STS and DANE/DNSSEC co-existence
X-BeenThere: uta@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: UTA working group mailing list <uta.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/uta>, <mailto:uta-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/uta/>
List-Post: <mailto:uta@ietf.org>
List-Help: <mailto:uta-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/uta>, <mailto:uta-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 14 Apr 2016 08:58:36 -0000

--001a11425ab856147c05306e195b
Content-Type: text/plain; charset=UTF-8

On Thu, Apr 14, 2016 at 8:38 AM, Viktor Dukhovni <ietf-dane@dukhovni.org>
wrote:

>
> If the STS spec is just for email between Yahoo and Gmail, sure,
> go for it.  Less work for me, I won't need to implement yet another
> transport security mechanism.
>
> A more reasonably modest STS would stay well clear of prescribing
> such fine details.  Once the policy lookup requires WebPKI support,
> pinning MX host certs is fragile over-engineering.
>

To be clear, HPKP allows pinning a root or intermediate cert, not just the
host cert. I think pinning someone in the cert chain and not the host cert
is generally preferable (in terms of safety and ease of certificate
rollover).

But in terms of broader feedback, I think you're making a really important
point here (and up-thread) about (config) usability and security tradeoffs.
For now, simply getting CA *or* DNSSEC based signing of security policies
is a huge benefit for MTA-to-MTA SMTP. In a future where CA or registrar
malfeasance is the weakest link, we know the next steps--key pinning, cert
transparency, and similar. But that would be a future where we've already
vastly improved the state of the art from most deployments today. ;)

Dan

--001a11425ab856147c05306e195b
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_extra"><br><div class=3D"gmail_quote">=
On Thu, Apr 14, 2016 at 8:38 AM, Viktor Dukhovni <span dir=3D"ltr">&lt;<a h=
ref=3D"mailto:ietf-dane@dukhovni.org" target=3D"_blank">ietf-dane@dukhovni.=
org</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"mar=
gin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
If the STS spec is just for email between Yahoo and Gmail, sure,<br>
go for it.=C2=A0 Less work for me, I won&#39;t need to implement yet anothe=
r<br>
transport security mechanism.<br>
<br>
A more reasonably modest STS would stay well clear of prescribing<br>
such fine details.=C2=A0 Once the policy lookup requires WebPKI support,<br=
>
pinning MX host certs is fragile over-engineering.<div class=3D"yj6qo ajU">=
<div id=3D":4kq" class=3D"ajR" tabindex=3D"0"></div></div></blockquote></di=
v><br>To be clear, HPKP allows pinning a root or intermediate cert, not jus=
t the host cert. I think pinning someone in the cert chain and not the host=
 cert is generally preferable (in terms of safety and ease of certificate r=
ollover).=C2=A0</div><div class=3D"gmail_extra"><br></div><div class=3D"gma=
il_extra">But in terms of broader feedback, I think you&#39;re making a rea=
lly important point here (and up-thread) about (config) usability and secur=
ity tradeoffs. For now, simply getting CA *or* DNSSEC based signing of secu=
rity policies is a huge benefit for MTA-to-MTA SMTP. In a future where CA o=
r registrar malfeasance is the weakest link, we know the next steps--key pi=
nning, cert transparency, and similar. But that would be a future where we&=
#39;ve already vastly improved the state of the art from most deployments t=
oday. ;)=C2=A0</div><div class=3D"gmail_extra"><br></div><div class=3D"gmai=
l_extra">Dan</div></div>

--001a11425ab856147c05306e195b--


From nobody Thu Apr 14 05:38:33 2016
Return-Path: <azet@azet.org>
X-Original-To: uta@ietfa.amsl.com
Delivered-To: uta@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3F88112DAE4 for <uta@ietfa.amsl.com>; Thu, 14 Apr 2016 05:38:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.7
X-Spam-Level: 
X-Spam-Status: No, score=-2.7 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_LOW=-0.7] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=azet.org
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 gR6CfcUaIckN for <uta@ietfa.amsl.com>; Thu, 14 Apr 2016 05:38:31 -0700 (PDT)
Received: from mail-pa0-x231.google.com (mail-pa0-x231.google.com [IPv6:2607:f8b0:400e:c03::231]) (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 2F19712D0A7 for <uta@ietf.org>; Thu, 14 Apr 2016 05:19:00 -0700 (PDT)
Received: by mail-pa0-x231.google.com with SMTP id fs9so25795544pac.2 for <uta@ietf.org>; Thu, 14 Apr 2016 05:19:00 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=azet.org; s=gmail; h=subject:mime-version:from:in-reply-to:date:cc:message-id:references :to; bh=0wRdDYMwtQDCWa9xMY6IDQbPTVLw4vMOhH171WLtKjM=; b=WyLdPgFjTcQxgmb10m6REqIhKd/wn/PMuqnto6Y4WbZmNkoJDV25k0j8AuuIXR4hgV OvsHCHLQvmrOZzNV/DOKKA3VqCnTu2DJMaY3SFbJYFFiBKaJnzB1tvvQKsl8xJEyykTB pyi0wLkd+KHqB7WzN4spiyjx+dsepsCy2Tm7s=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:mime-version:from:in-reply-to:date:cc :message-id:references:to; bh=0wRdDYMwtQDCWa9xMY6IDQbPTVLw4vMOhH171WLtKjM=; b=E7jyq47E9NqJy2eRMXSbNf0ONt8lzDaWaxYny50LoFtgJknkaqpd9SpodlHTT6SRuh LmpWVxtwvczwNTR2Qx+0vkA8p3His2A/yVFYrUDunA3QlSW3/dUiebe4yk7vvjIh78aG t6kIJIb9aTH9natbH17LSdmjbGYAMyke0NXDfBe7+AOY92NZFUFeE4w26l3mbLi6/HL9 Fdk62sCDIYEMAjFFh4vlumayjysa91vQdnfK1PVH2E4+pp8hDyOSVJH6hF6lbNiGxGd1 g/xp7pZrLi/jtiZqn1zzQdfHILRH/J2VtVofj9RiOH8tjBIlMoHhrJloLvItGbxZW5r6 Shig==
X-Gm-Message-State: AOPr4FXy3SwyIpufFk/5dO7eDUAvp9pqLZnBiYUkjjfSeEbRLgrdjYDSRXN/806yGH7ITA==
X-Received: by 10.67.14.98 with SMTP id ff2mr20631203pad.105.1460636339740; Thu, 14 Apr 2016 05:18:59 -0700 (PDT)
Received: from [192.168.0.128] (node-278.pool-180-180.dynamic.totbb.net. [180.180.11.36]) by smtp.gmail.com with ESMTPSA id f12sm57627942pfd.87.2016.04.14.05.18.56 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 14 Apr 2016 05:18:57 -0700 (PDT)
Mime-Version: 1.0 (Mac OS X Mail 9.2 \(3112\))
Content-Type: multipart/signed; boundary="Apple-Mail=_7E2FA12B-8C9D-4ED8-B3C9-0C2E17CC95C5"; protocol="application/pgp-signature"; micalg=pgp-sha512
X-Pgp-Agent: GPGMail 2.6b2
From: Aaron Zauner <azet@azet.org>
In-Reply-To: <CANtKdUdT+Lf89-EiJQ9rCvv=ph+z2AJEjSM7KUDcs85ztgRPEw@mail.gmail.com>
Date: Thu, 14 Apr 2016 19:19:32 +0700
Message-Id: <28DE8B5E-C588-48C3-A6ED-790C45A5B103@azet.org>
References: <20160413191405.GF26423@mournblade.imrryr.org> <542002133.1160.1460581138072.JavaMail.yahoo@mail.yahoo.com> <20160414063807.GB17212@mournblade.imrryr.org> <CANtKdUdT+Lf89-EiJQ9rCvv=ph+z2AJEjSM7KUDcs85ztgRPEw@mail.gmail.com>
To: Daniel Margolis <dmargolis@google.com>
X-Mailer: Apple Mail (2.3112)
Archived-At: <http://mailarchive.ietf.org/arch/msg/uta/fzxs35809D-3-6pXI0jZql356Ws>
Cc: uta@ietf.org
Subject: Re: [Uta] "webby" STS and DANE/DNSSEC co-existence
X-BeenThere: uta@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: UTA working group mailing list <uta.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/uta>, <mailto:uta-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/uta/>
List-Post: <mailto:uta@ietf.org>
List-Help: <mailto:uta-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/uta>, <mailto:uta-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 14 Apr 2016 12:38:32 -0000

--Apple-Mail=_7E2FA12B-8C9D-4ED8-B3C9-0C2E17CC95C5
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii


> On 14 Apr 2016, at 15:58, Daniel Margolis <dmargolis@google.com> =
wrote:
>=20
>=20
> On Thu, Apr 14, 2016 at 8:38 AM, Viktor Dukhovni =
<ietf-dane@dukhovni.org> wrote:
>=20
> If the STS spec is just for email between Yahoo and Gmail, sure,
> go for it.  Less work for me, I won't need to implement yet another
> transport security mechanism.
>=20
> A more reasonably modest STS would stay well clear of prescribing
> such fine details.  Once the policy lookup requires WebPKI support,
> pinning MX host certs is fragile over-engineering.
>=20
> To be clear, HPKP allows pinning a root or intermediate cert, not just =
the host cert. I think pinning someone in the cert chain and not the =
host cert is generally preferable (in terms of safety and ease of =
certificate rollover).

The SMTP-STS draft mentions 'certificate pinning' as future work. Would =
you really want to go the way of HPKP? It's been an utter deployment and =
management disaster [0] [1]. While I agree that pinning to host-keys =
will mean more trouble for admins, I do feel that HPKP in general is a =
completely wrong approach. Adding this on top of STS will most surely =
make mails bounce at massive scale, at least in small deployments. =
Companies like the ones authoring the STS draft will have proper =
engineering teams and man-power available. Not every MX on the internet =
is Gmail or Yahoo, just to reiterate my concern about STS's complexity =
and out-of-band behaviour.

I've repeatedly suggested a better solution for pinning that works with =
WebPKI based trust anchors and would not need a webserver along with an =
MTA.

To be honest: this is getting a bit frustrating. I feel the STS authors =
look for a solution that works well within their domains and management =
cycles, but that's far from the rest of the internet community - they do =
not have the same man-power as said companies have. And even automating =
HPKP is doomed to fail, some tried, I haven't seen a good working =
solution.

Aaron

[0] =
http://news.netcraft.com/archives/2016/03/30/http-public-key-pinning-youre=
-doing-it-wrong.html (current)
[1] https://www.internetsociety.org/sites/default/files/01_4_0.pdf =
(about a year old)

--Apple-Mail=_7E2FA12B-8C9D-4ED8-B3C9-0C2E17CC95C5
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----

iQIcBAEBCgAGBQJXD4rVAAoJEOTbZJL9ubXVgSEP/10xtrLAizej6Uk31bD5Gwt9
tacu132JSMZORAZMuylHjvypwRIXert5SKfVc2PUg1p03waeZkBGl7CKFw+vJCw5
6Bzp+Rtyxt2wJ+UlW5O1vhfJQs2RBJWXX+v5O3+yqhr/RFR5fM30TI3gxt9X9101
E0HHTlXWZPmgXiI8xD0rnEdhc6x7LAGYFiN6PbaCi7S4QmaaHMbZFTHT155k2K0U
r8FPI1x2Kxp7Qno/OQhQGpD47u5kCUc+aKCsyvNXQ9L1XUsv89pmmxtcYv208FE4
gyG57W7aUhAu7a9cVnZapfnHJuhAMhit0BdctM2Z4UgorgT7AqAzD6ASgThnrFWr
zaOWvSKGc4+FM8ob/aBgnmxVhBVAJIBjG+vF+Nd8u9uB8DrjBOs8+qTzz5AsFtNn
I1eavDUClPduLQliOxC+I2Z7IhN8o4b3eYIkFxxEBqsKA+fpSPk9JXQNx+OHrWCi
O3Ie6Yj0IW6fXeRvxvUI383kAefITQKRv1aOJy3LKRi0B4wED9daEDnh8Hkmj8UR
SRq4/sQFfN8AAhGGh13diNiCvIsJ1cSYrqsx2nFJBiV1Gi7EkaFCIXFp1PHYlrp1
8+MSfVV3/lcspzbBaB1iVO3gdwpOBm+ddxWYEF9H1Dfeh4ImRXz/Lm2m4b3f5vZZ
K427Das1IT4EY548yLlC
=6mtQ
-----END PGP SIGNATURE-----

--Apple-Mail=_7E2FA12B-8C9D-4ED8-B3C9-0C2E17CC95C5--


From nobody Thu Apr 14 05:44:03 2016
Return-Path: <azet@azet.org>
X-Original-To: uta@ietfa.amsl.com
Delivered-To: uta@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B50FC12D0C0 for <uta@ietfa.amsl.com>; Thu, 14 Apr 2016 05:44:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.7
X-Spam-Level: 
X-Spam-Status: No, score=-2.7 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=azet.org
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 6O5lYDlRT2uA for <uta@ietfa.amsl.com>; Thu, 14 Apr 2016 05:43:57 -0700 (PDT)
Received: from mail-pa0-x22d.google.com (mail-pa0-x22d.google.com [IPv6:2607:f8b0:400e:c03::22d]) (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 C793412E066 for <uta@ietf.org>; Thu, 14 Apr 2016 05:43:57 -0700 (PDT)
Received: by mail-pa0-x22d.google.com with SMTP id zm5so44768804pac.0 for <uta@ietf.org>; Thu, 14 Apr 2016 05:43:57 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=azet.org; s=gmail; h=subject:mime-version:from:in-reply-to:date:cc:message-id:references :to; bh=DlZ0zbGkwwCnn40c9GZUO/GjP0LlcUzRt7l/nlcMSUo=; b=QMVTI8UkxQrFd/HJdDRtCyrJga3qWiqXUtlkD338oDwMAJSCnGUwJNLOJclLDo/L38 T6utRa2ATANDmt1d3sABkBV6Q5MNUdHtIg1FrkIBMqRZWPEWBo6EOYKmlDOR5U4ZGcf4 dEb7JVpuGvUiMFr7JVLyv72D4F84bLTBjJUWQ=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:mime-version:from:in-reply-to:date:cc :message-id:references:to; bh=DlZ0zbGkwwCnn40c9GZUO/GjP0LlcUzRt7l/nlcMSUo=; b=WwcxxHQdeRgVGPifFSJ9Kxrmf3cz5DNHrBp4nrSZuGz71IgTdu2gvoK3t+/UsRho9u zjX1KrPQoyoPUStIRmGmJ9qGTjhQs2bYAeAJz9A0cPvOPcSJAwp43Sc7bYTPOQmnZclS 3cuaa3qoYzmA57NK7NCqIlNaw5dDn0LJx34MOt5HijkzXcChHRR1I8OPVUu51kVPkqY8 t/oC70892zfVpwNZr6tZpmbDJnuQnMsMa9UbJXZj609VsnCIQdWCTLEIK4JXodRMC+6K 3a7sfHWPyhd/eXQUMe0FwaF3iTZqWaj6le1T8o6b3pjCrDhiPHdE1vMC5vYO8ENQFC70 i6/Q==
X-Gm-Message-State: AOPr4FXeffGAsOOaO7bCi34i/4zQ1f/7fIunwF1aKB1elAp20x6q5Lk28kWWyyE764itgA==
X-Received: by 10.67.23.202 with SMTP id ic10mr20277639pad.127.1460637837386;  Thu, 14 Apr 2016 05:43:57 -0700 (PDT)
Received: from [192.168.0.128] (node-278.pool-180-180.dynamic.totbb.net. [180.180.11.36]) by smtp.gmail.com with ESMTPSA id y27sm57855657pfi.11.2016.04.14.05.43.54 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 14 Apr 2016 05:43:55 -0700 (PDT)
Mime-Version: 1.0 (Mac OS X Mail 9.2 \(3112\))
Content-Type: multipart/signed; boundary="Apple-Mail=_3C2DC737-880F-4CFD-B559-14694D53DBB6"; protocol="application/pgp-signature"; micalg=pgp-sha512
X-Pgp-Agent: GPGMail 2.6b2
From: Aaron Zauner <azet@azet.org>
In-Reply-To: <28DE8B5E-C588-48C3-A6ED-790C45A5B103@azet.org>
Date: Thu, 14 Apr 2016 19:44:30 +0700
Message-Id: <F1A7EE24-DDCA-4D06-A696-6BAF0DCF4B94@azet.org>
References: <20160413191405.GF26423@mournblade.imrryr.org> <542002133.1160.1460581138072.JavaMail.yahoo@mail.yahoo.com> <20160414063807.GB17212@mournblade.imrryr.org> <CANtKdUdT+Lf89-EiJQ9rCvv=ph+z2AJEjSM7KUDcs85ztgRPEw@mail.gmail.com> <28DE8B5E-C588-48C3-A6ED-790C45A5B103@azet.org>
To: Daniel Margolis <dmargolis@google.com>
X-Mailer: Apple Mail (2.3112)
Archived-At: <http://mailarchive.ietf.org/arch/msg/uta/eYpx5SgSX34RhmdEk3q0X_e-Utk>
Cc: uta@ietf.org
Subject: Re: [Uta] "webby" STS and DANE/DNSSEC co-existence
X-BeenThere: uta@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: UTA working group mailing list <uta.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/uta>, <mailto:uta-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/uta/>
List-Post: <mailto:uta@ietf.org>
List-Help: <mailto:uta-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/uta>, <mailto:uta-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 14 Apr 2016 12:44:01 -0000

--Apple-Mail=_3C2DC737-880F-4CFD-B559-14694D53DBB6
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

Post-scriptum:

> On 14 Apr 2016, at 19:19, Aaron Zauner <azet@azet.org> wrote:
> [0] =
http://news.netcraft.com/archives/2016/03/30/http-public-key-pinning-youre=
-doing-it-wrong.html (current)
> [1] https://www.internetsociety.org/sites/default/files/01_4_0.pdf =
(about a year old)

These two studies outline something very well: while tech. invented and =
used at Google like HPKP works very well between their servers and =
client software they distribute, update and maintain themselves, it has =
been a failure for the broader internet community. I initially had big =
hopes for HPKP as it   effectively by-passed the TLS working group to =
become a standard. TACK had been the (earlier, far better) alternative, =
but got stuck in TLS-WG due to a more general discussion on the CA =
eco-system, mostly ignoring the superior features, some of which the =
HPKP authors re-used as I'm sure you're all aware. The end result after =
standardisation and people trying to write proper deployment automation =
scripts is just bad. HSTS had it's difficulties but it's a far better =
protocol if you ask me. I also feel the feedback mechanism in HPKP is =
rather poorly designed.

Aaron

--Apple-Mail=_3C2DC737-880F-4CFD-B559-14694D53DBB6
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----

iQIcBAEBCgAGBQJXD5CvAAoJEOTbZJL9ubXVEsAP/A3w89K+o4fRejJzojwVWW2B
R8AZed+ORoQE170l/M9c+KFX+DHcFlisv7ZxQ924m+EXbU70A9eNkrESMR1GkhSG
49g/+YN1urF5loXlCIF0OX086eUTvm35OmbmWTyRzsdUPQOyvW/SE7qG3UJPP0K+
BXt3rA6KmZnBDahBbHBdXTag0KFRXXtFl+K3FxTP3w+5lDGXnRqzRzx44n1r1v3z
w94BDGeBHb1XSVdgYCVb/bu2HTk4Nq3S4aMTxtBQrzPk+NSHrYklhFjklTzrBJLT
y981Ny2C4kddfvdQrEml9GIOizk5VCIP9+1ebVz7hzY0NS2Enuv01O+K7yAfJJnX
3Ez8/snOGdhoqPF/EXSfYsvrX87vsZZSCnsf38FaFgStT+gl1IpHFlCTVhoO5grA
9DVm/SnTj3QnF2Tv1ibu5OuoMKpzhHTiHD6h/yJYqCRDRbuEkPNEmEMQbisIW/ys
pRZd2XGKUgP1N9kSgx/BOj+1zbPT3AH+Rka/U5eTOcOp1KrKfbS1yiuZGzUxcKFw
6Q7L209feIRudyma0foJz/VSDbtC/WFbHB7R58OSJAA3g8KkHNbTWtqTbtaxsNxO
RrgkyL/0A8MgJSnZIqmgg7hmWB5CNX7K+UB2S2Z5htBFyPmb4pARZ+B2dTAieu5U
0+8I/zNePNDkdDyB6s17
=PGSK
-----END PGP SIGNATURE-----

--Apple-Mail=_3C2DC737-880F-4CFD-B559-14694D53DBB6--


From nobody Thu Apr 14 07:20:02 2016
Return-Path: <arvel@thehathcocks.com>
X-Original-To: uta@ietfa.amsl.com
Delivered-To: uta@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0CD9012D5A9 for <uta@ietfa.amsl.com>; Thu, 14 Apr 2016 07:20:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.918
X-Spam-Level: 
X-Spam-Status: No, score=-0.918 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FROM_12LTRDOM=0.1, RDNS_DYNAMIC=0.982] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=thehathcocks.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 HV1m1I2ZwTdo for <uta@ietfa.amsl.com>; Thu, 14 Apr 2016 07:20:01 -0700 (PDT)
Received: from mail.thehathcocks.com (108-198-31-66.lightspeed.rcsntx.sbcglobal.net [108.198.31.66]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id DD24112D12A for <uta@ietf.org>; Thu, 14 Apr 2016 07:20:00 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=thehathcocks.com; s=MDaemon; t=1460643602; x=1461248402; i=arvel@thehathcocks.com; q=dns/txt; h=MDPGP-Results:From:To:Subject:Message-ID:Date: User-Agent:MIME-Version:Content-Type; bh=YcMz1+r5Tw5tkBMbaWJj7KY qdUMSFW8VlXuIXqEt/vE=; b=jkbAmNRLsRzSollkEXIFsCSa6ezKy2pZ7keVoCA fd4IZms0s18eT5dKODmEyYSiCwaBgwyBqcYgolV4+1qQ8JvlBJVqqFCyCc2As/11 +Qu5FoFR1NuzF64icsooW0eXt6iqvwx4NLQ3SkH3qburi6ujI2W5Q0HFH+R/xSgr jLS4=
X-MDAV-Result: clean
X-MDAV-Processed: mail.thehathcocks.com, Thu, 14 Apr 2016 09:20:02 -0500
Received: from [x.x.x.x] by mail.thehathcocks.com (Cipher TLSv1.2:AES-SHA:256) with ESMTPSA id md50000134622.msg for <uta@ietf.org>; Thu, 14 Apr 2016 09:20:02 -0500
X-Spam-Processed: mail.thehathcocks.com, Thu, 14 Apr 2016 09:20:02 -0500 (not processed: message from trusted or authenticated source)
X-MDRemoteIP: 108.198.31.66
X-MDArrival-Date: Thu, 14 Apr 2016 09:20:02 -0500
X-Authenticated-Sender: arvel@thehathcocks.com
X-Return-Path: arvel@thehathcocks.com
X-Envelope-From: arvel@thehathcocks.com
X-MDaemon-Deliver-To: uta@ietf.org
MDPGP-Results: mail.thehathcocks.com; Thu, 14 Apr 2016 09:20:02 -0500; id=051582; t=s; e=arvel@thehathcocks.com; k=052328682E7D7DF5; signed by arvel@thehathcocks.com with key-id 052328682E7D7DF5
From: Arvel Hathcock <arvel@thehathcocks.com>
To: uta@ietf.org
Message-ID: <570FA711.9060307@thehathcocks.com>
Date: Thu, 14 Apr 2016 09:20:01 -0500
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="MDaemon_PGP_part_boundary_1460643601"; micalg=pgp-sha1; protocol="application/pgp-signature"
Archived-At: <http://mailarchive.ietf.org/arch/msg/uta/FmHK6KQ3ur_6LSWYkhCTf9XOPnQ>
Subject: [Uta] Implementing STS
X-BeenThere: uta@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: UTA working group mailing list <uta.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/uta>, <mailto:uta-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/uta/>
List-Post: <mailto:uta@ietf.org>
List-Help: <mailto:uta-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/uta>, <mailto:uta-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 14 Apr 2016 14:20:02 -0000

--MDaemon_PGP_part_boundary_1460643601
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit

Hi everyone!  I just wanted to speak up and say that in the case of my 
MTA (MDaemon) the question of whether to link in a web-client lib is a 
non-issue because (for me) that had to be done years ago. Perhaps that 
lib is not called by the SMTP delivery code but its in the EXE already 
at least. I have no serious issue with this and one way to handle it (as 
I think was mentioned before) is by deferring back to queue any delivery 
attempt which finds a previously unknown STS policy record until such 
time (not long) as a separate thread safely dedicated to the task can 
validate the policy and update the cache file.  I will have to take this 
approach due to my MTA's internal design.

I also wanted to mention that I serve the world of the very small 
on-premise business community and I've received numerous emails stating 
the expectation and desire to have something like this implemented for 
them. This is a consequence of the STS articles etc recently put to 
press but also shows that its not only the big players who might push 
for it. Its true though that the vast majority are oblivious to these 
matters (which is fine) and they want us vendors to "just handle it" 
(which we should).  So I hope that this effort moves forward and above 
all does not get overly complicated.

A couple of tiny minor spec things for starters:  Section 3 says that MX 
patterns are required yet the example at the end of the doc doesn't have 
them.  Also,  "_.example.com" has the _ char as the wild-card.  Maybe 
there's a reason not to use * for this?  See, minor stuff.  It would be 
good to have some reference STS records/hosts setup somewhere that 
implementers can test against.

Arvel






--MDaemon_PGP_part_boundary_1460643601
Content-Type: application/pgp-signature; name="signature.asc"
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: OpenPGP for MDaemon v16.5.0a

wsBVAwUAVw+nEgUjKGgufX31AwK9xgf/QaWvfH8O6XGg5WOeSTz85Eqn5zpClR+f
2o1J9oSkEFCoAOp6FK3WtVcqc7SEL3o2G8+Xvc3rHyuLQR2B8sHT9thEu/3Cex0r
pKiyTX+mZKs7SzbfW/hfMRlhYeiqfUEBqOBNXlpq36SqWYTPU+2tBPLQire6IH70
WvfBR+coEz55oJ+BiYHfS63ifr5QC0+5GpN6cGhhaSsYm/7oE4HAEFQCfDMfyTy8
AHO1DAOi4k360rcaEK7psBjXUJ1obTNPsEcfsWLTO1oddOF//cYrdjYswJfNotOj
t0hGE7Arrw69mKy1ItyK8OdIeueksfMrppZi1ploDUyWd7cEtuzUfQ==
=LXav
-----END PGP SIGNATURE-----

--MDaemon_PGP_part_boundary_1460643601--


From nobody Thu Apr 14 09:54:59 2016
Return-Path: <chris.newman@oracle.com>
X-Original-To: uta@ietfa.amsl.com
Delivered-To: uta@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8E4B812DD42 for <uta@ietfa.amsl.com>; Thu, 14 Apr 2016 09:54:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.197
X-Spam-Level: 
X-Spam-Status: No, score=-5.197 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, RP_MATCHES_RCVD=-0.996, SPF_PASS=-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 OpLs3Yr9qREt for <uta@ietfa.amsl.com>; Thu, 14 Apr 2016 09:54:55 -0700 (PDT)
Received: from userp1040.oracle.com (userp1040.oracle.com [156.151.31.81]) (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 2A02C12D74B for <uta@ietf.org>; Thu, 14 Apr 2016 09:54:51 -0700 (PDT)
Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id u3EGsndt000551 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for <uta@ietf.org>; Thu, 14 Apr 2016 16:54:50 GMT
Received: from gotmail.us.oracle.com (gotmail.us.oracle.com [10.133.152.174]) by aserv0022.oracle.com (8.13.8/8.13.8) with ESMTP id u3EGsn6X001790 for <uta@ietf.org>; Thu, 14 Apr 2016 16:54:49 GMT
MIME-version: 1.0
Content-type: multipart/alternative; boundary="Boundary_(ID_77HUo+2/kiRU1ZiuRyAe4A)"
Received: from dhcp-amer-vpn-adc-anyconnect-10-154-168-221.vpn.oracle.com (dhcp-amer-vpn-adc-anyconnect-10-154-168-221.vpn.oracle.com [10.154.168.221]) by gotmail.us.oracle.com (Oracle Communications Messaging Server 8.0.0.0.0 64bit (built Mar 19 2015)) with ESMTPSA id <0O5M00A2JUZAO200@gotmail.us.oracle.com> for uta@ietf.org; Thu, 14 Apr 2016 09:54:48 -0700 (PDT)
Date: Thu, 14 Apr 2016 09:54:41 -0700
From: Chris Newman <chris.newman@oracle.com>
To: "=?utf-8?Q?uta=40ietf.org?=" <uta@ietf.org>
Message-id: <etPan.570fcb56.1b83edb9.17026@dhcp-amer-vpn-adc-anyconnect-10-154-168-221.vpn.oracle.com>
X-Mailer: Airmail (351)
X-Source-IP: aserv0022.oracle.com [141.146.126.234]
Archived-At: <http://mailarchive.ietf.org/arch/msg/uta/uof7KZ72cqWKN_bsp56PleEQH0k>
Subject: [Uta] STS directive registry: separate or shared?
X-BeenThere: uta@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: UTA working group mailing list <uta.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/uta>, <mailto:uta-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/uta/>
List-Post: <mailto:uta@ietf.org>
List-Help: <mailto:uta-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/uta>, <mailto:uta-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 14 Apr 2016 16:54:57 -0000

--Boundary_(ID_77HUo+2/kiRU1ZiuRyAe4A)
Content-type: text/plain; charset=utf-8
Content-transfer-encoding: quoted-printable
Content-disposition: inline

Right now we have 3 STS proposals: HSTS, SMTP relay STS and MUA STS (DEEP=
).

HSTS described its extensibility model, but punted on actually creating a=
 registry. A registry covering HSTS would be useful because there=E2=80=99=
s at least one limited-use directive in the wild in addition to those in =
the HSTS base spec. MUA STS currently describes an extensibility model an=
d creates a registry just for itself. SMTP relay STS is missing both an e=
xtensibility model and registry, although Viktor has made a compelling ca=
se that we we want to be minimal on SMTP relay STS directives (at least i=
nitially).

There are two ways to move forward:

1. Each protocol is responsible for it=E2=80=99s own extension model and =
registry. This has the advantage of getting MUA STS done sooner, but we=E2=
=80=99ll probably end up with 2 or 3 separate registries with some redund=
ancy and potential for semantic conflicts in STS directives with the same=
 name between protocols.

2. We create a combined STS registry that includes a protocol-applicabili=
ty field for each directive. Some directives would be multi-protocol (e.g=
., max-age may be shared between HSTS and SMTP relay STS), most would be =
single-protocol initially (that could change later). One advantage to thi=
s approach is it gives us a place to include some prose about why STS pro=
posals are different and why different applicability is important. But th=
is would take a bit longer and mean the WG would have another draft. This=
 would make life slightly simpler for SMTP relay STS as it would just hav=
e to describe its extensibility model and point to the shared registry. I=
f we do this, I am willing to co-author the shared-registry spec and Jeff=
 Hodges (co-author of HSTS spec) is also willing to co-author the spec.

I lean slightly towards option 2, but we need a WG rough consensus to pur=
sue that option as it=E2=80=99s a fairly significant change to MUA STS. C=
omments=3F

		- Chris


--Boundary_(ID_77HUo+2/kiRU1ZiuRyAe4A)
Content-type: text/html; charset=utf-8
Content-transfer-encoding: quoted-printable
Content-disposition: inline

<html><head><style>body=7Bfont-family:Helvetica,Arial;font-size:13px=7D</=
style></head><body style=3D=22word-wrap: break-word; -webkit-nbsp-mode: s=
pace; -webkit-line-break: after-white-space;=22><div id=3D=22bloop=5Fcust=
omfont=22 style=3D=22font-family:Helvetica,Arial;font-size:13px; color: r=
gba(0,0,0,1.0); margin: 0px; line-height: auto;=22>Right now we have 3 ST=
S proposals: HSTS, SMTP relay STS and MUA STS (DEEP).</div><div id=3D=22b=
loop=5Fcustomfont=22 style=3D=22font-family:Helvetica,Arial;font-size:13p=
x; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;=22><br></div><=
div id=3D=22bloop=5Fcustomfont=22 style=3D=22font-family:Helvetica,Arial;=
font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;=22=
>HSTS described its extensibility model, but punted on actually creating =
a registry. A registry covering HSTS would be useful because there=E2=80=99=
s at least one limited-use directive in the wild in addition to those in =
the HSTS base spec. MUA STS currently describes an extensibility model an=
d creates a registry just for itself. SMTP relay STS is missing both an e=
xtensibility model and registry, although Viktor has made a compelling ca=
se that we we want to be minimal on SMTP relay STS directives (at least i=
nitially).</div><div id=3D=22bloop=5Fcustomfont=22 style=3D=22font-family=
:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; lin=
e-height: auto;=22><br></div><div id=3D=22bloop=5Fcustomfont=22 style=3D=22=
font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margi=
n: 0px; line-height: auto;=22>There are two ways to move forward:</div><d=
iv id=3D=22bloop=5Fcustomfont=22 style=3D=22font-family:Helvetica,Arial;f=
ont-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;=22=
><br></div><div id=3D=22bloop=5Fcustomfont=22 style=3D=22font-family:Helv=
etica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-hei=
ght: auto;=22>1. Each protocol is responsible for it=E2=80=99s own extens=
ion model and registry. This has the advantage of getting MUA STS done so=
oner, but we=E2=80=99ll probably end up with 2 or 3 separate registries w=
ith some redundancy and potential for semantic conflicts in STS directive=
s with the same name between protocols.</div><div id=3D=22bloop=5Fcustomf=
ont=22 style=3D=22font-family:Helvetica,Arial;font-size:13px; color: rgba=
(0,0,0,1.0); margin: 0px; line-height: auto;=22><br></div><div id=3D=22bl=
oop=5Fcustomfont=22 style=3D=22font-family:Helvetica,Arial;font-size:13px=
; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;=22>2. We create=
 a combined STS registry that includes a protocol-applicability field for=
 each directive. Some directives would be multi-protocol (e.g., max-age m=
ay be shared between HSTS and SMTP relay STS), most would be single-proto=
col initially (that could change later). One advantage to this approach i=
s it gives us a place to include some prose about why STS proposals are d=
ifferent and why different applicability is important. But this would tak=
e a bit longer and mean the WG would have another draft. This would make =
life slightly simpler for SMTP relay STS as it would just have to describ=
e its extensibility model and point to the shared registry. If we do this=
, I am willing to co-author the shared-registry spec and Jeff Hodges (co-=
author of HSTS spec) is also willing to co-author the spec.</div><div id=3D=
=22bloop=5Fcustomfont=22 style=3D=22font-family:Helvetica,Arial;font-size=
:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;=22><br></d=
iv><div id=3D=22bloop=5Fcustomfont=22 style=3D=22font-family:Helvetica,Ar=
ial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: aut=
o;=22>I lean slightly towards option 2, but we need a WG rough consensus =
to pursue that option as it=E2=80=99s a fairly significant change to MUA =
STS. Comments=3F</div><div id=3D=22bloop=5Fcustomfont=22 style=3D=22font-=
family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0p=
x; line-height: auto;=22><br></div><div id=3D=22bloop=5Fcustomfont=22 sty=
le=3D=22font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0=
); margin: 0px; line-height: auto;=22><span class=3D=22Apple-tab-span=22 =
style=3D=22white-space:pre=22>		</span>- Chris</div><div id=3D=22bloop=5F=
customfont=22 style=3D=22font-family:Helvetica,Arial;font-size:13px; colo=
r: rgba(0,0,0,1.0); margin: 0px; line-height: auto;=22><br></div></body><=
/html>=

--Boundary_(ID_77HUo+2/kiRU1ZiuRyAe4A)--


From nobody Thu Apr 14 09:58:27 2016
Return-Path: <alexey.melnikov@isode.com>
X-Original-To: uta@ietfa.amsl.com
Delivered-To: uta@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8744C12E2D6 for <uta@ietfa.amsl.com>; Thu, 14 Apr 2016 09:58:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.996
X-Spam-Level: 
X-Spam-Status: No, score=-2.996 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RP_MATCHES_RCVD=-0.996, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=isode.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 vSXQ9I8M9BHY for <uta@ietfa.amsl.com>; Thu, 14 Apr 2016 09:58:23 -0700 (PDT)
Received: from waldorf.isode.com (waldorf.isode.com [62.232.206.188]) by ietfa.amsl.com (Postfix) with ESMTP id B2F0412E11C for <uta@ietf.org>; Thu, 14 Apr 2016 09:58:23 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1460653102; d=isode.com; s=selector; i=@isode.com; bh=7s3us7E7fblTFGjaGAK4m8BVwTVSPOSnPjQBQJn81vA=; h=From:Sender:Reply-To:Subject:Date:Message-ID:To:Cc:MIME-Version: In-Reply-To:References:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description; b=nzltoiyyiY+5dIYB9lxX7Wya0UvPxS65pO7PIpuvexLyTjlto25yPl7lsQGXS/oZKAyU15 53dno6UhsIwkRqiYoXEn85cFojyAQ380X7htENMC4LjEYxcpyobJMFGlPkYANi5r5/xNGK 7L1jqINZA8LoUeC/vOPnO16e1zFG+3A=;
Received: from [172.20.1.215] (dhcp-215.isode.net [172.20.1.215])  by waldorf.isode.com (submission channel) via TCP with ESMTPSA  id <Vw=MLgBntBkD@waldorf.isode.com>; Thu, 14 Apr 2016 17:58:22 +0100
To: Chris Newman <chris.newman@oracle.com>, "uta@ietf.org" <uta@ietf.org>
References: <etPan.570fcb56.1b83edb9.17026@dhcp-amer-vpn-adc-anyconnect-10-154-168-221.vpn.oracle.com>
From: Alexey Melnikov <alexey.melnikov@isode.com>
Message-ID: <570FCBC3.6030304@isode.com>
Date: Thu, 14 Apr 2016 17:56:35 +0100
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0
In-Reply-To: <etPan.570fcb56.1b83edb9.17026@dhcp-amer-vpn-adc-anyconnect-10-154-168-221.vpn.oracle.com>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="------------040601060402050200030202"
Archived-At: <http://mailarchive.ietf.org/arch/msg/uta/RAlrKztGxk1hUD59F-E3pVOnQsA>
Subject: Re: [Uta] STS directive registry: separate or shared?
X-BeenThere: uta@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: UTA working group mailing list <uta.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/uta>, <mailto:uta-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/uta/>
List-Post: <mailto:uta@ietf.org>
List-Help: <mailto:uta-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/uta>, <mailto:uta-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 14 Apr 2016 16:58:25 -0000

--------------040601060402050200030202
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-transfer-encoding: quoted-printable

Hi Chris,

On 14/04/2016 17:54, Chris Newman wrote:
> Right now we have 3 STS proposals: HSTS, SMTP relay STS and MUA STS=20
> (DEEP).
>
> HSTS described its extensibility model, but punted on actually=20
> creating a registry. A registry covering HSTS would be useful because=20
> there=92s at least one limited-use directive in the wild in addition to=20
> those in the HSTS base spec. MUA STS currently describes an=20
> extensibility model and creates a registry just for itself. SMTP relay=20
> STS is missing both an extensibility model and registry, although=20
> Viktor has made a compelling case that we we want to be minimal on=20
> SMTP relay STS directives (at least initially).
>
> There are two ways to move forward:
>
> 1. Each protocol is responsible for it=92s own extension model and=20
> registry. This has the advantage of getting MUA STS done sooner, but=20
> we=92ll probably end up with 2 or 3 separate registries with some=20
> redundancy and potential for semantic conflicts in STS directives with=20
> the same name between protocols.
>
> 2. We create a combined STS registry that includes a=20
> protocol-applicability field for each directive. Some directives would=20
> be multi-protocol (e.g., max-age may be shared between HSTS and SMTP=20
> relay STS), most would be single-protocol initially (that could change=20
> later). One advantage to this approach is it gives us a place to=20
> include some prose about why STS proposals are different and why=20
> different applicability is important. But this would take a bit longer=20
> and mean the WG would have another draft. This would make life=20
> slightly simpler for SMTP relay STS as it would just have to describe=20
> its extensibility model and point to the shared registry. If we do=20
> this, I am willing to co-author the shared-registry spec and Jeff=20
> Hodges (co-author of HSTS spec) is also willing to co-author the spec.
>
> I lean slightly towards option 2, but we need a WG rough consensus to=20
> pursue that option as it=92s a fairly significant change to MUA STS.=20
> Comments?
>
I think I prefer option 2 or at least I would like to see us try. I am=20
happy to help with this.

Best Regards,
Alexey


--------------040601060402050200030202
Content-Type: text/html; charset=windows-1252
Content-transfer-encoding: quoted-printable

<html>
  <head>
    <meta content=3D"text/html; charset=3Dwindows-1252"
      http-equiv=3D"Content-Type">
  </head>
  <body bgcolor=3D"#FFFFFF" text=3D"#000000">
    Hi Chris,<br>
    <br>
    <div class=3D"moz-cite-prefix">On 14/04/2016 17:54, Chris Newman
      wrote:<br>
    </div>
    <blockquote
cite=3D"mid:etPan.570fcb56.1b83edb9.17026@dhcp-amer-vpn-adc-anyconnect-10-15=
4-168-221.vpn.oracle.com"
      type=3D"cite">
      <style>body{font-family:Helvetica,Arial;font-size:13px}</style>
      <div id=3D"bloop_customfont"
        style=3D"font-family:Helvetica,Arial;font-size:13px; color:
        rgba(0,0,0,1.0); margin: 0px; line-height: auto;">Right now we
        have 3 STS proposals: HSTS, SMTP relay STS and MUA STS (DEEP).</div>
      <div id=3D"bloop_customfont"
        style=3D"font-family:Helvetica,Arial;font-size:13px; color:
        rgba(0,0,0,1.0); margin: 0px; line-height: auto;"><br>
      </div>
      <div id=3D"bloop_customfont"
        style=3D"font-family:Helvetica,Arial;font-size:13px; color:
        rgba(0,0,0,1.0); margin: 0px; line-height: auto;">HSTS described
        its extensibility model, but punted on actually creating a
        registry. A registry covering HSTS would be useful because
        there=92s at least one limited-use directive in the wild in
        addition to those in the HSTS base spec. MUA STS currently
        describes an extensibility model and creates a registry just for
        itself. SMTP relay STS is missing both an extensibility model
        and registry, although Viktor has made a compelling case that we
        we want to be minimal on SMTP relay STS directives (at least
        initially).</div>
      <div id=3D"bloop_customfont"
        style=3D"font-family:Helvetica,Arial;font-size:13px; color:
        rgba(0,0,0,1.0); margin: 0px; line-height: auto;"><br>
      </div>
      <div id=3D"bloop_customfont"
        style=3D"font-family:Helvetica,Arial;font-size:13px; color:
        rgba(0,0,0,1.0); margin: 0px; line-height: auto;">There are two
        ways to move forward:</div>
      <div id=3D"bloop_customfont"
        style=3D"font-family:Helvetica,Arial;font-size:13px; color:
        rgba(0,0,0,1.0); margin: 0px; line-height: auto;"><br>
      </div>
      <div id=3D"bloop_customfont"
        style=3D"font-family:Helvetica,Arial;font-size:13px; color:
        rgba(0,0,0,1.0); margin: 0px; line-height: auto;">1. Each
        protocol is responsible for it=92s own extension model and
        registry. This has the advantage of getting MUA STS done sooner,
        but we=92ll probably end up with 2 or 3 separate registries with
        some redundancy and potential for semantic conflicts in STS
        directives with the same name between protocols.</div>
      <div id=3D"bloop_customfont"
        style=3D"font-family:Helvetica,Arial;font-size:13px; color:
        rgba(0,0,0,1.0); margin: 0px; line-height: auto;"><br>
      </div>
      <div id=3D"bloop_customfont"
        style=3D"font-family:Helvetica,Arial;font-size:13px; color:
        rgba(0,0,0,1.0); margin: 0px; line-height: auto;">2. We create a
        combined STS registry that includes a protocol-applicability
        field for each directive. Some directives would be
        multi-protocol (e.g., max-age may be shared between HSTS and
        SMTP relay STS), most would be single-protocol initially (that
        could change later). One advantage to this approach is it gives
        us a place to include some prose about why STS proposals are
        different and why different applicability is important. But this
        would take a bit longer and mean the WG would have another
        draft. This would make life slightly simpler for SMTP relay STS
        as it would just have to describe its extensibility model and
        point to the shared registry. If we do this, I am willing to
        co-author the shared-registry spec and Jeff Hodges (co-author of
        HSTS spec) is also willing to co-author the spec.</div>
      <div id=3D"bloop_customfont"
        style=3D"font-family:Helvetica,Arial;font-size:13px; color:
        rgba(0,0,0,1.0); margin: 0px; line-height: auto;"><br>
      </div>
      <div id=3D"bloop_customfont"
        style=3D"font-family:Helvetica,Arial;font-size:13px; color:
        rgba(0,0,0,1.0); margin: 0px; line-height: auto;">I lean
        slightly towards option 2, but we need a WG rough consensus to
        pursue that option as it=92s a fairly significant change to MUA
        STS. Comments?</div>
      <br>
    </blockquote>
    I think I prefer option 2 or at least I would like to see us try. I
    am happy to help with this.<br>
    <br>
    Best Regards,<br>
    Alexey<br>
    <br>
  </body>
</html>

--------------040601060402050200030202--


From nobody Thu Apr 14 09:59:40 2016
Return-Path: <ietf-dane@dukhovni.org>
X-Original-To: uta@ietfa.amsl.com
Delivered-To: uta@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BA89012DAF7 for <uta@ietfa.amsl.com>; Thu, 14 Apr 2016 09:59:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001] 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 rOxK_5wYbdDK for <uta@ietfa.amsl.com>; Thu, 14 Apr 2016 09:59:38 -0700 (PDT)
Received: from mournblade.imrryr.org (mournblade.imrryr.org [38.117.134.19]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 58B2E12D9B6 for <uta@ietf.org>; Thu, 14 Apr 2016 09:59:38 -0700 (PDT)
Received: by mournblade.imrryr.org (Postfix, from userid 1034) id 65185284DCA; Thu, 14 Apr 2016 16:59:37 +0000 (UTC)
Date: Thu, 14 Apr 2016 16:59:37 +0000
From: Viktor Dukhovni <ietf-dane@dukhovni.org>
To: uta@ietf.org
Message-ID: <20160414165937.GH26423@mournblade.imrryr.org>
References: <570FA711.9060307@thehathcocks.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <570FA711.9060307@thehathcocks.com>
User-Agent: Mutt/1.5.24 (2015-08-30)
Archived-At: <http://mailarchive.ietf.org/arch/msg/uta/QLdp8DbOLWs7xHK-U1RDyQjQlI0>
Subject: Re: [Uta] Implementing STS
X-BeenThere: uta@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
Reply-To: uta@ietf.org
List-Id: UTA working group mailing list <uta.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/uta>, <mailto:uta-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/uta/>
List-Post: <mailto:uta@ietf.org>
List-Help: <mailto:uta-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/uta>, <mailto:uta-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 14 Apr 2016 16:59:39 -0000

On Thu, Apr 14, 2016 at 09:20:01AM -0500, Arvel Hathcock wrote:

> ... one way to handle it (as I think was mentioned before) is by deferring
> back to queue any delivery attempt which finds a previously unknown STS
> policy record until such time (not long) as a separate thread safely
> dedicated to the task can validate the policy and update the cache file.
> I will have to take this approach due to my MTA's internal design.

Doing background policy validation makes sense, but deferring
delivery until that completes is requires some care.  A policy
might be invalid for some time, and during that time you want to
periodically retest (in the background, subject to some minimum
inter-probe delay) while continuing normal email delivery to the
domain.

This means that if background validation is your approach, you
would defer mail only until the first validation succeeds or fails.
In case of failure, keep retesting the policy periodically, but
continue delivery without delay.

> A couple of tiny minor spec things for starters:  Section 3 says that MX
> patterns are required yet the example at the end of the doc doesn't have
> them.  Also,  "_.example.com" has the _ char as the wild-card.  Maybe
> there's a reason not to use * for this?  See, minor stuff.  It would be good
> to have some reference STS records/hosts setup somewhere that implementers
> can test against.

It is still much too early for that, the draft proposal is I think
due for some major incompatible changes.

-- 
	Viktor.


From nobody Thu Apr 14 11:39:04 2016
Return-Path: <ietf-dane@dukhovni.org>
X-Original-To: uta@ietfa.amsl.com
Delivered-To: uta@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3752712D6D5; Thu, 14 Apr 2016 11:39:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001] 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 3ZC1ymrTmI2H; Thu, 14 Apr 2016 11:38:58 -0700 (PDT)
Received: from mournblade.imrryr.org (mournblade.imrryr.org [38.117.134.19]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B848A12D5D6; Thu, 14 Apr 2016 11:38:57 -0700 (PDT)
Received: by mournblade.imrryr.org (Postfix, from userid 1034) id D4C76284DCA; Thu, 14 Apr 2016 18:38:56 +0000 (UTC)
Date: Thu, 14 Apr 2016 18:38:56 +0000
From: Viktor Dukhovni <ietf-dane@dukhovni.org>
To: uta@ietf.org, dane@ietf.org
Message-ID: <20160414183856.GL26423@mournblade.imrryr.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.5.24 (2015-08-30)
Archived-At: <http://mailarchive.ietf.org/arch/msg/uta/SR2EKnnj8749AtVeIvjEEEXz7fg>
Subject: [Uta] NEWSFLASH: DANE TLSA records published for web.de!
X-BeenThere: uta@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
Reply-To: dane-users@sys4.de
List-Id: UTA working group mailing list <uta.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/uta>, <mailto:uta-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/uta/>
List-Post: <mailto:uta@ietf.org>
List-Help: <mailto:uta-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/uta>, <mailto:uta-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 14 Apr 2016 18:39:00 -0000

The web.de domain has just published DANE TLSA records for its MX
hosts.  This follows earlier "pilot" deployments with the smaller
mail.com and mail.de domains.

    web.de. IN MX 100 mx-ha02.web.de. ; AD=1
    _25._tcp.mx-ha02.web.de. IN TLSA 3 1 1 409c9e91a2a9f4d7881dbf0094b3839d4343a4a57d9bf559fdeb0c1f4c5b8b3e ; passed

    Subject = CN=mx-ha02.web.de,emailAddress=server-certs@1und1.de,L=Montabaur,ST=Rhineland-Palatinate,O=1&1 Mail & Media GmbH,C=DE
    Issuer = CN=TeleSec ServerPass DE-2,street=Untere Industriestr. 20,L=Netphen,postalCode=57250,ST=Nordrhein Westfalen,OU=T-Systems Trust Center,O=T-Systems International GmbH,C=DE
    Inception = 2014-07-22T11:21:46Z
    Expiration = 2017-07-27T23:59:59Z

    web.de. IN MX 100 mx-ha03.web.de. ; AD=1
    _25._tcp.mx-ha03.web.de. IN TLSA 3 1 1 33fccf0e82584b6133cf18d24ae592cc6cbc9cfcab13291a5585a2b20a30eb19 ; passed

    Subject = CN=mx-ha03.web.de,emailAddress=server-certs@1und1.de,L=Montabaur,ST=Rhineland-Palatinate,O=1&1 Mail & Media GmbH,C=DE
    Issuer = CN=TeleSec ServerPass DE-2,street=Untere Industriestr. 20,L=Netphen,postalCode=57250,ST=Nordrhein Westfalen,OU=T-Systems Trust Center,O=T-Systems International GmbH,C=DE
    Inception = 2014-07-22T11:22:46Z
    Expiration = 2017-07-27T23:59:59Z

This is a major milestone in DANE adoption.  [ IIRC they host
mailboxes for a substantial fraction of the population of Germany. ]

One approach to making sure that DANE TLSA records are less likely
to fail that should work well for sites using CA-issued certificates
is to publish both "3 1 1" and "2 1 1" TLSA records:

    mx.example. IN TLSA 3 1 1 <digest of server public key>
    mx.example. IN TLSA 2 1 1 <digest of immediate issuer public key>

    * The "3 1 1" record protects against "expiration" accidents, and
      unexpected changes in the issuer's public key (if new certificate
      chain deployment is automated).

    * The "2 1 1" record protects against key rotation errors should a
      a new server private key be deployed without updating the TLSA
      RRs.  Provided the new certificate is issued by the same CA
      is unexpired, ... the "2 1 1" record will match.

With a bit of monitoring to ensure that both records match,
simultaneous failures of both is much less likely.

This even makes it possible to avoid pre-deployment DNS TLSA records
updates when rotating certificates, provided at least one of the
issuer public key or the server public key is unchanged in the new
chain.

In particular, this is the best practice with Let's Encrypt
issued SMTP server certificates, as explained in:

    https://www.internetsociety.org/deploy360/blog/2016/03/lets-encrypt-certificates-for-mail-servers-and-dane-part-2-of-2/

-- 
	Viktor.


From nobody Thu Apr 14 18:16:25 2016
Return-Path: <risher@google.com>
X-Original-To: uta@ietfa.amsl.com
Delivered-To: uta@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0005012DB3F for <uta@ietfa.amsl.com>; Thu, 14 Apr 2016 18:16:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.696
X-Spam-Level: 
X-Spam-Status: No, score=-3.696 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RP_MATCHES_RCVD=-0.996, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=google.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 Wm1vBBKxJF9Z for <uta@ietfa.amsl.com>; Thu, 14 Apr 2016 18:16:22 -0700 (PDT)
Received: from mail-vk0-x233.google.com (mail-vk0-x233.google.com [IPv6:2607:f8b0:400c:c05::233]) (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 B549F12D957 for <uta@ietf.org>; Thu, 14 Apr 2016 18:16:21 -0700 (PDT)
Received: by mail-vk0-x233.google.com with SMTP id t129so130715572vkg.2 for <uta@ietf.org>; Thu, 14 Apr 2016 18:16:21 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=r8nPw4fNDMhMdarPAAVLjBTYss2oA/9uB1cyJ419wqM=; b=MFB2xfaQSFZBLpO7SS4ZyRxs6B9ufHZorD+q7EA6qxVlCz/y5OnWZX0NmVd8nUIn3E HHCaP3DMq5LTVQ+VaRfTIIjppvREHBj8Qi82hI606CU+5BaOW9ieskmACgfNQpbbiwoc x/yHOatF0wNOL+gLtlfbrIO3bBUYxZAiQ2M4PT0Vj8GzUg9X4Q/72cqy1yU50z6p5V9h utbEa/DbPFxFYvR7VVcL0OTd8qvu4IroDLcCUIuKsIoQ09WsTGUlhpESsCIHqyVv7YPe gyZTMVCjxdkUqHqnxKKejtXMBKqK7V3sUOO9n/F09R7q1yxgpKbUJbBAwlIPEAEXG3wk 6ZBw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=r8nPw4fNDMhMdarPAAVLjBTYss2oA/9uB1cyJ419wqM=; b=QCjPLCHEBpKPW4vzTnfeluooxBOY/7iF263dDF+mYiwgElhxl9F+xL0gDX4hpbjxU0 ockXvQwpKk0ILvdL5qYLfjw7v5AH29tkVKTOrjTyGegk786LHocLPqkQ57AdB0vWqb1o CXuJwasaqMSYY97iYx4uOSQtGHV6yXv/VNXvhBOyc3+8lpfDJjKp9dUux2+AeQ4yEgsN A1RsIeS8sabnI7KTwZEb4dASfeUnZnpA2zSDfzcPbQNdgppSYwuy6hEiIeS3FLw50HBl ZRl9gXfadR/0agPIlueIdj1i0PH2SsQy1wRDy1jIi1hL7LYodeNH0iEUSyhNIuf2nbed KWZA==
X-Gm-Message-State: AOPr4FWu/DvjE7Zz6A+VZem6byOn4sSXp32vopvzJVcnzVpWDLV8zhbof2GfO5wIe0/WQpbItkUv5eGuwNouUNh9
MIME-Version: 1.0
X-Received: by 10.31.136.65 with SMTP id k62mr9111068vkd.145.1460682980629; Thu, 14 Apr 2016 18:16:20 -0700 (PDT)
Received: by 10.159.39.38 with HTTP; Thu, 14 Apr 2016 18:16:20 -0700 (PDT)
In-Reply-To: <570FCBC3.6030304@isode.com>
References: <etPan.570fcb56.1b83edb9.17026@dhcp-amer-vpn-adc-anyconnect-10-154-168-221.vpn.oracle.com> <570FCBC3.6030304@isode.com>
Date: Thu, 14 Apr 2016 18:16:20 -0700
Message-ID: <CAB0W=GQUxT8fW+mV=HZZRqmE8fz=uri-g_7FG1nvJuz5JtP0eA@mail.gmail.com>
From: Mark Risher <risher@google.com>
To: Alexey Melnikov <alexey.melnikov@isode.com>
Content-Type: multipart/alternative; boundary=001a114418763125cf05307bc212
Archived-At: <http://mailarchive.ietf.org/arch/msg/uta/qqMFR3p0Oxbe4ArfJM4AZ4KN9PM>
Cc: "uta@ietf.org" <uta@ietf.org>, Chris Newman <chris.newman@oracle.com>
Subject: Re: [Uta] STS directive registry: separate or shared?
X-BeenThere: uta@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: UTA working group mailing list <uta.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/uta>, <mailto:uta-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/uta/>
List-Post: <mailto:uta@ietf.org>
List-Help: <mailto:uta-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/uta>, <mailto:uta-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 15 Apr 2016 01:16:24 -0000

--001a114418763125cf05307bc212
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

I like the idea of the shared registry (option 2). Let me know if there's a
particular way we should reference it in the SMTP STS draft.

/m



--
Mark E. Risher |  Group Product Manager |  risher@google.com |  650-253-312=
3

On Thu, Apr 14, 2016 at 9:56 AM, Alexey Melnikov <alexey.melnikov@isode.com=
>
wrote:

> Hi Chris,
>
> On 14/04/2016 17:54, Chris Newman wrote:
>
> Right now we have 3 STS proposals: HSTS, SMTP relay STS and MUA STS (DEEP=
).
>
> HSTS described its extensibility model, but punted on actually creating a
> registry. A registry covering HSTS would be useful because there=E2=80=99=
s at least
> one limited-use directive in the wild in addition to those in the HSTS ba=
se
> spec. MUA STS currently describes an extensibility model and creates a
> registry just for itself. SMTP relay STS is missing both an extensibility
> model and registry, although Viktor has made a compelling case that we we
> want to be minimal on SMTP relay STS directives (at least initially).
>
> There are two ways to move forward:
>
> 1. Each protocol is responsible for it=E2=80=99s own extension model and =
registry.
> This has the advantage of getting MUA STS done sooner, but we=E2=80=99ll =
probably
> end up with 2 or 3 separate registries with some redundancy and potential
> for semantic conflicts in STS directives with the same name between
> protocols.
>
> 2. We create a combined STS registry that includes a
> protocol-applicability field for each directive. Some directives would be
> multi-protocol (e.g., max-age may be shared between HSTS and SMTP relay
> STS), most would be single-protocol initially (that could change later).
> One advantage to this approach is it gives us a place to include some pro=
se
> about why STS proposals are different and why different applicability is
> important. But this would take a bit longer and mean the WG would have
> another draft. This would make life slightly simpler for SMTP relay STS a=
s
> it would just have to describe its extensibility model and point to the
> shared registry. If we do this, I am willing to co-author the
> shared-registry spec and Jeff Hodges (co-author of HSTS spec) is also
> willing to co-author the spec.
>
> I lean slightly towards option 2, but we need a WG rough consensus to
> pursue that option as it=E2=80=99s a fairly significant change to MUA STS=
. Comments?
>
> I think I prefer option 2 or at least I would like to see us try. I am
> happy to help with this.
>
> Best Regards,
> Alexey
>
>
> _______________________________________________
> Uta mailing list
> Uta@ietf.org
> https://www.ietf.org/mailman/listinfo/uta
>
>

--001a114418763125cf05307bc212
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">I like the idea of the shared registry (option 2). Let me =
know if there&#39;s a particular way we should reference it in the SMTP STS=
 draft.<div><br></div><div>/m</div></div><div class=3D"gmail_extra"><br cle=
ar=3D"all"><div><div class=3D"gmail_signature"><div dir=3D"ltr"><div><br></=
div><div><br></div>--<br style=3D"color:rgb(80,0,80)"><div dir=3D"ltr" styl=
e=3D"color:rgb(80,0,80)"><table cellspacing=3D"0" cellpadding=3D"0" style=
=3D"color:rgb(136,136,136)"><tbody><tr style=3D"color:rgb(85,85,85);font-fa=
mily:sans-serif;font-size:small"><td nowrap style=3D"border-top-style:solid=
;border-top-color:rgb(213,15,37);border-top-width:2px">Mark E. Risher |</td=
><td nowrap style=3D"border-top-style:solid;border-top-color:rgb(51,105,232=
);border-top-width:2px">=C2=A0Group Product Manager |</td><td nowrap style=
=3D"border-top-style:solid;border-top-color:rgb(0,153,57);border-top-width:=
2px">=C2=A0<a href=3D"mailto:risher@google.com" style=3D"color:rgb(17,85,20=
4)" target=3D"_blank">risher@google.com</a>=C2=A0|</td><td nowrap style=3D"=
border-top-style:solid;border-top-color:rgb(238,178,17);border-top-width:2p=
x">=C2=A0<a value=3D"+13109201977" style=3D"color:rgb(17,85,204)">650-253-3=
123</a></td></tr></tbody></table></div></div></div></div>
<br><div class=3D"gmail_quote">On Thu, Apr 14, 2016 at 9:56 AM, Alexey Meln=
ikov <span dir=3D"ltr">&lt;<a href=3D"mailto:alexey.melnikov@isode.com" tar=
get=3D"_blank">alexey.melnikov@isode.com</a>&gt;</span> wrote:<br><blockquo=
te class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc so=
lid;padding-left:1ex">
 =20
   =20
 =20
  <div bgcolor=3D"#FFFFFF" text=3D"#000000">
    Hi Chris,<span class=3D""><br>
    <br>
    <div>On 14/04/2016 17:54, Chris Newman
      wrote:<br>
    </div>
    <blockquote type=3D"cite">
     =20
      <div style=3D"font-family:Helvetica,Arial;font-size:13px;color:rgba(0=
,0,0,1.0);margin:0px;line-height:auto">Right now we
        have 3 STS proposals: HSTS, SMTP relay STS and MUA STS (DEEP).</div=
>
      <div style=3D"font-family:Helvetica,Arial;font-size:13px;color:rgba(0=
,0,0,1.0);margin:0px;line-height:auto"><br>
      </div>
      <div style=3D"font-family:Helvetica,Arial;font-size:13px;color:rgba(0=
,0,0,1.0);margin:0px;line-height:auto">HSTS described
        its extensibility model, but punted on actually creating a
        registry. A registry covering HSTS would be useful because
        there=E2=80=99s at least one limited-use directive in the wild in
        addition to those in the HSTS base spec. MUA STS currently
        describes an extensibility model and creates a registry just for
        itself. SMTP relay STS is missing both an extensibility model
        and registry, although Viktor has made a compelling case that we
        we want to be minimal on SMTP relay STS directives (at least
        initially).</div>
      <div style=3D"font-family:Helvetica,Arial;font-size:13px;color:rgba(0=
,0,0,1.0);margin:0px;line-height:auto"><br>
      </div>
      <div style=3D"font-family:Helvetica,Arial;font-size:13px;color:rgba(0=
,0,0,1.0);margin:0px;line-height:auto">There are two
        ways to move forward:</div>
      <div style=3D"font-family:Helvetica,Arial;font-size:13px;color:rgba(0=
,0,0,1.0);margin:0px;line-height:auto"><br>
      </div>
      <div style=3D"font-family:Helvetica,Arial;font-size:13px;color:rgba(0=
,0,0,1.0);margin:0px;line-height:auto">1. Each
        protocol is responsible for it=E2=80=99s own extension model and
        registry. This has the advantage of getting MUA STS done sooner,
        but we=E2=80=99ll probably end up with 2 or 3 separate registries w=
ith
        some redundancy and potential for semantic conflicts in STS
        directives with the same name between protocols.</div>
      <div style=3D"font-family:Helvetica,Arial;font-size:13px;color:rgba(0=
,0,0,1.0);margin:0px;line-height:auto"><br>
      </div>
      <div style=3D"font-family:Helvetica,Arial;font-size:13px;color:rgba(0=
,0,0,1.0);margin:0px;line-height:auto">2. We create a
        combined STS registry that includes a protocol-applicability
        field for each directive. Some directives would be
        multi-protocol (e.g., max-age may be shared between HSTS and
        SMTP relay STS), most would be single-protocol initially (that
        could change later). One advantage to this approach is it gives
        us a place to include some prose about why STS proposals are
        different and why different applicability is important. But this
        would take a bit longer and mean the WG would have another
        draft. This would make life slightly simpler for SMTP relay STS
        as it would just have to describe its extensibility model and
        point to the shared registry. If we do this, I am willing to
        co-author the shared-registry spec and Jeff Hodges (co-author of
        HSTS spec) is also willing to co-author the spec.</div>
      <div style=3D"font-family:Helvetica,Arial;font-size:13px;color:rgba(0=
,0,0,1.0);margin:0px;line-height:auto"><br>
      </div>
      <div style=3D"font-family:Helvetica,Arial;font-size:13px;color:rgba(0=
,0,0,1.0);margin:0px;line-height:auto">I lean
        slightly towards option 2, but we need a WG rough consensus to
        pursue that option as it=E2=80=99s a fairly significant change to M=
UA
        STS. Comments?</div>
      <br>
    </blockquote></span>
    I think I prefer option 2 or at least I would like to see us try. I
    am happy to help with this.<br>
    <br>
    Best Regards,<br>
    Alexey<br>
    <br>
  </div>

<br>_______________________________________________<br>
Uta mailing list<br>
<a href=3D"mailto:Uta@ietf.org">Uta@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/uta" rel=3D"noreferrer" ta=
rget=3D"_blank">https://www.ietf.org/mailman/listinfo/uta</a><br>
<br></blockquote></div><br></div>

--001a114418763125cf05307bc212--


From nobody Thu Apr 14 22:38:18 2016
Return-Path: <fenton@bluepopcorn.net>
X-Original-To: uta@ietfa.amsl.com
Delivered-To: uta@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 75B6F12E74E for <uta@ietfa.amsl.com>; Thu, 14 Apr 2016 22:38:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.996
X-Spam-Level: 
X-Spam-Status: No, score=-2.996 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RP_MATCHES_RCVD=-0.996, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=bluepopcorn.net
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 rM3k0bGEqXMN for <uta@ietfa.amsl.com>; Thu, 14 Apr 2016 22:38:14 -0700 (PDT)
Received: from v2.bluepopcorn.net (v2.bluepopcorn.net [IPv6:2607:f2f8:a994::2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 57E9212E74D for <uta@ietf.org>; Thu, 14 Apr 2016 22:38:14 -0700 (PDT)
Received: from splunge.local (c-50-136-244-117.hsd1.ca.comcast.net [50.136.244.117]) (authenticated bits=0) by v2.bluepopcorn.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id u3F5cCRR019717 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Thu, 14 Apr 2016 22:38:13 -0700
To: uta@ietf.org, Chris Newman <chris.newman@oracle.com>
References: <570C0CD2.9030401@cs.tcd.ie> <20160411212128.GA26423@mournblade.imrryr.org> <CANtKdUekXNkVvsfq0UjCiaaPVBgoVGfrfnYUrdoOf0EegXMuPg@mail.gmail.com> <20160413014304.GB26423@mournblade.imrryr.org> <CANtKdUf0kN5aOmX0-NsyQXz_+PRGfaXa37DFZoCX3FqdYh5CpA@mail.gmail.com> <etPan.570e8549.3d8c14b4.1614d@jcaps-rd2.us.oracle.com>
From: Jim Fenton <fenton@bluepopcorn.net>
Message-ID: <57107E44.3040108@bluepopcorn.net>
Date: Thu, 14 Apr 2016 22:38:12 -0700
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.7.2
MIME-Version: 1.0
In-Reply-To: <etPan.570e8549.3d8c14b4.1614d@jcaps-rd2.us.oracle.com>
Content-Type: multipart/alternative; boundary="------------010403080606050808010506"
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=bluepopcorn.net; s=supersize; t=1460698693; bh=gAWEwllEfm23RJ3ytJ4Evh8t8Iq2qFPsWaSXUYb13mk=; h=Subject:To:References:From:Date:In-Reply-To; b=TEgb1LL424ieiTo3IjD8Q38NAjuXPievCF2LRtzM/gSj5c0ZK1FFxXOmKIHobHH/W dqOyiWPFIaCBnrJozw7jGT7N74/tCjaMN7np0ULsTgxpwexSMUupgisYVnDioK8imD PiswzHJltZedfLeySgMWFlQK25vemKQ8JygiMSxM=
Archived-At: <http://mailarchive.ietf.org/arch/msg/uta/S5HSfmwlLxFggrd2HlxPXXr8VAM>
Subject: Re: [Uta] "webby" STS and DANE/DNSSEC co-existence
X-BeenThere: uta@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: UTA working group mailing list <uta.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/uta>, <mailto:uta-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/uta/>
List-Post: <mailto:uta@ietf.org>
List-Help: <mailto:uta-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/uta>, <mailto:uta-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 15 Apr 2016 05:38:16 -0000

This is a multi-part message in MIME format.
--------------010403080606050808010506
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

On 4/13/16 10:43 AM, Chris Newman wrote:
> DANE is merely one method of validating a certificate, there can also
> be SMTP policy orthogonal to DANE. Take for example, DEEP=92s =93tls11=94=

> and =93tls12=94 directives. Those specify a minimum acceptable version =
of
> TLS for future connections. Although we haven=92t debated yet whether t=
o
> include those in SMTP relay policy, I think it would make sense to
> include those directives, particularly given the problems we=92ve seen
> with old versions of TLS causing real security problems. And there may
> be future policy directives we want that are even more compelling. So
> the question is where to put SMTP relay security policy that is
> orthogonal to DANE. Seems like wherever we choose to put the policy
> for SMTP relay STS (whether in a DNSSEC-protected DNS record, HTTPS
> well-known or SMTP+STARTTLS), that=92s where we should always look for
> SMTP relay policy.
>
>
When you're deciding whether to publish an encryption policy, it's
important to consider whether there's a downgrade attack. Fundamentally,
we're trying to deal with a situation where an intermediary can
interfere with the negotiation of encryption, or whether an impostor
server can claim not to support encryption in an effort to avoid a
requirement to authenticate itself as would happen when TLS is negotiated=
=2E

I don't know the details of what TLS 1.2 fixes in TLS 1.1, but I would
only include tls11 and tls12 directives if there is a downgrade attack
where the attacker can claim to only support TLS 1.1 and not 1.2 and
benefit from that. Unless there is something about certification
verification that can be exploited, the impostor server attack isn't
possible because the impostor would have to authenticate to negotiate
TLS 1.1 as well.  Similar situation for the intermediary/MITM.

Is there actually something in TLS 1.1 that can be exploited by these
sorts of attackers?  If not, I wouldn't include those directives.

-Jim

--------------010403080606050808010506
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: 8bit

<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 4/13/16 10:43 AM, Chris Newman
      wrote:<br>
    </div>
    <blockquote
      cite="mid:etPan.570e8549.3d8c14b4.1614d@jcaps-rd2.us.oracle.com"
      type="cite">
      <style>body{font-family:Helvetica,Arial;font-size:13px}</style>
      <div id="bloop_customfont"
        style="font-family:Helvetica,Arial;font-size:13px; color:
        rgba(0,0,0,1.0); margin: 0px; line-height: auto;">DANE is merely
        one method of validating a certificate, there can also be SMTP
        policy orthogonal to DANE. Take for example, DEEP’s “tls11” and
        “tls12” directives. Those specify a minimum acceptable version
        of TLS for future connections. Although we haven’t debated yet
        whether to include those in SMTP relay policy, I think it would
        make sense to include those directives, particularly given the
        problems we’ve seen with old versions of TLS causing real
        security problems. And there may be future policy directives we
        want that are even more compelling. So the question is where to
        put SMTP relay security policy that is orthogonal to DANE. Seems
        like wherever we choose to put the policy for SMTP relay STS
        (whether in a DNSSEC-protected DNS record, HTTPS well-known or
        SMTP+STARTTLS), that’s where we should always look for SMTP
        relay policy.</div>
      <div id="bloop_customfont"
        style="font-family:Helvetica,Arial;font-size:13px; color:
        rgba(0,0,0,1.0); margin: 0px; line-height: auto;"><br>
      </div>
      <br>
    </blockquote>
    When you're deciding whether to publish an encryption policy, it's
    important to consider whether there's a downgrade attack.
    Fundamentally, we're trying to deal with a situation where an
    intermediary can interfere with the negotiation of encryption, or
    whether an impostor server can claim not to support encryption in an
    effort to avoid a requirement to authenticate itself as would happen
    when TLS is negotiated.<br>
    <br>
    I don't know the details of what TLS 1.2 fixes in TLS 1.1, but I
    would only include tls11 and tls12 directives if there is a
    downgrade attack where the attacker can claim to only support TLS
    1.1 and not 1.2 and benefit from that. Unless there is something
    about certification verification that can be exploited, the impostor
    server attack isn't possible because the impostor would have to
    authenticate to negotiate TLS 1.1 as well.  Similar situation for
    the intermediary/MITM.<br>
    <br>
    Is there actually something in TLS 1.1 that can be exploited by
    these sorts of attackers?  If not, I wouldn't include those
    directives.<br>
    <br>
    -Jim<br>
  </body>
</html>

--------------010403080606050808010506--


From nobody Fri Apr 15 02:19:09 2016
Return-Path: <azet@azet.org>
X-Original-To: uta@ietfa.amsl.com
Delivered-To: uta@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 87C1712E3A2 for <uta@ietfa.amsl.com>; Fri, 15 Apr 2016 02:19:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.7
X-Spam-Level: 
X-Spam-Status: No, score=-2.7 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=azet.org
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 SKQcc3IREZ-P for <uta@ietfa.amsl.com>; Fri, 15 Apr 2016 02:19:06 -0700 (PDT)
Received: from mail-pa0-x22f.google.com (mail-pa0-x22f.google.com [IPv6:2607:f8b0:400e:c03::22f]) (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 6BD0B12D66F for <uta@ietf.org>; Fri, 15 Apr 2016 02:19:04 -0700 (PDT)
Received: by mail-pa0-x22f.google.com with SMTP id er2so25220223pad.3 for <uta@ietf.org>; Fri, 15 Apr 2016 02:19:04 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=azet.org; s=gmail; h=subject:mime-version:from:in-reply-to:date:cc:message-id:references :to; bh=neXPEAvKvu22AfZY45B/GNWacUXazYfNHKj0WEtdPRE=; b=P5ERZC6WPFzQK+bI+I/hmpJOfweqap8of9+RwNhcADeA1UW3/uDJ7pkrPFYZ5L1iqd bvUK6nUeLr+clrKuriLK23E3HsMUIBlVRXWzO7l3JCUpWZ/khKo186b2GxSG23jq7wvP MrFy02DDdNixC6JeObkpw6kFiwHz6PDx9aB4A=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:mime-version:from:in-reply-to:date:cc :message-id:references:to; bh=neXPEAvKvu22AfZY45B/GNWacUXazYfNHKj0WEtdPRE=; b=Ob+JTtRejfEiuh2C7HQsX1oeigUi7XUGTkAwP1e8GupIpnjsUorV3KBCUhA/i4ZNWk ks6fe0w+NTAXvBxj/L4KU0xtbHTBlnj/EEn5TE/RXbSQFifqiXR6J0KeqiJ0kLCTlIGO 03EI2bxWKXoE3+XfjTYj70Nme8ojzboiLpC8rAxGOYPOR9LjWHUKyfLTL3/V6If+SSrC Ls3b5x0bbWzsiZoRwafleUNt+2djFX2WsHot7LASbGQki39bTrprm6aHWjTQ4A/Ch2fv gFaAcAgADvTlcsFnyEeWMrx9ETUIPEieA6sWS0ZEqjr9DFoYPWWiyRczV8n+jbXDfCJj E7hA==
X-Gm-Message-State: AOPr4FWDWSR6m/yI7SJPwcgDuoOUzuv+mp0x4YEGOC/CFo78QiEBf823a7fOt+sZ2ySATw==
X-Received: by 10.67.30.163 with SMTP id kf3mr28023018pad.45.1460711943377; Fri, 15 Apr 2016 02:19:03 -0700 (PDT)
Received: from [172.20.10.7] (ppp-49-237-172-94.revip6.asianet.co.th. [49.237.172.94]) by smtp.gmail.com with ESMTPSA id 79sm63253907pfq.65.2016.04.15.02.18.59 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 15 Apr 2016 02:19:00 -0700 (PDT)
Mime-Version: 1.0 (Mac OS X Mail 9.2 \(3112\))
Content-Type: multipart/signed; boundary="Apple-Mail=_EDB4C354-0819-47F4-A165-2450EC373FCB"; protocol="application/pgp-signature"; micalg=pgp-sha512
X-Pgp-Agent: GPGMail 2.6b2
From: Aaron Zauner <azet@azet.org>
In-Reply-To: <etPan.570fcb56.1b83edb9.17026@dhcp-amer-vpn-adc-anyconnect-10-154-168-221.vpn.oracle.com>
Date: Fri, 15 Apr 2016 16:19:37 +0700
Message-Id: <F04507EE-260F-4793-BBC3-26FF60E0CFFE@azet.org>
References: <etPan.570fcb56.1b83edb9.17026@dhcp-amer-vpn-adc-anyconnect-10-154-168-221.vpn.oracle.com>
To: Chris Newman <chris.newman@oracle.com>
X-Mailer: Apple Mail (2.3112)
Archived-At: <http://mailarchive.ietf.org/arch/msg/uta/V4BUP2b3IJOnthd9Qtlwj5g5DaA>
Cc: "uta@ietf.org" <uta@ietf.org>
Subject: Re: [Uta] STS directive registry: separate or shared?
X-BeenThere: uta@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: UTA working group mailing list <uta.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/uta>, <mailto:uta-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/uta/>
List-Post: <mailto:uta@ietf.org>
List-Help: <mailto:uta-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/uta>, <mailto:uta-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 15 Apr 2016 09:19:08 -0000

--Apple-Mail=_EDB4C354-0819-47F4-A165-2450EC373FCB
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8

Hi,

> On 14 Apr 2016, at 23:54, Chris Newman <chris.newman@oracle.com> =
wrote:
>=20
> Right now we have 3 STS proposals: HSTS, SMTP relay STS and MUA STS =
(DEEP).
>=20
> HSTS described its extensibility model, but punted on actually =
creating a registry. A registry covering HSTS would be useful because =
there=E2=80=99s at least one limited-use directive in the wild in =
addition to those in the HSTS base spec. MUA STS currently describes an =
extensibility model and creates a registry just for itself. SMTP relay =
STS is missing both an extensibility model and registry, although Viktor =
has made a compelling case that we we want to be minimal on SMTP relay =
STS directives (at least initially).

This makes a lot of sense.

>=20
> There are two ways to move forward:
>=20
> 1. Each protocol is responsible for it=E2=80=99s own extension model =
and registry. This has the advantage of getting MUA STS done sooner, but =
we=E2=80=99ll probably end up with 2 or 3 separate registries with some =
redundancy and potential for semantic conflicts in STS directives with =
the same name between protocols.
>=20
> 2. We create a combined STS registry that includes a =
protocol-applicability field for each directive. Some directives would =
be multi-protocol (e.g., max-age may be shared between HSTS and SMTP =
relay STS), most would be single-protocol initially (that could change =
later). One advantage to this approach is it gives us a place to include =
some prose about why STS proposals are different and why different =
applicability is important. But this would take a bit longer and mean =
the WG would have another draft. This would make life slightly simpler =
for SMTP relay STS as it would just have to describe its extensibility =
model and point to the shared registry. If we do this, I am willing to =
co-author the shared-registry spec and Jeff Hodges (co-author of HSTS =
spec) is also willing to co-author the spec.
>=20
> I lean slightly towards option 2, but we need a WG rough consensus to =
pursue that option as it=E2=80=99s a fairly significant change to MUA =
STS. Comments?

But it's a good point that #1 would get MUA-STS out of the door sooner, =
which is something I'd very much like to see deployed. Difficult, but I =
think option #2 is the way to go.

Thanks for working on this,
Aaron

--Apple-Mail=_EDB4C354-0819-47F4-A165-2450EC373FCB
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----

iQIcBAEBCgAGBQJXELIqAAoJEOTbZJL9ubXV7FEQAMHxzs8NRUMevCwEHFALw2+7
pRFGAuSimLmKO+9ds/7XfParhQm2p8P7VaXd2AbJc0KytrdjgXplSGwpYohsE+QK
fNkbovFt7aBXgZvb3q/QHX3SpflWDSfeCqzvHiv82KwNVeLym0EMOhVIbYlPVJQT
vga1/a/2ep+RA795AB+D0/f39/GSjLIaTjJppv2MvwjBM9Xd/MXO3FETU2L1UCgJ
IxtNUhr9FXEbx6lpwXrY65zZ/Oa0nFvSaaVwDx+GzY9HPfEDGnZBf1xB1UlUMNin
eqcldfRTVFNcA9IKLj2EFlITZksycovDhUy/MUn39pCz9NHFpLDV5McWtKye0ytn
044RuINEKww60A4d0xP2NiEnO2eTRJQvdtTi+1SVMo9uUafYrTASNoWaAsKBIGD+
6PxQVS/Snfr6GTaxiEQSrSDwEiqXeShowIB4pIOwEedWEcPPXswk9LN/5h9mHst4
8iiENyRxNoH0TWCaxNmB3Tn+1P02O6o2VADd51dEAmlo6qMFVPXVVB9WMVtQcoGZ
fGxzBeQvhtaxPQlrRwGCD26v2gC0p9eVbg5IgjGocdllKRqyU/vAbDsUfyuQ/bBe
P5J2ROiKrjSLD+IM+zVytEkdjQpkQrdCAURn94yJjg1iVNgic1Rb0xwseglxHAOc
/vpkyvAzMPanZ4TYytVn
=MwKv
-----END PGP SIGNATURE-----

--Apple-Mail=_EDB4C354-0819-47F4-A165-2450EC373FCB--


From nobody Fri Apr 15 02:35:52 2016
Return-Path: <azet@azet.org>
X-Original-To: uta@ietfa.amsl.com
Delivered-To: uta@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B5E1B12D87C for <uta@ietfa.amsl.com>; Fri, 15 Apr 2016 02:35:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.7
X-Spam-Level: 
X-Spam-Status: No, score=-2.7 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=azet.org
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 kMmZjMCxiK7n for <uta@ietfa.amsl.com>; Fri, 15 Apr 2016 02:35:48 -0700 (PDT)
Received: from mail-pa0-x233.google.com (mail-pa0-x233.google.com [IPv6:2607:f8b0:400e:c03::233]) (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 C4F7A12DD43 for <uta@ietf.org>; Fri, 15 Apr 2016 02:35:48 -0700 (PDT)
Received: by mail-pa0-x233.google.com with SMTP id er2so25346880pad.3 for <uta@ietf.org>; Fri, 15 Apr 2016 02:35:48 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=azet.org; s=gmail; h=subject:mime-version:from:in-reply-to:date:cc:message-id:references :to; bh=AStLeR2MWoheXegb8R97a4/9fj+Fvgy2Z22Q5e6YeO8=; b=ehOPNCdEXUr1cN0zVcguTLk7LvheNwjJZJkFWZbFVihXRpZjgcsJkBXkm22HWpbx3g xrXJcYg1s2jAQX2k2CwQ3FYR2hzYbj0tLPyDKhL39yGisZusm4kMHPkHf8n4lq/FgVPL 1YiZzXkJhsFhgAjcBgOTCCLyH1kvGn+clrFeI=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:mime-version:from:in-reply-to:date:cc :message-id:references:to; bh=AStLeR2MWoheXegb8R97a4/9fj+Fvgy2Z22Q5e6YeO8=; b=C/uDw3aEnMTSJH2CHi4g06r/xudCCvs++/fz5NIQrJYtc4C/neh6K/F851sVCGCiyX 0Ivq6Ha41BjNFPb765u4z8KG2aXL17akl4OPvWWksUFx9+g6MpIGd9u0Kb9IMOn/Mnj0 cdObCqtFVS7G9volgeF/MFw9n1ulSa7WD7VwAr2DZRsYAxo401ud8g84nR2rzu630qty vB3p31Ag5AfO7y73DjLxA3LSw4OU/wAdNfSQVrXzLXndLuHU8279Ck/dq1CQ7pSjAEcE uQMmlOZKxS6uEwpz6tZ4s/l1bDGTuWxpAGqmcNx9eObI05NjfOTEgtC925iqbk9jePf0 5t7A==
X-Gm-Message-State: AOPr4FVJ+IOmJ7DC5AO9P1swlavje8jRe9HBVgvslzBoy6j9sDWoYHN+cAsnAoCUk1Uqog==
X-Received: by 10.66.131.79 with SMTP id ok15mr28272514pab.151.1460712948352;  Fri, 15 Apr 2016 02:35:48 -0700 (PDT)
Received: from [172.20.10.7] (ppp-49-237-172-94.revip6.asianet.co.th. [49.237.172.94]) by smtp.gmail.com with ESMTPSA id w1sm5343296paa.6.2016.04.15.02.35.45 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 15 Apr 2016 02:35:46 -0700 (PDT)
Mime-Version: 1.0 (Mac OS X Mail 9.2 \(3112\))
Content-Type: multipart/signed; boundary="Apple-Mail=_82D66191-0A78-42D8-8476-770CE55B6131"; protocol="application/pgp-signature"; micalg=pgp-sha512
X-Pgp-Agent: GPGMail 2.6b2
From: Aaron Zauner <azet@azet.org>
In-Reply-To: <57107E44.3040108@bluepopcorn.net>
Date: Fri, 15 Apr 2016 16:36:23 +0700
Message-Id: <B505D600-6B68-41C5-8FE7-87687822C047@azet.org>
References: <570C0CD2.9030401@cs.tcd.ie> <20160411212128.GA26423@mournblade.imrryr.org> <CANtKdUekXNkVvsfq0UjCiaaPVBgoVGfrfnYUrdoOf0EegXMuPg@mail.gmail.com> <20160413014304.GB26423@mournblade.imrryr.org> <CANtKdUf0kN5aOmX0-NsyQXz_+PRGfaXa37DFZoCX3FqdYh5CpA@mail.gmail.com> <etPan.570e8549.3d8c14b4.1614d@jcaps-rd2.us.oracle.com> <57107E44.3040108@bluepopcorn.net>
To: Jim Fenton <fenton@bluepopcorn.net>
X-Mailer: Apple Mail (2.3112)
Archived-At: <http://mailarchive.ietf.org/arch/msg/uta/MMN1-tne54BzodltTQFXUymyRcE>
Cc: uta@ietf.org, Chris Newman <chris.newman@oracle.com>
Subject: Re: [Uta] "webby" STS and DANE/DNSSEC co-existence
X-BeenThere: uta@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: UTA working group mailing list <uta.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/uta>, <mailto:uta-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/uta/>
List-Post: <mailto:uta@ietf.org>
List-Help: <mailto:uta-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/uta>, <mailto:uta-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 15 Apr 2016 09:35:51 -0000

--Apple-Mail=_82D66191-0A78-42D8-8476-770CE55B6131
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=windows-1252

Hi,

> On 15 Apr 2016, at 12:38, Jim Fenton <fenton@bluepopcorn.net> wrote:
>=20
> Is there actually something in TLS 1.1 that can be exploited by these =
sorts of attackers?  If not, I wouldn't include those directives.

I'm not sure if that answers your question w.r.t. downgrade attacks, but =
a quick comment on changes between the TLS versions: TLS 1.2 introduces =
AEAD (authenticated encryption with associated data), these modes are =
currently the only ones considered secure by academia. For example: 1.1 =
doesn't support GCM, CCM,.. - so you end up with CBC or RC4, both of =
which are at the very least broken in lab settings and these attacks =
have been improved by quite a bit over the last couple of years, so that =
might be something to consider. 1.2 also removed MD5 and SHA1 as PRFs =
and made them configurable in cipher-suites (e.g. SHA256).

Aaron

--Apple-Mail=_82D66191-0A78-42D8-8476-770CE55B6131
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----

iQIcBAEBCgAGBQJXELYYAAoJEOTbZJL9ubXVnIEP/36mwB8G+to7/eWj3lbseXYL
cto76HHs5hPe9nPrJwG5Xgyt29sJTJp8FlWWbyjCaL72P4GNB5T/WJtYbUfGvf8g
xtVlqo6Ky6n8kspT+CjbgaMLCRH5YmLjthVgAc6KaYwIdn9rd6CbqPInt79N9sch
Krsh/cn+I7JaDc1dJ1eURL7O8MDaJMwqL+OD2Oj/E7DhmDKJTl1jquRUYd4EpDGg
AZrj9oUR6Rvy9pOstZ21sFl61gmP2omXfa14Gha7vHH9dqyN0d3j87quPoMkoftm
pkmc9YgS4JCGJ0Ab8BXieJajR9hLxwDTK3RRp3kaIWgrO2z4IYSiLuTRs/UdeiPZ
BnXV2MFyMPoQ7tt0qCudmpNkfKc1efHBuX/kf4VFRLnFy0Dm4sVNCWP/r4asWqLJ
uReHnpO+DHXgIv/E/OYDdvoAnYhGNLmgxjJxG2NwTYAKbFFxK0W6Pq7GuimAjeTO
DIMohehgxALjB0TqEVRNtEWC0TNt2twTu8KBc9oY/WXYIvn8Qm9cSoX8ydNUseid
1RJOXbykT+jZ0ebyd71rC1hNQ/iq6OtRCv6Lz0Toow0mAJwLsV1od7UWCq13ImVR
AYnui6N+AHKQVd3S9NDsB+FIWzkt8XW+K0/g+AtGI4heUATcAxPw66ulRBY9Lmnf
28qdGPYyTuXJxAXXtVaX
=WbYL
-----END PGP SIGNATURE-----

--Apple-Mail=_82D66191-0A78-42D8-8476-770CE55B6131--


From nobody Fri Apr 15 02:39:53 2016
Return-Path: <azet@azet.org>
X-Original-To: uta@ietfa.amsl.com
Delivered-To: uta@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8151712D532 for <uta@ietfa.amsl.com>; Fri, 15 Apr 2016 02:39:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.7
X-Spam-Level: 
X-Spam-Status: No, score=-2.7 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=azet.org
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 hhTXiMyczCfU for <uta@ietfa.amsl.com>; Fri, 15 Apr 2016 02:39:51 -0700 (PDT)
Received: from mail-pf0-x233.google.com (mail-pf0-x233.google.com [IPv6:2607:f8b0:400e:c00::233]) (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 0B14112D1B3 for <uta@ietf.org>; Fri, 15 Apr 2016 02:39:51 -0700 (PDT)
Received: by mail-pf0-x233.google.com with SMTP id c20so55401522pfc.1 for <uta@ietf.org>; Fri, 15 Apr 2016 02:39:51 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=azet.org; s=gmail; h=subject:mime-version:from:in-reply-to:date:cc:message-id:references :to; bh=PCcauFKj2MnMcUxy3JrVDaw84N6uk0GWTDoCJXKCqBU=; b=UNLdBsifYm//qFxCJpVjZCd3/zEEVQ8Rh8lyZ0Nxx1DKbW04rYVQ6niDTk4yfiN5YJ GA5I9keNoerxq5aEqyxbteLUKEp9euOcU6VsU5BMeLThzMduz3laQprlWsBaIR9oLF0o gEMsBcXRKyD1bSzh/ovLuyNzn+bSyoad62iF4=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:mime-version:from:in-reply-to:date:cc :message-id:references:to; bh=PCcauFKj2MnMcUxy3JrVDaw84N6uk0GWTDoCJXKCqBU=; b=lZ7Un7X7fapr73qpPY9Jp+DE3Ew7H7jzmij6q8K4wZG0qlz04Ykf0jUFXKMINKnXb3 5/YMwr/MA0UX0qIwHCylzqJDXgSFSbHCP83amdGUciTgpqy2wA2DIjEks8MjBJzJNu6k 4NoJ5frJc1vWQw7Y8X44jDO4BDggsHrB6TKgn+I1B23PVSLKkmmXlr0rr762NAnnHs89 qpU+3EzxdjQbsbEMoswacpLy5Qr5ocFmyn3mUNz/QTuku80KmeFndXtfp7zaHC4cHBCW 4ZeyWGj75t7AIcgwUfpVphJqPzcuV5wKwK+kxQd0NC62SR4VL7kTQCoIr5TJwl5BJTqt 6MAg==
X-Gm-Message-State: AOPr4FVtcGBV1NLvRvUA5kRFVNj/+JGqT9l8AaadTPnqNEnIB/kt1sfuYlqHkl/8/jG53w==
X-Received: by 10.98.22.79 with SMTP id 76mr16420173pfw.74.1460713190661; Fri, 15 Apr 2016 02:39:50 -0700 (PDT)
Received: from [172.20.10.7] (ppp-49-237-172-94.revip6.asianet.co.th. [49.237.172.94]) by smtp.gmail.com with ESMTPSA id 132sm13579387pfw.35.2016.04.15.02.39.47 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 15 Apr 2016 02:39:48 -0700 (PDT)
Mime-Version: 1.0 (Mac OS X Mail 9.2 \(3112\))
Content-Type: multipart/signed; boundary="Apple-Mail=_21A7A24E-5809-40AC-8C26-2CE9C79EF4AB"; protocol="application/pgp-signature"; micalg=pgp-sha512
X-Pgp-Agent: GPGMail 2.6b2
From: Aaron Zauner <azet@azet.org>
In-Reply-To: <B505D600-6B68-41C5-8FE7-87687822C047@azet.org>
Date: Fri, 15 Apr 2016 16:40:26 +0700
Message-Id: <5BBDA40A-7F58-4619-B1C9-E9F3C4821DD3@azet.org>
References: <570C0CD2.9030401@cs.tcd.ie> <20160411212128.GA26423@mournblade.imrryr.org> <CANtKdUekXNkVvsfq0UjCiaaPVBgoVGfrfnYUrdoOf0EegXMuPg@mail.gmail.com> <20160413014304.GB26423@mournblade.imrryr.org> <CANtKdUf0kN5aOmX0-NsyQXz_+PRGfaXa37DFZoCX3FqdYh5CpA@mail.gmail.com> <etPan.570e8549.3d8c14b4.1614d@jcaps-rd2.us.oracle.com> <57107E44.3040108@bluepopcorn.net> <B505D600-6B68-41C5-8FE7-87687822C047@azet.org>
To: Jim Fenton <fenton@bluepopcorn.net>
X-Mailer: Apple Mail (2.3112)
Archived-At: <http://mailarchive.ietf.org/arch/msg/uta/iQgQS-JjKhtMZ-C9ORFWyx8C3MQ>
Cc: uta@ietf.org, Chris Newman <chris.newman@oracle.com>
Subject: Re: [Uta] "webby" STS and DANE/DNSSEC co-existence
X-BeenThere: uta@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: UTA working group mailing list <uta.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/uta>, <mailto:uta-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/uta/>
List-Post: <mailto:uta@ietf.org>
List-Help: <mailto:uta-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/uta>, <mailto:uta-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 15 Apr 2016 09:39:52 -0000

--Apple-Mail=_21A7A24E-5809-40AC-8C26-2CE9C79EF4AB
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=windows-1252


> On 15 Apr 2016, at 16:36, Aaron Zauner <azet@azet.org> wrote:by these =
sorts of attackers?  If not, I wouldn't include those directives.
>=20
> I'm not sure if that answers your question w.r.t. downgrade attacks, =
but a quick comment on changes between the TLS versions: TLS 1.2 =
introduces AEAD (authenticated encryption with associated data), these =
modes are currently the only ones considered secure by academia. For =
example: 1.1 doesn't support GCM, CCM,.. - so you end up with CBC or =
RC4, both of which are at the very least broken in lab settings and =
these attacks have been improved by quite a bit over the last couple of =
years, so that might be something to consider. 1.2 also removed MD5 and =
SHA1 as PRFs and made them configurable in cipher-suites (e.g. SHA256).

I think it's worth noting that these attacks are currently unfeasible =
for SMTP traffic to the best of my knowledge, but their use should be =
discouraged. And for e.g. RC4 an RFC exists prohibiting further use in =
standards.

Aaron

--Apple-Mail=_21A7A24E-5809-40AC-8C26-2CE9C79EF4AB
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----

iQIcBAEBCgAGBQJXELcKAAoJEOTbZJL9ubXVpjwP/1yNOOX6GNz/pXCw+YZ80BIW
xUE9bcdR2nfdiOrgj352yy42MzSgBB6rHTRbu9+CzgJfkBLKLJ77Eq6QpJ+ODEY5
VCahv3AMhRuOGmYS1mmfQn2zuGCgON91yTrX91f74GsJ2NnITWHHInhGXA9FKj9O
3naxXEsgBOPU5JigOHeSltw5cy0ERZP3jFQEcVxYESVmVHJCh+/4ULEsG5udAXox
JZZmWqLLNgHtXi7sI+EejV483TF6KWR+v3s4wVIc15SYAnWqxGNyAYdMxJHT2c0y
gY8dieHs3qA5i9HLTVowey9ejt2knkR/9zXUJC9h2sRpPhBww6rbHFK1X7fwdwVa
tXoeSsG9NfqJ0hZBlm7MlVFlObqciL7k9O7G/asmd7LYef5hXLDh63O30i95DeSW
mMXcWK2DR4UNWays7KINTmIFR30vwfOcOs8+AuMamcvOUssejkpWLrO37FMamSaI
LnZpVWZgXqekgr4O07BEBGm9AQ5qCaM81Jr4MAQ1K0uFG9bFoocVRclw+wPZIWEE
I3uS6vERC7Igep/XCYYx8BWWHqMagLC/v8DiS7VXoa7Y538MAS6npP8BPeJs9IP+
K3SDmPd9NH096JQtKeFMqJY4FimEblXxoH7t0lfLlVYdJI/ospg1qvOtRbf6hZzM
38JjTIbklTKx2omMm/Dj
=2ZnD
-----END PGP SIGNATURE-----

--Apple-Mail=_21A7A24E-5809-40AC-8C26-2CE9C79EF4AB--


From nobody Fri Apr 15 05:29:01 2016
Return-Path: <ekr@rtfm.com>
X-Original-To: uta@ietfa.amsl.com
Delivered-To: uta@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B12AF12E146 for <uta@ietfa.amsl.com>; Fri, 15 Apr 2016 05:28:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=rtfm-com.20150623.gappssmtp.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 cxBBxI2HzGXA for <uta@ietfa.amsl.com>; Fri, 15 Apr 2016 05:28:52 -0700 (PDT)
Received: from mail-yw0-x22e.google.com (mail-yw0-x22e.google.com [IPv6:2607:f8b0:4002:c05::22e]) (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 0D60612E106 for <uta@ietf.org>; Fri, 15 Apr 2016 05:28:52 -0700 (PDT)
Received: by mail-yw0-x22e.google.com with SMTP id i84so134342627ywc.2 for <uta@ietf.org>; Fri, 15 Apr 2016 05:28:52 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rtfm-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=pNEUVHV8ZnbUXyba/s+H/3LeKaXkci0wcmSja49RoKM=; b=00++HeCvl/LDkQkBqaiBm/FZxIUrIazdUyo/uuWBsQlFdTE9d0CF6YmhsiAhRjv4uv h5LKhNwQoCb4vSBtsUVvcE9h9Te/Jcw7ZGBVn5799UtkNTPp0Ud7bcCFQOsP5YHo/w05 1vn/+Q7uN/n3Kzl0bLL4rvFBIPBJmZZucrBKIGoyZdWHIsnZmX22l5sXpl0psVfqBPe2 vOF9Mi9ZiYCmXHsjFSrD9+HoZ2I/YmyaU5291z/gcs8csP3c5KiF8lt8VJkAUlAvvDEN XRH02W717DyxA/l8NhL8j9NCJvc/fHVRx3a3l0M8o8S6eRGJCZc3Q2lEKOjixOC2R6ml TJWg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=pNEUVHV8ZnbUXyba/s+H/3LeKaXkci0wcmSja49RoKM=; b=JzL5jeybFeuDYBCYwlsvDrPSW0l8JKnvnhf5yHg1ZgkTU4LNR4nNh0uQQlqNRisiHG LoIEwfHPribcfwVM5uKj1II4T52AbLsIYtyJwLIFDzKOohhO9xDrAm23Ua8B2maeaU0D yJ7ylbJvwGDHFyrJmVlF/c9GnFMrjxzZ9eR4juYxvof1EEMQ2FcT3Qv3JzFlWs6FBgZS Y86u4+XmjGOcwmZhBaNprswgSu+RneI8UcnjrDQyA/6qqDvdbGc1nIvYjWLdcbFhcFjD uDdv5q+0W7UabCYhAkMSpO1h30FpXx6s8XuCrp37SNIi8c+D/ZpaKAhdzGpwdYjBUuPs r8lQ==
X-Gm-Message-State: AOPr4FWA03Q3d7DjrZP+Lm7rXtChpZzKXRVtDvIEhyN2y/MtpY69OjQJFz0r0I8XJzYqGYLXhzFK8o5DUURv6g==
X-Received: by 10.37.218.69 with SMTP id n66mr291426ybf.146.1460723331289; Fri, 15 Apr 2016 05:28:51 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.13.249.5 with HTTP; Fri, 15 Apr 2016 05:28:11 -0700 (PDT)
In-Reply-To: <57107E44.3040108@bluepopcorn.net>
References: <570C0CD2.9030401@cs.tcd.ie> <20160411212128.GA26423@mournblade.imrryr.org> <CANtKdUekXNkVvsfq0UjCiaaPVBgoVGfrfnYUrdoOf0EegXMuPg@mail.gmail.com> <20160413014304.GB26423@mournblade.imrryr.org> <CANtKdUf0kN5aOmX0-NsyQXz_+PRGfaXa37DFZoCX3FqdYh5CpA@mail.gmail.com> <etPan.570e8549.3d8c14b4.1614d@jcaps-rd2.us.oracle.com> <57107E44.3040108@bluepopcorn.net>
From: Eric Rescorla <ekr@rtfm.com>
Date: Fri, 15 Apr 2016 05:28:11 -0700
Message-ID: <CABcZeBO75y8u5-HUz9jMBje5tfX3SGVLspwDkUtZY4D_O5TyvA@mail.gmail.com>
To: Jim Fenton <fenton@bluepopcorn.net>
Content-Type: multipart/alternative; boundary=94eb2c0550da47390b0530852784
Archived-At: <http://mailarchive.ietf.org/arch/msg/uta/LxfjeoqKWEmz71fFLlVPvoZDQuk>
Cc: "uta@ietf.org" <uta@ietf.org>, Chris Newman <chris.newman@oracle.com>
Subject: Re: [Uta] "webby" STS and DANE/DNSSEC co-existence
X-BeenThere: uta@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: UTA working group mailing list <uta.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/uta>, <mailto:uta-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/uta/>
List-Post: <mailto:uta@ietf.org>
List-Help: <mailto:uta-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/uta>, <mailto:uta-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 15 Apr 2016 12:28:54 -0000

--94eb2c0550da47390b0530852784
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On Thu, Apr 14, 2016 at 10:38 PM, Jim Fenton <fenton@bluepopcorn.net> wrote=
:

> On 4/13/16 10:43 AM, Chris Newman wrote:
>
> DANE is merely one method of validating a certificate, there can also be
> SMTP policy orthogonal to DANE. Take for example, DEEP=E2=80=99s =E2=80=
=9Ctls11=E2=80=9D and
> =E2=80=9Ctls12=E2=80=9D directives. Those specify a minimum acceptable ve=
rsion of TLS for
> future connections. Although we haven=E2=80=99t debated yet whether to in=
clude
> those in SMTP relay policy, I think it would make sense to include those
> directives, particularly given the problems we=E2=80=99ve seen with old v=
ersions of
> TLS causing real security problems. And there may be future policy
> directives we want that are even more compelling. So the question is wher=
e
> to put SMTP relay security policy that is orthogonal to DANE. Seems like
> wherever we choose to put the policy for SMTP relay STS (whether in a
> DNSSEC-protected DNS record, HTTPS well-known or SMTP+STARTTLS), that=E2=
=80=99s
> where we should always look for SMTP relay policy.
>
>
> When you're deciding whether to publish an encryption policy, it's
> important to consider whether there's a downgrade attack. Fundamentally,
> we're trying to deal with a situation where an intermediary can interfere
> with the negotiation of encryption, or whether an impostor server can cla=
im
> not to support encryption in an effort to avoid a requirement to
> authenticate itself as would happen when TLS is negotiated.
>
> I don't know the details of what TLS 1.2 fixes in TLS 1.1, but I would
> only include tls11 and tls12 directives if there is a downgrade attack
> where the attacker can claim to only support TLS 1.1 and not 1.2 and
> benefit from that. Unless there is something about certification
> verification that can be exploited, the impostor server attack isn't
> possible because the impostor would have to authenticate to negotiate TLS
> 1.1 as well.  Similar situation for the intermediary/MITM.
>
> Is there actually something in TLS 1.1 that can be exploited by these
> sorts of attackers?  If not, I wouldn't include those directives.
>

Jim,

TLS contains its own anti-downgrade measures. What's the reasoning for
adding ones here?

-Ekr


>
>
> -Jim
>
> _______________________________________________
> Uta mailing list
> Uta@ietf.org
> https://www.ietf.org/mailman/listinfo/uta
>
>

--94eb2c0550da47390b0530852784
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_extra"><br><div class=3D"gmail_quote">=
On Thu, Apr 14, 2016 at 10:38 PM, Jim Fenton <span dir=3D"ltr">&lt;<a href=
=3D"mailto:fenton@bluepopcorn.net" target=3D"_blank">fenton@bluepopcorn.net=
</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin=
:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
 =20
   =20
 =20
  <div bgcolor=3D"#FFFFFF" text=3D"#000000"><span class=3D"">
    <div>On 4/13/16 10:43 AM, Chris Newman
      wrote:<br>
    </div>
    <blockquote type=3D"cite">
     =20
      <div style=3D"font-family:Helvetica,Arial;font-size:13px;color:rgba(0=
,0,0,1.0);margin:0px;line-height:auto">DANE is merely
        one method of validating a certificate, there can also be SMTP
        policy orthogonal to DANE. Take for example, DEEP=E2=80=99s =E2=80=
=9Ctls11=E2=80=9D and
        =E2=80=9Ctls12=E2=80=9D directives. Those specify a minimum accepta=
ble version
        of TLS for future connections. Although we haven=E2=80=99t debated =
yet
        whether to include those in SMTP relay policy, I think it would
        make sense to include those directives, particularly given the
        problems we=E2=80=99ve seen with old versions of TLS causing real
        security problems. And there may be future policy directives we
        want that are even more compelling. So the question is where to
        put SMTP relay security policy that is orthogonal to DANE. Seems
        like wherever we choose to put the policy for SMTP relay STS
        (whether in a DNSSEC-protected DNS record, HTTPS well-known or
        SMTP+STARTTLS), that=E2=80=99s where we should always look for SMTP
        relay policy.</div>
      <div style=3D"font-family:Helvetica,Arial;font-size:13px;color:rgba(0=
,0,0,1.0);margin:0px;line-height:auto"><br>
      </div>
      <br>
    </blockquote></span>
    When you&#39;re deciding whether to publish an encryption policy, it&#3=
9;s
    important to consider whether there&#39;s a downgrade attack.
    Fundamentally, we&#39;re trying to deal with a situation where an
    intermediary can interfere with the negotiation of encryption, or
    whether an impostor server can claim not to support encryption in an
    effort to avoid a requirement to authenticate itself as would happen
    when TLS is negotiated.<br>
    <br>
    I don&#39;t know the details of what TLS 1.2 fixes in TLS 1.1, but I
    would only include tls11 and tls12 directives if there is a
    downgrade attack where the attacker can claim to only support TLS
    1.1 and not 1.2 and benefit from that. Unless there is something
    about certification verification that can be exploited, the impostor
    server attack isn&#39;t possible because the impostor would have to
    authenticate to negotiate TLS 1.1 as well.=C2=A0 Similar situation for
    the intermediary/MITM.<br>
    <br>
    Is there actually something in TLS 1.1 that can be exploited by
    these sorts of attackers?=C2=A0 If not, I wouldn&#39;t include those
    directives.</div></blockquote><div><br></div><div>Jim,</div><div><br></=
div><div>TLS contains its own anti-downgrade measures. What&#39;s the reaso=
ning for adding ones here?</div><div><br></div><div>-Ekr</div><div>=C2=A0</=
div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-lef=
t:1px #ccc solid;padding-left:1ex"><div bgcolor=3D"#FFFFFF" text=3D"#000000=
"><span class=3D"HOEnZb"><font color=3D"#888888"><br>
    <br>
    -Jim<br>
  </font></span></div>

<br>_______________________________________________<br>
Uta mailing list<br>
<a href=3D"mailto:Uta@ietf.org">Uta@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/uta" rel=3D"noreferrer" ta=
rget=3D"_blank">https://www.ietf.org/mailman/listinfo/uta</a><br>
<br></blockquote></div><br></div></div>

--94eb2c0550da47390b0530852784--


From nobody Fri Apr 15 10:07:59 2016
Return-Path: <fenton@bluepopcorn.net>
X-Original-To: uta@ietfa.amsl.com
Delivered-To: uta@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id AAB1812E5E2 for <uta@ietfa.amsl.com>; Fri, 15 Apr 2016 10:07:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.996
X-Spam-Level: 
X-Spam-Status: No, score=-2.996 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RP_MATCHES_RCVD=-0.996, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=bluepopcorn.net
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 4ErMttZ1lnbn for <uta@ietfa.amsl.com>; Fri, 15 Apr 2016 10:07:55 -0700 (PDT)
Received: from v2.bluepopcorn.net (v2.bluepopcorn.net [IPv6:2607:f2f8:a994::2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id BA2E512E5C6 for <uta@ietf.org>; Fri, 15 Apr 2016 10:07:47 -0700 (PDT)
Received: from splunge.local (c-50-136-244-117.hsd1.ca.comcast.net [50.136.244.117]) (authenticated bits=0) by v2.bluepopcorn.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id u3FH7jwU025179 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Fri, 15 Apr 2016 10:07:47 -0700
To: Eric Rescorla <ekr@rtfm.com>
References: <570C0CD2.9030401@cs.tcd.ie> <20160411212128.GA26423@mournblade.imrryr.org> <CANtKdUekXNkVvsfq0UjCiaaPVBgoVGfrfnYUrdoOf0EegXMuPg@mail.gmail.com> <20160413014304.GB26423@mournblade.imrryr.org> <CANtKdUf0kN5aOmX0-NsyQXz_+PRGfaXa37DFZoCX3FqdYh5CpA@mail.gmail.com> <etPan.570e8549.3d8c14b4.1614d@jcaps-rd2.us.oracle.com> <57107E44.3040108@bluepopcorn.net> <CABcZeBO75y8u5-HUz9jMBje5tfX3SGVLspwDkUtZY4D_O5TyvA@mail.gmail.com>
From: Jim Fenton <fenton@bluepopcorn.net>
Message-ID: <57111FE1.6060903@bluepopcorn.net>
Date: Fri, 15 Apr 2016 10:07:45 -0700
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.7.2
MIME-Version: 1.0
In-Reply-To: <CABcZeBO75y8u5-HUz9jMBje5tfX3SGVLspwDkUtZY4D_O5TyvA@mail.gmail.com>
Content-Type: multipart/alternative; boundary="------------050609010608010300010303"
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=bluepopcorn.net; s=supersize; t=1460740067; bh=bsVtKTDjM/oKpl/u6Jh93Uk0O1QggkJvsImQWzgnM4c=; h=Subject:To:References:Cc:From:Date:In-Reply-To; b=JsO77n/FAzjRtQeo+daUk3zJwpp5Hp7VR6NQBlUWKF2/en+6f4/qHZLTIrXRsUZRA G51+qvpNFfXlwS7rRqdw7yMJ/8as0NBnBXEStu2XajA9sB9NHcK5VZYGksp+rLXEUf I6rY+LdcptP9sXuyp7jIUsqy5lRfnXtQSMiKsQi8=
Archived-At: <http://mailarchive.ietf.org/arch/msg/uta/bMa2pvRZeAhbMJuXGnQ6YESG7cA>
Cc: "uta@ietf.org" <uta@ietf.org>, Chris Newman <chris.newman@oracle.com>
Subject: Re: [Uta] "webby" STS and DANE/DNSSEC co-existence
X-BeenThere: uta@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: UTA working group mailing list <uta.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/uta>, <mailto:uta-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/uta/>
List-Post: <mailto:uta@ietf.org>
List-Help: <mailto:uta-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/uta>, <mailto:uta-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 15 Apr 2016 17:07:57 -0000

This is a multi-part message in MIME format.
--------------050609010608010300010303
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 8bit

On 4/15/16 5:28 AM, Eric Rescorla wrote:
>
> On Thu, Apr 14, 2016 at 10:38 PM, Jim Fenton <fenton@bluepopcorn.net
> <mailto:fenton@bluepopcorn.net>> wrote:
>
>     On 4/13/16 10:43 AM, Chris Newman wrote:
>>     DANE is merely one method of validating a certificate, there can
>>     also be SMTP policy orthogonal to DANE. Take for example, DEEP’s
>>     “tls11” and “tls12” directives. Those specify a minimum
>>     acceptable version of TLS for future connections. Although we
>>     haven’t debated yet whether to include those in SMTP relay
>>     policy, I think it would make sense to include those directives,
>>     particularly given the problems we’ve seen with old versions of
>>     TLS causing real security problems. And there may be future
>>     policy directives we want that are even more compelling. So the
>>     question is where to put SMTP relay security policy that is
>>     orthogonal to DANE. Seems like wherever we choose to put the
>>     policy for SMTP relay STS (whether in a DNSSEC-protected DNS
>>     record, HTTPS well-known or SMTP+STARTTLS), that’s where we
>>     should always look for SMTP relay policy.
>>
>>
>     When you're deciding whether to publish an encryption policy, it's
>     important to consider whether there's a downgrade attack.
>     Fundamentally, we're trying to deal with a situation where an
>     intermediary can interfere with the negotiation of encryption, or
>     whether an impostor server can claim not to support encryption in
>     an effort to avoid a requirement to authenticate itself as would
>     happen when TLS is negotiated.
>
>     I don't know the details of what TLS 1.2 fixes in TLS 1.1, but I
>     would only include tls11 and tls12 directives if there is a
>     downgrade attack where the attacker can claim to only support TLS
>     1.1 and not 1.2 and benefit from that. Unless there is something
>     about certification verification that can be exploited, the
>     impostor server attack isn't possible because the impostor would
>     have to authenticate to negotiate TLS 1.1 as well.  Similar
>     situation for the intermediary/MITM.
>
>     Is there actually something in TLS 1.1 that can be exploited by
>     these sorts of attackers?  If not, I wouldn't include those
>     directives.
>
>
> Jim,
>
> TLS contains its own anti-downgrade measures. What's the reasoning for
> adding ones here?
>
> -Ekr
>  
That's exactly my point: I wouldn't include these directives.

-Jim

--------------050609010608010300010303
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: 8bit

<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 4/15/16 5:28 AM, Eric Rescorla
      wrote:<br>
    </div>
    <blockquote
cite="mid:CABcZeBO75y8u5-HUz9jMBje5tfX3SGVLspwDkUtZY4D_O5TyvA@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div class="gmail_extra"><br>
          <div class="gmail_quote">On Thu, Apr 14, 2016 at 10:38 PM, Jim
            Fenton <span dir="ltr">&lt;<a moz-do-not-send="true"
                href="mailto:fenton@bluepopcorn.net" target="_blank">fenton@bluepopcorn.net</a>&gt;</span>
            wrote:<br>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">
              <div bgcolor="#FFFFFF" text="#000000"><span class="">
                  <div>On 4/13/16 10:43 AM, Chris Newman wrote:<br>
                  </div>
                  <blockquote type="cite">
                    <div
style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">DANE
                      is merely one method of validating a certificate,
                      there can also be SMTP policy orthogonal to DANE.
                      Take for example, DEEP’s “tls11” and “tls12”
                      directives. Those specify a minimum acceptable
                      version of TLS for future connections. Although we
                      haven’t debated yet whether to include those in
                      SMTP relay policy, I think it would make sense to
                      include those directives, particularly given the
                      problems we’ve seen with old versions of TLS
                      causing real security problems. And there may be
                      future policy directives we want that are even
                      more compelling. So the question is where to put
                      SMTP relay security policy that is orthogonal to
                      DANE. Seems like wherever we choose to put the
                      policy for SMTP relay STS (whether in a
                      DNSSEC-protected DNS record, HTTPS well-known or
                      SMTP+STARTTLS), that’s where we should always look
                      for SMTP relay policy.</div>
                    <div
style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto"><br>
                    </div>
                    <br>
                  </blockquote>
                </span> When you're deciding whether to publish an
                encryption policy, it's important to consider whether
                there's a downgrade attack. Fundamentally, we're trying
                to deal with a situation where an intermediary can
                interfere with the negotiation of encryption, or whether
                an impostor server can claim not to support encryption
                in an effort to avoid a requirement to authenticate
                itself as would happen when TLS is negotiated.<br>
                <br>
                I don't know the details of what TLS 1.2 fixes in TLS
                1.1, but I would only include tls11 and tls12 directives
                if there is a downgrade attack where the attacker can
                claim to only support TLS 1.1 and not 1.2 and benefit
                from that. Unless there is something about certification
                verification that can be exploited, the impostor server
                attack isn't possible because the impostor would have to
                authenticate to negotiate TLS 1.1 as well.  Similar
                situation for the intermediary/MITM.<br>
                <br>
                Is there actually something in TLS 1.1 that can be
                exploited by these sorts of attackers?  If not, I
                wouldn't include those directives.</div>
            </blockquote>
            <div><br>
            </div>
            <div>Jim,</div>
            <div><br>
            </div>
            <div>TLS contains its own anti-downgrade measures. What's
              the reasoning for adding ones here?</div>
            <div><br>
            </div>
            <div>-Ekr</div>
            <div> <br>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    That's exactly my point: I wouldn't include these directives.<br>
    <br>
    -Jim<br>
  </body>
</html>

--------------050609010608010300010303--


From nobody Sat Apr 16 10:24:28 2016
Return-Path: <chris.newman@oracle.com>
X-Original-To: uta@ietfa.amsl.com
Delivered-To: uta@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9127712B03A for <uta@ietfa.amsl.com>; Sat, 16 Apr 2016 10:24:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.197
X-Spam-Level: 
X-Spam-Status: No, score=-5.197 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.996, SPF_PASS=-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 WQEY0tAtCXzf for <uta@ietfa.amsl.com>; Sat, 16 Apr 2016 10:24:25 -0700 (PDT)
Received: from userp1040.oracle.com (userp1040.oracle.com [156.151.31.81]) (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 303AB12D119 for <uta@ietf.org>; Sat, 16 Apr 2016 10:24:25 -0700 (PDT)
Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id u3GHOGtW012936 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 16 Apr 2016 17:24:16 GMT
Received: from gotmail.us.oracle.com (gotmail.us.oracle.com [10.133.152.174]) by aserv0022.oracle.com (8.13.8/8.13.8) with ESMTP id u3GHODP6028264;  Sat, 16 Apr 2016 17:24:15 GMT
MIME-version: 1.0
Content-disposition: inline
Content-type: text/plain; charset=utf-8
Received: from dhcp-adc-twvpn-3-vpnpool-10-154-102-192.vpn.oracle.com (dhcp-adc-twvpn-3-vpnpool-10-154-102-192.vpn.oracle.com [10.154.102.192]) by gotmail.us.oracle.com (Oracle Communications Messaging Server 8.0.0.0.0 64bit (built Mar 19 2015)) with ESMTPSA id <0O5Q00I76LNX8T00@gotmail.us.oracle.com>; Sat, 16 Apr 2016 10:24:09 -0700 (PDT)
Date: Sat, 16 Apr 2016 10:23:49 -0700
From: Chris Newman <chris.newman@oracle.com>
To: Jim Fenton <fenton@bluepopcorn.net>, uta@ietf.org
Message-id: <etPan.5712752a.309ce839.18439@dhcp-adc-twvpn-3-vpnpool-10-154-102-192.vpn.oracle.com>
In-reply-to: <57107E44.3040108@bluepopcorn.net>
References: <570C0CD2.9030401@cs.tcd.ie> <20160411212128.GA26423@mournblade.imrryr.org> <CANtKdUekXNkVvsfq0UjCiaaPVBgoVGfrfnYUrdoOf0EegXMuPg@mail.gmail.com> <20160413014304.GB26423@mournblade.imrryr.org> <CANtKdUf0kN5aOmX0-NsyQXz_+PRGfaXa37DFZoCX3FqdYh5CpA@mail.gmail.com> <etPan.570e8549.3d8c14b4.1614d@jcaps-rd2.us.oracle.com> <57107E44.3040108@bluepopcorn.net>
X-Mailer: Airmail (351)
Content-transfer-encoding: quoted-printable
X-Source-IP: aserv0022.oracle.com [141.146.126.234]
Archived-At: <http://mailarchive.ietf.org/arch/msg/uta/v5t5KBBYUJZtyURh5dmjumx-VGs>
Subject: Re: [Uta] "webby" STS and DANE/DNSSEC co-existence
X-BeenThere: uta@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: UTA working group mailing list <uta.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/uta>, <mailto:uta-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/uta/>
List-Post: <mailto:uta@ietf.org>
List-Help: <mailto:uta-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/uta>, <mailto:uta-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 16 Apr 2016 17:24:26 -0000

=C2=A0On April 14, 2016 at 22:38:23 , Jim =46enton (fenton=40bluepopcorn.=
net(mailto:fenton=40bluepopcorn.net)) wrote:
> On 4/13/16 10:43 AM, Chris Newman wrote:
> > DANE is merely one method of validating a certificate, there can also=
 be SMTP policy orthogonal to DANE. Take for example, DEEP=E2=80=99s =E2=80=
=9Ctls11=E2=80=9D and =E2=80=9Ctls12=E2=80=9D directives. Those specify a=
 minimum acceptable version of TLS for future connections. Although we ha=
ven=E2=80=99t debated yet whether to include those in SMTP relay policy, =
I think it would make sense to include those directives, particularly giv=
en the problems we=E2=80=99ve seen with old versions of TLS causing real =
security problems. And there may be future policy directives we want that=
 are even more compelling. So the question is where to put SMTP relay sec=
urity policy that is orthogonal to DANE. Seems like wherever we choose to=
 put the policy for SMTP relay STS (whether in a DNSSEC-protected DNS rec=
ord, HTTPS well-known or SMTP+STARTTLS), that=E2=80=99s where we should a=
lways look for SMTP relay policy. =20
> > =20
> When you're deciding whether to publish an encryption policy, it's impo=
rtant to consider whether there's a downgrade attack. =46undamentally, we=
're trying to deal with a situation where an intermediary can interfere w=
ith the negotiation of encryption, or whether an impostor server can clai=
m not to support encryption in an effort to avoid a requirement to authen=
ticate itself as would happen when TLS is negotiated.
> =20
> I don't know the details of what TLS 1.2 fixes in TLS 1.1, but I would =
only include tls11 and tls12 directives if there is a downgrade attack wh=
ere the attacker can claim to only support TLS 1.1 and not 1.2 and benefi=
t from that. Unless there is something about certification verification t=
hat can be exploited, the impostor server attack isn't possible because t=
he impostor would have to authenticate to negotiate TLS 1.1 as well. Simi=
lar situation for the intermediary/MITM.
> =20
> Is there actually something in TLS 1.1 that can be exploited by these s=
orts of attackers=3F If not, I wouldn't include those directives.

In SSL 3.0 and TLS 1.0 there are things attackers can exploit and those p=
rotocols are still in the wild and still required by many old MUAs that a=
re still widely used. TLS 1.1 it=E2=80=99s less clear at the moment that =
it=E2=80=99s exploitable, but that=E2=80=99s likely to change.

While the TLS =E2=80=9Clive at the moment=E2=80=9D version negotiation is=
 not vulnerable to MITM, I view policy as setting the baseline for future=
 security rather than stopping immediate MITMs. We can also do a threat a=
nalysis. The most common attacks outside passive eavesdropping and DNS ar=
e breaking into servers. Breaking into servers tends to get noticed if th=
ere=E2=80=99s an outbound stream of data or things stop working. But what=
 if I break into a server and change it to prefer SSL 3.0 and TLS 1.0 ove=
r later versions during the negotiations=3F Now I can do external attacks=
 on that domain that may not be detectable by the domain=E2=80=99s intrus=
ion detection system. Meanwhile end-users are assured they=E2=80=99re sec=
ure by the =E2=80=9Clock=E2=80=9D.

So while Viktor made a compelling case that the TLS version directive is =
not appropriate for SMTP relay, I think it is appropriate for the MUA STS=
 scenario where it=E2=80=99s simpler to implement, where very old MUAs ar=
e in wide use requiring permissive servers, and I=E2=80=99d really like t=
o be sure my client is using the stronger versions of TLS as long as I do=
n=E2=80=99t have to manually configure it.

Does this make sense=3F

Another reason I like the TLS version directive is I can give example cod=
e of how to implement it which helps explain the concepts. The other dire=
ctives are too complicated for that.

		- Chris



From nobody Sun Apr 17 20:45:16 2016
Return-Path: <fenton@bluepopcorn.net>
X-Original-To: uta@ietfa.amsl.com
Delivered-To: uta@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E6DC312DBC9 for <uta@ietfa.amsl.com>; Sun, 17 Apr 2016 20:45:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.997
X-Spam-Level: 
X-Spam-Status: No, score=-2.997 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RP_MATCHES_RCVD=-0.996, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=bluepopcorn.net
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 2c1dgJwjofYM for <uta@ietfa.amsl.com>; Sun, 17 Apr 2016 20:45:13 -0700 (PDT)
Received: from v2.bluepopcorn.net (v2.bluepopcorn.net [IPv6:2607:f2f8:a994::2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 22C5F12DBCC for <uta@ietf.org>; Sun, 17 Apr 2016 20:45:12 -0700 (PDT)
Received: from splunge.local (c-24-4-98-3.hsd1.ca.comcast.net [24.4.98.3]) (authenticated bits=0) by v2.bluepopcorn.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id u3I3jBrK019232 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Sun, 17 Apr 2016 20:45:12 -0700
To: Chris Newman <chris.newman@oracle.com>, uta@ietf.org
References: <570C0CD2.9030401@cs.tcd.ie> <20160411212128.GA26423@mournblade.imrryr.org> <CANtKdUekXNkVvsfq0UjCiaaPVBgoVGfrfnYUrdoOf0EegXMuPg@mail.gmail.com> <20160413014304.GB26423@mournblade.imrryr.org> <CANtKdUf0kN5aOmX0-NsyQXz_+PRGfaXa37DFZoCX3FqdYh5CpA@mail.gmail.com> <etPan.570e8549.3d8c14b4.1614d@jcaps-rd2.us.oracle.com> <57107E44.3040108@bluepopcorn.net> <etPan.5712752a.309ce839.18439@dhcp-adc-twvpn-3-vpnpool-10-154-102-192.vpn.oracle.com>
From: Jim Fenton <fenton@bluepopcorn.net>
Message-ID: <57145842.2050604@bluepopcorn.net>
Date: Sun, 17 Apr 2016 20:45:06 -0700
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.7.2
MIME-Version: 1.0
In-Reply-To: <etPan.5712752a.309ce839.18439@dhcp-adc-twvpn-3-vpnpool-10-154-102-192.vpn.oracle.com>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=bluepopcorn.net; s=supersize; t=1460951112; bh=J8DQusQNXAPvcOi75hAI58fCuDXg375gR+/He5nxOvQ=; h=Subject:To:References:From:Date:In-Reply-To; b=BNlzEsywJuwipGyU5C7cjT+1aHeuUHxS1sDRa93aP9cjKRD2n9Oq4VpwSmsfuwcMA XyLBFxC2FZEOetwmWmdahK4VX0WFKRAkjXb9Enj31SlBtu2ZmU0EAwdMWwRx3TQpCG kuy1+u+zcCkOP9dKEuVoNxkmrPhHdZWu2zJ9ISaA=
Archived-At: <http://mailarchive.ietf.org/arch/msg/uta/gguxVFJp4QrZxSaa2ejV9QrG6PI>
Subject: Re: [Uta] "webby" STS and DANE/DNSSEC co-existence
X-BeenThere: uta@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: UTA working group mailing list <uta.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/uta>, <mailto:uta-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/uta/>
List-Post: <mailto:uta@ietf.org>
List-Help: <mailto:uta-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/uta>, <mailto:uta-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 18 Apr 2016 03:45:15 -0000

On 4/16/16 10:23 AM, Chris Newman wrote:
> =20
>>> So while Viktor made a compelling case that the TLS version directive=
 is not appropriate for SMTP relay, I think it is appropriate for the MUA=
 STS scenario where it=E2=80=99s simpler to implement, where very old MUA=
s are in wide use requiring permissive servers, and I=E2=80=99d really li=
ke to be sure my client is using the stronger versions of TLS as long as =
I don=E2=80=99t have to manually configure it.

I'm a little confused by the language in section 9.1 "All [client and
server] implementations MUST be configurable to support implicit TLS
using the TLS 1.2 protocol or later."  So why not insist in TLS 1.2 all
the time? There must be a deployment corner case that I'm not considering=
=2E

But, as you noted in section 6, the choice of TLS version isn't the only
thing that needs to be considered. Why does TLS version rise to the
level of importance of creating a directive, but cipher suite doesn't?

I don't see the complexity and interoperability risk associated with all
this to be warranted by the relatively low level of security risk.

Also, if we're talking about some unification of STS and DEEP (as
"MUA-STS" or something, if I recall correctly), and the STS policy is
retrieved in a "webby" manner, the policy record probably also needs to
adhere to its own standards for TLS version, cipher suite, etc. Which
could be problematic if an attacker can publish a record for a
known-vulnerable cipher suite or something.

-Jim



From nobody Sun Apr 17 21:48:35 2016
Return-Path: <ietf-dane@dukhovni.org>
X-Original-To: uta@ietfa.amsl.com
Delivered-To: uta@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9779612DE89 for <uta@ietfa.amsl.com>; Sun, 17 Apr 2016 21:48:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=unavailable 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 jYbzJIlHsTl7 for <uta@ietfa.amsl.com>; Sun, 17 Apr 2016 21:48:31 -0700 (PDT)
Received: from mournblade.imrryr.org (mournblade.imrryr.org [38.117.134.19]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id DAE6812D815 for <uta@ietf.org>; Sun, 17 Apr 2016 21:39:51 -0700 (PDT)
Received: by mournblade.imrryr.org (Postfix, from userid 1034) id CBD60284B6F; Mon, 18 Apr 2016 04:39:50 +0000 (UTC)
Date: Mon, 18 Apr 2016 04:39:50 +0000
From: Viktor Dukhovni <ietf-dane@dukhovni.org>
To: uta@ietf.org
Message-ID: <20160418043950.GJ26423@mournblade.imrryr.org>
References: <570C0CD2.9030401@cs.tcd.ie> <20160411212128.GA26423@mournblade.imrryr.org> <CANtKdUekXNkVvsfq0UjCiaaPVBgoVGfrfnYUrdoOf0EegXMuPg@mail.gmail.com> <20160413014304.GB26423@mournblade.imrryr.org> <CANtKdUf0kN5aOmX0-NsyQXz_+PRGfaXa37DFZoCX3FqdYh5CpA@mail.gmail.com> <etPan.570e8549.3d8c14b4.1614d@jcaps-rd2.us.oracle.com> <57107E44.3040108@bluepopcorn.net> <etPan.5712752a.309ce839.18439@dhcp-adc-twvpn-3-vpnpool-10-154-102-192.vpn.oracle.com> <57145842.2050604@bluepopcorn.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <57145842.2050604@bluepopcorn.net>
User-Agent: Mutt/1.5.24 (2015-08-30)
Archived-At: <http://mailarchive.ietf.org/arch/msg/uta/q4YOdDyK5CVtnvXE3o-8xPjEKqE>
Subject: Re: [Uta] "webby" STS and DANE/DNSSEC co-existence
X-BeenThere: uta@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
Reply-To: uta@ietf.org
List-Id: UTA working group mailing list <uta.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/uta>, <mailto:uta-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/uta/>
List-Post: <mailto:uta@ietf.org>
List-Help: <mailto:uta-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/uta>, <mailto:uta-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 18 Apr 2016 04:48:32 -0000

On Sun, Apr 17, 2016 at 08:45:06PM -0700, Jim Fenton wrote:

> I'm a little confused by the language in section 9.1 "All [client and
> server] implementations MUST be configurable to support implicit TLS
> using the TLS 1.2 protocol or later."  So why not insist in TLS 1.2 all
> the time? There must be a deployment corner case that I'm not considering.
> 
> But, as you noted in section 6, the choice of TLS version isn't the only
> thing that needs to be considered. Why does TLS version rise to the
> level of importance of creating a directive, but cipher suite doesn't?

I agree that it may make more sense to set protocol floors in TLS
libraries and "die die die" RFCs that obsolete old protocol versions
than to do so via DEEP application latches.  The TLS protocol
version latches are likely too much work for too little gain.

-- 
	Viktor.


From nobody Mon Apr 18 12:43:59 2016
Return-Path: <chris.newman@oracle.com>
X-Original-To: uta@ietfa.amsl.com
Delivered-To: uta@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BB77C12DA84 for <uta@ietfa.amsl.com>; Mon, 18 Apr 2016 12:43:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.217
X-Spam-Level: 
X-Spam-Status: No, score=-5.217 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.996, SPF_PASS=-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 P70AvPRG7Pyl for <uta@ietfa.amsl.com>; Mon, 18 Apr 2016 12:43:56 -0700 (PDT)
Received: from userp1040.oracle.com (userp1040.oracle.com [156.151.31.81]) (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 6170D12B048 for <uta@ietf.org>; Mon, 18 Apr 2016 12:43:55 -0700 (PDT)
Received: from aserv0021.oracle.com (aserv0021.oracle.com [141.146.126.233]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id u3IJhiaG025764 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 18 Apr 2016 19:43:44 GMT
Received: from gotmail.us.oracle.com (gotmail.us.oracle.com [10.133.152.174]) by aserv0021.oracle.com (8.13.8/8.13.8) with ESMTP id u3IJhhpg019703;  Mon, 18 Apr 2016 19:43:43 GMT
MIME-version: 1.0
Content-disposition: inline
Content-type: text/plain; charset=utf-8
Received: from Nifty.local (unknown [10.145.239.114]) by gotmail.us.oracle.com (Oracle Communications Messaging Server 8.0.0.0.0 64bit (built Mar 19 2015)) with ESMTPSA id <0O5U00D4WHGEJV00@gotmail.us.oracle.com>; Mon, 18 Apr 2016 12:43:35 -0700 (PDT)
Date: Mon, 18 Apr 2016 12:43:20 -0700
From: Chris Newman <chris.newman@oracle.com>
To: Jim Fenton <fenton@bluepopcorn.net>, uta@ietf.org
Message-id: <etPan.571538dd.14af4bae.918@Nifty.local>
In-reply-to: <57145842.2050604@bluepopcorn.net>
References: <570C0CD2.9030401@cs.tcd.ie> <20160411212128.GA26423@mournblade.imrryr.org> <CANtKdUekXNkVvsfq0UjCiaaPVBgoVGfrfnYUrdoOf0EegXMuPg@mail.gmail.com> <20160413014304.GB26423@mournblade.imrryr.org> <CANtKdUf0kN5aOmX0-NsyQXz_+PRGfaXa37DFZoCX3FqdYh5CpA@mail.gmail.com> <etPan.570e8549.3d8c14b4.1614d@jcaps-rd2.us.oracle.com> <57107E44.3040108@bluepopcorn.net> <etPan.5712752a.309ce839.18439@dhcp-adc-twvpn-3-vpnpool-10-154-102-192.vpn.oracle.com> <57145842.2050604@bluepopcorn.net>
X-Mailer: Airmail (351)
Content-transfer-encoding: quoted-printable
X-Source-IP: aserv0021.oracle.com [141.146.126.233]
Archived-At: <http://mailarchive.ietf.org/arch/msg/uta/yObQWPPW0UAdeTx5Br7lV_gKPO0>
Subject: Re: [Uta] "webby" STS and DANE/DNSSEC co-existence
X-BeenThere: uta@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: UTA working group mailing list <uta.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/uta>, <mailto:uta-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/uta/>
List-Post: <mailto:uta@ietf.org>
List-Help: <mailto:uta-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/uta>, <mailto:uta-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 18 Apr 2016 19:43:58 -0000

=C2=A0
On April 17, 2016 at 13:45:24 , Jim =46enton (fenton=40bluepopcorn.net(ma=
ilto:fenton=40bluepopcorn.net)) wrote:
> On 4/16/16 10:23 AM, Chris Newman wrote:
> > =20
> >>> So while Viktor made a compelling case that the TLS version directi=
ve is not appropriate for SMTP relay, I think it is appropriate for the M=
UA STS scenario where it=E2=80=99s simpler to implement, where very old M=
UAs are in wide use requiring permissive servers, and I=E2=80=99d really =
like to be sure my client is using the stronger versions of TLS as long a=
s I don=E2=80=99t have to manually configure it.
> =20
> I'm a little confused by the language in section 9.1 =22All =5Bclient a=
nd
> server=5D implementations MUST be configurable to support implicit TLS
> using the TLS 1.2 protocol or later.=22 So why not insist in TLS 1.2 al=
l
> the time=3F There must be a deployment corner case that I'm not conside=
ring. =20

SSL appliance boxes tend to get updated slowly. Also the model has to cov=
er two versions to explain how upgrading works.

> But, as you noted in section 6, the choice of TLS version isn't the onl=
y
> thing that needs to be considered. Why does TLS version rise to the
> level of importance of creating a directive, but cipher suite doesn't=3F=
 =20

Cipher suites are necessarily fluid and it=E2=80=99s not always clear whe=
ther one will be better than another indefinitely. To the extent we can h=
ave TLS stack vendors be the only people who care about what cipher suite=
s are enabled/preferred, we=E2=80=99re going to have better outcomes than=
 if we expect non-security folks to control those knobs. The primary need=
 is the ability to turn on/off old cipher suites as dictated by a site=E2=
=80=99s interoperability vs. security balance. Client policy is more like=
ly to cause problems than to improve security in the cipher suite area.

The TLS version, on the other hand, is where the security community reall=
y ratchets up the minimum security for TLS. Minimum version is controllab=
le in TLS APIs, and indeed a common TLS client design error is failure to=
 expose that control knob. Thus when SSL3 & TLS1.0 vulnerabilities became=
 well known, it required software updates to turn those versions off in m=
any products (rather than a configuration or policy change). Having it in=
 the standard might encourage implementers to pay attention to that impor=
tant TLS stack control knob.

> I don't see the complexity and interoperability risk associated with al=
l
> this to be warranted by the relatively low level of security risk. =20

=46or MUAs, this is not complex. It would be very straightforward to impl=
ement (a few lines of code) once the account confidentiality level model =
is implemented (which is the important part of MUA STS). I don=E2=80=99t =
see significant interoperability risk in the MUA space.

> Also, if we're talking about some unification of STS and DEEP (as
> =22MUA-STS=22 or something, if I recall correctly), and the STS policy =
is
> retrieved in a =22webby=22 manner, the policy record probably also need=
s to
> adhere to its own standards for TLS version, cipher suite, etc. Which
> could be problematic if an attacker can publish a record for a
> known-vulnerable cipher suite or something. =20

Unification is a non-goal. Protocol/model alignment where it makes sense =
is the goal. I believe a strong case has been made that STS policy is ver=
y application-specific. In SMTP relay STS, the default is deliver forward=
 with zero security and there is communication with many badly behaved pe=
ers that all have to be tracked separately. The business motivation is: 1=
. never bounce legitimate mail to avoid support costs and 2. generate a r=
eputation for confidentiality whether or not that reputation is reflected=
 in reality. The ISPs with these two motivations control their SMTP relay=
 clients & servers. Just getting the cert checked in the most barebones f=
ashion is going to be a difficult ask for the infrastructure. The MUA wor=
ld is different. Many MUAs already support an =E2=80=9CSSL-required=E2=80=
=9D mode that checks certs =E2=80=94 they just have no way to move from t=
he no-SSL to SSL-required mode and no indication of which mode is active.=
 ISPs generally don=E2=80=99t control which MUA the customer uses, so the=
 ISP motivation is to make the common MUAs work well. If (and only if) th=
e MUA provides a visual indication of the account confidentiality level, =
the ISPs will change to get the label. There also tend to be a lot of ver=
y old MUAs in use in some countries, so ISPs often have very permissive s=
erver configurations (e.g., likely to support TLS1.0, RC4, SHA1, etc to i=
nteroperate with old MUAs). Ratcheting up the minimum TLS version is much=
 easier to implement in MUA STS than SMTP relay STS, and it=E2=80=99s mor=
e likely to actually improve security.

	- Chris



From nobody Wed Apr 20 02:06:07 2016
Return-Path: <azet@azet.org>
X-Original-To: uta@ietfa.amsl.com
Delivered-To: uta@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1F5A412EB51 for <uta@ietfa.amsl.com>; Wed, 20 Apr 2016 02:06:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.698
X-Spam-Level: 
X-Spam-Status: No, score=-2.698 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, MIME_QP_LONG_LINE=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=azet.org
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 n1sCLpgqP8jO for <uta@ietfa.amsl.com>; Wed, 20 Apr 2016 02:06:02 -0700 (PDT)
Received: from mail-pa0-x22f.google.com (mail-pa0-x22f.google.com [IPv6:2607:f8b0:400e:c03::22f]) (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 2B77512EC22 for <uta@ietf.org>; Wed, 20 Apr 2016 02:06:02 -0700 (PDT)
Received: by mail-pa0-x22f.google.com with SMTP id r5so14512815pag.1 for <uta@ietf.org>; Wed, 20 Apr 2016 02:06:02 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=azet.org; s=gmail; h=from:content-transfer-encoding:mime-version:subject:message-id:date :references:to; bh=xCmoFSqp7x0hahODNP6A/Dq0QZGhlK9wtJ9FMUTAtvc=; b=gcX0YwnKmLivCgwz/9TAOu4X3mhWY1nLUoKbJIV725tMbGh9mWU0Tsb03gw66BULyt En9JwmUxuZL0Za6Yv/uhVplsbbuH/UzBoB8K6t5mZYDXuayz9lcE3Pg66+MoW/X6CZif Hu3WO80a/npLZbVJWVLNENlslCtEKYXefogP8=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:message-id:date:references:to; bh=xCmoFSqp7x0hahODNP6A/Dq0QZGhlK9wtJ9FMUTAtvc=; b=WgkE/t/q12+q7goudA3t9HJ/yZjX6iZoDH8X2vA6otHsaaPAq+EQYn66AzFAhzndO9 xzZJ8otwalM08mxP5zj8xfTurR37U/oeHMgOIrTmXcpJgAKRKQaGVwFmI2n7wDkLjQg0 Jgbn0gBZ9kckqMkPsnpu94U0JdQd7A+pBISkPgPm9isaDibuz6+qrYxjO9ru4YnB62FC AG0+rcOCwS/HWvYGPZFXphF4gx6r/6j1o3h7Un0Bt8O1F4wN0D8Ji7QjtzJnNJPhvA9j OB9pXiRWRBa4k3tmLa4BMvwKXN86wsqYW38mSdQe21YmttEMXfTKWYyy1gGV2Z5PpHOM 38ug==
X-Gm-Message-State: AOPr4FUeKF9i1F3PygjhnDfhYmsNhSJvQc1rBQr2tkWd8LQwbFfxwtWO4WvtYjuGju5OSw==
X-Received: by 10.66.1.99 with SMTP id 3mr10531031pal.26.1461143161648; Wed, 20 Apr 2016 02:06:01 -0700 (PDT)
Received: from [10.234.200.72] (ppp-49-237-185-236.revip6.asianet.co.th. [49.237.185.236]) by smtp.gmail.com with ESMTPSA id n10sm41013814pfj.14.2016.04.20.02.05.59 for <uta@ietf.org> (version=TLSv1/SSLv3 cipher=OTHER); Wed, 20 Apr 2016 02:06:00 -0700 (PDT)
From: azet@azet.org
Content-Type: multipart/alternative; boundary=Apple-Mail-DFE744D7-B098-4573-AF30-704DB3F9E5BA
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (1.0)
Message-Id: <A32379D0-C2A5-4B78-B290-DFA53493A0BD@azet.org>
Date: Wed, 20 Apr 2016 16:05:58 +0700
References: <de395e114036b9642e8993708c3c0a1b@mail.hitco.at>
To: uta@ietf.org
X-Mailer: iPhone Mail (13E238)
Archived-At: <http://mailarchive.ietf.org/arch/msg/uta/jkh_UvCGGKQR1gbM22T9KSDwfQY>
Subject: [Uta] Fwd: [Ach] NIST Special Publication 800-177: Trustworthy Email
X-BeenThere: uta@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: UTA working group mailing list <uta.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/uta>, <mailto:uta-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/uta/>
List-Post: <mailto:uta@ietf.org>
List-Help: <mailto:uta-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/uta>, <mailto:uta-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 20 Apr 2016 09:06:06 -0000

--Apple-Mail-DFE744D7-B098-4573-AF30-704DB3F9E5BA
Content-Type: text/plain;
	charset=us-ascii
Content-Transfer-Encoding: 7bit




Begin forwarded message:

> From: Gunnar Haslinger <gh.bettercrypto@hitco.at>
> Date: 20 April 2016 at 14:13:47 GMT+7
> To: ach@lists.cert.at
> Subject: [Ach] NIST Special Publication 800-177: Trustworthy Email
> 
> NIST is currently working on an Updated Publication:
> 
> SECOND DRAFT
> NIST Special Publication 800-177
> Trustworthy Email
> 
> http://csrc.nist.gov/publications/drafts/800-177/sp800-177_second-draft.pdf
> 
> 
> The public comment period closes April 29th, 2016.
> Email comments to SP800-177@nist.gov
> Details: http://csrc.nist.gov/publications/PubsDrafts.html
> 
> 
> 
> 
> 
> _______________________________________________
> Ach mailing list
> Ach@lists.cert.at
> http://lists.cert.at/cgi-bin/mailman/listinfo/ach

--Apple-Mail-DFE744D7-B098-4573-AF30-704DB3F9E5BA
Content-Type: text/html;
	charset=utf-8
Content-Transfer-Encoding: quoted-printable

<html><head><meta http-equiv=3D"content-type" content=3D"text/html; charset=3D=
utf-8"></head><body dir=3D"auto"><div></div><div><br><br><br>Begin forwarded=
 message:<br><br></div><blockquote type=3D"cite"><div><b>From:</b> Gunnar Ha=
slinger &lt;<a href=3D"mailto:gh.bettercrypto@hitco.at">gh.bettercrypto@hitc=
o.at</a>&gt;<br><b>Date:</b> 20 April 2016 at 14:13:47 GMT+7<br><b>To:</b> <=
a href=3D"mailto:ach@lists.cert.at">ach@lists.cert.at</a><br><b>Subject:</b>=
 <b>[Ach] NIST Special Publication 800-177: Trustworthy Email</b><br><br></d=
iv></blockquote><blockquote type=3D"cite"><div><span>NIST is currently worki=
ng on an Updated Publication:</span><br><span></span><br><span>SECOND DRAFT<=
/span><br><span>NIST Special Publication 800-177</span><br><span>Trustworthy=
 Email</span><br><span></span><br><span><a href=3D"http://csrc.nist.gov/publ=
ications/drafts/800-177/sp800-177_second-draft.pdf">http://csrc.nist.gov/pub=
lications/drafts/800-177/sp800-177_second-draft.pdf</a></span><br><span></sp=
an><br><span></span><br><span>The public comment period closes April 29th, 2=
016.</span><br><span>Email comments to <a href=3D"mailto:SP800-177@nist.gov"=
>SP800-177@nist.gov</a></span><br><span>Details: <a href=3D"http://csrc.nist=
.gov/publications/PubsDrafts.html">http://csrc.nist.gov/publications/PubsDra=
fts.html</a></span><br><span></span><br><span></span><br><span></span><br><s=
pan></span><br><span></span><br><span>______________________________________=
_________</span><br><span>Ach mailing list</span><br><span><a href=3D"mailto=
:Ach@lists.cert.at">Ach@lists.cert.at</a></span><br><span><a href=3D"http://=
lists.cert.at/cgi-bin/mailman/listinfo/ach">http://lists.cert.at/cgi-bin/mai=
lman/listinfo/ach</a></span><br></div></blockquote></body></html>=

--Apple-Mail-DFE744D7-B098-4573-AF30-704DB3F9E5BA--


From nobody Thu Apr 21 09:17:40 2016
Return-Path: <ietf-dane@dukhovni.org>
X-Original-To: uta@ietfa.amsl.com
Delivered-To: uta@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id EE72E12DAA9; Thu, 21 Apr 2016 09:17:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001] 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 CGGS1JKiyVrV; Thu, 21 Apr 2016 09:17:37 -0700 (PDT)
Received: from mournblade.imrryr.org (mournblade.imrryr.org [38.117.134.19]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5B57712E082; Thu, 21 Apr 2016 09:17:36 -0700 (PDT)
Received: by mournblade.imrryr.org (Postfix, from userid 1034) id 1AE41284951; Thu, 21 Apr 2016 16:17:35 +0000 (UTC)
Date: Thu, 21 Apr 2016 16:17:35 +0000
From: Viktor Dukhovni <ietf-dane@dukhovni.org>
To: uta@ietf.org, dane@ietf.org
Message-ID: <20160421161734.GO26423@mournblade.imrryr.org>
References: <20160414183856.GL26423@mournblade.imrryr.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20160414183856.GL26423@mournblade.imrryr.org>
User-Agent: Mutt/1.5.24 (2015-08-30)
Archived-At: <http://mailarchive.ietf.org/arch/msg/uta/HytpLw1HTuMnsBSnyfFx9ooLrQo>
Subject: Re: [Uta] NEWSFLASH: DANE TLSA records published for web.de!
X-BeenThere: uta@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
Reply-To: uta@ietf.org
List-Id: UTA working group mailing list <uta.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/uta>, <mailto:uta-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/uta/>
List-Post: <mailto:uta@ietf.org>
List-Help: <mailto:uta-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/uta>, <mailto:uta-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 21 Apr 2016 16:17:39 -0000

On Thu, Apr 14, 2016 at 06:38:56PM +0000, Viktor Dukhovni wrote:

> The web.de domain has just published DANE TLSA records for its MX
> hosts.

And today also the rest of the major 1&1 (Mail&Media) email domains:

    gmx.de
    gmx.net
    gmx.com
    gmx.ch
    gmx.at

> This is a major milestone in DANE adoption.  [ IIRC they host
> mailboxes for a substantial fraction of the population of Germany. ]

    https://icannwiki.com/.gmx

    With over 32 million customers Mail&Media covers nearly 50% of
    the German Webmail market. With its brands, Mail&Media is the
    largest free email provider in the German speaking countries
    of Germany, Switzerland, Austria, Luxembourg and Liechtenstein.

Together with web.de this likely makes over 30 million recently
added mailboxes with DANE TLSA records.  DANE is now supported by
the below home internet / email / hosting  providers.

    gmx.at
    gmx.ch
    gmx.com
    mail.com
    gmx.de
    posteo.de
    unitymedia.de
    web.de
    comcast.net
    gmx.net
    t-2.net
    xs4all.net
    xs4all.nl
    transip.nl
    udmedia.de
    nederhost.net

DANE is no longer just at hobbyist domains and a few smaller early
adopters like Posteo and Unitymedia.  This is starting to get
interesting.

While the even larger Gmail, Outlook.com/Hotmail, Yahoo ... are
not in the near term in a position to deploy DNSSEC, I expect that
doing so is simpler for outlook.com, because this domain does not
overlap with major web properties whose scale makes the transition
considerably more difficult.  So it would be great to add Microsoft
to the above list some time in 2017 (or sooner).

DANE for gmail.com is also plausible without impacting all of
Google, but requires moving the MX hosts out of the present
google.com.

-- 
	Viktor.


From anders@desh.se  Fri Apr 22 16:40:02 2016
Return-Path: <anders@desh.se>
X-Original-To: uta@ietfa.amsl.com
Delivered-To: uta@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1BC8812DFD8 for <uta@ietfa.amsl.com>; Fri, 22 Apr 2016 16:40:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.6
X-Spam-Level: 
X-Spam-Status: No, score=-2.6 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=desh-se.20150623.gappssmtp.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 l1JML9w988Wq for <uta@ietfa.amsl.com>; Fri, 22 Apr 2016 16:40:00 -0700 (PDT)
Received: from mail-lf0-x232.google.com (mail-lf0-x232.google.com [IPv6:2a00:1450:4010:c07::232]) (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 C81AB12DDE0 for <uta@ietf.org>; Fri, 22 Apr 2016 16:39:59 -0700 (PDT)
Received: by mail-lf0-x232.google.com with SMTP id c126so87714188lfb.2 for <uta@ietf.org>; Fri, 22 Apr 2016 16:39:59 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=desh-se.20150623.gappssmtp.com; s=20150623; h=mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=PIznJGZoDNSaw4hQCG+VSwfMVZVvgbfFW+g8WaOsvEk=; b=Uhx84ghdZB2aHeNELLnZcYrhENhdmXpdpPrCY4WqgJmIIMhoREkN2WnrFc4FPqoO+V 0R2xa0ixHyEzcqL0mntEGLyUfNZ3SFLpFnu0Y7aIJt5Fl2834V9KsXNovWb2WBfcWSai IylPQYPMtIoEobYqRXIsBGvorXDKXlbMvdjuhKap/qjhs6sL4as3CD1BzIBOTV7FDFC4 UXw9IPDvUhQ/+SyECEy0eylOphi27mVJibnYjm/JCoeV8DS+vEGrvpTjTR8EFwMaewp1 CFZH1nbCAMvR1dce+lGoIO4i8TV8GCAS8dpAenRf9lDz+aEkxyHQX2XkOpwNZMMNmSZx 8jSQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=PIznJGZoDNSaw4hQCG+VSwfMVZVvgbfFW+g8WaOsvEk=; b=f5tLzQwNW5zGD7a3Jj2opP1agTxsoG/LRe0Yq5VwWaCoiRWcK95VcPwJUCeAT8KSlP 4/o/AQ13MIkAa5DeM9ZguPw2d0deZukCa6lD5ijVfet1gD+uVhGokrKqg/f69fzu49RR ZlzEjbaGKqwIaOgVleg3LGXoQ5HilL01B/HbgeDqVCBPyDD+WT1XIwD7OHAgtBlv2g3Z r5S6qcvvn/bQp5kdEGCSlvcct22kQaZYhX9tPQOrBZvWEhXh2vKXKKP8DYxEOI3FaivY fuAThiolT//9RVOj4cSPMeKz4WRIByn1yehGPlPiRAG2P4V6CI465CUk+9/3mLSqi2mm Kdtw==
X-Gm-Message-State: AOPr4FUaAxspyf1SFbPQeQNISdiXc3ncisZy3lPUSE3CmECF/nN9+/bHrZbPM5I040mbPQ==
X-Received: by 10.25.83.199 with SMTP id h190mr4742458lfb.165.1461368397934; Fri, 22 Apr 2016 16:39:57 -0700 (PDT)
Received: from [192.0.2.41] ([212.37.18.194]) by smtp.gmail.com with ESMTPSA id kl1sm1555755lbc.35.2016.04.22.16.39.56 for <uta@ietf.org> (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 22 Apr 2016 16:39:57 -0700 (PDT)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\))
From: Anders Berggren <anders@desh.se>
In-Reply-To: <20160421161734.GO26423@mournblade.imrryr.org>
Date: Sat, 23 Apr 2016 01:39:54 +0200
Content-Transfer-Encoding: quoted-printable
Message-Id: <498F9DF9-6F79-4B2F-BD45-600AA63C9FE3@desh.se>
References: <20160414183856.GL26423@mournblade.imrryr.org> <20160421161734.GO26423@mournblade.imrryr.org>
To: uta@ietf.org
X-Mailer: Apple Mail (2.3124)
Archived-At: <http://mailarchive.ietf.org/arch/msg/uta/ngiUvU3Z1lRKMZvcI8oLFCvyj8k>
Subject: Re: [Uta] NEWSFLASH: DANE TLSA records published for web.de!
X-BeenThere: uta@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: UTA working group mailing list <uta.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/uta>, <mailto:uta-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/uta/>
List-Post: <mailto:uta@ietf.org>
List-Help: <mailto:uta-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/uta>, <mailto:uta-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 22 Apr 2016 23:43:17 -0000

> On 21 Apr 2016, at 18:17, Viktor Dukhovni <ietf-dane@dukhovni.org> =
wrote:
> While the even larger Gmail, Outlook.com/Hotmail, Yahoo ... are
> not in the near term in a position to deploy DNSSEC, I expect that
> doing so is simpler for outlook.com, because this domain does not
> overlap with major web properties whose scale makes the transition
> considerably more difficult.  So it would be great to add Microsoft
> to the above list some time in 2017 (or sooner).

Am I correct in assuming that none of the very big (Gmail, et al) do =
DANE verification when sending email? Given that Google=E2=80=99s public =
DNS resolvers have supported DNSSEC since many years, I think it would =
make sense for Google to start delivering email with DANE, regardless of =
what they decide to do for inbound email.

> DANE for gmail.com is also plausible without impacting all of
> Google, but requires moving the MX hosts out of the present
> google.com.

The domain googlemail.com used to be part of the Google Apps MX. =
Speaking of which; it would also make DANE available to the millions of =
domains[1] using Google Apps, as a bonus.

[1] http://research.domaintools.com/statistics/mailservers/=


From nobody Mon Apr 25 01:07:01 2016
Return-Path: <dmargolis@google.com>
X-Original-To: uta@ietfa.amsl.com
Delivered-To: uta@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 82BB612D525 for <uta@ietfa.amsl.com>; Mon, 25 Apr 2016 01:06:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.696
X-Spam-Level: 
X-Spam-Status: No, score=-3.696 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RP_MATCHES_RCVD=-0.996, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=google.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 F1RpZ3FLYqqO for <uta@ietfa.amsl.com>; Mon, 25 Apr 2016 01:06:56 -0700 (PDT)
Received: from mail-ig0-x22f.google.com (mail-ig0-x22f.google.com [IPv6:2607:f8b0:4001:c05::22f]) (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 8E3A712D522 for <uta@ietf.org>; Mon, 25 Apr 2016 01:06:55 -0700 (PDT)
Received: by mail-ig0-x22f.google.com with SMTP id c3so2861612igl.0 for <uta@ietf.org>; Mon, 25 Apr 2016 01:06:55 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=m2Xv0KsxMdv8TvWyzJ3oc5xAuJ46ld8boEnGS2QSfTo=; b=Qm1Cpzl+4RN6X5/Nm2wBQXjiG+VBobLW2CcrwtiWKhBPIHjRsDPsYnir3wJ87CaLWR E7SxjN5rfj3A3Wvz2Ztl5jVLqY2tQnf0wamsk+jKif1+3Nw2HqfC2m8GcVM6aW1qIh3W VnbYJ3MmPDNkOTJSmN2nWOncgNkuvtSR9eKR0r0GowVz9n8OvBOkSmRFUTd9qnw9pRX6 EZWMZhaPSRezjlu25aE8ESs8VwpmYTNv5/Qbh0ttKbtHl5v/AFQ92nPwsn51qO7Kb1fY PGyQJ/xpnGDoc+gIwwQcGsMWs6K6IVRR8H1xfihEjtHOCLbaktCMmUgKKHdyzP85VUjV 5J2Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=m2Xv0KsxMdv8TvWyzJ3oc5xAuJ46ld8boEnGS2QSfTo=; b=KUE0YOFxcIM1k9YtKZVO8tN3WlTqTEXey/EDPMfAf5EbliZG0jKdloYjvg5N9k4vlx dg2Er3eQ6K/waPXN+j2N6dLpCBY1n0UyfFJr2+cZNmKBymy2aBgFsLiVNY1iXt56tOq9 /S3JSMJZvEjKPIEjr9DOfbTRmPKim/lNdrk0RGYsitmq74VgIDnm8JZWBh+JWam2gPPh QJsG49e5AG6Rhg3UDcnW5+3hEiR9bQ8kM8s27ngNDnmDEuS9hHfUDzI3rjDSLE8iTBwY CzIkgO3OKO+UVl+kGG/7kdCixbZKDcjVwVf+htUDr+PSDKXjR0D/ErprAUKMLXsE7j6f qXfw==
X-Gm-Message-State: AOPr4FUh8CGVdgNETN1aiDZDZOvy8wVzsLvK18PW+8YRE2Ep0iiM7Fep+OOItEHT/9z/TJ2m2PfulOUSMS79s021
MIME-Version: 1.0
X-Received: by 10.50.4.9 with SMTP id g9mr11126406igg.35.1461571614680; Mon, 25 Apr 2016 01:06:54 -0700 (PDT)
Received: by 10.64.91.226 with HTTP; Mon, 25 Apr 2016 01:06:54 -0700 (PDT)
In-Reply-To: <498F9DF9-6F79-4B2F-BD45-600AA63C9FE3@desh.se>
References: <20160414183856.GL26423@mournblade.imrryr.org> <20160421161734.GO26423@mournblade.imrryr.org> <498F9DF9-6F79-4B2F-BD45-600AA63C9FE3@desh.se>
Date: Mon, 25 Apr 2016 10:06:54 +0200
Message-ID: <CANtKdUdmnKQ1nSXACc58H6d8EhLiahb0eWZHjJ79qKA7Gz3bPg@mail.gmail.com>
From: Daniel Margolis <dmargolis@google.com>
To: Anders Berggren <anders@desh.se>
Content-Type: multipart/alternative; boundary=001a11c3184ee89a1305314aa8a9
Archived-At: <http://mailarchive.ietf.org/arch/msg/uta/Bh50x2Y3cDtC-2oI4ShboCSt3dQ>
Cc: uta@ietf.org
Subject: Re: [Uta] NEWSFLASH: DANE TLSA records published for web.de!
X-BeenThere: uta@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: UTA working group mailing list <uta.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/uta>, <mailto:uta-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/uta/>
List-Post: <mailto:uta@ietf.org>
List-Help: <mailto:uta-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/uta>, <mailto:uta-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 25 Apr 2016 08:06:59 -0000

--001a11c3184ee89a1305314aa8a9
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

That's correct. We'd like to do DANE validation on sends, but I can't
guarantee if or when it will happen right now. But it's on our radar.

I agree with Viktor that moving the MXs to a different domain might
mitigate some of the common concerns here. Of course, hosted domains will
still have to be able to host DNSSEC to secure their MX records, but this
is getting a bit more commonplace.

Dan

On Sat, Apr 23, 2016 at 1:39 AM, Anders Berggren <anders@desh.se> wrote:

> > On 21 Apr 2016, at 18:17, Viktor Dukhovni <ietf-dane@dukhovni.org>
> wrote:
> > While the even larger Gmail, Outlook.com/Hotmail, Yahoo ... are
> > not in the near term in a position to deploy DNSSEC, I expect that
> > doing so is simpler for outlook.com, because this domain does not
> > overlap with major web properties whose scale makes the transition
> > considerably more difficult.  So it would be great to add Microsoft
> > to the above list some time in 2017 (or sooner).
>
> Am I correct in assuming that none of the very big (Gmail, et al) do DANE
> verification when sending email? Given that Google=E2=80=99s public DNS r=
esolvers
> have supported DNSSEC since many years, I think it would make sense for
> Google to start delivering email with DANE, regardless of what they decid=
e
> to do for inbound email.
>
> > DANE for gmail.com is also plausible without impacting all of
> > Google, but requires moving the MX hosts out of the present
> > google.com.
>
> The domain googlemail.com used to be part of the Google Apps MX. Speaking
> of which; it would also make DANE available to the millions of domains[1]
> using Google Apps, as a bonus.
>
> [1] http://research.domaintools.com/statistics/mailservers/
> _______________________________________________
> Uta mailing list
> Uta@ietf.org
> https://www.ietf.org/mailman/listinfo/uta
>

--001a11c3184ee89a1305314aa8a9
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">That&#39;s correct. We&#39;d like to do DANE validation on=
 sends, but I can&#39;t guarantee if or when it will happen right now. But =
it&#39;s on our radar.<div><br></div><div>I agree with Viktor that moving t=
he MXs to a different domain might mitigate some of the common concerns her=
e. Of course, hosted domains will still have to be able to host DNSSEC to s=
ecure their MX records, but this is getting a bit more commonplace.=C2=A0<b=
r><div><br></div><div>Dan</div></div></div><div class=3D"gmail_extra"><br><=
div class=3D"gmail_quote">On Sat, Apr 23, 2016 at 1:39 AM, Anders Berggren =
<span dir=3D"ltr">&lt;<a href=3D"mailto:anders@desh.se" target=3D"_blank">a=
nders@desh.se</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" st=
yle=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span=
 class=3D"">&gt; On 21 Apr 2016, at 18:17, Viktor Dukhovni &lt;<a href=3D"m=
ailto:ietf-dane@dukhovni.org">ietf-dane@dukhovni.org</a>&gt; wrote:<br>
&gt; While the even larger Gmail, Outlook.com/Hotmail, Yahoo ... are<br>
&gt; not in the near term in a position to deploy DNSSEC, I expect that<br>
&gt; doing so is simpler for <a href=3D"http://outlook.com" rel=3D"noreferr=
er" target=3D"_blank">outlook.com</a>, because this domain does not<br>
&gt; overlap with major web properties whose scale makes the transition<br>
&gt; considerably more difficult.=C2=A0 So it would be great to add Microso=
ft<br>
&gt; to the above list some time in 2017 (or sooner).<br>
<br>
</span>Am I correct in assuming that none of the very big (Gmail, et al) do=
 DANE verification when sending email? Given that Google=E2=80=99s public D=
NS resolvers have supported DNSSEC since many years, I think it would make =
sense for Google to start delivering email with DANE, regardless of what th=
ey decide to do for inbound email.<br>
<span class=3D""><br>
&gt; DANE for <a href=3D"http://gmail.com" rel=3D"noreferrer" target=3D"_bl=
ank">gmail.com</a> is also plausible without impacting all of<br>
&gt; Google, but requires moving the MX hosts out of the present<br>
&gt; <a href=3D"http://google.com" rel=3D"noreferrer" target=3D"_blank">goo=
gle.com</a>.<br>
<br>
</span>The domain <a href=3D"http://googlemail.com" rel=3D"noreferrer" targ=
et=3D"_blank">googlemail.com</a> used to be part of the Google Apps MX. Spe=
aking of which; it would also make DANE available to the millions of domain=
s[1] using Google Apps, as a bonus.<br>
<br>
[1] <a href=3D"http://research.domaintools.com/statistics/mailservers/" rel=
=3D"noreferrer" target=3D"_blank">http://research.domaintools.com/statistic=
s/mailservers/</a><br>
<div class=3D"HOEnZb"><div class=3D"h5">___________________________________=
____________<br>
Uta mailing list<br>
<a href=3D"mailto:Uta@ietf.org">Uta@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/uta" rel=3D"noreferrer" ta=
rget=3D"_blank">https://www.ietf.org/mailman/listinfo/uta</a><br>
</div></div></blockquote></div><br></div>

--001a11c3184ee89a1305314aa8a9--


From nobody Mon Apr 25 06:29:42 2016
Return-Path: <Alexander_Brotman@cable.comcast.com>
X-Original-To: uta@ietfa.amsl.com
Delivered-To: uta@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B152B12D501 for <uta@ietfa.amsl.com>; Mon, 25 Apr 2016 06:29:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.897
X-Spam-Level: 
X-Spam-Status: No, score=-2.897 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-0.996, SPF_PASS=-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 fIPB3pyaIyIF for <uta@ietfa.amsl.com>; Mon, 25 Apr 2016 06:29:38 -0700 (PDT)
Received: from copdcmhout01.cable.comcast.com (copdcmhout01.cable.comcast.com [162.150.44.71]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A00C512D14C for <uta@ietf.org>; Mon, 25 Apr 2016 06:29:38 -0700 (PDT)
X-AuditID: a2962c47-f79e26d0000059b8-29-571e1bc190a6
Received: from COPDCEX18.cable.comcast.com (Unknown_Domain [96.114.156.147]) (using TLS with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by copdcmhout01.cable.comcast.com (SMTP Gateway) with SMTP id 08.99.22968.1CB1E175; Mon, 25 Apr 2016 07:29:37 -0600 (MDT)
Received: from COPDCEX19.cable.comcast.com (147.191.124.150) by COPDCEX18.cable.comcast.com (147.191.124.149) with Microsoft SMTP Server (TLS) id 15.0.1130.7; Mon, 25 Apr 2016 07:29:36 -0600
Received: from COPDCEX19.cable.comcast.com ([fe80::3aea:a7ff:fe36:8380]) by COPDCEX19.cable.comcast.com ([fe80::3aea:a7ff:fe36:8380%19]) with mapi id 15.00.1130.005; Mon, 25 Apr 2016 07:29:36 -0600
From: "Brotman, Alexander" <Alexander_Brotman@cable.comcast.com>
To: "uta@ietf.org" <uta@ietf.org>
Thread-Topic: Updated SMTP STS Draft
Thread-Index: AdGe9n/0qHXYPZo0QRGRtT6oVp2B0A==
Date: Mon, 25 Apr 2016 13:29:35 +0000
Message-ID: <f560e7a9f4384a3293ae9f593c1563b5@COPDCEX19.cable.comcast.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [68.87.29.9]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-CFilter-Loop: Forward
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFupgkeLIzCtJLcpLzFFi42JJKJozWfegtFy4warrNhanjjYzOjB6LFny kymAMYrLJiU1J7MstUjfLoEr48TlFewFC7gqfu59xNTAuJGji5GTQ0LARGLC/MNMELaYxIV7 69m6GLk4hASWMkls33OaFcI5xCgxe/t2qMxJRom2FXNZQFrYBBwkfm+4zgxiiwgoSrz4854d xBYWkJeYc34eVFxF4v3m02wQtp7E4kOPgeIcHCwCqhJv/6iAhHkFvCTOPl4GdgUj0BXfT60B s5kFxCVuPZkPdZ2AxJI955khbFGJl4//sULYBhJbl+5jgbDlJJb9vMMM0asjsWD3JzYIW1ti 2cLXzBC7BCVOznwCVS8ucfjIDtYJjGKzkKybhaR9FpL2WUjaFzCyrGKUS84vSEnOzcgvLTEw 1EtOTMpJ1UvOz01OLC4B0ZsYgfGzaJqO+w7GC73OhxgFOBiVeHjbuOXChVgTy4orc4HBysGs JMLLJwEU4k1JrKxKLcqPLyrNSS0+xCjNwaIkzttjKRUuJJCeWJKanZpakFoEk2Xi4JRqYFy2 dEqZUtbGj1MvP9s5Qe+/+/36yI+zeZy6us8cvVJ6ZfMmgV8v51x9Ja5x4t2cex4fvVTKDjut c3nOp3lsnWvs7hp/qUyZYOv6p8+ZL5w68MnS1e5STEO5Z1zTkyw5dynZVSny55yP/k1LvamX M9VVL8vz2/d7ndKi8V8WSa2Zf+L3j+LbAWuUWIozEg21mIuKEwEBKUGBmwIAAA==
Archived-At: <http://mailarchive.ietf.org/arch/msg/uta/p52sUcXwe-jPH-iCFz7evVFOKtg>
Subject: [Uta] Updated SMTP STS Draft
X-BeenThere: uta@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: UTA working group mailing list <uta.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/uta>, <mailto:uta-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/uta/>
List-Post: <mailto:uta@ietf.org>
List-Help: <mailto:uta-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/uta>, <mailto:uta-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 25 Apr 2016 13:29:39 -0000

Hello,

We've incorporated much of the feedback we've received from the community, =
and would like to present updated drafts.=20

* One of the most evident changes is that we've split the draft into two se=
parate documents; one for the STS policy, and one for the TLS reporting.  T=
hese are meant to replace the original SMTP STS draft (https://datatracker.=
ietf.org/doc/draft-margolis-smtp-sts-00).
* We've altered the name a bit from "SMTP STS" to "MTA STS" to be more in l=
ine with DEEP, and have also added elements for the DEEP registry. =20
* After some deliberation amongst the authors, we've also decided to remove=
 the DNSSEC-related options for the STS policy, which should simplify work =
for those wishing to deploy STS validation. =20
* Within the TLS reporting, we've explicitly mentioned several failure mode=
s, including those specifically relating to DANE and MTA STS. =20
* We've also altered the report syntax to use JSON instead of XML. =20

Please see drafts here:

https://datatracker.ietf.org/doc/draft-brotman-mta-sts/

And

https://datatracker.ietf.org/doc/draft-brotman-smtp-tlsrpt/

We'd like others to review and encourage further discussion relating to the=
se drafts.  Thank you for your time.

--
Alex Brotman
Engineer, Anti-Abuse
Comcast


From nobody Mon Apr 25 06:37:49 2016
Return-Path: <leifj@mnt.se>
X-Original-To: uta@ietfa.amsl.com
Delivered-To: uta@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5852612D1AB for <uta@ietfa.amsl.com>; Mon, 25 Apr 2016 06:37:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.6
X-Spam-Level: 
X-Spam-Status: No, score=-2.6 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=mnt-se.20150623.gappssmtp.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 bWeKKJP5CbKI for <uta@ietfa.amsl.com>; Mon, 25 Apr 2016 06:37:47 -0700 (PDT)
Received: from mail-lb0-x231.google.com (mail-lb0-x231.google.com [IPv6:2a00:1450:4010:c04::231]) (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 05E5F12B014 for <uta@ietf.org>; Mon, 25 Apr 2016 06:37:47 -0700 (PDT)
Received: by mail-lb0-x231.google.com with SMTP id jj5so26949098lbc.0 for <uta@ietf.org>; Mon, 25 Apr 2016 06:37:46 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mnt-se.20150623.gappssmtp.com; s=20150623; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding; bh=okxbw2lRBI64Xy9jLkIIMHYssH1z10GjE42Ta4C21As=; b=O7Mwx5gQSPmhRnccQKuhUbfyHuCGhcNslrMjrdM4wSTQ+npMzmY7IyNUw2DIXzxkY1 LQprnoZqh6JuXUGbxyiUrsquUBB1OuCjuqvhWRSLO6YuhrgoAkKWLcMiKkBhzm/cM3R7 Kqt4kysF2sfHg6kaJHHn9oFhz+5PpAf+zv7oxWGDehXM9pKTZnSTuSLZpQCa9DjaSG6k SUvEu6YSpejRqV/KmrBzA7Vl8iVKcdondWRZQgvkzjR2AhivJpY4HmpsEfIB+rXWkjFN VzaYiqwO0o4SjX/Gykv+WdUePnIz4gOrXVtv152Lu5lqLGJHUFCmdvKenhEVzTaSUcxQ qCPQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=okxbw2lRBI64Xy9jLkIIMHYssH1z10GjE42Ta4C21As=; b=KRVEvlt1ThC31hsoP5Aq2K1a7XvDps7KwN3yveeyYQOKT8M2Wg+t14XljNPwg2pXSb 7/aGpBnaNggYDO+H/m+8rQo17WED+yh4wQU58juwmKIRlZS/U6htycAZAdwz3vpFZG/z A+UytUM1zlS/8183iqXNKcYUmbqQO8yXWvVnYumSXvWRgHy3OHlQAZ3zdOuGYaIRE++F J9Ov2l73RBc0GvIF8eBwoGwo9UFvGW/zTCiJVFdG1r6m8R2kP7DRr6NhK8RKuVGDxVtd qpGXUeJaZ56H2ob2FfMQWSF4HSijWEvcJJojIbkAA1AU1+HGcXHAdDOUbl1LpFDzExI9 3AFw==
X-Gm-Message-State: AOPr4FWJnCE89cc9RIrHgw5nG8z08LMBUaXcrbxXmkK3jF70k+zbn5VabU+qyYPMT4kFmw==
X-Received: by 10.112.169.65 with SMTP id ac1mr3870330lbc.92.1461591465046; Mon, 25 Apr 2016 06:37:45 -0700 (PDT)
Received: from [10.240.33.153] ([213.179.18.114]) by smtp.googlemail.com with ESMTPSA id 92sm4424829lfw.25.2016.04.25.06.37.43 for <uta@ietf.org> (version=TLSv1/SSLv3 cipher=OTHER); Mon, 25 Apr 2016 06:37:44 -0700 (PDT)
To: uta@ietf.org
References: <f560e7a9f4384a3293ae9f593c1563b5@COPDCEX19.cable.comcast.com>
From: Leif Johansson <leifj@mnt.se>
Message-ID: <571E1DA6.5090408@mnt.se>
Date: Mon, 25 Apr 2016 15:37:42 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0
MIME-Version: 1.0
In-Reply-To: <f560e7a9f4384a3293ae9f593c1563b5@COPDCEX19.cable.comcast.com>
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 7bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/uta/XE7k5sP8K5PdrfXvqDdZtq2gB2o>
Subject: Re: [Uta] Updated SMTP STS Draft
X-BeenThere: uta@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: UTA working group mailing list <uta.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/uta>, <mailto:uta-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/uta/>
List-Post: <mailto:uta@ietf.org>
List-Help: <mailto:uta-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/uta>, <mailto:uta-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 25 Apr 2016 13:37:49 -0000

On 2016-04-25 15:29, Brotman, Alexander wrote:
> Hello,
> 
> We've incorporated much of the feedback we've received from the community, and would like to present updated drafts. 
> 
> * One of the most evident changes is that we've split the draft into two separate documents; one for the STS policy, and one for the TLS reporting.  These are meant to replace the original SMTP STS draft (https://datatracker.ietf.org/doc/draft-margolis-smtp-sts-00).
> * We've altered the name a bit from "SMTP STS" to "MTA STS" to be more in line with DEEP, and have also added elements for the DEEP registry.  
> * After some deliberation amongst the authors, we've also decided to remove the DNSSEC-related options for the STS policy, which should simplify work for those wishing to deploy STS validation.  
> * Within the TLS reporting, we've explicitly mentioned several failure modes, including those specifically relating to DANE and MTA STS.  
> * We've also altered the report syntax to use JSON instead of XML.  
> 

Thanks,

In BA there was consensus (pretty strong at that) to adopt this draft as
a WG document.

This starts an adoption call for adoption as a WG document. Please
indicate your support or objection (with motivation) for WG adoption
no later than EOB (any TZ) May 1st

	Cheers Leif

> Please see drafts here:
> 
> https://datatracker.ietf.org/doc/draft-brotman-mta-sts/
> 
> And
> 
> https://datatracker.ietf.org/doc/draft-brotman-smtp-tlsrpt/
> 
> We'd like others to review and encourage further discussion relating to these drafts.  Thank you for your time.
> 
> --
> Alex Brotman
> Engineer, Anti-Abuse
> Comcast
> 
> _______________________________________________
> Uta mailing list
> Uta@ietf.org
> https://www.ietf.org/mailman/listinfo/uta
> 


From nobody Mon Apr 25 06:49:31 2016
Return-Path: <leifj@sunet.se>
X-Original-To: uta@ietfa.amsl.com
Delivered-To: uta@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D9CE712D14C for <uta@ietfa.amsl.com>; Mon, 25 Apr 2016 06:49:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.297
X-Spam-Level: 
X-Spam-Status: No, score=-5.297 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.996, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=sunet.se
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 qk3u9oEz8h3n for <uta@ietfa.amsl.com>; Mon, 25 Apr 2016 06:49:28 -0700 (PDT)
Received: from e-mailfilter01.sunet.se (e-mailfilter01.sunet.se [IPv6:2001:6b0:8:2::201]) (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 A0D8F12B014 for <uta@ietf.org>; Mon, 25 Apr 2016 06:49:27 -0700 (PDT)
Received: from smtp1.sunet.se (smtp1.sunet.se [192.36.171.214]) by e-mailfilter01.sunet.se (8.14.4/8.14.4/Debian-4) with ESMTP id u3PDnO2c009665 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for <uta@ietf.org>; Mon, 25 Apr 2016 15:49:24 +0200
Received: from kerio.sunet.se (kerio.sunet.se [192.36.171.210]) by smtp1.sunet.se (8.14.9/8.14.7) with ESMTP id u3PDnL9e020027 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO) for <uta@ietf.org>; Mon, 25 Apr 2016 15:49:24 +0200 (CEST)
VBR-Info: md=sunet.se; mc=all; mv=swamid.se
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=sunet.se; s=default; t=1461592164; bh=dGNffSSTkGlh2JUl3wYZIRd+gqNX53qIdk4RFIM68mY=; h=Subject:To:References:From:Date:In-Reply-To; b=vpKEPFueOKMBzJIPHMt86AxMWWfS/6YEW8NpEPIgVehodTRMvPC5mP5OMxRU3Ls3h /TT9fdPgKgaSY8Mrl6hAFC77/oK4/Ob7r2UYKt80ZVjY8deq/5W9nYErX/UWr7JnL3 mwwhEyRKh/qCEufzPki/SjzleBCtEaJKkxMQcRrE=
X-Footer: c3VuZXQuc2U=
Received: from [10.240.33.153] ([213.179.18.114]) (authenticated user leifj@sunet.se) by kerio.sunet.se (Kerio Connect 9.0.1) with ESMTPSA (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128 bits)) for uta@ietf.org; Mon, 25 Apr 2016 15:49:19 +0200
To: uta@ietf.org
References: <f560e7a9f4384a3293ae9f593c1563b5@COPDCEX19.cable.comcast.com> <571E1DA6.5090408@mnt.se>
From: Leif Johansson <leifj@sunet.se>
Message-ID: <571E205E.3050300@sunet.se>
Date: Mon, 25 Apr 2016 15:49:18 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0
MIME-Version: 1.0
In-Reply-To: <571E1DA6.5090408@mnt.se>
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 7bit
X-CanIt-Geo: ip=192.36.171.210; country=SE; latitude=59.3294; longitude=18.0686; http://maps.google.com/maps?q=59.3294,18.0686&z=6
X-CanItPRO-Stream: outbound-sunet-se:outbound (inherits from outbound-sunet-se:default, sunet-se:default, base:default)
X-Canit-Stats-ID: 09QKBNoMk - ad4b40057b71 - 20160425
X-CanIt-Archive-Cluster: PfMRe/vJWMiXwM2YIH5BVExnUnw
Received-SPF: neutral (e-mailfilter01.sunet.se: 192.36.171.210 is neither permitted nor denied by domain leifj@sunet.se) receiver=e-mailfilter01.sunet.se; client-ip=192.36.171.210; envelope-from=<leifj@sunet.se>; helo=smtp1.sunet.se; identity=mailfrom
X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.36.171.201
Archived-At: <http://mailarchive.ietf.org/arch/msg/uta/5zaWPBgBgVRtsvA17WLSHv42e5Y>
Subject: Re: [Uta] Updated SMTP STS Draft
X-BeenThere: uta@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: UTA working group mailing list <uta.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/uta>, <mailto:uta-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/uta/>
List-Post: <mailto:uta@ietf.org>
List-Help: <mailto:uta-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/uta>, <mailto:uta-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 25 Apr 2016 13:49:31 -0000

On 2016-04-25 15:37, Leif Johansson wrote:
> On 2016-04-25 15:29, Brotman, Alexander wrote:
>> Hello,
>>
>> We've incorporated much of the feedback we've received from the community, and would like to present updated drafts. 
>>
>> * One of the most evident changes is that we've split the draft into two separate documents; one for the STS policy, and one for the TLS reporting.  These are meant to replace the original SMTP STS draft (https://datatracker.ietf.org/doc/draft-margolis-smtp-sts-00).
>> * We've altered the name a bit from "SMTP STS" to "MTA STS" to be more in line with DEEP, and have also added elements for the DEEP registry.  
>> * After some deliberation amongst the authors, we've also decided to remove the DNSSEC-related options for the STS policy, which should simplify work for those wishing to deploy STS validation.  
>> * Within the TLS reporting, we've explicitly mentioned several failure modes, including those specifically relating to DANE and MTA STS.  
>> * We've also altered the report syntax to use JSON instead of XML.  
>>
> 
> Thanks,
> 
> In BA there was consensus (pretty strong at that) to adopt this draft as
> a WG document.
> 

s/this draft/these drafts/

This is 2 (two) separate consensus calls. Please express your support
or objection for either/both documents going forward as WG documents.

> This starts an adoption call for adoption as a WG document. Please
> indicate your support or objection (with motivation) for WG adoption
> no later than EOB (any TZ) May 1st
> 
> 	Cheers Leif
> 
>> Please see drafts here:
>>
>> https://datatracker.ietf.org/doc/draft-brotman-mta-sts/
>>
>> And
>>
>> https://datatracker.ietf.org/doc/draft-brotman-smtp-tlsrpt/
>>
>> We'd like others to review and encourage further discussion relating to these drafts.  Thank you for your time.
>>
>> --
>> Alex Brotman
>> Engineer, Anti-Abuse
>> Comcast
>>
>> _______________________________________________
>> Uta mailing list
>> Uta@ietf.org
>> https://www.ietf.org/mailman/listinfo/uta
>>
> 
> _______________________________________________
> Uta mailing list
> Uta@ietf.org
> https://www.ietf.org/mailman/listinfo/uta
> 



From nobody Mon Apr 25 12:21:11 2016
Return-Path: <risher@google.com>
X-Original-To: uta@ietfa.amsl.com
Delivered-To: uta@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4D63C12D6B1 for <uta@ietfa.amsl.com>; Mon, 25 Apr 2016 12:21:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.696
X-Spam-Level: 
X-Spam-Status: No, score=-3.696 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RP_MATCHES_RCVD=-0.996, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=google.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 nsOPie_va8hj for <uta@ietfa.amsl.com>; Mon, 25 Apr 2016 12:21:07 -0700 (PDT)
Received: from mail-vk0-x233.google.com (mail-vk0-x233.google.com [IPv6:2607:f8b0:400c:c05::233]) (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 5BD9B12D680 for <uta@ietf.org>; Mon, 25 Apr 2016 12:21:07 -0700 (PDT)
Received: by mail-vk0-x233.google.com with SMTP id n67so3262761vkf.3 for <uta@ietf.org>; Mon, 25 Apr 2016 12:21:07 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=dc2TF3DuKmNZy3ZKHATThVUqt999+Jm3ThogsLhfEsc=; b=Qe3arH3fHwbQdMg2oM1MCcHD3t241360h1mTvNKNw7wgR6F0Od9ktrSyr06QT/voh/ drIv/aaivFnHZlxbPDYfEHyIszajJNmDl0bhAuoUNGFG3lk0AMTgVG2wPAVtPIjYa4P5 NfHD7YCUm9CzdDp0qLJdFSy83rN1S7ClKMxZ5RDLDZmnp/GThvLOENyXDTH9gf8olQGh EXSlExpe6cc0r7/kpO6JryRTzfVVsK0uqac3W0EeM/JO87YvGMT3K1oHsXR4XsAY2VAR P2QcE7/6VbqFE1qUqkt2QGKgQrlkUHHCbAmRvssA2D2nQjvvwEf3XstB32UUP2taSxl1 ClWA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=dc2TF3DuKmNZy3ZKHATThVUqt999+Jm3ThogsLhfEsc=; b=jQGR3H7xfPEgWcqDGtFx1NDLNZNdYUfU3szy8JEFWmICf+T4Pgvwp8/4khQJKAv8Lf QRQQd/oTFMJAqjpD/WoKmiR2LKYYVUvBKW0vXRx3oDll+Jq1Hw3gauJ8FASlKbqFzxcR XsiljFvo7gyo/6zU8SSPSi8wx6TPlGUQqZG1umi5tpS7p7PK2oIS8iEY9UXdkJK4fOTl DMJ0DuseNsHD0UQzvhc/tjz1HeFlFM2IH4ekVHWp4RhRAdDA5oNSOzkVaU96DrU0XNYX KVVevYwAZQUgYCEO0q5JN4qakM+2ccjMYNDVcSh3Gx1W/m6A1rfwoyGcCJJ9ICS560cU 2PCQ==
X-Gm-Message-State: AOPr4FX7IHJVC11FhpDy25P0rYUmRhqNIhD8RQJUbR9w+OjHCiNMNpUJ2XQnEMG2y3/uw1P7slh9ziCmfe2IN99r
MIME-Version: 1.0
X-Received: by 10.159.34.117 with SMTP id 108mr20801369uad.20.1461612066155; Mon, 25 Apr 2016 12:21:06 -0700 (PDT)
Received: by 10.176.69.248 with HTTP; Mon, 25 Apr 2016 12:21:05 -0700 (PDT)
Received: by 10.176.69.248 with HTTP; Mon, 25 Apr 2016 12:21:05 -0700 (PDT)
In-Reply-To: <571E205E.3050300@sunet.se>
References: <f560e7a9f4384a3293ae9f593c1563b5@COPDCEX19.cable.comcast.com> <571E1DA6.5090408@mnt.se> <571E205E.3050300@sunet.se>
Date: Mon, 25 Apr 2016 12:21:05 -0700
Message-ID: <CAB0W=GTbZe9Pw7RrgTFPy38CS2knO6-gAJJoEy=Ag5CnRHjBpQ@mail.gmail.com>
From: Mark Risher <risher@google.com>
To: Leif Johansson <leifj@sunet.se>
Content-Type: multipart/alternative; boundary=001a1135266a019a1e0531541415
Archived-At: <http://mailarchive.ietf.org/arch/msg/uta/ErbXtSgnFPLmdcFi1puuXyYjops>
Cc: uta@ietf.org
Subject: Re: [Uta] Updated SMTP STS Draft
X-BeenThere: uta@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: UTA working group mailing list <uta.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/uta>, <mailto:uta-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/uta/>
List-Post: <mailto:uta@ietf.org>
List-Help: <mailto:uta-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/uta>, <mailto:uta-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 25 Apr 2016 19:21:09 -0000

--001a1135266a019a1e0531541415
Content-Type: text/plain; charset=UTF-8

Hi all
We tried to constrain our edits here to only those topics discussed at the
Argentina face-to-face, as Alex summarized in his overview. Hopefully these
documents will look entirely familiar to anyone who reviewed
draft-margolis-00

I vote for both to join the working group.

Thanks for your help, everyone,
/m

---
Mark Risher | Google | 650-253-3123
On Apr 25, 2016 6:49 AM, "Leif Johansson" <leifj@sunet.se> wrote:

> On 2016-04-25 15:37, Leif Johansson wrote:
> > On 2016-04-25 15:29, Brotman, Alexander wrote:
> >> Hello,
> >>
> >> We've incorporated much of the feedback we've received from the
> community, and would like to present updated drafts.
> >>
> >> * One of the most evident changes is that we've split the draft into
> two separate documents; one for the STS policy, and one for the TLS
> reporting.  These are meant to replace the original SMTP STS draft (
> https://datatracker.ietf.org/doc/draft-margolis-smtp-sts-00).
> >> * We've altered the name a bit from "SMTP STS" to "MTA STS" to be more
> in line with DEEP, and have also added elements for the DEEP registry.
> >> * After some deliberation amongst the authors, we've also decided to
> remove the DNSSEC-related options for the STS policy, which should simplify
> work for those wishing to deploy STS validation.
> >> * Within the TLS reporting, we've explicitly mentioned several failure
> modes, including those specifically relating to DANE and MTA STS.
> >> * We've also altered the report syntax to use JSON instead of XML.
> >>
> >
> > Thanks,
> >
> > In BA there was consensus (pretty strong at that) to adopt this draft as
> > a WG document.
> >
>
> s/this draft/these drafts/
>
> This is 2 (two) separate consensus calls. Please express your support
> or objection for either/both documents going forward as WG documents.
>
> > This starts an adoption call for adoption as a WG document. Please
> > indicate your support or objection (with motivation) for WG adoption
> > no later than EOB (any TZ) May 1st
> >
> >       Cheers Leif
> >
> >> Please see drafts here:
> >>
> >> https://datatracker.ietf.org/doc/draft-brotman-mta-sts/
> >>
> >> And
> >>
> >> https://datatracker.ietf.org/doc/draft-brotman-smtp-tlsrpt/
> >>
> >> We'd like others to review and encourage further discussion relating to
> these drafts.  Thank you for your time.
> >>
> >> --
> >> Alex Brotman
> >> Engineer, Anti-Abuse
> >> Comcast
> >>
> >> _______________________________________________
> >> Uta mailing list
> >> Uta@ietf.org
> >> https://www.ietf.org/mailman/listinfo/uta
> >>
> >
> > _______________________________________________
> > Uta mailing list
> > Uta@ietf.org
> > https://www.ietf.org/mailman/listinfo/uta
> >
>
>
> _______________________________________________
> Uta mailing list
> Uta@ietf.org
> https://www.ietf.org/mailman/listinfo/uta
>

--001a1135266a019a1e0531541415
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<p dir=3D"ltr">Hi all<br>
We tried to constrain our edits here to only those topics discussed at the =
Argentina face-to-face, as Alex summarized in his overview. Hopefully these=
 documents will look entirely familiar to anyone who reviewed draft-margoli=
s-00</p>
<p dir=3D"ltr">I vote for both to join the working group. </p>
<p dir=3D"ltr">Thanks for your help, everyone,<br>
/m<br><br></p>
<p dir=3D"ltr">---<br>
Mark Risher | Google | 650-253-3123</p>
<div class=3D"gmail_quote">On Apr 25, 2016 6:49 AM, &quot;Leif Johansson&qu=
ot; &lt;<a href=3D"mailto:leifj@sunet.se">leifj@sunet.se</a>&gt; wrote:<br =
type=3D"attribution"><blockquote class=3D"gmail_quote" style=3D"margin:0 0 =
0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 2016-04-25 15:37, Le=
if Johansson wrote:<br>
&gt; On 2016-04-25 15:29, Brotman, Alexander wrote:<br>
&gt;&gt; Hello,<br>
&gt;&gt;<br>
&gt;&gt; We&#39;ve incorporated much of the feedback we&#39;ve received fro=
m the community, and would like to present updated drafts.<br>
&gt;&gt;<br>
&gt;&gt; * One of the most evident changes is that we&#39;ve split the draf=
t into two separate documents; one for the STS policy, and one for the TLS =
reporting.=C2=A0 These are meant to replace the original SMTP STS draft (<a=
 href=3D"https://datatracker.ietf.org/doc/draft-margolis-smtp-sts-00" rel=
=3D"noreferrer" target=3D"_blank">https://datatracker.ietf.org/doc/draft-ma=
rgolis-smtp-sts-00</a>).<br>
&gt;&gt; * We&#39;ve altered the name a bit from &quot;SMTP STS&quot; to &q=
uot;MTA STS&quot; to be more in line with DEEP, and have also added element=
s for the DEEP registry.<br>
&gt;&gt; * After some deliberation amongst the authors, we&#39;ve also deci=
ded to remove the DNSSEC-related options for the STS policy, which should s=
implify work for those wishing to deploy STS validation.<br>
&gt;&gt; * Within the TLS reporting, we&#39;ve explicitly mentioned several=
 failure modes, including those specifically relating to DANE and MTA STS.<=
br>
&gt;&gt; * We&#39;ve also altered the report syntax to use JSON instead of =
XML.<br>
&gt;&gt;<br>
&gt;<br>
&gt; Thanks,<br>
&gt;<br>
&gt; In BA there was consensus (pretty strong at that) to adopt this draft =
as<br>
&gt; a WG document.<br>
&gt;<br>
<br>
s/this draft/these drafts/<br>
<br>
This is 2 (two) separate consensus calls. Please express your support<br>
or objection for either/both documents going forward as WG documents.<br>
<br>
&gt; This starts an adoption call for adoption as a WG document. Please<br>
&gt; indicate your support or objection (with motivation) for WG adoption<b=
r>
&gt; no later than EOB (any TZ) May 1st<br>
&gt;<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0Cheers Leif<br>
&gt;<br>
&gt;&gt; Please see drafts here:<br>
&gt;&gt;<br>
&gt;&gt; <a href=3D"https://datatracker.ietf.org/doc/draft-brotman-mta-sts/=
" rel=3D"noreferrer" target=3D"_blank">https://datatracker.ietf.org/doc/dra=
ft-brotman-mta-sts/</a><br>
&gt;&gt;<br>
&gt;&gt; And<br>
&gt;&gt;<br>
&gt;&gt; <a href=3D"https://datatracker.ietf.org/doc/draft-brotman-smtp-tls=
rpt/" rel=3D"noreferrer" target=3D"_blank">https://datatracker.ietf.org/doc=
/draft-brotman-smtp-tlsrpt/</a><br>
&gt;&gt;<br>
&gt;&gt; We&#39;d like others to review and encourage further discussion re=
lating to these drafts.=C2=A0 Thank you for your time.<br>
&gt;&gt;<br>
&gt;&gt; --<br>
&gt;&gt; Alex Brotman<br>
&gt;&gt; Engineer, Anti-Abuse<br>
&gt;&gt; Comcast<br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; Uta mailing list<br>
&gt;&gt; <a href=3D"mailto:Uta@ietf.org">Uta@ietf.org</a><br>
&gt;&gt; <a href=3D"https://www.ietf.org/mailman/listinfo/uta" rel=3D"noref=
errer" target=3D"_blank">https://www.ietf.org/mailman/listinfo/uta</a><br>
&gt;&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Uta mailing list<br>
&gt; <a href=3D"mailto:Uta@ietf.org">Uta@ietf.org</a><br>
&gt; <a href=3D"https://www.ietf.org/mailman/listinfo/uta" rel=3D"noreferre=
r" target=3D"_blank">https://www.ietf.org/mailman/listinfo/uta</a><br>
&gt;<br>
<br>
<br>
_______________________________________________<br>
Uta mailing list<br>
<a href=3D"mailto:Uta@ietf.org">Uta@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/uta" rel=3D"noreferrer" ta=
rget=3D"_blank">https://www.ietf.org/mailman/listinfo/uta</a><br>
</blockquote></div>

--001a1135266a019a1e0531541415--


From nobody Mon Apr 25 19:51:25 2016
Return-Path: <azet@azet.org>
X-Original-To: uta@ietfa.amsl.com
Delivered-To: uta@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C1F2712D125 for <uta@ietfa.amsl.com>; Mon, 25 Apr 2016 19:51:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.7
X-Spam-Level: 
X-Spam-Status: No, score=-2.7 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=azet.org
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 FEyYSE4alecJ for <uta@ietfa.amsl.com>; Mon, 25 Apr 2016 19:51:23 -0700 (PDT)
Received: from mail-pf0-x232.google.com (mail-pf0-x232.google.com [IPv6:2607:f8b0:400e:c00::232]) (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 2DBEB12B05F for <uta@ietf.org>; Mon, 25 Apr 2016 19:51:23 -0700 (PDT)
Received: by mail-pf0-x232.google.com with SMTP id 206so938557pfu.0 for <uta@ietf.org>; Mon, 25 Apr 2016 19:51:23 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=azet.org; s=gmail; h=subject:mime-version:from:in-reply-to:date:cc:message-id:references :to; bh=x7+soINPP1blMT4YmlgNZAvZJiorO45oz7M2+dNdK68=; b=UWuUlb1f+18O/WzP0DJKo3k9L2hA3xbeiiqeItVohHwjK9po/cICwYBoIYGtcI8DJV +UBy7lCyn7LbAqgFJIllVGpQlE8UtWT/yara6H6mQGASFjUPLR3PccwDtgMQty5/TQb/ jI2LYwtqAyysh3PvXKefs1iXC8YWBCuyboUiQ=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:mime-version:from:in-reply-to:date:cc :message-id:references:to; bh=x7+soINPP1blMT4YmlgNZAvZJiorO45oz7M2+dNdK68=; b=kI6QcUaA7RhQYYIGiEf7sKne8XJaaL7wZNVfFKl3UTt+HJvCWa7wxTL/Rk1kYaIy2e gYKr/Ae0hIw90Ra6V/qY5KPuKPj3MEuzhIMeMzCdmVeZ1zakCe5b5fk6qv4x5qrYrvUu hfA8wVC/OPS8FD9acCKQtfcjHr84aVHZEnuPagqjCD1IiUsFDJ1ic83cy9EGvPwZj1RG sxiQ4mXYcRl1FovJbuoLlex0oplNnVZCqMfISB8Va83jw7LF1nfynQYYbFqyAT7VkbBx 7CKFD2zcaeMCeF6DzLbRVx8Wid+1rfmKzrIZKAIX1ilcK1GAsoWiC52eal7QGa+zzrUU 07Eg==
X-Gm-Message-State: AOPr4FWCya7nR0HusbOOY6ZwuzTh4LRErCSsJA2DW2sBHQk2cWmJJUWRDy5phmSPSjiAYw==
X-Received: by 10.98.91.3 with SMTP id p3mr244651pfb.64.1461639082765; Mon, 25 Apr 2016 19:51:22 -0700 (PDT)
Received: from [192.168.1.234] (ppp-49-237-247-109.revip6.asianet.co.th. [49.237.247.109]) by smtp.gmail.com with ESMTPSA id l81sm32148142pfj.21.2016.04.25.19.51.20 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 25 Apr 2016 19:51:21 -0700 (PDT)
Mime-Version: 1.0 (Mac OS X Mail 9.2 \(3112\))
Content-Type: multipart/signed; boundary="Apple-Mail=_43417F4A-2C9A-4A75-BBA7-0788CB95C633"; protocol="application/pgp-signature"; micalg=pgp-sha512
X-Pgp-Agent: GPGMail 2.6b2
From: Aaron Zauner <azet@azet.org>
In-Reply-To: <571E1DA6.5090408@mnt.se>
Date: Tue, 26 Apr 2016 09:51:16 +0700
Message-Id: <B377CC60-CDEE-4B0C-B6B6-7DAA60145E12@azet.org>
References: <f560e7a9f4384a3293ae9f593c1563b5@COPDCEX19.cable.comcast.com> <571E1DA6.5090408@mnt.se>
To: Leif Johansson <leifj@mnt.se>
X-Mailer: Apple Mail (2.3112)
Archived-At: <http://mailarchive.ietf.org/arch/msg/uta/PiYSMgucGFQA9bMVAtaeUW0E81o>
Cc: uta@ietf.org
Subject: Re: [Uta] Updated SMTP STS Draft
X-BeenThere: uta@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: UTA working group mailing list <uta.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/uta>, <mailto:uta-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/uta/>
List-Post: <mailto:uta@ietf.org>
List-Help: <mailto:uta-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/uta>, <mailto:uta-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 26 Apr 2016 02:51:25 -0000

--Apple-Mail=_43417F4A-2C9A-4A75-BBA7-0788CB95C633
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii


> On 25 Apr 2016, at 20:37, Leif Johansson <leifj@mnt.se> wrote:
>=20
> On 2016-04-25 15:29, Brotman, Alexander wrote:
>> Hello,
>>=20
>> We've incorporated much of the feedback we've received from the =
community, and would like to present updated drafts.
>>=20
>> * One of the most evident changes is that we've split the draft into =
two separate documents; one for the STS policy, and one for the TLS =
reporting.  These are meant to replace the original SMTP STS draft =
(https://datatracker.ietf.org/doc/draft-margolis-smtp-sts-00).
>> * We've altered the name a bit from "SMTP STS" to "MTA STS" to be =
more in line with DEEP, and have also added elements for the DEEP =
registry.
>> * After some deliberation amongst the authors, we've also decided to =
remove the DNSSEC-related options for the STS policy, which should =
simplify work for those wishing to deploy STS validation.
>> * Within the TLS reporting, we've explicitly mentioned several =
failure modes, including those specifically relating to DANE and MTA =
STS.
>> * We've also altered the report syntax to use JSON instead of XML.
>>=20
>=20
> Thanks,
>=20
> In BA there was consensus (pretty strong at that) to adopt this draft =
as
> a WG document.
>=20
> This starts an adoption call for adoption as a WG document. Please
> indicate your support or objection (with motivation) for WG adoption
> no later than EOB (any TZ) May 1st

I support adoption of these drafts as WG documents, they will need some =
further work though. I'm of course reviewing and will provide feedback =
both on list and have been talking with (some of) the authors =
backchannel as well.

Aaron

--Apple-Mail=_43417F4A-2C9A-4A75-BBA7-0788CB95C633
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----

iQIcBAEBCgAGBQJXHtelAAoJEOTbZJL9ubXV6IMP/2EXVBVmLokKCxj9Sc+mY9D0
br56KUeqTaPsg0GkQHPW/lWrcIf2ONlG4TRFRsCvSyO70fZUDw3Y7D2lNpEzaMFG
Ars/qvITIrv3fSMuhZnHzBhkUEoHkMXEPvH2yrVb/VPwXf16fzn2fr8lCJUZxgut
d+BStgpLGqyWP0vrOEkrHDuGcaS5ZbcRf7S7BXJLWHSs56XD66bSJLyY/ahkdH7w
rMyUxssAVfMusUgfGGThW5fGsidRGEJ3e+qD5cosW/KQds8rn/A12Kmrp6SxVfSb
iTBmhdRv36GPHNc598MbshWyXdiMe8zsLDpcz5HspVkZwN+mtWpGblLqTdtxEfUa
Jca4KizH4MGuxbOPRD0g+nNxrXeO0ZYAADs+gi+jxMl46Mi81UWd4eM0SjietXJL
ahtFOkwL45iIC+cV/Az96krhex4wcAhKAVWKtGYPgVeOPBCEuuV1WZRcBpnn+A1f
yoXPe5NfmOfjsXttWqcMNcua5257UZwFljaYG15+2DNV4tHcKM1rDggcEC3GSAhQ
eTCojfGUSUn+N8pJrG1sVibjQnQ29x7ZxDLGV0RhiVnI1qFryBt9kc+w7K+w7HL6
5lHIPCw6wZeHDYnzYLUQkGS7jQMJZggVKyIAH27uP/BkVNcD9J/rbm98ZFJbKoVL
+zLBdNlXMHNTNG9t7gwh
=0e0M
-----END PGP SIGNATURE-----

--Apple-Mail=_43417F4A-2C9A-4A75-BBA7-0788CB95C633--


From nobody Tue Apr 26 16:33:40 2016
Return-Path: <Jeff.Hodges@kingsmountain.com>
X-Original-To: uta@ietfa.amsl.com
Delivered-To: uta@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CCC6512D532 for <uta@ietfa.amsl.com>; Tue, 26 Apr 2016 16:33:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.702
X-Spam-Level: 
X-Spam-Status: No, score=-2.702 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (768-bit key) header.d=kingsmountain.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 XLAIav69qGbW for <uta@ietfa.amsl.com>; Tue, 26 Apr 2016 16:33:37 -0700 (PDT)
Received: from gproxy8-pub.mail.unifiedlayer.com (gproxy8-pub.mail.unifiedlayer.com [67.222.33.93]) by ietfa.amsl.com (Postfix) with SMTP id 16BAD12D52E for <uta@ietf.org>; Tue, 26 Apr 2016 16:33:37 -0700 (PDT)
Received: (qmail 18423 invoked by uid 0); 26 Apr 2016 23:33:36 -0000
Received: from unknown (HELO cmgw4) (10.0.90.85) by gproxy8.mail.unifiedlayer.com with SMTP; 26 Apr 2016 23:33:36 -0000
Received: from box514.bluehost.com ([74.220.219.114]) by cmgw4 with  id nBZY1s00F2UhLwi01BZbkJ; Tue, 26 Apr 2016 17:33:36 -0600
X-Authority-Analysis: v=2.1 cv=aJ5j99Nm c=1 sm=1 tr=0 a=9W6Fsu4pMcyimqnCr1W0/w==:117 a=9W6Fsu4pMcyimqnCr1W0/w==:17 a=L9H7d07YOLsA:10 a=9cW_t1CCXrUA:10 a=s5jvgZ67dGcA:10 a=IkcTkHD0fZMA:10 a=XYUc-DgfXtMA:10 a=-GPFTR9Xtg4A:10 a=kziv93cY1bsA:10 a=48vgC7mUAAAA:8 a=OWbZY8YTLZBTXAssEmEA:9 a=QEXdDO2ut3YA:10
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=kingsmountain.com; s=default; h=Content-Transfer-Encoding:Content-Type: MIME-Version:Date:Message-ID:Subject:From:To; bh=YiyXdBLBv2X1hu3rCohSgGULAM1xRXTOHaa065KzSI4=; b=lP4he+e3QxqCc5XCSHnd3fF35W 7siIYv2osqK6tS7f4aAj4ryJrPH07pOPf6nY8mSBeN5FJ/w3T3JQ58PUTCSC/GZdLYuXAtbD4iwwL +V6+aXg0MT5gFrFmNLl555e9H;
Received: from [73.202.80.238] (port=33083 helo=[192.168.11.22]) by box514.bluehost.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.86_2) (envelope-from <Jeff.Hodges@KingsMountain.com>) id 1avCU0-00026N-3b for uta@ietf.org; Tue, 26 Apr 2016 17:33:32 -0600
To: IETF Using TLS in Apps WG <uta@ietf.org>
From: =JeffH <Jeff.Hodges@KingsMountain.com>
Message-ID: <571FFAC8.6090706@KingsMountain.com>
Date: Tue, 26 Apr 2016 16:33:28 -0700
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Identified-User: {11025:box514.bluehost.com:kingsmou:kingsmountain.com} {sentby:smtp auth 73.202.80.238 authed with jeff.hodges+kingsmountain.com}
Archived-At: <http://mailarchive.ietf.org/arch/msg/uta/tbR3mGm6LRvGZy2msEFh_3OaTZA>
Subject: Re: [Uta] "webby" STS and DANE/DNSSEC co-existence
X-BeenThere: uta@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: UTA working group mailing list <uta.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/uta>, <mailto:uta-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/uta/>
List-Post: <mailto:uta@ietf.org>
List-Help: <mailto:uta-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/uta>, <mailto:uta-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 26 Apr 2016 23:33:39 -0000

On 4/11/16, 1:45 PM, "Stephen Farrell" <stephen.farrell@cs.tcd.ie> wrote:
    >
    > With no hats, I'd like to argue that the WG should pursue
    > the "webby" STS proposal, ...

just to ensure this thread is pedantically clear, when you said the
above, you were referring to..

      https://datatracker.ietf.org/doc/draft-margolis-smtp-sts
      (which has now morphed in to two separate I-Ds)

..and possibly also..

      https://tools.ietf.org/html/draft-ietf-uta-email-deep

..yes?

thx, hth,

=JeffH


From nobody Thu Apr 28 04:05:16 2016
Return-Path: <stephen.farrell@cs.tcd.ie>
X-Original-To: uta@ietfa.amsl.com
Delivered-To: uta@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 66A7A12D544 for <uta@ietfa.amsl.com>; Thu, 28 Apr 2016 04:05:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.297
X-Spam-Level: 
X-Spam-Status: No, score=-5.297 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.996, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cs.tcd.ie
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 a298BB2v84rq for <uta@ietfa.amsl.com>; Thu, 28 Apr 2016 04:05:08 -0700 (PDT)
Received: from mercury.scss.tcd.ie (mercury.scss.tcd.ie [134.226.56.6]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B375112D66F for <uta@ietf.org>; Thu, 28 Apr 2016 04:05:06 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by mercury.scss.tcd.ie (Postfix) with ESMTP id 7355ABE75; Thu, 28 Apr 2016 12:05:05 +0100 (IST)
X-Virus-Scanned: Debian amavisd-new at scss.tcd.ie
Received: from mercury.scss.tcd.ie ([127.0.0.1]) by localhost (mercury.scss.tcd.ie [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1sn0HTqUPa9x; Thu, 28 Apr 2016 12:05:03 +0100 (IST)
Received: from [10.87.49.100] (unknown [86.46.24.231]) by mercury.scss.tcd.ie (Postfix) with ESMTPSA id B6ADBBE5D; Thu, 28 Apr 2016 12:05:02 +0100 (IST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cs.tcd.ie; s=mail; t=1461841503; bh=0HZaD/KuSgPJN/e9gHlJlUEHDrVLpDw6ZDZUn8SuoPw=; h=Subject:To:References:From:Date:In-Reply-To:From; b=q0tpBwuP0EUG7i1lAsvVZWxAQdGskyryfzoV/8XD7suXUFsy8CcPTeSawaICmEhDv d1jvDqSae+oSoXmEVr3fVvleLQOEcOAD1Bgi22HW0jQNQQ6j7njx9LTLa9VOmpzsYt YmWwX/JXCyd3wNvJjbtGHj9lOEIontD2I9UnNVjM=
To: =JeffH <Jeff.Hodges@KingsMountain.com>, IETF Using TLS in Apps WG <uta@ietf.org>
References: <571FFAC8.6090706@KingsMountain.com>
From: Stephen Farrell <stephen.farrell@cs.tcd.ie>
Openpgp: id=D66EA7906F0B897FB2E97D582F3C8736805F8DA2; url=
Message-ID: <5721EE5D.3090507@cs.tcd.ie>
Date: Thu, 28 Apr 2016 12:05:01 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2
MIME-Version: 1.0
In-Reply-To: <571FFAC8.6090706@KingsMountain.com>
Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-256; boundary="------------ms020504040102060000040800"
Archived-At: <http://mailarchive.ietf.org/arch/msg/uta/wNhuBJK1Ir6cuJKpDuEU9MlSlSw>
Subject: Re: [Uta] "webby" STS and DANE/DNSSEC co-existence
X-BeenThere: uta@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: UTA working group mailing list <uta.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/uta>, <mailto:uta-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/uta/>
List-Post: <mailto:uta@ietf.org>
List-Help: <mailto:uta-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/uta>, <mailto:uta-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 28 Apr 2016 11:05:15 -0000

This is a cryptographically signed message in MIME format.

--------------ms020504040102060000040800
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable


Hi Jeff,

On 27/04/16 00:33, =3DJeffH wrote:
> On 4/11/16, 1:45 PM, "Stephen Farrell" <stephen.farrell@cs.tcd.ie> wrot=
e:
>    >
>    > With no hats, I'd like to argue that the WG should pursue
>    > the "webby" STS proposal, ...
>=20
> just to ensure this thread is pedantically clear, when you said the
> above, you were referring to..
>=20
>      https://datatracker.ietf.org/doc/draft-margolis-smtp-sts
>      (which has now morphed in to two separate I-Ds)

Well not particularly those drafts but yes I was referring to the
ideas embodied therein. (But yeah, those are the drafts we have
with those ideas in:-)

>=20
> ..and possibly also..
>=20
>      https://tools.ietf.org/html/draft-ietf-uta-email-deep

To the extent we want deep to be consistent with the above drafts,
yes, the same discussion should be relevant.

And in case it helps, I think we do need the webby approach in
addition to the DNSSEC based approach because DNSSEC, while being
the correct solution here, doesn't yet have sufficient deployment.
I also hope that the webby approach will not further damage DNSSEC
deployment in this case - I figure DANE/DNSSEC will have enough
advantages over the webby approach that it'll continue to be used,
and hence that at least some of the biggest mail providers will
need to at least be able to verify DANE/DNSSEC stuff so the webby
thing will I hope end up as a stopgap.

Cheers,
S.

>=20
> ..yes?
>=20
> thx, hth,
>=20
> =3DJeffH
>=20
> _______________________________________________
> Uta mailing list
> Uta@ietf.org
> https://www.ietf.org/mailman/listinfo/uta
>=20


--------------ms020504040102060000040800
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgEFADCABgkqhkiG9w0BBwEAAKCC
CvIwggUIMIID8KADAgECAhBPzaE7pzYviUJyhmHTFBdnMA0GCSqGSIb3DQEBCwUAMHUxCzAJ
BgNVBAYTAklMMRYwFAYDVQQKEw1TdGFydENvbSBMdGQuMSkwJwYDVQQLEyBTdGFydENvbSBD
ZXJ0aWZpY2F0aW9uIEF1dGhvcml0eTEjMCEGA1UEAxMaU3RhcnRDb20gQ2xhc3MgMSBDbGll
bnQgQ0EwHhcNMTYwMjA5MDkyODE1WhcNMTcwMjA5MDkyODE1WjBOMSIwIAYDVQQDDBlzdGVw
aGVuLmZhcnJlbGxAY3MudGNkLmllMSgwJgYJKoZIhvcNAQkBFhlzdGVwaGVuLmZhcnJlbGxA
Y3MudGNkLmllMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAtuC0rYze/2JinSra
C9F2RjGdQZjNALLcW9C3WKTwYII3wBslobmHuPEYE5JaGItmzuKnAW619R1rD/kfoNWC19N3
rBZ6UX9Cmb9D9exCwYIwVuSwjrCQWGxgCtNQTrwKzCCpI790GRiMTvxvO7UmzmBrCaBLiZW5
R0fBjK5Yn6hUhAzGBkNbkIEL28cLJqH0yVz7Kl92OlzrQqTPEts5m6cDnNdY/ADfeAX18c1r
dxZqcAxhLotrCqgsVA4ilbQDMMXGTLlB5TP35HeWZuGBU7xu003rLcFLdOkD8xvpJoYZy9Kt
3oABXPS5yqtMK+XCNdqmMn+4mOtLwQSMmPCSiQIDAQABo4IBuTCCAbUwCwYDVR0PBAQDAgSw
MB0GA1UdJQQWMBQGCCsGAQUFBwMCBggrBgEFBQcDBDAJBgNVHRMEAjAAMB0GA1UdDgQWBBQJ
QhvwQ5Fl372Z6xqo6fdn8XejTTAfBgNVHSMEGDAWgBQkgWw5Yb5JD4+3G0YrySi1J0htaDBv
BggrBgEFBQcBAQRjMGEwJAYIKwYBBQUHMAGGGGh0dHA6Ly9vY3NwLnN0YXJ0c3NsLmNvbTA5
BggrBgEFBQcwAoYtaHR0cDovL2FpYS5zdGFydHNzbC5jb20vY2VydHMvc2NhLmNsaWVudDEu
Y3J0MDgGA1UdHwQxMC8wLaAroCmGJ2h0dHA6Ly9jcmwuc3RhcnRzc2wuY29tL3NjYS1jbGll
bnQxLmNybDAkBgNVHREEHTAbgRlzdGVwaGVuLmZhcnJlbGxAY3MudGNkLmllMCMGA1UdEgQc
MBqGGGh0dHA6Ly93d3cuc3RhcnRzc2wuY29tLzBGBgNVHSAEPzA9MDsGCysGAQQBgbU3AQIE
MCwwKgYIKwYBBQUHAgEWHmh0dHA6Ly93d3cuc3RhcnRzc2wuY29tL3BvbGljeTANBgkqhkiG
9w0BAQsFAAOCAQEArzrSv2C8PlBBmGuiGrzm2Wma46/KHtXmZYS0bsd43pM66Pc/MsqPE0HD
C1GzMFfwB6BfkJn8ijNSIhlgj898WzjvnpM/SO8KStjlB8719ig/xKISrOl5mX55XbFlQtX9
U6MrqRgbDIATxhD9IDr+ryvovDzChqgQj7mt2jYr4mdlRjsjod3H1VY6XglRmaaNGZfsCARM
aE/TU5SXIiqauwt5KxNGYAY67QkOBs7O1FkSXpTk7+1MmzJMF4nP8QQ5n8vhVNseF+/Wm7ai
9mtnrkLbaznMsy/ULo/C2yuLUWTbZZbf4EKNmVdme6tUDgYkFjAFOblfA7W1fSPiQGagYzCC
BeIwggPKoAMCAQICEGunin0K14jWUQr5WeTntOEwDQYJKoZIhvcNAQELBQAwfTELMAkGA1UE
BhMCSUwxFjAUBgNVBAoTDVN0YXJ0Q29tIEx0ZC4xKzApBgNVBAsTIlNlY3VyZSBEaWdpdGFs
IENlcnRpZmljYXRlIFNpZ25pbmcxKTAnBgNVBAMTIFN0YXJ0Q29tIENlcnRpZmljYXRpb24g
QXV0aG9yaXR5MB4XDTE1MTIxNjAxMDAwNVoXDTMwMTIxNjAxMDAwNVowdTELMAkGA1UEBhMC
SUwxFjAUBgNVBAoTDVN0YXJ0Q29tIEx0ZC4xKTAnBgNVBAsTIFN0YXJ0Q29tIENlcnRpZmlj
YXRpb24gQXV0aG9yaXR5MSMwIQYDVQQDExpTdGFydENvbSBDbGFzcyAxIENsaWVudCBDQTCC
ASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAL192vfDon2D9luC/dtbX64eG3XAtRmv
mCSsu1d52DXsCR58zJQbCtB2/A5uFqNxWacpXGGtTCRk9dEDBlmixEd8QiLkUfvHpJX/xKnm
VkS6Iye8wUbYzMsDzgnpazlPg19dnSqfhM+Cevdfa89VLnUztRr2cgmCfyO9Otrh7LJDPG+4
D8ZnAqDtVB8MKYJL6QgKyVhhaBc4y3bGWxKyXEtx7QIZZGxPwSkzK3WIN+VKNdkiwTubW5PI
dopmykwvIjLPqbJK7yPwFZYekKE015OsW6FV+s4DIM8UlVS8pkIsoGGJtMuWjLL4tq2hYQuu
N0jhrxK1ljz50hH23gA9cbMCAwEAAaOCAWQwggFgMA4GA1UdDwEB/wQEAwIBBjAdBgNVHSUE
FjAUBggrBgEFBQcDAgYIKwYBBQUHAwQwEgYDVR0TAQH/BAgwBgEB/wIBADAyBgNVHR8EKzAp
MCegJaAjhiFodHRwOi8vY3JsLnN0YXJ0c3NsLmNvbS9zZnNjYS5jcmwwZgYIKwYBBQUHAQEE
WjBYMCQGCCsGAQUFBzABhhhodHRwOi8vb2NzcC5zdGFydHNzbC5jb20wMAYIKwYBBQUHMAKG
JGh0dHA6Ly9haWEuc3RhcnRzc2wuY29tL2NlcnRzL2NhLmNydDAdBgNVHQ4EFgQUJIFsOWG+
SQ+PtxtGK8kotSdIbWgwHwYDVR0jBBgwFoAUTgvvGqRAW6UXaYcwyjRoQ9BBrvIwPwYDVR0g
BDgwNjA0BgRVHSAAMCwwKgYIKwYBBQUHAgEWHmh0dHA6Ly93d3cuc3RhcnRzc2wuY29tL3Bv
bGljeTANBgkqhkiG9w0BAQsFAAOCAgEAi+P3h+wBi4StDwECW5zhIycjBL008HACblIf26HY
0JdOruKbrWDsXUsiI0j/7Crft9S5oxvPiDtVqspBOB/y5uzSns1lZwh7sG96bYBZpcGzGxpF
NjDmQbcM3yl3WFIRS4WhNrsOY14V7y2IrUGsvetsD+bjyOngCIVeC/GmsmtbuLOzJ606tEc9
uRbhjTu/b0x2Fo+/e7UkQvKzNeo7OMhijixaULyINBfCBJb+e29bLafgu6JqjOUJ9eXXj20p
6q/CW+uVrZiSW57+q5an2P2i7hP85jQJcy5j4HzA0rSiF3YPhKGAWUxKPMAVGgcYoXzWydOv
Z3UDsTDTagXpRDIKQLZo02wrlxY6iMFqvlzsemVf1odhQJmi7Eh5TbxI40kDGcBOBHhwnaOu
mZhLP+SWJQnjpLpSlUOj95uf1zo9oz9e0NgIJoz/tdfrBzez76xtDsK0KfUDHt1/q59BvDI7
RX6gVr0fQoCyMczNzCTcRXYHY0tq2J0oT+bsb6sH2b4WVWAiJKnSYaWDjdA70qHX4mq9MIjO
/ZskmSY8wtAk24orAc0vwXgYanqNsBX5Yv4sN4Z9VyrwMdLcusP7HJgRdAGKpkR2I9U4zEsN
JQJewM7S4Jalo1DyPrLpL2nTET8ZrSl5Utp1UeGp/2deoprGevfnxWB+vHNQiu85o6MxggPM
MIIDyAIBATCBiTB1MQswCQYDVQQGEwJJTDEWMBQGA1UEChMNU3RhcnRDb20gTHRkLjEpMCcG
A1UECxMgU3RhcnRDb20gQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkxIzAhBgNVBAMTGlN0YXJ0
Q29tIENsYXNzIDEgQ2xpZW50IENBAhBPzaE7pzYviUJyhmHTFBdnMA0GCWCGSAFlAwQCAQUA
oIICEzAYBgkqhkiG9w0BCQMxCwYJKoZIhvcNAQcBMBwGCSqGSIb3DQEJBTEPFw0xNjA0Mjgx
MTA1MDFaMC8GCSqGSIb3DQEJBDEiBCAjAcrIw8pK6Kqjat6iv+PTJHUcZwWjWrIey4OT4NVJ
RTBsBgkqhkiG9w0BCQ8xXzBdMAsGCWCGSAFlAwQBKjALBglghkgBZQMEAQIwCgYIKoZIhvcN
AwcwDgYIKoZIhvcNAwICAgCAMA0GCCqGSIb3DQMCAgFAMAcGBSsOAwIHMA0GCCqGSIb3DQMC
AgEoMIGaBgkrBgEEAYI3EAQxgYwwgYkwdTELMAkGA1UEBhMCSUwxFjAUBgNVBAoTDVN0YXJ0
Q29tIEx0ZC4xKTAnBgNVBAsTIFN0YXJ0Q29tIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MSMw
IQYDVQQDExpTdGFydENvbSBDbGFzcyAxIENsaWVudCBDQQIQT82hO6c2L4lCcoZh0xQXZzCB
nAYLKoZIhvcNAQkQAgsxgYyggYkwdTELMAkGA1UEBhMCSUwxFjAUBgNVBAoTDVN0YXJ0Q29t
IEx0ZC4xKTAnBgNVBAsTIFN0YXJ0Q29tIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MSMwIQYD
VQQDExpTdGFydENvbSBDbGFzcyAxIENsaWVudCBDQQIQT82hO6c2L4lCcoZh0xQXZzANBgkq
hkiG9w0BAQEFAASCAQAncvmpKBNtKOJU/TRg+0mlGUsFQWN4USqlw5Q2habJrTtLZOitfSjj
8m0SkSB5+FH0pusxKb5RoORy4BlcmIc/cAG8zUsdm6xrv+fzy7PlibSpaMbCfaM4KHWlNbsB
NIXNd4lx7MxQzyNDgt1eP7c3dHkMHMewmeIYzxYObaKm38Tuq8bG76UbeuVN2so0EXizMxSB
7EIP63foSwFBhN7HzRr3PuyRO9TE8S+wLGdKmhS4oS9QV5FbbYx8N02kF0VzG2cN4lI2M6Qu
kWJpmwsWbtCt5d/CeHoj0j2cFsL85ajHyCEgzTq2Sk+AC6Gku9WY9bvZZbnVTmHSS2kV+Dc/
AAAAAAAA
--------------ms020504040102060000040800--


From nobody Thu Apr 28 13:26:48 2016
Return-Path: <leifj@sunet.se>
X-Original-To: uta@ietfa.amsl.com
Delivered-To: uta@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C2FBA12D9B6 for <uta@ietfa.amsl.com>; Thu, 28 Apr 2016 13:26:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.297
X-Spam-Level: 
X-Spam-Status: No, score=-5.297 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.996, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=sunet.se
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 RQaCOtcAOTdK for <uta@ietfa.amsl.com>; Thu, 28 Apr 2016 13:26:44 -0700 (PDT)
Received: from e-mailfilter01.sunet.se (e-mailfilter01.sunet.se [IPv6:2001:6b0:8:2::201]) (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 1762012D9A0 for <uta@ietf.org>; Thu, 28 Apr 2016 13:26:43 -0700 (PDT)
Received: from smtp1.sunet.se (smtp1.sunet.se [192.36.171.214]) by e-mailfilter01.sunet.se (8.14.4/8.14.4/Debian-4) with ESMTP id u3SKQf8s025661 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for <uta@ietf.org>; Thu, 28 Apr 2016 22:26:41 +0200
Received: from kerio.sunet.se (kerio.sunet.se [192.36.171.210]) by smtp1.sunet.se (8.14.9/8.14.7) with ESMTP id u3SKQctC008079 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO) for <uta@ietf.org>; Thu, 28 Apr 2016 22:26:41 +0200 (CEST)
VBR-Info: md=sunet.se; mc=all; mv=swamid.se
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=sunet.se; s=default; t=1461875201; bh=Agru5MSTxIf/Mo8xWZ8MPmzvueCIkNgnzheF4WD/T+g=; h=Subject:To:References:From:Date:In-Reply-To; b=UVwemP3WKl57NrXts/NaqD9To+j6x4UPAIKEOIJFZmfRWN9KpzajP5Ws+knRDlna3 e0m4tkj7voahoUgqzVbg8wIJicqnpuuRWflMX34ym+Egj8Scmaoj7AnW9jUpmX0NBh 5XHRf5oH4EaSKJx9LEpaXblVltLZDt2MH80gb+Q0=
X-Footer: c3VuZXQuc2U=
Received: from [10.0.0.107] ([62.102.145.131]) (authenticated user leifj@sunet.se) by kerio.sunet.se (Kerio Connect 9.0.1) with ESMTPSA (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128 bits)) for uta@ietf.org; Thu, 28 Apr 2016 22:26:37 +0200
To: uta@ietf.org
References: <571FFAC8.6090706@KingsMountain.com> <5721EE5D.3090507@cs.tcd.ie>
From: Leif Johansson <leifj@sunet.se>
Message-ID: <572271FD.1070503@sunet.se>
Date: Thu, 28 Apr 2016 22:26:37 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0
MIME-Version: 1.0
In-Reply-To: <5721EE5D.3090507@cs.tcd.ie>
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 7bit
X-CanIt-Geo: ip=192.36.171.210; country=SE; latitude=59.3294; longitude=18.0686; http://maps.google.com/maps?q=59.3294,18.0686&z=6
X-CanItPRO-Stream: outbound-sunet-se:outbound (inherits from outbound-sunet-se:default, sunet-se:default, base:default)
X-Canit-Stats-ID: 09QLUqF6E - 6537c1fb6099 - 20160428
X-CanIt-Archive-Cluster: PfMRe/vJWMiXwM2YIH5BVExnUnw
Received-SPF: neutral (e-mailfilter01.sunet.se: 192.36.171.210 is neither permitted nor denied by domain leifj@sunet.se) receiver=e-mailfilter01.sunet.se; client-ip=192.36.171.210; envelope-from=<leifj@sunet.se>; helo=smtp1.sunet.se; identity=mailfrom
X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.36.171.201
Archived-At: <http://mailarchive.ietf.org/arch/msg/uta/AIsFu0cZTKei9iSk5DpXCQbnpXw>
Subject: Re: [Uta] "webby" STS and DANE/DNSSEC co-existence
X-BeenThere: uta@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: UTA working group mailing list <uta.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/uta>, <mailto:uta-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/uta/>
List-Post: <mailto:uta@ietf.org>
List-Help: <mailto:uta-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/uta>, <mailto:uta-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 28 Apr 2016 20:26:47 -0000

On 2016-04-28 13:05, Stephen Farrell wrote:
> 
> Hi Jeff,
> 
> On 27/04/16 00:33, =JeffH wrote:
>> On 4/11/16, 1:45 PM, "Stephen Farrell" <stephen.farrell@cs.tcd.ie> wrote:
>>    >
>>    > With no hats, I'd like to argue that the WG should pursue
>>    > the "webby" STS proposal, ...
>>
>> just to ensure this thread is pedantically clear, when you said the
>> above, you were referring to..
>>
>>      https://datatracker.ietf.org/doc/draft-margolis-smtp-sts
>>      (which has now morphed in to two separate I-Ds)
> 
> Well not particularly those drafts but yes I was referring to the
> ideas embodied therein. (But yeah, those are the drafts we have
> with those ideas in:-)

yes

> 
>>
>> ..and possibly also..
>>
>>      https://tools.ietf.org/html/draft-ietf-uta-email-deep
> 
> To the extent we want deep to be consistent with the above drafts,
> yes, the same discussion should be relevant.
> 
> And in case it helps, I think we do need the webby approach in
> addition to the DNSSEC based approach because DNSSEC, while being
> the correct solution here, doesn't yet have sufficient deployment.
> I also hope that the webby approach will not further damage DNSSEC
> deployment in this case - I figure DANE/DNSSEC will have enough
> advantages over the webby approach that it'll continue to be used,
> and hence that at least some of the biggest mail providers will
> need to at least be able to verify DANE/DNSSEC stuff so the webby
> thing will I hope end up as a stopgap.
> 
> Cheers,
> S.
> 
>>
>> ..yes?
>>
>> thx, hth,
>>
>> =JeffH
>>
>> _______________________________________________
>> Uta mailing list
>> Uta@ietf.org
>> https://www.ietf.org/mailman/listinfo/uta
>>
> 
> 
> 
> _______________________________________________
> Uta mailing list
> Uta@ietf.org
> https://www.ietf.org/mailman/listinfo/uta
> 



From nobody Sat Apr 30 04:14:22 2016
Return-Path: <azet@azet.org>
X-Original-To: uta@ietfa.amsl.com
Delivered-To: uta@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D346812B005 for <uta@ietfa.amsl.com>; Sat, 30 Apr 2016 04:14:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.678
X-Spam-Level: 
X-Spam-Status: No, score=-1.678 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, MISSING_HEADERS=1.021, RCVD_IN_DNSWL_LOW=-0.7] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=azet.org
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 opKi1JofkTCQ for <uta@ietfa.amsl.com>; Sat, 30 Apr 2016 04:14:20 -0700 (PDT)
Received: from mail-qg0-x232.google.com (mail-qg0-x232.google.com [IPv6:2607:f8b0:400d:c04::232]) (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 025BD1200A0 for <uta@ietf.org>; Sat, 30 Apr 2016 04:14:19 -0700 (PDT)
Received: by mail-qg0-x232.google.com with SMTP id f92so52530031qgf.0 for <uta@ietf.org>; Sat, 30 Apr 2016 04:14:19 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=azet.org; s=gmail; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc; bh=wFnHYKESgmBTW3AYddMDJCwJV/K0tnud6KalwPfodpE=; b=Hi+SvIuw6Cz0RQ5DwP2NP9wNWe3FMx6/Jjt2H0t6nnRPJtv07APLf3MCs1SWKuIiDd FRWGwUNShJqpWUhip7CSkAW6T8EF2WSxAAbb8LfULOq8BFYKoOXdOXQQi/TF8ZPoY48P P2Hq9XAfwV27eRSoSSMtHxhwIa5OsssuJPXFM=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:cc; bh=wFnHYKESgmBTW3AYddMDJCwJV/K0tnud6KalwPfodpE=; b=FdoUHBqtio/QfGMacIT3iMnWKmyMHM+jiQplE9nQp+lsNHRzMXEcpWRwXNVxSfSyAH 5PAvvzjw8zSCz16IyxCypztq6mgFptW+ZD1K/twBn4LIfg0ihlOtPvz+jrPcVCYvtFYe pe+W8rMLLT91DTbjss/qmFVTBjgywJ1gDW+hULkNsDRPGeUsMVT4RYRMnbsI65J6nmp4 u61J5xLWg1GAxMR9ChYq0pvhFdqjXb1hBjVkwkLrA3SZb0yw0BzZ194Jiyejd8HrCXUn gZIoojQGwaD4JzU0qJ/o5WdpvMkQj5kVqKhRUCxbC/NfyScl2gEfZobV2ozdoDCFtoij w/Og==
X-Gm-Message-State: AOPr4FXJTd4xw/fsTjX+ejCrPaIoqef8Bls6oGMixFbbwvMXklXgFkqv4snl4GzfT0hAC07QaiL7i7prknioDg==
MIME-Version: 1.0
X-Received: by 10.140.94.67 with SMTP id f61mr12251609qge.56.1462014859073; Sat, 30 Apr 2016 04:14:19 -0700 (PDT)
Received: by 10.200.40.69 with HTTP; Sat, 30 Apr 2016 04:14:18 -0700 (PDT)
In-Reply-To: <B377CC60-CDEE-4B0C-B6B6-7DAA60145E12@azet.org>
References: <f560e7a9f4384a3293ae9f593c1563b5@COPDCEX19.cable.comcast.com> <571E1DA6.5090408@mnt.se> <B377CC60-CDEE-4B0C-B6B6-7DAA60145E12@azet.org>
Date: Sat, 30 Apr 2016 18:14:18 +0700
Message-ID: <CAN8NK9Git4jTQAXuvvjN86axJR243B=PhC8guBtc-Vw0AAvYDw@mail.gmail.com>
From: Aaron Zauner <azet@azet.org>
Cc: "uta@ietf.org" <uta@ietf.org>
Content-Type: multipart/alternative; boundary=001a1139505254f8e00531b1dc75
Archived-At: <http://mailarchive.ietf.org/arch/msg/uta/w4BBtVnDW27Gvys3wxvGgxauWzQ>
Subject: Re: [Uta] Updated SMTP STS Draft
X-BeenThere: uta@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: UTA working group mailing list <uta.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/uta>, <mailto:uta-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/uta/>
List-Post: <mailto:uta@ietf.org>
List-Help: <mailto:uta-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/uta>, <mailto:uta-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 30 Apr 2016 11:14:22 -0000

--001a1139505254f8e00531b1dc75
Content-Type: text/plain; charset=UTF-8

Hi,

I'm now specifically reviewing the STS reporting draft. We currently have a
discussion on file formats within STLE/LE/Certbot. I think CBOR would be a
nice format if things get bigger. I'm aware you just switched to JSON and
in your specific use-case JSON will probably suffice. The
future-work/forensic-reporting mode is something I'd be specifically
interested in in that regard. Once these reports get big, JSON might be
suboptimal.

What's the WGs opinion on that?

Aaron

On Tue, Apr 26, 2016 at 9:51 AM, Aaron Zauner <azet@azet.org> wrote:

>
> > On 25 Apr 2016, at 20:37, Leif Johansson <leifj@mnt.se> wrote:
> >
> > On 2016-04-25 15:29, Brotman, Alexander wrote:
> >> Hello,
> >>
> >> We've incorporated much of the feedback we've received from the
> community, and would like to present updated drafts.
> >>
> >> * One of the most evident changes is that we've split the draft into
> two separate documents; one for the STS policy, and one for the TLS
> reporting.  These are meant to replace the original SMTP STS draft (
> https://datatracker.ietf.org/doc/draft-margolis-smtp-sts-00).
> >> * We've altered the name a bit from "SMTP STS" to "MTA STS" to be more
> in line with DEEP, and have also added elements for the DEEP registry.
> >> * After some deliberation amongst the authors, we've also decided to
> remove the DNSSEC-related options for the STS policy, which should simplify
> work for those wishing to deploy STS validation.
> >> * Within the TLS reporting, we've explicitly mentioned several failure
> modes, including those specifically relating to DANE and MTA STS.
> >> * We've also altered the report syntax to use JSON instead of XML.
> >>
> >
> > Thanks,
> >
> > In BA there was consensus (pretty strong at that) to adopt this draft as
> > a WG document.
> >
> > This starts an adoption call for adoption as a WG document. Please
> > indicate your support or objection (with motivation) for WG adoption
> > no later than EOB (any TZ) May 1st
>
> I support adoption of these drafts as WG documents, they will need some
> further work though. I'm of course reviewing and will provide feedback both
> on list and have been talking with (some of) the authors backchannel as
> well.
>
> Aaron
>

--001a1139505254f8e00531b1dc75
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hi,=C2=A0<div><br></div><div>I&#39;m now specifically revi=
ewing the STS reporting draft. We currently have a discussion on file forma=
ts within STLE/LE/Certbot. I think CBOR would be a nice format if things ge=
t bigger. I&#39;m aware you just switched to JSON and in your specific use-=
case JSON will probably suffice. The future-work/forensic-reporting mode is=
 something I&#39;d be specifically interested in in that regard. Once these=
 reports get big, JSON might be suboptimal.=C2=A0</div><div><br></div><div>=
What&#39;s the WGs opinion on that?</div><div><br></div><div>Aaron</div></d=
iv><div class=3D"gmail_extra"><br><div class=3D"gmail_quote">On Tue, Apr 26=
, 2016 at 9:51 AM, Aaron Zauner <span dir=3D"ltr">&lt;<a href=3D"mailto:aze=
t@azet.org" target=3D"_blank">azet@azet.org</a>&gt;</span> wrote:<br><block=
quote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc=
 solid;padding-left:1ex"><span class=3D""><br>
&gt; On 25 Apr 2016, at 20:37, Leif Johansson &lt;<a href=3D"mailto:leifj@m=
nt.se">leifj@mnt.se</a>&gt; wrote:<br>
&gt;<br>
&gt; On 2016-04-25 15:29, Brotman, Alexander wrote:<br>
&gt;&gt; Hello,<br>
&gt;&gt;<br>
&gt;&gt; We&#39;ve incorporated much of the feedback we&#39;ve received fro=
m the community, and would like to present updated drafts.<br>
&gt;&gt;<br>
&gt;&gt; * One of the most evident changes is that we&#39;ve split the draf=
t into two separate documents; one for the STS policy, and one for the TLS =
reporting.=C2=A0 These are meant to replace the original SMTP STS draft (<a=
 href=3D"https://datatracker.ietf.org/doc/draft-margolis-smtp-sts-00" rel=
=3D"noreferrer" target=3D"_blank">https://datatracker.ietf.org/doc/draft-ma=
rgolis-smtp-sts-00</a>).<br>
&gt;&gt; * We&#39;ve altered the name a bit from &quot;SMTP STS&quot; to &q=
uot;MTA STS&quot; to be more in line with DEEP, and have also added element=
s for the DEEP registry.<br>
&gt;&gt; * After some deliberation amongst the authors, we&#39;ve also deci=
ded to remove the DNSSEC-related options for the STS policy, which should s=
implify work for those wishing to deploy STS validation.<br>
&gt;&gt; * Within the TLS reporting, we&#39;ve explicitly mentioned several=
 failure modes, including those specifically relating to DANE and MTA STS.<=
br>
&gt;&gt; * We&#39;ve also altered the report syntax to use JSON instead of =
XML.<br>
&gt;&gt;<br>
&gt;<br>
&gt; Thanks,<br>
&gt;<br>
&gt; In BA there was consensus (pretty strong at that) to adopt this draft =
as<br>
&gt; a WG document.<br>
&gt;<br>
&gt; This starts an adoption call for adoption as a WG document. Please<br>
&gt; indicate your support or objection (with motivation) for WG adoption<b=
r>
&gt; no later than EOB (any TZ) May 1st<br>
<br>
</span>I support adoption of these drafts as WG documents, they will need s=
ome further work though. I&#39;m of course reviewing and will provide feedb=
ack both on list and have been talking with (some of) the authors backchann=
el as well.<br>
<span class=3D"HOEnZb"><font color=3D"#888888"><br>
Aaron<br>
</font></span></blockquote></div><br></div>

--001a1139505254f8e00531b1dc75--


From nobody Sat Apr 30 09:34:23 2016
Return-Path: <johnl@taugh.com>
X-Original-To: uta@ietfa.amsl.com
Delivered-To: uta@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1640412D16A for <uta@ietfa.amsl.com>; Sat, 30 Apr 2016 09:34:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level: 
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-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 AreCIRTigNyE for <uta@ietfa.amsl.com>; Sat, 30 Apr 2016 09:34:21 -0700 (PDT)
Received: from miucha.iecc.com (abusenet-1-pt.tunnel.tserv4.nyc4.ipv6.he.net [IPv6:2001:470:1f06:1126::2]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9319312D0A7 for <uta@ietf.org>; Sat, 30 Apr 2016 09:34:21 -0700 (PDT)
Received: (qmail 78422 invoked from network); 30 Apr 2016 16:34:20 -0000
Received: from unknown (64.57.183.18) by mail1.iecc.com with QMQP; 30 Apr 2016 16:34:20 -0000
Date: 30 Apr 2016 16:33:58 -0000
Message-ID: <20160430163358.5568.qmail@ary.lan>
From: "John Levine" <johnl@taugh.com>
To: uta@ietf.org
In-Reply-To: <CAN8NK9Git4jTQAXuvvjN86axJR243B=PhC8guBtc-Vw0AAvYDw@mail.gmail.com>
Organization: 
X-Headerized: yes
Mime-Version: 1.0
Content-type: text/plain; charset=utf-8
Content-transfer-encoding: 8bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/uta/XT5i2eq5TSTa2j36kAgxxjCE_w8>
Cc: azet@azet.org
Subject: Re: [Uta] Updated SMTP STS Draft
X-BeenThere: uta@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: UTA working group mailing list <uta.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/uta>, <mailto:uta-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/uta/>
List-Post: <mailto:uta@ietf.org>
List-Help: <mailto:uta-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/uta>, <mailto:uta-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 30 Apr 2016 16:34:23 -0000

>interested in in that regard. Once these reports get big, JSON might be
>suboptimal.
>
>What's the WGs opinion on that?

DMARC reports are XML and I don't know anyone who finds them too big
to handle.  So long as you use the application/gzip compression that
I arranged for DMARC reports, the size of the messages should be
about the same no matter what the encoding is.

XML and JSON have the advantage that there are zillions of existing
libraries that people already know how to use, and you can look at the
reports in a text editor while you're debugging your code.  I would
encourage leaving well enough alone.

R's,
John


From nobody Sat Apr 30 12:37:40 2016
Return-Path: <johnl@taugh.com>
X-Original-To: uta@ietfa.amsl.com
Delivered-To: uta@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8415F12D193 for <uta@ietfa.amsl.com>; Sat, 30 Apr 2016 12:37:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level: 
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-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 ylsYxqDYZKXv for <uta@ietfa.amsl.com>; Sat, 30 Apr 2016 12:37:36 -0700 (PDT)
Received: from miucha.iecc.com (abusenet-1-pt.tunnel.tserv4.nyc4.ipv6.he.net [IPv6:2001:470:1f06:1126::2]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 92C4012B047 for <uta@ietf.org>; Sat, 30 Apr 2016 12:37:36 -0700 (PDT)
Received: (qmail 96543 invoked from network); 30 Apr 2016 19:37:35 -0000
Received: from unknown (64.57.183.18) by mail1.iecc.com with QMQP; 30 Apr 2016 19:37:35 -0000
Date: 30 Apr 2016 19:37:13 -0000
Message-ID: <20160430193713.6079.qmail@ary.lan>
From: "John Levine" <johnl@taugh.com>
To: uta@ietf.org
In-Reply-To: <f560e7a9f4384a3293ae9f593c1563b5@COPDCEX19.cable.comcast.com>
Organization: 
X-Headerized: yes
Mime-Version: 1.0
Content-type: text/plain; charset=utf-8
Content-transfer-encoding: 8bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/uta/oWR_r90f4aUDzR5YLJOTQl5xMEE>
Cc: Alexander_Brotman@cable.comcast.com
Subject: Re: [Uta] draft-brotman-mta-sts/
X-BeenThere: uta@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: UTA working group mailing list <uta.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/uta>, <mailto:uta-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/uta/>
List-Post: <mailto:uta@ietf.org>
List-Help: <mailto:uta-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/uta>, <mailto:uta-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 30 Apr 2016 19:37:38 -0000

>We'd like others to review and encourage further discussion relating to these drafts.  Thank you for your time.

I'm quite uncomfortable with the bit that says you look up the policy
at https://policy._mta_sts.example.com/current

By my reading of RFC 3986 which defines URIs, that's not a URI.
Section 3.2.2. does have ABNF which allows underscores in the host
part, but it then has text on page 21 that says that names looked up
in the DNS are RFC 1123 hostnames that are letter, digit, hyphen
only.  It says the underscores are intended for names looked up in
other ways.

My CA (Startcom) won't sign names with underscores, and I doubt that
other CAs will, which makes them rather unappealing.

I have two suggestions, a reasonable one and a gross kludge.

The reasonable one is to use SRV, so it'd be like this:

 _sts._tcp SRV 0 0 443 sts-policy.example.com.

Bad guys could spoof your SRV record without DNSSEC, but they can also
spoof the A record for policy._mta_sts.example.com so that horse left
the barn.  You could require that the target of the SRV has to be a
subdomain of the original domain which, along with the signed SSL
certificate, would limit the scope of evil.  This proposal has the
advantage of being built on top of well established standards, and the
disadvantage that looking up SRV records is still alleged to be hard
in some contexts (but I don't think ones that matter here.)

The gross kludge is to use xn--sts0 as the tag, e.g.

 https://policy.xn--sts0.example.com/current

The string "sts0" is deliberately invalid punycode, so while xn--sts0
is a valid hostname label, it's not an A-label and will never appear
in an IDN hostname, Hence it's very unlikely to collide with other
uses.  I hope I don't have to explain why it's a kludge.  My CA will
sign it. I checked.

R's,
John


From nobody Sat Apr 30 15:00:46 2016
Return-Path: <ietf-dane@dukhovni.org>
X-Original-To: uta@ietfa.amsl.com
Delivered-To: uta@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E4B3412D10E for <uta@ietfa.amsl.com>; Sat, 30 Apr 2016 15:00:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001] 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 PZGFJTRAnvAG for <uta@ietfa.amsl.com>; Sat, 30 Apr 2016 15:00:43 -0700 (PDT)
Received: from mournblade.imrryr.org (mournblade.imrryr.org [38.117.134.19]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0255812B014 for <uta@ietf.org>; Sat, 30 Apr 2016 15:00:41 -0700 (PDT)
Received: by mournblade.imrryr.org (Postfix, from userid 1034) id C592A284B6F; Sat, 30 Apr 2016 22:00:40 +0000 (UTC)
Date: Sat, 30 Apr 2016 22:00:40 +0000
From: Viktor Dukhovni <ietf-dane@dukhovni.org>
To: uta@ietf.org
Message-ID: <20160430220040.GJ3300@mournblade.imrryr.org>
References: <f560e7a9f4384a3293ae9f593c1563b5@COPDCEX19.cable.comcast.com> <20160430193713.6079.qmail@ary.lan>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20160430193713.6079.qmail@ary.lan>
User-Agent: Mutt/1.5.24 (2015-08-30)
Archived-At: <http://mailarchive.ietf.org/arch/msg/uta/sbxkCOfUcoz_d_NxAUcc0Bfje8M>
Subject: Re: [Uta] draft-brotman-mta-sts/
X-BeenThere: uta@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
Reply-To: uta@ietf.org
List-Id: UTA working group mailing list <uta.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/uta>, <mailto:uta-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/uta/>
List-Post: <mailto:uta@ietf.org>
List-Help: <mailto:uta-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/uta>, <mailto:uta-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 30 Apr 2016 22:00:45 -0000

On Sat, Apr 30, 2016 at 07:37:13PM -0000, John Levine wrote:

> I'm quite uncomfortable with the bit that says you look up the policy
> at https://policy._mta_sts.example.com/current

That's surely a mistake.  It should have been a ".well-known"
URI at the domain with no prefixes.

> I have two suggestions, a reasonable one and a gross kludge.
> 
> The reasonable one is to use SRV, so it'd be like this:
> 
>  _sts._tcp SRV 0 0 443 sts-policy.example.com.

No, SRV records break the security model, because untrusted DNS
now supplies the reference identifier.  The URI needs to be
entirely determined from the nexthop domain with no insecure
inputs.

> The gross kludge is to use xn--sts0 as the tag, e.g.
> 
>  https://policy.xn--sts0.example.com/current
> 
> The string "sts0" is deliberately invalid punycode, so while xn--sts0
> is a valid hostname label, it's not an A-label and will never appear
> in an IDN hostname, Hence it's very unlikely to collide with other
> uses.  I hope I don't have to explain why it's a kludge.  My CA will
> sign it. I checked.

This is not a good idea, such names will be rejected by some systems. 

-- 
	Viktor.


From nobody Sat Apr 30 15:29:55 2016
Return-Path: <johnl@taugh.com>
X-Original-To: uta@ietfa.amsl.com
Delivered-To: uta@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3A9A012D19E for <uta@ietfa.amsl.com>; Sat, 30 Apr 2016 15:29:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level: 
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-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 vWx1pbTEOJH7 for <uta@ietfa.amsl.com>; Sat, 30 Apr 2016 15:29:53 -0700 (PDT)
Received: from miucha.iecc.com (abusenet-1-pt.tunnel.tserv4.nyc4.ipv6.he.net [IPv6:2001:470:1f06:1126::2]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 649C112D187 for <uta@ietf.org>; Sat, 30 Apr 2016 15:29:53 -0700 (PDT)
Received: (qmail 11548 invoked from network); 30 Apr 2016 22:29:52 -0000
Received: from unknown (64.57.183.18) by mail1.iecc.com with QMQP; 30 Apr 2016 22:29:52 -0000
Date: 30 Apr 2016 22:29:30 -0000
Message-ID: <20160430222930.6498.qmail@ary.lan>
From: "John Levine" <johnl@taugh.com>
To: uta@ietf.org
In-Reply-To: <20160430220040.GJ3300@mournblade.imrryr.org>
Organization: 
X-Headerized: yes
Mime-Version: 1.0
Content-type: text/plain; charset=utf-8
Content-transfer-encoding: 8bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/uta/1oKCYCFUQGNcbmZSlGg3L0vSsBE>
Subject: Re: [Uta] draft-brotman-mta-sts/
X-BeenThere: uta@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: UTA working group mailing list <uta.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/uta>, <mailto:uta-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/uta/>
List-Post: <mailto:uta@ietf.org>
List-Help: <mailto:uta-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/uta>, <mailto:uta-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 30 Apr 2016 22:29:55 -0000

>> I'm quite uncomfortable with the bit that says you look up the policy
>> at https://policy._mta_sts.example.com/current
>
>That's surely a mistake.  It should have been a ".well-known"
>URI at the domain with no prefixes.

We talked about this at great length over dinner in Buenos Aires.
Demanding a web server at the same domain name used in e-mail
addresses is operationally a non-starter for large organizations.

>> _sts._tcp SRV 0 0 443 sts-policy.example.com.  

> No, SRV records break the security model, because untrusted DNS now
> supplies the reference identifier.  The URI needs to be entirely
> determined from the nexthop domain with no insecure inputs.

In the absence of DNSSEC, there's *always* insecure inputs, such as
the A or AAAA records that point to the web server.

As the next two sentences said:

  Bad guys could spoof your SRV record without DNSSEC, but they can also
  spoof the A record for policy._mta_sts.example.com so that horse left
  the barn.  You could require that the target of the SRV has to be a
  subdomain of the original domain which, along with the signed SSL
  certificate, would limit the scope of evil. 

>> The string "sts0" is deliberately invalid punycode, so while xn--sts0
>> is a valid hostname label, it's not an A-label and will never appear
>> in an IDN hostname, Hence it's very unlikely to collide with other
>> uses.  I hope I don't have to explain why it's a kludge.  My CA will
>> sign it. I checked.
>
>This is not a good idea, such names will be rejected by some systems. 

Got any examples?  I haven't looked very hard either way.  Note that
nothing should be trying to turn it into a U-label.

R's,
John


From nobody Sat Apr 30 18:19:40 2016
Return-Path: <ietf-dane@dukhovni.org>
X-Original-To: uta@ietfa.amsl.com
Delivered-To: uta@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 95BCD12D0B0 for <uta@ietfa.amsl.com>; Sat, 30 Apr 2016 18:19:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001] 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 XZAtCOnbFdtb for <uta@ietfa.amsl.com>; Sat, 30 Apr 2016 18:19:37 -0700 (PDT)
Received: from mournblade.imrryr.org (mournblade.imrryr.org [38.117.134.19]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A670012B045 for <uta@ietf.org>; Sat, 30 Apr 2016 18:19:37 -0700 (PDT)
Received: by mournblade.imrryr.org (Postfix, from userid 1034) id 7661E284B6F; Sun,  1 May 2016 01:19:36 +0000 (UTC)
Date: Sun, 1 May 2016 01:19:36 +0000
From: Viktor Dukhovni <ietf-dane@dukhovni.org>
To: uta@ietf.org
Message-ID: <20160501011936.GK3300@mournblade.imrryr.org>
References: <20160430220040.GJ3300@mournblade.imrryr.org> <20160430222930.6498.qmail@ary.lan>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20160430222930.6498.qmail@ary.lan>
User-Agent: Mutt/1.5.24 (2015-08-30)
Archived-At: <http://mailarchive.ietf.org/arch/msg/uta/jA9vOly6mh8HrNvUO2z0qx2dTy8>
Subject: Re: [Uta] draft-brotman-mta-sts/
X-BeenThere: uta@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
Reply-To: uta@ietf.org
List-Id: UTA working group mailing list <uta.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/uta>, <mailto:uta-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/uta/>
List-Post: <mailto:uta@ietf.org>
List-Help: <mailto:uta-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/uta>, <mailto:uta-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 01 May 2016 01:19:39 -0000

On Sat, Apr 30, 2016 at 10:29:30PM -0000, John Levine wrote:

> >> I'm quite uncomfortable with the bit that says you look up the policy
> >> at https://policy._mta_sts.example.com/current
> >
> >That's surely a mistake.  It should have been a ".well-known"
> >URI at the domain with no prefixes.
> 
> We talked about this at great length over dinner in Buenos Aires.
> Demanding a web server at the same domain name used in e-mail
> addresses is operationally a non-starter for large organizations.

STS is primarily for the large email providers authoring the draft,
for whom this is not a real obstacle.  Making it convenient for
all other domains might be nice, but is less important.  Not all
domains will adopt STS regardless of the specification.

> >> _sts._tcp SRV 0 0 443 sts-policy.example.com.  
> 
> > No, SRV records break the security model, because untrusted DNS now
> > supplies the reference identifier.  The URI needs to be entirely
> > determined from the nexthop domain with no insecure inputs.
> 
> In the absence of DNSSEC, there's *always* insecure inputs, such as
> the A or AAAA records that point to the web server.

Spoofing of A records are irrelevant, the WebPKI certificate binds
the name, and assures the client that the correct server has been
reached.

> As the next two sentences said:
> 
>   Bad guys could spoof your SRV record without DNSSEC, but they can also
>   spoof the A record for policy._mta_sts.example.com so that horse left
>   the barn.

Spoofing of A records is irrelevant, the client detects the forgery
when the certificate fails to match.  Not so with SRV records,
because (presumably) the reference identifier becomes the target
hostname from the SRV record.

>   You could require that the target of the SRV has to be a
>   subdomain of the original domain which, along with the signed SSL
>   certificate, would limit the scope of evil. 

This does not adequately address the problem, domains do not
generally control (or trust) all the content hosted by their
sub-domains.  This is why a well known URI anchored at the
original domain is needed.

> >This is not a good idea, such names will be rejected by some systems. 
> 
> Got any examples?  I haven't looked very hard either way.  Note that
> nothing should be trying to turn it into a U-label.

No example at my fingertips.  All kinds of software performs hostname
validation, whether there's a conversion to U-labels or not.  It
is not a good idea to tempt fate with invalid inputs.

-- 
	Viktor.


From nobody Sat Apr 30 18:26:59 2016
Return-Path: <johnl@taugh.com>
X-Original-To: uta@ietfa.amsl.com
Delivered-To: uta@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6CF0512D126 for <uta@ietfa.amsl.com>; Sat, 30 Apr 2016 18:26:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level: 
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-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 xfmWWlHojZ96 for <uta@ietfa.amsl.com>; Sat, 30 Apr 2016 18:26:57 -0700 (PDT)
Received: from miucha.iecc.com (abusenet-1-pt.tunnel.tserv4.nyc4.ipv6.he.net [IPv6:2001:470:1f06:1126::2]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D20A412B045 for <uta@ietf.org>; Sat, 30 Apr 2016 18:26:56 -0700 (PDT)
Received: (qmail 25630 invoked from network); 1 May 2016 01:26:55 -0000
Received: from unknown (64.57.183.18) by mail1.iecc.com with QMQP; 1 May 2016 01:26:55 -0000
Date: 1 May 2016 01:26:33 -0000
Message-ID: <20160501012633.6890.qmail@ary.lan>
From: "John Levine" <johnl@taugh.com>
To: uta@ietf.org
In-Reply-To: <20160501011936.GK3300@mournblade.imrryr.org>
Organization: 
X-Headerized: yes
Mime-Version: 1.0
Content-type: text/plain; charset=utf-8
Content-transfer-encoding: 8bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/uta/9b1c3jNJRYcbLgk0eKyFXlqMi1E>
Subject: Re: [Uta] draft-brotman-mta-sts/
X-BeenThere: uta@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: UTA working group mailing list <uta.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/uta>, <mailto:uta-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/uta/>
List-Post: <mailto:uta@ietf.org>
List-Help: <mailto:uta-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/uta>, <mailto:uta-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 01 May 2016 01:26:58 -0000

>> We talked about this at great length over dinner in Buenos Aires.
>> Demanding a web server at the same domain name used in e-mail
>> addresses is operationally a non-starter for large organizations.
>
>STS is primarily for the large email providers authoring the draft,
>for whom this is not a real obstacle.

They were there at dinner Buenos Aires, and that is most definitely
not what they said.  Perhaps they'll chime in when they get to work
on Monday.

Indeed, it's pretty much the opposite -- on my tiny FreeBSD box I can
set up the web servers to do whatever I want, but at big organizations
the mail and web operators are often in different silos.

R's,
John

