Re: [Emu] EAP and Fragmentation

slon v sobstvennom palto <slonvpalto@gmail.com> Thu, 14 March 2019 15:12 UTC

Return-Path: <slonvpalto@gmail.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 CA73F12F18C for <emu@ietfa.amsl.com>; Thu, 14 Mar 2019 08:12:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.998
X-Spam-Level:
X-Spam-Status: No, score=-1.998 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_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 GRULF91La2cF for <emu@ietfa.amsl.com>; Thu, 14 Mar 2019 08:12:11 -0700 (PDT)
Received: from mail-ua1-x931.google.com (mail-ua1-x931.google.com [IPv6:2607:f8b0:4864:20::931]) (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 901FE1277CC for <emu@ietf.org>; Thu, 14 Mar 2019 08:12:06 -0700 (PDT)
Received: by mail-ua1-x931.google.com with SMTP id a42so2043760uad.1 for <emu@ietf.org>; Thu, 14 Mar 2019 08:12:06 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=8JaLBNMrF5at0FwMmq9Fbdaj9j4q4m/fKLc6UUkjr44=; b=V4OTOOm/FHmtDD/g+BdqkqsuUHNtEKgMbIVxlgyNuF/Sz6LS8fbrfCmJsbvkoYtKSR pLFaYGhK1Og4MZFrw80hqzN9WyzpknjudE09rHdwCb704GUgtgtOetMdQoQyMDhVIEas bOIgz2FhJya4T8AtTximGmLrxCtUWcl3j/yQvDt+q8t/y7kwRPzOmU1XklmA68O5nD51 QtMKJ3iCgNyd3gqQcz0e8YWOVZGDzJJyI4j8ObGjW2m9butYvqALahgL4R0D44KLW8Mp M5q0gblA40C3LSyr7DKbi0epn1egmxgwvyTDbgGW85c68gJOW18dFQX2YSBFxjtN5A7D i8Eg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=8JaLBNMrF5at0FwMmq9Fbdaj9j4q4m/fKLc6UUkjr44=; b=dN7r3U02HgD6vl55ZhFk9g3hppnufP/u5+edxo2QEmW7F9Pa/r6kGesxxSXlCImuD8 KfqKrwgVLmarbfyMYEEvKGZY5macJaZCbsUzwF0iE/bpIIlUrHG/rGoug4pf7rBkAIqF zZuZI4Dbn9u/G6VHPLapRV+KQkdtD+4/dCt3aFHq0qL8/Wb8lvEgKqGjdzBzNoVDqp/v RPQ7md0EDf4i/9LajVA3zGt2zuSAjT3Fk9HxPI137y2TaSkHt+0BtzVh/Lm0xZvh+XSH UhXV+0C6O7PVw30ksu2cfLsgsRiPTLqaDfs5TNfbynDSmnJhJykbFQ69RYjdr3Ui0Is1 a+iA==
X-Gm-Message-State: APjAAAX4aGyS6j5EfutDQZo3nEpe73UymzUAfAvol8MCj3T5opVz7Zlp 2iXAK0mhasw0ypVGoDSSnxnyunmVY4WR3M06oJk=
X-Google-Smtp-Source: APXvYqzi8SpFwl3yXXMD/TX9MeclY2uT/aHMWcyfrbK8h9r5zndJF1AJwW3m9MgSRzIzOiIJgcHVGeeDazzoRHafE7s=
X-Received: by 2002:a9f:2163:: with SMTP id 90mr8190857uab.119.1552576325366; Thu, 14 Mar 2019 08:12:05 -0700 (PDT)
MIME-Version: 1.0
References: <E842F2F1-CA25-4F07-B00B-FDB1D4B1B313@ericsson.com>
In-Reply-To: <E842F2F1-CA25-4F07-B00B-FDB1D4B1B313@ericsson.com>
From: slon v sobstvennom palto <slonvpalto@gmail.com>
Date: Thu, 14 Mar 2019 17:11:54 +0200
Message-ID: <CABe6AHhJgDe6q=PP_rP0NN1grnH6SqaLwibTayZNqgC8p9x0vA@mail.gmail.com>
To: John Mattsson <john.mattsson@ericsson.com>
Cc: Mohit Sethi M <mohit.m.sethi@ericsson.com>, "Dr. Pala" <director@openca.org>, Alan DeKok <aland@deployingradius.com>, "emu@ietf.org" <emu@ietf.org>
Content-Type: multipart/alternative; boundary="0000000000005c4ded05840f589e"
Archived-At: <https://mailarchive.ietf.org/arch/msg/emu/ZexFr7GROnvNOjN6gGESoO9H0dk>
Subject: Re: [Emu] EAP and Fragmentation
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: Thu, 14 Mar 2019 15:12:14 -0000

Hi John,

>Should draft-ietf-emu-eap-tls13-04 just copy the sentence from RFC 5281 or
do the group want something different?

I remember that some EAP-TLS/PEAP clients rejected not fragmented messages
without L bit set, probably due to their wrong interpretation of EAP-TLS
RFC. Would it worth to say something like "Implementation SHOULD accept
unfragmented messages with and without L bit set" in addition to copying
the sentence above from RFC 5281?

Cheers,
Oleg


On Sun, Mar 10, 2019 at 2:39 PM John Mattsson <john.mattsson@ericsson.com>
wrote:

> Welcome and thanks for your comments Oleg!
>
> slon v sobstvennom palto <slonvpalto@gmail.com>; wrote:
>
> >Per my experience the existing fragmentation method described in EAP-TLS
> >RFC 5216 serves good for all fragmentation needs. The method is reused by
> >PEAP, EAP-FAST, TEAP and EAP-TTLS. There's an ambiguity in EAP-TLS RFC
> that
> >doesn't specify whether a not-fragmented message should have the L bit and
> >the 4 octets length field so different peers treat it differently.
> However,
> >for example, EAP-TTLS RFC closed it tightly saying that even a
> >single-fragment message should have it nevertheless on its redundancy.
>
> I cannot find anything in EAP-TTLS (RFC 5281) saying that the L bit should
> be set. As you have noticed, EAP-TLS (RFC 5216) does not say anything about
> the L bit in unfragmented messages and my understanding is that the
> ambiguity is if unfragmented messages can (not should) have the L bit set.
> As far as I can see, EAP-TTLS (RFC 5281) states that unfragmented messages
> MAY set the L bit.
>
> RFC 5281 Section 9.2.2:
>
>    “Unfragmented messages MAY have the L bit set and include the
>     length of the message (though this information is redundant).”
>
> I looked through the other TLS-based EAP methods (both RFCs and drafts)
> and none of them seems to say anything new about the L bit.
> draft-ietf-emu-eap-tls13 should clarify any ambiguity.
>
> Should draft-ietf-emu-eap-tls13-04 just copy the sentence from RFC 5281 or
> do the group want something different?
>
> Cheers,
> John
>
>