或者求运营同学的爬虫 ip 黑名单谢谢
1
DavZhn 2021 年 8 月 10 日
0.0.0.0/0
|
2
DavZhn 2021 年 8 月 10 日
然后再搞个白名单
|
3
Foxkeh 2021 年 8 月 10 日
你看是不是要的这个 http://as.chacuo.net/company
|
4
DT27 2021 年 8 月 10 日
分享个我自己的垃圾屏蔽规则
#禁垃圾蜘蛛 if ($http_user_agent ~* "YandexBot|DotBot|SeznamBot|SemrushBot|YisouSpider|serpstatbot|Bytespider|TinEye-bot|WordPress|Datanyze|woorankreview|CCBot|BPImageWalker|SabsimBot|MJ12bot|SEOkicks|SlurpChina|1subscribers|DomainStatsBot|Qwantify|AhrefsBot") { return 400; break; } #禁部分爬取工具 if ($http_user_agent ~* "crawl|curb|git|Wtrace|Scrapy|python-requests|Go-http-client|python-requests" ) { return 400; break; } #禁特殊后缀 location ~* \.(asp|aspx|ashx|htaccess|ini|env|git|project|cgi|java|action|jsp|cfg|tpl|sql)$ { return 400; break; } |
5
herozzm OP |
6
leoking6 2021 年 8 月 11 日 via iPhone
套 cf,源站给 cf 的 ip 白名单,再设置 cf 的防火墙规则,比如高威胁分数要求验证
|
7
cydian 2021 年 8 月 11 日
查 ip whois 。根据公司反查整个公司注册的段。然后全部段拉黑。
|
8
FlyingShark 2021 年 8 月 11 日
查 as 号,阿里云 IP 段封了
套 cf,国外 IP 威胁分数高的要验证。国内家宽 IP 早被艹烂了,就算了吧 |