FPROT HIT - PATTERN
Run Dummy Fprot ${PORT_FPROT} 1
- Run Dummy Fprot ${PORT_FPROT_DUPLICATE} 1 /tmp/dummy_fprot_dupe.pid
+ Run Dummy Fprot ${PORT_FPROT2_DUPLICATE} 1 /tmp/dummy_fprot_dupe.pid
${result} = Scan Message With Rspamc ${MESSAGE}
Check Rspamc ${result} FPROT_EICAR
Should Not Contain ${result.stdout} CLAMAV_VIRUS
# Also check ordered pattern match
- Should Contain ${result.stdout} FPROT_VIRUS_DUPLICATE_PATTERN
- Should Not Contain ${result.stdout} FPROT_VIRUS_DUPLICATE_DEFAULT
- Should Not Contain ${result.stdout} FPROT_VIRUS_DUPLICATE_NOPE
+ Should Contain ${result.stdout} FPROT2_VIRUS_DUPLICATE_PATTERN
+ Should Not Contain ${result.stdout} FPROT2_VIRUS_DUPLICATE_DEFAULT
+ Should Not Contain ${result.stdout} FPROT2_VIRUS_DUPLICATE_NOPE
Shutdown fport
Shutdown fport duplicate
Check Rspamc ${result} FPROT_EICAR
Should Not Contain ${result.stdout} CLAMAV_VIRUS
# Also check ordered pattern match
- Should Contain ${result.stdout} FPROT_VIRUS_DUPLICATE_PATTERN
- Should Not Contain ${result.stdout} FPROT_VIRUS_DUPLICATE_DEFAULT
+ Should Contain ${result.stdout} FPROT2_VIRUS_DUPLICATE_PATTERN
+ Should Not Contain ${result.stdout} FPROT2_VIRUS_DUPLICATE_DEFAULT
FPROT CACHE MISS
${result} = Scan Message With Rspamc ${MESSAGE2}
fprot_duplicate {
prefix = "fp_dupe";
attachments_only = false;
- symbol = "FPROT_VIRUS_DUPLICATE_DEFAULT";
+ symbol = "FPROT2_VIRUS_DUPLICATE_DEFAULT";
type = "fprot";
- servers = "127.0.0.1:${PORT_FPROT_DUPLICATE}";
+ servers = "127.0.0.1:${PORT_FPROT2_DUPLICATE}";
patterns = [
- {FPROT_VIRUS_DUPLICATE_PATTERN = "^E"},
- {FPROT_VIRUS_DUPLICATE_NOPE1 = "^EI",
- FPROT_VIRUS_DUPLICATE_NOPE2 = "^EIC",
- FPROT_VIRUS_DUPLICATE_NOPE3 = "^EICA",
- FPROT_VIRUS_DUPLICATE_NOPE4 = "^EICAR",
- FPROT_VIRUS_DUPLICATE_NOPE5 = "^EICAR_"}
+ {FPROT2_VIRUS_DUPLICATE_PATTERN = "^E"},
+ {FPROT2_VIRUS_DUPLICATE_NOPE1 = "^EI",
+ FPROT2_VIRUS_DUPLICATE_NOPE2 = "^EIC",
+ FPROT2_VIRUS_DUPLICATE_NOPE3 = "^EICA",
+ FPROT2_VIRUS_DUPLICATE_NOPE4 = "^EICAR",
+ FPROT2_VIRUS_DUPLICATE_NOPE5 = "^EICAR_"}
];
}
}
PORT_PROXY = 56795
PORT_CLAM = 56796
PORT_FPROT = 56797
-PORT_FPROT_DUPLICATE = 56798
+PORT_FPROT2_DUPLICATE = 56798
REDIS_ADDR = u'127.0.0.1'
REDIS_PORT = 56379
NGINX_ADDR = u'127.0.0.1'