如何在 snort 规则文件中进行内联注释?
How to make inline comments in snort rule file?
我的一项作业要求我为 snort 规则提供内联注释。
它应该看起来像:
alert \ (some comment initiator here) comment
any \ (explanation)
any \ (explanation)
等等...
如何使用 Snort 进行内嵌注释?
您可能想看看 Snort manual。注释是在带有井号的配置和规则文件中创建的,这是非常典型的 UNIX 类型的东西:
alert tcp any any -> any 0 (sid:1000000;msg:"Packet to port zero.";) # Example rule with comment
我的一项作业要求我为 snort 规则提供内联注释。
它应该看起来像:
alert \ (some comment initiator here) comment
any \ (explanation)
any \ (explanation)
等等...
如何使用 Snort 进行内嵌注释?
您可能想看看 Snort manual。注释是在带有井号的配置和规则文件中创建的,这是非常典型的 UNIX 类型的东西:
alert tcp any any -> any 0 (sid:1000000;msg:"Packet to port zero.";) # Example rule with comment