aboutsummaryrefslogtreecommitdiffstats
path: root/config/snort
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2011-09-04 16:10:35 +0000
committerErmal <eri@pfsense.org>2011-09-04 16:10:35 +0000
commitb8dd88bc02fc2c8bbcbc3633b9decb505a7c3baa (patch)
tree00724f9ada72c91adfb0e2979133dd660d99c3d1 /config/snort
parent705fa7e5dc114a76ef048005f3dc8b3103294b16 (diff)
downloadpfsense-packages-b8dd88bc02fc2c8bbcbc3633b9decb505a7c3baa.tar.gz
pfsense-packages-b8dd88bc02fc2c8bbcbc3633b9decb505a7c3baa.tar.bz2
pfsense-packages-b8dd88bc02fc2c8bbcbc3633b9decb505a7c3baa.zip
Remove not needed code
Diffstat (limited to 'config/snort')
-rw-r--r--config/snort/snort_check_for_rule_updates.php5
-rw-r--r--config/snort/snort_download_rules.php6
2 files changed, 0 insertions, 11 deletions
diff --git a/config/snort/snort_check_for_rule_updates.php b/config/snort/snort_check_for_rule_updates.php
index 1731eb87..cbe53b8e 100644
--- a/config/snort/snort_check_for_rule_updates.php
+++ b/config/snort/snort_check_for_rule_updates.php
@@ -634,11 +634,6 @@ function oinkmaster_run($id, $if_real, $iface_uuid)
/* might have to add a sleep for 3sec for flash drives or old drives */
exec("/usr/local/bin/perl /usr/local/bin/oinkmaster.pl -C /usr/local/etc/snort/snort_{$iface_uuid}_{$if_real}/oinkmaster_{$iface_uuid}_{$if_real}.conf -o /usr/local/etc/snort/snort_{$iface_uuid}_{$if_real}/rules > /usr/local/etc/snort/oinkmaster_{$iface_uuid}_{$if_real}.log");
- /* TODO: Remove this code when x64 so rules are ready */
- if($snort_arch == 'x64'){
- exec("/bin/rm -r /usr/local/etc/snort/snort_{$iface_uuid}_{$if_real}/rules/*.so.rules");
- }
-
}
}
}
diff --git a/config/snort/snort_download_rules.php b/config/snort/snort_download_rules.php
index 6671b5b2..d9f62a27 100644
--- a/config/snort/snort_download_rules.php
+++ b/config/snort/snort_download_rules.php
@@ -697,12 +697,6 @@ function oinkmaster_run($id, $if_real, $iface_uuid)
/* might have to add a sleep for 3sec for flash drives or old drives */
exec("/usr/local/bin/perl /usr/local/bin/oinkmaster.pl -C /usr/local/etc/snort/snort_{$iface_uuid}_{$if_real}/oinkmaster_{$iface_uuid}_{$if_real}.conf -o /usr/local/etc/snort/snort_{$iface_uuid}_{$if_real}/rules > /usr/local/etc/snort/oinkmaster_{$iface_uuid}_{$if_real}.log");
-
- /* TODO: Remove this code when x64 so rules are ready */
- if($snort_arch == 'x64'){
- exec("/bin/rm -r /usr/local/etc/snort/snort_{$iface_uuid}_{$if_real}/rules/*.so.rules");
- }
-
}
}
}