Re: [bfcpbis] BFCPbis: UDP- and TCP candidates and proto value

Christer Holmberg <christer.holmberg@ericsson.com> Wed, 19 October 2016 12:08 UTC

Return-Path: <christer.holmberg@ericsson.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 100781295BC for <bfcpbis@ietfa.amsl.com>; Wed, 19 Oct 2016 05:08:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.221
X-Spam-Level:
X-Spam-Status: No, score=-4.221 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
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 b8WO0YdgufvI for <bfcpbis@ietfa.amsl.com>; Wed, 19 Oct 2016 05:08:24 -0700 (PDT)
Received: from sesbmg22.ericsson.net (sesbmg22.ericsson.net [193.180.251.48]) (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 AA4841295D8 for <bfcpbis@ietf.org>; Wed, 19 Oct 2016 05:08:23 -0700 (PDT)
X-AuditID: c1b4fb30-b87ff70000000cb2-c7-580762355b76
Received: from ESESSHC012.ericsson.se (Unknown_Domain [153.88.183.54]) by (Symantec Mail Security) with SMTP id 05.DF.03250.53267085; Wed, 19 Oct 2016 14:08:22 +0200 (CEST)
Received: from ESESSMB209.ericsson.se ([169.254.9.90]) by ESESSHC012.ericsson.se ([153.88.183.54]) with mapi id 14.03.0319.002; Wed, 19 Oct 2016 14:08:21 +0200
From: Christer Holmberg <christer.holmberg@ericsson.com>
To: Christer Holmberg <christer.holmberg@ericsson.com>, Alan Ford <alan.ford@gmail.com>
Thread-Topic: [bfcpbis] BFCPbis: UDP- and TCP candidates and proto value
Thread-Index: AQHSGa3x+izuQLaNQkCcn/MwWSz+h6CjBJQAgATKB4CABHhQAIAAQMmAgANalwA=
Date: Wed, 19 Oct 2016 12:08:20 +0000
Message-ID: <D42D3DE9.11645%christer.holmberg@ericsson.com>
References: <9BE360E6-8462-49BC-9491-7143D476EEAD@cisco.com> <28B9D43D-FF01-4294-BCD6-93E72C0C07E1@gmail.com> <D426777A.11238%christer.holmberg@ericsson.com> <42A8BAE9-A6C2-4112-97FC-2DAE01F9AB0D@gmail.com> <D42A6D07.1138D%christer.holmberg@ericsson.com>
In-Reply-To: <D42A6D07.1138D%christer.holmberg@ericsson.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/14.6.9.160926
x-originating-ip: [153.88.183.147]
Content-Type: text/plain; charset="euc-kr"
Content-ID: <4247F0E32DFE78469678D43C824D6DD2@ericsson.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrAIsWRmVeSWpSXmKPExsUyM2K7ma5ZEnuEweTprBYrz61gtvi37iiT xaZZX9gsZlyYyuzA4jHl90ZWj52z7rJ7LFnyk8nj1pSCAJYoLpuU1JzMstQifbsErozLs2MK DslVHHw8gbGB8Y5sFyMnh4SAicSr1ffYuxi5OIQE1jNK/Jn0kgXCWcwocXbLAtYuRg4ONgEL ie5/2iANIgKREv/mHGEGsZkFaiX+TX8OZgsLuEvsnTqZEaRcRMBDYl5XOUS5n8Svy9MYQWwW AVWJh83P2UBsXgFriafdm6BWtTFJrNjWxQ6S4BSwkVg2fRZYA6OAmMT3U2uYIHaJS9x6Mp8J 4mgBiSV7zjND2KISLx//AztTVEBPYs39MBBTQkBJYtrWNIhOLYkvP/axQdjWEqf7bkNdrygx pfshO8Q5ghInZz5hmcAoPgvJsllI2mchaZ+FpH0WkvYFjKyrGEWLU4uTctONjPRSizKTi4vz 8/TyUks2MQLj8eCW3wY7GF8+dzzEKMDBqMTDq5DMFiHEmlhWXJl7iFGCg1lJhLcugT1CiDcl sbIqtSg/vqg0J7X4EKM0B4uSOK/ZyvvhQgLpiSWp2ampBalFMFkmDk6pBsbp5nM5S5qvP4sw KwsRWzex6c5fhvBTkafl1/Eeeuw4rXGS/dZln97vLGUw1377p9rJQ4jnctKU6seLTI4Kbtmz 7c7/6yYM8zQzHR8dVbi6vC5NhN/xj0S/j4JJF9d+y3cq/U0HV8ttPljptJ19I6fViVviXU52 sqcWMMbzxPFdvGlR+zubNV6JpTgj0VCLuag4EQBbl+8xwwIAAA==
Archived-At: <https://mailarchive.ietf.org/arch/msg/bfcpbis/lSoZCAKD3TpQTnNTG5UKjKwQYws>
Cc: "bfcpbis@ietf.org" <bfcpbis@ietf.org>, "Charles Eckel (eckelcu)" <eckelcu@cisco.com>, Roman Shpount <roman@telurix.com>
Subject: Re: [bfcpbis] BFCPbis: UDP- and TCP candidates and proto value
X-BeenThere: bfcpbis@ietf.org
X-Mailman-Version: 2.1.17
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: Wed, 19 Oct 2016 12:08:25 -0000

Hi,

>>>>While the text is fine and probably closest to current behaviour, it
>>>>means we can¹t get the benefits from ICE if one end supported only one
>>>>of UDP or TCP.
>>>>
>>>> Today if you offer only TCP or UDP as the proto value on the m-line,
>>>>and the far end doesn¹t, then the far end will zero-port the m-line and
>>>>you¹ll 
>>>> either re-INVITE if you support the other, or just run without BFCP.
>>>>That same behaviour would continue with the proposed text.
>>>>
>>>> However, the real benefit of ICE in this circumstance would allow the
>>>>offerer to offer TCP
>>>> and UDP candidates under a TCP m-line, but the answerer, if they
>>>>supported only UDP, could then only offer back only UDP
>>>>
>>>>
>>>> candidates (whilst matching the offerer¹s proto). But given the text
>>>>requires a default candidate to be present matching the proto on the
>>>>m-line, then if the answerer did not support TCP, they would have to
>>>>zero-port the line.
>>>>
>>>> However, I would assume that breaking the semantics of the offered
>>>>proto field is probably not a good thing, and defining a
>>>>transport-agnostic proto isn¹t practical, so borrowing the proposed
>>>>text (with the photo -> proto typo fixed) is probably
>>>>
>>>> sufficient at this stage. Unless anyone can think of a neater way of
>>>>solving this?
>>>
>>>
>>> I guess one solution would be to allow the answerer to use a m- line
>>>proto value that does NOT match the default candidate (or, doesn¹t match
>>>ANY candidate).
>>
>>
>> That would certainly work in this scenario - different from the SCTP
>>text, but would permit this behaviour, whilst still providing clear
>>guidance.
>
>We would update the SCTP text too.
>
>> However, I fear that would go against the ICE spec; specifically, 5245
>>says:
>>
>>   The transport addresses that will be the default destination for
>>   media when communicating with non-ICE peers MUST also be present as
>>   candidates in one or more a=candidate lines.
>>
>> So we¹d no longer be adhering to that in the answer.
>
>The text is certainly valid for the offer, but when the answer is sent it
>is known whether the peers support ICE or not.
>
>In any case, I don¹t think there should be different rules for BFCF, SCTP
>etc. This should be defined in draft-ietf-mmusic-ice-sip-sdp as a generic
>rule.


I was thinking a little more about this: maybe indicating a transport in
the m- line that you don’t support isn’t a very good idea - even if it
won’t be used with ICE.

Maybe it would be better to say that the m- line shall contain a transport
that the peer is “most likely” to support. In case of BFCP, I guess
neither TCP or UDP is mandatory to support, but in other cases there is
often a mandatory transport.

Regards,

Christer
>