RFC 1240
OSI connectionless transport services on top of UDP: Version 1
RFC 1240: OSI Connectionless Transport Services on top of UDP ๐
okay bestie, this one is Version 1 of a spec for running OSI connectionless transport services on top of UDP โจ it's from June 1991 and it sits in the Network Working Group. three people wrote it: C. Shue from Open Software Foundation, W. Haggerty from Wang Laboratories, Inc., and K. Dobbins from Cabletron Systems, Inc. ๐ its category is an IAB standards track protocol, and the title block doesn't say it obsoletes or updates anything. the whole vibe is "let's run the OSI goodies on the Internet's existing plumbing" ๐ฆ
part 1 of 2, more is coming bestie ๐
Status of this Memo โจ
so this doc describes a protocol for running OSI Connectionless service on UDP ๐ธ it's an IAB standards track protocol for the Internet community, and it's asking for discussion and suggestions for improvements ๐ซถ for the actual standardization state and status, check the current edition of the "IAB Official Protocol Standards". and distribution of this memo is unlimited ๐
1. Introduction and Philosophy ๐
the Internet community has a super established, mature stack of layered transport and network protocols ๐ they're doing great at giving end-users both connection-oriented (TCP) and connectionless (UDP) transport services over connectionless network services (IP). tons of popular network apps were built right on TCP and UDP over the past decade, and that's how Internet services and protocols became widely-spread de facto standards ๐
meanwhile, in the last few years, ISO and CCITT defined a really well-architected set of upper layer standards. those include connection-oriented and connectionless session, presentation, and application layer services and protocols. the OSI upper layers offer app developers valuable stuff (dialogue control, transfer syntax, peer authentication, directory services, etc.) that the TCP/IP standards don't currently offer ๐ง
as RFC 1006 points out, it's desirable to offer OSI upper layer services directly on the Internet without disrupting existing facilities ๐ฆ that makes for a more graceful convergence and transition from IP-based networks to OSI-based networks down the road. using the RFC 1006 approach, this memo specifies how to offer OSI connectionless transport service using the User Datagram Protocol (UDP) [RFC768] of the TCP/IP suite ๐
here's the big move: we define a Transport Service Access Point (TSAP) that looks identical to the services and interfaces in ISO 8072 and its Addendum 1. under the hood, though, we actually implement the ISO T-UNIT-DATA protocol on top of UDP ๐ so OSI TPDU's can be delivered across the Internet, and OSI connectionless upper layers can run totally without knowing they're on UDP/IP. basically, the OSI T-UNIT-DATA service uses UDP as its connectionless network service provider โจ
2. Motivation ๐ธ
the main reason for this standard is to help people get experience with OSI connectionless upper layer protocols ๐ฅ that means S-UNIT-DATA [ISO9548], P-UNIT-DATA [ISO9576] and A-UNIT-DATA [ISO10035], plus the connectionless transport protocol T-UNIT-DATA [ISO8602].
a lot of OSI standard apps like X.400 and FTAM are connection-oriented ๐ but it's recognized in the OSI reference model [ISO7498/AD1], and in practice too, that connectionless-mode operations are appropriate for certain distributed application classes and environments. the following connectionless application classes were identified by ISO SC21/WG6 [ISOSC21/WG6 N184]:
- Request-Response Applications
- Broadcast/Multicast
- Inward Data Collection
- Migratory/Unreliable Processes
the "request/response" client-server class is the most prominent one, and it's getting more popular and more important by the day ๐ it's observed that connection setup and tear-down exchanges, plus complex connection-oriented protocol machines, become unnecessary overheads for a simple request/response exchange between a client app and a server app ๐ especially in reliable environments like LAN and ISDN. the OSI connectionless upper layers are thought to be highly effective and efficient, in both time and space, for the distributed application classes listed above ๐ซถ
and the stability, maturity and wide availability of UDP/IP make it ideal for providing solid connectionless transport services, independent of actual implementations ๐
3. The Model ๐ฆ
[ISO 8072/AD1] describes the OSI connectionless transport services definition, and [ISO 8602] describes the OSI connectionless transport protocols ๐ a defining characteristic of connectionless-mode transmission is that each invocation of the connectionless transport service is independent of the others.
the OSI transport service definition covers the services the TS-provider offers, the interfaces used to access them, and the services required. this memo focuses on how UDP [RFC 768] can be used to offer the required services and provide the interfaces โจ
here's the model: ๐ง
+-----------+ +-----------+
| TS-user | | TS-user |
+-----------+ +-----------+
| |
|CLTS interface |
|[ISO 8072/AD1] |
| |
_________________________________________________________________
| | | |
| | | |
| +-----------+ UD TPDU +-----------+ |
| | TS-peer | <-----------------------> | TS-peer | |
| +-----------+ +-----------+ |
| | | |
| | | |
| | | |
| |UDP interface [RFC 768] | |
| | | |
| +-----------+ UDP datagram +-----------+ |
| | UDP | <-----------------------> | UDP | |
| +-----------+ (UD TPDU encapsulated) +-----------+ |
| | | |
| | | |
| | | |
| | | |
| |
| |
| TS-provider |
|_________________________________________________________________|
the abbreviations, all in one spot ๐
CLTS Connectionless Transport
TS Transport Services (implies connectionless transport
service in this memo)
TSAP Transport Service Access Point
TS-peer a process which implements the mapping of CLTS
protocols onto the UDP interface as described by
this memo
TS-user a process using the services of a TS-provider
TS-provider the abstraction of the totality of those entities
which provide the overall service between the two
TS-users
UD TPDU Unit Data TPDU (Transport Protocol Data Unit)
each TS-user gets access to the TS-provider at a TSAP ๐ two TS-users can communicate over connectionless transport as long as they've got pre-arranged knowledge about each other (e.g., protocol version, formats, options, ... etc.), since there's no negotiation before data transfer ๐ in the diagram above, one TS-user passes a message to the TS-provider, and the peer TS-user receives that message from the TS-provider. the interactions between TS-user and TS-provider are described by connectionless TS primitives.
all aspects of [ISO 8072/AD1] are supported in this memo with one exception: the QOS (Quality of Service) parameter, which is left for future study ๐ฎ
the OSI standards don't specify the format of a TSAP selector, and neither does this memo ๐ but implementors should consult the GOSIP 1.0 specification [GOSIP88/FIPS146] for an interpretation of this parameter. there, the TSAP selector is two octets, and a value of (binary) 1 identifies the service interface between OSI transport layer and session layer ๐ง
4. The Primitives โจ
this RFC assumes UDP [RFC768] offers the following service primitives ๐
send datagram - datagram is sent to the IP address/destination
port
read datagram - datagram is read from UDP
data can only be read from a receive port after the port has been created. that's a local matter ๐
this memo reserves UDP port 102 for applications that realize CLTS over UDP ๐ however, just like RFC 1006, other port values may be used by prior agreement (e.g., through use of the OSI Directory) ๐
this RFC describes how to use these services to emulate the following connectionless-mode network service primitives, which are required by [ISO8602]:
N-UNIT-DATA.REQUEST - A NS-user requests unit data to be sent
N-UNIT-DATA.INDICATION - A NS-user is notified that unit data
can be read from the NSAP
the mapping between the UDP service primitives and the service primitives the connectionless transport peer entity expects is pretty straightforward ๐
connectionless network service UDP
------------------------------ ---
N-UNIT-DATA.REQUEST send datagram
N-UNIT-DATA.INDICATION read datagram
and the parameter mapping goes like this ๐ฆ
connectionless network service UDP
------------------------------ ---
Source address source IP address from
calling TS-address
Destination address destination IP address from
called TS-address
Quality of service (ignored)
NS-user data UD TPDU constructed from T-UNIT-DATA
when the T-UNIT-DATA.REQUEST primitive is issued, the TS-peer builds a UD TPDU and sends it as a single datagram to the desired IP address using UDP ๐
when UDP indicates that a datagram has been received, a UD TPDU is read from UDP, and a T-UNIT-DATA.INDICATION primitive is generated โจ
5. Packet Format ๐
okay bestie, this is where it gets so pretty ๐ญ this is the UD TPDU structure that gets tucked inside the UDP data field ๐ฆ
1 2 3 m m+1 n
+--------------------------------------------------+
| LI | UD | Variable Part | User Data |
| | 01000000 | | |
+--------------------------------------------------+
LI(octet 1) ๐ the length of the header including parameters, but excluding the LI and user data, with a maximum value of 254UD(octet 2) ๐ธ the type of TPDU- Variable Part (octets 3 to m) ๐ง the source and destination TSAP id's
- Parameter code: here are the two codes you need to know, periodt โจ
Parameter code: source TSAP 11000001
destination TSAP 11000010
- Parameter length ๐ the length of the parameter, not including the parameter code or length fields, with a maximum value of 254
- Parameter value ๐ the source or destination T-selector
The optional checksum parameter is not required in the variable part, and that's the slay part ๐ the UDP checksum field in the UDP header already does the checking, so nothing extra is needed here โจ
- User Data (octets m+1 to n) ๐ซถ all the data of the TSDU
The maximum NS-user data allowed in the OSI connectionless network service is 64,512 octets ๐ this limit gets further constrained by the smaller maximum datagram size supported by the two communicating UDP peers, which should be known beforehand by a priori agreement ๐
6. Conclusion ๐
okay so the big picture is that OSI is lowkey trending on the Internet ๐ this is being fostered by the Internet Activities Board (IAB) and its Internet Engineering Task Force, and also by the Federal Networking Council ๐ซถ by offering an OSI connectionless transport service on top of the Internet, this RFC will let future applications use the OSI connectionless upper-layer services, which are required to be conformant to the OSI upper layer architecture ๐ฆ
Right now, T-UNIT-DATA, S-UNIT-DATA, P-UNIT-DATA, and A-UNIT-DATA have reached International Standard (IS) โจ as applications built on OSI connectionless services become widely available, and OSI lower-layer service is widely implemented in the Internet, the underlying UDP/IP services can simply be replaced with the OSI lower layers ๐ธ it's giving full glow-up ๐
7. Acknowledgements ๐
Marshall T. Rose of PSI, Inc., provided many valuable comments and corrections ๐ iconic behaviour, thank you Marshall ๐ซถ
8. References ๐
- [GOSIP88] U.S. Department of Commerce/National Bureau of Standards, [FIPS146] "Government Open Systems Interconnection Profile (GOSIP)", August 1988.
- [ISO7498/AD1] ISO, "International Standard 7498 - Information Processing Systems - OSI: Basic Reference Model Addendum 1: Connectionless-mode Transmission", May 1986.
- [ISO8072] ISO, "International Standard 8072 - Information Processing Systems - OSI: Transport Service Definition", June 1984.
- [ISO8072/AD1] ISO, "International Standard 8072 - Information Processing Systems - OSI: Transport Service Definition Addendum 1: Connectionless-mode Transmission", December 1986.
- [ISO8602] ISO, "International Standard 8602 - Information Processing Systems - OSI: Connectionless Transport Protocol Specification", December 1986.
- [ISO9548] ISO, "International Standard 9548 - Information Processing Systems - OSI: Connectionless Session Protocol Specification", April 1989.
- [ISO9576] ISO, "Draft International Standard 9576 - Information Processing Systems - OSI: Connectionless Presentation Protocol Specification", April 1989.
- [ISO10035] ISO, "Draft International Standard 10035 - Information Processing Systems - OSI: Connectionless ACSE Protocol Specification", April 1989.
- [ISOSC21/WG6 N184] ISO SC21 WG6, "Justification for Connectionless Services in the Upper Layers", June 1986.
- [RFC768] Postel, J., "User Datagram Protocol", RFC 768, USC/Information Sciences Institute, September 1981.
- [RFC791] Postel, J., "Internet Protocol", RFC 791, USC/Information Sciences Institute, September 1981.
- [RFC1006] Rose, M., and D. Cass, "ISO Transport Service on top of the TCP - Version 3", RFC 1006, Northrop Research and Technology Center, May 1987.
Security Considerations ๐
Security issues are not discussed in this memo ๐ no security talk in here, bestie, so keep that in mind as you read ๐
Authors' Addresses ๐ฆ
Chikong Shue
Open Software Foundation, Inc.
11 Cambridge Center
Cambridge, MA 02142
Phone: (617) 621-8972
EMail: chi@osf.org
William Haggerty
Wang Laboratories, Inc.
1 Industrial Ave
Lowell, MA 01851
Phone: (508) 967-3403
EMail: bill@comm.wang.com
Kurt Dobbins
Cabletron, Inc.
35 Industrial Way
Rochester, NH 03867
Phone: (603) 332-9400
๐ฆ where this page comes from
- ietf: rfc1240 1991-06
- ๐ girlified by claude-haiku-5-5 on : a language model's rewrite of the original, under its terms