Re: [bfcpbis] Eric Rescorla's Discuss on draft-ietf-bfcpbis-rfc4583bis-26: (with DISCUSS and COMMENT)

Roman Shpount <roman@telurix.com> Mon, 03 December 2018 19:08 UTC

Return-Path: <roman@telurix.com>
X-Original-To: bfcpbis@ietfa.amsl.com
Delivered-To: bfcpbis@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0383F1241F6 for <bfcpbis@ietfa.amsl.com>; Mon, 3 Dec 2018 11:08:24 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.348
X-Spam-Level:
X-Spam-Status: No, score=-3.348 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-1.459, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, T_SPF_PERMERROR=0.01] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=telurix-com.20150623.gappssmtp.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 GlLVVDsVFPZO for <bfcpbis@ietfa.amsl.com>; Mon, 3 Dec 2018 11:08:22 -0800 (PST)
Received: from mail-pl1-x630.google.com (mail-pl1-x630.google.com [IPv6:2607:f8b0:4864:20::630]) (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 101FD130DFD for <bfcpbis@ietf.org>; Mon, 3 Dec 2018 11:08:20 -0800 (PST)
Received: by mail-pl1-x630.google.com with SMTP id y1so2128567plp.9 for <bfcpbis@ietf.org>; Mon, 03 Dec 2018 11:08:20 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telurix-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=AsTTgGaot6Ir6vbjSD+vi8yQTEBwofjMFbT1WG1UGDA=; b=0+u4Fxp4B7EMSpNvJ16rX3W+0kn5s+YaCc91vrwOloMZPSgkiOUOmfGEWUuAPL25vW B7JUB/Cz2QuFfuOyjD3XCGq5mMI0JGJuU9bKBks/qEgUPBrDIbuzK8ADA2/k0ooAepfL aBrhR4ZlPSr0u7k8qv02WbdDpry1mGPHbkt4L/bKil8xTXAhLGbeYt695iJqJLbXq5+Z IIU4+NbiPkArHvvMxlg5mFryHZy8meFiAcbRrhkPXIEiFNhVJB7DoCvrBTUAh/ud9ftc nC7tlcv7nzGmtdjK6wQ7acNSCku+T91eYarob711GfoZ6FwVB5uaEcFUsKLk6a/u/kM5 a4NQ==
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=AsTTgGaot6Ir6vbjSD+vi8yQTEBwofjMFbT1WG1UGDA=; b=Wu6UTKuOxnlFGI8vglzr77B2KlsmHV7ErcgxDvY33fGHGQ5MIkaupvznmLEdQ5TNJR 7GDjhyflj435vuGp0531Vx4WloY6KDnGEpUFog2oPELAzkCPjsi4cZomJ/IZOlcbUVXr U32hM/WE/h5mMXXDwHoqfehcMnYb49B4lVmoEbNN9kpaFqhCkwJjyriRVvbB6vOupumf jn2YmvxjfphtccUZiiokhFZuoEiKso5g3wC6iZn2nyGLz80LRzuczCnEjJ3kqp4vBhBy x2tFGHxPrrYxVTdZIcSP43g4P521P04WYsmrYL2zQqjmSGQUUnPSfBgJpF2A2XnlKMK7 Jkaw==
X-Gm-Message-State: AA+aEWbWsofKT3wUUHIgM3Kospsfg+ar+Oa+arDebS9SGhE3pd8pNiMK vf5ywi6UYWj6etO/fH7bxqz7AgL5bQ8=
X-Google-Smtp-Source: AFSGD/VZeS2u2C/HAF124JIOV0V8vqZ2ZGQW4eoBX1P5NIVAU9CxeAwWn6/M6sMD/UJnphAMjJLEOA==
X-Received: by 2002:a17:902:e10a:: with SMTP id cc10mr2442818plb.165.1543864099343; Mon, 03 Dec 2018 11:08:19 -0800 (PST)
Received: from mail-pg1-f169.google.com (mail-pg1-f169.google.com. [209.85.215.169]) by smtp.gmail.com with ESMTPSA id g65sm74250779pfa.63.2018.12.03.11.08.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 03 Dec 2018 11:08:18 -0800 (PST)
Received: by mail-pg1-f169.google.com with SMTP id s198so6154784pgs.2; Mon, 03 Dec 2018 11:08:18 -0800 (PST)
X-Received: by 2002:a62:4bcf:: with SMTP id d76mr17921817pfj.170.1543864097773; Mon, 03 Dec 2018 11:08:17 -0800 (PST)
MIME-Version: 1.0
References: <154040901414.6834.17243795717657341259.idtracker@ietfa.amsl.com> <8032FEDB-0F35-4CCA-A0E7-BE86AEC0CBD8@ericsson.com> <CABcZeBP0pB7YZwz2Hm=ZJf4HBMC_nJ_M4bD=xbFto9iM8dfU+g@mail.gmail.com> <E3F4852A-F79E-48AC-A153-60B8C1A3443B@ericsson.com> <CABcZeBPo6o-TjFGXvJ-EfKke30z6=ue5KrSNgTAZYCu=ABD+2g@mail.gmail.com> <41F47CD9-01AC-4865-B511-FABDF455395F@ericsson.com> <CABcZeBNw-wP3CnWO9FJ=WqGXticAU4zaKqXs3RUEQcZrZakjHQ@mail.gmail.com> <C0BEBF1A-69D9-4A70-9525-AFFF62F22910@ericsson.com>
In-Reply-To: <C0BEBF1A-69D9-4A70-9525-AFFF62F22910@ericsson.com>
From: Roman Shpount <roman@telurix.com>
Date: Mon, 03 Dec 2018 14:08:06 -0500
X-Gmail-Original-Message-ID: <CAD5OKxurOmGbzSCMMkNf6nLAu2wo4U_maneRyWWrU69Ja3nGYQ@mail.gmail.com>
Message-ID: <CAD5OKxurOmGbzSCMMkNf6nLAu2wo4U_maneRyWWrU69Ja3nGYQ@mail.gmail.com>
To: Christer Holmberg <christer.holmberg@ericsson.com>
Cc: Eric Rescorla <ekr@rtfm.com>, bfcpbis@ietf.org, Mary Barnes <mary.ietf.barnes@gmail.com>, IESG <iesg@ietf.org>, draft-ietf-bfcpbis-rfc4583bis@ietf.org, bfcpbis-chairs@ietf.org
Content-Type: multipart/alternative; boundary="000000000000211f71057c22dfc4"
Archived-At: <https://mailarchive.ietf.org/arch/msg/bfcpbis/mTONOUQeqktcU9SGgTglByLIDCE>
Subject: Re: [bfcpbis] Eric Rescorla's Discuss on draft-ietf-bfcpbis-rfc4583bis-26: (with DISCUSS and COMMENT)
X-BeenThere: bfcpbis@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: BFCPBIS working group discussion list <bfcpbis.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/bfcpbis>, <mailto:bfcpbis-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/bfcpbis/>
List-Post: <mailto:bfcpbis@ietf.org>
List-Help: <mailto:bfcpbis-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/bfcpbis>, <mailto:bfcpbis-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 03 Dec 2018 19:08:25 -0000

On Mon, Dec 3, 2018 at 10:11 AM Christer Holmberg <
christer.holmberg@ericsson.com> wrote:

> >>>>>>> S 5.5.
> >>>>>>>      'bfcpver' attribute in offers and answers.  The attribute
> value, if
> >>>>>>>      present, MUST be in accordance with the definition of the
> Version
> >>>>>>>      field in [I-D.ietf-bfcpbis-rfc4582bis].  If the attribute is
> not
> >>>>>>>      present, endpoints MUST assume a default value in accordance
> with
> >>>>>>>      [I-D.ietf-bfcpbis-rfc4582bis]: when used over a reliable
> transport
> >>>>>>>      the default attribute value is "1", and when used over an
> unreliable
> >>>>>>
> >>>>>> Just for clarity: UDP over TURN-TCP is an unreliable transport,
> right?
> >>>>>
> >>>>> I would assume so, but I guess that question is not BFCP specific?
> >>>>>
> >>>>> Sorry, what I mean is "does BFCP count it as an unreliable
> transport". I agree it is unreliable.
> >>>>
> >>>> Do you think we need to add some text about it?
> >>>>
> >>>> Related to that, if ICE is used, if both UDP and TCP candidates are
> offered, endpoints might not know what kind of transport will eventually
> >>>> be selected. Perhaps there should be a note about that?
> >>>>
> >>>> Something like:
> >>>>
> >>>> "Note: When ICE is used, where the candidates represent both reliable
> and unreliable transports, the ICE process will determine what type of
> transport will eventually be used."
> >>>
> >>> Well, ICE can flip-flop the transport, so I think if you have anything
> other than ICE-TCP (which is to say anyone who uses ICE) then you have to
> assume it's unreliable
> >>
> >> My point was that when you send the offer, and set the 'bfcpver'
> attribute value, if you use ICE you may not yet know whether the transport
> will eventually be reliable
> >> or unreliable (if you offer candidates for both reliable and unreliable
> transports).
> >> I guess we could say that the attribute value must match the transport
> indicated in the 'm' line. That way things will be correct if the remote
> peer does not support ICE.
> >
> > i don't really know what this attribute is used for so it's hard for me
> to say.
> >
> > Can you explain what it does?
>
> It's used to negotiate the BFCP version. The default values are based on
> whether the transport is reliable or unreliable, which is a little strange,
> but 4583bis endpoints will always explicitly include it so there is no
> issues. I withdraw my comment :)
>
>
Any BFCP protocol version used with ICE is always considered unreliable.
ICE-TCP is unreliable since ICE-TCP is not necessarily end-to-end. The only
reliable protocols are TLS/BFCP and TCP/BFCP, neither of which can be used
with ICE.

Regards,
_____________
Roman Shpount