summaryrefslogtreecommitdiffstats
path: root/src/usr
diff options
context:
space:
mode:
authorStephen Beaver <sbeaver@netgate.com>2016-06-22 10:49:15 -0400
committerStephen Beaver <sbeaver@netgate.com>2016-06-22 10:49:15 -0400
commit2bd0585e30e5ec8fc3b79ca3f579bf9a7c1bcbc8 (patch)
treedb8529175749ce8d71baeb67d3f0ebad827ec027 /src/usr
parentdbab5a7ea8eb7eceaabcc488aa9174124818e217 (diff)
downloadpfsense-2bd0585e30e5ec8fc3b79ca3f579bf9a7c1bcbc8.zip
pfsense-2bd0585e30e5ec8fc3b79ca3f579bf9a7c1bcbc8.tar.gz
Allow IGMP Proxy logging verbosity to be selected via system log settings (PR 2901)
Diffstat (limited to 'src/usr')
-rw-r--r--src/usr/local/www/status_logs_settings.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/usr/local/www/status_logs_settings.php b/src/usr/local/www/status_logs_settings.php
index 7d05457..155f527 100644
--- a/src/usr/local/www/status_logs_settings.php
+++ b/src/usr/local/www/status_logs_settings.php
@@ -94,6 +94,7 @@ $pconfig['rawfilter'] = isset($config['syslog']['rawfilter']);
$pconfig['filterdescriptions'] = $config['syslog']['filterdescriptions'];
$pconfig['disablelocallogging'] = isset($config['syslog']['disablelocallogging']);
$pconfig['logfilesize'] = $config['syslog']['logfilesize'];
+$pconfig['igmpxverbose'] = isset($config['syslog']['igmpxverbose']);
if (!$pconfig['nentries']) {
$pconfig['nentries'] = 50;
@@ -170,11 +171,14 @@ if ($_POST['resetlogs'] == gettext("Reset Log Files")) {
$config['syslog']['nologprivatenets'] = $_POST['logprivatenets'] ? false : true;
$config['syslog']['nolognginx'] = $_POST['lognginx'] ? false : true;
$config['syslog']['rawfilter'] = $_POST['rawfilter'] ? true : false;
+ $config['syslog']['igmpxverbose'] = $_POST['igmpxverbose'] ? true : false;
+
if (is_numeric($_POST['filterdescriptions']) && $_POST['filterdescriptions'] > 0) {
$config['syslog']['filterdescriptions'] = $_POST['filterdescriptions'];
} else {
unset($config['syslog']['filterdescriptions']);
}
+
if ($config['syslog']['enable'] == false) {
unset($config['syslog']['remoteserver']);
unset($config['syslog']['remoteserver2']);
@@ -312,6 +316,13 @@ $section->addInput(new Form_Checkbox(
$pconfig['rawfilter']
))->setHelp(gettext('If this is checked, filter logs are shown as generated by the packet filter, without any formatting. This will reveal more detailed information, but it is more difficult to read.'));
+$section->addINput(new Form_Checkbox(
+ 'igmpxverbose',
+ 'IGMP Proxy',
+ 'Enable verbose logging (Default is terse logging)',
+ $pconfig['igmpxverbose']
+));
+
$section->addInput(new Form_Select(
'filterdescriptions',
'Where to show rule descriptions',
OpenPOWER on IntegriCloud