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

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

  1. sh4ka

    sh4ka Well-Known Member

    Joined:
    May 12, 2005
    Messages:
    444
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    Uruguay
    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!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. kris1351

    kris1351 Well-Known Member

    Joined:
    Apr 18, 2003
    Messages:
    963
    Likes Received:
    0
    Trophy Points:
    166
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Blapto

    Blapto Active Member

    Joined:
    May 13, 2005
    Messages:
    36
    Likes Received:
    0
    Trophy Points:
    156
    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:
    166
    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:
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. avijit

    avijit Well-Known Member

    Joined:
    Jul 26, 2004
    Messages:
    116
    Likes Received:
    0
    Trophy Points:
    166
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
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