[clamav-users] Specify more servers for clamdscan to pass for scanning
Brent Clark
brentgclarklist at gmail.com
Tue Nov 6 05:31:03 UTC 2018
Good day
Thanks all for the the replies.
Much appreciated.
Regards
Brent
On 2018/11/05 17:19, Micah Snyder (micasnyd) wrote:
> Hi Brent,
>
> clamdscan and clamd share the same config file. clamd uses it to set up
> the TCP socket to listen, and clamdscan uses it to know how to talk to
> clamd. As a consequence, setting multiple TCPAddr's would make no sense
> to clamd as it will only open 1 socket to listen for connections.
>
> I'd be interested to know if someone has come up with a hack for how to
> have clamdscan fail over to a secondary clamd instance - but I'm not
> aware of a way to do that.
>
> I would bare in mind that if your'e using clamd on a machine remote from
> the clamdscan machine, the TCP connection is not encrypted at this time
> - meaning your file contents may be streamed in plaintext across your
> network. If you need to do this, consider setting up a SSH tunnel to
> facilitate an encrypted connection.
>
> Regards,
> Micah
>
>
>> On Nov 5, 2018, at 7:48 AM, Brent Clark <brentgclarklist at gmail.com
>> <mailto:brentgclarklist at gmail.com>> wrote:
>>
>> Good day Guys
>>
>> I have setup two clamd servers.
>>
>> On my Webservers, I need to stream a file to the clamd for scanning.
>>
>> I would like to ask, how would I specify two TCPAddr.
>>
>> If I specify just one, server, everything works ok.
>> Ive tried various options and google does not appears to be of assists.
>>
>> How does one specify more than one server for scanning?
>>
>> I would like to use this a poor mans "fail over", so that if one
>> server is down, clamscan will move on to the next server.
>>
>> Thanks in advance.
>>
>> Regards
>> Brent
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> clamav-users mailing list
>> clamav-users at lists.clamav.net <mailto:clamav-users at lists.clamav.net>
>> http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
>>
>>
>> Help us build a comprehensive ClamAV guide:
>> https://github.com/vrtadmin/clamav-faq
>>
>> http://www.clamav.net/contact.html#ml
>
>
> _______________________________________________
> clamav-users mailing list
> clamav-users at lists.clamav.net
> http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
>
>
> Help us build a comprehensive ClamAV guide:
> https://github.com/vrtadmin/clamav-faq
>
> http://www.clamav.net/contact.html#ml
>
More information about the clamav-users
mailing list