]> git.ipfire.org Git - ipfire-2.x.git/commit
Enable correct display of ipv6 entries in Firewall log pages of web UI.
authorMichael Eitelwein <michael@eitelwein.net>
Thu, 7 Jan 2016 13:00:01 +0000 (14:00 +0100)
committerMichael Eitelwein <michael@eitelwein.net>
Thu, 7 Jan 2016 13:00:01 +0000 (14:00 +0100)
commit9877d28d9e2daf49324cbf2120d00ab7169da0d3
tree00eeab757dd42ca49af046f23f7af25cb2968d1c
parentc26171b4b4d6606e2e64bb9c4de36223fea0924d
Enable correct display of ipv6 entries in Firewall log pages of web UI.

3 main changes:
 - Fill $iface and $out from PHYSIN and PHYSOUT when looking at bridged packets, othwerwise fill from IN and OUT
 - Recognize ipv4 and ipv6 address style for $srcaddr and $dstaddr
 - Match color coding of tables to pie charts (see seperate patch sent earlier)

I am using the bridged ipv6 setup as proposed in the wiki. I do not think this breaks anything when not using ipv6. So it would be nice to include this even if ipv6 is not officially supported yet. It is quite useful when using the ipv6 setup.

Signed-off-by: Michael Eitelwein <michael@eitelwein.net>
---
html/cgi-bin/logs.cgi/firewalllog.dat
html/cgi-bin/logs.cgi/firewalllogcountry.dat
html/cgi-bin/logs.cgi/firewalllogip.dat
html/cgi-bin/logs.cgi/firewalllogport.dat
html/cgi-bin/logs.cgi/showrequestfromcountry.dat
html/cgi-bin/logs.cgi/showrequestfromip.dat
html/cgi-bin/logs.cgi/showrequestfromport.dat