[Pkg-clamav-devel] Bug#585479: clamav-milter: please improve the last debconf question for 'MaxFileSize'

Teodor mteodor at gmail.com
Thu Jun 10 20:57:43 UTC 2010


Package: clamav-milter
Version: 0.96.1+dfsg-1~volatile1
Severity: wishlist

Hi,

The last debconf question is about 'MaxFileSize' parameter. The short description is
useful but it doesn't specify that a value of '0' does not represent 'unlimited' as
it is for the 'clamav-base' and 'clamav-freshclam' packages. I've run into this issue
the second time and the result is that clamav-milter passes no data to clamd for
scanning and you'll see these messages in the logs:
| Jun 10 23:13:18 arthur clamav-milter[27506]: Not scanning an empty message

Maybe a better fix would be to have clamav-milter consider a '0M' value as the other
clamav modules ('unlimited'), but for now a sentence in the debconf question is enough:
  "Note that a value of 0 doesn't represent an 'unlimited' message size."

Feel free to select a better phrase, I'm not a native english speaker.

Thanks


-- Package-specific info:
--- configuration ---
Checking configuration files in /etc/clamav

Config file: clamd.conf
-----------------------
LogFile = "/var/log/clamav/clamav.log"
LogFileUnlock disabled
LogFileMaxSize disabled
LogTime = "yes"
LogClean disabled
LogSyslog = "yes"
LogFacility = "LOG_MAIL"
LogVerbose disabled
PidFile = "/var/run/clamav/clamd.pid"
TemporaryDirectory disabled
DatabaseDirectory = "/var/lib/clamav"
OfficialDatabaseOnly disabled
LocalSocket = "/var/run/clamav/clamd.ctl"
LocalSocketGroup = "clamav"
LocalSocketMode = "666"
FixStaleSocket = "yes"
TCPSocket disabled
TCPAddr disabled
MaxConnectionQueueLength = "15"
StreamMaxLength disabled
StreamMinPort = "1024"
StreamMaxPort = "2048"
MaxThreads = "12"
ReadTimeout = "180"
CommandReadTimeout = "5"
SendBufTimeout = "200"
MaxQueue = "100"
IdleTimeout = "30"
ExcludePath disabled
MaxDirectoryRecursion = "20"
FollowDirectorySymlinks disabled
FollowFileSymlinks disabled
CrossFilesystems = "yes"
SelfCheck = "3600"
VirusEvent disabled
ExitOnOOM disabled
Foreground disabled
Debug disabled
LeaveTemporaryFiles disabled
User = "clamav"
AllowSupplementaryGroups = "yes"
Bytecode = "yes"
BytecodeSecurity = "TrustSigned"
BytecodeTimeout = "60000"
DetectPUA disabled
ExcludePUA disabled
IncludePUA disabled
AlgorithmicDetection = "yes"
ScanPE = "yes"
ScanELF = "yes"
DetectBrokenExecutables = "yes"
ScanMail = "yes"
ScanPartialMessages disabled
PhishingSignatures = "yes"
PhishingScanURLs = "yes"
PhishingAlwaysBlockCloak disabled
PhishingAlwaysBlockSSLMismatch disabled
HeuristicScanPrecedence disabled
StructuredDataDetection disabled
StructuredMinCreditCardCount = "3"
StructuredMinSSNCount = "3"
StructuredSSNFormatNormal = "yes"
StructuredSSNFormatStripped disabled
ScanHTML = "yes"
ScanOLE2 = "yes"
ScanPDF = "yes"
ScanArchive = "yes"
ArchiveBlockEncrypted disabled
MaxScanSize = "104857600"
MaxFileSize = "26214400"
MaxRecursion = "16"
MaxFiles = "10000"
ClamukoScanOnAccess disabled
ClamukoScannerCount = "3"
ClamukoScanOnOpen disabled
ClamukoScanOnClose disabled
ClamukoScanOnExec disabled
ClamukoIncludePath disabled
ClamukoExcludePath disabled
ClamukoMaxFileSize = "5242880"
DevACOnly disabled
DevACDepth disabled

