当我执行
sudo suricata -i enp0s8 -c suricata.yaml -s rules/misreglas.rules 得到输出:
<Error> - [ERRCODE: SC_ERR_DUPLICATE_SIG(176)] - Duplicate signature "drop http $HOME_NET any -> any any (msg: "HTTP DROP";)"
<Error> - [ERRCODE: SC_ERR_INVALID_SIGNATURE(39)] - error parsing signature "drop http $HOME_NET any -> any any (msg: "HTTP DROP";)" from file rules/misreglas.rules at line 1misreglas.rules含量
drop http $HOME_NET any -> any any (msg: "HTTP DROP";)发布于 2022-03-25 10:50:11
你必须把规则写成这样:
drop ICMP any any -> 169.69.1.11 any (msg: "test";sid:10001;)
drop HTTP $HOME_NET any -> any any (msg: "HTTP DROP";sid:10002;)在我放的地方,你必须把它放进去,而且它还没有开始使用。
https://stackoverflow.com/questions/71614646
复制相似问题