clamscan
- An app to scan fils/dirs directly.
- Runs with user permissions, can be elevated.
- Uses unconfined SELinux context.
- Loads the DB each time it starts.
- Performs single-threaded scanning.
clamdscan
- A client interface for the scanning service.
- Runs with service permissions, configurable.
- Uses confined SELinux context.
- Keeps the DB in memory.
- Allows multi-threaded scanning.
Additional notes for clamdscan:
- The user should join the
virusgroupto use the tool. - Requires the
clamdservice to run and listen on the socket. - Scanning the whole filesystem:
- Requires an explicit config change to elevate the privileges.
- Requires an explicit SELinux boolean modification.
- Apparently triggers some
dontauditrules:- Still fails to access certain files without denials.
- Works in permissive SELinux mode.