Firewall log - formatted output
-
When I open the firewall log, I hope to see the full information about the traffic, and only then if you want to apply filters. Default checkboxes reset (Pass Block), the table is not empty, and I do not understand what I see.
No IPv6. When debugging is enabled, see the parse errors. For example:
array(3) { [0]=> array(4) { ["file"]=> string(23) "/etc/inc/filter_log.inc" ["line"]=> int(260) ["function"]=> string(9) "log_error" ["args"]=> array(1) { [0]=> &string(75) "There was a error parsing rule: . Please report to mailing list or forum." } } [1]=> array(4) { ["file"]=> string(23) "/etc/inc/filter_log.inc" ["line"]=> int(70) ["function"]=> string(17) "parse_filter_line" ["args"]=> array(1) { [0]=> &string(132) "Jan 19 06:38:18 router filterlog: 9,16777216,,0,em0,match,block,in,6,0xe0,0x00000,255,ICMPv6,58,64,fe80::21f:9eff:fef6:48f2,ff02::1," } } [2]=> array(4) { ["file"]=> string(35) "/usr/local/www/diag_logs_filter.php" ["line"]=> int(309) ["function"]=> string(15) "conv_log_filter" ["args"]=> array(5) { [0]=> &string(19) "/var/log/filter.log" [1]=> &string(3) "500" [2]=> &int(600) [3]=> &NULL [4]=> &NULL } } } array(3) { [0]=> array(4) { ["file"]=> string(23) "/etc/inc/filter_log.inc" ["line"]=> int(260) ["function"]=> string(9) "log_error" ["args"]=> array(1) { [0]=> &string(75) "There was a error parsing rule: . Please report to mailing list or forum." } } [1]=> array(4) { ["file"]=> string(23) "/etc/inc/filter_log.inc" ["line"]=> int(70) ["function"]=> string(17) "parse_filter_line" ["args"]=> array(1) { [0]=> &string(149) "Jan 19 06:38:18 router filterlog: 156,16777216,,1395943586,bridge0,match,pass,in,4,0x0,,1,43278,0,none,2,igmp,40,192.168.7.8,224.0.0.22,datalength=16" } } [2]=> array(4) { ["file"]=> string(35) "/usr/local/www/diag_logs_filter.php" ["line"]=> int(309) ["function"]=> string(15) "conv_log_filter" ["args"]=> array(5) { [0]=> &string(19) "/var/log/filter.log" [1]=> &string(3) "500" [2]=> &int(600) [3]=> &NULL [4]=> &NULL } } } array(3) { [0]=> array(4) { ["file"]=> string(23) "/etc/inc/filter_log.inc" ["line"]=> int(260) ["function"]=> string(9) "log_error" ["args"]=> array(1) { [0]=> &string(75) "There was a error parsing rule: . Please report to mailing list or forum." } } [1]=> array(4) { ["file"]=> string(23) "/etc/inc/filter_log.inc" ["line"]=> int(70) ["function"]=> string(17) "parse_filter_line" ["args"]=> array(1) { [0]=> &string(132) "Jan 19 06:38:15 router filterlog: 9,16777216,,0,em0,match,block,in,6,0xe0,0x00000,255,ICMPv6,58,64,fe80::21f:9eff:fef6:48f2,ff02::1," } } [2]=> array(4) { ["file"]=> string(35) "/usr/local/www/diag_logs_filter.php" ["line"]=> int(309) ["function"]=> string(15) "conv_log_filter" ["args"]=> array(5) { [0]=> &string(19) "/var/log/filter.log" [1]=> &string(3) "500" [2]=> &int(600) [3]=> &NULL [4]=> &NULL } } } ...
Not only IPv6 parsing error.