Re: [Wish] WG Last Call for draft-ietf-wish-whip

Juliusz Chroboczek <jch@irif.fr> Mon, 06 February 2023 11:29 UTC

Return-Path: <jch@irif.fr>
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 576ABC151710 for <wish@ietfa.amsl.com>; Mon, 6 Feb 2023 03:29:56 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.096
X-Spam-Level:
X-Spam-Status: No, score=-2.096 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, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=irif.fr
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rly4yVPFXk9o for <wish@ietfa.amsl.com>; Mon, 6 Feb 2023 03:29:51 -0800 (PST)
Received: from korolev.univ-paris7.fr (korolev.univ-paris7.fr [IPv6:2001:660:3301:8000::1:2]) (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 A3744C1522A0 for <wish@ietf.org>; Mon, 6 Feb 2023 03:29:50 -0800 (PST)
Received: from mailhub.math.univ-paris-diderot.fr (mailhub.math.univ-paris-diderot.fr [81.194.30.253]) by korolev.univ-paris7.fr (8.14.4/8.14.4/relay1/82085) with ESMTP id 316BTlFj012312; Mon, 6 Feb 2023 12:29:47 +0100
Received: from mailhub.math.univ-paris-diderot.fr (localhost [127.0.0.1]) by mailhub.math.univ-paris-diderot.fr (Postfix) with ESMTP id 9028F117891; Mon, 6 Feb 2023 12:29:46 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=irif.fr; h= content-type:content-type:mime-version:user-agent:references :in-reply-to:subject:subject:from:from:message-id:date:date :received:received; s=dkim-irif; t=1675682984; x=1676546985; bh= oMHVpffx24fum68Y96UCQjkrVNdy3aCUQCUX+e3USYc=; b=pfh2Ufk2rV+Uhws5 WoHpcb8hto9u1Y42rm2CuxrLccSuyZN3g+E4nbZZf2nHBFhNGY9LwmcJJEbkpJjt tV4BFImw+LD2/0epLsfglelmVvjjCMTA+hrtqheyFISWoN18iheRUr72EMq0MRk4 nJo2bYj1D5bIDXzT1IqLdNy4LhSspFK528RoV5xyTEiz/hrTV5+RPCUpQIH2Oz+6 k/F0q/PMMnYTyuRvK41oyTcGLY2DTY9vsoSj39mL/GyMfAWLygTGvemIy8MTv5cn VEUkD4GstKu6OEHGByS0AjqrYWeFUuZJpkXDGg8nWYGum4PsSGG3er2btV3PtOWK uDB7Kw==
X-Virus-Scanned: amavisd-new at math.univ-paris-diderot.fr
Received: from mailhub.math.univ-paris-diderot.fr ([127.0.0.1]) by mailhub.math.univ-paris-diderot.fr (mailhub.math.univ-paris-diderot.fr [127.0.0.1]) (amavisd-new, port 10023) with ESMTP id TalHTLfvQyoz; Mon, 6 Feb 2023 12:29:44 +0100 (CET)
Received: from pirx.irif.fr (unknown [78.194.40.74]) (Authenticated sender: jch) by mailhub.math.univ-paris-diderot.fr (Postfix) with ESMTPSA id DA05F11788D; Mon, 6 Feb 2023 12:29:43 +0100 (CET)
Date: Mon, 06 Feb 2023 12:29:43 +0100
Message-ID: <878rhb9gm0.wl-jch@irif.fr>
From: Juliusz Chroboczek <jch@irif.fr>
To: Sergio Garcia Murillo <sergio.garcia.murillo@gmail.com>
Cc: Sean Turner <sean@sn3rd.com>, WISH List <wish@ietf.org>
In-Reply-To: <CA+ag07bqkUjMKvupmokrQiz95=hBD4fEK1VBc2z1Bvd=7irpLw@mail.gmail.com>
References: <5372AA95-F2A7-4E98-8FBA-92CD18D6A9C0@sn3rd.com> <87bkmh2x6a.wl-jch@irif.fr> <CA+ag07bqkUjMKvupmokrQiz95=hBD4fEK1VBc2z1Bvd=7irpLw@mail.gmail.com>
User-Agent: Wanderlust/2.15.9 (Almost Unreal) Emacs/28.2 Mule/6.0
MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue")
Content-Type: text/plain; charset="US-ASCII"
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (korolev.univ-paris7.fr [194.254.61.138]); Mon, 06 Feb 2023 12:29:47 +0100 (CET)
X-Miltered: at korolev with ID 63E0E4AB.000 by Joe's j-chkmail (http : // j-chkmail dot ensmp dot fr)!
X-j-chkmail-Enveloppe: 63E0E4AB.000 from mailhub.math.univ-paris-diderot.fr/mailhub.math.univ-paris-diderot.fr/null/mailhub.math.univ-paris-diderot.fr/<jch@irif.fr>
X-j-chkmail-Score: MSGID : 63E0E4AB.000 on korolev.univ-paris7.fr : j-chkmail score : . : R=. U=. O=. B=0.000 -> S=0.000
X-j-chkmail-Status: Ham
Archived-At: <https://mailarchive.ietf.org/arch/msg/wish/etnrUouc2QBgwuue_WOpkzJpjUk>
Subject: Re: [Wish] WG Last Call for draft-ietf-wish-whip
X-BeenThere: wish@ietf.org
X-Mailman-Version: 2.1.39
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: Mon, 06 Feb 2023 11:29:56 -0000

> We have already discussed about this in here:
> https://github.com/wish-wg/webrtc-http-ingest-protocol/issues/66

Sorry to bring it up again.

> Basically, the suggested proposal is to use this code flow:
> offer = pc.createOffer();
> [answer,iceServers] = POST(offer)
> pc.setConfigutation({iceServers});
> pc.setLocalDescription(offer);
> pc.setRemoteDescription(answer);

I don't understand how that can work.  By the time ICE gathering is
started (by createOffer), it is too late to change the ICE configuration.

> This is guaranteed to work on all JSEP compatible clients.

I'm probably mistaken, but I was under the impression that you need an ICE
restart for the new configuration to have any effect.  Could you please
present your evidence that that is not the case?

>     2. No way to discover whether Trickle ICE is available

[...]

> Even if the media server doesn't support ICE trickle candidate signaling, the
> ICE connection may still be successful, as the media server should support
> receiving STUN binding requests from unknown ips:ports as long as the ice
> username/fragments are correct.
> 
> Trickle ICE is only needed in case that the media server is behind a NAT
> and we need to do nat hole punching.

Could you please explain what happens if the client is behind a firewall
that only allows outgoing TCP traffic, and only to a small set of
well-known ports, which is sadly the case in many university networks?

-- Juliusz