diff options
author | bmeeks8 <bmeeks8@bellsouth.net> | 2014-08-27 18:15:44 -0400 |
---|---|---|
committer | bmeeks8 <bmeeks8@bellsouth.net> | 2014-08-27 18:15:44 -0400 |
commit | ce07b15de33b4847df5498f9bbae93e2b1e893ca (patch) | |
tree | 9d78a73c101f5b8d0fde9535c314e2fa64e14211 /config/suricata/suricata_list_view.php | |
parent | 0d2f8f00a6a442f5672e5fe8f62a1f4d21da6a9b (diff) | |
download | pfsense-packages-ce07b15de33b4847df5498f9bbae93e2b1e893ca.tar.gz pfsense-packages-ce07b15de33b4847df5498f9bbae93e2b1e893ca.tar.bz2 pfsense-packages-ce07b15de33b4847df5498f9bbae93e2b1e893ca.zip |
Improve HOME_NET and EXTERNAL_NET variable generation.
Diffstat (limited to 'config/suricata/suricata_list_view.php')
-rw-r--r-- | config/suricata/suricata_list_view.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/config/suricata/suricata_list_view.php b/config/suricata/suricata_list_view.php index 722bf47a..dc5a2b04 100644 --- a/config/suricata/suricata_list_view.php +++ b/config/suricata/suricata_list_view.php @@ -58,6 +58,11 @@ if (isset($id) && isset($wlist)) { $contents = str_replace("\r", "", base64_decode($list['suppresspassthru'])); $title = "Suppress List"; } + elseif ($type == "externalnet") { + $list = suricata_build_list($a_rule, $wlist, false, true); + $contents = implode("\n", $list); + $title = "EXTERNAL_NET"; + } else $contents = gettext("\n\nERROR -- Requested List Type entity is not valid!"); } |