What Types of Traffic Do You Block for Security?

0
12
Asked By CuriousCat42 On

I'm curious about the types of traffic you've had success blocking to enhance security on your site. For example, I know some bots look for vulnerabilities like those involving "/wp-" paths, so you could set a custom rule to block them with something like "(lower(http.request.uri.path) contains "/wp-")". Also, blocking traffic from known data center ASNUMs can be effective. What strategies and rules have worked well for you?

7 Answers

Answered By LayeredSecurityPro On

From what I’ve observed, a layered approach works best: start with bot score based rules, then use rate limiting, add JavaScript validation on sensitive pages, use geo controls if applicable, and finally implement custom IP/ASN rules as a last line of defense. Just remember, while community IP blacklists can help, they come with maintenance responsibilities that you should consider based on your long-term needs.

Answered By IPWatchDog On

Check out this IP blacklist resource: https://ipbl.herrbischoff.com/. It can help you find malicious IPs to block.

Answered By TrafficTamer99 On

I've had a lot of success using ASNUMs to block scraper bots, which really helped reduce junk traffic on my site.

BotBouncer101 -

How did you compile your list of ASNUMs without accidentally blocking legit traffic?

Answered By TrafficNinja88 On

I simply block Kubernetes.io to keep my boss from thinking it's a good idea to integrate it into our systems.

Answered By RuleMaster77 On

Another good resource is https://coreruleset.org/. It's useful for security rules.

Answered By CloudGuard24 On

For my clients, I've set up Cloudflare WAF on the free plan, utilizing geo-blocking and techniques to mitigate bad bots. A couple of years ago, I also used the nginx-bad-bot-blocker, which was pretty effective for me.

Answered By ConfusionMaster On

I’ve heard some argue that returning a 500 error is better than a 404—what’s your take on that? If you're having issues managing your traffic, consider checking out fail2ban.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.