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 Firewall - WHM News Prob

Discussion in 'General Discussion' started by YukFoo, Jul 5, 2003.

  1. YukFoo

    YukFoo Well-Known Member

    Joined:
    Sep 1, 2002
    Messages:
    135
    Likes Received:
    0
    Trophy Points:
    16
    I have APF setup on one of my servers, when APF is enabled, I get gibberish for the news, if I stop APF the news is fine. Here's my APF conf file:

    What am I missing?

    # Common TCP Ports
    TCP_CPORTS="20,21,22,25,37,53,80,110,143,443,465,873,993,995,2080,2081,2082,2083,2084,2085,2086,2087,2088,2089,2090,2091,2092,2093,2094,2095,2096,2097,2098,2099,3306,6666,7786,10000,20000"

    # Common UDP Ports
    UDP_CPORTS="37,53,873"

    cPanel.net Support Ticket Number:
     
  2. FWC

    FWC Well-Known Member

    Joined:
    May 13, 2002
    Messages:
    354
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Ontario, Canada
    It could be your Linux kernel. If you don't have the right modules compiled into it APF, or any other iptables based firewall, won't work right. Start up APF and check /var/log/messages for errors about not being able to load modules.

    cPanel.net Support Ticket Number:
     
  3. YukFoo

    YukFoo Well-Known Member

    Joined:
    Sep 1, 2002
    Messages:
    135
    Likes Received:
    0
    Trophy Points:
    16
    Jul 5 16:11:59 mars modprobe: modprobe: Can't locate module ipt_multiport
    Jul 5 16:12:00 mars modprobe: modprobe: Can't locate module ipt_state
    Jul 5 16:12:00 mars last message repeated 7 times
    Jul 5 16:12:00 mars modprobe: modprobe: Can't locate module ipt_limit
    Jul 5 16:12:00 mars modprobe: modprobe: Can't locate module ipt_state


    How can I fix this without having to recompile the kernel? Don't find any userful info on google.

    cPanel.net Support Ticket Number:
     
  4. FWC

    FWC Well-Known Member

    Joined:
    May 13, 2002
    Messages:
    354
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Ontario, Canada
    As far as I know you can't fix it without compiling those modules into the kernel.
     
  5. Exoz

    Exoz Registered

    Joined:
    Jul 7, 2003
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    apf -start


    /usr/local/sbin/apf: DShield: command not found
    /etc/apf/vnet/vnetgen: DShield: command not found
    /etc/apf/firewall: DShield: command not found

    what can be the problem

    cPanel.net Support Ticket Number:
     
Loading...

Share This Page