On 2009-04-03 16:52, Andre Hübner wrote:
> Hello,
>
> for a long time i use the combination proftpd --> mod_clamav --> clamav
> Now i have a problem with current 0.95
> mod_clamav talks to clamd using tcpsocket port 3310
> part of my proftpd.conf:
> <IfModule mod_clamav.c>
>             ClamAV on
>             ClamServer 127.0.0.1
>             ClamPort 3310
> </IfModule>
>
> clamav is listening on 3310
>
> this is my /etc/clamd.conf
>
> LogSyslog 1
> LogFacility LOG_MAIL
> LogTime 1
> FixStaleSocket 1
> TCPSocket 3310
> TCPAddr 127.0.0.1
> PidFile /var/run/clamav/clamd.pid
> MaxThreads 10
> MaxDirectoryRecursion 15
> MaxFileSize 10M
> MaxScanSize 10M
> MaxRecursion 5
> MaxFiles 1000
> User nobody
> AllowSupplementaryGroups true
>
> lsof -i:3310 shows listening clamd:
>
> lsof -i:3310
> COMMAND   PID   USER   FD   TYPE   DEVICE SIZE NODE NAME
> clamd   16291 nobody    4u  IPv4 21289482       TCP localhost:dyna-access 
> (LISTEN)
>
> if i upload a testvirus with clam 0.95 it seems that clamd is not accepting 
> the connect from mod_clamav:
> mod_clamav/0.10: info: Clamd didn't accept the session end request.
>   

I think the problem is mod_clamav, it is using the old SESSION command.
Why are you using 0.10 version of mod_clamav? The website has 0.22, and
it doesn't seem to use the SESSION command anymore.

Best regards,
--Edwin



_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml

Reply via email to