Thanks guys. I tried to do this on Fedora (telneting the socket as Noel suggested), and it doesn't work. I simply changed my clamd.conf so that clamd now works as a TCP socket instead. By default is port 3310 on 127.0.0.1 <http://127.0.0.1>, and then I simply Telnet it, and issued a PING: # telnet localhost 3310 Trying 127.0.0.1... Connected to localhost.localdomain (127.0.0.1 <http://127.0.0.1>). Escape character is '^]'. PING PONG Connection closed by foreign host. Thanks for all your help -RoNNY
On 6/7/05, Noel Jones <[EMAIL PROTECTED]> wrote: > > 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 > _______________________________________________ http://lurker.clamav.net/list/clamav-users.html
