diff options
author | Ermal <eri@pfsense.org> | 2012-06-12 21:06:59 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2012-06-12 21:06:59 +0000 |
commit | 2d0407fc77b1ac25bf92b6bda3a35d6b2e970070 (patch) | |
tree | beac2ff2bbafa379ecf45ef78a7071ad03f7e8bf /config/snort/snort_interfaces.php | |
parent | 6bb71486a512f80809480104ef43c6df880e46de (diff) | |
download | pfsense-packages-2d0407fc77b1ac25bf92b6bda3a35d6b2e970070.tar.gz pfsense-packages-2d0407fc77b1ac25bf92b6bda3a35d6b2e970070.tar.bz2 pfsense-packages-2d0407fc77b1ac25bf92b6bda3a35d6b2e970070.zip |
Put a single alert file for each instance of snort so it actually works. Also correct blocked page/ For large files this still will bail out
Diffstat (limited to 'config/snort/snort_interfaces.php')
-rw-r--r-- | config/snort/snort_interfaces.php | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/config/snort/snort_interfaces.php b/config/snort/snort_interfaces.php index 9174c24f..86a9aff6 100644 --- a/config/snort/snort_interfaces.php +++ b/config/snort/snort_interfaces.php @@ -30,7 +30,6 @@ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -/* TODO: redo check if snort is up */ $nocsrf = true; require_once("guiconfig.inc"); require_once("/usr/local/pkg/snort/snort_gui.inc"); @@ -243,20 +242,7 @@ enable JavaScript to view this content id="frd<?=$nnats;?>" ondblclick="document.location='snort_interfaces_edit.php?id=<?=$nnats;?>';"> <?php - if (function_exists('convert_friendly_interface_to_friendly_descr')) - echo convert_friendly_interface_to_friendly_descr($natent['interface']); - else { - if (!$natent['interface'] || ($natent['interface'] == "wan")) - echo "WAN"; - else if(strtolower($natent['interface']) == "lan") - echo "LAN"; - else if(strtolower($natent['interface']) == "pppoe") - echo "PPPoE"; - else if(strtolower($natent['interface']) == "pptp") - echo "PPTP"; - else - echo strtoupper($natent['interface']); - } + echo snort_get_friendly_interface($natent['interface']); ?></td> <td class="listr" onClick="fr_toggle(<?=$nnats;?>)" id="frd<?=$nnats;?>" |