Re: [Taps] New Transport Networking APIs in iOS 12 beta

John Grant <j@ninetiles.com> Fri, 15 June 2018 16:37 UTC

Return-Path: <j@ninetiles.com>
X-Original-To: taps@ietfa.amsl.com
Delivered-To: taps@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1D6E5130E22 for <taps@ietfa.amsl.com>; Fri, 15 Jun 2018 09:37:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham autolearn_force=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 4mWacvX4jbNn for <taps@ietfa.amsl.com>; Fri, 15 Jun 2018 09:37:52 -0700 (PDT)
Received: from know-smtprelay-omc-4.server.virginmedia.net (know-smtprelay-omc-4.server.virginmedia.net [80.0.253.68]) (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 78261130DC0 for <taps@ietf.org>; Fri, 15 Jun 2018 09:37:52 -0700 (PDT)
Received: from [192.168.1.35] ([79.64.221.5]) by cmsmtp with ESMTPA id TrjRfvyaEplZRTrjRf5kIN; Fri, 15 Jun 2018 17:37:50 +0100
X-Originating-IP: [79.64.221.5]
X-Authenticated-User: john.s.grant@ntlworld.com
X-Spam: 0
X-Authority: v=2.3 cv=Vf/Zwmh9 c=1 sm=1 tr=0 a=BsjXqBXXfngcj6x1w0OkBQ==:117 a=BsjXqBXXfngcj6x1w0OkBQ==:17 a=IkcTkHD0fZMA:10 a=le6d79QuAAAA:8 a=671qOJ725CEc_yltWOIA:9 a=QEXdDO2ut3YA:10 a=QbAMNLWdp4a7deKPGBBn:22
To: taps@ietf.org
References: <1C14F32A-3ADC-4D35-B800-091697E83AD6@apple.com> <63A71B2E-96E4-402A-89E2-667DDF8B1D08@lurchi.franken.de> <268D7E06-1D1D-4F70-9336-98EAF1BB5605@apple.com> <3EEFA4C8-D9D2-45E8-98FD-55BEA12706E9@ifi.uio.no> <5A1D9981-B8C1-46C3-99AD-7F6C89C8B918@vidyo.com> <D75972DB-3F06-4955-8E78-1BD86992E5D7@ifi.uio.no> <7CBAD06E-5299-413C-BA01-9662EC9DE702@apple.com>
From: John Grant <j@ninetiles.com>
Message-ID: <4f82aa36-3196-1cae-d14d-b2970943dc9b@ninetiles.com>
Date: Fri, 15 Jun 2018 17:37:51 +0100
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0
MIME-Version: 1.0
In-Reply-To: <7CBAD06E-5299-413C-BA01-9662EC9DE702@apple.com>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Transfer-Encoding: 8bit
Content-Language: en-GB
X-CMAE-Envelope: MS4wfIe1KFejVPdTjjpdBatDqatrpQosotJa6/E50yBbhFYGNSCQHfc8LNG5fn1BOtudOrd02/23MBjo0uspafXa+ItsxO1Au0UzbPCd5K4fCCY6Wefh2zNB SLY55TR1IJeRbdwxnt/IVmAZwrHEIsqrBH0=
Archived-At: <https://mailarchive.ietf.org/arch/msg/taps/wZb6s3NdqpdcqJOIR-WeDFC0b4s>
Subject: Re: [Taps] New Transport Networking APIs in iOS 12 beta
X-BeenThere: taps@ietf.org
X-Mailman-Version: 2.1.26
Precedence: list
List-Id: "IETF Transport Services \(TAPS\) Working Group" <taps.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/taps>, <mailto:taps-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/taps/>
List-Post: <mailto:taps@ietf.org>
List-Help: <mailto:taps-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/taps>, <mailto:taps-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 15 Jun 2018 16:37:55 -0000

On 15/06/2018 17:17, Tommy Pauly wrote:

[snip]
>
> Adding back pressure to inbound connections is something that we do 
> need to add. The approach Michael suggests, of just ignoring an 
> inbound connection until we’re ready to process it, certainly would 
> work. The downside is that this requires the caller of the API to 
> manage their own array of pending inbound connections. One option 
> we’ve considered is allowing the application to specify a “receive 
> connection window size” on a listener, thus defining how many more 
> inbound connections they’re ready to handle at a given time. What do 
> people think about this approach?
Yes, that should be effective. One thing that needs to be avoided is the 
possibility of an attacker (or software error) causing huge numbers of 
Connection objects to be created.

-- 
John Grant
Nine Tiles, Cambridge, England
+44 1223 862599 and +44 1223 511455
http://www.ninetiles.com