Arthur Sherman wrote:
Hi,

This is my first installation of clamav.
Clamav will be used as a sendmail milter.

What is prefered: working with TCPSocket or with LocalSocket?

What is faster?
Are there any implications?


TCP sockets tend to be slower than Unix sockets when opening and closing them. If you're going to have a central AV server that services several mail servers, you have to use TCP sockets. If the process that calls the AV scanner is on the same system as the scanner it probably can be argued that TCP sockets are not advantageous between these processes.

If you use TCP sockets you should block them in your firewall so non-local systems cannot access them, or bind the process to the localhost interface.

If you have an eight-way MP system with 16g of ram you probably don't need to worry about it.

dp
_______________________________________________
http://lurker.clamav.net/list/clamav-users.html

Reply via email to