Re: [clamav-users] Specify more servers for clamdscan to pass for scanning

2018-11-06 Thread Micah Snyder (micasnyd)
Very interesting Kris! Micah Snyder ClamAV Development Talos Cisco Systems, Inc. On Nov 5, 2018, at 12:37 PM, Kris Deugau mailto:kdeu...@vianet.ca>> wrote: Brent Clark 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

Re: [clamav-users] Specify more servers for clamdscan to pass for scanning

2018-11-05 Thread Brent Clark
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

Re: [clamav-users] Specify more servers for clamdscan to pass for scanning

2018-11-05 Thread Henrik K
On Mon, Nov 05, 2018 at 03:19:44PM +, Micah Snyder (micasnyd) wrote: > > 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. It's called "writing your own clamdscan".

Re: [clamav-users] Specify more servers for clamdscan to pass for scanning

2018-11-05 Thread Kris Deugau
Brent Clark 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

Re: [clamav-users] Specify more servers for clamdscan to pass for scanning

2018-11-05 Thread G.W. Haywood
Hi there, On Mon, 5 Nov 2018, Micah Snyder wrote: On Nov 5, 2018, at 7:48 AM, Brent Clark wrote: > How does one specify more than one server for scanning? 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

Re: [clamav-users] Specify more servers for clamdscan to pass for scanning

2018-11-05 Thread Micah Snyder (micasnyd)
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.

[clamav-users] Specify more servers for clamdscan to pass for scanning

2018-11-05 Thread Brent Clark
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.