Hey team,
I am trying to modify the same rule more than once using modify.conf in suricata-update but the rule remains unchanged.
Say for example I have a rule:
alert tls any any → any any (msg:“SURICATA TLS invalid SSLv2 header”; flow:established; app-layer-event:tls.invalid_sslv2_header; flowint:tls.anomaly.count,+,1; classtype:protocol-command-decode; sid:2230000; rev:1;)
Now I add the following lines to my modify.conf file and run suricata-update --modify-conf=suricata-update/suricata/update/configs/modify.conf --force --no-merge:
2230000 “alert” “reject”
2230000 “reject” “pass”
The expected new rule should be:
pass tls any any → any any (msg:“SURICATA TLS invalid SSLv2 header”; flow:established; app-layer-event:tls.invalid_sslv2_header; flowint:tls.anomaly.count,+,1; classtype:protocol-command-decode; sid:2230000; rev:1;)
However, the rule remains unchanged, i.e.
alert tls any any → any any (msg:“SURICATA TLS invalid SSLv2 header”; flow:established; app-layer-event:tls.invalid_sslv2_header; flowint:tls.anomaly.count,+,1; classtype:protocol-command-decode; sid:2230000; rev:1;)
Is there anything that I’m missing or doing wrong? Any help on this is greatly appreciated.
Thanks,
Vagisha