[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

ulogd saves ipaddr as 32 bit int



Hi list!
I just installed ulogd with MySQL support to use with my iptables firewall to log traffic. Everything works fine but I have one question though: ulogd saves the src and dst ipaddr as an integer in the database (a 32 bit unsigned integer according to the docs) and I wonder how can I translate that into a normal ip addr? I'm guessing it shouldn't be too hard in either bash or php (which is my scripting language of choice.) Does anyone have a clue?



Reply to: