Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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:
    156
    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:
    316
    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:
    166
    Location:
    India
    Try Running iptables -F and apf --flush. Upgrade to the latest version...also check deny_hosts.rules and allow_hosts.rules
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    #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:
    316
    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:
    166
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. groefie

    groefie Active Member

    Joined:
    May 30, 2003
    Messages:
    31
    Likes Received:
    0
    Trophy Points:
    156
    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

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice