diff options
author | Phil Davis <phil.davis@inf.org> | 2014-12-21 17:30:40 +0545 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2014-12-23 09:02:45 -0200 |
commit | 71ddc9ef4ad45ea4d99ee563e93fd648725c94ce (patch) | |
tree | 305cb7b6d8877019cc5d3ebca78ddf027f643623 | |
parent | 0000cdf7bd8a29c30dcdd3ee651ca5f95a2c98bf (diff) | |
download | pfsense-71ddc9ef4ad45ea4d99ee563e93fd648725c94ce.zip pfsense-71ddc9ef4ad45ea4d99ee563e93fd648725c94ce.tar.gz |
Pass src dst IP port through to firewall log
and IP version. So that the receiving code can easily have each pat of the IP addresses and ports, and display them as it wishes.
-rw-r--r-- | etc/inc/filter_log.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/filter_log.inc b/etc/inc/filter_log.inc index b6d2eb2..073d44f 100644 --- a/etc/inc/filter_log.inc +++ b/etc/inc/filter_log.inc @@ -404,7 +404,7 @@ function handle_ajax($nentries, $tail = 50) { $log_row['proto'] .= ":{$log_row['tcpflags']}"; $img = "<a href=\"#\" onClick=\"javascript:getURL('diag_logs_filter.php?getrulenum={$log_row['rulenum']},{$log_row['rulenum']}', outputrule);\">{$img}</a>"; - $new_rules .= "{$img}||{$log_row['time']}||{$log_row['interface']}||{$log_row['srcip']}||{$log_row['dst']}||{$log_row['proto']}||" . time() . "||\n"; + $new_rules .= "{$img}||{$log_row['time']}||{$log_row['interface']}||{$log_row['srcip']}||{$log_row['srcport']}||{$log_row['dstip']}||{$log_row['dstport']}||{$log_row['proto']}||{$log_row['version']}||" . time() . "||\n"; } } echo $new_rules; |