bsdperimeter/pfsense — pull request #181 by N0YB (2012-07-22 07:55:23+00:00)
Title: Widget - Firewal Logs - Filtering

Adds additional configuration options to filter on firewall actions
'pass', 'block', 'reject', and network interfaces.

Changes Overview:

/usr/local/www/widget/widget/log.widget.php

Several code changes and aditions (tagged with date 20120619)

/usr/local/www/javascript/filter_log.js

function fetch_new_rules_callback
var tmp = format_log_line(row_split);
if ( !(tmp) ) continue;

function in_arrayi(needle, haystack)

/etc/inc/filter_log.inc

test and call match_filter_* functions

function match_filter_field($flent, $fields)

function in_arrayi($needle, $haystack)

For each/most of the following themes

/usr/local/www/themes/_corporate/all.css
/usr/local/www/themes/code-red/all.css
/usr/local/www/themes/metallic/all.css
/usr/local/www/themes/nervecenter/all.css
/usr/local/www/themes/pfsense/all.css **
/usr/local/www/themes/pfsense_ng/all.css
/usr/local/www/themes/pfsense-dropdown/all.css **
/usr/local/www/themes/the_wall/all.css

Themes all.css Additions / Changes

div#log div.log-entry span, **
div#log div.log-header span {
padding: 3px 2px 3px 2px;
padding-left: 6px;
}

div#log div.log-entry-mini span {
padding: 2px 2px 2px 2px;
padding-left: 6px;
}

div#log span.log-time-mini-header, *

div#log span.log-time-mini,
div#log span.log-time-mini-header {
width: 18%;
}

ddiv#log span.log-source-mini,
div#log span.log-source-mini-header {
width: 24%;
}

* Added to All Themes
** Does Not Exist.