Block more bots (#15626)
This commit is contained in:
parent
3860f5c7b5
commit
172906271c
1 changed files with 8 additions and 0 deletions
|
|
@ -36,6 +36,12 @@ sub vcl_recv {
|
|||
|| req.http.user-agent ~ "Microsoft URL Control"
|
||||
|| req.http.user-agent ~ "Indy Library"
|
||||
|| req.http.user-agent ~ "Fuzz Faster"
|
||||
# Spoofed user agent, Firefox 62 was released in Sep 2018, this line added
|
||||
# in Dec 2021.
|
||||
|| (req.http.user-agent ~ "Firefox/62.0" && req.http.user-agent ~ "Win64")
|
||||
# DEV gets an order of magnitude more traffic from AhrefsBot than any other
|
||||
# search crawler.
|
||||
|| req.http.user-agent ~ "AhrefsBot"
|
||||
|| req.http.user-agent == "8484 Boston Project v 1.0"
|
||||
|| req.http.user-agent == "Atomic_Email_Hunter/4.0"
|
||||
|| req.http.user-agent == "atSpider/1.0"
|
||||
|
|
@ -107,6 +113,8 @@ sub vcl_recv {
|
|||
|| req.http.user-agent == "RSurf15a 41"
|
||||
|| req.http.user-agent == "RSurf15a 51"
|
||||
|| req.http.user-agent == "RSurf15a 81"
|
||||
# Block Ruby bots unless they're interacting with the API
|
||||
|| (req.http.user-agent == "Ruby" && !(req.http.url ~ "^/api"))
|
||||
|| req.http.user-agent == "searchbot admin@google.com"
|
||||
|| req.http.user-agent == "ShablastBot 1.0"
|
||||
|| req.http.user-agent == "snap.com beta crawler v0"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue