Re: [MMUSIC] Comment on SIP Trickle ICE based on INFO draft

Christer Holmberg <christer.holmberg@ericsson.com> Sun, 30 March 2014 09:38 UTC

Return-Path: <christer.holmberg@ericsson.com>
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 35B721A0838 for <mmusic@ietfa.amsl.com>; Sun, 30 Mar 2014 02:38:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.24
X-Spam-Level:
X-Spam-Status: No, score=-1.24 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_EQ_SE=0.35, HOST_MISMATCH_NET=0.311, SPF_PASS=-0.001] autolearn=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 otMeSTydZgCV for <mmusic@ietfa.amsl.com>; Sun, 30 Mar 2014 02:38:38 -0700 (PDT)
Received: from sessmg20.mgmt.ericsson.se (sessmg20.ericsson.net [193.180.251.50]) by ietfa.amsl.com (Postfix) with ESMTP id DE3711A07AE for <mmusic@ietf.org>; Sun, 30 Mar 2014 02:38:37 -0700 (PDT)
X-AuditID: c1b4fb32-b7fe98e0000034f3-62-5337e619a78f
Received: from ESESSHC014.ericsson.se (Unknown_Domain [153.88.253.124]) by sessmg20.mgmt.ericsson.se (Symantec Mail Security) with SMTP id 14.88.13555.916E7335; Sun, 30 Mar 2014 11:38:34 +0200 (CEST)
Received: from ESESSMB209.ericsson.se ([169.254.9.213]) by ESESSHC014.ericsson.se ([153.88.183.60]) with mapi id 14.03.0174.001; Sun, 30 Mar 2014 11:38:33 +0200
From: Christer Holmberg <christer.holmberg@ericsson.com>
To: Emil Ivov <emcho@jitsi.org>, Parthasarathi R <partha@parthasarathi.co.in>
Thread-Topic: [MMUSIC] Comment on SIP Trickle ICE based on INFO draft
Thread-Index: AQHPRocL8dnxxOHFaUGVW6LszOxaAJruf3aAgAUpmQCAAElPgIAFdqWN
Date: Sun, 30 Mar 2014 09:38:32 +0000
Message-ID: <7594FB04B1934943A5C02806D1A2204B1D26BE29@ESESSMB209.ericsson.se>
References: <01e601cf423c$57255890$057009b0$@co.in> <00c901cf4687$0a48dbb0$1eda9310$@co.in> <CAPvvaaKW+vxhJFqUPRZ-YfPQ4dHOS-=YwZaW+=NS3DttaaXD=Q@mail.gmail.com> <013601cf4923$754b35e0$5fe1a1a0$@co.in>, <53335D95.6000806@jitsi.org>
In-Reply-To: <53335D95.6000806@jitsi.org>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [153.88.183.17]
Content-Type: text/plain; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrALMWRmVeSWpSXmKPExsUyM+Jvja7UM/Nggwc7mCzW7JzAYtFyx8ti 6vLHLBaTP/WxOrB4LFnyk8nj/5tAjw/zv7B7tJzrZQ9gieKySUnNySxLLdK3S+DKuD75PWvB MrWKuV0LmRsY78p2MXJySAiYSMxd+IEVwhaTuHBvPVsXIxeHkMBJRonth0ESIM4SRomH91uA MhwcbAIWEt3/tEEaRAR8JW5vb2UGsZkF4iSez77CBmILC7hI/FqygRmixlXi6/JN7BC2m8Tc xycYQWwWAVWJne8bwBbzAs35cvw21OLXjBLtex+AFXEKaEpM+tgKVsQIdN33U2uYIJaJS9x6 Mp8J4moBiSV7zjND2KISLx//YwW5U0JAUWJ5vxxEuYHE+3Pzoe7Ulli28DUzxF5BiZMzn7BM YBSbhWTqLCQts5C0zELSsoCRZRWjZHFqcXFuupGBXm56bolealFmcnFxfp5eceomRmCsHdzy 22gH48k99ocYpTlYlMR5r7PWBAkJpCeWpGanphakFsUXleakFh9iZOLglGpgLG5pPMEjJKDJ P3VrkFXPybqzDZWfAmZZntu0ozs6j5Xt1tXau5vtTrhfZgnfO2dTVY2elP1Hv/N2wuftVs+w Nz7Rvtr7+CeTKin749n8b8UrX+tLl/ysfRzjUvBth/N1DdEd+49c3zFB1XKJ3IzC0w7Lubn2 BVgunmLo/G5LVdSp/e/mHZ2xXYmlOCPRUIu5qDgRAIBCEISDAgAA
Archived-At: http://mailarchive.ietf.org/arch/msg/mmusic/Yl0biCBBeofwrhxv-JIBKKURQTk
Cc: 'mmusic' <mmusic@ietf.org>
Subject: Re: [MMUSIC] Comment on SIP Trickle ICE based on INFO draft
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: <http://www.ietf.org/mail-archive/web/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: Sun, 30 Mar 2014 09:38:40 -0000

