I am working with some CentOS rules and would like to be able to log the dropped items from iptables out to a separate file. What is the best way to setup CentOS to log dropped iptables matches to a log file under /var/log that is not equal to the messages file.
If it matters, I am using both CentOS 5.5 and newer as well as CentOS 6.x.