Re: [Wish] Distinguishing ICE restarts from candidates

Sergio Garcia Murillo <sergio.garcia.murillo@gmail.com> Sat, 11 September 2021 13:14 UTC

Return-Path: <sergio.garcia.murillo@gmail.com>
X-Original-To: wish@ietfa.amsl.com
Delivered-To: wish@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3E21E3A144E for <wish@ietfa.amsl.com>; Sat, 11 Sep 2021 06:14:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.097
X-Spam-Level:
X-Spam-Status: No, score=-2.097 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 adP13ao6PHRB for <wish@ietfa.amsl.com>; Sat, 11 Sep 2021 06:14:16 -0700 (PDT)
Received: from mail-pj1-x1031.google.com (mail-pj1-x1031.google.com [IPv6:2607:f8b0:4864:20::1031]) (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 B4DC03A144D for <wish@ietf.org>; Sat, 11 Sep 2021 06:14:16 -0700 (PDT)
Received: by mail-pj1-x1031.google.com with SMTP id k23-20020a17090a591700b001976d2db364so3333333pji.2 for <wish@ietf.org>; Sat, 11 Sep 2021 06:14:16 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=blndl8b7Mho84o566sITZJpk6VR9q7f97G66C3PnZ3U=; b=npAGj3pad894+b6yibm4RZhgKxd8fUcuPwRejX9y7fuF8tZK7mhC7ppY3m68ayHlsb Nx4r61/FDSYOU6siE9+3ylSPtcfRHBGGnXMd99IRoqX/oRus41lsKFEuzHNQzrkwNGXx F3shE+VIxCOW1vBNgc9vgp5nEK/NR3sffoEM/vYsfSVgE/1KoEAWZI/bBfFiJHA84fRr muIus+mYuZT7gsKxk2ReAhKYE2hV030ncx6SGYvjr4bUh8GGYS1V7t8pwS9QAO79y/HX 07lrOIdq9fu91ZQgEIBwW2gzKLCiW3f6J73sVUSxqUE2bR0ef0ML21IYayahAPSwnOZJ 8TMA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=blndl8b7Mho84o566sITZJpk6VR9q7f97G66C3PnZ3U=; b=cA7Gh/c862bVcX8sISSCwWKxaRTC0UPZr+hKqe2A+lzMDaGvnWUCPUTfTHoP9XpJn+ LniMcpx4/l4OLjGRAm+ZWmA6OPc5zJIDYD1avHOJK+cjh4tWkSW6nNyvx/G2GMOIdWWI 1rXTK1lqxgo1CkEuUniZc2F9ND2Ag+LM2ry+OX75yaNuXM3j+Z0HDsX0A21Kdfrdeglr 7KFPmqbgv5LE2aGoJu6MYW6GwFsc0H0dRXGNwEjZZzZSz83vLdlyXilOd+Jx8biXKBvh meSJfricT7PS/AB/v05pUWD9ix3/e1Do/7QdiZo/XiWgYWD4TqMdYvYr3KKwveqjf9n0 Xvlw==
X-Gm-Message-State: AOAM533/2ScxJc8h/vQsa8Z+PQDApTJlRk/T57YMAH79vaVT6H6zDqta Og1w5PNWmb1JeF+LPDoz329qFqSq77aQBuNw84nLJMxF
X-Google-Smtp-Source: ABdhPJySaIsdE1M+CHyBAprpSKJQTcwYhUWJzjqg+KsNp3egz7JJrOuWFN6QlxsFbSzIio6Ov9rZoM0UYfj1xHHO9Uo=
X-Received: by 2002:a17:90a:4b4d:: with SMTP id o13mr2947690pjl.236.1631366055641; Sat, 11 Sep 2021 06:14:15 -0700 (PDT)
MIME-Version: 1.0
References: <87o88zuuuu.wl-jch@irif.fr>
In-Reply-To: <87o88zuuuu.wl-jch@irif.fr>
From: Sergio Garcia Murillo <sergio.garcia.murillo@gmail.com>
Date: Sat, 11 Sep 2021 15:14:03 +0200
Message-ID: <CA+ag07a+A6N=GSpSzXrqWMnE+Z=QUQeUirNO+oWx2edV48WRRw@mail.gmail.com>
To: Juliusz Chroboczek <jch@irif.fr>
Cc: WISH List <wish@ietf.org>
Content-Type: multipart/alternative; boundary="0000000000003ec83905cbb80278"
Archived-At: <https://mailarchive.ietf.org/arch/msg/wish/AuTAWKhrcAvMXF9cWG4vHGdejz4>
Subject: Re: [Wish] Distinguishing ICE restarts from candidates
X-BeenThere: wish@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: WebRTC Ingest Signaling over HTTPS <wish.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/wish>, <mailto:wish-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/wish/>
List-Post: <mailto:wish@ietf.org>
List-Help: <mailto:wish-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/wish>, <mailto:wish-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 11 Sep 2021 13:14:22 -0000

El sáb., 11 sept. 2021 15:04, Juliusz Chroboczek <jch@irif.fr> escribió:

> If I read draft-ietf-wish-whip-00 Section 4.1 right, both ICE restarts and
> candidates are sent using the PATCH method and MIME type
> "application/trickle-ice-sdpfrag".  Which is weird.
>
> I'm currently assuming that a body starting with "v=" is an ICE restart,
> and a set of ICE candidates otherwise.
>
> Should ICE restart use a POST with MIME type "application/sdp"?  Is it
> okay to simply use the method and/or the MIME type to distinguish between
> restarts and candidates?
>

Why an ice restart would require a full sdp exchange when only new ice
username and password and candidates are required?

Best regards
Sergio

>