I got a strange problem with my Linksys WRT54GL router.
I installed ULOGd in my router with the packets ulogd, ulogd-mod-extra, ulogd-mod-mysql, iptables-mod-ulog, kmod-ipt-ulog...
I also set up the rules with iptables ULOG target:
my rules are:
iptables -N ULOG_ACCEPT
iptables -A ULOG_ACCEPT -i tap0 -m state --state NEW -j ULOG --ulog-cprange 100 --ulog-prefix="$HOST" --ulog-nlgroup 1
iptables -A ULOG_ACCEPT -i tap0 -m state --state NEW -j ACCEPT
iptables -I FORWARD 1 -i tap0 -m state --state NEW -j ULOG_ACCEPT
and use the Mysql plugin in /etc/ulogd.conf uncommenting the line for ulogd_MYSQL.so
At first time it works very well and starts logging to my mysql DB.
But very often and absolutely at random it stops to log after a while...let's say after 1 month or so...very hard to discover and to track
Important: doing a reboot let the service start working again!
Anyone has the same problem or knows how to solve it?
Please help me.