My question is simple, how to scan 2 directory (/var and /home) with avastguard. It work with /var/www and /var/lib (with the following configurations files) but not for 2 differents directory.
Help me please.
avastd.conf :
[global]
usesyslog = no
syslogfacility = LOG_DAEMON
logfile = /var/log/avast4/avastd.log
maxlogfile=0
ignoreloginfo=0
[local]
daemoncount = 3
maxdaemoncount = 5
listen = /var/run/avast4/local.sock
timeout = 300
user = root
datadir = /var/lib/avast4
tempdir = /var/tmp/avast4
licensefile = /var/lib/avast4/License.dat
workdir = /home
subdirs = true
testall = 1
testfull = 0
ignoretype = 0
archivetype = A
summaryarchive = 0
maxpackerdepth = 0
maxfilesizetoextract = 500000
maxcompressionratio = 50
compressioncheckthreshold = 10000
maxtotalcompressionratio = 100
totalcompressioncheckthreshold = 1000
loginfected = 1
logerrors = 1
logclean = 1
# avast! on-access scanner
[guard]
daemoncount = 3
maxdaemoncount = 10
listen = /var/run/avastguard/guardscanner.sock
timeout = 300
user = root
datadir = /var/lib/avast4
tempdir = /var/tmp/avast4
licensefile = /var/lib/avast4/License.dat
workdir = /home
subdirs = true
testall = true
testfull = false
ignoretype = false
# scanner packers :
archivetype = A
summaryarchive = true
maxpackerdepth = 0
# determine packer bomb :
maxfilesizetoextract = 100000
maxcompressionratio = 50
compressioncheckthreshold = 10000
maxtotalcompressionratio = 80
totalcompressioncheckthreshold = 200
# log scan results :
loginfected = true
logerrors = true
logclean = false
[guard2]
daemoncount = 3
maxdaemoncount = 10
listen = /var/run/avastguard/guardscanner.sock
timeout = 300
user = root
# avast! engine paths :
datadir = /var/lib/avast4
tempdir = /var/tmp/avast4
licensefile = /var/lib/avast4/License.dat
# scanner work area :
workdir = /var
subdirs = true
# scanner flags :
testall = true
testfull = false
ignoretype = false
# scanner packers :
archivetype = A
summaryarchive = true
maxpackerdepth = 0
# determine packer bomb :
maxfilesizetoextract = 100000
maxcompressionratio = 50
compressioncheckthreshold = 10000
maxtotalcompressionratio = 80
totalcompressioncheckthreshold = 200
# log scan results :
loginfected = true
logerrors = true
logclean = false
avastguard.conf :
USESYSLOG=no
SYSLOGFACILITY=LOG_DAEMON
LOGFILE=/var/log/avast4/avastguard.log
MAXLOGFILE=0
IGNORELOGINFO=yes
COUNT=4
MAXCOUNT=10
AVIFACE=unix:/var/run/avastguard/guardscanner.sock
AVTIMEOUT=0
ONOPEN=yes
ONCLOSE=no
ONEXEC=yes
INCLUDEPATH=/var/lib/
INCLUDEPATH=/home/
TRUSTEDUSER=root
MAXFILESIZE=0
DENY_SCANERROR=no
DENY_ENCRYPTED=no
LOGCLEAN=true
DELETE_INFECTED=no
RENAME_INFECTED=no
RENAME_SUFFIX=.vir
QUARANTINE_INFECTED=yes
QUARANTINE_DIRECTORY=/var/lib/avastguard/quarantine
QUARANTINE_RECURSIVELY=no
Thank you,
kab