Add extra parameters to VirusScanner
Status: Beta
Brought to you by:
hollo
Hi,
I have added extra two parameters that passed to
VirusScanner executable.
The parameters are:
%i - client ip address
%u - client username
I see it usefull, so may be you will add this code to
permanent version ?
I am attaching file with patch. The add-on code starts
with PATCH_START and ends with PATCH_END
comments.
Thanks,
Pavel.
Logged In: YES
user_id=211668
Out of interest what do you use this for? I'm trying to
decide whether to add it to the general source, or whether
it is unneccessary feature bloat. :)
Logged In: YES
user_id=1182306
1. I would also like to add %p - full ftp path to
downloaded/uploaded file path (e.g. ftp://ftp.some.com/file.txt)
2. I see it usefull for virus scanner, since if virus is detected
virus scanner would like to log where from it comes (ip and
username) and also in witch file was virus detected (path).
3. Im my case i need ip and username to match scan policy
and i need the path to log where was virud detected.