Re: [rtcweb] STUN for keep-alive - RTCP-less applications

Iñaki Baz Castillo <ibc@aliax.net> Sat, 24 September 2011 16:21 UTC

Return-Path: <ibc@aliax.net>
X-Original-To: rtcweb@ietfa.amsl.com
Delivered-To: rtcweb@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9017021F850B for <rtcweb@ietfa.amsl.com>; Sat, 24 Sep 2011 09:21:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.642
X-Spam-Level:
X-Spam-Status: No, score=-2.642 tagged_above=-999 required=5 tests=[AWL=0.035, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id E98AX-BuS-QO for <rtcweb@ietfa.amsl.com>; Sat, 24 Sep 2011 09:21:49 -0700 (PDT)
Received: from mail-vx0-f172.google.com (mail-vx0-f172.google.com [209.85.220.172]) by ietfa.amsl.com (Postfix) with ESMTP id 8136F21F8509 for <rtcweb@ietf.org>; Sat, 24 Sep 2011 09:21:49 -0700 (PDT)
Received: by vcbfo11 with SMTP id fo11so2499244vcb.31 for <rtcweb@ietf.org>; Sat, 24 Sep 2011 09:24:26 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.52.29.75 with SMTP id i11mr4446981vdh.296.1316881465641; Sat, 24 Sep 2011 09:24:25 -0700 (PDT)
Received: by 10.220.94.200 with HTTP; Sat, 24 Sep 2011 09:24:25 -0700 (PDT)
In-Reply-To: <4E7DFFAA.2040306@alvestrand.no>
References: <7F2072F1E0DE894DA4B517B93C6A05852233EDB21D@ESESSCMS0356.eemea.ericsson.se> <092401cc749b$8fd64940$af82dbc0$@com> <CABcZeBPgRD6kb2gg=m9NckSa1wrzwzJS6527nYqFG34b0cjfgQ@mail.gmail.com> <4E765E4A.3050801@alvestrand.no> <7532C74D-D0D7-474D-80C7-61C07E9290AA@edvina.net> <7D7982AF-7478-4AFD-9F39-ED04A43FEF53@edvina.net> <673BCA71-B624-4DCA-B681-7012E6F9D202@acmepacket.com> <4E799E18.30000@ericsson.com> <855B9078-A81F-45D9-B12F-46CC46C15B60@acmepacket.com> <4E79D5DF.4050402@ericsson.com> <68121E70-4363-47F8-8761-23728C56D003@acmepacket.com> <9348BF4A-8674-4888-9DDC-C734FB935A28@csperkins.org> <7B9A57BB-A585-487D-9655-D835C527059B@acmepacket.com> <4E7AE83E.9090508@ericsson.com> <CALiegfmxjP5ojZeAoz6sYUkKwE7XOtTSGJAOydbX+sm23hrwjg@mail.gmail.com> <7DEACFFC-8AF3-4450-8844-FF6E187AE4D2@edvina.net> <CALiegf=5OPFjvn8WaJq_38OKuGkCed4-M0JTEKJczcCvkAj2YA@mail.gmail.com> <4E7DF923.1070308@alvestrand.no> <CALiegfn-c6EN6K880ZAJLd7r3NcxjPnqAh=W28JMY6FPLXaHeg@mail.gmail.com> <4E7DFFAA.2040306@alvestrand.no>
Date: Sat, 24 Sep 2011 18:24:25 +0200
Message-ID: <CALiegf=YZkjeeqYwPW6Ym0-Fn1NQs2yJNv3MOKR1AdB+Y7y7Uw@mail.gmail.com>
From: Iñaki Baz Castillo <ibc@aliax.net>
To: Harald Alvestrand <harald@alvestrand.no>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Cc: rtcweb@ietf.org
Subject: Re: [rtcweb] STUN for keep-alive - RTCP-less applications
X-BeenThere: rtcweb@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Real-Time Communication in WEB-browsers working group list <rtcweb.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/rtcweb>, <mailto:rtcweb-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/rtcweb>
List-Post: <mailto:rtcweb@ietf.org>
List-Help: <mailto:rtcweb-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rtcweb>, <mailto:rtcweb-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 24 Sep 2011 16:21:50 -0000

2011/9/24 Harald Alvestrand <harald@alvestrand.no>:
> Are we on the same subject line?
>
> In the context we are talking about here (RTCP-less RTP flows), the prompt
> would have to be:
>
> -----------
> The web site www.domain.org wishes to send media to some other place on the
> Internet, and to set the option that allows it to communicate without using
> congestion control being available. You have no way of figuring out where
> the packets are going, whether this will cause harm to you, your network or
> anything else between here and there.
>
> Do you accept?
>
> [ yes ] [ no ]
> ----------
> (note that if we want to include the place stuff is going to in the prompt,
> the prompt has to pop up AFTER we've established the call, and pop up again
> every time the transport addres is renegotiated.)

Just wondering: is not possible to indicate support for RTCP in the
SDP? Anyhow...


> Does this seem reasonable?

No, but what are we trying to prevent? a malicious site could always
initiate a session with a user in behalf of him best friend. I mean a
valid audio/video session (with ICE, RTCP, SRTP and so). The the user
(the WebRTC client) sends RTP there and the malicious site/user
uploads it to Youtube. How can rtcweb security constrains prevent
that???

In the other side, if user A establishes an audio session with user B,
and user B indicates a "malicious" address in the SDP (and does not
send RTCP reports) then user A would realize in just a few seconds
that "something is wrong since there is no audio" and would hangup. In
the meanwhile user A would send a few useless UDP packets to somewhere
within his LAN network, is that so critic?

I really wonder what we are trying to achieve in all these threads
about security in rtcweb.

-- 
Iñaki Baz Castillo
<ibc@aliax.net>