Next: Clamuko
Up: Usage
Previous: Usage
  Contents
Clam daemon
clamd is a fully multi-threaded daemon, based on libclamav.
It's able to work in one of the two modes, using:
- Unix (local) sockets
- TCP sockets
The daemon is configured by the clamav.conf file. You will find
a description of all the options in the clamav.conf(5) manual.
clamd recognizes the following commands:
- PING
Check server's state. It should reply with "PONG".
- VERSION
Print the version information.
- RELOAD
Reload the databases.
- QUIT
Perform a clean exit.
- SCAN file/directory
Scan a file or directory (recursively) with archive support. 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 continue scanning even when
virus was found. A full path is required.
- STREAM
Scan stream - on this command clamd will return "PORT number"
and you can connect to that port and send a data to scan.
Internal threads (except clamuko) are ignoring all external signals.
The main thread handles SIGTERM and SIGINT signals
and performs a proper exit when one of them is caught.
Next: Clamuko
Up: Usage
Previous: Usage
  Contents
Tomasz Kojm
2003-06-21