Tagged Questions
1
vote
1answer
171 views
iptables logging prefix gets corrupted
I've been using iptables for some time but recently noticed that the log prefix I'd set had got corrupted. In /etc/iptables/rules.v4` I have:
-A LOGNDROP -j LOG --log-prefix "iptables denied: " ...
2
votes
1answer
210 views
Bash script and Database
I have an iptables firewall in Linux bridge (RHEL5). I want to extract information like IP address, port number, port type, date and time, etc. from log messages using a Bash script, and then want to ...