Config file: freshclam.conf
---------------------------
LogFileMaxSize disabled
LogTime = "yes"
LogSyslog = "yes"
LogFacility = "LOG_MAIL"
LogVerbose disabled
PidFile = "/var/run/clamav/freshclam.pid"
DatabaseDirectory = "/var/lib/clamav/"
Foreground disabled
Debug disabled
AllowSupplementaryGroups disabled
UpdateLogFile = "/var/log/clamav/freshclam.log"
DatabaseOwner = "clamav"
Checks = "24"
DNSDatabaseInfo = "current.cvd.clamav.net"
DatabaseMirror = "db.local.clamav.net", "database.clamav.net"
MaxAttempts = "5"
ScriptedUpdates = "yes"
TestDatabases = "yes"
CompressLocalDatabase disabled
ExtraDatabase disabled
HTTPProxyServer disabled
HTTPProxyPort disabled
HTTPProxyUsername disabled
HTTPProxyPassword disabled
HTTPUserAgent disabled
NotifyClamd = "/etc/clamav/clamd.conf"
OnUpdateExecute disabled
OnErrorExecute disabled
OnOutdatedExecute disabled
LocalIPAddress disabled
ConnectTimeout = "30"
ReceiveTimeout = "30"
SubmitDetectionStats disabled
DetectionStatsCountry disabled
DetectionStatsHostID disabled
SafeBrowsing disabled
Bytecode = "yes"

Config file: clamav-milter.conf
-------------------------------
LogFile = "/var/log/clamav/milter.log"
LogFileUnlock disabled
LogFileMaxSize disabled
LogTime = "yes"
LogSyslog = "yes"
LogFacility = "LOG_MAIL"
LogVerbose = "yes"
PidFile = "/var/run/clamav/milter.pid"
TemporaryDirectory = "/tmp"
FixStaleSocket = "yes"
MaxThreads = "10"
ReadTimeout = "120"
Foreground disabled
User = "clamav"
AllowSupplementaryGroups = "yes"
MaxFileSize = "62914560"
ClamdSocket = "unix:/var/run/clamav/clamd.ctl"
MilterSocket = "inet:7357 at 127.0.0.1"
MilterSocketGroup = "clamav"
MilterSocketMode = "666"
LocalNet disabled
OnClean = "Accept"
OnInfected = "Reject"
OnFail = "Defer"
RejectMsg = "Service unavailable; Blocked INFECTED (%v)"
AddHeader = "no"
ReportHostname disabled
VirusAction disabled
Chroot disabled
Whitelist disabled
SkipAuthenticated disabled
LogInfected = "Full"

Software settings
-----------------
Version: devel-debian/0.95+dfsg-1-6274-g18d94d0
WARNING: Version mismatch: libclamav=devel-debian/0.95+dfsg-1-6274-g18d94d0, clamconf=0.96.1
Optional features supported: MEMPOOL IPv6 FRESHCLAM_DNS_FIX AUTOIT_EA06 BZIP2 RAR JIT
Database directory: /var/lib/clamav/
WARNING: freshclam.conf and clamd.conf point to different database directories
main.cvd: version 52, sigs: 704727, built on Mon Feb 15 16:54:51 2010
daily.cld: version 11177, sigs: 95746, built on Thu Jun 10 22:41:01 2010
bytecode.cvd: version 25, sigs: 3, built on Mon May 31 22:48:07 2010

Platform information
--------------------
uname: Linux 2.6.26-2-amd64 #1 SMP Wed May 12 18:03:14 UTC 2010 x86_64
OS: linux-gnu, ARCH: x86_64, CPU: x86_64
Full OS version: Debian GNU/Linux 5.0.4 (lenny)
zlib version: 1.2.3.3 (1.2.3.3), compile flags: a9

