Episode Details
Back to Episodes
Course 13 - Network Forensics | Episode 5: TCP/IP Layers, Data Flow, and Network Tools
Published 5 months, 2 weeks ago
Description
In this lesson, you’ll learn about:
- The fundamentals of protocol analysis and how data flows through network layers
- The TCP/IP and OSI networking models
- Encapsulation and decapsulation processes
- Key Layer 3 and Layer 4 protocols
- Essential tools for analyzing network traffic, including Wireshark and Nmap
- The structure and behavior of networking models
- How data moves across a network
- How to use analysis tools to understand packet content
- The TCP/IP Model (4 layers): Application, Transport, Internet, Network Access
- The OSI Model (7 layers), widely used in academic settings for conceptual understanding
- It starts as the original message (the “core” of the onion)
- Each layer adds its own headers and sometimes trailers
- These layers wrap the message to form a complete network frame
- Transport Layer (Layer 4)
Adds source/destination ports and TCP flags - Internet Layer (Layer 3)
Adds source/destination IP addresses - Network Access Layer
Adds MAC addresses and prepares data for physical transmission
- Identifying devices using unique IP addresses
- Adding source/destination IPs to each packet
- Determining routing paths across networks
- IP addresses use 4 octets (8 bits each → 0–255)
- Five IP address classes are defined historically
- Private IP ranges include:
- 10.x.x.x
- 172.16.x.x – 172.31.x.x
- 192.168.x.x
- Subnet Mask: Similar to a zip code that defines network boundaries
- CIDR / Slash Notation (e.g., /24, /12) provides flexible subnetting
- Helps efficiently allocate IP space
- Unicast – one-to-one
- Broadcast – one-to-everyone on the network
- Multicast – one-to-a specific group
- Reliable, connection-oriented
- Ensures order delivery and handles retransmissions
- Uses the three-way handshake: SYN → SYN-ACK → ACK
- Session shutdown uses the FIN–ACK process
- Lightweight, connectionless
- Suitable for quick bursts of data (e.g., streaming, gaming)
- Ports = “lanes on a highway” for different services (e.g., port 80 for HTTP)
- Sockets combine IP + Port to identify unique connections
- Works with both TCP and UDP
- Captures packets (“network sniffing”)
- Allows deep packet inspection
- Supports protocol tree view (mapped to OSI layers)
- Provide