[clamav-users] clamdscan streaming over TCP

Marc Marc at f1-outsourcing.eu
Sat Jun 10 08:03:24 UTC 2023


> 
> I'm trying to scan a files (email, so not huge load) over my_internal_
> LAN.
> 
> I have a dockerized clamd running on hostA, and on hostB, I can run
> clamdtop hostA, and get the expected output.
> 
> However, from within the same container that I just started clamdtop, I
> can't do the same with clamdscan. There is no argument to specify the
> host, or it is not in the `--help`. Also it is all hidden i n the
> documentation, even though it suggests that this SHOULD be possible.
> 
> I'll look into the clamav-milter next, but still curious if this is
> possible at all, while testing this.

Maybe this is helpfull, I have this in some old docs for client side testing.

cat <<EOF > /tmp/clam-remote.conf
TCPSocket 3310
TCPAddr clamav.local
EOF

clamdscan -c /tmp/clam-remote.conf --fdpass --stream '/tmp/clam-remote.conf'


More information about the clamav-users mailing list