深入探索 fwsnort:Snort 规则到 iptables 的转换利器
1. 启动 fwsnort
当 fwsnort 安装在支持内核字符串匹配的系统上后,就可以从命令行启动它。通常,fwsnort 需以 root 身份执行,因为默认情况下它会查询 iptables 以确定运行内核中可用的扩展,然后相应地调整转换过程。以下是启动 fwsnort 的示例:
[iptablesfw]# fwsnort Snort Rules File Success Fail Ipt_apply Total [+] attack-responses.rules 15 2 0 17 [+] backdoor.rules 62 7 1 69 [+] bad-traffic.rules 10 3 0 13 [+] bleeding-all.rules 1076 573 5 1649 [+] exploit.rules 31 43 0 74 [+] web-cgi.rules 286 62 0 348 [+] web-client.rules 7 10 0 17 [+] web-coldfusion.rules 35 0