CLAMONACC(8)
β¨ clamonacc β the Clam On-Access Scanner, bestie edition β¨
okay so real talk, this is the clamonacc(8) manual page from the Clam On-Access Scanner gang, and it's literally the antivirus bouncer that lives at your front door. let's get into it π
πΈ NAME πΈ
clamonacc β an anti-virus on-access scanning daemon and clamd client. yes she's both. multitasking queen π
π¦ SYNOPSIS π¦
clamonacc [options]
that's it. that's the whole vibe. options only, no positional args, she doesn't want your random extra words π
π DESCRIPTION π
so the clamonacc daemon signs up for file access notifications from the Linux kernel, and every time one of those notifications comes in, she submits scans to the clamd scanning daemon and waits for a verdict. that's the whole loop. it's giving security guard energy π«Ά
On-Access is only available on Linux systems. not negotiable, not a suggestion. Linux only. periodt.
and on Linux, On-Access needs a kernel version >= 3.8. why? because it leverages a kernel api called fanotify to block processes from attempting to access malicious files. the blocking happens in kernel-space, which means it's stronger protection than a purely user-space solution could ever be. no cap, kernel-space is just built different π₯
β¨ OPTIONS β¨
-h,--helpβ outputs the help info and dips. that's it, that's the job π«-V,--versionβ prints the version number and exits.-v,--verboseβ be verbose. give us the details, bestie.-lFILE,--log=FILEβ saves the scan report to FILE.-F,--foregroundβ runs in the foreground; does not daemonize. she stays right there with you, in the group chat, not lurking in the background.-WFILE,--watch-list=FILEβ watches the directories listed in FILE π-eFILE,--exclude-list=FILEβ excludes the directories listed in FILE. not invited to the party, sorry.-pA[:I],--ping A[:I]β pingsclamdup to [A] times, at an optional interval [I], until it responds. patient and persistent.-w,--waitβ waits up to 30 seconds forclamdto start. optionally use this alongside ping to set the attempts [A] and interval [I] for checking onclamd. she'll wait for you, but only 30 seconds. she's not that down bad π--removeβ removes infected files. > β οΈ be careful. for real. that's the entire warning. be careful. files do not come back. π--move=DIRECTORY β moves infected files into DIRECTORY.--copy=DIRECTORY β copies infected files into DIRECTORY.-cFILE,--config-file=FILEβ reads configuration from FILE.--allmatchβ keeps scanning within the file after finding a match. no early exit, she's thorough π--fdpassβ passes the file descriptor permissions toclamd. this is useful ifclamdis running as a different user, since it's faster than streaming the file toclamd. only available if connected toclamdvia local (unix) socket. (iykyk)--streamβ forces file streaming toclamd. generally you do not need this, becauseclamdscandetects automatically if streaming is required. this option only exists for debugging and testing purposes, and in all other cases--fdpassis preferred. it's giving "legacy option we keep around for science" π§
π SIGNALS π
ClamOnAcc recognizes the following signals, and honestly she responds to all of them:
SIGHUPβ reopens the logfile. fresh page, new era β¨SIGUSR2β reloads the signature databases. glow-up moment.SIGTERMβ performs a clean exit. leaving the party politely, no drama, closing the door gently π«Ά
π FILES π
/etc/clamav/clamd.conf
β CREDITS β
please check the full documentation for credits. the whole squad is in there, we're not listing them twice π
π AUTHOR π
Tomasz Kojm <tkojm@clamav.net> β icon, legend, the moment.
π SEE ALSO π
okay bestie that's the whole page, you ate it, no crumbs left πΈ
this was ClamAV 1.5.4, dated July 29, 2020, brought to you by the Clam On-Access Scanner girlies. now go scan something π π
π¦ where this page comes from
- arch rolling: clamav 1.5.4-1 Β· GPL-2.0-only
- nixpkgs unstable: clamav 1.5.4
- ubuntu jammy: clamav-daemon 1.5.4+dfsg-0ubuntu0.22.04.1 Β· GPL-2.0-only
- ubuntu noble: clamav-daemon 1.5.4+dfsg-0ubuntu0.24.04.1 Β· GPL-2.0-only
- ubuntu resolute: clamav-daemon 1.5.4+dfsg-0ubuntu0.26.04.1 Β· GPL-2.0-only
- ubuntu stonking: clamav-daemon 1.5.4+dfsg-0ubuntu1 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms