• Bug#1042377: clamav-daemon: Documenting this behavior

    From =?utf-8?b?RnLDqWTDqXJpYyBNQVNTT1Q=?@21:1/5 to All on Wed Jul 23 18:10:01 2025
    Package: clamav-daemon
    Version: 1.4.3+dfsg-1
    Followup-For: Bug #1042377

    Hi,

    Thanks for the bug report.

    I'm setting up an antivirus scanning server and I couldn't understand why clamav wasn't listening on the TCP socket.

    I preferred to leave the TCPSocket option in the clamd configuration file to make it more readable and I mask the "clamav-daemon.socket" unit.

    A hint about this behavior in the "/usr/share/doc/clamav-daemon/README.Debian.gz" file would be a plus.

    Regards.


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

    Config file: clamd.conf
    -----------------------
    AlertExceedsMax disabled
    CacheSize = "65536"
    PreludeEnable disabled
    PreludeAnalyzerName = "ClamAV"
    LogFile = "/var/log/clamav/clamav.log"
    LogFileUnlock disabled
    LogFileMaxSize = "9223372036854775807"
    LogTime = "yes"
    LogClean disabled
    LogSyslog disabled
    LogFacility = "LOG_LOCAL6"
    LogVerbose disabled
    LogRotate = "yes"
    ExtendedDetectionInfo = "yes"
    PidFile disabled
    TemporaryDirectory disabled
    DatabaseDirectory = "/var/lib/clamav"
    OfficialDatabaseOnly disabled
    FailIfCvdOlderThan disabled
    LocalSocket disabled
    LocalSocketGroup disabled
    LocalSocketMode disabled
    FixStaleSocket = "yes"
    TCPSocket = "3310"
    TCPAddr disabled
    MaxConnectionQueueLength = "30"
    StreamMaxLength = "52428800"
    StreamMinPort = "1024"
    StreamMaxPort = "2048"
    MaxThreads = "12"
    ReadTimeout = "180"
    CommandReadTimeout = "30"
    SendBufTimeout = "200"
    MaxQueue = "100"
    IdleTimeout = "30"
    ExcludePath disable