clamav/clamav-devel/docs/man/clamd.8.in

67 lines
2.2 KiB
Groff
Raw Normal View History

2004-09-26 01:28:55 +00:00
.\" Manual page created by Tomasz Kojm, 20020929
.TH "Clam Daemon" "8" "November 11, 2003" "Tomasz Kojm" "Clam AntiVirus"
.SH "NAME"
.LP
clamd \- an anti\-virus daemon
.SH "SYNOPSIS"
.LP
clamd [options]
.SH "DESCRIPTION"
.LP
The daemon listens for incoming connections on Unix or TCP socket and scans files or directories on demand. It's a part of the Clam AntiVirus package. It reads its configuration information from a clamd.conf file. It provides on\-access scanning feature (clamuko) under Linux.
.SH "COMMANDS"
.LP
clamd recognizes the following commands:
Note: It's recommended to prefix clamd commands with the letter \fBn\fR (eg. nSCAN) to indicate that the command will be delimited by a newline character and that clamd should continue reading command data until a newline is read. The newline delimiter assures that the complete command and its entire argument will be processed as a single command.
2004-09-26 01:28:55 +00:00
.TP
\fBPING\fR
Check the server's state. It should reply with "PONG".
.TP
\fBVERSION\fR
Print a version information.
.TP
\fBRELOAD\fR
Reload the virus databases.
.TP
\fBQUIT\fR
Perform a clean exit.
.TP
\fBSCAN file/directory\fR
2004-09-27 20:53:24 +00:00
Scan a file or a directory (recursively) with archive support enabled (if not disabled in clamd.conf). A full path is required.
2004-09-26 01:28:55 +00:00
.TP
\fBRAWSCAN file/directory\fR
Scan a file or directory (recursively) with archive support disabled. A full path is required.
.TP
\fBCONTSCAN file/directory\fR
Scan a file or directory (recursively) with archive support enabled and continue scanning even when virus is found. A full path is required.
.TP
\fBMULTISCAN file/directory\fR
Scan directories with multiple threads.
.TP
2004-09-26 01:28:55 +00:00
\fBSTREAM\fR
Scan stream \- on this command clamd will return "PORT number" and you can connect to that port and send a data to scan.
.SH "OPTIONS"
.LP
.TP
\fB\-h, \-\-help\fR
Output help information and exit.
.TP
\fB\-V, \-\-version\fR
Print the version number and exit.
.TP
\fB\-c FILE, \-\-config\-file=FILE\fR
Read configuration from FILE.
.SH "FILES"
.LP
@CFGDIR@/clamd.conf
.SH "CREDITS"
Please check the full documentation for credits.
.SH "AUTHOR"
.LP
Tomasz Kojm <tkojm@clamav.net>
.SH "SEE ALSO"
.LP
clamdscan(1), clamscan(1), freshclam(1), sigtool(1), clamd.conf(5), clamav\-milter(8)