View Full Version : [ubuntu] Resolving IP addresses in iptables logs

January 20th, 2010, 02:52 AM
Hi all,

Does anyone have any tips/ideas on whether iptables logs can be set to automatically resolve IP addresses?

I am running the firewall on a network with DDNS/DHCP, and this ability would really help quickly identify hosts with suspect traffic.

Failing this, I guess the simplest solution will be to simply set static addresses!


February 15th, 2010, 06:57 PM

The iptables tool does not have the ability to resolve hostnames from IP addresses. However, there are several tools you can employ to get this information. There's a neat tool called IPtables log analyzer (http://www.gege.org/iptables/) that you might want to try; however, it needs a MySQL engine and a Web server to display the reports.