I have a problem with ips mode when i try to demo TCP SYN flood attack by hping3
When i use command:
hping3 -S -P 192.168.159.8 -i u1000.
That’s Suricata’s log
When I run suricata as IDS it still shows the normal log.
so I think there is something wrong with the transport of packets from iptables to Suricata. But I don’t know why.
I may be wrong, I’m not a linux guy (my set up is FreeBSD), however based on your first message, you’re trying to flood the IPS host, not a network behind it (I guess). Try to send traffic to suricata via INPUT/OUTPUT chain as the documentation shows.
Do you run the hping on the same machine as you run suricata? you could add iptables -j LOG target before the NFQUEUE jump to ensure the packets are seen for debugging.