Computer networking end-to-end protocols

This article may be deleted soon.

|  | To oppose or discuss a nomination, please go to CZ:Proposed for deletion and follow the instructions.

For the monthly nomination lists, see Category:Articles for deletion.

| Main Article
| Discussion
| Definition [?]
| Related Articles  [?]
| Bibliography  [?]
| External Links  [?]
| Citable Version  [?]

|
|
|
|
|
|
|
|
|

This editable Main Article is under development and subject to a disclaimer.

[edit intro]

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 Open Systems Interconnection Reference Model|Open Systems Interconnection Reference Model puts the function into its Open Systems Interconnection Reference Model#Layer 4 (Transport)| 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.

## Contents

* 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
* 4.1 IPSec Authentication Header
* 4.2 IPSec Encapsulating Security Payload Header
* 4.3 IPSec Transport Mode
* 4.4 IPSec Tunnel Mode
* 5 Performance issues
* 6 Historic non-Internet
* 7 References

## End-to-end protocols for the Internet Protocol Suite[edit]

"Two and a half" protocols provide a classic end-to-end service:

* User Datagram Protocol[1]
* Transmission Control Protocol [2] 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.[3] (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.

The Reliable Stream Transfer Protocol (RSTP) is an application-level protocol that helps a real-time application select the appropriate end-to-end protocol for the data to be transmitted. [4]

Features of these three protocols is summarized below.

Feature  | TCP  | UDP  | RTP/RTCP

|
|
|

Connection orientation  | Yes  | No  | Yes[1]
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[2]
Multiple data streams between endpoints  | No  | No  | Yes

* Note 1: unidirectional data transfer
* Note 2: indirect, using the RTCP monitoring receiver

## Resource Reservation Protocol[edit]

The Resource Reservation Protocol does not actually transfer data, but it sets up quasi-connections with a guarantee of latency and loss probability. [5]. 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[edit]

Tunneling protocols are usually needed, in the Internet, when an IP payload packet has addresses incompatible with those of the delivery network.

+

-+

-+

-+

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. .[6] 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.[7].[8] 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[edit]

### IPSec Authentication Header[edit]

### IPSec Encapsulating Security Payload Header[edit]

### IPSec Transport Mode[edit]

### IPSec Tunnel Mode[edit]

## Performance issues[edit]

Transmission Control Protocol (TCP) has Transmission Control Protocol#TCP over paths with specific performance characteristics| 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 User Datagram Protocol#Use with applications that can use damaged data| tolerate errors in data more than it can tolerate data loss.

## Historic non-Internet[edit]

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.

## References[edit]

1. ↑ Postel, J. (August 1980), User Datagram Protocol, Internet Engineering Task Force, RFC0768
2. ↑ Postel, J. (September 1981), Transmission Control Protocol, Internet Engineering Task Force, RFC0793
3. ↑ Schulzrinne, H.; S. Casner & R. Frederick et al. (July 2003), RTP: A Transport Protocol for Real-Time Applications, Internet Engineering Task Force, RFC3550
4. ↑ Schulzrinne, H.; A. Rao & R. Lanphier (April 1998), Real Time Streaming Protocol, Internet Engineering Task Force, RFC2326
5. ↑ Mankin, A. et al. (September 1997.), Resource ReSerVation Protocol (RSVP) -- Version 1 Applicability Statement: Some Guidelines on Deployment., Internet Engineering Task Force, RFC2208
6. ↑ W. Simpson (October 1995), IP in IP Tunneling, RFC 1853
7. ↑ S. Hanks, T. Li, D. Farinacci, P. Traina (October 1994), Generic Routing Encapsulation (GRE), RFC 1701
8. ↑ S. Hanks, T. Li, D. Farinacci, P. Traina (October 1994), Generic Routing Encapsulation (GRE) over IPv4 networks, RFC 1702