Skip to main content

How to set up protection on Wordpress

Comments

3 comments

  • cPanelMichael
    Hello :) It's unrelated to CSF/LFD, but you may find the following document helpful: Brute Force Attacks " WordPress Codex Thank you.
    0
  • Tom Risager
    There is some relevant information in the last post of this thread: Block brute force on wordpress wp-login ? - ConfigServer Community Forum
    0
  • akust0m
    I ended up doing the following: /usr/local/csf/bin/regex.custom.pm
    # wordpress if (($globlogs{CUSTOM1_LOG}{$lgfile}) and ($line =~ /(\S+).*] "POST \/wp-login\.php.*" 200/)) { return ("Failed Wordpress login from",$1,"wordpress","5","80,443","3600"); }
    /etc/csf/csf.conf
    CUSTOM1_LOG = "/home/*/access-logs/*"
    Seems to work great, however I'm not sure how much load it would put on the server if there was a lot domains and therefore a lot of separate log files.
    0

Please sign in to leave a comment.