Md Fardin Ahamed

Network Security

Understanding TCP/IP Basics

2026-02-23

Packet AnalysisTCP/IPNetworking

Understanding TCP/IP is essential for packet analysis, intrusion detection, and troubleshooting communication failures. When I inspect traffic in Wireshark or reason about service exposure, I start by mapping observations to the correct protocol layer.

Why it matters in cybersecurity

The TCP/IP model helps translate raw packets into meaningful behavior:

  • The network layer explains routing, addressing, and how hosts reach each other.
  • The transport layer helps identify connection state, scanning behavior, and service availability.
  • The application layer reveals how protocols such as HTTP or DNS behave in practice.

Typical analysis workflow

In a lab environment, I usually start with a filtered packet capture:

tshark -r sample.pcap -Y "tcp.port == 80 or dns" 

Then I inspect source and destination relationships, retransmissions, failed handshakes, and payload direction. Even a short packet trace can reveal misconfiguration, noisy applications, or early signs of reconnaissance.