Main Repository for 4th Semester, 2nd Mini Project on Computer Networks (UE23CS252B) for a CLI-based Network Traffic Analysis, Monitoring & Security Tool
Class & Section: Semester 4th, 'A' Section, B.Tech. Computer Science Engineering, PES University, Bangalore
- Aania George (SRN: PES1UG23CS007)
- Akhilesh Anil (SRN: PES1UG23CS045)
A comprehensive CLI-based Network Analysis, Monitoring & Security Toolkit built using Python Raw Sockets to offer low-level access and deep inspection of network traffic. It includes packet sniffing, connection monitoring, performance measurement, threat detection, and geographical analysis — all without relying on external libraries like Scapy or Wireshark.
Captures and parses live network traffic at the Ethernet and IP level using raw sockets in Python.
Maps the geographical location of IP addresses in real-time using packet metadata.
Sends Custom ICMP Echo Requests to check host reachability and measures round-trip time.
Tracks active TCP connections and identifies open sessions across the network.
Analyzes TCP stream behavior including packet count, session duration, and flow statistics.
Identifies open ports on a target host by crafting and sending custom TCP/UDP packets.
Monitors network throughput and latency using active TCP probes and metrics.
Detects abnormal traffic bursts and high-frequency packet flows indicative of DoS attempts.
Performs EDA on stored packet logs to uncover traffic patterns, protocols used, and anomalies.
- Linux System (due to use of
AF_PACKETfor Raw Sockets) - Root privileges to run
sudo
sudo python3 Main.py





