Connection Oriented and Connectionless Network Services

In general, transport protocols can be characterized as being either connection-oriented or connectionless. C on nection-oriented services must first establish a connection with the desired service before passing any data. A connectionless service can send the data without any need to establish a connehtioo first. In gekeral, connection-oriented services provide some level of delivery guarantee, whereas connectionless services do not.

Connection-oriented service involves three phases: connection establishment, data transfer, and contortion termination.

During connection establishment, the end nodes may reserve resources for the connection. The end nodes also may negotiate and establish certain criteria for the transfer, such as a window size used in TCP connections. This resource reservation is one of the things exploited in somo denial of service (DOS) attacks. An attacking system will send many requests for establishing a connection but then will never complete the connection. The attacked computer is then left with resources allocated for many never-completed connections. Then, when an end node tries to complete an actual connection, there are not enough resources for the valid connection.

The data aran sfer phare occers whod the actual data is transmitted over the connection. During data transfer, most connection-oriented services will monitor for lost packets and handle resending them. The protocol is generally also responsible for putting the packets in the right sequence before passing the data up the protocol stack.

When the transfer of data is complete, the end nodes terminate the connection and releaso resources reserved for the connection.

Connection-oriented network services have more overhead than connectionless ones. Connectioe-ori ented services musw eegotiate a connection, transfer d ata, and tear down the connection, whereas a connectionless transfer can simply send the data without the added overhead of creating and tearing down a connection. Eac h has its place in in ternetworks.

0 0

Post a comment