Download Diploma Thesis - OpenAntiVirus Project

Transcript
20
Server-based Virus Protection on Unix/Linux
run on the same host as the client. Therefore, load separation is not possible
(i.e. running an Mail Transfer Agent on host X and the virus scanning facility
on host Y).
Once again, are the requirements fulfilled?
✔ easy integration, mostly yes, as most protocols are simple and may even
used within scripts (e.g. with tools like netcat/nc).
✔ the implementation and maintenance efforts are relatively low, as the
protocols are simple or existing code can be re-used (e.g. XML libs for
parsing XML output).
✔ good performance, as forking a child is faster than creating a complete
program context. Self-check and loading virus database must be done
upon startup of the daemon only.
✘ although the protocol is open (e.g. derived from HTTP), they are still
proprietary, as each anti-virus program uses its own protocol. Switching
vendor means re-write of the client
✘ load balancing / load separation can not be done with very simple protocols, which only accept the file name (and not the file contents).
2.2.3.2
Generalized Frameworks
All mentioned techniques so far have two (major) drawbacks.
• Each anti-virus product has it’s own set of return codes, or specific API
or communication protocol. This means a lot of work to develop and
maintain support for each anti-virus product if you are an 3party application developer. So, e.g. the AMaViS program ships with more than 25
antivirus-specific modules9 .
• In some environments it may be desired to have service separation on a
per host basis, i.e. running email server, proxy server and anti-virus server
each on an own host. This is only possible, when/if the complete data of
the file to be scanned is transfered via network. Of course, the network
bandwidth could be the bottle-neck then, but this could be avoided by
using more than one virus-scanning host (i.e. per subnet/LAN segment)
and load-balancing.
Probably the most well-know protocol, which isn’t ”flawed” with the issues
mentioned above, is the ”Content Vectoring Protocol” (CVP10 ) by Checkpoint
Software, only for use with their Firewall-1 product. The other one is the
Internet Content Adaption Protocol (ICAP), mainly developed by Network
Appliances Inc and Akamai Technologies. Of course, both are not limited to
9
see http://cvsweb.amavis.org/amavis/amavis/av/
please do not mix with the ”Certificate Validation Protocol”, abbreviated as CVP, too.
See http://www.ietf.org/internet-drafts/draft-ietf-pkix-cvp-01.txt
10