Call ulimit to reduce DoS

git-svn: trunk@3178
remotes/push_mirror/metadata
Nigel Horne 18 years ago
parent 55b254316d
commit 80253841e3
  1. 4
      contrib/init/NetBSD2.0/clamav

@ -33,6 +33,10 @@
. /etc/rc.subr
# Don't allow files larger than 20M to be created, to limit DoS
# Needs to be large enough to extract the signature files
ulimit -f 20000
name="clamd"
command="/usr/local/sbin/${name}"

Loading…
Cancel
Save