Skip to content

Instantly share code, notes, and snippets.

@colemanjp
Created October 18, 2012 21:08
Show Gist options
  • Select an option

  • Save colemanjp/3914752 to your computer and use it in GitHub Desktop.

Select an option

Save colemanjp/3914752 to your computer and use it in GitHub Desktop.
clamav limits on MRs 20121018
##
## Limits
##
# The options below protect your system against Denial of Service attacks
# using archive bombs.
# This option sets the maximum amount of data to be scanned for each input file.
# Archives and other containers are recursively extracted and scanned up to this
# value.
# Value of 0 disables the limit
# Note: disabling this limit or setting it too high may result in severe damage
# to the system.
# Default: 100M
#MaxScanSize 150M
# Files larger than this limit won't be scanned. Affects the input file itself
# as well as files contained inside it (when the input file is an archive, a
# document or some other kind of container).
# Value of 0 disables the limit.
# Note: disabling this limit or setting it too high may result in severe damage
# to the system.
# Used to be called ArchiveMaxFileSize
# Default: 25M
#MaxFileSize 30M
# 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
# deeply the process should be continued.
# Note: disabling this limit or setting it too high may result in severe damage
# to the system.
# Used to be called ArchiveMaxRecursion
# Value of 0 disables the limit.
# Default: 16
#MaxRecursion 10
# Number of files to be scanned within an archive, a document, or any other
# container file.
# Value of 0 disables the limit.
# Used to be called ArchiveMaxFiles
# Note: disabling this limit or setting it too high may result in severe damage
# to the system.
# Default: 10000
#MaxFiles 15000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment