Re: [secdir] [tram] Secdir last call review of draft-ietf-tram-turnbis-27

"Konda, Tirumaleswar Reddy" <TirumaleswarReddy_Konda@McAfee.com> Wed, 10 July 2019 12:41 UTC

Return-Path: <tirumaleswarreddy_konda@mcafee.com>
X-Original-To: secdir@ietfa.amsl.com
Delivered-To: secdir@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6DE39120130 for <secdir@ietfa.amsl.com>; Wed, 10 Jul 2019 05:41:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.399
X-Spam-Level:
X-Spam-Status: No, score=-2.399 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=fail (1024-bit key) reason="fail (message has been altered)" header.d=mcafee.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 jB7fYHK-RiIB for <secdir@ietfa.amsl.com>; Wed, 10 Jul 2019 05:40:56 -0700 (PDT)
Received: from us-smtp-delivery-210.mimecast.com (us-smtp-delivery-210.mimecast.com [216.205.24.210]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9493212012C for <secdir@ietf.org>; Wed, 10 Jul 2019 05:40:54 -0700 (PDT)
X-NAI-Header: Modified by McAfee Email Gateway (5500)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mcafee.com; s=s_mcafee; t=1562761813; h=ARC-Seal: ARC-Message-Signature:ARC-Authentication-Results: From:To:CC:Subject:Thread-Topic:Thread-Index: Date:Message-ID:References:In-Reply-To:Accept-Language: Content-Language:X-MS-Has-Attach:X-MS-TNEF-Correlator: dlp-product:dlp-version:dlp-reaction:authentication-results: x-originating-ip:x-ms-publictraffictype:x-ms-office365-filtering-correlation-id: x-microsoft-antispam:x-ms-traffictypediagnostic: x-ms-exchange-purlcount:x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers:x-forefront-prvs: x-forefront-antispam-report:received-spf:x-ms-exchange-senderadcheck: x-microsoft-antispam-message-info:Content-Type: Content-Transfer-Encoding:MIME-Version:X-MS-Exchange-CrossTenant-Network-Message-Id: X-MS-Exchange-CrossTenant-originalarrivaltime: X-MS-Exchange-CrossTenant-fromentityheader: X-MS-Exchange-CrossTenant-id:X-MS-Exchange-CrossTenant-mailboxtype: X-MS-Exchange-CrossTenant-userprincipalname: X-MS-Exchange-Transport-CrossTenantHeadersStamped: X-OriginatorOrg:X-NAI-Spam-Flag:X-NAI-Spam-Level: X-NAI-Spam-Threshold:X-NAI-Spam-Score:X-NAI-Spam-Version; bh=tYV0Mxd/EHV7xQvZjZoVWECZR4eGEOW6Yv37ey YSbQ8=; b=h3hqW0zDaQ6aS3OxKUMdsLwPgZZ//CTfaWt7/5+P NYaBtWegF5Z7JRsSbD5HK0OoiGgi6MmLTrAHk4A6l2vMn5rROt NCIDZ3B+txT5ZdU6rxQ9T/0XiIJpg4dxGdL04cTq88gM40igN0 KlkC/lhXuPbFASu5mKvqxu3QaBwWogY=
Received: from DNVWSMAILOUT1.mcafee.com (dnvwsmailout1.mcafee.com [161.69.31.173]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-69-6T7oguXnO2GWuWGMOirQnA-1; Wed, 10 Jul 2019 08:40:43 -0400
Received: from DNVEXAPP1N05.corpzone.internalzone.com (DNVEXAPP1N05.corpzone.internalzone.com [10.44.48.89]) by DNVWSMAILOUT1.mcafee.com with smtp (TLS: TLSv1/SSLv3,256bits,ECDHE-RSA-AES256-SHA384) id 6fce_6c22_8546be77_e434_43e5_8158_5cdcb3449957; Wed, 10 Jul 2019 06:30:11 -0600
Received: from DNVEXAPP1N05.corpzone.internalzone.com (10.44.48.89) by DNVEXAPP1N05.corpzone.internalzone.com (10.44.48.89) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Wed, 10 Jul 2019 06:40:39 -0600
Received: from DNVO365EDGE1.corpzone.internalzone.com (10.44.176.66) by DNVEXAPP1N05.corpzone.internalzone.com (10.44.48.89) with Microsoft SMTP Server (TLS) id 15.0.1395.4 via Frontend Transport; Wed, 10 Jul 2019 06:40:39 -0600
Received: from NAM02-BL2-obe.outbound.protection.outlook.com (10.44.176.240) by edge.mcafee.com (10.44.176.66) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Wed, 10 Jul 2019 06:40:37 -0600
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=d0PbQH7S5pEdBBJdLPBuCg/0G3dmP0KmLvLN0NRhPjoTnGzeIUQSOyRfDx+eMm2NZYUqlqeSfd19TUJ2TN9Rbq6nwlmepjb8cSPwg2qYzJCe+wP/l1SnHmUJYpohOpm48DWSOu2sEgT2mZlZMLJznsFO8Oa0ortJbpjMIMZ8TUvzVJnjJgUrECXR8dWX4qVJZxJomgnTfFXEcppfB2JWgFeM4N/8vn+gLKTXGpxWzATGShGpyKQtxjPGtO5E0jSrZZ26ThyqhnBuA9fo2KU+KOtr7ErjF/OdlGgpFf6Q3ZhqLvUXxLYPvkXuNWs2UfnaK7VyhY2crLRDk+Lzdlk3OQ==
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=tYV0Mxd/EHV7xQvZjZoVWECZR4eGEOW6Yv37eyYSbQ8=; b=nP3uRIsI/HW5j3WmXuQkxV509rFqTAuONPNZMsvoj5kl45OD6XFFjWq6tbKZGU3sUaDvf3DciQuHYVa6NXF8Z+q14skO6aCY1w4XkEqOv6EkwMfffTbakhUP4F1RHR+pxMry9sEYuEIJhrf7y2voMoxkmpuz4E9vC3eVJHy1oKIlkf1MMxI1YgEAaS9Qb3Q030pTQ/3wIiChJ8OiZbVi4xxkNwZ3EGwiJCt+u1STR4J2OslStv47viQFd1mb7oBPoe3aoQE/2e4/Y34tiKgWaq2C/+HjJyfBmyop3VpzaxTArbZB6BK66m7BvULPr8yHkB1d69wWwcuPsVFBDKcWLA==
ARC-Authentication-Results: i=1; mx.microsoft.com 1;spf=pass smtp.mailfrom=mcafee.com;dmarc=pass action=none header.from=mcafee.com;dkim=pass header.d=mcafee.com;arc=none
Received: from DM5PR16MB1705.namprd16.prod.outlook.com (10.172.44.147) by DM5SPR00MB242.namprd16.prod.outlook.com (10.168.120.149) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2073.10; Wed, 10 Jul 2019 12:40:37 +0000
Received: from DM5PR16MB1705.namprd16.prod.outlook.com ([fe80::570:2208:75c2:5f17]) by DM5PR16MB1705.namprd16.prod.outlook.com ([fe80::570:2208:75c2:5f17%8]) with mapi id 15.20.2052.019; Wed, 10 Jul 2019 12:40:37 +0000
From: "Konda, Tirumaleswar Reddy" <TirumaleswarReddy_Konda@McAfee.com>
To: Benjamin Kaduk <kaduk@mit.edu>
CC: Christopher Wood <caw@heapingbits.net>, "secdir@ietf.org" <secdir@ietf.org>, "draft-ietf-tram-turnbis.all@ietf.org" <draft-ietf-tram-turnbis.all@ietf.org>, "ietf@ietf.org" <ietf@ietf.org>, "tram@ietf.org" <tram@ietf.org>
Thread-Topic: [tram] Secdir last call review of draft-ietf-tram-turnbis-27
Thread-Index: AQHVNQMAJeymFhPVnEO1ky4wx5pqrabAcMBwgAJPmICAAKIlAA==
Date: Wed, 10 Jul 2019 12:40:37 +0000
Message-ID: <DM5PR16MB17055A8B96B74CD7E978591FEAF00@DM5PR16MB1705.namprd16.prod.outlook.com>
References: <156253133809.549.13521510978566357744@ietfa.amsl.com> <DM5PR16MB17057A838828AE1DFD33702AEAF60@DM5PR16MB1705.namprd16.prod.outlook.com> <20190709203044.GD24351@kduck.mit.edu>
In-Reply-To: <20190709203044.GD24351@kduck.mit.edu>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
dlp-product: dlpe-windows
dlp-version: 11.3.0.16
dlp-reaction: no-action
x-originating-ip: [49.37.206.28]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: fdf60297-a4c7-448a-b521-08d70533cf56
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(2017052603328)(7193020); SRVR:DM5SPR00MB242;
x-ms-traffictypediagnostic: DM5SPR00MB242:
x-ms-exchange-purlcount: 14
x-microsoft-antispam-prvs: <DM5SPR00MB242D599922454D725F59806EAF00@DM5SPR00MB242.namprd16.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-forefront-prvs: 0094E3478A
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(136003)(396003)(346002)(376002)(39860400002)(366004)(189003)(199004)(32952001)(51914003)(13464003)(99286004)(68736007)(53936002)(966005)(7736002)(71200400001)(71190400001)(6916009)(316002)(6306002)(76176011)(9686003)(2171002)(54906003)(305945005)(33656002)(30864003)(476003)(25786009)(478600001)(229853002)(7696005)(486006)(66066001)(6246003)(14454004)(2906002)(5660300002)(186003)(8676002)(102836004)(26005)(81156014)(81166006)(11346002)(52536014)(8936002)(66476007)(66946007)(80792005)(66556008)(64756008)(66446008)(6506007)(53546011)(55016002)(76116006)(6116002)(3846002)(86362001)(446003)(5024004)(74316002)(4326008)(6436002)(256004)(14444005)(85282002); DIR:OUT; SFP:1101; SCL:1; SRVR:DM5SPR00MB242; H:DM5PR16MB1705.namprd16.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1;
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam-message-info: 2oOIAYrY6AykjsFJHqTeFjwsec7f9EEWYLGK50ohHYrsid7zgpX8n85jeEdudbnMpcHLvsCzvWm85RiP6cEsAZlwXvFvxUs+RC7CRk8rL/E0VLoJcbog701+/z+yXAYlNoGARXGsBPfUVrO2iXuJKZSQbZFT26eK1FKmtlx3DrqIivbbFD4uEV0MjbcomuiMOQbmqpdLeCO6ww0jNmymISIoxvsiWjBCB8tCCEKb8JccfFRthXgyytwn0/JTDLHrHIz6xkPBKjXrM6dZ1r7BzNLaXM+JywGtse1sWYRrgrq9v8K3m/E4LsDp1zvmsQT2I7ELFzpffrNDblJsAVBMX/WFln2dIxfbkkR+qYhUag6O+Qoxl2F7hytaJ5ui+IfVijQdhlsf5G82ver5MFP1IbDFTlwrqwtfGOjq2E5rZzk=
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: fdf60297-a4c7-448a-b521-08d70533cf56
X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Jul 2019 12:40:37.5160 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 4943e38c-6dd4-428c-886d-24932bc2d5de
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: TirumaleswarReddy_Konda@McAfee.com
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5SPR00MB242
X-OriginatorOrg: mcafee.com
X-NAI-Spam-Flag: NO
X-NAI-Spam-Level:
X-NAI-Spam-Threshold: 15
X-NAI-Spam-Score: 0.1
X-NAI-Spam-Version: 2.3.0.9418 : core <6586> : inlines <7115> : streams <1826946> : uri <2865937>
X-MC-Unique: 6T7oguXnO2GWuWGMOirQnA-1
X-Mimecast-Spam-Score: 0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Archived-At: <https://mailarchive.ietf.org/arch/msg/secdir/Ju5_vvLvC67JafUgLLGW7DAnB_w>
Subject: Re: [secdir] [tram] Secdir last call review of draft-ietf-tram-turnbis-27
X-BeenThere: secdir@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Security Area Directorate <secdir.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/secdir>, <mailto:secdir-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/secdir/>
List-Post: <mailto:secdir@ietf.org>
List-Help: <mailto:secdir-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/secdir>, <mailto:secdir-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 10 Jul 2019 12:41:01 -0000

Hi Ben,

Thanks for the review. Please see inline.

> -----Original Message-----
> From: Benjamin Kaduk <kaduk@mit.edu>
> Sent: Wednesday, July 10, 2019 2:01 AM
> To: Konda, Tirumaleswar Reddy <TirumaleswarReddy_Konda@McAfee.com>
> Cc: Christopher Wood <caw@heapingbits.net>; secdir@ietf.org; draft-ietf-
> tram-turnbis.all@ietf.org; ietf@ietf.org; tram@ietf.org
> Subject: Re: [tram] Secdir last call review of draft-ietf-tram-turnbis-27
> 
> This email originated from outside of the organization. Do not click links or
> open attachments unless you recognize the sender and know the content is
> safe.
> 
> Chris, thanks for the review.  Some more questions/comments inline as I
> prepare to ballot on this document...
> 
> On Mon, Jul 08, 2019 at 02:18:26PM +0000, Konda, Tirumaleswar Reddy wrote:
> > Hi Christopher,
> >
> > Thanks for the detailed review. Please see inline
> >
> > > -----Original Message-----
> > > From: tram <tram-bounces@ietf.org> On Behalf Of Christopher Wood via
> > > Datatracker
> > > Sent: Monday, July 8, 2019 1:59 AM
> > > To: secdir@ietf.org
> > > Cc: draft-ietf-tram-turnbis.all@ietf.org; ietf@ietf.org;
> > > tram@ietf.org
> > > Subject: [tram] Secdir last call review of
> > > draft-ietf-tram-turnbis-27
> > >
> > > This email originated from outside of the organization. Do not click
> > > links or open attachments unless you recognize the sender and know
> > > the content is safe.
> > >
> > > Reviewer: Christopher Wood
> > > Review result: Has Nits
> > >
> > > I have reviewed this document as part of the security directorate's
> > > ongoing effort to review all IETF documents being processed by the
> > > IESG. These comments were written primarily for the benefit of the
> > > security area directors.
> > > Document editors and WG chairs should treat these comments just like
> > > any other last call comments.
> > >
> > > The summary of the review is: Ready with nits
> > >
> > > Summary:
> > >
> > > In general, the document is well written and clearly founded in
> > > operational experience. The security considerations are thorough,
> > > providing examples where necessary to highlight important problem
> > > areas. It draws a clear line between issues best addressed by
> > > applications outside of TURN, and provides sufficient detail for
> > > those issues in scope. My comments and questions are, hopefully, mostly
> nits.
> > >
> > > General comments:
> > >
> > > - TURN server authentication in the case of (D)TLS is
> > > underspecified. Are servers assumed to have WebPKI certificates,
> > > OOB-trusted raw public keys, or something else? Is there a preferred
> form of authentication?
> > > Relatedly, in
> > > Section 3.2, how do clients authenticate the server?
> >
> > Server certificate validation is discussed in https://tools.ietf.org/html/draft-
> ietf-tram-stunbis-21#section-6.2.3.  I have modified the text as follows:
> >
> > If (D)TLS transport is used between the TURN client and the TURN
> > server, the cipher suites, server certificate validation and
> > authentication of TURN server are discussed in Section 6.2.3 of
> > [I-D.ietf-tram-stunbis]
> 
> That helps, but it would still be nice to give some indication of what certificate
> PKI(s) are expected to be used.  Is anything other than the Web PKI under
> consideration ?

No. Please see https://tools.ietf.org/html/draft-ietf-tram-stunbis-21#section-6.2.3, It discusses to verify the certificate path and identity of the server.

> 
> > >- Section 3.7: Could
> > > TURN servers not chunk data from stream-oriented transports (TCP or
> > >TLS)  to a preferred MTU size before relaying to peers?
> > > Specifically, there are likely
> > > some cases wherein the server could deal with the client data
> > >messages  larger than the recommended 500B limit. On that point,
> > >should servers even  accept data larger than this recommended size ?
> > >-
> >
> > Please see
> > https://tools.ietf.org/html/draft-ietf-tram-turnbis-27#section-15 for
> > TCP-to-UDP relay. If the PMTU is not known, and on legacy or otherwise
> > unusual networks,
> > 500 byte limit for application data is recommended.
> >
> > > Section 3.9: There may be
> > > cases where the TLS connection post TCP connection establishment
> > > fails. It would therefore seems prudent to not declare victory for
> > > one connection over the other until TLS connects, too. -
> >
> > Agreed, Eric (as part of ISEG review) suggested to simplify the text. I have
> updated the text as follows:
> >
> >    o  For TCP or TLS-over-TCP, the results of the Happy Eyeballs
> >       procedure [RFC8305] are used by the TURN client for sending its
> >       TURN messages to the server.
> 
> Is the editor's copy available for viewing somewhere?  It would be good to
> see this (and other changes) in context.

Yes, Please see https://github.com/tireddy2/TURNbis 

> 
> > > Section 3 could benefit from a
> > > subsection on replays and the nonce role. In particular, as later
> > > discussed in the security considerations, some of these attacks are
> > > not new to TURN and should therefore be dealt with by the
> > > application protocol (SRTP). This section might also describe nonce
> > > rotation policies with more specificity, as this is underspecified in the
> document.
> >
> > It is discussed in Section 5 in the specification, the server should expire the
> nonce at least once every hour during the lifetime of the allocation.
> >
> > >- Section 3 could also benefit from
> > > discussion about cleartext versus encryption transports between
> > >clients and  servers.
> >
> > It is discussed in https://tools.ietf.org/html/draft-ietf-tram-turnbis-
> 27#section-21.1.6.
> 
> There's not much discussion about potential information  leakage via (e.g.)
> USERNAME/USERHASH, and really just a claim that the peer address is the
> "primary protocol content".

Agreed, added the following paragraph :

If the TURN client and server use the STUN Extension for Third-Party Authorization [RFC7635], the username does not reveal the
real user's identity, the USERNAME attribute carries an ephemeral and unique key identifier, and the key identifier can change per call.
If the TURN client and server use the STUN long-term credential mechanism and the username reveals the
real user's identity, the client need to either use (D)TLS transport between the client and the server or use 
the USERHASH attribute instead of the USERNAME attribute to anonynmize the username.

> 
> > > Encrypting the nonce, username, realm, etc., among other things, has
> > > obvious benefits. - Why are SOFTWARE and FINGERPRINT attributes
> > > recommended?  It seems like clients should be discouraged from
> > > sending these if anything, especially if not used to make allocation
> > > decisions on the server.
> >
> > Username may not be the user identity, Please see
> https://tools.ietf.org/html/rfc7635), It could be an ephemeral and unique
> key identifier. Further, username can be anonymized (please see
> https://tools.ietf.org/html/draft-ietf-tram-stunbis-21#section-14.4).
> > SOFTWARE and FINGERPRINT attributes are defined in the STUN
> specification, see https://tools.ietf.org/html/draft-ietf-tram-stunbis-21.
> 
> These mechanisms  are partial mitigations but can still be susceptible to cross-
> connection correlation attacks.

The use of FINGERPRINT is not mandatory, the TURN client and server may include the FINGERPRINT attribute.  Note that ICE (https://tools.ietf.org/html/rfc8445) mandates the use of FINGERPRINT attribute. Added the following line for SOFTWARE attribute (TURNbis is using the same behavior defined in RFC5766 to use SOFTWARE attribute)  :

SOFWATE attribute can reveal the specific software version of the TURN client and server to eavesdropper and it might possibly allow attacks against vulnerable software that is known to contain security holes. If it is important to prevent an eavesdropper from learning the software version, TURN can be run over (D)TLS.


> 
> > - Section 5: When servers receive data that exceeds an allocation’s
> > > bandwidth quota, servers silently discard this data. This means
> > > there’s no allocation-based flow control mechanism between client
> > > and server beyond what’s provided by the transport protocol, right?
> >
> > Yes, UDP does not include a congestion control mechanism.
> >
> > > This seems fine, though
> > > perhaps some discussion of why this design decision was made would
> > > be helpful. For example, I could imagine explicit signals from
> > > servers to clients that indicate server state would reveal
> > > information about other allocations on the server, which might be
> > > problematic. -
> >
> > The errors 486 (Allocation Quota Exceeded) or 508 (Insufficient Capacity)
> do not reveal information of which other users are using the TURN server.
> 
> At least the latter seems to give some indication that many other users are
> using the server at the  time (so that it's overloaded), though not information
> about *which* users that is.

Yes, similar to 503 HTTP error response.

> 
> > > Section 7.2 suggests that
> > > servers can redirect client allocation requests to other servers.
> > > Can this create a loop, wherein two TURN servers redirect to one another?
> >
> > The client detect and stop the loop, it is similar to HTTP redirection.
> 
> Where is this specified?

It is specified in the last paragraph of https://tools.ietf.org/html/draft-ietf-tram-stunbis-21#section-10 

<snip>
If the client has been redirected to a
server to which it has already sent this request within the last five
minutes, it MUST ignore the redirection and consider the transaction
to have failed.  This prevents infinite ping-ponging between servers
in case of redirection loops.
</snip>

Cheers,
-Tiru

> 
> Thanks,
> 
> Ben
> 
> > > Moreover,
> > > is it acceptable for one TURN server to redirect to an unrelated TURN
> server?
> > > (It should be made clear here that these responses are
> > > authenticated, as otherwise it would be possible for an on-path
> > > adversary to redirect allocation requests to a server it owns.)
> >
> > It is already discussed in
> > https://tools.ietf.org/html/draft-ietf-tram-stunbis-21#section-10
> >
> > > - Section
> > > 21.1.2: Use of (D)TLS doesn’t help against dictionary attacks much,
> > > since presumably there’s low entropy in usernames and passwords
> > > alike. Thus, I question whether this is a “stronger” mitigation.
> >
> > The section only discusses "offline" dictionary attack, How is offline
> dictionary attack possible with (D)TLS ?
> >
> > >- Section 12.1.6: “username”
> > > and “realm” are not considered sensitive? They seem sensitive to me.
> > >- As an  extension, it seems possible to improve on what’s in STUN.
> > >For example, it  may be worthwhile, here or elsewhere, to update
> > >STUN’s long term  credential key derivation process (MD5(username +
> > >realm + password)) to  something a bit more modern. This is quite
> > >likely out of scope, though in the  context of client authentication
> > >it seems worth mentioning that TURN is  limited to the mechanisms
> provided by STUN.
> >
> > As mentioned previously, username may not be the end-user real identity
> and username can be anonymized.
> >
> > >
> > > Nits and other comments:
> > >
> > > - Section 2: “message-digest” is undefined in the Nonce definition.
> >
> > Thanks, replaced "message-digest" with "server response"
> >
> > > - Section 3: It’s probably worth citing RFC8446 as the recommended
> > > version of TLS.
> >
> > The draft says guidance given in [RFC7525] MUST be followed to avoid
> attacks on (D)TLS. RFC7525 says TLS 1.3 resolves the vulnerabilities found in
> previous TLS versions.
> >
> > >- Section 3.4: It might be worth mentioning that use of (D)TLS for
> > >the  client-to-server transport mitigates the need for Send and Data
> > >authentication.
> >
> > https://tools.ietf.org/html/draft-ietf-tram-turnbis-27#section-21.1.4
> discusses this issue in detail.
> >
> > > - Section 3.4: What does “proper security” mean?
> >
> > Thanks, replaced "proper security" with "end-to-end security".
> >
> > >- Figure 4: Adding another
> > > message exchange wherein a channel message is sent without a prior
> > >ChannelBind request would be useful to highlight this dependency and
> > >expected behavior from clients and servers.
> >
> > https://tools.ietf.org/html/draft-ietf-tram-turnbis-27#section-12.6 explains
> that If the ChannelData message is received on a channel that is not bound to
> any peer, then the message is silently discarded.
> >
> > > - Section 3.6: Another benefit of
> > > this user space design decision is use of (D)TLS links. -
> >
> > Good point, updated line to say:
> > for example, to allow a TURN server to be integrated into a peer-to-peer
> application so that one peer can offer NAT traversal services to another peer
> and to use (D)TLS to secure the TURN connection.
> >
> >  Section 5: Where did
> > > the 40 second request buffer timeout come from?
> >
> > It is coming from the STUN specification (see
> > https://tools.ietf.org/html/draft-ietf-tram-stunbis-21#section-6.3.1)
> >
> > > Adding some details
> > > might help. - Section 6: “secure hash” is undefined, though
> > > presumably what is meant is a cryptographic hash with collision
> > > resistance. It would be good to clarify this requirement.
> >
> > Yes, replaced with " cryptographic hash".
> >
> > > - Section 7.4: What is the retry behavior if allocation requests
> > > timeout?
> >
> > The retry behavior is discussed as follows:
> >
> >    o  (Request timed out): There is either a problem with the server, or
> >       a problem reaching the server with the chosen transport.  The
> >       client considers the current transaction as having failed but MAY
> >       choose to retry the Allocate request using a different transport
> >       (e.g., TCP instead of UDP).
> >
> >
> > >- Section 12.5: The STUN requirement for 4-byte  alignment should be
> > >cited when discussing the TCP and TLS padding  requirement.
> >
> > Done.
> >
> > > - Section 15: Typo “DON’T FRAGMENT”.
> >
> > Fixed.
> >
> > Cheers,
> > -Tiru
> >
> > >
> > >
> > > _______________________________________________
> > > tram mailing list
> > > tram@ietf.org
> > > https://www.ietf.org/mailman/listinfo/tram