prale
Junior Member
Posts: 92
Joined: Feb 2008
Reputation: 1
|
RE: APF firewall AND ISPCP_NETWORK problems
Hmmmz this cron runs every 10minutes, and is generated from the apf config.
So I can't edit it manually since it's overwritten every time. APF restarts.
I also found this in the config:
# The fast load feature makes use of the iptables-save/restore facilities to do
# a snapshot save of the current firewall rules on an APF stop then when APF is
# instructed to start again it will restore the snapshot. This feature allows
# APF to load hundreds of rules back into the firewall without the need to
# regenerate every firewall entry.
# Note: a) if system uptime is below 5 minutes, the snapshot is expired
# b) if snapshot age exceeds 12 hours, the snapshot is expired
# c) if conf or a .rule has changed since last load, snapshot is expired
# d) if it is your first run of APF since install, snapshot is generated
# - an expired snapshot means APF will do a full start rule-by-rule
SET_FASTLOAD="0"
But if I enable this, the snapshot can still expire.
Another possibility is to edit ISPCP_NETWORK to check for the needed IPTABLES.
If not, it must only restart once.
Any ideas?
Thanx again.
(This post was last modified: 08-09-2008 01:59 AM by prale.)
|
|
08-09-2008 01:57 AM |
|