Re: [MMUSIC] ICE and RTCP host components

Harald Alvestrand <harald@alvestrand.no> Fri, 23 October 2015 16:48 UTC

Return-Path: <harald@alvestrand.no>
X-Original-To: mmusic@ietfa.amsl.com
Delivered-To: mmusic@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BCB8C1A8704 for <mmusic@ietfa.amsl.com>; Fri, 23 Oct 2015 09:48:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.009
X-Spam-Level:
X-Spam-Status: No, score=-3.009 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, J_CHICKENPOX_14=0.6, J_CHICKENPOX_64=0.6, RCVD_IN_DNSWL_MED=-2.3, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
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 pEb2gIIgEklf for <mmusic@ietfa.amsl.com>; Fri, 23 Oct 2015 09:48:19 -0700 (PDT)
Received: from mork.alvestrand.no (mork.alvestrand.no [158.38.152.117]) by ietfa.amsl.com (Postfix) with ESMTP id A48E51A870D for <mmusic@ietf.org>; Fri, 23 Oct 2015 09:48:18 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by mork.alvestrand.no (Postfix) with ESMTP id 98E5E7C0BA2 for <mmusic@ietf.org>; Fri, 23 Oct 2015 18:48:17 +0200 (CEST)
X-Virus-Scanned: Debian amavisd-new at alvestrand.no
Received: from mork.alvestrand.no ([127.0.0.1]) by localhost (mork.alvestrand.no [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qlDdGeGAIrVl for <mmusic@ietf.org>; Fri, 23 Oct 2015 18:48:15 +0200 (CEST)
Received: from [IPv6:2001:470:de0a:1:24f4:9167:c144:d9b3] (unknown [IPv6:2001:470:de0a:1:24f4:9167:c144:d9b3]) by mork.alvestrand.no (Postfix) with ESMTPSA id B4BB87C0B95 for <mmusic@ietf.org>; Fri, 23 Oct 2015 18:48:15 +0200 (CEST)
To: mmusic@ietf.org
References: <7594FB04B1934943A5C02806D1A2204B37B7AC27@ESESSMB209.ericsson.se> <56266954.3080206@alum.mit.edu> <CAD5OKxtxHwjdaDnmK9LORM9M0YqQQb+-h66dV8C8Lgy8a6WYiA@mail.gmail.com> <56271989.5010509@alum.mit.edu> <CAD5OKxtW_3Ucq4X=wjhkT17tsxedc1JjEC2KYCchQF=_3uDX7g@mail.gmail.com>
From: Harald Alvestrand <harald@alvestrand.no>
Message-ID: <562A64CF.200@alvestrand.no>
Date: Fri, 23 Oct 2015 18:48:15 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0
MIME-Version: 1.0
In-Reply-To: <CAD5OKxtW_3Ucq4X=wjhkT17tsxedc1JjEC2KYCchQF=_3uDX7g@mail.gmail.com>
Content-Type: multipart/alternative; boundary="------------030003080707040003030001"
Archived-At: <http://mailarchive.ietf.org/arch/msg/mmusic/qjACUuTKN0zkBDnCoDVE9F6fN6A>
Subject: Re: [MMUSIC] ICE and RTCP host components
X-BeenThere: mmusic@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Multiparty Multimedia Session Control Working Group <mmusic.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/mmusic>, <mailto:mmusic-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/mmusic/>
List-Post: <mailto:mmusic@ietf.org>
List-Help: <mailto:mmusic-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/mmusic>, <mailto:mmusic-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 23 Oct 2015 16:48:21 -0000

On 10/22/2015 07:22 AM, Roman Shpount wrote:
> On Wed, Oct 21, 2015 at 12:50 AM, Paul Kyzivat <pkyzivat@alum.mit.edu
> <mailto:pkyzivat@alum.mit.edu>> wrote:
>
>     On 10/20/15 2:01 PM, Roman Shpount wrote:
>
>         On Tue, Oct 20, 2015 at 12:18 PM, Paul Kyzivat
>         <pkyzivat@alum.mit.edu <mailto:pkyzivat@alum.mit.edu>
>         <mailto:pkyzivat@alum.mit.edu <mailto:pkyzivat@alum.mit.edu>>>
>         wrote:
>
>                 Assume the offerer uses a=rtcp to specify a port for
>         RTCP, but the
>                 answerer doesn’t support the attribute (and instead
>         will use RTP
>                 port+1
>                 for RTCP): Does that mean that the offerer needs to
>         allocate
>                 RTCP host
>                 components both for the a=rtcp value and RTP port+1?
>
>
>             This has always been non-sensical to me. The reason to use
>         a=rtcp is
>             because you *can't* use the +1 rule. I don't see how this
>         could ever
>             work when the answerer doesn't support it. But neither do
>         I have an
>             idea how it could have been fixed.
>
>
>         I think originally a=rtcp was essentially best effort. If
>         answerer did
>         not support rtcp attribute then sender will not get the RTCP.
>         For legacy
>         audio flows that was good enough.
>
>
>     The thing is - the sender *will* get the RTCP, at port+1, even if
>     it doesn't have port+1 allocated!
>
>     It would be better if RTCP wasn't sent in this case. But the other
>     end simply didn't understand the a=rtcp, so it will assume default
>     behavior.
>
>
> It is actually worse, since RTCP port not being rtp+1 is normally due
> to NAT. This means RTCP traffic will got to the NAT router and then
> NAT router will forward this traffic to some random end-point. There
> is no way to stop RTCP in such case either, since there is no standard
> way to negotiate no RTCP.
>
> Basically, end points must implement ICE and be deployed with TURN
> servers to play well with other end points. If you implement ICE with
> STUN servers only, one would need to make sure to set up connections
> only to end points they control, which implement ICE or at least SDP
> rtcp attribute. Everything else breaks in interesting and unpleasant
> ways. Building anything new now without ICE, and consent to send
> traffic which is part of ICE, would be highly dangerous and can be
> used for DOS attacks. So, I think it might be safer to remove interop
> with legacy.from anything that supports ICE, and require that remote
> party implements at least ice-lite, or no media flow will be established.

RTCP/RTP multiplexing works for all cases where anything works at all.

Legacy (RTCP port = RTP port + 1) doesn't.

Time to give up on legacy.

> _____________
> Roman Shpount
>  
>
>
> _______________________________________________
> mmusic mailing list
> mmusic@ietf.org
> https://www.ietf.org/mailman/listinfo/mmusic


-- 
Surveillance is pervasive. Go Dark.