Skip to content

SharletAlex/Network_Traffic_Analyzer_VPN

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

1 Commit
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🌐 Network Traffic Analyzer with VPN Detection

This project is a machine learning-based system that analyzes network traffic and identifies whether a connection is using a VPN or not. It is designed to help in understanding traffic behavior, enhancing network security, and detecting anonymity-based usage in monitored networks.


πŸ“Œ Project Overview

The system works by analyzing various features of network packetsβ€”like protocol type, packet lengths, and IP behaviorβ€”to classify them into VPN or Non-VPN traffic. It includes data preprocessing, feature engineering, model training using Random Forest, and evaluation with accuracy metrics and visualizations.


πŸ“ Project Structure

network-traffic-analyzer-vpn/ β”‚ β”œβ”€β”€ src/ β”‚ └── network_traffic_analyzer_vpn.ipynb # Main Jupyter notebook β”‚ β”œβ”€β”€ data/ # Dataset files (add here) β”œβ”€β”€ requirements.txt # Required Python packages β”œβ”€β”€ .gitignore # Files/folders to ignore └── README.md # Project documentation


πŸš€ Features

  • πŸ” Analyzes real-world network traffic data
  • 🧠 Detects VPN usage using Random Forest Classifier
  • πŸ“Š Data preprocessing and visualization using Pandas, Seaborn, Matplotlib
  • βœ… Displays accuracy and classification results with confusion matrix

πŸ› οΈ Tech Stack

  • Language: Python
  • Notebook: Jupyter Notebook (.ipynb)
  • Libraries:
    • pandas, numpy – Data handling
    • matplotlib, seaborn – Visualization
    • scikit-learn – ML modeling and evaluation

πŸ“¦ How to Run

  1. Clone the repository:
    git clone https://github.com/your-username/network-traffic-analyzer-vpn.git
    cd network-traffic-analyzer-vpn

About

This project presents a smart network traffic analysis system capable of identifying VPN traffic using machine learning. It processes raw traffic data, extracts important features like protocol types and packet lengths, and uses a Random Forest Classifier to detect anonymity-based VPN connections.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors