Computer networking end-to-end protocols
- 1 End-to-end protocols for the Internet Protocol Suite
- 2 Resource Reservation Protocol
- 3 Tunneling protocols
- 4 Cryptographic mechanisms with attributes of end-to-end protocols
- 5 Performance issues
- 6 Historic non-Internet
- 7 References
End-to-end protocols are responsible for the transfer of data from a source to one or more network endpoints. "End-to-end" is the Internet architectural term, while the OSI model puts the function into its transport layer.
A broader definition, however, lets the idea of this layer include tunneling: the endpoint that encapsulates a packet is logically at the transport layer, even though it is not the true application endpoint.
The basic end-to-end protocols send information between two true endpoints, or to a midbox that acts as a proxy for an endpoint host. There are also related protocols that set up end-to-end paths with a specific quality of service. Yet another type, tunneling protocol takes the of a packet from a payload protocol, and wraps it in a delivery protocol to pass it across a network that might not be compatible with the format of the payload packet. Closely related are protocols that set up a security association between two points and apply some type of encryption, for purposes such as data integrity, data authentication, or data confidentiality function.
Proxy midboxes, such as tunneling devices, firewalls, and network address translators terminate the end-to-end stream and convey an independent end-to-end stream either to the true host or to another midbox. They manipulate the received packet in one or more useful ways, such as stripping the delivery protocol from a tunneled packet, terminate a high-overhead security function.
End-to-end protocols for the Internet Protocol Suite
"Two and a half" protocols provide a classic end-to-end service:
- User Datagram Protocol
- Transmission Control Protocol  There have been a number of modifications and guidelines for use, which help improve performance. These are discussed in the TCP article.
- Real Time Transport Protocol is the "half" protocol, as its segments run over UDP. (RTP) is different in that its packets ride on top of UDP packets, but is usually considered an end-to-end protocol for one-way transfer, perhaps of a one-to-many multicast for distribution of real-time information such as voice over IP or streaming video. There are a number of specifications for the different payloads that RTP can carry; see the RTP article.
Rather than getting feedback in the form of RTP packets, the individual recipients send control information back to the transmitting endpoint, using the Real Time Transport Control Protocol (RTCP), which is documented in the RTCP specification. RTCP, as an abbreviation, is somewhat unfortunate since it has nothing to do with TCP, the Transmission Control Protocol.
Features of these three protocols is summarized below.
|Reliable delivery of ordered packets||Yes||No||Yes|
|Reliable delivery but may reorder packets||No||No||No|
|Data error detection||Yes||Yes||Yes|
|Data error correction||Yes||No||No|
|Flow and congestion control||Yes||No||Yes|
|Multiple data streams between endpoints||No||No||Yes|
- Note 1: unidirectional data transfer
- Note 2: indirect, using the RTCP monitoring receiver
Resource Reservation Protocol
The Resource Reservation Protocol does not actually transfer data, but it sets up quasi-connections with a guarantee of latency and loss probability. . Once these channels are set up, usually for Voice over Internet Protocol (VoIP) or similar delay-sensitive traffic, regular end-to-end protocols, usually RTP over UDP, are used to send information through the channel.
Tunneling protocols are usually needed, in the Internet, when an IP payload packet has addresses incompatible with those of the delivery network.
+----------------------+-------------------------+----------------+ |IP header for delivery|Tunneling protocol header|Payload protocol| +----------------------+-------------------------+----------------+
The simplest network layer tunneling protocol is IP in IP tunnelinf, which can carry a single IP packet inside another IP packet over a single tunnel. . Generic Routing Encapsulation (GRE) has somewhat more overhead, but can carry multiple IPv4 streams, IPv6, or other protocols; GRE conceptually could run over non-IP protocols, unlikely in today's networks.. A number of historic tunneling protocols carried fundamentally different delivery protocols, such as Novell IPX, over an Internet Protocol delivery network.
While one can get lost in philosophical discissions if multiprotocol label switching (MPLS) is properly a protocol that tunnels through an IP network, the reality is that it is protocol independent as is GRE.
Even with MPLS, one can reasonably think of the tunneling protocol as carrying packets. Layer 2 Tunneling Protocol (L2TP) runs layer 2 frames over UDP in an IP network. Those PPP frames, of course, can carry IP packets.
Cryptographic mechanisms with attributes of end-to-end protocols
IPSec Authentication Header
IPSec Encapsulating Security Payload Header
IPSec Transport Mode
IPSec Tunnel Mode
Transmission Control Protocol (TCP) has mechanisms for dealing with links that have high bandwidth and long latency. User Datagram Protocol (UDP) has a method for working with application protocols that tolerate errors in data more than it can tolerate data loss.
Historic end-to-end protocols include OSI Transport Protocol (Classes 0-4), Novell SPX, AppleTalk Transaction Protocol, DECnet Network Service Protocol, and, in Xerox Network Services, the Sequenced Packet Protocol and Packet Exchange Protocol.
- Postel, J. (August 1980), User Datagram Protocol, Internet Engineering Task Force, RFC0768
- Postel, J. (September 1981), Transmission Control Protocol, Internet Engineering Task Force, RFC0793
- Schulzrinne, H.; S. Casner & R. Frederick et al. (July 2003), RTP: A Transport Protocol for Real-Time Applications, Internet Engineering Task Force, RFC3550
- Schulzrinne, H.; A. Rao & R. Lanphier (April 1998), Real Time Streaming Protocol, Internet Engineering Task Force, RFC2326
- Mankin, A. et al. (September 1997.), Resource ReSerVation Protocol (RSVP) -- Version 1 Applicability Statement: Some Guidelines on Deployment., Internet Engineering Task Force, RFC2208
- W. Simpson (October 1995), IP in IP Tunneling, RFC 1853
- S. Hanks, T. Li, D. Farinacci, P. Traina (October 1994), Generic Routing Encapsulation (GRE), RFC 1701
- S. Hanks, T. Li, D. Farinacci, P. Traina (October 1994), Generic Routing Encapsulation (GRE) over IPv4 networks, RFC 1702