How to write two iptables ulog streams into separate files?
Could you explain how to separate iptables ulog information into two log files? For example: I want to write logging informations from eth1 and eth2 into .../ulogeth1.log and .../ulogeth2.log files respectively. I can set up adequate iptables configuration by adding following commands:
iptables ... -i eth1 ... -j ULOG ulog_nlgroup 1 ...
iptables ... -i eth2 ... -j ULOG ulog_nlgroup 2 ...
But how to intercept both kernel ulog streams? Standard ulogd service (Fedora Linux) permits to run only one ulogd instance. /etc/ulogd.conf file contains one nlgroup parameter and one file name for write packets to. Must I start second ulogd instance by calling ulogd -c ... with separate ulogd configuration file? How it's usually achieved?