[quote:e17ad1728f="jarson"][quote:e17ad1728f="lfm09"]谢谢jarson,我菜,那个是用于samba的,能不能实时防WEB上的病毒呢?[/quote]
那肯定是可以的,你问这个问题就好像你在wind xp 下装了norton,能防c盘的病毒,而你又问能防d盘的病毒么? [/quote]
这是sabam-vscan0.3.5的INSTALL中的一段话:
Samba 3.0:
Edit /etc/smb.conf and add the following entry (that's only an example):
[vscan]
comment = virus-protected /tmp directory
path = /tmp
vfs object = vscan-oav
vscan-oav: config-file = /etc/samba/vscan-oav.conf
writeable = yes
browseable = yes
guest ok = yes
IMPORTANT: "vscan-oav: config-file = /path/file" refers as the name already implies to the vscan-oav module only. So, generally speaking it's "vscan-<backend>: config-file=/path/file"
Basically you have to add a vfs object line to your shares which should be virus-protected by this module. If you'd like to use therun-time configuration file, simply add vscan-<backend>: config-file = /path/config-file
(different settings for several shares can be achieved by using a different name of the configuration file for each share). If you want to protect _all_shares your Samba server offers, simply add the vfs object line (and the vscan-<backend>: config-file = /file/path line, if you like) to the [global] section.