<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>反爬虫 on Moxuan's Blog</title><link>https://blog.moxuan.de/tags/%E5%8F%8D%E7%88%AC%E8%99%AB/</link><description>Recent content in 反爬虫 on Moxuan's Blog</description><image><title>Moxuan's Blog</title><url>https://i.postimg.cc/7hwBy7VS/calcr.png</url><link>https://i.postimg.cc/7hwBy7VS/calcr.png</link></image><generator>Hugo -- 0.154.3</generator><language>zh-cn</language><copyright>©2023-2026 moxuan</copyright><lastBuildDate>Tue, 31 Dec 2024 21:10:00 +0800</lastBuildDate><atom:link href="https://blog.moxuan.de/tags/%E5%8F%8D%E7%88%AC%E8%99%AB/index.xml" rel="self" type="application/rss+xml"/><item><title>谁在偷我的带宽？用 Nginx 漏桶算法限流防恶意爬虫</title><link>https://blog.moxuan.de/posts/nginx-limit-req-zone-anti-crawler/</link><pubDate>Tue, 31 Dec 2024 21:10:00 +0800</pubDate><guid>https://blog.moxuan.de/posts/nginx-limit-req-zone-anti-crawler/</guid><description>&lt;p&gt;&lt;strong&gt;年底的突发流量&lt;/strong&gt;
本来在查资料，结果发现自己博客图片刷不出来了。看了一下账单，好家伙，CDN 流量半小时跑了 5G。
日志拉下来一分析，某个爬虫团队正在丧心病狂地遍历下载我博客所有的附件目录，而且 User-Agent 伪装成了正常的 Chrome 浏览器，Fail2ban 根据 UA 封不掉。&lt;/p&gt;</description></item></channel></rss>