preprocessor reputation
Option syntax
| Option | Argument | Required | Default |
| memcap | <memcap> | NO | memcap 500 |
| scan_local | NONE | NO | OFF |
| blacklist | <list file name> | NO | NONE |
| whitelist | <list file name> | NO | NONE |
| priority | [blacklist whitelist] | NO | priority whitelist |
| nested_ip | [inner outer both] | NO | nested_ip inner |
| white | [unblack trust] | NO | white unblack |
memcap = 1-4095 Mbytes
Option explanations
Configuration examples
preprocessor reputation:\
blacklist /etc/snort/default.blacklist, \
whitelist /etc/snort/default.whitelist
preprocessor reputation: \
nested_ip both, \
blacklist /etc/snort/default.blacklist, \
whitelist /etc/snort/default.whitelist
preprocessor reputation: \
memcap 4095, scan_local, nested_ip both, \
priority whitelist, \
blacklist /etc/snort/default.blacklist, \
whitelist /etc/snort/default.whitelist,
white trust
$REP_BLACK_FILE1 = ../dshield.list
$REP_BLACK_FILE2 = ../snort.org.list
preprocessor reputation: \
blacklist $REP_BLACK_FILE1,\
blacklist $REP_BLACK_FILE2
IP List File Format
comments
line break.
172.16.42.32/32
172.33.42.32/16
comments
# This is a full line comment
172.33.42.32/16 # This is a in-line comment
# This is a full line comment
172.16.42.32/32 # This is an inline comment, line with single CIDR block
172.33.42.32/16
Use case
preprocessor reputation: \
blacklist /etc/snort/default.blacklist
whitelist /etc/snort/default.whitelist
In file "default.blacklist"
# These two entries will match all ipv4 addresses
1.0.0.0/1
128.0.0.0/1
In file "default.whitelist"
68.177.102.22 # sourcefire.com
74.125.93.104 # google.com