I think most antivirus software have an active agent/daemon capability.
The problem is of all the combinations that I have tested for samba/Linux so far, none of them can block before the write is committed, in other words, before the file is "corrupted". They only block when a read access is attempted on a "corrupted" file.
However, most antivirus agents for Windows are able to block before corruption.
From my POV, it is halfway pointless, when the file has been corrupted and I have to initiate a manual restore from a backup that could be several days behind. The large size of our file server (8TB) makes daily backups quite impossible.
As much as I would like to enforce an anti-virus client policy, chances are there are users who do not share the same sense of responsibilty. Its my job to fix when things go wrong and not theirs.
