Trog wrote:
> In that case it should be:
> 
> connect 1:
> send: STREAM\n
> waitfor:  PORT \d+
> connect 2: localhost:(port)
> dump message
> close connect 2:
> wait for response
> close connect 1:
> 
> (notice the "close connect 2" moved up)


Ahh you are correct, that's what it does.  Regardless, I know it's
working correctly as it has worked fine for over a year now.  Like I
said, recently in 0.83 we've seen it hang up a few times.  Both times
I've been able to check the clamd logs and the script logs it looks like
it's hanging after sending the "STREAM" command.  ie:  The script sends
the stream, but then clamd never sends a response, ie: port to connect
to.  So the script just times out.

-- 
Robert Blayzor, BOFH
INOC, LLC
rblayzor\@(inoc.net|gmail.com)
PGP: http://www.inoc.net/~dev/
Key fingerprint = 1E02 DABE F989 BC03 3DF5  0E93 8D02 9D0B CB1A A7B0

> SELECT * FROM users WHERE clue > 0
0 rows returned
_______________________________________________
http://lurker.clamav.net/list/clamav-users.html

Reply via email to