Get Free Synopsis PDF
We will prepare a detailed synopsis for your college submission. Includes problem statement, objectives, DFD, ER diagram, and more.
This project implements a custom packet sniffer from scratch using raw sockets, parsing Ethernet, IP, TCP/UDP, and application-layer headers to display human-readable protocol breakdowns, similar in spirit to a simplified Wireshark. It is built and tested on the student's own lab network to deepen understanding of how packet capture and protocol parsing actually work under the hood, rather than only using existing tools. The tool also supports basic filtering by IP, port, and protocol type.
Problem Statement
Many students use Wireshark without ever understanding how packet capture and protocol parsing work internally. Building a sniffer from raw sockets upward demystifies the underlying mechanics of network protocol analysis.
Objectives
Study raw socket programming and OSI/TCP-IP layer header structures
Implement Ethernet, IP, and TCP/UDP header parsing from captured bytes
Add application-layer protocol detection (HTTP, DNS) where feasible
Build filtering options by IP address, port, and protocol type
Compare parsed output against Wireshark captures for validation
Modules
Raw Socket Capture
Captures raw packets from a network interface using low-level socket APIs.
Header Parser
Decodes Ethernet, IP, and TCP/UDP headers into human-readable fields.
Protocol Detector
Identifies common application-layer protocols like HTTP and DNS where possible.
Filter Engine
Filters displayed packets by IP address, port, or protocol type.
Validation Harness
Cross-checks parsed output against Wireshark captures for accuracy.
Expected Output
A working custom sniffer that correctly parses captured packets into readable protocol fields, validated to match Wireshark's interpretation of the same traffic sample.
Future Scope
The project could be extended to reconstruct full TCP streams for basic application-layer content reassembly, similar to Wireshark's 'Follow Stream' feature.