SDN networks (Software Defined Networking ) are exposed to new security threats and attacks, especially Distributed Denial of Service (DDoS) attacks. For this aim, we have proposed a model able to detect and mitigate attacks automatically in SDN networks using Machine Learning (ML)
You didn't add tcp flags so I did it for you to add.
tcp_flags = packet[TCP].flags
tcp_flags |= (TCP.FLAG_SYN | TCP.FLAG_URG | TCP.FLAG_ACK | TCP.FLAG_PSH | TCP.FLAG_FIN | TCP.FLAG_RST)
You didn't add tcp flags so I did it for you to add. tcp_flags = packet[TCP].flags tcp_flags |= (TCP.FLAG_SYN | TCP.FLAG_URG | TCP.FLAG_ACK | TCP.FLAG_PSH | TCP.FLAG_FIN | TCP.FLAG_RST)