| draft-ietf-taps-interface-25.txt | draft-ietf-taps-interface-26.txt | |||
|---|---|---|---|---|
| TAPS Working Group B. Trammell, Ed. | TAPS Working Group B. Trammell, Ed. | |||
| Internet-Draft Google Switzerland GmbH | Internet-Draft Google Switzerland GmbH | |||
| Intended status: Standards Track M. Welzl, Ed. | Intended status: Standards Track M. Welzl, Ed. | |||
| Expires: 2 August 2024 University of Oslo | Expires: 18 September 2024 University of Oslo | |||
| R. Enghardt | R. Enghardt | |||
| Netflix | Netflix | |||
| G. Fairhurst | G. Fairhurst | |||
| University of Aberdeen | University of Aberdeen | |||
| M. Kuehlewind | M. Kuehlewind | |||
| Ericsson | Ericsson | |||
| C. Perkins | C. Perkins | |||
| University of Glasgow | University of Glasgow | |||
| P. Tiesel | P. Tiesel | |||
| SAP SE | SAP SE | |||
| T. Pauly | T. Pauly | |||
| Apple Inc. | Apple Inc. | |||
| 30 January 2024 | 17 March 2024 | |||
| An Abstract Application Layer Interface to Transport Services | An Abstract Application Layer Interface to Transport Services | |||
| draft-ietf-taps-interface-25 | draft-ietf-taps-interface-26 | |||
| Abstract | Abstract | |||
| This document describes an abstract application programming | This document describes an abstract application programming | |||
| interface, API, to the transport layer that enables the selection of | interface, API, to the transport layer that enables the selection of | |||
| transport protocols and network paths dynamically at runtime. This | transport protocols and network paths dynamically at runtime. This | |||
| API enables faster deployment of new protocols and protocol features | API enables faster deployment of new protocols and protocol features | |||
| without requiring changes to the applications. The specified API | without requiring changes to the applications. The specified API | |||
| follows the Transport Services architecture by providing | follows the Transport Services architecture by providing | |||
| asynchronous, atomic transmission of messages. It is intended to | asynchronous, atomic transmission of messages. It is intended to | |||
| skipping to change at page 2, line 10 ¶ | skipping to change at page 2, line 10 ¶ | |||
| Internet-Drafts are working documents of the Internet Engineering | Internet-Drafts are working documents of the Internet Engineering | |||
| Task Force (IETF). Note that other groups may also distribute | Task Force (IETF). Note that other groups may also distribute | |||
| working documents as Internet-Drafts. The list of current Internet- | working documents as Internet-Drafts. The list of current Internet- | |||
| Drafts is at https://datatracker.ietf.org/drafts/current/. | Drafts is at https://datatracker.ietf.org/drafts/current/. | |||
| Internet-Drafts are draft documents valid for a maximum of six months | Internet-Drafts are draft documents valid for a maximum of six months | |||
| and may be updated, replaced, or obsoleted by other documents at any | and may be updated, replaced, or obsoleted by other documents at any | |||
| time. It is inappropriate to use Internet-Drafts as reference | time. It is inappropriate to use Internet-Drafts as reference | |||
| material or to cite them other than as "work in progress." | material or to cite them other than as "work in progress." | |||
| This Internet-Draft will expire on 2 August 2024. | This Internet-Draft will expire on 18 September 2024. | |||
| Copyright Notice | Copyright Notice | |||
| Copyright (c) 2024 IETF Trust and the persons identified as the | Copyright (c) 2024 IETF Trust and the persons identified as the | |||
| document authors. All rights reserved. | document authors. All rights reserved. | |||
| This document is subject to BCP 78 and the IETF Trust's Legal | This document is subject to BCP 78 and the IETF Trust's Legal | |||
| Provisions Relating to IETF Documents (https://trustee.ietf.org/ | Provisions Relating to IETF Documents (https://trustee.ietf.org/ | |||
| license-info) in effect on the date of publication of this document. | license-info) in effect on the date of publication of this document. | |||
| Please review these documents carefully, as they describe your rights | Please review these documents carefully, as they describe your rights | |||
| skipping to change at page 2, line 44 ¶ | skipping to change at page 2, line 44 ¶ | |||
| 3.1.1. Server Example . . . . . . . . . . . . . . . . . . . 10 | 3.1.1. Server Example . . . . . . . . . . . . . . . . . . . 10 | |||
| 3.1.2. Client Example . . . . . . . . . . . . . . . . . . . 11 | 3.1.2. Client Example . . . . . . . . . . . . . . . . . . . 11 | |||
| 3.1.3. Peer Example . . . . . . . . . . . . . . . . . . . . 13 | 3.1.3. Peer Example . . . . . . . . . . . . . . . . . . . . 13 | |||
| 4. Transport Properties . . . . . . . . . . . . . . . . . . . . 14 | 4. Transport Properties . . . . . . . . . . . . . . . . . . . . 14 | |||
| 4.1. Transport Property Names . . . . . . . . . . . . . . . . 15 | 4.1. Transport Property Names . . . . . . . . . . . . . . . . 15 | |||
| 4.2. Transport Property Types . . . . . . . . . . . . . . . . 16 | 4.2. Transport Property Types . . . . . . . . . . . . . . . . 16 | |||
| 5. Scope of the API Definition . . . . . . . . . . . . . . . . . 17 | 5. Scope of the API Definition . . . . . . . . . . . . . . . . . 17 | |||
| 6. Pre-Establishment Phase . . . . . . . . . . . . . . . . . . . 18 | 6. Pre-Establishment Phase . . . . . . . . . . . . . . . . . . . 18 | |||
| 6.1. Specifying Endpoints . . . . . . . . . . . . . . . . . . 19 | 6.1. Specifying Endpoints . . . . . . . . . . . . . . . . . . 19 | |||
| 6.1.1. Using Multicast Endpoints . . . . . . . . . . . . . . 21 | 6.1.1. Using Multicast Endpoints . . . . . . . . . . . . . . 21 | |||
| 6.1.2. Constraining Interfaces for Endpoints . . . . . . . . 22 | 6.1.2. Constraining Interfaces for Endpoints . . . . . . . . 23 | |||
| 6.1.3. Protocol-Specific Endpoints . . . . . . . . . . . . . 23 | 6.1.3. Protocol-Specific Endpoints . . . . . . . . . . . . . 23 | |||
| 6.1.4. Endpoint Examples . . . . . . . . . . . . . . . . . . 23 | 6.1.4. Endpoint Examples . . . . . . . . . . . . . . . . . . 24 | |||
| 6.1.5. Multicast Examples . . . . . . . . . . . . . . . . . 24 | 6.1.5. Multicast Examples . . . . . . . . . . . . . . . . . 25 | |||
| 6.2. Specifying Transport Properties . . . . . . . . . . . . . 27 | 6.2. Specifying Transport Properties . . . . . . . . . . . . . 27 | |||
| 6.2.1. Reliable Data Transfer (Connection) . . . . . . . . . 30 | 6.2.1. Reliable Data Transfer (Connection) . . . . . . . . . 30 | |||
| 6.2.2. Preservation of Message Boundaries . . . . . . . . . 30 | 6.2.2. Preservation of Message Boundaries . . . . . . . . . 30 | |||
| 6.2.3. Configure Per-Message Reliability . . . . . . . . . . 30 | 6.2.3. Configure Per-Message Reliability . . . . . . . . . . 30 | |||
| 6.2.4. Preservation of Data Ordering . . . . . . . . . . . . 31 | 6.2.4. Preservation of Data Ordering . . . . . . . . . . . . 31 | |||
| 6.2.5. Use 0-RTT Session Establishment with a Safely | 6.2.5. Use 0-RTT Session Establishment with a Safely | |||
| Replayable Message . . . . . . . . . . . . . . . . . 31 | Replayable Message . . . . . . . . . . . . . . . . . 31 | |||
| 6.2.6. Multistream Connections in Group . . . . . . . . . . 31 | 6.2.6. Multistream Connections in Group . . . . . . . . . . 31 | |||
| 6.2.7. Full Checksum Coverage on Sending . . . . . . . . . . 31 | 6.2.7. Full Checksum Coverage on Sending . . . . . . . . . . 31 | |||
| 6.2.8. Full Checksum Coverage on Receiving . . . . . . . . . 32 | 6.2.8. Full Checksum Coverage on Receiving . . . . . . . . . 32 | |||
| skipping to change at page 4, line 38 ¶ | skipping to change at page 4, line 38 ¶ | |||
| 14. Acknowledgments . . . . . . . . . . . . . . . . . . . . . . . 85 | 14. Acknowledgments . . . . . . . . . . . . . . . . . . . . . . . 85 | |||
| 15. References . . . . . . . . . . . . . . . . . . . . . . . . . 85 | 15. References . . . . . . . . . . . . . . . . . . . . . . . . . 85 | |||
| 15.1. Normative References . . . . . . . . . . . . . . . . . . 85 | 15.1. Normative References . . . . . . . . . . . . . . . . . . 85 | |||
| 15.2. Informative References . . . . . . . . . . . . . . . . . 86 | 15.2. Informative References . . . . . . . . . . . . . . . . . 86 | |||
| Appendix A. Implementation Mapping . . . . . . . . . . . . . . . 90 | Appendix A. Implementation Mapping . . . . . . . . . . . . . . . 90 | |||
| A.1. Types . . . . . . . . . . . . . . . . . . . . . . . . . . 90 | A.1. Types . . . . . . . . . . . . . . . . . . . . . . . . . . 90 | |||
| A.2. Events and Errors . . . . . . . . . . . . . . . . . . . . 91 | A.2. Events and Errors . . . . . . . . . . . . . . . . . . . . 91 | |||
| A.3. Time Duration . . . . . . . . . . . . . . . . . . . . . . 91 | A.3. Time Duration . . . . . . . . . . . . . . . . . . . . . . 91 | |||
| Appendix B. Convenience Functions . . . . . . . . . . . . . . . 91 | Appendix B. Convenience Functions . . . . . . . . . . . . . . . 91 | |||
| B.1. Adding Preference Properties . . . . . . . . . . . . . . 91 | B.1. Adding Preference Properties . . . . . . . . . . . . . . 91 | |||
| B.2. Transport Property Profiles . . . . . . . . . . . . . . . 91 | B.2. Transport Property Profiles . . . . . . . . . . . . . . . 92 | |||
| B.2.1. reliable-inorder-stream . . . . . . . . . . . . . . . 92 | B.2.1. reliable-inorder-stream . . . . . . . . . . . . . . . 92 | |||
| B.2.2. reliable-message . . . . . . . . . . . . . . . . . . 92 | B.2.2. reliable-message . . . . . . . . . . . . . . . . . . 92 | |||
| B.2.3. unreliable-datagram . . . . . . . . . . . . . . . . . 92 | B.2.3. unreliable-datagram . . . . . . . . . . . . . . . . . 93 | |||
| Appendix C. Relationship to the Minimal Set of Transport Services | Appendix C. Relationship to the Minimal Set of Transport Services | |||
| for End Systems . . . . . . . . . . . . . . . . . . . . . 93 | for End Systems . . . . . . . . . . . . . . . . . . . . . 94 | |||
| Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . 96 | Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . 97 | |||
| 1. Introduction | 1. Introduction | |||
| This document specifies an abstract application programming interface | This document specifies an abstract application programming interface | |||
| (API) that describes the interface component of the high-level | (API) that describes the interface component of the high-level | |||
| Transport Services architecture defined in [I-D.ietf-taps-arch]. A | Transport Services architecture defined in [I-D.ietf-taps-arch]. A | |||
| Transport Services system supports asynchronous, atomic transmission | Transport Services system supports asynchronous, atomic transmission | |||
| of messages over transport protocols and network paths dynamically | of messages over transport protocols and network paths dynamically | |||
| selected at runtime, in environments where an endpoint selects from | selected at runtime, in environments where an endpoint selects from | |||
| multiple network paths and potential transport protocols. | multiple network paths and potential transport protocols. | |||
| skipping to change at page 6, line 51 ¶ | skipping to change at page 6, line 51 ¶ | |||
| We also make use of the following basic types: | We also make use of the following basic types: | |||
| * Boolean: Instances take the value true or false. | * Boolean: Instances take the value true or false. | |||
| * Integer: Instances take integer values. | * Integer: Instances take integer values. | |||
| * Numeric: Instances take real number values. | * Numeric: Instances take real number values. | |||
| * String: Instances are represented in UTF-8. | * String: Instances are represented in UTF-8. | |||
| * IP Address: An IPv4 or IPv6 address [RFC5952]. | * IP Address: An IPv4 [RFC791] or IPv6 [RFC4291] address. | |||
| * Enumeration: A family of types in which each instance takes one of | * Enumeration: A family of types in which each instance takes one of | |||
| a fixed, predefined set of values specific to a given enumerated | a fixed, predefined set of values specific to a given enumerated | |||
| type. | type. | |||
| * Tuple: An ordered grouping of multiple value types, represented as | * Tuple: An ordered grouping of multiple value types, represented as | |||
| a comma-separated list in parentheses, e.g., (Enumeration, | a comma-separated list in parentheses, e.g., (Enumeration, | |||
| Preference). Instances take a sequence of values each valid for | Preference). Instances take a sequence of values each valid for | |||
| the corresponding value type. | the corresponding value type. | |||
| skipping to change at page 20, line 12 ¶ | skipping to change at page 20, line 12 ¶ | |||
| RemoteSpecifier.WithPort(443) | RemoteSpecifier.WithPort(443) | |||
| * Service (an identifier string that maps to a port; either a | * Service (an identifier string that maps to a port; either a | |||
| service name associated with a port number, from | service name associated with a port number, from | |||
| https://www.iana.org/assignments/service-names-port-numbers/ | https://www.iana.org/assignments/service-names-port-numbers/ | |||
| service-names-port-numbers.xhtml, or a DNS SRV service name to be | service-names-port-numbers.xhtml, or a DNS SRV service name to be | |||
| resolved): | resolved): | |||
| RemoteSpecifier.WithService("https") | RemoteSpecifier.WithService("https") | |||
| * IP address (IPv4 or IPv6 address): | * IP address (an IPv4 or IPv6 address type; note that the examples | |||
| here show the human-readable form of the IP addresses, but the | ||||
| functions can take a binary encoding of the addresses): | ||||
| RemoteSpecifier.WithIPAddress(192.0.2.21) | RemoteSpecifier.WithIPAddress(192.0.2.21) | |||
| RemoteSpecifier.WithIPAddress(2001:db8:4920:e29d:a420:7461:7073:a) | RemoteSpecifier.WithIPAddress(2001:db8:4920:e29d:a420:7461:7073:a) | |||
| * Interface name (string), e.g., to qualify link-local addresses | * Interface identifier (which can be a string name or other | |||
| (see Section 6.1.2 for details): | platform-specific identifier), e.g., to qualify link-local | |||
| addresses (see Section 6.1.2 for details): | ||||
| LocalSpecifier.WithInterface("en0") | LocalSpecifier.WithInterface("en0") | |||
| The Resolve action on a Preconnection can be used to obtain a list of | The Resolve action on a Preconnection can be used to obtain a list of | |||
| available local interfaces. | available local interfaces. | |||
| Note that an IPv6 address specified with a scope zone ID (e.g. | Note that an IPv6 address specified with a scope zone ID (e.g. | |||
| fe80::2001:db8%en0) is equivalent to WithIPAddress with an unscoped | fe80::2001:db8%en0) is equivalent to WithIPAddress with an unscoped | |||
| address and WithInterface together. | address and WithInterface together. | |||
| skipping to change at page 87, line 11 ¶ | skipping to change at page 87, line 11 ¶ | |||
| Stiliadis, "An Expedited Forwarding PHB (Per-Hop | Stiliadis, "An Expedited Forwarding PHB (Per-Hop | |||
| Behavior)", RFC 3246, DOI 10.17487/RFC3246, March 2002, | Behavior)", RFC 3246, DOI 10.17487/RFC3246, March 2002, | |||
| <https://www.rfc-editor.org/rfc/rfc3246>. | <https://www.rfc-editor.org/rfc/rfc3246>. | |||
| [RFC3261] Rosenberg, J., Schulzrinne, H., Camarillo, G., Johnston, | [RFC3261] Rosenberg, J., Schulzrinne, H., Camarillo, G., Johnston, | |||
| A., Peterson, J., Sparks, R., Handley, M., and E. | A., Peterson, J., Sparks, R., Handley, M., and E. | |||
| Schooler, "SIP: Session Initiation Protocol", RFC 3261, | Schooler, "SIP: Session Initiation Protocol", RFC 3261, | |||
| DOI 10.17487/RFC3261, June 2002, | DOI 10.17487/RFC3261, June 2002, | |||
| <https://www.rfc-editor.org/rfc/rfc3261>. | <https://www.rfc-editor.org/rfc/rfc3261>. | |||
| [RFC4291] Hinden, R. and S. Deering, "IP Version 6 Addressing | ||||
| Architecture", RFC 4291, DOI 10.17487/RFC4291, February | ||||
| 2006, <https://www.rfc-editor.org/rfc/rfc4291>. | ||||
| [RFC4594] Babiarz, J., Chan, K., and F. Baker, "Configuration | [RFC4594] Babiarz, J., Chan, K., and F. Baker, "Configuration | |||
| Guidelines for DiffServ Service Classes", RFC 4594, | Guidelines for DiffServ Service Classes", RFC 4594, | |||
| DOI 10.17487/RFC4594, August 2006, | DOI 10.17487/RFC4594, August 2006, | |||
| <https://www.rfc-editor.org/rfc/rfc4594>. | <https://www.rfc-editor.org/rfc/rfc4594>. | |||
| [RFC5280] Cooper, D., Santesson, S., Farrell, S., Boeyen, S., | [RFC5280] Cooper, D., Santesson, S., Farrell, S., Boeyen, S., | |||
| Housley, R., and W. Polk, "Internet X.509 Public Key | Housley, R., and W. Polk, "Internet X.509 Public Key | |||
| Infrastructure Certificate and Certificate Revocation List | Infrastructure Certificate and Certificate Revocation List | |||
| (CRL) Profile", RFC 5280, DOI 10.17487/RFC5280, May 2008, | (CRL) Profile", RFC 5280, DOI 10.17487/RFC5280, May 2008, | |||
| <https://www.rfc-editor.org/rfc/rfc5280>. | <https://www.rfc-editor.org/rfc/rfc5280>. | |||
| [RFC5482] Eggert, L. and F. Gont, "TCP User Timeout Option", | [RFC5482] Eggert, L. and F. Gont, "TCP User Timeout Option", | |||
| RFC 5482, DOI 10.17487/RFC5482, March 2009, | RFC 5482, DOI 10.17487/RFC5482, March 2009, | |||
| <https://www.rfc-editor.org/rfc/rfc5482>. | <https://www.rfc-editor.org/rfc/rfc5482>. | |||
| [RFC5865] Baker, F., Polk, J., and M. Dolly, "A Differentiated | [RFC5865] Baker, F., Polk, J., and M. Dolly, "A Differentiated | |||
| Services Code Point (DSCP) for Capacity-Admitted Traffic", | Services Code Point (DSCP) for Capacity-Admitted Traffic", | |||
| RFC 5865, DOI 10.17487/RFC5865, May 2010, | RFC 5865, DOI 10.17487/RFC5865, May 2010, | |||
| <https://www.rfc-editor.org/rfc/rfc5865>. | <https://www.rfc-editor.org/rfc/rfc5865>. | |||
| [RFC5952] Kawamura, S. and M. Kawashima, "A Recommendation for IPv6 | ||||
| Address Text Representation", RFC 5952, | ||||
| DOI 10.17487/RFC5952, August 2010, | ||||
| <https://www.rfc-editor.org/rfc/rfc5952>. | ||||
| [RFC7478] Holmberg, C., Hakansson, S., and G. Eriksson, "Web Real- | [RFC7478] Holmberg, C., Hakansson, S., and G. Eriksson, "Web Real- | |||
| Time Communication Use Cases and Requirements", RFC 7478, | Time Communication Use Cases and Requirements", RFC 7478, | |||
| DOI 10.17487/RFC7478, March 2015, | DOI 10.17487/RFC7478, March 2015, | |||
| <https://www.rfc-editor.org/rfc/rfc7478>. | <https://www.rfc-editor.org/rfc/rfc7478>. | |||
| [RFC7556] Anipko, D., Ed., "Multiple Provisioning Domain | [RFC7556] Anipko, D., Ed., "Multiple Provisioning Domain | |||
| Architecture", RFC 7556, DOI 10.17487/RFC7556, June 2015, | Architecture", RFC 7556, DOI 10.17487/RFC7556, June 2015, | |||
| <https://www.rfc-editor.org/rfc/rfc7556>. | <https://www.rfc-editor.org/rfc/rfc7556>. | |||
| [RFC7657] Black, D., Ed. and P. Jones, "Differentiated Services | [RFC7657] Black, D., Ed. and P. Jones, "Differentiated Services | |||
| (Diffserv) and Real-Time Communication", RFC 7657, | (Diffserv) and Real-Time Communication", RFC 7657, | |||
| DOI 10.17487/RFC7657, November 2015, | DOI 10.17487/RFC7657, November 2015, | |||
| <https://www.rfc-editor.org/rfc/rfc7657>. | <https://www.rfc-editor.org/rfc/rfc7657>. | |||
| [RFC791] Postel, J., "Internet Protocol", STD 5, RFC 791, | ||||
| DOI 10.17487/RFC0791, September 1981, | ||||
| <https://www.rfc-editor.org/rfc/rfc791>. | ||||
| [RFC8084] Fairhurst, G., "Network Transport Circuit Breakers", | [RFC8084] Fairhurst, G., "Network Transport Circuit Breakers", | |||
| BCP 208, RFC 8084, DOI 10.17487/RFC8084, March 2017, | BCP 208, RFC 8084, DOI 10.17487/RFC8084, March 2017, | |||
| <https://www.rfc-editor.org/rfc/rfc8084>. | <https://www.rfc-editor.org/rfc/rfc8084>. | |||
| [RFC8085] Eggert, L., Fairhurst, G., and G. Shepherd, "UDP Usage | [RFC8085] Eggert, L., Fairhurst, G., and G. Shepherd, "UDP Usage | |||
| Guidelines", BCP 145, RFC 8085, DOI 10.17487/RFC8085, | Guidelines", BCP 145, RFC 8085, DOI 10.17487/RFC8085, | |||
| March 2017, <https://www.rfc-editor.org/rfc/rfc8085>. | March 2017, <https://www.rfc-editor.org/rfc/rfc8085>. | |||
| [RFC8095] Fairhurst, G., Ed., Trammell, B., Ed., and M. Kuehlewind, | [RFC8095] Fairhurst, G., Ed., Trammell, B., Ed., and M. Kuehlewind, | |||
| Ed., "Services Provided by IETF Transport Protocols and | Ed., "Services Provided by IETF Transport Protocols and | |||
| End of changes. 15 change blocks. | ||||
| 20 lines changed or deleted | 26 lines changed or added | |||
This html diff was produced by rfcdiff 1.46. The latest version is available from http://tools.ietf.org/tools/rfcdiff/ | ||||