diff options
author | robiscool <robrob2626@yahoo.com> | 2011-07-30 21:19:37 -0700 |
---|---|---|
committer | robiscool <robrob2626@yahoo.com> | 2011-07-30 21:19:37 -0700 |
commit | 4402b0beeea5e15b479664fb4410293bf1b885be (patch) | |
tree | 2ee3339dc9efa7ff7b74f333d1b411724d06baef /config/snort-dev/snort_rulesets_ips.php | |
parent | 42ca7a370212d1173809fb164019e1d27efa8f4f (diff) | |
download | pfsense-packages-4402b0beeea5e15b479664fb4410293bf1b885be.tar.gz pfsense-packages-4402b0beeea5e15b479664fb4410293bf1b885be.tar.bz2 pfsense-packages-4402b0beeea5e15b479664fb4410293bf1b885be.zip |
snort-dev, add more clean up db code, add new tables to ips db
Diffstat (limited to 'config/snort-dev/snort_rulesets_ips.php')
-rw-r--r-- | config/snort-dev/snort_rulesets_ips.php | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/config/snort-dev/snort_rulesets_ips.php b/config/snort-dev/snort_rulesets_ips.php index b5c18523..459f2868 100644 --- a/config/snort-dev/snort_rulesets_ips.php +++ b/config/snort-dev/snort_rulesets_ips.php @@ -295,9 +295,27 @@ jQuery(document).ready(function() { <tr> <td> <table width="100%" border="0" cellpadding="0" cellspacing="0" > - <tr class="hidemetr" id="ipstable_gensettings" valign="top"> + + <tr class="hidemetr" id="ipstitle_gensettings" valign="top"> + <td class="listhdrr2" width="20%"></td> + <td class="listhdrr2" width="1%"> On</td> + <td class="listhdrr2" width="1%"> Source</td> + <td class="listhdrr2" width="1%"> Amount</td> + <td class="listhdrr2" width="1%"> Duration</td> + </tr> + + <tr class="hidemetr" id="ipstable_gensettings" valign="top"> <td class="vncell2" id="infotext_ips"><font color="#000000">Default settings for all block rules</font></td> <td class="odd_ruleset2"> + <?php + $enableGenRuleSidChkBox = ''; + if ( $listGenRules[0]['enable'] === 'on' || empty($listGenRules[0]['enable'])) { + $enableGenRuleSidChkBox = 'checked="checked"'; + } + ?> + <input class="domecheck" id="checkbox_253" name="snortsam[db][gensettings][enable]" value="on" <?=$enableGenRuleSidChkBox; ?> type="checkbox"> + </td> + <td class="odd_ruleset2"> <select class="formfld2" id="who_gensettings" name="snortsam[db][gensettings][who]"> <?php $whoList = array('src' => 'SRC', 'dst' => 'DST', 'both' => 'BOTH'); |