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.81k stars 472 forks source link

add lower case masscan user agent #424

Closed buixor closed 3 years ago

buixor commented 3 years ago

Hello,

A user reported that masscan uses a lower case user-agent. Can we add a lower-case version of masscan user agent?

Thanks,

hackzilla commented 3 years ago

This PR can be closed, as it was fixed by #140

mitchellkrogza commented 3 years ago

The blocked does not use case sensitivity

[mitchellkrog@ArchLinux Desktop]$ curl -I https://mitchellkrog.com -A "Masscan"
curl: (92) HTTP/2 stream 0 was not closed cleanly: PROTOCOL_ERROR (err 1)
[mitchellkrog@ArchLinux Desktop]$ curl -I https://mitchellkrog.com -A "masscan"
curl: (92) HTTP/2 stream 0 was not closed cleanly: PROTOCOL_ERROR (err 1)