mirror of
https://github.com/casjaysdevdocker/squidguard
synced 2025-09-18 21:57:47 -04:00
🦈🏠🐜❗ Initial Commit ❗🐜🦈🏠
This commit is contained in:
13
config/e2guardian/contentscanners/clamdscan.conf
Normal file
13
config/e2guardian/contentscanners/clamdscan.conf
Normal file
@@ -0,0 +1,13 @@
|
||||
plugname = 'clamdscan'
|
||||
|
||||
# edit this to match the location of your ClamD UNIX domain socket
|
||||
clamdudsfile = '/run/clamav/clamd.ctl'
|
||||
|
||||
# If this string is set, the text it contains shall be removed from the
|
||||
# beginning of filenames when passing them to ClamD.
|
||||
# Use it to - for example - support a ClamD running inside a chroot jail:
|
||||
# if DG's filecachedir is set to "/var/clamdchroot/downloads/" and pathprefix
|
||||
# is set to "/var/clamdchroot", then file names given to ClamD will be of the
|
||||
# form "/downloads/tf*" instead of "/var/clamdchroot/downloads/tf*".
|
||||
#pathprefix = '/var/clamdchroot'
|
||||
|
45
config/e2guardian/contentscanners/commandlinescan.conf
Normal file
45
config/e2guardian/contentscanners/commandlinescan.conf
Normal file
@@ -0,0 +1,45 @@
|
||||
plugname = 'commandlinescan'
|
||||
|
||||
# Program to run & initial arguments - filename for scanning will be appended
|
||||
#progname = /path/to/scanner
|
||||
|
||||
# At least one of the following three options must be defined!
|
||||
# They are checked in the following order, with the first match determining
|
||||
# the scan result:
|
||||
# virusregexp - regular expression for extracting virus names from
|
||||
# the scanner's output
|
||||
# cleancodes - program return code(s), as a comma-separated list, for
|
||||
# uninfected files
|
||||
# infectedcodes - program return code(s), as a comma-separated list, for
|
||||
# infected files
|
||||
|
||||
#virusregexp = (someregexp)
|
||||
|
||||
# Which submatch of the above contains the virus name? (0 = all matched text)
|
||||
#submatch = 1
|
||||
|
||||
# cleancodes = 0
|
||||
# infectedcodes = 1,2,3
|
||||
|
||||
# Default result when none of the other options triggers a match
|
||||
# Valid values are "infected" and "clean"
|
||||
#defaultresult = infected
|
||||
|
||||
|
||||
|
||||
#
|
||||
# Example configuration for clamdscan
|
||||
#
|
||||
|
||||
## Path to binary
|
||||
#progname = '/usr/bin/clamdscan'
|
||||
|
||||
## Program returns 0 for clean files (for an easy out)
|
||||
#cleancodes = 0
|
||||
|
||||
## Regular expression for virus names
|
||||
#virusregexp = : ([ -/a-zA-Z0-9\.]+) FOUND
|
||||
#submatch = 1
|
||||
|
||||
## Default scan result when the above don't match
|
||||
#defaultresult = infected
|
8
config/e2guardian/contentscanners/icapscan.conf
Normal file
8
config/e2guardian/contentscanners/icapscan.conf
Normal file
@@ -0,0 +1,8 @@
|
||||
plugname = 'icapscan'
|
||||
|
||||
# ICAP URL
|
||||
# Use hostname rather than IP address
|
||||
# Always specify the port
|
||||
#
|
||||
icapurl = 'icap://icapserver:1344/avscan'
|
||||
|
Reference in New Issue
Block a user