Re: [Last-Call] [Taps] Last Call: <draft-ietf-taps-interface-25.txt> (An Abstract Application Layer Interface to Transport Services) to Proposed Standard

Tommy Pauly <tpauly@apple.com> Mon, 11 March 2024 15:48 UTC

Return-Path: <tpauly@apple.com>
X-Original-To: last-call@ietfa.amsl.com
Delivered-To: last-call@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D0BA3C14F69E for <last-call@ietfa.amsl.com>; Mon, 11 Mar 2024 08:48:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.404
X-Spam-Level:
X-Spam-Status: No, score=-4.404 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=apple.com
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 6_E976wfMxce for <last-call@ietfa.amsl.com>; Mon, 11 Mar 2024 08:48:52 -0700 (PDT)
Received: from ma-mailsvcp-mx-lapp01.apple.com (ma-mailsvcp-mx-lapp01.apple.com [17.32.222.22]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 18DAFC14F618 for <last-call@ietf.org>; Mon, 11 Mar 2024 08:48:52 -0700 (PDT)
Received: from rn-mailsvcp-mta-lapp02.rno.apple.com (rn-mailsvcp-mta-lapp02.rno.apple.com [10.225.203.150]) by ma-mailsvcp-mx-lapp01.apple.com (Oracle Communications Messaging Server 8.1.0.23.20230328 64bit (built Mar 28 2023)) with ESMTPS id <0SA600H2RX9ENN00@ma-mailsvcp-mx-lapp01.apple.com> for last-call@ietf.org; Mon, 11 Mar 2024 08:48:51 -0700 (PDT)
X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-03-11_10,2024-03-11_01,2023-05-22_02
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=apple.com; h=from : message-id : content-type : mime-version : subject : date : in-reply-to : cc : to : references; s=20180706; bh=V9+ilEN/vVUY86KKwncXNVZebtY0hrDS+Y+MA0JMN8o=; b=v7y2KyGibklYIY+JAIFOrowTtLzKdtgtNMJM/dfedHkoZK5qvDcVHvAAv5qHZuYCymPw AaHudE/w5Ej19gkQ6UPgwapW+Hw7SuS2QaQ9d2hqBHcQwMuDEM3sGxuyUE8cBU76zYjf kXwM5V4Qi2xqyie6+EUavjZB5XqYE3mkj0z6puE01wCbbeblfGPSFxUNUhyZp01qvdZw +7grI5XPrkwJoKC4uFF6asEvdFrKwdkzbWGVF86w4PzCiwDhcTxE4JFXOKuNxNhWuaFs dH8b1gzr+gQNtL9NK6mNUx/lLXrfQHyoZOMeBd/7khnFEpswKrIcHVnLWBZy94duPqtf Pw==
Received: from rn-mailsvcp-mmp-lapp02.rno.apple.com (rn-mailsvcp-mmp-lapp02.rno.apple.com [17.179.253.15]) by rn-mailsvcp-mta-lapp02.rno.apple.com (Oracle Communications Messaging Server 8.1.0.23.20230328 64bit (built Mar 28 2023)) with ESMTPS id <0SA600IUXX9DFE60@rn-mailsvcp-mta-lapp02.rno.apple.com>; Mon, 11 Mar 2024 08:48:49 -0700 (PDT)
Received: from process_milters-daemon.rn-mailsvcp-mmp-lapp02.rno.apple.com by rn-mailsvcp-mmp-lapp02.rno.apple.com (Oracle Communications Messaging Server 8.1.0.23.20230328 64bit (built Mar 28 2023)) id <0SA600R00X7PX900@rn-mailsvcp-mmp-lapp02.rno.apple.com>; Mon, 11 Mar 2024 08:48:49 -0700 (PDT)
X-Va-A:
X-Va-T-CD: 77c40f669fd41aacbbe5121aa5d6725f
X-Va-E-CD: da3c9f027155888b474264e26658cd87
X-Va-R-CD: e380f1c1c1dbea7c5ecbe7de15f246f4
X-Va-ID: 19f27b08-7182-458f-a665-b95b5c9265d7
X-Va-CD: 0
X-V-A:
X-V-T-CD: 77c40f669fd41aacbbe5121aa5d6725f
X-V-E-CD: da3c9f027155888b474264e26658cd87
X-V-R-CD: e380f1c1c1dbea7c5ecbe7de15f246f4
X-V-ID: 692713d7-361d-4f8b-8755-76cd8b479ff7
X-V-CD: 0
X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-03-11_10,2024-03-11_01,2023-05-22_02
Received: from smtpclient.apple ([17.230.128.154]) by rn-mailsvcp-mmp-lapp02.rno.apple.com (Oracle Communications Messaging Server 8.1.0.23.20230328 64bit (built Mar 28 2023)) with ESMTPSA id <0SA6004IJX9CRE00@rn-mailsvcp-mmp-lapp02.rno.apple.com>; Mon, 11 Mar 2024 08:48:49 -0700 (PDT)
From: Tommy Pauly <tpauly@apple.com>
Message-id: <F4959284-A38E-4629-B5EC-4835F9D005F4@apple.com>
Content-type: multipart/alternative; boundary="Apple-Mail=_BCEF1C8F-706F-404D-83BB-13D0282BB67E"
MIME-version: 1.0 (Mac OS X Mail 16.0 \(3774.500.171.1.1\))
Date: Mon, 11 Mar 2024 08:48:38 -0700
In-reply-to: <5f27f700-1110-c773-df95-e1b784e8f299@gmail.com>
Cc: last-call@ietf.org, draft-ietf-taps-interface@ietf.org, taps-chairs@ietf.org, anna.brunstrom@kau.se, taps@ietf.org
To: Brian E Carpenter <brian.e.carpenter@gmail.com>
References: <170809307174.2850.3578202994430798602@ietfa.amsl.com> <5f27f700-1110-c773-df95-e1b784e8f299@gmail.com>
X-Mailer: Apple Mail (2.3774.500.171.1.1)
Archived-At: <https://mailarchive.ietf.org/arch/msg/last-call/QY99lYmEuby6UYtfq0qtIv1P6WU>
Subject: Re: [Last-Call] [Taps] Last Call: <draft-ietf-taps-interface-25.txt> (An Abstract Application Layer Interface to Transport Services) to Proposed Standard
X-BeenThere: last-call@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: IETF Last Calls <last-call.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/last-call>, <mailto:last-call-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/last-call/>
List-Post: <mailto:last-call@ietf.org>
List-Help: <mailto:last-call-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/last-call>, <mailto:last-call-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 11 Mar 2024 15:48:55 -0000

Hi Brian,

> On Feb 16, 2024, at 11:53 AM, Brian E Carpenter <brian.e.carpenter@gmail.com> wrote:
> 
> It's good to see this work advancing. I have a few comments:
> 
> 1. Unless I've missed it, the terminology and notation only support IP addresses in their human-readable form. There are situations where an API user needs to manipulate addresses as binary objects. (The Python ipaddress.ip_address class is an example of how to handle this,
> with its .packed property.) How does the TAPS API expose this?

The IP addresses are not expected to be strings (although a concrete API certainly may offer that option). The type is “defined" here:

https://www.ietf.org/archive/id/draft-ietf-taps-interface-25.html#section-1.1-17.5.1

And used here:

https://www.ietf.org/archive/id/draft-ietf-taps-interface-25.html#section-6.1-11.1.1

Note that this is just as an “address” type, not a string.

In the concrete API instantiation that we have at Apple, we allow this type to be created either with a data blob or a string:
https://developer.apple.com/documentation/network/ipaddress

> 
> 2. The same applies to interface names, which (as described in RFC 4007, where they are called Zone Identifiers) correspond to  underlying interface indexes (integers). IPv6 addresses are actually {address, interface_index} 2-tuples - the interface index is not optional, it's just normally defaulted to zero. I think this property needs to be listed in section 1.1, not hidden away in section 6.1, with a citation of RFC 4007.

I don’t think I agree that an interface identifier needs a top-level type in the API here. While in concrete API instantiations, it is useful to have an interface object or identifier, the nature of the identifier can vary depending on the operating system / platform / language, etc. The “common” type is just a string, as we use it in 6.1, and the exact nature of a more specific type depends on the platform.

This is similar to the PvD identification situation, described in https://www.ietf.org/archive/id/draft-ietf-taps-interface-25.html#section-6.2.12-4.

The fact that the interface is technically present in an IPv6 address, but defaults to zero, is a good example of how a higher-level API can make that an optional field.

> 
> 3. I realise that this is an abstract API, but for such an ambitious project, I am quite disappointed that there is no Implementation Status section per BCP205. How many implementations already exist?

As Michael noted, the implementation list is in the implementation draft, which already is past last call, etc:

https://www.ietf.org/archive/id/draft-ietf-taps-impl-18.html#name-existing-implementations

Thanks,
Tommy
> 
> Regards
>   Brian Carpenter
> 
> On 17-Feb-24 03:17, The IESG wrote:
>> The IESG has received a request from the Transport Services WG (taps) to
>> consider the following document: - 'An Abstract Application Layer Interface
>> to Transport Services'
>>   <draft-ietf-taps-interface-25.txt> as Proposed Standard
>> The IESG plans to make a decision in the next few weeks, and solicits final
>> comments on this action. Please send substantive comments to the
>> last-call@ietf.org mailing lists by 2024-03-01. Exceptionally, comments may
>> be sent to iesg@ietf.org instead. In either case, please retain the beginning
>> of the Subject line to allow automated sorting.
>> Abstract
>>    This document describes an abstract application programming
>>    interface, API, to the transport layer that enables the selection of
>>    transport protocols and network paths dynamically at runtime.  This
>>    API enables faster deployment of new protocols and protocol features
>>    without requiring changes to the applications.  The specified API
>>    follows the Transport Services architecture by providing
>>    asynchronous, atomic transmission of messages.  It is intended to
>>    replace the BSD sockets API as the common interface to the transport
>>    layer, in an environment where endpoints could select from multiple
>>    network paths and potential transport protocols.
>> The file can be obtained via
>> https://datatracker.ietf.org/doc/draft-ietf-taps-interface/
>> This draft is going for a 2nd IETF last call due to the changes resulted during the IESG evaluation. A diff towards the -20 version of this document should show the changes since the previous IETF last call.
>> No IPR declarations have been submitted directly on this I-D.
>> _______________________________________________
>> IETF-Announce mailing list
>> IETF-Announce@ietf.org
>> https://www.ietf.org/mailman/listinfo/ietf-announce
> 
> _______________________________________________
> Taps mailing list
> Taps@ietf.org
> https://www.ietf.org/mailman/listinfo/taps