7 - 3 way handshake process Flashcards
1 - Device (A) wants to telnet to msn.com - next ?
DNS will resolve the name to IP
2 - once DNS get the - IP add - what next ?
TCP will see the IP and the port number its trying to reach and it will start to create the 3 way handshake
3 - when 3 way handshake is being created what details will go into the header ?
- Source port
- destination port ( telnet 23)
- source ip & MAC add
4 - Device will send a SYN request
- what will response be ?
if telnet is not set up (port 23) it will drop the packet
if telnet is set up -
Server will respond with SYN & ACK
4b - From a initial TCP SYN request -
why does the server respond with 2 messages
The ACK - is or acknowledgement
The SYN - is for synchronization ( it also wants conirmation)
Since the connection is bidirectional it send both message
known as = SYN - ACK
5 - what message will device (A) respond to a
- SYN ACK message ?
Device is has been given the ok form the server in regards to his SYN request
So it too will respond with a single - ACK
to confirm it too is ok with connecting
the whole 3 way handshake process is ?
- Deive (A) want to telnt to msn.com
- DNS will resolve the name to ip
- TCP protocol will realise this needs 3 way handshake due to telnet connection and port dest 23
- it will creat a source port ( telnet port is 23 )
- Device will send a Syn request ( can i connect to you )
- The destination or server Acknowledges (ACK) this
- But since it a bidirectional channel ( two way communication ) it will also send its on synchronisation (syn) message
So it send a (SYN) & (ACK) - Device a responds with an (ACK)