Re: quarantine directory in vscan-clamav.conf

Rainer Link <[email protected]> Mon, 14 Feb 2005 13:13:39 +0100
Newsgroups gmane.comp.security.virus.openantivirus.devel
Message-ID <[email protected]>
> So I put samba-vscan on our server. Il works very fine. But it would be 
> better if the variables : quarantine directory, quarantine prefix were 
> used and if the original name of the file (ex : Myfile.doc) was kept...
> I saw the comment /* FIXME: tempnam should be avoided */ in 
> global/vscan-quarantine.c, so I know that you know this problem.

This happens if TMPDIR is set. This will be fixed in 0.3.6, where
mkstemp is used instead of tmpnam. But still de original file name
is not kept - but just check the logs to see which file was renamed.
> 
> PS : Are this kind of messages normal when use "make" :
> nai/vscan-mcdaemon_core.po(.text+0x29f):/home/.../samba-vscan-0.3.5/nai/vscan-mcdaemon_core.c:124: 
> undefined reference to `safe_strcat_fn'

Please use ./configure and call make in the top level directory
of samba-vscan, but not the Makefile from each module directory.

best regards
Rainer Link


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click