The AlertExceedsMax value is now managed by a variable, default 'no'.

This commit is contained in:
Andrea Dell'Amico 2020-01-14 16:48:37 +02:00
parent a054e94915
commit a411c8d68b
2 changed files with 3 additions and 2 deletions

View File

@ -27,6 +27,7 @@ clamav_clamd_extended_info: 'yes'
clamav_clamd_pidfile: '/run/clamd.scan/clamd.pid' clamav_clamd_pidfile: '/run/clamd.scan/clamd.pid'
clamav_clamd_tmp: '/var/tmp' clamav_clamd_tmp: '/var/tmp'
clamav_clamd_official_db_only: 'no' clamav_clamd_official_db_only: 'no'
clamav_clamd_alert_exceeding_max: 'no'
clamav_clamd_use_local_socket: True clamav_clamd_use_local_socket: True
clamav_clamd_local_socket: '/run/clamd.scan/clamd.sock' clamav_clamd_local_socket: '/run/clamd.scan/clamd.sock'
clamav_clamd_use_net_socket: False clamav_clamd_use_net_socket: False

View File

@ -451,7 +451,7 @@ MaxScanSize {{ clamav_clamd_stream_max_lenght }}M
# Note: disabling this limit or setting it too high may result in severe damage # Note: disabling this limit or setting it too high may result in severe damage
# to the system. # to the system.
# Default: 25M # Default: 25M
#MaxFileSize 30M MaxFileSize {{ clamav_clamd_stream_max_lenght }}M
# Nested archives are scanned recursively, e.g. if a Zip archive contains a RAR # Nested archives are scanned recursively, e.g. if a Zip archive contains a RAR
# file, all files within it will also be scanned. This options specifies how # file, all files within it will also be scanned. This options specifies how
@ -566,7 +566,7 @@ MaxRecursion 10
# MaxRecursion limit will be flagged with the virus # MaxRecursion limit will be flagged with the virus
# "Heuristics.Limits.Exceeded". # "Heuristics.Limits.Exceeded".
# Default: no # Default: no
AlertExceedsMax yes AlertExceedsMax {{ clamav_clamd_alert_exceeding_max }}
## ##
## On-access Scan Settings ## On-access Scan Settings