diff options
author | robiscool <robrob2626@yahoo.com> | 2009-06-02 06:31:20 -0700 |
---|---|---|
committer | robiscool <robrob2626@yahoo.com> | 2009-06-02 06:31:20 -0700 |
commit | b5f159e7b89a43ec54b3166e9dff6a794712e253 (patch) | |
tree | 7da06040205bdd623a3949ba46364230fca67514 /config/snort/snort.inc | |
parent | 2c0ccd6d9e2e0536d0da9e2140c8e114168f50f7 (diff) | |
download | pfsense-packages-b5f159e7b89a43ec54b3166e9dff6a794712e253.tar.gz pfsense-packages-b5f159e7b89a43ec54b3166e9dff6a794712e253.tar.bz2 pfsense-packages-b5f159e7b89a43ec54b3166e9dff6a794712e253.zip |
cron change in snort.inc. fixed snort_download_rules.php added time stamps, last update time. keeping an eye on Snort.org for changes.
Diffstat (limited to 'config/snort/snort.inc')
-rwxr-xr-x | config/snort/snort.inc | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/config/snort/snort.inc b/config/snort/snort.inc index 1b8d5571..7789d863 100755 --- a/config/snort/snort.inc +++ b/config/snort/snort.inc @@ -186,10 +186,10 @@ function create_snort_conf() { } function snort_deinstall() { - $text_ww = "*/60\t* \t 1\t *\t *\t root\t /usr/bin/nice -n20 /usr/local/pkg/snort_check_for_rule_updates.php"; - $filenamea = "/etc/crontab"; +// $text_ww = "*/60\t* \t 1\t *\t *\t root\t /usr/bin/nice -n20 /usr/local/pkg/snort_check_for_rule_updates.php"; +// $filenamea = "/etc/crontab"; /* remove auto rules update helper */ - remove_text_from_file($filenamea, $text_ww); +// remove_text_from_file($filenamea, $text_ww); /* remove custom sysctl */ remove_text_from_file("/etc/sysctl.conf", "sysctl net.bpf.bufsize=20480"); /* decrease bpf buffers back to 4096, from 20480 */ @@ -216,11 +216,11 @@ function generate_snort_conf() { $snort_config_pass_thru = $config['installedpackages']['snortadvanced']['config'][0]['configpassthru']; /* add auto update scripts to /etc/crontab */ - $text_ww = "*/60\t* \t 1\t *\t *\t root\t /usr/bin/nice -n20 /usr/local/pkg/snort_check_for_rule_updates.php"; - $filenamea = "/etc/crontab"; - remove_text_from_file($filenamea, $text_ww); - add_text_to_file($filenamea, $text_ww); - exec("killall -HUP cron"); +// $text_ww = "*/60\t* \t 1\t *\t *\t root\t /usr/bin/nice -n20 /usr/local/pkg/snort_check_for_rule_updates.php"; +// $filenamea = "/etc/crontab"; +// remove_text_from_file($filenamea, $text_ww); +// add_text_to_file($filenamea, $text_ww); +// exec("killall -HUP cron"); */ /* should we install a automatic update crontab entry? */ $automaticrulesupdate = $config['installedpackages']['snort']['config'][0]['automaticrulesupdate']; |