(ve):Using apf with RAB
- This page was last modified on November 22, 2010, at 10:47.
From (mt) Community Wiki
It appears that apf doesn't load RAB on the (ve) Server due to the way that it checks for ipt_recent. This is easily circumvented by making a change in the following file.
/etc/apt-firewall/internal/functions.apf
Then, find the following line:
if [ "$RAB" == "1" ] && [ ! -f "/lib/modules/$(uname -r)/kernel/net/ipv4/netfilter/ipt_recent.$MEXT" ]; then
And change it to:
if [ "$RAB" == "1" ] && [ `grep -c "recent" /proc/net/ip_tables_matches` == "0" ]; then
This will properly check for the ipt_recent module, and allow RAB to load.