aboutsummaryrefslogtreecommitdiffstats
path: root/config/snort-dev/snort_json_get.php
diff options
context:
space:
mode:
authorrobiscool <robrob2626@yahoo.com>2011-07-26 20:58:52 -0700
committerrobiscool <robrob2626@yahoo.com>2011-07-26 20:58:52 -0700
commit38d0c81e48b9eb6dcd353ecddbc2c4b8508bfe8d (patch)
tree3926a54936779dd31e1d201be37948212780a3d9 /config/snort-dev/snort_json_get.php
parent5cea4cc2d818ef2ff8f34f200d02c1089799385a (diff)
downloadpfsense-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_json_get.php')
-rw-r--r--config/snort-dev/snort_json_get.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/config/snort-dev/snort_json_get.php b/config/snort-dev/snort_json_get.php
index 84cc8ed7..965ac4de 100644
--- a/config/snort-dev/snort_json_get.php
+++ b/config/snort-dev/snort_json_get.php
@@ -46,6 +46,15 @@ require_once("/usr/local/pkg/snort/snort_new.inc");
session_start(); // alwaya at the very top of a php page or "Cannot send session cache limiter - headers already sent"
+// get json blocls sids
+if ($_GET['snortsamjson'] == 1) {
+
+ exec('cat /usr/local/etc/snort/sn_6TPXv7a/rules/dbBlockSplit/splitSidblock' . $_GET['fileid'] . '.block', $output);
+ echo $output[0];
+
+}
+
+
// upload created log tar to user
if ($_GET['snortGetUpdate'] == 1) {