aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--config/pfblockerng/pfblockerng_log.php10
1 files changed, 8 insertions, 2 deletions
diff --git a/config/pfblockerng/pfblockerng_log.php b/config/pfblockerng/pfblockerng_log.php
index 8735a575..a1012984 100644
--- a/config/pfblockerng/pfblockerng_log.php
+++ b/config/pfblockerng/pfblockerng_log.php
@@ -104,7 +104,7 @@ $pfb_logtypes = array( 'defaultlogs' => array('name' => 'Log Files',
'ext' => array('orig', 'raw'),
'logdir' => "{$pfb['dbdir']}/original/",
'download' => TRUE,
- 'clear' => FALSE
+ 'clear' => TRUE
),
'denylogs' => array('name' => 'Deny Files',
'ext' => 'txt',
@@ -127,6 +127,12 @@ $pfb_logtypes = array( 'defaultlogs' => array('name' => 'Log Files',
'download' => TRUE,
'clear' => FALSE
),
+ 'nativelogs' => array('name' => 'Native Files',
+ 'ext' => 'txt',
+ 'logdir' => "{$pfb['dbdir']}/native/",
+ 'download' => TRUE,
+ 'clear' => FALSE
+ ),
'aliaslogs' => array('name' => 'Alias Files',
'ext' => 'txt',
'logdir' => "{$pfb['aliasdir']}/",
@@ -303,7 +309,7 @@ if ($savemsg) {
<td colspan="3" class="vncell" align="left"><?php echo gettext("LINKS :"); ?> &nbsp;
<a href='/firewall_aliases.php' target="_blank"><?php echo gettext("Firewall Alias"); ?></a> &nbsp;
<a href='/firewall_rules.php' target="_blank"><?php echo gettext("Firewall Rules"); ?></a> &nbsp;
- <a href='/diag_logs_filter.php' target="_blank"><?php echo gettext("Firewall Logs"); ?></a><br/></td>
+ <a href='/diag_logs_filter.php' target="_blank"><?php echo gettext("Firewall Logs"); ?></a><br /></td>
</tr>
<tr>
<td width="22%" class="vncell"><?php echo gettext('Log/File type:'); ?></td>