Package: clamav-daemon
Version: 0.94.dfsg-1
Severity: normal

Hi,

I'm using this command line :
clamscan --max-recursion=50 -ri --no-summary myfolder

I would like to use the clamdscan program instead of clamscan. But the
-i option is always ignored. However, if I do a clamdscan --help I see
that :
                      ClamAV Daemon Client 0.94
     (C) 2002 - 2007 ClamAV Team - http://www.clamav.net/team

    --help              -h             Show help
    --version           -V             Print version number and exit
    --verbose           -v             Be verbose
    --quiet                            Be quiet, only output error messages
    --stdout                           Write to stdout instead of stderr
                                       (this help is always written to stdout)
    --log=FILE          -l FILE        Save scan report in FILE
    --remove                           Remove infected files. Be careful!
    --move=DIRECTORY                   Move infected files into DIRECTORY
    --copy=DIRECTORY                   Copy infected files into DIRECTORY
    --config-file=FILE                 Read configuration from FILE.
    --multiscan           -m           Force MULTISCAN mode
    --infected            -i           Only print infected files
    --no-summary                       Disable summary at end of scanning
    --fdpass                           pass filedescriptor to clamd (useful if 
clamd is running as a different user)


So the -i option is here. How can I get a clean output with just the
infected file with the clamdscan ? Is it a bug of clamdscan ?

Thx a lot
Regards,
Guillaume 


-- Package-specific info:
--- configuration ---
/etc/clamav/clamd.conf: clamd directives
------------------------------
LogFile = "/var/log/clamav/clamav.log"
LogFileUnlock = no
LogFileMaxSize = 0
LogTime = yes
LogClean = no
LogVerbose = no
LogSyslog = no
LogFacility = "LOG_LOCAL6"
PidFile = "/var/run/clamav/clamd.pid"
TemporaryDirectory = "/tmp"
ScanPE = yes
ScanELF = yes
DetectBrokenExecutables = no
ScanMail = yes
MailFollowURLs = no
ScanPartialMessages = no
PhishingSignatures = yes
PhishingScanURLs = yes
PhishingAlwaysBlockCloak = no
PhishingAlwaysBlockSSLMismatch = no
HeuristicScanPrecedence = no
DetectPUA = no
ExcludePUA not set
IncludePUA not set
StructuredDataDetection = no
StructuredMinCreditCardCount = 3
StructuredMinSSNCount = 3
StructuredSSNFormatNormal = yes
StructuredSSNFormatStripped = no
AlgorithmicDetection = yes
ScanHTML = yes
ScanOLE2 = yes
ScanPDF = no
ScanArchive = yes
MaxScanSize = 104857600
MaxFileSize = 26214400
MaxRecursion = 20
MaxFiles = 10000
ArchiveLimitMemoryUsage = no
ArchiveBlockEncrypted = no
DatabaseDirectory = "/var/lib/clamav"
TCPAddr not set
TCPSocket not set
LocalSocket = "/var/run/clamav/clamd.ctl"
MaxConnectionQueueLength = 15
StreamMaxLength = 10485760
StreamMinPort = 1024
StreamMaxPort = 2048
MaxThreads = 12
ReadTimeout = 180
IdleTimeout = 30
MaxDirectoryRecursion = 15
ExcludePath not set
FollowDirectorySymlinks = no
FollowFileSymlinks = no
ExitOnOOM = no
Foreground = no
Debug = no
LeaveTemporaryFiles = no
FixStaleSocket = yes
User = "clamav"
AllowSupplementaryGroups = yes
SelfCheck = 3600
VirusEvent not set
ClamukoScanOnAccess not set
ClamukoScanOnOpen not set
ClamukoScanOnClose not set
ClamukoScanOnExec not set
ClamukoIncludePath not set
ClamukoExcludePath not set
ClamukoMaxFileSize = 5242880
DevACOnly not set
DevACDepth not set

/etc/clamav/freshclam.conf: freshclam directives
------------------------------
LogFileMaxSize = 0
LogTime = no
LogVerbose = no
LogSyslog = no
LogFacility = "LOG_LOCAL6"
PidFile = "/var/run/clamav/freshclam.pid"
DatabaseDirectory = "/var/lib/clamav/"
Foreground = no
Debug = no
AllowSupplementaryGroups = no
DatabaseOwner = "clamav"
Checks = 12
UpdateLogFile = "/var/log/clamav/freshclam.log"
DNSDatabaseInfo = "current.cvd.clamav.net"
DatabaseMirror = "db.local.clamav.net"
DatabaseMirror = "database.clamav.net"
MaxAttempts = 5
ScriptedUpdates = yes
CompressLocalDatabase = no
HTTPProxyServer not set
HTTPProxyPort not set
HTTPProxyUsername not set
HTTPProxyPassword not set
HTTPUserAgent not set
NotifyClamd not set
OnUpdateExecute not set
OnErrorExecute not set
OnOutdatedExecute not set
LocalIPAddress not set
ConnectTimeout = 30
ReceiveTimeout = 30

Engine and signature databases
------------------------------
Engine version: 0.94
Database directory: /var/lib/clamav/
main db: Format: .cld, Version: 48, Build time: Thu Sep  4 20:51:34 2008
daily db: Format: .cld, Version: 8377, Build time: Mon Oct  6 03:36:23 2008

--- data dir ---
total 39764
drwxr-xr-x 2 clamav clamav     4096 avr  9 17:27 
clamav-06e0c73a4e515511cfa7fb9d16753f95
drwxr-xr-x 2 clamav clamav     4096 avr  8 00:21 
clamav-31f7670ca212d4274acd5b640d909c36
drwxr-xr-x 2 clamav clamav     4096 avr  9 18:33 
clamav-50a91c7e5461f7a9a1705aa7d1a3430c
drwxr-xr-x 2 clamav clamav     4096 mar  2  2008 
clamav-5b219c85b70e63b2571e620336451ae8
drwxr-xr-x 2 clamav clamav     4096 avr  8 01:24 
clamav-8779364f240d3f7ea872810b802abb0b
drwxr-xr-x 2 clamav clamav     4096 avr  9 22:36 
clamav-d80d7843ff5fdac32f862099148ce532
-rw-r--r-- 1 clamav clamav  2354688 oct  6 09:59 daily.cld
drwxr-xr-x 2 clamav clamav     4096 mai  3 19:47 daily.inc
-rw-r--r-- 1 clamav clamav 38275584 sep  4 23:27 main.cld
drwxr-xr-x 2 clamav clamav     4096 mai  3 19:47 main.inc
-rw------- 1 clamav clamav     1144 oct  6 12:59 mirrors.dat

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.26.5-1
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to fr_FR.UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages clamav-daemon depends on:
ii  clamav-base            0.94.dfsg-1       anti-virus utility for Unix - base
ii  clamav-freshclam [clam 0.94.dfsg-1       anti-virus utility for Unix - viru
ii  libc6                  2.7-13            GNU C Library: Shared libraries
ii  libclamav5             0.94.dfsg-1       anti-virus utility for Unix - libr
ii  lsb-base               3.2-20            Linux Standard Base 3.2 init scrip
ii  ucf                    3.0010            Update Configuration File: preserv
ii  zlib1g                 1:1.2.3.3.dfsg-12 compression library - runtime

clamav-daemon recommends no packages.

Versions of packages clamav-daemon suggests:
pn  clamav-docs                   <none>     (no description available)
pn  daemon                        <none>     (no description available)

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to