Re: [Emu] EAP and Fragmentation

John Mattsson <john.mattsson@ericsson.com> Sun, 10 March 2019 12:40 UTC

Return-Path: <john.mattsson@ericsson.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 53730127979 for <emu@ietfa.amsl.com>; Sun, 10 Mar 2019 05:40:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.302
X-Spam-Level:
X-Spam-Status: No, score=-4.302 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=ericsson.com header.b=Oe3DWlYX; dkim=pass (1024-bit key) header.d=ericsson.com header.b=L1vigTWX
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 UOasR1wXMpeJ for <emu@ietfa.amsl.com>; Sun, 10 Mar 2019 05:39:58 -0700 (PDT)
Received: from sessmg23.ericsson.net (sessmg23.ericsson.net [193.180.251.45]) (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 0E78B12796B for <emu@ietf.org>; Sun, 10 Mar 2019 05:39:57 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; d=ericsson.com; s=mailgw201801; c=relaxed/relaxed; q=dns/txt; i=@ericsson.com; t=1552221595; x=1554813595; h=From:Sender:Reply-To:Subject:Date:Message-ID:To:Cc:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=kweclGgJAfncZ7mBXNQNW3SViOuI3AzD/aTlo4Z4KRM=; b=Oe3DWlYX6weLjUUv6C5iM3y475vUrbT5/2kCIV3Qkz5TtuF+e8LuUM97bQUsET45 L9EVCA1YR3FYf3vatbGZ+KDzXHGGYkzYWDHAZkdC6D4RRkCg0UtaZSAXvFvJ2igg Xbj835/OeYeiAlX0FViKmI+2jZHVXcxTLFrxfGHaacU=;
X-AuditID: c1b4fb2d-db5ff7000000062f-f2-5c85059b8770
Received: from ESESBMB502.ericsson.se (Unknown_Domain [153.88.183.115]) by sessmg23.ericsson.net (Symantec Mail Security) with SMTP id 6D.36.01583.B95058C5; Sun, 10 Mar 2019 13:39:55 +0100 (CET)
Received: from ESESSMR503.ericsson.se (153.88.183.112) by ESESBMB502.ericsson.se (153.88.183.169) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Sun, 10 Mar 2019 13:39:55 +0100
Received: from ESESBMB504.ericsson.se (153.88.183.171) by ESESSMR503.ericsson.se (153.88.183.112) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Sun, 10 Mar 2019 13:39:55 +0100
Received: from EUR02-HE1-obe.outbound.protection.outlook.com (153.88.183.157) by ESESBMB504.ericsson.se (153.88.183.171) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3 via Frontend Transport; Sun, 10 Mar 2019 13:39:55 +0100
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericsson.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=kweclGgJAfncZ7mBXNQNW3SViOuI3AzD/aTlo4Z4KRM=; b=L1vigTWXtTEyhQBMZaMgxg2AHGEuKaW+kFRDndw40xDqK4SSdI0VFJ4Lzc3PLZGO6dUhDRh+cXn8PmqeVi5biymeBFsqi+kDxXK4KlLALTLYjT0cinnzrdi7VUJqBjMUDg/WVYxiVo3UQdgP9Y1RVOUQYh5v38c+7ykBUcW9Z/w=
Received: from HE1PR07MB4169.eurprd07.prod.outlook.com (20.176.166.22) by HE1PR07MB3370.eurprd07.prod.outlook.com (10.170.247.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1709.9; Sun, 10 Mar 2019 12:39:54 +0000
Received: from HE1PR07MB4169.eurprd07.prod.outlook.com ([fe80::ace2:9258:766:85a8]) by HE1PR07MB4169.eurprd07.prod.outlook.com ([fe80::ace2:9258:766:85a8%3]) with mapi id 15.20.1709.011; Sun, 10 Mar 2019 12:39:53 +0000
From: John Mattsson <john.mattsson@ericsson.com>
To: slon v sobstvennom palto <slonvpalto@gmail.com>, Mohit Sethi M <mohit.m.sethi@ericsson.com>, "Dr. Pala" <director@openca.org>, Alan DeKok <aland@deployingradius.com>, "emu@ietf.org" <emu@ietf.org>
Thread-Topic: [Emu] EAP and Fragmentation
Thread-Index: AQHU1z5cRf0rDRYRbkO3/kVAb/3xIw==
Date: Sun, 10 Mar 2019 12:39:53 +0000
Message-ID: <E842F2F1-CA25-4F07-B00B-FDB1D4B1B313@ericsson.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/10.16.1.190220
authentication-results: spf=none (sender IP is ) smtp.mailfrom=john.mattsson@ericsson.com;
x-originating-ip: [82.214.46.143]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: b956cf4e-5c0d-41fc-2759-08d6a5557eef
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600127)(711020)(4605104)(2017052603328)(7153060)(7193020); SRVR:HE1PR07MB3370;
x-ms-traffictypediagnostic: HE1PR07MB3370:
x-microsoft-antispam-prvs: <HE1PR07MB3370573AD4B579D9992EBEC2894F0@HE1PR07MB3370.eurprd07.prod.outlook.com>
x-forefront-prvs: 0972DEC1D9
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(396003)(366004)(136003)(39860400002)(376002)(346002)(189003)(199004)(25786009)(99286004)(2501003)(83716004)(71200400001)(71190400001)(2906002)(33656002)(82746002)(6506007)(102836004)(7736002)(305945005)(66066001)(6246003)(8676002)(14454004)(81166006)(81156014)(8936002)(97736004)(106356001)(6486002)(256004)(5660300002)(44832011)(2616005)(58126008)(110136005)(478600001)(86362001)(229853002)(316002)(68736007)(36756003)(186003)(6512007)(476003)(6436002)(6116002)(3846002)(105586002)(53936002)(486006)(26005); DIR:OUT; SFP:1101; SCL:1; SRVR:HE1PR07MB3370; H:HE1PR07MB4169.eurprd07.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1;
received-spf: None (protection.outlook.com: ericsson.com does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam-message-info: v/RKE8tP0I5vuL2WKb0Tm2mrZ2PKScAuuJP9GwAvmzXzk6p9nTNTXJWjxag7CzCLB+2eMY3T83Zlfg1B7oyk6c9Lphw+ixv0kCNfRZDlte2YDDqXqV8Syzunv/9ET9f+FfrJoQc5GRcD3+WhGGC9Y18CgbSBiPk2o63My+w3PD5SISxdUZUgGEty+kBUr8PB7HspK+7OY9zy/pQewFn/CNarixToS8Von7VOBosX2NgZPuUNhMBdhrqLl0E/Ig8b5x8OMCERWcQNS5jYUUodfkAaaRswucug10x7UdaR4eHLVv6iT8MiiZrUD9g8gdUwPngRzu39TsxDHU0WUX+iUsf7nZNKjsYL2UasaVwN0dd7EIgpmMJm93zJ6enmRmRDHsr8+KhQ4gGqTowIVc4AXOFE8gcrsbmyaP8nRzRBqkY=
Content-Type: text/plain; charset="utf-8"
Content-ID: <3D1679EFD2E1AE4686512B8886203475@eurprd07.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: b956cf4e-5c0d-41fc-2759-08d6a5557eef
X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Mar 2019 12:39:53.7958 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 92e84ceb-fbfd-47ab-be52-080c6b87953f
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR07MB3370
X-OriginatorOrg: ericsson.com
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrKKsWRmVeSWpSXmKPExsUyM2J7se5s1tYYg7t/TC2aPjexW+zf4GNx bP1aFotnew6yO7B4tBxtYfHYOesuu8eSJT+ZPKZPvM8SwBLFZZOSmpNZllqkb5fAlXH8RUjB NIGKkyeuMjYwPuDvYuTgkBAwkbg7U6yLkYtDSOAIo8TLeX2MEM43RokXG9YywTkH776CcpYw SXSvng5WxiIwgVni4465UJlJTBLLTk5ih3AeMEq8vfORrYuRk4NNwEBi7p4GNpCEiMAZRolj B7eygySEBTQk5k47ClYkIqApcfbIVmYIW0/iyvutYHEWAVWJpW/3M4LYvAL2Em+6OsBsRgEx ie+n1jCB2MwC4hK3nswHsyUEBCSW7DnPDGGLSrx8/I8VxBYV0JfY0veABaI3VqK1dTorRI2i xOl9K6DqZSUuze9mhLB9Jeas+MYKcrSEwE1GiS2zF0A1aEns+Dobalm2xP7tR6AaZCS+vdzJ DNGwjVXi0+oNYNuEBFIllq9thSqSk1jV+5AFoug8s8SqbytZJzDqzELyxSxgxDADQ2P9Ln0I 00Pi5DIRiApFiSndD9lngcNCUOLkzCcsCxhZVzGKFqcWF+emGxnrpRZlJhcX5+fp5aWWbGIE Jp6DW37r7mBc/drxEKMAB6MSD2/z/5YYIdbEsuLK3EOMEhzMSiK85/4AhXhTEiurUovy44tK c1KLDzFKc7AoifP+ERKMERJITyxJzU5NLUgtgskycXBKNTAGaE4wuh1tlPPlVNNy61xlDntP N/nqSD5rhluVG093HjwU8fDj1R2cO39azj5yfEZe5XGW6yfPGuU/Ul8a53r2wdmE99tcA9SS Rey0/f97HY2ePmPelu6beluuLSp7sctPQqon7pE52wrNL+Wvt08SN1FZxX7gfYrbwYrompt7 nnrOdnH8nG6nxFKckWioxVxUnAgApqkGCTgDAAA=
Archived-At: <https://mailarchive.ietf.org/arch/msg/emu/K1MYvistEDHht9qM0aF8dOH-BW4>
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: Sun, 10 Mar 2019 12:40:00 -0000

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