From 3576806af6e71a778efc011c5c1b0ce714398a7f Mon Sep 17 00:00:00 2001 From: Ermal Date: Mon, 9 Jul 2012 16:59:26 +0000 Subject: Remove all snort layout customizations since they cause issues allover and remove all unneeded files anymore. --- config/snort/snort_interfaces_edit.php | 295 +++++++++++++-------------------- 1 file changed, 115 insertions(+), 180 deletions(-) (limited to 'config/snort/snort_interfaces_edit.php') diff --git a/config/snort/snort_interfaces_edit.php b/config/snort/snort_interfaces_edit.php index dd60af68..76ee9aaf 100644 --- a/config/snort/snort_interfaces_edit.php +++ b/config/snort/snort_interfaces_edit.php @@ -31,7 +31,6 @@ */ require_once("guiconfig.inc"); -require_once("/usr/local/pkg/snort/snort_gui.inc"); require_once("/usr/local/pkg/snort/snort.inc"); global $g; @@ -327,20 +326,12 @@ if (isset($_GET['dup'])) $pgtitle = "Snort: Interface Edit: $id $snort_uuid $if_real"; include_once("head.inc"); - ?> - - + + ' . $pgtitle . '

';}?> - - -
" method="post" enctype="multipart/form-data" name="iform" id="iform"> '; - - if($savemsg) - print_info_box_np2("{$savemsg}"); - else { - print_info_box_np2(' - The Snort configuration has changed and snort needs to be restarted on this interface.
- You must apply the changes in order for them to take effect.
- '); - } + print_info_box($savemsg); } ?> +" method="post" name="iform" id="iform"> - +
+
+ - + + + + - + + + + + + + + + + + + + + + +
+ General Settings
Enable  +   Enable or Disable\n"; ?> +
- - - - - - - - - - - - - - + + + + + - - - + reference (not parsed).

+ + + - - + memory, high performance. +
+ + - - - + + + - - - + friendly ips that the firewall cant see.
+ + + - - - + setting at default.
+ + + - - - + + + - - - + + + - - - + + + - @@ -659,7 +599,7 @@ function enable_change(enable_change) { logs snort should create. - - + - - - - - - - - - - - - - - - - - -
General Settings
Enable  - // care with spaces - if ($pconfig['enable'] == "on") - $checked = checked; - - $onclick_enable = "onClick=\"enable_change(false)\">"; - - echo " - \n\n"; - ?>
Interface -
- Choose which interface this rule applies to.
- Hint: in most cases, you'll want to use WAN here.
DescriptionInterface +
+ Choose which interface this rule applies to.
+ Hint: in most cases, you'll want to use WAN here.


Description
+ value="">
You may enter a description here for your - reference (not parsed).
Memory Performance
Memory Performance
Choose the networks snort should inspect and whitelist.
Home net
Home net
+
Choose the home net you will like this rule to - use.  
Note: Default home + use.
 
Note: Default home net adds only local networks.
Hint: Most users add a list of - friendly ips that the firewall cant see.
External net
External net
Block offenders
Block offenders onClick="enable_blockoffenders()">
Checking this option will automatically block hosts that generate a Snort alert.
Kill states
Kill states >
Should firewall states be killed for the blocked ip
Which ip to block
Which ip to block
Whitelist
Whitelist
Choose the whitelist you will like this rule to - use.  
Note: Default + use.
 
Note:
 Default whitelist adds only local networks.
- Note: This option will only be used when block offenders is on. + Note:
 This option will only be used when block offenders is on.
Suppression and + Suppression and filtering
Choose the suppression or filtering file you - will like this rule to use.  
Note: Default + will like this rule to use.
 
Note:
 Default option disables suppression and filtering.
Send alerts to main + Send alerts to main System logs
Log to a Tcpdump fileLog to a Tcpdump file onClick="enable_change(false)">
Snort will log packets to a tcpdump-formatted file. The file then can be analyzed by an application such as Wireshark which - understands pcap file formats. WARNING: + understands pcap file formats. WARNING:
File may become large.
Log Alerts to a snort + Log Alerts to a snort unified2 file onClick="enable_change(false)">
- Snort will log Alerts to a file in the UNIFIED2 format. This is a - requirement for barnyard2.
Arguments here will - be automatically inserted into the snort configuration.
Advanced configuration - pass through -
- - -
 Note: -
- Please save your settings before you click start.
- + Snort will log Alerts to a file in the UNIFIED2 format. This is a + requirement for barnyard2.
Arguments here will + be automatically inserted into the snort configuration.
Advanced configuration pass through + +
+ + +
 Note:
+
+ Please save your settings before you click start.
- - -- cgit v1.2.3