Hi,

STREAM support is long awaited feature by me. Unfortunately it seems badly 
designed.

Current protocol is:
- connect with default clamav port (command connection)
- send STREAM uppercase
- clamd returns port number
- we connect with that number and send data to be scanned there (data 
connection)

Problems are:
- if we want to scan few files we need to connect to reconnect to command 
connection every time, too - why? Why no multiple STREAM commands allowed?
- data port is random so I need to open all ports on my firewall which is very 
sad. Instead of this it would be great if I could send data over ,,command 
connection'' and don't use ,,data connection'' at all.

clamscan btw. is missing STREAM mode for multiple files when scanning. With 
this support clamscan would be second(? - after clamav-milter) antivirus 
daemon that sould work in such scenario with multiple hosts where mail spool 
is on different host than antivirus daemon.

-- 
Arkadiusz Miśkiewicz    CS at FoE, Wroclaw University of Technology
[EMAIL PROTECTED]   AM2-6BONE, 1024/3DB19BBD, arekm(at)ircnet, PLD/Linux



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to