PDA

View Full Version : APF status


sdjl
12-23-2005, 12:13 PM
Hello,

I don't have much experience (yet!) with APF and i've been looking through documents this afternoon and looking at all the settings, etc.

I have a couple of questions regarding APF.
1) How can i tell that APF is running? Is there a process i should be looking for?

2) I noticed this in the APF "status" log:

Dec 23 17:06:47 host apf(13575): firewall initalized
Dec 23 17:06:45 host apf(15778): unable to load iptables module (ip_tables), aborting.
Dec 23 17:06:44 host apf(13575): activating firewall

Is not being able to load the iptables module bad? If so, do you have any suggestions for getting the iptables module to load?

Thanks for any help. It all helps in me being a little more self sufficient with a VPS :)

David

charles
12-23-2005, 12:36 PM
Hi David

Please email support if you continue to have problems with it. APF should work fine. You can run ps auxww | grep apf to see the process, or service apf status|stop|start|restart to control it. lsmod will show the modules loaded.

charles

sdjl
12-23-2005, 12:57 PM
Hi Charles,

Thanks for the reply :)

This is all i get if i ps auxww | grep apf

root 780 0.0 0.0 1508 476 pts/0 S 17:53 0:00 grep apf

I did try that earlier today out of curiosity and the same came up.

I'll contact support as i'm pretty sure that means it's not running when it should be :)
I do also notice that it seems to be enabling demo mode every so often, even when i've modified the conf file to take it out of "devel" mode.

David

charles
12-23-2005, 03:06 PM
David, Sergey has got you taken care of. We have some automated setup scripts that needed updating as variable names changed in the latest apf. The apf config needs SET_MONOKERN="1" to work on a virtuozzo vps.

ho ho ho
charles

sdjl
12-23-2005, 09:35 PM
Ah yes, that's made it better :)
I did also notice that the config file has these two settings set to eth0 rather than the venet0 that is setup under WHM:

IFACE_IN="venet0"
IFACE_OUT="venet0"

I changed them which stopped an error occurring. :)

David

charles
12-24-2005, 11:30 AM
Thanks David

Was this a default install by us, or did you reinstall apf? Either way, I'll make sure this is addressed.

charles

sdjl
12-24-2005, 11:48 AM
I went to install it myself, but it prompted me that it was already installed.
So whether that changed any of the config files or not, i don't know :)

Worth looking at anyway just in case.

Merry Christmas!

David

charles
12-24-2005, 11:50 AM
Merry Christmas! Or should I say

Please accept with no obligation, implied or implicit, my best wishes for an environmentally conscious, socially responsible, low stress, non-addictive gender neutral celebration of the winter solstice holiday, practiced within the most enjoyable traditions of the religious persuasion of your choice, or secular practices of your choice, with respect for the religious/secular traditions of others, or their choice not to practice religious/secular traditions at all.

As well, please enjoy a fiscally successful, personally fulfilling and medically uncomplicated recognition of the onset of the generally accepted calendar year 2006, but not without due respect for the calendars of choice of other cultures whose contributions to society have helped make America great (not to imply that America is necessarily greater than any other country or is the only "America" in the western hemisphere), and without regard to the race, creed, color, age, physical ability, religious faith, choice of computer platform, or sexual preference of the wishee.

*****************

By accepting this greeting, you are accepting the following terms:

This greeting is subject to clarification or withdrawal. It is freely transferable with no alteration to the original greeting. It implies no promise by the wisher to actually implement any of the wishes for her/himself or others, and it is void where prohibited by law, and is revocable at the sole discretion of the wisher. This wish is warranted to perform as expected within the usual application of good tidings for a period of one year, or until the issuance of a subsequent holiday greeting, whichever comes first, and warranty is limited to replacement of this wish or issuance of a new wish at the sole discretion of the wisher.

No reindeer, elves or barns were injured during the making of this greeting.

sdjl
12-24-2005, 08:41 PM
lol :D

David