aboutsummaryrefslogtreecommitdiffstats
path: root/config/orionids-dev/snort_rules_ips.php
diff options
context:
space:
mode:
authorrobiscool <robrob2626@yahoo.com>2011-08-02 15:54:21 -0700
committerrobiscool <robrob2626@yahoo.com>2011-08-02 15:54:21 -0700
commit0841fc3fe30892fcbbf7ea9dc330ffae6bfb62a3 (patch)
treed3e4c1676c07d0f8a0a99e759795314dbe310712 /config/orionids-dev/snort_rules_ips.php
parent91bbef635a549260d2e65c2d0e0411daa5734ae5 (diff)
downloadpfsense-packages-0841fc3fe30892fcbbf7ea9dc330ffae6bfb62a3.tar.gz
pfsense-packages-0841fc3fe30892fcbbf7ea9dc330ffae6bfb62a3.tar.bz2
pfsense-packages-0841fc3fe30892fcbbf7ea9dc330ffae6bfb62a3.zip
orionids-dev, remake paths
Diffstat (limited to 'config/orionids-dev/snort_rules_ips.php')
-rw-r--r--config/orionids-dev/snort_rules_ips.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/config/orionids-dev/snort_rules_ips.php b/config/orionids-dev/snort_rules_ips.php
index 3e39501d..b1bd8b08 100644
--- a/config/orionids-dev/snort_rules_ips.php
+++ b/config/orionids-dev/snort_rules_ips.php
@@ -153,7 +153,7 @@ if (isset($_GET['rulefilename'])) {
<!-- START MAIN AREA -->
<table width="100%" border="0" cellpadding="10px" cellspacing="0">
- <input type="hidden" name="snortSamSaveSettings" value="1" /> <!-- what to do, save -->
+ <input type="hidden" name="snortSaveRuleSets" value="1" /> <!-- what to do, save -->
<input type="hidden" name="dbName" value="snortDBrules" /> <!-- what db-->
<input type="hidden" name="dbTable" value="SnortruleSigsIps" /> <!-- what db table-->
<input type="hidden" name="ifaceTab" value="snort_rules_ips" /> <!-- what interface tab -->
@@ -348,7 +348,8 @@ function makeLargeSidTables(snortObjlist) {
'</td>' + "\n" +
'<td class="listbg" id="msg_' + snortObjlist[i].sid + '"><font color="white">' + snortObjlist[i].msg + '</font></td>' + "\n" +
'</tr>' + "\n" +
- '<input type="hidden" name="snortsam[db][' + i + '][sig]" value="' + snortObjlist[i].sid + '" />' + "\n"
+ '<input type="hidden" name="snortsam[db][' + i + '][siguuid]" value="' + snortObjlist[i].sid + '" />' + "\n" +
+ '<input type="hidden" name="snortsam[db][' + i + '][sigfilename]" value="<?=$rulefilename; ?>" />' + "\n"
);
},