DOKK / manpages / debian 10 / clamav-daemon / clamonacc.8.en
Clam On-Access Scanner(8) Clam AntiVirus Clam On-Access Scanner(8)

clamonacc - an anti-virus on-access scanning daemon and clamd client

clamd [options]

The clamonacc daemon registers for file access notifications from the Linux kernel and in response, submits scans to the clamd scanning daemon for a verdict. On-Access is only available on Linux systems. On Linux, On-Access requires a kernel version >= 3.8. This is because it leverages a kernel api called fanotify to block processes from attempting to access malicious files. This prevention occurs in kernel-space, and thus offers stronger protection than a purely user-space solution.

Output help information and exit.
Print the version number and exit.
Be verbose.
Save the scan report to FILE.
Run in foreground; do not daemonize.
Watch directories from FILE.
Exclude directories from FILE.
Ping clamd up to [A] times at optional interval [I] until it responds.
Wait up to 30 seconds for clamd to start. Optionally use alongside ping to set attempts [A] and interval [I] to check clamd.
Remove infected files. Be careful.
Move infected files into DIRECTORY.
Copy infected files into DIRECTORY.
Read configuration from FILE.
Continue scanning within file after finding a match.
Pass the file descriptor permissions to clamd. This is useful if clamd is running as a different user as it is faster than streaming the file to clamd. Only available if connected to clamd via local(unix) socket.
Forces file streaming to clamd. This is generally not needed as clamdscan detects automatically if streaming is required. This option only exists for debugging and testing purposes, in all other cases --fdpass is preferred.

ClamOnAcc recognizes the following signals:

Reopen the logfile.
Reload the signature databases.
Perform a clean exit.

/etc/clamav/clamd.conf

Please check the full documentation for credits.

Tomasz Kojm <tkojm@clamav.net>

clamd.conf(5), clamd(8)

July 29, 2020 ClamAV 0.103.6