Build information
-----------------
GNU C: 4.3.2 (4.3.2)
GNU C++: 4.3.2 (4.3.2)
CPPFLAGS: 
CFLAGS: -Wall -g -O2
CXXFLAGS: -Wall -g -O2
LDFLAGS: 
Configure: '--build=x86_64-linux-gnu' '--prefix=/usr' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--disable-clamav' '--with-dbdir=/var/lib/clamav/' '--sysconfdir=/etc/clamav' '--enable-milter' '--disable-clamuko' '--with-gnu-ld' '--enable-dns-fix' '--disable-unrar' '--libdir=/usr/lib' '--with-system-tommath' '--with-ltdl-include=/usr/include' '--with-ltdl-lib=/usr/lib' '--config-cache' 'build_alias=x86_64-linux-gnu' 'CFLAGS=-Wall -g -O2' 'LDFLAGS=' 'CPPFLAGS='

--- data dir ---
total 28088
-rw-r--r-- 1 clamav clamav    11478 2010-06-10 21:58 bytecode.cvd
-rw-r--r-- 1 clamav clamav  5793792 2010-06-10 23:21 daily.cld
-rw-r--r-- 1 clamav clamav 22906487 2010-06-10 21:58 main.cvd
-rw------- 1 clamav clamav      364 2010-06-10 23:21 mirrors.dat

-- System Information:
Debian Release: 5.0.4
  APT prefers stable
  APT policy: (990, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages clamav-milter depends on:
ii  adduser          3.110                   add and remove users and groups
ii  clamav-base      0.96.1+dfsg-1~volatile1 anti-virus utility for Unix - base
ii  clamav-freshclam 0.96.1+dfsg-1~volatile1 anti-virus utility for Unix - viru
ii  debconf [debconf 1.5.24                  Debian configuration management sy
ii  libc6            2.7-18lenny4            GNU C Library: Shared libraries
ii  libmilter1.0.1   8.14.3-5+lenny1         Sendmail Mail Filter API (Milter)
ii  logrotate        3.7.1-5                 Log rotation utility
ii  lsb-base         3.2-20                  Linux Standard Base 3.2 init scrip
ii  ucf              3.0016                  Update Configuration File: preserv

Versions of packages clamav-milter recommends:
ii  clamav-daemon    0.96.1+dfsg-1~volatile1 anti-virus utility for Unix - scan

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

-- debconf information:
* clamav-milter/LogFile: /var/log/clamav/milter.log
* clamav-milter/LogSyslog: true
* clamav-milter/MilterSocket: inet:7357 at 127.0.0.1
* clamav-milter/OnInfected: Reject
* clamav-milter/MilterSocketMode: 666
* clamav-milter/User: clamav
* clamav-milter/MilterSocketGroup: clamav
* clamav-milter/MaxFileSize: 60
* clamav-milter/LogInfected: Full
* clamav-milter/FixStaleSocket: true
* clamav-milter/LogFileUnlock: false
* clamav-milter/Chroot:
* clamav-milter/ReadTimeout: 120
* clamav-milter/AddGroups:
* clamav-milter/LogFileMaxSize: 0
* clamav-milter/OnFail: Defer
* clamav-milter/LocalNet:
* clamav-milter/debconf: true
* clamav-milter/LogTime: true
* clamav-milter/RejectMsg: "Service unavailable; Blocked INFECTED (%v)"
* clamav-milter/TemporaryDirectory: /tmp
* clamav-milter/LogFacility: LOG_MAIL
* clamav-milter/ClamdSocket: unix:/var/run/clamav/clamd.ctl
* clamav-milter/PidFile: /var/run/clamav/milter.pid
* clamav-milter/Foreground: false
* clamav-milter/AddHeader: No
* clamav-milter/LogVerbose: true
* clamav-milter/Whitelist:





More information about the Pkg-clamav-devel mailing list