Bill Landry wrote: > Tom Shaw wrote: >> Some issues: >> >> socat ran fine on 0.94.2 but on 0.95.rc1 >> >> echo PING|socat - /var/tmp/clamd.socket >> >> is silent yet I can type > > Tom, are you sure that is the correct path to your clamd.socket? Just > curious, because socat if working and responding with PONG fine for me > when I PING my clamd.socket with 0.95.rc1: > > clamscan -V > ClamAV 0.95rc1/9047/Wed Feb 25 02:59:41 2009 > > echo PING | socat - /var/amavis/clamd.sock > PONG
Works with perl too: perl -MIO::Socket::UNIX -we '$s = IO::Socket::UNIX->new(shift); $s->print("PING"); print $s->getline; $s->close' /var/amavis/clamd.sock PONG Bill _______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml