Hi Maurice,
> At this point, I have to ask 'what is LCAP?',
See http://packages.debian.org/stable/admin/lcap
It allows to lock down the Linux kernel by removing certain capabilities.
> It is not that iptables doesn't want to load. I can start APF (based on
> iptables), and it blocks p.e. connection to the mysql-port. But at the
> next full hour (when /etc/cron.hourly/log_traffic run) the firewall isn't
> working anymore, because I can connect to the mysql port again.
Solution:
rm /etc/cron.hourly/log_traffic run
Or move it someplace else, like /root for later reference:
mv /etc/cron.hourly/log_traffic run /root/
And no: I'm not kidding.
That script in question is used to log the traffic of the box with a couple of
iptables rules for traffic accounting. It gets in the way with your custom
firewall script, because every hour when that script runs it will modify or
remove the firewall rules that you have set up.
--
With best regards,
Michael Stauber