Re: [Emu] EAP and Fragmentation

John Mattsson <john.mattsson@ericsson.com> Fri, 15 March 2019 10:13 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 50AFA12762F for <emu@ietfa.amsl.com>; Fri, 15 Mar 2019 03:13:47 -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=B76RVxyM; dkim=pass (1024-bit key) header.d=ericsson.com header.b=ic0lCgRh
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 WnM68Yd1hNRw for <emu@ietfa.amsl.com>; Fri, 15 Mar 2019 03:13:45 -0700 (PDT)
Received: from sessmg22.ericsson.net (sessmg22.ericsson.net [193.180.251.58]) (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 698BF1200D7 for <emu@ietf.org>; Fri, 15 Mar 2019 03:13:45 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; d=ericsson.com; s=mailgw201801; c=relaxed/relaxed; q=dns/txt; i=@ericsson.com; t=1552644823; x=1555236823; 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=Q5IO6nhUHJEcloWOp86GDV5CIjnLLVK/q2vokVWImus=; b=B76RVxyM7rw3pxxHWxRLAZvq7ZogyZhfCEEihMOcnMyI9BbqgetU3CVa2+N8X99V A2ZRyUvzzm+E4ZZrHb2d/YUuKYmrMTaytgFhlK+SCKSrt/37QfGsUByfHt+LgFAL U/UC5gzfdgtRwMCCRAprbQnCLk+xA3IABr386vQscTE=;
X-AuditID: c1b4fb3a-5c9c29e00000672c-51-5c8b7ad7fd9c
Received: from ESESSMB505.ericsson.se (Unknown_Domain [153.88.183.123]) by sessmg22.ericsson.net (Symantec Mail Security) with SMTP id 5C.87.26412.7DA7B8C5; Fri, 15 Mar 2019 11:13:43 +0100 (CET)
Received: from ESESSMB504.ericsson.se (153.88.183.165) by ESESSMB505.ericsson.se (153.88.183.166) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Fri, 15 Mar 2019 11:13:32 +0100
Received: from EUR03-DB5-obe.outbound.protection.outlook.com (153.88.183.157) by ESESSMB504.ericsson.se (153.88.183.165) 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; Fri, 15 Mar 2019 11:13:32 +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=Q5IO6nhUHJEcloWOp86GDV5CIjnLLVK/q2vokVWImus=; b=ic0lCgRhNP/H8yRrNQrCgHFDtQWGRDAC77sGxY8ASL7O2w4Qy8kxpz9d2kLyb92iZzx/7vnXxEGu1aUAjsCCxOT0FLE82fDl0mDhu6eGeiRzAKV2u1K74IpCl5ufwS5XcyiUK9nEJzXqH9ZTNStxC2qk34D/AUQEM4vE1blpqT4=
Received: from HE1PR07MB4169.eurprd07.prod.outlook.com (20.176.166.22) by HE1PR07MB4188.eurprd07.prod.outlook.com (20.176.166.29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1709.11; Fri, 15 Mar 2019 10:13:31 +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; Fri, 15 Mar 2019 10:13:31 +0000
From: John Mattsson <john.mattsson@ericsson.com>
To: "emu@ietf.org" <emu@ietf.org>
Thread-Topic: [Emu] EAP and Fragmentation
Thread-Index: AQHU2xe9kv748aj0fk+DhC3TncuuMw==
Date: Fri, 15 Mar 2019 10:13:31 +0000
Message-ID: <2F9F6888-CB17-44E3-BE6D-9378430D6738@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: 0d278e70-798d-4439-d86a-08d6a92ee02d
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600127)(711020)(4605104)(2017052603328)(7153060)(7193020); SRVR:HE1PR07MB4188;
x-ms-traffictypediagnostic: HE1PR07MB4188:
x-microsoft-antispam-prvs: <HE1PR07MB4188A8C17BB5524BBBFAA45F89440@HE1PR07MB4188.eurprd07.prod.outlook.com>
x-forefront-prvs: 09778E995A
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(979002)(136003)(376002)(39860400002)(346002)(396003)(366004)(189003)(199004)(1730700003)(33656002)(82746002)(14444005)(476003)(6916009)(14454004)(36756003)(229853002)(8936002)(2616005)(486006)(7736002)(81166006)(81156014)(8676002)(305945005)(2906002)(66066001)(97736004)(3846002)(6116002)(316002)(256004)(186003)(58126008)(25786009)(2351001)(6246003)(6486002)(26005)(86362001)(6512007)(5640700003)(68736007)(5660300002)(106356001)(6506007)(2501003)(102836004)(105586002)(99286004)(6436002)(83716004)(71200400001)(71190400001)(53936002)(478600001)(44832011)(969003)(989001)(999001)(1009001)(1019001); DIR:OUT; SFP:1101; SCL:1; SRVR:HE1PR07MB4188; 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: qI35gbuNKjhs6YoWqM5+PNSSiZJaE3tH8Gi5EgN/mj+y8soyUT9cUKJ+oE788Mw+NKyGPZIP546Yx/La+MHrjiIS5vhkuK17xx20u5EJfCnRhyLNMOj6jHT1LgEHQXYvBTTV5Iudbt6THR4S218aNIaPSlaSQC7Ya5ra4tm9oaNsVE4EEqgTGv/QZ+LAtzZlvFpg38WudVg9iFnnfpwB0AeNcvFswvePzV+yAC56i3/gnanoLeXGU+ELvaeD1K/cBaDyiZZfEzYot8sv+FNzv/b379P0OycHX1kllTOxWYoIyHeESgRDyq0rY4seWn2rjE/9+8EpQy8WxGVpBsjn7YKIZCOc0aed5q8I/46jpCdg2RhLCHqcVDdfmsqiVE+hiXkxruIhvDbT+ofG9r1+tMZ6ZZHfHqTPrYv0t1K+RqY=
Content-Type: text/plain; charset="utf-8"
Content-ID: <AA1CAF12B2367448A12609CC380ADF37@eurprd07.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: 0d278e70-798d-4439-d86a-08d6a92ee02d
X-MS-Exchange-CrossTenant-originalarrivaltime: 15 Mar 2019 10:13:31.2503 (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: HE1PR07MB4188
X-OriginatorOrg: ericsson.com
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmpjleLIzCtJLcpLzFFi42KZGbG9Wvd6VXeMQcdheYtj69eyODB6LFny kymAMYrLJiU1J7MstUjfLoErY9/l22wFZ/gqNm1+wdLAOIevi5GTQ0LAROLAp3bWLkYuDiGB I4wSR86vYIJwvjFKbGz6ywLhLGGSOHZ2A1iGRWACs8Tro1PYIDKTmSQOT/4D5TxglPh39zYr yGQ2AQOJuXsa2EBsEQFFiR+X2phBbGEBDYm5045CxTUlzh7Zygxh60lc2nKBsYuRA2iFqkTL URmQMK+AvcSNYy9ZQGxGATGJ76fWMIHYzALiEreezGeCeEJAYsme88wQtqjEy8f/wE4QFdCX 2NL3AKo3VqK1dTorRI2ixOl9K6DqZSUuze9mhLB9Je6+2sgI8ouEwE1GiQ0Ld7FBJLQkfl3Z wA5hZ0sc+HsJqllG4uGWBmaIholsEkfuvgFLCAmkSixf2wo1VU5iVe9DFgj7PLPE8dYSkCeZ gZ5fv0t/AqP2LCT/zELIQIQ9JD6ums0EYStKTOl+yD4LHCyCEidnPmFZwMi6ilG0OLW4ODfd yEgvtSgzubg4P08vL7VkEyMwdRzc8ttqB+PB546HGAU4GJV4eMMzu2OEWBPLiitzDzFKcDAr ifA+1gcK8aYkVlalFuXHF5XmpBYfYpTmYFES5/0jJBgjJJCeWJKanZpakFoEk2Xi4JRqYDTz 6irRtUnZdXbd9hvBv+4tXV44xbXYbpIJM9f0E8smT1WafXffafFMxSv/FpteeSM1bd2VBIWr SWf+vba1X5TPKtbxT3/HtLmWzwvzHp/Kz/WtWeUeOfHhiUMrn1bfOuXtXzX9p7bS3X8fOX5G L+mz8e15+cU1qaW5e/7Ro39cL0Zs5yl/q9KsxFKckWioxVxUnAgAulwVDRkDAAA=
Archived-At: <https://mailarchive.ietf.org/arch/msg/emu/WMl8dd9w8OMOGSE6NCpsfyQTxyk>
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: Fri, 15 Mar 2019 10:13:47 -0000

 Hi Oleg,

>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?

I added the following text to draft-ietf-emu-eap-tls13-04:

"EAP-TLS fragmentation support is provided through addition of a flags octet within the EAP-Response and EAP-Request packets, as well as a TLS Message Length field of four octets.  Unfragmented messages MAY have the L bit set and include the length of the message (though this information is redundant)."

I don't know if anything more if needed, but if we add something I think it should be "MUST accept" rather than "SHOULD accept".

The other alternative would be to instead write "Unfragmented messages MUST NOT have the L bit set and include the length of the message (though this information is redundant)."

I think we need to choose one and ensure that implementations following draft-ietf-emu-eap-tls13 can talk to each other. Do anybody have any data on how many implementations out there set the L bit for unfragmented messages and how many implementations do not accept unfragmented messages with the L bit set?

Cheers,
John