[Snort-users] rules in snort inline

black_angel black_angel black.sad.angel at ...11827...
Tue Jun 15 15:33:36 EDT 2010


hey everybody,
i try to change all the rules for my snort inline from mode "alert" to
"drop" i used this script but it doesn't work correctly:

*
cd /etc/snort_inline/rules/*

*for file in $(ls -1 *.rules)*

*do*

*               sed -e 's:^alert:drop:g' ${file} > ${file}.new*

*               mv ${file}.new ${file} -f*

*done*
if someone have another script or any idea
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.snort.org/pipermail/snort-users/attachments/20100615/2518c825/attachment.html>


More information about the Snort-users mailing list