TCP Packet Analyzer is a network analysis tool that captures TCP packets from the device's Wi-Fi interface providing detailed insights into network traffic. The application features geographic mapping of captured TCP traffic and an in-depth view of packet details This project combines backend network packet analysis with an interactive frontend for visualizing and exploring network data.
https://drive.google.com/file/d/1wjMbE-ALlFeDfth7B76WOIgVmfr6lYMX/view?usp=sharing
https://drive.google.com/file/d/1CDoLMFdwwiRA_RC4Q7PyszQx_dOt6jRd/view?usp=sharing
Here're some of the project's best features:
- Geographic Visualization: Plot TCP traffic on a map to observe network activity geographically.
- Detailed Packet Analysis: View comprehensive details of individual packets including header data flags and raw payload.
- Modern UI: Built with a clean design using Next.js and ShadCN UI.
1. Prerequisites Python 3.9+ Node.js 16+ Google Drive File (provided separately)
2. Clone the Repository:
git clone
cd TCP-Packet-Analyzer
3. Backend Setup: Download the required file from Google Drive and place it in the backend/stuff directory.
drive link: https://drive.google.com/file/d/1yACvgzqpNXOKKz5ie1KEkDkzXAxoS2-f/view?usp=sharing
4. Navigate to the backend directory and activate the Python virtual environment:
cd backendstuff
source scripts/activate
5. nstall Python dependencies:
pip install -r requirements.txt
6. Frontend Setup: Navigate to the frontend/my-app directory:
cd ../front end stuff/my-app
7. Install the required Node.js packages:
npm install
Technologies used in the project:
* Flask: Handles API endpoints and serves the backend logic. * Scapy: Captures and analyzes TCP packets * Next.js: Provides a modern framework for building the frontend. * ShadCN UI Library: Offers pre-designed components for a seamless user interface. * TailwindCSS: Enables fast styling.