The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

apf/iptables problem

Discussion in 'General Discussion' started by groefie, Aug 7, 2005.

  1. groefie

    groefie Active Member

    Joined:
    May 30, 2003
    Messages:
    31
    Likes Received:
    0
    Trophy Points:
    6
    Hi,

    This morning I did /scripts/securetmp.

    Now when i try to restart apf firewall, it says:

    iptables v1.2.9: host/network `(0.000000)' not found

    root@host [~]# apf -r
    iptables v1.2.9: host/network `(0.000000)' not found
    Try `iptables -h' or 'iptables --help' for more information.
    iptables v1.2.9: host/network `(0.000000)' not found
    Try `iptables -h' or 'iptables --help' for more information.
    root@host [~]#


    What's wrong and how to fix it? :confused:

    Thanks in advance.
     
  2. ctbhost

    ctbhost Well-Known Member

    Joined:
    May 31, 2002
    Messages:
    139
    Likes Received:
    0
    Trophy Points:
    16
    i seem to have a similar problem - have you found a fix for it yet ??

    iptables v1.2.9: host/network `at' not found
    Try `iptables -h' or 'iptables --help' for more information.
    iptables v1.2.9: host/network `at' not found
    Try `iptables -h' or 'iptables --help' for more information.
     
  3. nickb

    nickb Well-Known Member

    Joined:
    Feb 25, 2005
    Messages:
    347
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    India
    Try Running iptables -F and apf --flush. Upgrade to the latest version...also check deny_hosts.rules and allow_hosts.rules
     
    #3 nickb, Aug 8, 2005
    Last edited: Aug 8, 2005
  4. ctbhost

    ctbhost Well-Known Member

    Joined:
    May 31, 2002
    Messages:
    139
    Likes Received:
    0
    Trophy Points:
    16
    flushed everything - even flushed the loo :) but still no diifferent

    but i fixed the problem
    in /etc/apf/deny_hosts.rules there was the blocked ip list and one called 'at' i removed that and all fixed.
     
  5. nickb

    nickb Well-Known Member

    Joined:
    Feb 25, 2005
    Messages:
    347
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    India
    I mentioned that but slower than you :p deny_hosts.rules and allow_hosts.rules this is the most common problem...with APF and apperas when RESV_DNS and othe DNS variables are on.
     
  6. groefie

    groefie Active Member

    Joined:
    May 30, 2003
    Messages:
    31
    Likes Received:
    0
    Trophy Points:
    6
    Hi,

    just fixed the problem :)

    There was an entry '0.000000' in /etc/apf/deny*. I've just deleted the entry en restarted apf. So it seems the problem had nothing to do with the securing of /tmp :rolleyes:
     
Loading...

Share This Page