Connection establishment - tcp connection management, Computer Networking

Assignment Help:

Connection Establishment

TCP transmits  data in full duplex mode. When two TCP is two machines are  connected they are able  to send segments to each other simultaneously. This  implies that  each party  must  initialize  communication and get approval  from the  other party before  any data  are transferred.

Three  way handshaking. The connection establishment in TCP is called  three way  handshaking. In our example  an application program called the client  wants to make a connection with other application program  called  the server using TCP as the  transport layer protocols.

The  process  starts with  server. The  programs tells  its TCP that it is  ready to  accept a connection. This is called  a request for a  passive open. Although  the server  TCP ready  to accept any connection from  any machine in  the world it can make  the connection itself.

The client  program issues  a request for  an active open. If client  that  wishes to connect  to an open  server tells  its TCP that it  needs to be  connected to that  particular server TCP can now  start the  way handshaking process as shown  in figure  few fields  necessary  to understand  each  phase the sequence number  the acknowledgment  number  the control  flags and the window  size  if not empty. The three  step  in this  phase  are as follows:

2364_Connection Establishment.png

 

     Figure Connection establishment  using three way handshaking

a.The client  sends the first  segment a SYN segment  in which  only the SYN  flag is set. This  segment  is for  synchronization of sequence number. It consumes one  sequence number  when  the data  transfer  starts. The sequence number  is incremented by. We can say  that the SYN segment  carries no real  data but we can  think  of it as containing  imaginary byte.

b.The  server sends  the second segment  a SYN + ACK segment with 2 flag  SYN and ACK. This  segment  has a dual purpose. It  is a SYN  segment  for communication in the other  direction and server as the acknowledgment in the other  direction and  server  the acknowledgment for  the SYN segment. It  consumes one  sequence  number.

c.The  client  sends  the third  segment. This is just  an ACK  segment it acknowledges the receipt of the second  segment with the ACK  flag  and acknowledges the  receipt of the second  segment with the ACK flag and acknowledgment number  field. Note  that the  sequence number  in this segment  is the same as the one in the SYN segment  the ACK  segment  does not  consume any sequence  number.

The  connection  establishment  procedure in TCP is  susceptible to a serious security problem  called the  SYN flooding Attack. This  happens when malicious  attacker send a large  number of SYN segments  to a server pretending that each of them  is  coming  from a different client by faking the source IP address in the datagram's. The  server assuming that the clients are issuing an active open all orates the necessary resources such  as creating  communication tables and  setting  timers. The TCP server then  sends  the SYN+ ACK  segments  to the fake client which are lost. During  this time  however a lot of  resource  are occupied without  being  used. If during  this short  time  the number  of SYN segments  is  the server eventually  runs  out of resources  and may crash. This SYN flooding  attack  belongs to a type  of security  attack  known  as a denial  of  service  attack in which  an attacker monopolizes a system  with so  many  service  requests  that the  system  collapses  and denies  service to every  request.


Related Discussions:- Connection establishment - tcp connection management

Types of vts sonet sdh, Types of VTs There are  several  option for  pa...

Types of VTs There are  several  option for  payload are actually mapped into the VT.  Locked mode VTs  bypass the pointers with a fixed  byte oriented mapping of limited flexi

Packet processing on vpn router, Consider the site-to-site VPN scenario sho...

Consider the site-to-site VPN scenario shown in Figure 2. Let's deploy the AH protocol on the two VPN routers so that no desktop on the two sites need to do any AH operations. Assu

What is OSPF, What is OSPF? It is an Internet routing protocol that scal...

What is OSPF? It is an Internet routing protocol that scales well, can route traffic with multiple paths, and uses knowledge of an Internet's topology to make precise routing de

Describe the dsdm life-cycle with a suitable diagram, Question : (a) De...

Question : (a) Describe how ‘prototyping' is important to RAD. (b) List main features of ‘prototyping'. (c) List main principles of DSDM. (d) Describe the DSDM life-

Define the microcells- routing and switching, Microcells As cells becom...

Microcells As cells become smaller, antennas move from the tops of tall buildings or hills, to the tops of small buildings or the sides of large buildings, and finally to lamp

What is boundary level masking, Q. What is Boundary Level Masking? ...

Q. What is Boundary Level Masking? If mask numbers are either 255 or 0: Bytes in the IP address that correspond to 255 in the mask will be repeated in the subnet ma

Illustrate the bus backbone network, Q. Illustrate the Bus Backbone network...

Q. Illustrate the Bus Backbone network? - Topology is a bus - Utilized in networks such as 10Base5 or 10Base2 - Normally utilized to connect different buildings or to con

What are the drawbacks of ethernet cabling, What are the drawbacks of Ether...

What are the drawbacks of Ethernet Cabling? The Ethernet cabling ahs the following drawbacks: 1. Ethernet is not a high-level performer in high-load environments. This proto

Explain the concept of fragmentation, Fragmentation - Wireless environm...

Fragmentation - Wireless environment is very noisy - Corrupt frames must be retransmitted - Large frames must be divided into smaller ones to increase efficiency

What do mean by tunnel mode, What do mean by tunnel mode? This is a mod...

What do mean by tunnel mode? This is a mode of data exchange wherein two communicating computers do not use IPSec themselves. Instead, the gateway that is linking their LANs to

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd