@graysky: Ok I tried again and I recall now what had happened the last time.
It worked randomly. Sometimes snort gave the following error and sometimes it worked. And that is why I switched to 'any'.
Dec 06 22:22:14 amish snort[47450]: ERROR: rules/snort.rules:4040 Undefined variable in the string: $EXTERNAL_NET.
I will implement the other change about -Q. Thanks for the TIP.
Pinned Comments
amish commented on 2021-01-24 05:07 (UTC)
This snort version by default runs as INLINE (nfq) IDS as well as IPS. i.e. it works by using iptables / nft NFQUEUE target. i.e. it does not run in sniffing mode and it can block packets at firewall level.
However, you can perfectly run it as normal snort IDS by changing local.lua and systemd start up files.