Skip to main content

Setup for ModSecurity Country Block with OWASP3 910100

Comments

5 comments

  • cPRex Jurassic Moderator

    Hey there!  You are correct that you'd need the older version of ModSecurity as cPanel systems use ModSecurity 2.

    Instead of forcing Apache to handle the traffic it would be best to block country codes at the firewall level, so Apache doesn't have to handle the traffic at all.  I would expect this to use much fewer server resources.

    0
  • Leo Santis

    Thanks for your comments cPRex

    I was thinking exactly what you said that would be better to handle that via firewall instead of Apache but I’m hosted in a Hostgator VPS and it comes with HG Firewall that’s pretty simple and can’t deal with Country Block.

    I think I can’t uninstall HG Firewall so, do you recommend any Cpanel compatible Firewall that could do this job? I was checking CSF but realized they recently closed their operations.

    0
  • cPRex Jurassic Moderator

    CSF is still a great tool, and many users have created forks of it as well, so it's still usable if you want to go that route.  Since we don't (yet) have a firewall tool, I can't make an official recommendation on what you can use.

    I will say that we're working on our own firewall system since the closure of CSF, so if you have any specific feedback or things you would like to see in it, leave those thoughts here: https://features.cpanel.net/c/202-firewall-configuration-tool

    0
  • Leo Santis

    I was wondering that would be your answer ... lol... 

    My vote is already there and look forward to see any fulture option from you guys.

    Problem about a Firewall that deals with Country Block, it should have IP Tables updated constantly. I run through Cloudflare and have lots of country block rules but CloudFlare is not efficient for that.

    Thank you.

    1
  • cPRex Jurassic Moderator

    Unfortunately that's the best I've got to offer at this point, but there will be major announcements when our firewall tool goes live.

    0

Please sign in to leave a comment.