To classify network traffic based on protocol type (TCP, UDP, ICMP) using Software Defined Networking (SDN) with Mininet and POX controller.
- Identify TCP, UDP, and ICMP packets
- Maintain real-time traffic statistics
- Display classification results
- Analyze traffic distribution
- Mininet (Network Simulation)
- POX Controller (SDN Controller)
- Python
- OpenFlow Protocol
Hosts → Switch → Controller (POX)
- Switch forwards packets to controller
- Controller inspects packets and makes decisions
- Packet arrives at switch
- Switch sends packet to controller (Packet-In)
- Controller extracts IPv4 protocol field
- Classifies traffic:
- TCP → Protocol 6
- UDP → Protocol 17
- ICMP → Protocol 1
- Updates counters and statistics
- Calculates percentage distribution
- Installs flow rules (match-action) in switch
- Real-time packet classification
- Traffic statistics tracking
- Percentage-based traffic distribution
- Dynamic flow rule installation
- Supports TCP, UDP, ICMP traffic
- Command:
h1 ping h2 - Observed latency and ICMP detection
- Command:
nc - Successfully detected TCP packets
- Command:
iperf - Measured throughput and detected UDP packets
- Packet logs (TCP, UDP, ICMP detection)
- Statistics:
- Total packet counts
- Traffic distribution:
- Percentage of each protocol
Click here to view screenshots
- Latency measured using ping
- Throughput measured using iperf
- Flow rules observed using
dpctl dump-flows
The system successfully classifies network traffic using SDN principles, maintains statistics, and analyzes traffic distribution efficiently.
- GUI dashboard for visualization
- Machine learning-based traffic analysis
- Intrusion detection system integration
P Mahema Sai