Next: Clamuko
Up: Usage
Previous: Usage
  Contents
Clam daemon
clamd is a multi-threaded daemon based on libclamav.
It may work in one of the two following two modes, listening on:
- Unix (local) socket
- TCP socket
The daemon is fully configurable via a clamav.conf file. You will
find a description for every directive in the clamav.conf(5)
manual. clamd recognizes the following commands:
- PING
Check a daemon state ( should reply with "PONG").
- VERSION
Print version information.
- RELOAD
Reload databases.
- QUIT
Perform a clean exit.
- SCAN file/directory
Scan a file or directory (recursively) with archive support
enabled. A full path is required.
- RAWSCAN file/directory
Scan a file or directory (recursively) with archive support
disabled. A full path is required.
- CONTSCAN file/directory
Scan a file or directory (recursively) with archive support
enabled and don't stop even if virus is found.
- STREAM
Scan stream - clamd will return a new port number you should
connect to and send a data to scan. The protocol is
obsolete and there will be a new version soon (however this one
will still be supported).
Internal threads (except clamuko) ignore all external signals. The main
thread handles SIGTERM and SIGINT signals and performs a
clean exit.
Next: Clamuko
Up: Usage
Previous: Usage
  Contents
Tomasz Kojm
2003-11-11