[tram] Errata 4826 on RFC 7635

Magnus Westerlund <magnus.westerlund@ericsson.com> Wed, 23 September 2020 14:29 UTC

Return-Path: <magnus.westerlund@ericsson.com>
X-Original-To: tram@ietfa.amsl.com
Delivered-To: tram@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9D3B93A0FFA for <tram@ietfa.amsl.com>; Wed, 23 Sep 2020 07:29:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.796
X-Spam-Level:
X-Spam-Status: No, score=-3.796 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-1.695, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=ericsson.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 gSiUg7Q6ryJT for <tram@ietfa.amsl.com>; Wed, 23 Sep 2020 07:29:47 -0700 (PDT)
Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2073.outbound.protection.outlook.com [40.107.21.73]) (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 015963A0FF5 for <tram@ietf.org>; Wed, 23 Sep 2020 07:29:46 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UaDt1plKhQGfFtkPbAWF9CCyQd4gBlutazm8MPgIJ5pYFS/SU3rg/ifkscdM26aRr+NVLBB6ZjKAZP1awa+5cSuyauB9rM9EnXKFGizvpncmylmgRckSKsL/H0NfGdkkCkXa1X6sqcN4PkR3h6AIFjnWn5fhLn06rTni2LMUQcOII23ByYymBwngohn1opOSCORERRhjMseSMvc3Up7iQsJ3mLYYBnLohXxoHDTr3fe4dSxeJT08heHWaSh21XYIOtpIej7VlLjpcOAxtZnx+6QgxHxZhQ6E2qc8MPwcIyqPZS4bc3h4iQLvy7QOeMY8rh8yb76g2tOuhF9V4iymcA==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Po7UT5Gsefi6bMKn4d4GHQqGblGQm29FV/27cAnYciE=; b=mYyNjNDHjYo52ZZ3EmbdjeHVWQghQrJqK6dtZ3l7D8/TthzeI0DN5yS1M1jhVGwLy4AhR5WskLGj8H1a/hQCkZJSlDPWS57L31CUTJigkP1Ig2bezdbHNbiDlmDG8pV1kenbZe63t+shaUbVUPIj9NvolUGV6n2uOK3RjoxSLKppFzBau9FQOeuyvkjy85347jL3IzxyA8BelJMx/L9/hPKjqaT6ZeVoDkx3pkNkvmPAib9JH0wnY8hWPZwmw2GVb4PE/CbpCUJi4OMalvia7UBBVkPgx7L6Y2w9jJVl74kwmxJC1a7p/aTdMEoWgo8zKOUbGBe3JXSsy2IAgSxt5g==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ericsson.com; dmarc=pass action=none header.from=ericsson.com; dkim=pass header.d=ericsson.com; arc=none
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=Po7UT5Gsefi6bMKn4d4GHQqGblGQm29FV/27cAnYciE=; b=hc93ExyKS4rGqbMMO7woIoWUtFjA/wBHx+pA2LcGvc2IX873fJ1GJp8179xOUp5H3QGqmn1H2LHO1so/vV/WDuxm+agc4JTjw66wnFvziX0fp2boyDcyaT1MhFWK7lseWYZyADNAQhuHvuhBmYzqqyt/GSKfLDUbXwLOJPNO85s=
Received: from HE1PR0702MB3772.eurprd07.prod.outlook.com (2603:10a6:7:8e::14) by HE1PR0702MB3706.eurprd07.prod.outlook.com (2603:10a6:7:8d::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3412.19; Wed, 23 Sep 2020 14:29:40 +0000
Received: from HE1PR0702MB3772.eurprd07.prod.outlook.com ([fe80::c98a:9a0c:1eea:3fdc]) by HE1PR0702MB3772.eurprd07.prod.outlook.com ([fe80::c98a:9a0c:1eea:3fdc%6]) with mapi id 15.20.3412.021; Wed, 23 Sep 2020 14:29:40 +0000
From: Magnus Westerlund <magnus.westerlund@ericsson.com>
To: "tram@ietf.org" <tram@ietf.org>
Thread-Topic: Errata 4826 on RFC 7635
Thread-Index: AQHWkbX4ZUzscKJ4OECwqW+0Y36GFA==
Date: Wed, 23 Sep 2020 14:29:39 +0000
Message-ID: <fca0a26d208b6f4b0739ba3517c78665faa9b724.camel@ericsson.com>
Accept-Language: sv-SE, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-mailer: Evolution 3.28.5-0ubuntu0.18.04.2
authentication-results: ietf.org; dkim=none (message not signed) header.d=none;ietf.org; dmarc=none action=none header.from=ericsson.com;
x-originating-ip: [192.176.1.81]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 786901f3-1bd4-47df-1595-08d85fcd1b18
x-ms-traffictypediagnostic: HE1PR0702MB3706:
x-microsoft-antispam-prvs: <HE1PR0702MB370637B7A268D2FF87E70F7895380@HE1PR0702MB3706.eurprd07.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:5797;
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: 1rZbCHkWzgccZ4ZDvv+CF+UkTENoGHVk2Bx87MRRAkp2w7luU0WUwDczfT+MAtwl6XIPCJ7EjQsM64zo/o1jSTEvE+1TyQ/jGcCKCpPF6cJ3TZvmmzWlUm0b8RFYwGfruCDd5bVS0ffx5Yi6+MKBWn2ydEj0n9ToKMSRhx1prFrLBHq+KyitATXXc9XQGD8+HGLl0DjjndkFnPvICSZlzwMhZ/+SGMRSsy6VxMQRbGjO1ZE3Sh/RS5cpEJrEdsEpu2OV+fVcaVOVi3SCx25UoR/RK+QlVUrVi8MX3ldPNSjNGJ415t5gRs+zJpOS0QIZVEFIWa2LZG1VdXkol8a70ClfyadzGdCcC2luu4vFmA6G9wIcc9rbH0V+q0UQnMaPyLODwL1PzcyYQW6uCe94+qK2IOpHqmH2AfGNxREiLNErOM+WXLiatPDZkl4vrjx4dEi/DHX5wwqGwwj95+EEL0sIONQrjGxsvGXRKgXoLc77USIgLAJ5Sx8lu2W/DtAJ
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:HE1PR0702MB3772.eurprd07.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(396003)(346002)(376002)(366004)(39860400002)(136003)(2616005)(6512007)(6916009)(316002)(83380400001)(66946007)(76116006)(91956017)(478600001)(71200400001)(966005)(64756008)(66476007)(66446008)(66556008)(86362001)(6506007)(44832011)(2906002)(5660300002)(8936002)(36756003)(26005)(4001150100001)(6486002)(8676002)(186003)(66574015)(99106002); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata: vaGkABZ1OshiiHSKXjCYy8JAhVrNu92zKar5N5eUurS/qXFMqU+kRcDzpXtY7J6dmk81eFxQV78kv2djkHBY3lxhqRGl+ehvbdOIBt/UgZG1RhU16VtVlQF18fAJEKvjAX97y1FbNy3zRlFzQuGQtOVRaaUFrDJMZxmAgtwxwitp4TCBD8cvg1GQ5VnMRdKzgU1uc6K+XMCQzMbqoZvw7+P6x5o6+hsTsO19REg/OzHh6v/Cyxag32deSWidHMt8NFc1cRefmCi/0nj+o+Y+lX6kaNT7QnoF1y+esZaYuUoNeTNVVIIb5jJYEkr72OwBGI1A2P7kQog/ggfvPzaIohIZoiBbuwsGbF3lYh13Hipljr3R+LWlPHoMtdIEIHUnU80QgcIx9o4MrBGBThVWCdsujVGMx0bPZIASs8B/pXr92K+XdSYD4nKkgo6WL7o04hkbnDiEyXjKoR56NEdbdi48X+WFB2iOKyYa3cJP0Vvp4ZnroE4lBveLv0kE96oxzxlIikkuYoht2wXRgMCpXFVdRM+iiJbp/d1YoORejdIUhE0zKbj4XuCww5CMcXgMtD1kOjp6V2zA8tAHGiUAsZCG/3mV563hE8JgAaFidzxB86IGG2Jb6H+A/ZZoW9zEYegXMEU0tR0b6j/tZqkCrA==
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="utf-8"
Content-ID: <27D002F2A83EF546B43BDB7477A752FB@eurprd07.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: ericsson.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: HE1PR0702MB3772.eurprd07.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 786901f3-1bd4-47df-1595-08d85fcd1b18
X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Sep 2020 14:29:39.9353 (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-CrossTenant-userprincipalname: 5+XZcOB9TZeedF9wGlYDd/YulXKxR0FiNXwBd/AaqOrNueb8aLcJRiB/Pyshsh55+BAgNHTWrtGyKoF6djv6v4f3zs4Rd9Uo6lkSFpF2kp0=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0702MB3706
Archived-At: <https://mailarchive.ietf.org/arch/msg/tram/ZbT5Ia67pGCfD31Ha1oWh6IAzqQ>
Subject: [tram] Errata 4826 on RFC 7635
X-BeenThere: tram@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Discussing the creation of a Turn Revised And Modernized \(TRAM\) WG, which goal is to consolidate the various initiatives to update TURN and STUN." <tram.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tram>, <mailto:tram-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tram/>
List-Post: <mailto:tram@ietf.org>
List-Help: <mailto:tram-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tram>, <mailto:tram-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 23 Sep 2020 14:29:49 -0000

Hi,

I would like some feedback on what to do with this Errrata?

https://www.rfc-editor.org/errata/eid4826

Errata ID: 4826
Status: Reported
Type: Technical
Publication Format(s) : TEXT
Reported By: Mihály Mészáros
Date Reported: 2016-10-10

Section 8. says:

8.  STUN Client Behavior

   o  The client looks for the MESSAGE-INTEGRITY attribute in the
      response.  If MESSAGE-INTEGRITY is absent or the value computed
      for message integrity using mac_key does not match the contents of
      the MESSAGE-INTEGRITY attribute, then the response MUST be
      discarded.

   o  If the access token expires, then the client MUST obtain a new
      token from the authorization server and use it for new STUN
      requests.

It should say:

8.  STUN Client Behavior

   o  The client looks for the MESSAGE-INTEGRITY attribute in the
      response.  If MESSAGE-INTEGRITY is absent or the value computed
      for message integrity using mac_key does not match the contents of
      the MESSAGE-INTEGRITY attribute, then the response MUST be
      discarded.

9.  Application (OAuth Client) Behavior

   o  If the access token expires, then the Application (OAuth client) 
      MUST obtain a new token from the authorization server, and update
      STUN client to use it for new STUN requests.

   o  Application SHOULD pass only a subset of the received OAuth 
      parameters to the STUN client. Only parameters SHOULD be passed 
      that will be really needed and used by the STUN Client. 
      In this way, only the kid, the mac_key, and the access_token
      parameters SHOULD be passed to the STUN client.
      

...
Renumber the sections
...

Notes:

1. Remove from STUN client behaviour the access_token renewal function,
and move this function up to application level.
2. Pass to STUN only that subset of the OAuth parameters, that will be really
used by STUN Client. 

 
Cheers

Magnus Westerlund 


----------------------------------------------------------------------
Networks, Ericsson Research
----------------------------------------------------------------------
Ericsson AB                 | Mobile +46 73 0949079
Torshamnsgatan 23           |
SE-164 80 Stockholm, Sweden | mailto: magnus.westerlund@ericsson.com
----------------------------------------------------------------------