TechFiz on June 28th, 2009

While working with APF on servers, you might normally get to see the following error,
# apf -r
apf(2042): {glob} flushing & zeroing chain policies
apf(2042): {glob} firewall offline
apf(3179): {glob} activating firewall
apf(3284): {glob} unable to load iptables module (ip_tables), aborting.
apf(3179): {glob} firewall initalized
apf(3179): {glob} fast load snapshot saved
Your kernel is compiled with iptables statically instead of as a [...]

Continue reading about apf fix: unable to load iptables module (ip_tables)

TechFiz on October 30th, 2008

Unable to block ips using iptables on your VPS? Is your APF installation failing to work?
root@server [~]# iptables -I INPUT -s 123.123.123.123 -j DROP
iptables: Memory allocation problem
Resolution:
If you’re using OpenVZ for virtualization, you might have exceeded the limit of ‘numiptent’ parameter value. You may check if there are non-zero failcounts for the ‘numiptent’ parameter inside [...]

Continue reading about iptables: Memory allocation problem