Commit Graph

26 Commits

Author SHA1 Message Date
Michael Tremer
00793c27c9 GeoIP: Add lookup function for convenience
Instead of opening the database again for each lookup,
we will read it into memory on first use and every lookup
after that will be coming from cache.

Reviewed-by: Peter Müller <peter.mueller@link38.eu>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-11-13 22:37:19 +00:00
Michael Eitelwein
43638be58b No code changes, fixed formatting by replacing spaces with tabs 2016-01-09 20:09:58 +01:00
Michael Eitelwein
1b5b6c91da Fixed detection of firewall chain when bridge is used for ipv6
Signed-off-by: Michael Eitelwein <michael@eitelwein.net>
2016-01-07 19:40:24 +01:00
Michael Eitelwein
a249e865bd Firewall chain was not extracted correctly when ipv6 uses bridge
Signed-off-by: Michael Eitelwein <michael@eitelwein.net>
2016-01-07 19:26:46 +01:00
Michael Eitelwein
9877d28d9e 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>
---
2016-01-07 14:00:01 +01:00
Stefan Schantl
3ea01fe042 Multiple CGI's: Use &GeoIP::get_flag_icon for getting country flags. 2015-05-02 13:45:50 +02:00
Bernhard Bitsch
ea40188f66 BUG10502: Fix wrong interfaces in firewall.log
Fix from BeBiMa
2015-03-11 13:53:36 +01:00
Michael Tremer
6d3c8250fe Merge remote-tracking branch 'alfh/feature_langfixes' into next 2014-02-17 16:28:23 +01:00
Alf Høgemark
57426d2d21 firewalllog.dat: Use language string keys already defined 2014-02-15 15:28:14 +01:00
Alf Høgemark
44bd254c67 firewalllog.dat: Use language string for First and Last text 2014-02-15 15:16:06 +01:00
Alf Høgemark
a1219d9600 firewalllog.dat: Use language string for First and Last links 2014-02-12 21:31:08 +01:00
Alf Høgemark
f69446d2fa firewalllog.dat: Add First and Last links, for fast navigation in log lines
Add two links for navigating in log pages, one for going to the
first page and one for goint to the last page.

Introduce variable which points to the first log line to
display on the last possible page.

The commit contains hardcoded text for Last and First, and I
am also uncertain how spaces between links should be handled.
So this should be improved based on feedback.
2014-02-12 21:30:58 +01:00
Alexander Marx
73ede29f00 Layout changes firewalllog.dat 2014-01-09 15:09:50 +01:00
Alexander Marx
fda1f52ff3 fifteen-theme: made all log tables themeable
With this commit it is possible to make css designs to all tables in the
logs.
2014-01-07 09:23:37 +01:00
Christian Schmidt
24614d7dfb Fixed a typo in firewalllog.dat. 2011-01-26 08:06:26 +01:00
Christian Schmidt
e7d2f07094 There are more than 20 and 27 parsings for local interface in the firwall log. 2011-01-23 09:59:37 +01:00
Christian Schmidt
5b7f487baa Fixed firewall log display 20 for local interface. 2011-01-20 21:09:14 +01:00
maniacikarus
5595bc0381 pakfire cgi not refreshes after upgrades
readded firewall options to disbale drop logging
added log option for outgoing fw mode 1
cleaned kernel log from firewall messages
change firewall init script because of changes
added samba cgi ability to change charsets
started core update number 4


git-svn-id: http://svn.ipfire.org/svn/ipfire/branches/2.1/trunk@1132 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2007-12-28 16:22:35 +00:00
maniacikarus
8c384f979d CGIs angepasst damit das httpd log sauberer bleibt
git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@938 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2007-10-03 11:10:43 +00:00
maniacikarus
f2fdd0c1e9 Quasi fast alle cgis von den fixen header farben befreit
git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@560 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2007-05-17 16:54:15 +00:00
maniacikarus
71dfc4b7a2 Viele kleine Änderungen an Samba und Tripwire
git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@497 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2007-04-12 21:01:15 +00:00
ms
9fb25b1c17 "Update Booster" fertiggestellt und getestet.
git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@494 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2007-04-12 14:06:59 +00:00
ms
986e08d996 Hinzugefügt:
* Morningreconnect Script
Geändert:
  * Neue Spamassassin Version. 3.1.3
  * Interface umfangreich bearbeitet in Layout und angezeigten Texten.
  * DHCP-Leases-Error gefixt
  * lq-Graph pingt nun nach www.heise.de
  * IP-Anzeige für PPPoE/DSL gefixt.
  * Connectionstate vom IPCop übernommen.


git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@164 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2006-06-06 19:12:22 +00:00
ms
78331e3019 Großes Update:
Hinzugefügt:
  * L7-Protokolle
Geändert:
  * XAMPP 1.5.1 --> 1.5.3
  * Sämtliche "IPCops" durch "IPFire" im Webinterface ersetzt
  * Einige Fixes, wegen Errors im Webinterface. (Im Forum zu finden.)


git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@148 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2006-05-31 10:09:27 +00:00
ms
dace10b5e4 Hinzugefügt:
* GeoIP


git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@140 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2006-05-25 19:49:10 +00:00
ipfire
cd1a292722 git-svn-id: http://svn.ipfire.org/svn/ipfire/IPFire/source@16 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8 2006-02-15 21:15:54 +00:00