You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
926 B
Plaintext
35 lines
926 B
Plaintext
rule "local" {
|
|
# Fuzzy storage server list
|
|
servers = "localhost:11335";
|
|
# Default symbol for unknown flags
|
|
symbol = "LOCAL_FUZZY_UNKNOWN";
|
|
# Additional mime types to store/check
|
|
mime_types = ["application/*"];
|
|
# Hash weight threshold for all maps
|
|
max_score = 20.0;
|
|
# Whether we can learn this storage
|
|
read_only = no;
|
|
# Ignore unknown flags
|
|
skip_unknown = yes;
|
|
# Hash generation algorithm
|
|
algorithm = "mumhash";
|
|
# Map flags to symbols
|
|
fuzzy_map = {
|
|
LOCAL_FUZZY_DENIED {
|
|
# Local threshold
|
|
max_score = 20.0;
|
|
# Flag to match
|
|
flag = 11;
|
|
}
|
|
LOCAL_FUZZY_PROB {
|
|
max_score = 10.0;
|
|
flag = 12;
|
|
}
|
|
LOCAL_FUZZY_WHITE {
|
|
max_score = 2.0;
|
|
flag = 13;
|
|
}
|
|
}
|
|
}
|
|
.include(try=true,priority=1,duplicate=merge) "/overrides/fuzzy_check.conf"
|