Hi,

I have tried to understand the whole issue discussed here, with little success :)

So, rather than trying to come up with a solution, I think we first need to agree on some basic assumptions.

If we claim that Trickle ICE has no impact on the SDP O/A state, then:

1) There should be no need to figure out whether an INFO is sent before an UPDATE; and
2) There should be no need to include the o= line, or any other information that binds the INFO to a specific SDP O/A state.

Instead, Trickle ICE is only a mechanism to transport candidate information from one endpoint to another. Endpoints may of course add those candidates to subsequent Offer/Answers.


Regards,

Christer



________________________________________
From: Emil Ivov [emcho@jitsi.org]
Sent: Thursday, 27 March 2014 1:07 AM
To: Parthasarathi R
Cc: 'mmusic'; Christer Holmberg; 'Enrico Marocco (TiLab)'
Subject: Re: [MMUSIC] Comment on SIP Trickle ICE based on INFO draft

On 26.03.14, 19:44, Parthasarathi R wrote:
>  > > This race condition is very much possible during
>  > > early
>  > > dialog scenarios with UPDATE.
>  > >
>  > > Could you please explain how SIP trickle ICE using INFO works for
>  > >
>  > > 1) UPDATE from remote before Trickle ICE is completed
>
> This is analogous to an UPDATE that is received before regular 5245 ICE
> processing has completed.
>
> <Partha> No, in case UDPATE before the offer is completed, 491 response
> will send out whereas it will not happen in case of INFO </Partha>

I think you might be confusing "before ICE processing has completed" and
"before O/A has completed"

An UPDATE that is received while "vanilla ICE processing is in progress"
would have exactly the same effect as an UPDATE received while "trickle
ICE processing is in progress". If O/A has completed then the UPDATE
will NOT cause a 491 in either case.

>  > >     a) INVITE from local
>  > >     b) 183 session progress from remote
>  > >     c) PRACK from local
>  > >     d) INFO from local (relay candidates)
>  > >     e) UPDATE from remote
>  > >
>  > > Here, the remote has to consider whether INFO belongs to UPDATE or
>  > > INVITE as
>  > > it is possible for INFO to reach before 200 OK for UPDATE as well in
>  > > the
>  > > same sequence.
>
> And CSeq headers wouldn't help here because ....?
>
>  > > Also, RFC 2976
>
> which FWIW is obsoleted by RFC6086
>
> <Partha> Thanks..I still majorly interwork with RFC 2976 implementation
> :-( but please note that RFC 6086 does not change much in these SIP
> dialog or session aspects. The exact snippet of RFC 6086 is as follows:
>
> “Note that the INFO method is not used to update characteristics of a
>     SIP dialog or session, but to allow the applications that use the SIP
>     session to exchange information (which might update the state of
>     those applications).”

Trickle ICE does not update the characteristics of a SIP dialog and I
don't believe it violates the above in any way.

>  > > " - The extensions that use the INFO message MUST NOT rely on the
>  > >      INFO message to do anything that effects the SIP call state or the
>  > >      state of related sessions."
>
> And I don't believe that it does.
>
> <Partha> No, it is not possible to implement this draft without impact
> offer/answer state machine </Partha>

Please provide an example where you think it actually breaks something.
(It might be worth waiting until we submit the new version, which should
probably clarify a few things).

>  > > 2) Trickle ICE INFO with serial forking
>
> INFO requests are sent within a dialog. They will go through the prong
> associated with that dialog and would not be forked.
>
> <Partha> IOW, Trickle ICE INFO will be buffered till 18x response is
> received. So, INFO has no much advantage compare to UPDATE except for
> the non-reliable response scenario.

No advantage? INFOs can be send in both directions and arrive completely
asynchronously without ever causing glare or without having to worry
whose turn it is to send an offer or an answer because you need to
piggyback candidates on top of it.

We've been through this exact same argument several times already, you
haven't pointed out any flaws with this logic so I can't see a reason
why you keep coming back to it.

You claim you are worried about needing to modify the offer/answer state
machine in your implementation, but that is a very strange argument
since that implementation would be much more heavily impacted if you
were to try and trickle with offers and answers.

I think the source of the confusion might be the fact that the draft is
currently in a relatively poor state, which is my fault, and I am
hopeful that you may find many of your answers in the next version.

Emil

--
https://jitsi.org