[clamav-users] clamdscan with --multiscan and --allmatch together

Mehmet Avcioglu mehmet at activecom.net
Fri Feb 24 13:40:30 UTC 2023


It appears that clamdscan with --multiscan and --allmatch together does not report multiple matches. Running without --multiscan reports all matches and then subsequent runs with both options together continues to report all matches until next restart.

Example:

# clamdscan test-file.zip --multiscan --allmatch
/tmp/test-file.zip: ExeInZip.UNOFFICIAL FOUND

# clamdscan test-file.zip --allmatch
/tmp/test-file.zip: ExeInZip.UNOFFICIAL FOUND
/tmp/test-file.zip: Win.Test.EICAR_HDB-1 FOUND

# clamdscan test-file.zip --multiscan --allmatch
/tmp/test-file.zip: ExeInZip.UNOFFICIAL FOUND
/tmp/test-file.zip: Win.Test.EICAR_HDB-1 FOUND

# systemctl restart clamd

# clamdscan test-file.zip --multiscan --allmatch
/tmp/test-file.zip: ExeInZip.UNOFFICIAL FOUND


--
Mehmet Tolga Avcioglu



More information about the clamav-users mailing list