summaryrefslogtreecommitdiffstats
path: root/usr/local/www
diff options
context:
space:
mode:
authorChris Buechler <cmb@pfsense.org>2009-08-09 18:38:01 -0400
committerChris Buechler <cmb@pfsense.org>2009-08-09 18:38:01 -0400
commit4ef2d7035ad78473dee6c2a64fb460bc15bc2764 (patch)
tree141dedc26ab8378699127a05bfc726422bb8c990 /usr/local/www
parent08fe13026c91e0189228bea82365255073bdec9e (diff)
downloadpfsense-4ef2d7035ad78473dee6c2a64fb460bc15bc2764.zip
pfsense-4ef2d7035ad78473dee6c2a64fb460bc15bc2764.tar.gz
Allow logging everything to syslog (allows syslog of snort, amongst other things)
Diffstat (limited to 'usr/local/www')
-rwxr-xr-xusr/local/www/diag_logs_settings.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/usr/local/www/diag_logs_settings.php b/usr/local/www/diag_logs_settings.php
index d98bd6f..b744258 100755
--- a/usr/local/www/diag_logs_settings.php
+++ b/usr/local/www/diag_logs_settings.php
@@ -47,6 +47,7 @@ $pconfig['filter'] = isset($config['syslog']['filter']);
$pconfig['dhcp'] = isset($config['syslog']['dhcp']);
$pconfig['portalauth'] = isset($config['syslog']['portalauth']);
$pconfig['vpn'] = isset($config['syslog']['vpn']);
+$pconfig['logall'] = isset($config['syslog']['logall']);
$pconfig['system'] = isset($config['syslog']['system']);
$pconfig['enable'] = isset($config['syslog']['enable']);
$pconfig['logdefaultblock'] = !isset($config['syslog']['nologdefaultblock']);
@@ -77,6 +78,7 @@ if ($_POST) {
$config['syslog']['dhcp'] = $_POST['dhcp'] ? true : false;
$config['syslog']['portalauth'] = $_POST['portalauth'] ? true : false;
$config['syslog']['vpn'] = $_POST['vpn'] ? true : false;
+ $config['syslog']['logall'] = $_POST['logall'] ? true : false;
$config['syslog']['system'] = $_POST['system'] ? true : false;
$config['syslog']['disablelocallogging'] = $_POST['disablelocallogging'] ? true : false;
$config['syslog']['enable'] = $_POST['enable'] ? true : false;
@@ -197,7 +199,10 @@ function enable_change(enable_over) {
firewall events<br> <input name="dhcp" id="dhcp" type="checkbox" value="yes" <?php if ($pconfig['dhcp']) echo "checked"; ?>>
DHCP service events<br> <input name="portalauth" id="portalauth" type="checkbox" value="yes" <?php if ($pconfig['portalauth']) echo "checked"; ?>>
Portal Auth<br> <input name="vpn" id="vpn" type="checkbox" value="yes" <?php if ($pconfig['vpn']) echo "checked"; ?>>
- PPTP VPN events</td>
+ PPTP VPN events
+ <br> <input name="logall" id="logall" type="checkbox" value="yes" <?php if ($pconfig['logall']) echo "checked"; ?>>
+ Everything
+ </td>
</tr>
<tr>
<td width="22%" valign="top">&nbsp;</td>
OpenPOWER on IntegriCloud