mitchellkrogza / nginx-ultimate-bad-bot-blocker

Nginx Block Bad Bots, Spam Referrer Blocker, Vulnerability Scanners, User-Agents, Malware, Adware, Ransomware, Malicious Sites, with anti-DDOS, Wordpress Theme Detector Blocking and Fail2Ban Jail for Repeat Offenders
Other
3.97k stars 477 forks source link

[Feature Request] Differentiate between browsers and good bots #412

Open enfold-josh opened 3 years ago

enfold-josh commented 3 years ago

Currently requests from browsers and good bots both get a value of 0 in $bad_bot. We have a need to differentiate between the two. Would it be possible to change the default value of the bad_bot map to something other than 0?

mitchellkrogza commented 3 years ago

Could add a 4 I'll have to look I only used 0 - 3 but new levels could be introduced