Snort中白名单和黑名单条目的问题

时间:2014-05-05 06:26:45

标签: snort

嗯,再次,我指的是this guide. 问题是,在我改变了

的值之后
    var WHITE_LIST_PATH ../rules
    var BLACK_LIST_PATH ../rules

为:

    var WHITE_LIST_PATH /usr/local/snort/rules 
    var BLACK_LIST_PATH /usr/local/snort/rules

我收到了错误消息:

WARNING: Can't find any whitelist/blacklist entries. Reputation Preprocessor disabled.

所以我接着改为:

    #var WHITE_LIST_PATH /usr/local/snort/rules 
    #var BLACK_LIST_PATH /usr/local/snort/rules

但是当我这样做时,我收到了一条新的错误消息:

/usr/local/snort/etc/snort.conf(507) Undefined variable name: WHITE_LIST_PATH.

有谁知道我在这里做错了什么?

1 个答案:

答案 0 :(得分:1)

我从Snort网站重新下载了规则文件,将其解压缩,复制到相关目录并重新配置了snort.conf文件,现在Snort可以再次运行。