Virtual Remote Networking

TCP & UDP Packets

I normally use Wireshark to trace network communication issues while tracing issues with TCP/UDP packet transmission.

TCP stands for  Transmission Control Protocol: The mechanism behind each packet authentication and verification method is called 3 WAY Handshake= SYN, SYN+ACK, and ACK. 

SEQ= Its the packet size sent to computer B, not the packet number. At this point, Computer B will also stick in its own SEQ # since its 2-way communication so both machines know their SEQ to increments.

Let’s suppose Computer B is basically Saying that I got computer A’s SEQ value 8 Bytes and My ACK value increment by 1 (SEQ+1=9) and btw the Computer B’s SEQ# is Zero which will be helpful for computer A to determine the data transfer back & forth. It is seamless 2-way communication to let both computers establish a trust relationship.

Note: ACK +1 will be added for Computer B SEQ # to acknowledge the handshake authenticity by setting up the next expected SEQ number.

The next command from Computer A will be the HTTP GET  request.

Example:

WireShark: You can trace the packets by placing the following filters. 

TCP packets have following attributes to it,

Command: I normally use IP.addr== [IP address] 

And you can be more specific with the following filter IP.addr== [IP address] && TCP.stream== [stream Index number]

i.e (ip.addr eq 192.168.1.1 and ip.addr eq 216.54.203.12) and (tcp.port eq 55678 and tcp.port eq 80)

 

UDP: (User Datagram Protocol) is an alternative communications protocol to Transmission Control Protocol (TCP) used primarily for establishing low-latency and loss-tolerating connections between applications on the internet. Most Media streaming and VOIP (RTP: Real-Time Protocol) technology use UDP where retransmission of packet loss is insignificant.UDP uses the following parameters