diff options
author | robiscool <robrob2626@yahoo.com> | 2011-07-26 20:58:52 -0700 |
---|---|---|
committer | robiscool <robrob2626@yahoo.com> | 2011-07-26 20:58:52 -0700 |
commit | 38d0c81e48b9eb6dcd353ecddbc2c4b8508bfe8d (patch) | |
tree | 3926a54936779dd31e1d201be37948212780a3d9 /config/snort-dev/snort_download_rules.inc | |
parent | 5cea4cc2d818ef2ff8f34f200d02c1089799385a (diff) | |
download | pfsense-packages-38d0c81e48b9eb6dcd353ecddbc2c4b8508bfe8d.tar.gz pfsense-packages-38d0c81e48b9eb6dcd353ecddbc2c4b8508bfe8d.tar.bz2 pfsense-packages-38d0c81e48b9eb6dcd353ecddbc2c4b8508bfe8d.zip |
snort-dev, add ips tab to rule db, add js ips table create
Diffstat (limited to 'config/snort-dev/snort_download_rules.inc')
-rw-r--r-- | config/snort-dev/snort_download_rules.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/config/snort-dev/snort_download_rules.inc b/config/snort-dev/snort_download_rules.inc index e6a22477..8953a65c 100644 --- a/config/snort-dev/snort_download_rules.inc +++ b/config/snort-dev/snort_download_rules.inc @@ -207,6 +207,7 @@ function reapplyRuleSettings_run($sidRule_array) // disable a sid // sed -i '' "s/^\(alert.*sid:1225;.*\)/# \1/" /usr/local/etc/snort/snortDBrules/DB/RAjFYOrC04D6/rules/snort_x11.rules // grep "^alert.*sid:.*;" rules/emerging-worm.rules | grep -oh "\w*sid:[0-9][^*;]\w*" | awk -F: '{print $2}' + // sed -n '/^320 || .*/{p;q;}' rules/ ../etc/sid-msg.map | awk -F '|' '{print $3}' | sed -e 's/^[ \t]*//' } |