[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] cron errors after gShield firewall install



Hiya again :)

after trying PMFirewall on my RaQ550 (wich doesn't work with iptables) I
installed gShield firewall.

Everything's working fine on the firewall part but I get cron.hourly
mails about iptables..

This is the error I'm getting:

iptables: Table does not exist (do you need to insmod?)
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name
iptables: No chain/target/match by that name

If I disable the firewall the error's are gone but when I re-enable it
the messages return.

In my /etc/cron.hourly there's a file called log_traffic
and this is in it:

# Update the accounting rules and the ipchains/tables config file if [
$TABLES ]; then
        echo "# $FWCONFIGFILE
# This file is automatically generated by log_traffic.
# Any manual changes will be lost
$IPTABLES -N acctin > /dev/null 2>&1
$IPTABLES -N acctout > /dev/null 2>&1
$IPTABLES -F acctin
$IPTABLES -F acctout
$IPTABLES -I INPUT 1 -j acctin
$IPTABLES -I OUTPUT 1 -j acctout" > $FWCONFIGFILE
else
        echo "# $FWCONFIGFILE
# This file is automatically generated by log_traffic.
# Any manual changes will be lost
$IPCHAINS -N acctin
$IPCHAINS -N acctout
$IPCHAINS -F acctin
$IPCHAINS -F acctout
$IPCHAINS -I input 2 -j acctin
$IPCHAINS -I output 2 -j acctout" > $FWCONFIGFILE

now, I don't get it.. :P

It seems that the firewall clears the statements and the traffic log
uses some statements???