OK, I tell you that my AV content scanner is running and I took a look at this
http://wiki.contribs.org/Dansguardian#ClamAV_support link.
But I don't find any infomration about the different plug-in i can use to scan my content.
Read what I mean:
One possibility is to use this conf. file, clamav.conf:
plugname = 'clamav'
# scanbuffmethod
#
# As of 2.9.4.0, DG uses libclamav's cl_scandesc method instead of
# cl_scanbuff when scanning memory buffers. Unfortunately, this means
# that memory contents must be written to a file before scanning even
# if the file is below maxcontentramcachescansize.
# This option specifies how temp files will be created:
#
# file - create files in scanbuffdir
#
# shm - use POSIX shared memory
#
scanbuffmethod = 'file'
# scanbuffdir - where to create temp files in scanbuffmethod 'file'.
# You can specify a ramfs/tmpfs partition to minimise performance
# impact.
# Defaults to the configured filecachedir.
#scanbuffdir = '/path/to/tmpfs'
# tempdir - temporary directory for internal use by clamav.
# When scanning archive files, clamav can create temporary files of
# its own; this allows you to specify where they will be created.
# Used regardless of scanbuffmethod.
# Defaults to the configured filecachedir.
#tempdir = '/path/to/tmpfs'
#maxfiles - The maximum number of files to scan from a single
# archive. Like clamd.conf's MaxFiles.
maxfiles = 15000
#maxreclevel - The maximum recursion level when unpacking archives
# within archives. Like clamd.conf's MaxRecursion.
maxreclevel = 10
#maxscansize - Upper limit on the amount of data that whill be
# scanned when unpacking an archive, in kilobytes. Like clamd.conf's
# MaxScanSize.
maxscansize = 100000
exceptionvirusmimetypelist = '/etc/dansguardian/lists/contentscanners/exceptionvirusmimetypelist'
exceptionvirusextensionlist = '/etc/dansguardian/lists/contentscanners/exceptionvirusextensionlist'
exceptionvirussitelist = '/etc/dansguardian/lists/contentscanners/exceptionvirussitelist'
exceptionvirusurllist = '/etc/dansguardian/lists/contentscanners/exceptionvirusurllist'Second possibility is to use that one, clamdscan.conf:
plugname = 'clamdscan'
clamdudsfile = '/var/clamav/clamd.socket'
exceptionvirusmimetypelist = '/etc/dansguardian/lists/contentscanners/exceptionvirusmimetypelist'
exceptionvirusextensionlist = '/etc/dansguardian/lists/contentscanners/exceptionvirusextensionlist'
exceptionvirussitelist = '/etc/dansguardian/lists/contentscanners/exceptionvirussitelist'
exceptionvirusurllist = '/etc/dansguardian/lists/contentscanners/exceptionvirusurllist'I think the first one write from ram to disk the file before scan them, or I can configure to write on a ramdisk.
But the second, what it do?
I didn't find any suggestion about the best way to configure content scan.
Thanx again