Re: [Wish] Implementation report for draft-ietf-wish-whip-00

Adam Roach <adam@nostrum.com> Sat, 11 September 2021 19:26 UTC

Return-Path: <adam@nostrum.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 D0EFD3A22CE for <wish@ietfa.amsl.com>; Sat, 11 Sep 2021 12:26:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.08
X-Spam-Level:
X-Spam-Status: No, score=-2.08 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, NICE_REPLY_A=-0.001, T_SPF_HELO_PERMERROR=0.01, T_SPF_PERMERROR=0.01, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=nostrum.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 EdZk0HI9DnSs for <wish@ietfa.amsl.com>; Sat, 11 Sep 2021 12:26:45 -0700 (PDT)
Received: from nostrum.com (raven-v6.nostrum.com [IPv6:2001:470:d:1130::1]) (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 6FF3B3A22CB for <wish@ietf.org>; Sat, 11 Sep 2021 12:26:45 -0700 (PDT)
Received: from [172.17.121.48] (76-218-40-253.lightspeed.dllstx.sbcglobal.net [76.218.40.253]) (authenticated bits=0) by nostrum.com (8.17.1/8.16.1) with ESMTPSA id 18BJQf77088590 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Sat, 11 Sep 2021 14:26:42 -0500 (CDT) (envelope-from adam@nostrum.com)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=nostrum.com; s=default; t=1631388402; bh=f3ylZpG6gZbPTCyEy90oNFncsdZC0x5X8B0ycChq9rw=; h=Subject:To:References:From:Date:In-Reply-To; b=U2Avuq8l0PaUirv+pWadpKE6H2V7qp3bX+OiwZDkF+ofAS3FmNS/LZ+56gOgN7qBc 5GMM1GVkTOCffaRO4YuxPoq9XAKM1Fd1gmo1oFguGATHfzXYXa6vT9sVa2H1bFJ0EP vokFLuenZUEHelddIfHPjVWR0NIMOOmul/YrdNQ4=
X-Authentication-Warning: raven.nostrum.com: Host 76-218-40-253.lightspeed.dllstx.sbcglobal.net [76.218.40.253] claimed to be [172.17.121.48]
To: Juliusz Chroboczek <jch@irif.fr>, wish@ietf.org
References: <874kathgcl.wl-jch@irif.fr>
From: Adam Roach <adam@nostrum.com>
Message-ID: <bb097c5d-1bc5-c926-df33-c30aa4b9d41f@nostrum.com>
Date: Sat, 11 Sep 2021 14:26:36 -0500
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Thunderbird/68.12.1
MIME-Version: 1.0
In-Reply-To: <874kathgcl.wl-jch@irif.fr>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Content-Language: en-US
Archived-At: <https://mailarchive.ietf.org/arch/msg/wish/IcJipv9yuZKJQoCJUuARPhmQBBI>
Subject: Re: [Wish] Implementation report for draft-ietf-wish-whip-00
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 19:26:51 -0000

A couple of thoughts about some pints Juliusz raised:

On 9/9/2021 11:19 AM, Juliusz Chroboczek wrote:
>       - what is the error to return when I receive an ICE candidate for
>         a PeerConnection that used to exist but has been closed?  I'm
>         currently doing 404, which means the client cannot easily
>         distinguish between this case and that of a wrong value for the
>         resource endpoint.


The response code with the semantic you describe is 410, but I don't 
think we can require that servers make a distinction. Doing so requires 
maintaining historical records of all PeerConnections ever created. We 
could specify a window of time that servers need to remember this 
information, but I think we need to understand the value of the client 
knowing the difference before we imposed this kind of requirement on 
servers.


>       - what happens if a candidate is followed by random non-JSON garbage?
>         Is that an error?  If so, MUST I return an error or MAY I return an
>         error?  I'm currently just ignoring the garbage.


Based on a lot of real-world experience with SIP, HTTP, and HTML, I've 
come around to the position that draft-iab-protocol-maintenance makes 
some good points, and that section 7 is particularly compelling. 
https://www.ietf.org/archive/id/draft-iab-protocol-maintenance-05.html#name-virtuous-intolerance

/a