Revision f3899adb
src/usr/local/www/status_logs_common.inc | ||
---|---|---|
990 | 990 |
if ($logfile == 'filter') { |
991 | 991 |
$section->addInput(new Form_Checkbox( |
992 | 992 |
'logdefaultblock', |
993 |
'Log firewall default blocks',
|
|
994 |
'Log packets matched from the default block rules in the ruleset',
|
|
993 |
null,
|
|
994 |
'Default firewall "block" rules',
|
|
995 | 995 |
$pconfig['logdefaultblock'] |
996 |
))->setHelp('Packets that are blocked by the implicit default block rule will not be logged if this option is unchecked. Per-rule logging options are still respected.');
|
|
997 |
|
|
996 |
))->setHelp('Log packets that are %1$sblocked%2$s by the implicit default block rule.', '<strong>', '</strong>');
|
|
997 |
|
|
998 | 998 |
$section->addInput(new Form_Checkbox( |
999 | 999 |
'logdefaultpass', |
1000 | 1000 |
null, |
1001 |
'Log packets matched from the default pass rules put in the ruleset',
|
|
1001 |
'Default firewall "pass" rules',
|
|
1002 | 1002 |
$pconfig['logdefaultpass'] |
1003 |
))->setHelp('Packets that are allowed by the implicit default pass rule will be logged if this option is checked. Per-rule logging options are still respected. '); |
|
1004 |
|
|
1003 |
))->setHelp('Log packets that are %1$sallowed%2$s by the implicit ' . |
|
1004 |
'default pass rule. Note: Packets with IP options are not affected ' . |
|
1005 |
'by this option and %3$sare logged by default%4$s.', '<strong>', '</strong>', |
|
1006 |
'<a target="_blank" href="https://docs.netgate.com/pfsense/en/latest/troubleshooting/log-filter-blocked.html#packets-with-ip-options">', '</a>' |
|
1007 |
); |
|
1008 |
|
|
1005 | 1009 |
$section->addInput(new Form_Checkbox( |
1006 | 1010 |
'logbogons', |
1007 | 1011 |
null, |
1008 |
'Log packets blocked by \'Block Bogon Networks\' rules',
|
|
1012 |
'Default "Bogon Networks" block rules',
|
|
1009 | 1013 |
$pconfig['logbogons'] |
1010 |
)); |
|
1011 |
|
|
1014 |
))->setHelp('Log packets that are %1$sblocked%2$s by the assigned interface option "Block bogon networks".', '<strong>', '</strong>');
|
|
1015 |
|
|
1012 | 1016 |
$section->addInput(new Form_Checkbox( |
1013 | 1017 |
'logprivatenets', |
1014 | 1018 |
null, |
1015 |
'Log packets blocked by \'Block Private Networks\' rules',
|
|
1019 |
'Default "Private Networks" block rules',
|
|
1016 | 1020 |
$pconfig['logprivatenets'] |
1017 |
));
|
|
1021 |
))->setHelp('Log packets that are %1$sblocked%2$s by the assigned interface option "Block private networks and loopback addresses".', '<strong>', '</strong>');
|
|
1018 | 1022 |
|
1019 | 1023 |
$section->addInput(new Form_Select( |
1020 | 1024 |
'filterdescriptions', |
src/usr/local/www/status_logs_settings.php | ||
---|---|---|
354 | 354 |
|
355 | 355 |
$section->addInput(new Form_Checkbox( |
356 | 356 |
'logdefaultblock', |
357 |
'Log firewall default blocks',
|
|
358 |
'Log packets matched from the default block rules in the ruleset',
|
|
357 |
null,
|
|
358 |
'Default firewall "block" rules',
|
|
359 | 359 |
$pconfig['logdefaultblock'] |
360 |
))->setHelp('Log packets that are %1$sblocked%2$s by the implicit default block rule. - Per-rule logging options are still respected.', '<strong>', '</strong>');
|
|
360 |
))->setHelp('Log packets that are %1$sblocked%2$s by the implicit default block rule.', '<strong>', '</strong>'); |
|
361 | 361 |
|
362 | 362 |
$section->addInput(new Form_Checkbox( |
363 | 363 |
'logdefaultpass', |
364 | 364 |
null, |
365 |
'Log packets matched from the default pass rules put in the ruleset',
|
|
365 |
'Default firewall "pass" rules',
|
|
366 | 366 |
$pconfig['logdefaultpass'] |
367 |
))->setHelp('Log packets that are %1$sallowed%2$s by the implicit default pass rule. - Per-rule logging options are still respected. ', '<strong>', '</strong>'); |
|
367 |
))->setHelp('Log packets that are %1$sallowed%2$s by the implicit ' . |
|
368 |
'default pass rule. Note: Packets with IP options are not affected ' . |
|
369 |
'by this option and %3$sare logged by default%4$s.', '<strong>', '</strong>', |
|
370 |
'<a target="_blank" href="https://docs.netgate.com/pfsense/en/latest/troubleshooting/log-filter-blocked.html#packets-with-ip-options">', '</a>' |
|
371 |
); |
|
368 | 372 |
|
369 | 373 |
$section->addInput(new Form_Checkbox( |
370 | 374 |
'logbogons', |
371 | 375 |
null, |
372 |
'Log packets blocked by \'Block Bogon Networks\' rules',
|
|
376 |
'Default "Bogon Networks" block rules',
|
|
373 | 377 |
$pconfig['logbogons'] |
374 |
)); |
|
378 |
))->setHelp('Log packets that are %1$sblocked%2$s by the assigned interface option "Block bogon networks".', '<strong>', '</strong>');
|
|
375 | 379 |
|
376 | 380 |
$section->addInput(new Form_Checkbox( |
377 | 381 |
'logprivatenets', |
378 | 382 |
null, |
379 |
'Log packets blocked by \'Block Private Networks\' rules',
|
|
383 |
'Default "Private Networks" block rules',
|
|
380 | 384 |
$pconfig['logprivatenets'] |
381 |
)); |
|
385 |
))->setHelp('Log packets that are %1$sblocked%2$s by the assigned interface option "Block private networks and loopback addresses".', '<strong>', '</strong>');
|
|
382 | 386 |
|
383 | 387 |
$section->addInput(new Form_Checkbox( |
384 | 388 |
'lognginx', |
385 |
'Web Server Log',
|
|
386 |
'Log errors from the web server process',
|
|
389 |
null,
|
|
390 |
'Web server',
|
|
387 | 391 |
$pconfig['lognginx'] |
388 |
))->setHelp('If this is checked, errors from the web server process for the GUI or Captive Portal will appear in the main system log.');
|
|
392 |
))->setHelp('Log errors from the web server process for the GUI and Captive Portal.');
|
|
389 | 393 |
|
390 | 394 |
$section->addInput(new Form_Checkbox( |
391 | 395 |
'logconfigchanges', |
392 |
'Log Configuration Changes',
|
|
393 |
"Generate log entries when making changes to the configuration.",
|
|
396 |
null,
|
|
397 |
"Configuration changes",
|
|
394 | 398 |
$pconfig['logconfigchanges'] |
395 |
)); |
|
399 |
))->setHelp('Log changes to the configuration.');
|
|
396 | 400 |
|
397 | 401 |
$form->add($section); |
398 | 402 |
$section = new Form_Section('Log Rotation Options'); |
Also available in: Unified diff
Revise log preferences descriptions