Re: [tcpinc] Eric Rescorla's Discuss on draft-ietf-tcpinc-tcpeno-13: (with DISCUSS and COMMENT)
Eric Rescorla <ekr@rtfm.com> Mon, 13 November 2017 01:59 UTC
Return-Path: <ekr@rtfm.com>
X-Original-To: tcpinc@ietfa.amsl.com
Delivered-To: tcpinc@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id AFA16127B73 for <tcpinc@ietfa.amsl.com>; Sun, 12 Nov 2017 17:59:52 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.598
X-Spam-Level:
X-Spam-Status: No, score=-2.598 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, URIBL_BLOCKED=0.001] autolearn=unavailable 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 elJ2eBqqXjE1 for <tcpinc@ietfa.amsl.com>; Sun, 12 Nov 2017 17:59:50 -0800 (PST)
Received: from mail-yw0-x22d.google.com (mail-yw0-x22d.google.com [IPv6:2607:f8b0:4002:c05::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 98E001286B2 for <tcpinc@ietf.org>; Sun, 12 Nov 2017 17:59:47 -0800 (PST)
Received: by mail-yw0-x22d.google.com with SMTP id i198so12271796ywe.7 for <tcpinc@ietf.org>; Sun, 12 Nov 2017 17:59:47 -0800 (PST)
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=wHGUm4wJVhSRvuTmnhNLavUZtm9HVYRfjDo6DPPB/QY=; b=1NilxZ6ZWH5fF+qQDXtaL3iSpsLO8lBLdAj6z/us6eKy4DDCUGi2sU6LDPabyoQJ5u 9QMWFTAu4Td49N2LXa3Xfm+6QufNCoHLxJKrHj996VViCuyA3BAkLNdN1F9tHcUEuQKm fZoY5shnMk+B050mE5/lWVtaimxnphmBL48ees6kzFFcOajFZohswyOq6brQRai/Ta74 heQ6ACXog+ko2VzuFBHM1ga9GmTeBwhzqF2nrI053IdyPB4SYv7Eg4XRImvOurl/AjBp GPyp72amCjtbKr5WYcJA4TGdOoZD9+yzm9mZsG0QTNg0Yo+Gj3xkBlIj3N8x6OekNXxd u4ag==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=wHGUm4wJVhSRvuTmnhNLavUZtm9HVYRfjDo6DPPB/QY=; b=NHpD//ng8vfNI5/d1sPwXzkD6ZkOJG6KAwYHYEmSibGkrDPrXCj7fYU42lNaorUxqu CJUDzhc+tnQGCDJTST0KPUJRs9ttCwb8LeJw50VdyIMVCqNDEIKtPhXy2/ihWm0G3uEp JyuvW88U66T6D1jWEEexLBuUicD5/xeE6aUHwY2AJMXodjlwJto3EOodq/sOftI3VIUg DgOsBYgdupzfvnKsstlhwAH//P+rGM1QafxNewiC8GpgP7tgzEuks16be4V0sWkuUFwc L3sBaaSyiZqA0s27UpzMG4W7I6pLrRdTJd8TdwSbXpldKolRO3xStylFcf723IrKDu2c 7KyA==
X-Gm-Message-State: AJaThX430QRz9eMOC3Tk0a+G65BfQPGxXeV8Nj8W7Ms2lsDsey7aJRb5 QpqDBJl48yO7NkpVBe6vJIKyelFAhl7N8REdoqyT9Q==
X-Google-Smtp-Source: AGs4zMYr+6c2aT2hBsR3DAErAAywmNDpGI77BKL0XfzXnyJiso0ux7scvLZ2394YYCy9XwfKAEodPjSrNpmsTWvbxkI=
X-Received: by 10.129.173.99 with SMTP id l35mr5149659ywk.132.1510538386800; Sun, 12 Nov 2017 17:59:46 -0800 (PST)
MIME-Version: 1.0
Received: by 10.129.61.12 with HTTP; Sun, 12 Nov 2017 17:59:06 -0800 (PST)
In-Reply-To: <CE03DB3D7B45C245BCA0D243277949362FD4BB57@MX307CL04.corp.emc.com>
References: <151036581280.449.10740505473540594433.idtracker@ietfa.amsl.com> <CE03DB3D7B45C245BCA0D243277949362FD495EF@MX307CL04.corp.emc.com> <CABcZeBPfk6Pi=_UPvTBaS9jQBYjExUdqkdX5Q--iUuyCv_qZtw@mail.gmail.com> <CAJU8_nWpVhm4oTT+SLyG-nk=ww7nBU-DaVe86rUU-LGGqJvHvQ@mail.gmail.com> <CABcZeBO0TD0KnpTfe6CbHUoiS=FmGiGW6r_mFMH_9bYFWKqKLA@mail.gmail.com> <CABcZeBNp=1c1cx0+nJezjWy_Q4N9-PUeQuqOU_k7A7KhRj18EQ@mail.gmail.com> <CE03DB3D7B45C245BCA0D243277949362FD4BB57@MX307CL04.corp.emc.com>
From: Eric Rescorla <ekr@rtfm.com>
Date: Mon, 13 Nov 2017 09:59:06 +0800
Message-ID: <CABcZeBPL2mVFtsL77Bdr=BUf7cb+qe_+Wxq42AtoohHmSmJaCg@mail.gmail.com>
To: "Black, David" <David.Black@dell.com>
Cc: Kyle Rose <krose@krose.org>, The IESG <iesg@ietf.org>, "draft-ietf-tcpinc-tcpeno@ietf.org" <draft-ietf-tcpinc-tcpeno@ietf.org>, "tcpinc-chairs@ietf.org" <tcpinc-chairs@ietf.org>, "tcpinc@ietf.org" <tcpinc@ietf.org>
Content-Type: multipart/alternative; boundary="f403045e8bdef7427f055dd39f15"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tcpinc/TmGnHAM43I6OLej8vXXe8V8I9b8>
Subject: Re: [tcpinc] Eric Rescorla's Discuss on draft-ietf-tcpinc-tcpeno-13: (with DISCUSS and COMMENT)
X-BeenThere: tcpinc@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "Working group mailing list for TCP Increased Security \(tcpinc\)" <tcpinc.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tcpinc>, <mailto:tcpinc-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tcpinc/>
List-Post: <mailto:tcpinc@ietf.org>
List-Help: <mailto:tcpinc-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tcpinc>, <mailto:tcpinc-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 13 Nov 2017 01:59:53 -0000
On Mon, Nov 13, 2017 at 9:53 AM, Black, David <David.Black@dell.com> wrote: > Keeping this all on one thread, I think the situation on the three Discus > points is: > > > > 1) Encryption: Ekr and I need to talk about how to express “no weaker than > current strength of AES-128 (i.e., based on attacks known in 2017)” > > Yep. Happy to do this at a mutually convenient time. > 2) The resolution for URG processing is clear – state that the list of two > techniques is not exhaustive, although the text would be improved by > describing the two techniques as examples of what could be done and not > using the “MAY” keyword. > LGTM. > > 3) On further reading, it looks like the one-way hash function concern is > caused by a little bit of weak text in the Security Considerations section, > as the body of the draft gets this topic right in Section 6: > > > > o The session ID MUST depend in a collision-resistant way on all of > > the following (meaning it is computationally infeasible to produce > > collisions of the session ID derivation function unless all of the > > following quantities are identical): > > > > * Fresh data contributed by both sides of the connection, > > > > * Any public keys, public Diffie-Hellman parameters, or other > > public asymmetric cryptographic parameters that are employed by > > the TEP and have corresponding private data that is known by > > only one side of the connection, and > > > > * The negotiation transcript specified in Section 4.8 > <https://tools.ietf.org/html/draft-ietf-tcpinc-tcpeno-13#section-4.8>. > > > > The complete Security Considerations paragraph that is the focus of this > Discuss point is: > > > > Because TCP-ENO enables multiple different TEPs to coexist, security > > could potentially be only as strong as the weakest available TEP. In > > particular, if session IDs do not depend on the TCP-ENO transcript in > > a strong way, an attacker can undetectably tamper with ENO options to > > force negotiation of a deprecated and vulnerable TEP. To avoid such > > problems, TEPs MUST compute session IDs using only well-studied and > > conservative hash functions. That way, even if other parts of a TEP > > are vulnerable, it is still intractable for an attacker to induce > > identical session IDs at both ends after tampering with ENO contents > > in SYN segments. > > > > That paragraph looks like a reasonable description of the security risk > and countermeasure, except for the one sentence that Ekr pointed out. > Here’s a suggested fix: > > > > OLD > > To avoid such > > problems, TEPs MUST compute session IDs using only well-studied and > conservative hash functions. > > NEW > > To avoid such problems, TEPs are required to compute session IDs in a > > collision-resistant way based on the TCP-ENO transcript and other > > parameters, as specified in Section 6. > > > > This also reflects Mirja’s observation that IETF & IESG review will be the > means of ensuring that this happens, so a “MUST” is not needed here beyond > the “MUST” in Section 6. In support of that observation, please be sure to > make Barry Leiba’s suggested IANA registry policy changes from RFC Required > to IETF Review. > LGTM. -Ekr > > > Thanks, --David > > > > *From:* Eric Rescorla [mailto:ekr@rtfm.com] > *Sent:* Sunday, November 12, 2017 2:39 AM > *To:* Kyle Rose <krose@krose.org> > *Cc:* Black, David <david.black@emc.com>; The IESG <iesg@ietf.org>; > draft-ietf-tcpinc-tcpeno@ietf.org; tcpinc-chairs@ietf.org; tcpinc@ietf.org > *Subject:* Re: Eric Rescorla's Discuss on draft-ietf-tcpinc-tcpeno-13: > (with DISCUSS and COMMENT) > > > > Sorry, "not an unreasonable desire" > > > > On Sun, Nov 12, 2017 at 7:21 AM, Eric Rescorla <ekr@rtfm.com> wrote: > > > > > > On Sun, Nov 12, 2017 at 7:19 AM, Kyle Rose <krose@krose.org> wrote: > > On Sun, Nov 12, 2017 at 1:13 PM, Eric Rescorla <ekr@rtfm.com> wrote: > > On Sun, Nov 12, 2017 at 5:08 AM, Black, David <David.Black@dell.com> > wrote: > >> - Encryption: The intent is - don't use anything weaker than AES-128, > >> e.g., don't even think about using 3DES. The concern is how to write > that > >> requirement in a way that would survive hypothetical discovery of a > >> catastrophic cryptanalytic attack on AES-128. > > > > > > Or even a small one. I mean, what does this say about Curve25519 or 4Q. > > I think this is actually the issue driving the vagueness of the > requirement: e.g., if some hypothetical attack against AES-128 reduced > security by a few bits. The intent, as David suggests, is to prohibit > the use of something like DES, not to prohibit a 128-bit cipher with > only (say) 125 bits of security. > > > > That's not a reasonable desire, but this is an RFC 2119 requirement, so it > > really does need to be unambiguous. > > > > -Ekr > > > > >
- [tcpinc] Eric Rescorla's Discuss on draft-ietf-tc… Eric Rescorla
- Re: [tcpinc] Eric Rescorla's Discuss on draft-iet… Black, David
- Re: [tcpinc] Eric Rescorla's Discuss on draft-iet… Eric Rescorla
- Re: [tcpinc] Eric Rescorla's Discuss on draft-iet… Mirja Kuehlewind (IETF)
- Re: [tcpinc] Eric Rescorla's Discuss on draft-iet… Kyle Rose
- Re: [tcpinc] Eric Rescorla's Discuss on draft-iet… Eric Rescorla
- Re: [tcpinc] Eric Rescorla's Discuss on draft-iet… Eric Rescorla
- Re: [tcpinc] Eric Rescorla's Discuss on draft-iet… Black, David
- Re: [tcpinc] Eric Rescorla's Discuss on draft-iet… Eric Rescorla
- Re: [tcpinc] Eric Rescorla's Discuss on draft-iet… David Mazieres
- Re: [tcpinc] Eric Rescorla's Discuss on draft-iet… Black, David
- Re: [tcpinc] Eric Rescorla's Discuss on draft-iet… Eric Rescorla
- Re: [tcpinc] Eric Rescorla's Discuss on draft-iet… Eric Rescorla
- Re: [tcpinc] Eric Rescorla's Discuss on draft-iet… David Mazieres
- Re: [tcpinc] Eric Rescorla's Discuss on draft-iet… Eric Rescorla
- Re: [tcpinc] Eric Rescorla's Discuss on draft-iet… Eric Rescorla
- Re: [tcpinc] Eric Rescorla's Discuss on draft-iet… David Mazieres
- Re: [tcpinc] Eric Rescorla's Discuss on draft-iet… David Mazieres
- Re: [tcpinc] Eric Rescorla's Discuss on draft-iet… Eric Rescorla
- Re: [tcpinc] Eric Rescorla's Discuss on draft-iet… Black, David
- Re: [tcpinc] Eric Rescorla's Discuss on draft-iet… Tero Kivinen
- Re: [tcpinc] Eric Rescorla's Discuss on draft-iet… David Mazieres
- Re: [tcpinc] Eric Rescorla's Discuss on draft-iet… Eric Rescorla
- Re: [tcpinc] Eric Rescorla's Discuss on draft-iet… Amanda Baber
- Re: [tcpinc] Eric Rescorla's Discuss on draft-iet… David Mazieres
- Re: [tcpinc] Eric Rescorla's Discuss on draft-iet… Eric Rescorla
- Re: [tcpinc] Eric Rescorla's Discuss on draft-iet… Black, David
- Re: [tcpinc] Eric Rescorla's Discuss on draft-iet… Eric Rescorla
- Re: [tcpinc] Eric Rescorla's Discuss on draft-iet… Mirja Kuehlewind (IETF)
- Re: [tcpinc] Eric Rescorla's Discuss on draft-iet… Eric Rescorla
- Re: [tcpinc] Eric Rescorla's Discuss on draft-iet… Tero Kivinen
- Re: [tcpinc] Eric Rescorla's Discuss on draft-iet… Black, David
- Re: [tcpinc] Eric Rescorla's Discuss on draft-iet… Tero Kivinen
- Re: [tcpinc] Eric Rescorla's Discuss on draft-iet… David Mazieres
- Re: [tcpinc] Eric Rescorla's Discuss on draft-iet… Mirja Kuehlewind (IETF)
- Re: [tcpinc] Eric Rescorla's Discuss on draft-iet… Amanda Baber
- Re: [tcpinc] Eric Rescorla's Discuss on draft-iet… Amanda Baber
- Re: [tcpinc] Eric Rescorla's Discuss on draft-iet… David Mazieres
- Re: [tcpinc] Eric Rescorla's Discuss on draft-iet… Amanda Baber