Hi,
  Could configure have an option so that a resource limiting program like
softlimit can be prefixed to every command line that QS runs? Something
like:

./configure --resource-limiter='/usr/local/bin/softlimit -t 120 -f 51000000'

I am having to manually edit qmail-scanner.pl to add this after every
configure e.g.

my $uvscan_binary='/usr/local/bin/softlimit -t 120 -f 51000000 /usr/local/bin/uvscan';

Such resource limits are the only way to handle such abominations as
42.zip (42KB zip with many, many nested levels of multi-gig files) and
zipofdeath.zip (expands to a single large multi-gig file).
  Next would be to get QS to understand the signal numbers returned by
programs that have exceeded their resource limits :@)
  I feel this would be a useful step in preventing a DoS against QS.
  Cheers.

-- 
Mark Powell - UNIX System Administrator - The University of Salford
Information Services Division, Clifford Whitworth Building,
Salford University, Manchester, M5 4WT, UK.
Tel: +44 161 295 4837  Fax: +44 161 295 5888  www.pgp.com for PGP key


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Qmail-scanner-general mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general

Reply via email to