Help - Search - Members - Calendar
Full Version: Help with apf firewall errors
The Planet Forums > Security > General Security
mirzetios
Hello,

I have just switch to a Red Hat enterprise with new Plesk kernel 2.6.18-92.1.13.el5
I used to be on linux redhat enteprise plesk kernel 2.4

I had APF FIREWALL running all this time no problem on the older kernel, now when i attempt to install it byu running install.sh i get the following error:
Other Details:
cp: cannot stat `/etc/apf.bk.last/vnet/*.rules': No such file or directory
Imported options from 9.6-5 to 9.6-5.
Note: Please review /etc/apf/conf.apf for consistency, install default backed up to /etc/apf/conf.apf.orig

Also if i add any ip once i configure the apf.conf it says it added it but it does not ban it, i have 2 isp's and i banned myself using apf it does not do anything, if i do it manually using iptables then it works.

Now, i also now get this error: when executing apf -d <ip>
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name


Please anybody help me, am i missing something i need to install an extra component?? Any help is appreciated, but please be detailed im new to this.

Thanks
Catalyst
I'm guessing you have some archival stuff --- perhaps from the old server --- in /etc/apf/vnet. Delete everything in that directory except main.vnet, vnetgen, and vnetgen.def.

It's safer to just rebuild it... Go through to conf.apf manually and set your options, and copy your allow and deny lists, then remove the /etc/apf.bk* directories.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.