流量检测项目开发
1 | sudo suricata-update list-sources |
可以增加好多其他地方的源
1 | curl http://testmynids.org/uid/index.html#可以测试id |
然后可以简单编写suricata规则
1 | 1 alert icmp any any -> $HOME_NET any (msg:"ICMP Ping"; sid: 1; rev: 1;)即可标记一个由外部网络进入家庭网络的ping请求 |
如图所示可以被记录下来
尽管我们还没有加分类和优先级。
All articles in this blog are licensed under CC BY-NC-SA 4.0 unless stating additionally.
Comment