Skip to content

bqmxnh/IDSforSDN

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Software-Defined Network Intrusion Detection System for DDoS Attack Detection

System Architecture:

Architecuture

IP Addresses:

Tên máy Interface Địa chỉ IP
Switch VM VMNet 2, VMNet 1 VMNet 2: 192.168.111.10/24
VMNet 1: 192.168.184.10/24
Management VM VMNet 2 VMNet 2: 192.168.111.11/24
Controller VM VMNet 2 VMNet 2: 192.168.111.12/24
Victim VM VMNet 2 VMNet 2: 192.168.111.13/24
Attacker VMNet 1 192.168.184.11

Workflows (in Vietnamese):

sequenceDiagram
    participant A as Attacker (hping3)
    participant S as OVS Switch
    participant C as Ryu Controller
    participant I as Suricata IDS
    participant V as Victim

    Note over A: Bắt đầu tấn công SYN Flood
    loop Hàng ngàn packets/giây
        A->>S: Gửi TCP SYN (Src IP ngẫu nhiên)
        
        par Xử lý SDN
            S->>C: Packet-In (Gói tin mới)
            C->>S: Packet-Out + FlowMod (Cài luật)
            Note right of C: CPU Controller tăng vọt (Quá tải)
        and Xử lý IDS
            S->>I: Mirror/Copy Traffic
            I->>I: Khớp luật (Signature Match)
            I-->>Log: Ghi log "Possible DDoS attack"
        end
        
        S->>V: Chuyển tiếp gói tin (Nếu không bị drop)
    end
Loading

Result:

  • Created a SDN Architecture with OVSSwitch and Ryu Controller: SDN

  • Monitoring System with Prometheus, Grafana, Loki: Grafana Grafana Log Log

  • Successfully detected DDoS attack with Suricata DDoS

Setup and Deployment Guide: SETUP

Tool Stack References

About

Software-defined network intrusion detection system for detecting DDoS attacks using Open vSwitch, Ryu controller, and Suricata IDS with Prometheus/Grafana monitoring.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors