carlosho17
2016-12-11 19:05:00 UTC
Hi everyone,
has anybody managed to configure zINSTREAM for a remote clamav-daemon instance ?
I'm unable to figure out the proper configuration for the streaming protocol , I have amavisd-new 2.7.1-2 on debian wheezy , and clamav-daemon0.99.2+dfsg-0+deb8u2 on debian 8 (both are backports)
E.g. I want to replace the local clamav-daemon configuration in debian 8 at /etc/amavis/conf.d/15-av_scanners
\&ask_daemon, ["CONTSCAN {}\n", "/var/run/clamav/clamd.ctl"],
by something like
\&ask_daemon, ["zINSTREAM {}\n", "xx.xx.xx.xx:3310"],
in the hope that amavisd-new will write the file contents to the tcp socket by using the INSTREAM protocol , but it fails with this message:
Dec 11 15:56:49 mx3 amavis[32229]: (32229-01) (!)run_av (ClamAV-clamd) FAILED - unexpected , output="COMMAND READ TIMED OUT\n"
Dec 11 15:56:49 mx3 amavis[32229]: (32229-01) (!)ClamAV-clamd av-scanner FAILED: CODE(0x24015b0) unexpected , output="COMMAND READ TIMED OUT\n" at (eval 114) line 899.
Any help on a working zINSTREAM example will be greatly appreciated.
Regards,
Carlos Horowicz
AvasCloud SL
has anybody managed to configure zINSTREAM for a remote clamav-daemon instance ?
I'm unable to figure out the proper configuration for the streaming protocol , I have amavisd-new 2.7.1-2 on debian wheezy , and clamav-daemon0.99.2+dfsg-0+deb8u2 on debian 8 (both are backports)
E.g. I want to replace the local clamav-daemon configuration in debian 8 at /etc/amavis/conf.d/15-av_scanners
\&ask_daemon, ["CONTSCAN {}\n", "/var/run/clamav/clamd.ctl"],
by something like
\&ask_daemon, ["zINSTREAM {}\n", "xx.xx.xx.xx:3310"],
in the hope that amavisd-new will write the file contents to the tcp socket by using the INSTREAM protocol , but it fails with this message:
Dec 11 15:56:49 mx3 amavis[32229]: (32229-01) (!)run_av (ClamAV-clamd) FAILED - unexpected , output="COMMAND READ TIMED OUT\n"
Dec 11 15:56:49 mx3 amavis[32229]: (32229-01) (!)ClamAV-clamd av-scanner FAILED: CODE(0x24015b0) unexpected , output="COMMAND READ TIMED OUT\n" at (eval 114) line 899.
Any help on a working zINSTREAM example will be greatly appreciated.
Regards,
Carlos Horowicz
AvasCloud SL