Re: [Emu] I-D Action: draft-ietf-emu-eaptlscert-02.txt

Alan DeKok <aland@deployingradius.com> Mon, 16 March 2020 21:45 UTC

Return-Path: <aland@deployingradius.com>
X-Original-To: emu@ietfa.amsl.com
Delivered-To: emu@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5D1C93A11E3 for <emu@ietfa.amsl.com>; Mon, 16 Mar 2020 14:45:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level:
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=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 lOdg6I8-d8ve for <emu@ietfa.amsl.com>; Mon, 16 Mar 2020 14:45:31 -0700 (PDT)
Received: from mail.networkradius.com (mail.networkradius.com [62.210.147.122]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9F7E83A11E1 for <emu@ietf.org>; Mon, 16 Mar 2020 14:45:31 -0700 (PDT)
Received: from [192.168.46.130] (24-52-251-6.cable.teksavvy.com [24.52.251.6]) by mail.networkradius.com (Postfix) with ESMTPSA id 214B6494; Mon, 16 Mar 2020 21:45:28 +0000 (UTC)
Authentication-Results: NetworkRADIUS; dmarc=none (p=none dis=none) header.from=deployingradius.com
Content-Type: text/plain; charset="us-ascii"
Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3608.60.0.2.5\))
From: Alan DeKok <aland@deployingradius.com>
In-Reply-To: <9501.1584377871@localhost>
Date: Mon, 16 Mar 2020 17:45:27 -0400
Cc: emu@ietf.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <8684A41E-CD09-4135-AAFC-0C3EBF5950E5@deployingradius.com>
References: <158434433832.23445.928492102001107664@ietfa.amsl.com> <9501.1584377871@localhost>
To: Michael Richardson <mcr+ietf@sandelman.ca>
X-Mailer: Apple Mail (2.3608.60.0.2.5)
Archived-At: <https://mailarchive.ietf.org/arch/msg/emu/Kj4HGeKa_zElzHYHYHs9v_rwkHE>
Subject: Re: [Emu] I-D Action: draft-ietf-emu-eaptlscert-02.txt
X-BeenThere: emu@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "EAP Methods Update \(EMU\)" <emu.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/emu>, <mailto:emu-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/emu/>
List-Post: <mailto:emu@ietf.org>
List-Help: <mailto:emu-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/emu>, <mailto:emu-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 16 Mar 2020 21:45:33 -0000

On Mar 16, 2020, at 12:57 PM, Michael Richardson <mcr+ietf@sandelman.ca> wrote:
> 1) "RADIUS can generally transport only about 4000 octets of EAP in a single
>   message."
> 
>   Can you explain this?  Radius over UDP would have fragment a 4000 octet
>   message, so why is the number 4000?  That's three fragments.  Is the
>   loss amount beyond this too high?  Or is it that common implementations
>   just don't support larger sizes?

  RFC 2865 says that the maximum RADIUS packet size is 4K octets.  Given some overhead for the packet header and other attributes, a reasonable limit for EAP is 4000 octets.

>   RFC6613 radius over TCP would not seem to have that limitation, but
>   I won't be surprised if it is less common. I've certainly used it
>   as it solves the the NAT and Radius key problem. (Alan?)

  RFC 6613 doesn't solve the 4K limit.  That's solved by RFC 7930.  I'm not aware of any products supporting that, tho.

> 2) the problem appears is documented to occur at 60Kbyte chain size.
>   With 6 intermediate certificates in the chain, that provides for
>   10KByte for each certificate, which seems rather generous to me.
>   I am not objecting to solving the problem as stated, but I want to
>   understand what the goals really are.
> 
>   The advice in section 4.1 is good.  Are full postal addresses in
>   intermediate CAs really the culprit here?

  It's the bloat of "meh, put everything into the certificate".

  The problem is that when certificate chains fail, the admins don't tell people.  They *might* ask a question on a public mailing list... or not.  But they won't share *what* they did to bloat the certificate chain.

  I've seen people run into this in the real world.  And then express great surprise when told "No, you can't really have 60K+ certificate chains.  This isn't HTTP."

  The advice here is necessarily vague, because we don't know exactly what the admins are doing.

> 3) section 4.2.2, about caching certificates from a previous TLS session
>   is interesting.  I'm unfamiliar with rfc7924, does it use a session
>   resumption ticket, or will any previous connection do?
>   (It seems that a session resumption process is not required?)
>   This might provide motivation Alan's question about why/how one
>   might resume an HTTPS TLS session over EAP-TLS.

  TLS 1.3 makes it easier to cache the certificates.  But you may have to exchange them at least once, which makes bootstrapping difficult.

> I was surprised to get to the end of the document without any suggestions
> about sending certificates by reference rather than value.

  Does TLS 1.3 support that?  I haven't looked in detail, TBH.

> This is the method that we have adopted on draft-selander-ace-ake-authz.
> We considered using the mathmesh UDF mechanism, but found a way that could
> instead send only the location while actually encrypting the ID as a privacy
> enhancement.
> I don't think such a thing would be desireable, and TLS 1.3 provides other
> equivalent privacy enhancements, but I want to suggest you consider a new
> certificate container which contains a reference.  IKEv2 already has that.

  Changing that may be very, very, difficult.

  Alan DeKok.