View Single Post
  #9  
Old 29th January 2007, 13:48
tsmaudio tsmaudio is offline
HowtoForge Supporter
 
Join Date: Nov 2006
Location: UK
Posts: 42
Thanks: 2
Thanked 0 Times in 0 Posts
Send a message via Skype™ to tsmaudio
Default

Thanks again,
I have looked through the "man clamscan" and have found these bits of information that may or may not help.

Options:

--block-max
Mark archives as viruses (e.g. RAR.ExceededFileSize, Zip.Exceed-
edFilesLimit) if max-files, max-space, or max-recursion is
reached.

--max-files=#n
Extract first #n files from each archive. This option protects
your system against DoS attacks (default: 500)

--max-space=#n
Extract first #n kilobytes from each archive. You may give the
number in megabytes in format xM or xm, where x is a number.
This option protects your system against DoS attacks (default:
10 MB)

--max-recursion=#n
Set archive recursion level limit. This option protects your
system against DoS attacks (default: 8).


This is provided as an example

(3) Load database from selected file and limit disk usage to 50 Mb:
clamscan -d /tmp/newclamdb --max-space=50m -r /tmp


This does look like it may provide the answer, but I am not sure how to go about it.

cheers

Tony
Reply With Quote