Skip to main content

WP Login Protection with CSF -LFD

Comments

4 comments

  • ffeingol

    The requests are more than likely logged to the sites access log, not the main access log (i.e. under domlogs/*/*).  We don't use Nginx, so I can't tell you the exact path.

    0
  • Leo Santis

    That’s my point.
    When you have only Apache this could run using a CSF custom log like CUSTOM1_LOG = "/var/log/apache2/domlogs/*/*"

    When using Nginx, CUSTOM1_LOG = "/var/log/nginx/access.log"

    As Cpanel Nginx add-on  is not really a standalone Nginx version that may be the case of using something different than both.

    0
  • Leo Santis

    Just to give a feedback here as others may search the same in the future.

    I’ve just give it a try using CUSTOM1_LOG = "/var/log/apache2/domlogs/*/*" and let it run overnight and I’ve got a couple of attackers dully trapped.

    So, basically, it doesn’t matter if you use Nginx or not, recipe is the same for both.

    0
  • Mise

    also you can try with the same word appearing  in the previous phrase: 

    return ("WPLogin Attack",$1,"WPLogin","3","80,443","1");

    ...just to discard it because sometimes it can happen. I don't know why.

     

    0

Please sign in to leave a comment.