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 antidos logs ?

Discussion in 'General Discussion' started by sh4ka, Sep 29, 2005.

  1. sh4ka

    sh4ka Well-Known Member

    Joined:
    May 12, 2005
    Messages:
    442
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    US
    cPanel Access Level:
    DataCenter Provider
    I've installed and activated the anti-dos functions for APF, but after a few days I check for the logs, and I can't even find the log file :confused: at /var/log/apfados_log.

    What does this mean, that no one launched DOS attacks against my box, or that simply the mod antidos is not working ? How can I know if it is working ?

    I'm using RHAS.

    thzk!
     
  2. kris1351

    kris1351 Well-Known Member

    Joined:
    Apr 18, 2003
    Messages:
    963
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Lewisville, Tx
    It shouldn't really log anything in the AD logs unless it does something. Look in your master APF logs and it should tell you that AD started up properly or not. Check that the AD/APF crons are running properly, they are located in /etc/cron.
     
  3. Blapto

    Blapto Active Member

    Joined:
    May 13, 2005
    Messages:
    36
    Likes Received:
    0
    Trophy Points:
    6
    You could see if it is working or not by trying to DoS it yourself?

    Bear in mind that you need to get access some other way to disable the block it will put on your IP.
     
  4. avijit

    avijit Well-Known Member

    Joined:
    Jul 26, 2004
    Messages:
    116
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    India
    By default the file /var/log/apfados_log is not created so that it can keep the log. And you need to have a DOS to get logs there to have some logs as mentioned earlier.

    You can touch that file to create it and see what heppens :cool:
     
  5. avijit

    avijit Well-Known Member

    Joined:
    Jul 26, 2004
    Messages:
    116
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    India
    Another thing..if this helps ...
    Anti DOS rules can be kept at /etc/apf/ad/ad.rules

    You need to set USE_AD="1" in the /etc/apf/conf.apf to get those rules working.

    You may see some logs there if you reduce the LRATE="45" ;) But I am sure you will not.
     

Share This Page