At 03:18 PM 6/7/2005, Robert Hogan wrote:

by default clamd uses a unix socket, if you edit clamd.conf (man clamd.conf)
you can get it to listen on a tcp port.

you can then telnet to this port:

telnet localhost 1234

and issue your commands...

I don't think it's possible to telnet to a unix socket from the command
line...

If you are using FreeBSD (or any *BSD, I think), you actually can telnet to a socket.

% telnet /var/run/clamav/clamd
Trying /var/run/clamav/clamd...
No connection.
Escape character is '^]'.
PING
PONG
Connection closed by foreign host.


--
Noel Jones
_______________________________________________
http://lurker.clamav.net/list/clamav-users.html

Reply via email to