aboutsummaryrefslogtreecommitdiffstats
path: root/config/snort
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2009-11-07 13:05:04 -0500
committerScott Ullrich <sullrich@pfsense.org>2009-11-07 13:05:04 -0500
commit5df2a8f24f4dab2f2d7074f5bcf6358750945af0 (patch)
tree0dc7878af26c431cab97381baa52d5ae0e2f51ca /config/snort
parent30bde2fc891581d484beec86e5a140e0671efda0 (diff)
downloadpfsense-packages-5df2a8f24f4dab2f2d7074f5bcf6358750945af0.tar.gz
pfsense-packages-5df2a8f24f4dab2f2d7074f5bcf6358750945af0.tar.bz2
pfsense-packages-5df2a8f24f4dab2f2d7074f5bcf6358750945af0.zip
Allow memory usage of 64 megs when processing snort rules
Diffstat (limited to 'config/snort')
-rwxr-xr-xconfig/snort/snort.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/snort/snort.inc b/config/snort/snort.inc
index 87f55d67..c032a978 100755
--- a/config/snort/snort.inc
+++ b/config/snort/snort.inc
@@ -1476,6 +1476,7 @@ function verify_downloaded_file($filename) {
/* extract rules */
function extract_snort_rules_md5($tmpfname) {
global $snort_filename, $snort_filename_md5, $console_mode;
+ ini_set("memory_limit","64M");
conf_mount_rw();
ob_flush();
if(!$console_mode) {