{"id":35432,"date":"2026-08-21T15:39:01","date_gmt":"2026-08-21T07:39:01","guid":{"rendered":"https:\/\/www.varidata.com\/uncategorized-zh-cn\/limit-scrapers-to-protect-japan-server-backbone-bandwidth\/"},"modified":"2026-08-21T15:42:35","modified_gmt":"2026-08-21T07:42:35","slug":"limit-scrapers-to-protect-japan-server-backbone-bandwidth","status":"publish","type":"post","link":"https:\/\/www.varidata.com\/zh-cn\/knowledge\/limit-scrapers-to-protect-japan-server-backbone-bandwidth\/","title":{"rendered":"\u5982\u4f55\u9650\u5236\u722c\u866b\u4ee5\u4fdd\u62a4\u65e5\u672c\u670d\u52a1\u5668\u9aa8\u5e72\u5e26\u5bbd\u8d44\u6e90"},"content":{"rendered":"<style>\n    table, th, td {\n        border: 1px solid black;\n        border-collapse: collapse;\n    }\n<\/style>\n<p>\u4f60\u5fc5\u987b\u7ed3\u5408\u901f\u7387\u9650\u5236\u3001WAF \u89c4\u5219\u548c IP \u4fe1\u8a89\u8fc7\u6ee4\uff0c\u6765\u4fdd\u62a4\u6602\u8d35\u7684\u65e5\u672c\u9aa8\u5e72\u4f20\u8f93\u7ebf\u8def\u3002<a target=\"_self\" href=\"https:\/\/www.varidata.com\/zh-cn\/blog\/server-peak-bandwidth-vs-baseline-bandwidth\/\">\u5e26\u5bbd\u7ba1\u7406<\/a> \u5bf9\u4e8e<a target=\"_blank\" href=\"https:\/\/www.varidata.com\/zh-cn\/server\/tokyo\/cn2\/\">\u65e5\u672c\u670d\u52a1\u5668<\/a>\u5c24\u4e3a\u5173\u952e\u3002\u672c\u5730\u9aa8\u5e72\u8fd0\u8425\u5546\u901a\u5e38\u5b9e\u65bd\u4e25\u683c\u7684\u6d41\u91cf\u914d\u989d\uff0c\u5e76\u5bf9\u8d85\u989d\u4f20\u8f93\u6536\u53d6\u9ad8\u989d\u8d39\u7528\u3002\u4e0d\u53d7\u63a7\u7684\u81ea\u52a8\u5316\u722c\u866b\u4f1a\u8fc5\u901f\u8017\u5c3d\u4f60\u7684 CPU\u3001\u5185\u5b58\u548c\u7f51\u7edc\u8d44\u6e90\u3002\u8fd9\u7c7b\u673a\u5668\u4eba\u4f1a\u53cd\u590d\u6293\u53d6\u5b8c\u6574\u8d1f\u8f7d\uff0c\u63a8\u9ad8\u4f60\u5728\u57fa\u7840\u8bbe\u65bd\u4e0a\u7684\u8fd0\u884c\u6210\u672c\u3002\u901a\u8fc7\u5728\u670d\u52a1\u5668\u8fb9\u7f18\u5b9e\u65bd\u9488\u5bf9\u6027\u9632\u62a4\uff0c\u4f60\u53ef\u4ee5\u6709\u6548\u9650\u5236\u722c\u866b\u8bbf\u95ee\u3002\u4fdd\u62a4\u7cfb\u7edf\u53ef\u4ee5\u907f\u514d\u7a81\u53d1\u8d26\u5355\u98ce\u9669\uff0c\u5e76\u4fdd\u969c\u771f\u5b9e\u7528\u6237\u8bbf\u95ee\u65f6\u7684\u5e94\u7528\u6027\u80fd\u3002<\/p>\n<h2>\u8981\u70b9\u901f\u89c8<\/h2>\n<ul>\n<li>\n<p>\u4e0d\u53d7\u63a7\u7684\u7f51\u7edc\u722c\u866b\u4f1a\u8017\u5c3d\u65e5\u672c\u670d\u52a1\u5668\u5e26\u5bbd\u5e76\u589e\u52a0\u670d\u52a1\u5668\u79df\u7528\u6210\u672c\u3002<\/p>\n<\/li>\n<li>\n<p>\u670d\u52a1\u5668\u4fa7\u901f\u7387\u9650\u5236\u53ef\u4ee5\u963b\u6b62\u722c\u866b\u53cd\u590d\u4e0b\u8f7d\u4f53\u79ef\u5e9e\u5927\u7684\u7f51\u9875\u3002<\/p>\n<\/li>\n<li>\n<p>\u8fb9\u7f18\u9632\u706b\u5899\u53ef\u4ee5\u5728\u8bf7\u6c42\u5230\u8fbe\u670d\u52a1\u5668\u4e4b\u524d\u62e6\u622a\u6076\u610f\u81ea\u52a8\u5316\u6d41\u91cf\u3002<\/p>\n<\/li>\n<li>\n<p>GeoIP \u9650\u5236\u901a\u8fc7\u8fc7\u6ee4\u4e0d\u9700\u8981\u7684\u5883\u5916\u6d41\u91cf\u6765\u4fdd\u62a4\u670d\u52a1\u5668\u8d44\u6e90\u3002<\/p>\n<\/li>\n<\/ul>\n<h2>\u5728\u65e5\u672c\u7f51\u7edc\u4e0a\u68c0\u6d4b\u722c\u866b\u6d41\u91cf<\/h2>\n<h3>\u901a\u8fc7\u5206\u6790\u8bbf\u95ee\u65e5\u5fd7\u8bc6\u522b\u6ce2\u52a8\u5f02\u5e38\u6d41\u91cf\u6a21\u5f0f<\/h3>\n<p>\u4f60\u53ef\u4ee5\u901a\u8fc7\u68c0\u67e5 Web \u670d\u52a1\u5668\u65e5\u5fd7\u5feb\u901f\u53d1\u73b0\u722c\u866b\u6d3b\u52a8\u3002\u6076\u610f\u673a\u5668\u4eba\u901a\u5e38\u4f1a\u4ee5\u9ad8\u9891\u8bf7\u6c42\u6253\u51fb\u4f60\u7684\u670d\u52a1\u5668\u57fa\u7840\u8bbe\u65bd\uff0c\u6d88\u8017\u6602\u8d35\u7684\u65e5\u672c\u9aa8\u5e72\u5e26\u5bbd\u3002\u4f60\u53ef\u4ee5\u8fd0\u884c <code>grep \" 404 \" \/var\/log\/nginx\/access.log<\/code> \u6765\u66b4\u9732\u81ea\u52a8\u5316\u63a2\u6d4b\u4ea7\u751f\u7684\u7f3a\u5931\u9875\u9762\u8bf7\u6c42\u3002\u63d0\u53d6\u7279\u5b9a\u5b57\u6bb5\u6709\u52a9\u4e8e\u4f60\u5b9a\u4f4d\u653b\u51fb\u6027 IP \u5730\u5740\u4ee5\u53ca\u5f02\u5e38\u7684 GET \u8bf7\u6c42\u8def\u5f84\u3002<\/p>\n<ul>\n<li>\n<p>\u5c06 grep \u8f93\u51fa\u901a\u8fc7\u7ba1\u9053\u4f20\u7ed9 <code>awk '{print 1,6,$7}'<\/code>\uff0c\u5373\u53ef\u67e5\u770b\u5ba2\u6237\u7aef IP\u3001\u8bf7\u6c42\u65b9\u6cd5\u548c URI \u8def\u5f84\u3002<\/p>\n<\/li>\n<li>\n<p>\u518d\u8ffd\u52a0 <code>sort | uniq -c | sort -n<\/code>\uff0c\u5bf9\u547d\u4e2d\u6b21\u6570\u8fdb\u884c\u7edf\u8ba1\uff0c\u4ece\u800c\u627e\u51fa\u6765\u81ea\u5355\u4e00\u6765\u6e90\u7684\u6d41\u91cf\u5cf0\u503c\u3002<\/p>\n<\/li>\n<li>\n<p>\u8fd0\u884c <code>awk '{print $11}' access_log | sort | uniq -c | sort -nr<\/code>\uff0c\u53ef\u63d0\u53d6 Top \u5f15\u8350\u6765\u6e90\uff0c\u53d1\u73b0\u53ef\u7591\u8bbf\u95ee\u6a21\u5f0f\u3002<\/p>\n<\/li>\n<\/ul>\n<p>\u5f00\u6e90\u5de5\u5177\u53ef\u4ee5\u7b80\u5316\u9ad8\u6d41\u91cf\u73af\u5883\u4e0b\u7684\u65e5\u5fd7\u5206\u6790\u3002Logrip \u80fd\u5728\u547d\u4ee4\u884c\u4e2d\u5206\u6790\u670d\u52a1\u5668\u65e5\u5fd7\uff0c\u8bc6\u522b\u51fa\u722c\u866b\u7684\u673a\u68b0\u5316\u8bbf\u95ee\u6a21\u5f0f\u3002\u8be5\u5de5\u5177\u4f7f\u7528\u5206\u5c42 IP \u54c8\u5e0c\u548c\u7b56\u7565\u53c2\u6570\uff0c\u5728\u6570\u636e\u4e2d\u5fc3\u5b50\u7f51\u8303\u56f4\u5185\u9694\u79bb\u4e0d\u53d7\u6b22\u8fce\u7684\u6d41\u91cf\uff0c\u5e76\u901a\u8fc7\u53ef\u89c6\u5316\u53cd\u9988\u5c55\u793a\u62e6\u622a\u52a8\u4f5c\uff0c\u540c\u65f6\u9884\u4f30\u670d\u52a1\u5668\u8d1f\u8f7d\u7684\u964d\u4f4e\u60c5\u51b5\u3002<\/p>\n<h3>\u533a\u5206\u641c\u7d22\u5f15\u64ce\u673a\u5668\u4eba\u4e0e\u6076\u610f\u722c\u866b<\/h3>\n<p>\u6076\u610f\u722c\u866b\u5e38\u5e38\u4f2a\u9020 User-Agent \u5b57\u6bb5\u4f2a\u88c5\u6210\u5408\u6cd5\u641c\u7d22\u5f15\u64ce\u3002\u4f60\u5fc5\u987b\u9a8c\u8bc1\u722c\u866b\u8eab\u4efd\uff0c\u65e2\u4fdd\u62a4\u670d\u52a1\u5668\u8d44\u6e90\uff0c\u53c8\u4e0d\u8bef\u4f24\u6b63\u5e38\u641c\u7d22\u7d22\u5f15\u6293\u53d6\u3002\u901a\u8fc7 Forward Confirmed Reverse DNS\uff08\u6b63\u53cd\u5411 DNS \u53cc\u91cd\u9a8c\u8bc1\uff09\uff0c\u4f60\u53ef\u4ee5\u6709\u6548\u6838\u5b9e\u6d41\u91cf\u6765\u6e90\u7684\u771f\u5b9e\u8eab\u4efd\u3002<\/p>\n<ol>\n<li>\n<p>\u63a5\u6536\u5165\u7ad9\u8bf7\u6c42\u5e76\u8bb0\u5f55\u5176\u6e90 IP \u5730\u5740\u3002<\/p>\n<\/li>\n<li>\n<p>\u5bf9\u8be5 IP \u6267\u884c\u53cd\u5411 DNS \u67e5\u8be2\u4ee5\u83b7\u53d6\u4e3b\u673a\u540d\u3002<\/p>\n<\/li>\n<li>\n<p>\u518d\u5bf9\u8be5\u4e3b\u673a\u540d\u6267\u884c\u6b63\u5411 DNS \u67e5\u8be2\u4ee5\u83b7\u53d6\u5bf9\u5e94\u7684 IP \u5730\u5740\u3002<\/p>\n<\/li>\n<li>\n<p>\u5bf9\u6bd4\u6b63\u5411\u67e5\u8be2\u5f97\u5230\u7684 IP \u4e0e\u6700\u521d\u7684\u6e90 IP \u662f\u5426\u4e00\u81f4\uff0c\u4ee5\u786e\u8ba4\u8eab\u4efd\u3002<\/p>\n<\/li>\n<\/ol>\n<p>\u5408\u6cd5\u722c\u866b\u4f1a\u901a\u8fc7\u8fd9\u4e24\u6b65\u6821\u9a8c\uff0c\u56e0\u4e3a\u7f51\u7edc\u6240\u6709\u8005\u4f1a\u6b63\u786e\u914d\u7f6e\u8fd9\u4e9b DNS \u8bb0\u5f55\u3002\u6076\u610f\u884c\u4e3a\u8005\u5f88\u5c11\u4f1a\u8bbe\u7f6e\u5339\u914d\u7684\u6b63\u53cd\u5411\u8bb0\u5f55\u3002\u4e00\u65e6\u9a8c\u8bc1\u5931\u8d25\uff0c\u4f60\u5c31\u53ef\u4ee5\u5728\u7f51\u7edc\u8fb9\u754c\u5b89\u5168\u5730\u4e22\u5f03\u8fd9\u7c7b\u6d41\u91cf\u3002<\/p>\n<h2>\u9650\u5236\u722c\u866b\u7684\u6838\u5fc3\u670d\u52a1\u5668\u7b56\u7565<\/h2>\n<p>\u76f4\u63a5\u7684\u901f\u7387\u9650\u5236\u53ef\u4ee5\u6309 IP \u6216 User-Agent \u63a7\u5236\u8bf7\u6c42\u91cf\u3002\u4e0d\u53d7\u9650\u5236\u7684\u8d44\u6e90\u6d88\u8017\u4f1a\u8fc5\u901f\u62d6\u57ae\u7cfb\u7edf\u54cd\u5e94\u80fd\u529b\u3002\u4f60\u5fc5\u987b\u963b\u65ad\u8fc7\u4e8e\u9891\u7e41\u7684\u722c\u866b\u8bf7\u6c42\uff0c\u9632\u6b62\u5b83\u4eec\u6293\u53d6\u5927\u4f53\u79ef\u5a92\u4f53\u8d44\u6e90\u548c\u5b8c\u6574\u9875\u9762\u8d1f\u8f7d\u3002\u8be5\u7b56\u7565\u6709\u52a9\u4e8e\u8282\u7701\u5173\u952e\u7684\u65e5\u672c\u7f51\u7edc\u5e26\u5bbd\uff0c\u5e76\u964d\u4f4e\u4f20\u8f93\u8d26\u5355\u3002<\/p>\n<h3>\u914d\u7f6e Nginx \u548c Apache \u901f\u7387\u9650\u5236<\/h3>\n<p>\u4f60\u53ef\u4ee5\u914d\u7f6e Nginx \u7684 <code>limit_req<\/code> \u6a21\u5757\uff0c\u5728\u5404\u4e2a\u670d\u52a1\u7aef\u70b9\u4e0a\u5b9e\u65bd\u4e25\u683c\u7684\u8bf7\u6c42\u4e0a\u9650\u3002\u5408\u7406\u7684\u9608\u503c\u8bbe\u7f6e\u53ef\u4ee5\u5728\u963b\u6b62\u81ea\u52a8\u5316\u722c\u866b\u7684\u540c\u65f6\uff0c\u7ef4\u6301\u670d\u52a1\u5668\u7a33\u5b9a\u541e\u5410\u3002<\/p>\n<div fullwidth=\"\" class=\"qc-default-table-wrapper \">\n<table style=\"min-width: 75px;\">\n<colgroup>\n<col style=\"min-width: 25px;\">\n<col style=\"min-width: 25px;\">\n<col style=\"min-width: 25px;\"><\/colgroup>\n<tbody>\n<tr>\n<th colspan=\"1\" rowspan=\"1\">\n<p>\u9608\u503c\u7c7b\u578b<\/p>\n<\/th>\n<th colspan=\"1\" rowspan=\"1\">\n<p>\u914d\u7f6e\u793a\u4f8b<\/p>\n<\/th>\n<th colspan=\"1\" rowspan=\"1\">\n<p>\u76ee\u7684<\/p>\n<\/th>\n<\/tr>\n<tr>\n<td colspan=\"1\" rowspan=\"1\">\n<p>\u5355 IP \u57fa\u7840\u901f\u7387<\/p>\n<\/td>\n<td colspan=\"1\" rowspan=\"1\">\n<p><code>rate=10r\/s<\/code>, <code>burst=20<\/code>, <code>nodelay<\/code><\/p>\n<\/td>\n<td colspan=\"1\" rowspan=\"1\">\n<p>\u5141\u8bb8\u77ed\u6682\u7684\u5408\u6cd5\u8bbf\u95ee\u9ad8\u5cf0\uff0c\u540c\u65f6\u9650\u5236\u6bcf\u4e2a IP \u7684\u603b\u4f53\u8bf7\u6c42\u9891\u7387\u3002<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"1\" rowspan=\"1\">\n<p>\u5355\u5ba2\u6237\u7aef\uff08API Key\uff09<\/p>\n<\/td>\n<td colspan=\"1\" rowspan=\"1\">\n<p><code>rate=100r\/m<\/code>, <code>burst=50<\/code>, <code>nodelay<\/code><\/p>\n<\/td>\n<td colspan=\"1\" rowspan=\"1\">\n<p>\u9632\u6b62\u5927\u6d41\u91cf\u5ba2\u6237\u7aef\u538b\u57ae API\uff0c\u5bf9\u5171\u4eab IP \u73af\u5883\u4fdd\u6301\u516c\u5e73\u3002<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"1\" rowspan=\"1\">\n<p>\u767b\u5f55\u7aef\u70b9<\/p>\n<\/td>\n<td colspan=\"1\" rowspan=\"1\">\n<p><code>rate=5r\/m<\/code>, <code>burst=5<\/code>, <code>nodelay<\/code><\/p>\n<\/td>\n<td colspan=\"1\" rowspan=\"1\">\n<p>\u62b5\u5fa1\u9488\u5bf9\u8ba4\u8bc1\u63a5\u53e3\u7684\u66b4\u529b\u7834\u89e3\u653b\u51fb\u3002<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"1\" rowspan=\"1\">\n<p>\u8bfb\u53d6\u7c7b\u7aef\u70b9<\/p>\n<\/td>\n<td colspan=\"1\" rowspan=\"1\">\n<p><code>rate=50r\/s<\/code>, <code>burst=100<\/code>, <code>nodelay<\/code><\/p>\n<\/td>\n<td colspan=\"1\" rowspan=\"1\">\n<p>\u4e3a\u76f8\u5bf9\u5b89\u5168\u7684\u8bfb\u53d6\u64cd\u4f5c\u63d0\u4f9b\u66f4\u9ad8\u541e\u5410\u80fd\u529b\u3002<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"1\" rowspan=\"1\">\n<p>Cloudflare \u8fb9\u7f18\u89c4\u5219<\/p>\n<\/td>\n<td colspan=\"1\" rowspan=\"1\">\n<p>\u5728 10 \u79d2\u5185\u5bf9\u6bcf\u4e2a IP \u8bbf\u95ee <code>\/api\/<\/code> \u9650\u5236\u4e3a 100 \u6b21<\/p>\n<\/td>\n<td colspan=\"1\" rowspan=\"1\">\n<p>\u5728\u6d41\u91cf\u5230\u8fbe\u6e90\u7ad9\u524d\u4e8e\u8fb9\u7f18\u5438\u6536\u660e\u663e\u7684\u6d2a\u6cdb\u653b\u51fb\u3002<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p>Apache \u670d\u52a1\u5668\u5219\u53ef\u901a\u8fc7 <code>mod_ratelimit<\/code> \u6a21\u5757\u4e3a\u4e0d\u53d7\u6b22\u8fce\u7684\u8fde\u63a5\u6765\u6e90\u9650\u5236\u5e26\u5bbd\u3002\u4f60\u53ef\u4ee5\u901a\u8fc7\u5339\u914d User-Agent \u8bc6\u522b\u722c\u866b IP\uff0c\u4ece\u800c\u81ea\u52a8\u9650\u5236\u722c\u866b\u8bbf\u95ee\u3002<\/p>\n<p>\u8be5 Apache \u914d\u7f6e\u4f7f\u7528 <code>SetEnvIfNoCase<\/code> \u8bc6\u522b GPTBot\u3001ClaudeBot\u3001CCBot \u548c Bytespider \u7b49\u722c\u866b User-Agent\u3002\u7136\u540e\u901a\u8fc7\u8bbe\u7f6e <code>SetEnv rate-limit 50<\/code>\uff0c\u501f\u52a9 <code>RATE_LIMIT<\/code> \u8f93\u51fa\u8fc7\u6ee4\u5668\u65bd\u52a0\u5e26\u5bbd\u9650\u5236\u3002\u6307\u4ee4 <code>&lt;If \"env('ai_bot')\"&gt;<\/code> \u786e\u4fdd\u8fd9\u4e9b\u9650\u5236\u4ec5\u5bf9\u5df2\u8bc6\u522b\u7684\u673a\u5668\u4eba\u6d41\u91cf\u751f\u6548\u3002<\/p>\n<h3>\u90e8\u7f72 Fail2ban \u4e22\u5f03\u653b\u51fb\u6027 IP<\/h3>\n<p>Fail2ban \u4f1a\u89e3\u6790\u4f60\u7684\u670d\u52a1\u5668\u65e5\u5fd7\uff0c\u81ea\u52a8\u4e22\u5f03\u6076\u610f\u8fde\u63a5\u3002\u8be5\u8f6f\u4ef6\u901a\u8fc7\u52a8\u6001\u9632\u706b\u5899\u89c4\u5219\u5728\u64cd\u4f5c\u7cfb\u7edf\u5c42\u9762\u9650\u5236\u722c\u866b\uff0c\u5728\u5de5\u4f5c\u8fdb\u7a0b\u5904\u7406\u5927\u4f53\u79ef HTTP \u8d1f\u8f7d\u4e4b\u524d\u5c31\u5c06\u5176\u963b\u65ad\u3002<\/p>\n<p>\u4f60\u53ef\u4ee5\u76d1\u63a7 Nginx \u9519\u8bef\u65e5\u5fd7\u4ee5\u89e6\u53d1\u81ea\u52a8\u5c01\u7981\u3002\u4e0b\u9762\u7684 jail \u914d\u7f6e\u793a\u4f8b\u4f1a\u5728 1 \u5206\u949f\u5185\u540c\u4e00 IP \u89e6\u53d1 5 \u6b21\u5931\u8d25\u8bf7\u6c42\u540e\u5c06\u5176\u62c9\u9ed1\uff1a<\/p>\n<pre><code>[nginx-limit-req]\r\nenabled  = true\r\nport     = http,https\r\nfilter   = nginx-limit-req\r\nlogpath  = \/var\/log\/nginx\/error.log\r\nmaxretry = 5\r\nfindtime = 1m\r\nbantime  = 30m\r\n<\/code><\/pre>\n<p>\u8fd9\u4e2a\u81ea\u52a8\u5316 jail \u4f1a\u6301\u7eed\u4fdd\u62a4\u670d\u52a1\u5668\u8d44\u6e90\uff0c\u5e76\u5728\u6e90\u5934\u5904\u4e3a\u4f60\u7684\u7f51\u7edc\u63a5\u53e3\u51cf\u8f7b\u591a\u4f59\u5e26\u5bbd\u6d88\u8017\u3002<\/p>\n<h2>\u90e8\u7f72 WAF \u4e0e\u8fb9\u7f18\u9632\u62a4<\/h2>\n<h3>\u4e3a\u533a\u57df\u6d41\u91cf\u8fc7\u6ee4\u914d\u7f6e Cloudflare \u89c4\u5219<\/h3>\n<p>\u4f60\u53ef\u4ee5\u5728\u6d41\u91cf\u5230\u8fbe\u65e5\u672c\u670d\u52a1\u5668\u57fa\u7840\u8bbe\u65bd\u4e4b\u524d\uff0c\u5148\u5728\u8fb9\u7f18\u963b\u65ad\u6076\u610f\u8bbf\u95ee\u3002Cloudflare \u80fd\u591f\u5438\u6536\u5927\u89c4\u6a21\u6d41\u91cf\u5cf0\u503c\uff0c\u5e2e\u52a9\u4f60\u538b\u4f4e\u4f20\u8f93\u6210\u672c\u3002\u4f60\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u4e09\u6b65\u5feb\u901f\u5f00\u542f\u7d27\u6025\u9632\u62a4\uff1a<\/p>\n<ol>\n<li>\n<p>\u5728 Cloudflare \u63a7\u5236\u53f0\uff08Security \u2192 Overview\uff09\u4e2d\u542f\u7528 \u201cI&#8217;m Under Attack\u201d \u6a21\u5f0f\u3002<\/p>\n<\/li>\n<li>\n<p>\u542f\u7528 Bot Fight Mode\u3001\u6258\u7ba1 WAF \u89c4\u5219\u548c\u901f\u7387\u9650\u5236\uff08\u514d\u8d39\u5957\u9910\u5373\u53ef\u4f7f\u7528\uff09\u3002<\/p>\n<\/li>\n<li>\n<p>\u5c06 Security Level \u8bbe\u7f6e\u4e3a \u201cHigh\u201d \u6216 \u201cI&#8217;m Under Attack\u201d\u3002<\/p>\n<\/li>\n<\/ol>\n<p>Web \u5e94\u7528\u9632\u706b\u5899\u4f1a\u68c0\u67e5\u5165\u7ad9\u8bf7\u6c42\u7684\u5404\u7c7b\u5c5e\u6027\u3002\u4f60\u53ef\u4ee5\u914d\u7f6e\u89c4\u5219\uff0c\u7528\u6765\u6355\u83b7\u9690\u85cf\u5728\u52a8\u6001\u8bf7\u6c42\u5934\u4e4b\u540e\u7684\u81ea\u52a8\u5316\u5de5\u5177\uff1a<\/p>\n<ul>\n<li>\n<p>\u7cfb\u7edf\u4fe1\u53f7\uff1aWAF \u4f1a\u81ea\u52a8\u7528 <code>deceitful-user-agent<\/code> \u6216 <code>suspected-bot<\/code> \u7b49\u4fe1\u53f7\u6807\u8bb0\u53ef\u7591\u884c\u4e3a\uff0c\u652f\u6301\u5bf9\u8fd9\u4e9b\u53ef\u7591\u7279\u5f81\u8fdb\u884c\u62e6\u622a\u3002<\/p>\n<\/li>\n<li>\n<p>\u884c\u4e3a\u4fe1\u53f7\uff1a\u901a\u8fc7\u72ec\u7279\u884c\u4e3a\u7279\u5f81\u8bc6\u522b <code>sqlmap<\/code> \u7b49\u5de5\u5177\uff0c\u5373\u4fbf User-Agent \u88ab\u4f2a\u88c5\uff0c\u4e5f\u53ef\u4ee5\u901a\u8fc7 <code>TOOL-SQLMAP<\/code> \u7b49\u4fe1\u53f7\u6355\u83b7\u3002<\/p>\n<\/li>\n<li>\n<p>SmartParse \u68c0\u6d4b\uff1a\u901a\u8fc7\u5206\u6790\u8bf7\u6c42\u53c2\u6570\uff0c\u8bc6\u522b\u771f\u5b9e\u653b\u51fb\u5de5\u5177\u7684\u6a21\u5f0f\uff0c\u800c\u4e0d\u4ec5\u4ec5\u4f9d\u8d56 User-Agent \u5b57\u6bb5\u68c0\u67e5\u3002<\/p>\n<\/li>\n<\/ul>\n<h3>\u5bf9\u7591\u4f3c\u673a\u5668\u4eba\u6d41\u91cf\u5f3a\u5236\u6267\u884c\u9a8c\u8bc1\u7801\u548c JS \u6311\u6218<\/h3>\n<p>\u8fb9\u7f18\u5b89\u5168\u6311\u6218\u4f1a\u8feb\u4f7f\u5ba2\u6237\u7aef\u6d4f\u89c8\u5668\u5b8c\u6210\u8ba1\u7b97\u7c7b\u6d4b\u8bd5\u3002\u8fd9\u7c7b\u68c0\u67e5\u53ef\u4ee5\u8fc7\u6ee4\u81ea\u52a8\u5316\u8fde\u63a5\uff0c\u540c\u65f6\u4fdd\u8bc1\u771f\u5b9e\u8bbf\u5ba2\u8bbf\u95ee\u987a\u7545\u3002\u8981\u6c42\u5ba2\u6237\u7aef\u6267\u884c\u811a\u672c\uff0c\u6709\u52a9\u4e8e\u4f60\u5728\u6d88\u8017\u6602\u8d35\u5e26\u5bbd\u4e4b\u524d\u5c31\u9650\u5236\u722c\u866b\u3002<\/p>\n<p>\u4f60\u53ef\u4ee5\u6839\u636e\u5e0c\u671b\u65bd\u52a0\u7ed9\u7528\u6237\u7684\u4ea4\u4e92\u7a0b\u5ea6\uff0c\u90e8\u7f72\u4e0d\u540c\u7c7b\u578b\u7684\u5b89\u5168\u68c0\u67e5\uff1a<\/p>\n<div fullwidth=\"\" class=\"qc-default-table-wrapper \">\n<table style=\"min-width: 75px;\">\n<colgroup>\n<col style=\"min-width: 25px;\">\n<col style=\"min-width: 25px;\">\n<col style=\"min-width: 25px;\"><\/colgroup>\n<tbody>\n<tr>\n<th colspan=\"1\" rowspan=\"1\">\n<p>\u5bf9\u6bd4\u9879<\/p>\n<\/th>\n<th colspan=\"1\" rowspan=\"1\">\n<p>Cloudflare Challenge<\/p>\n<\/th>\n<th colspan=\"1\" rowspan=\"1\">\n<p>Cloudflare Turnstile<\/p>\n<\/th>\n<\/tr>\n<tr>\n<td colspan=\"1\" rowspan=\"1\">\n<p>\u672c\u8d28\u5f62\u5f0f<\/p>\n<\/td>\n<td colspan=\"1\" rowspan=\"1\">\n<p>\u6574\u9875\u5b89\u5168\u68c0\u67e5\uff0c\u4f8b\u5982\u201c\u6b63\u5728\u68c0\u67e5\u4f60\u7684\u6d4f\u89c8\u5668\u2026\u2026\u201d\u9875\u9762<\/p>\n<\/td>\n<td colspan=\"1\" rowspan=\"1\">\n<p>\u73b0\u4ee3\u5316\u3001\u4e0d\u53ef\u89c1\u578b CAPTCHA \u66ff\u4ee3\u65b9\u6848<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"1\" rowspan=\"1\">\n<p>\u7528\u6237\u4ea4\u4e92<\/p>\n<\/td>\n<td colspan=\"1\" rowspan=\"1\">\n<p>\u901a\u5e38\u9700\u8981\u7528\u6237\u4e3b\u52a8\u64cd\u4f5c\u7684\u9a8c\u8bc1\u7801<\/p>\n<\/td>\n<td colspan=\"1\" rowspan=\"1\">\n<p>\u975e\u4fb5\u5165\u5f0f\uff0c\u4ee5\u5c0f\u7ec4\u4ef6\u5f62\u5f0f\u51fa\u73b0<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"1\" rowspan=\"1\">\n<p>\u963b\u65ad\u80fd\u529b<\/p>\n<\/td>\n<td colspan=\"1\" rowspan=\"1\">\n<p>\u5728\u5b89\u5168\u68c0\u67e5\u901a\u8fc7\u4e4b\u524d\u5b8c\u5168\u963b\u6b62\u8bbf\u95ee<\/p>\n<\/td>\n<td colspan=\"1\" rowspan=\"1\">\n<p>\u901a\u8fc7\u5206\u6790\u6d4f\u89c8\u5668\u4fe1\u53f7\uff0c\u5728\u65e0\u9700\u7528\u6237\u4ea4\u4e92\u7684\u60c5\u51b5\u4e0b\u8bc6\u522b\u673a\u5668\u4eba<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p>JavaScript \u6311\u6218\u4f1a\u5728\u7528\u6237\u6d4f\u89c8\u5668\u4e2d\u9759\u9ed8\u6267\u884c\u3002\u9632\u706b\u5899\u4f1a\u6ce8\u5165\u4e0d\u53ef\u89c1\u7684\u4e8b\u4ef6\u76d1\u542c\u5668\uff0c\u5728\u540e\u53f0\u76d1\u63a7\u9f20\u6807\u79fb\u52a8\u3001\u70b9\u51fb\u3001\u6309\u952e\u3001\u6eda\u52a8\u8f68\u8ff9\u4ee5\u53ca\u65f6\u95f4\u95f4\u9694\u7b49\u884c\u4e3a\u4fe1\u53f7\u3002\u81ea\u52a8\u5316\u5de5\u5177\u5f80\u5f80\u65e0\u6cd5\u901a\u8fc7\u8fd9\u4e9b\u6d4b\u8bd5\u3002\u9632\u706b\u5899\u4f1a\u4e22\u5f03\u5176\u8fde\u63a5\uff0c\u4ece\u800c\u5e2e\u52a9\u4f60\u9650\u5236\u722c\u866b\u5e76\u4fdd\u62a4\u670d\u52a1\u5668\u5e26\u5bbd\u3002<\/p>\n<h2>\u4f18\u5316\u65e5\u672c\u9aa8\u5e72\u5e26\u5bbd\u6210\u672c<\/h2>\n<p>\u65e5\u672c\u9aa8\u5e72\u8fd0\u8425\u5546\u5bf9\u8d85\u989d\u5e26\u5bbd\u6536\u53d6\u9ad8\u989d\u8d39\u7528\u3002\u672c\u5730\u7f51\u7edc\u8fd0\u8425\u65b9\u901a\u5e38\u4f9d\u636e\u5cf0\u503c\u7f51\u7edc\u4f20\u8f93\u4f7f\u7528\u91cf\u6765\u8ba1\u7b97\u6708\u5ea6\u8d26\u5355\u3002\u672a\u6388\u6743\u7684\u722c\u866b\u4f1a\u53cd\u590d\u6293\u53d6\u5927\u4f53\u79ef\u9875\u9762\u8d1f\u8f7d\uff0c\u5f88\u5feb\u5c31\u4f1a\u89e6\u53d1\u9ad8\u989d\u7f5a\u91d1\u3002\u4f60\u5fc5\u987b\u63a7\u5236\u5bf9\u5916\u6570\u636e\u6d41\u91cf\uff0c\u624d\u80fd\u5c06\u670d\u52a1\u5668\u79df\u7528\u6210\u672c\u63a7\u5236\u5728\u5408\u7406\u8303\u56f4\u5185\u3002<\/p>\n<h3>\u4e3a\u4e9a\u6d32\u9aa8\u5e72\u94fe\u8def\u5b9e\u65bd GeoIP \u8bbf\u95ee\u9650\u5236<\/h3>\n<p>\u4f60\u53ef\u4ee5\u6839\u636e\u5730\u7406\u6765\u6e90\u9650\u5236\u5165\u7ad9\u8fde\u63a5\uff0c\u4ece\u800c\u4fdd\u62a4\u672c\u5730\u4f20\u8f93\u94fe\u8def\u3002\u63a8\u8350\u4f7f\u7528 NGINX Plus GeoIP2 \u52a8\u6001\u6a21\u5757\uff0c\u5bf9\u76ee\u6807\u670d\u52a1\u533a\u57df\u4ee5\u5916\u7684\u56fd\u5bb6\u8fdb\u884c\u963b\u65ad\u3002\u4f60\u53ef\u4ee5\u5728\u5e94\u7528\u751f\u6210\u5b8c\u6574 HTTP \u54cd\u5e94\u4e4b\u524d\u5c31\u4e22\u5f03\u53ef\u7591\u8fde\u63a5\u3002<\/p>\n<p>NGINX Plus \u4f7f\u7528\u7b2c\u4e09\u65b9 MaxMind \u6570\u636e\u5e93\uff0c\u5c06\u7528\u6237 IP \u5730\u5740\u4e0e\u5176\u5730\u7406\u4f4d\u7f6e\u8fdb\u884c\u5339\u914d\u3002\u6ce8\u610f\uff1aMaxMind \u7684 GeoLite Legacy \u6570\u636e\u5e93\u5df2\u505c\u6b62\u66f4\u65b0\uff0c\u5e94\u4f7f\u7528 MaxMind GeoIP2 \u6216 GeoLite2 \u6570\u636e\u5e93\u5e76\u914d\u5408 NGINX Plus GeoIP2 \u6a21\u5757\u3002<\/p>\n<p>\u5347\u7ea7\u5230\u6700\u65b0\u7684 GeoIP2 \u67e5\u8be2\u6587\u4ef6\uff0c\u53ef\u4ee5\u5728\u9ad8\u901f\u7f51\u7edc\u73af\u5883\u4e2d\u4fdd\u6301\u5730\u7406\u5339\u914d\u7cbe\u5ea6\u3002\u8fc7\u6ee4\u8fdc\u8ddd\u79bb\u533a\u57df\u6d41\u91cf\uff0c\u6709\u52a9\u4e8e\u964d\u4f4e\u6574\u4f53\u9aa8\u5e72\u8d1f\u8f7d\uff0c\u5e76\u9632\u6b62\u670d\u52a1\u5668\u57fa\u7840\u8bbe\u65bd\u4ea7\u751f\u610f\u5916\u7684\u4f20\u8f93\u8d85\u989d\u8d39\u7528\u3002<\/p>\n<h3>\u4f18\u5316 Robots.txt \u4e0e\u53cd\u722c\u7ba1\u7406\u5de5\u5177<\/h3>\n<p>\u4f60\u53ef\u4ee5\u914d\u7f6e\u6807\u51c6\u7684 Web \u722c\u866b\u89c4\u5219\uff0c\u6307\u793a\u5b88\u89c4\u77e9\u7684\u673a\u5668\u4eba\u4e0d\u8981\u7d22\u5f15\u654f\u611f\u76ee\u5f55\u3002\u5728 <code>robots.txt<\/code> \u6587\u4ef6\u4e2d\u5199\u5165\u4e25\u683c\u89c4\u5219\uff0c\u53ef\u4ee5\u963b\u6b62\u4e0d\u5e0c\u671b\u88ab\u6293\u53d6\u7684\u5185\u5bb9\u88ab\u81ea\u52a8\u5316\u722c\u866b\u7d22\u5f15\u3002<\/p>\n<div fullwidth=\"\" class=\"qc-default-table-wrapper \">\n<table style=\"min-width: 50px;\">\n<colgroup>\n<col style=\"min-width: 25px;\">\n<col style=\"min-width: 25px;\"><\/colgroup>\n<tbody>\n<tr>\n<th colspan=\"1\" rowspan=\"1\">\n<p>User-Agent<\/p>\n<\/th>\n<th colspan=\"1\" rowspan=\"1\">\n<p>\u6307\u4ee4<\/p>\n<\/th>\n<\/tr>\n<tr>\n<td colspan=\"1\" rowspan=\"1\">\n<p><code>ChatGPT-User<\/code><\/p>\n<\/td>\n<td colspan=\"1\" rowspan=\"1\">\n<p><code>Disallow: \/<\/code><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"1\" rowspan=\"1\">\n<p><code>Google-Extended<\/code><\/p>\n<\/td>\n<td colspan=\"1\" rowspan=\"1\">\n<p><code>Disallow: \/<\/code><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"1\" rowspan=\"1\">\n<p><code>* (all crawlers)<\/code><\/p>\n<\/td>\n<td colspan=\"1\" rowspan=\"1\">\n<p><code>Disallow: \/<\/code><\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p>\u73b0\u4ee3\u7684\u53cd\u722c\u7ba1\u7406\u7cfb\u7edf\u5219\u901a\u8fc7\u5b9e\u65f6\u5206\u6790\u6d41\u91cf\u884c\u4e3a\uff0c\u5bf9\u9759\u6001\u89c4\u5219\u8fdb\u884c\u8865\u5145\u3002\u8fd9\u7c7b\u8fb9\u7f18\u5b89\u5168\u5e73\u53f0\u4f1a\u5728\u9ad8\u5f3a\u5ea6\u91c7\u96c6\u671f\u95f4\uff0c\u5bf9\u5141\u8bb8\u8bf7\u6c42\u91cf\u8fdb\u884c\u4e0a\u9650\u63a7\u5236\uff0c\u4ece\u800c\u9650\u5236\u722c\u866b\uff1a<\/p>\n<ul>\n<li>\n<p>\u5728\u5168\u7403 30+ \u4e2a\u63a5\u5165\u70b9\u8bc4\u4f30\u5ba2\u6237\u7aef\u4fe1\u53f7\uff0c\u5178\u578b\u54cd\u5e94\u65f6\u5ef6\u4f4e\u4e8e 2 \u6beb\u79d2\u3002<\/p>\n<\/li>\n<li>\n<p>\u81ea\u52a8\u5316\u6267\u884c\u7f13\u89e3\u52a8\u4f5c\uff0c\u540c\u65f6\u5c06\u8bef\u62a5\u7387\u63a7\u5236\u5728 0.01% \u4ee5\u4e0b\u3002<\/p>\n<\/li>\n<\/ul>\n<p>\u90e8\u7f72\u8fd9\u4e9b\u667a\u80fd\u5b89\u5168\u5de5\u5177\uff0c\u53ef\u4ee5\u5728\u4e0d\u589e\u52a0\u771f\u5b9e\u8bbf\u5ba2\u5ef6\u8fdf\u7684\u524d\u63d0\u4e0b\uff0c\u6301\u7eed\u63a7\u5236\u81ea\u52a8\u5316\u5185\u5bb9\u91c7\u96c6\u884c\u4e3a\uff0c\u6709\u6548\u4fdd\u62a4\u65e5\u672c\u670d\u52a1\u5668\u5173\u952e\u5e26\u5bbd\u8d44\u6e90\u3002<\/p>\n<div dividerstyle=\"solid\" size=\"large\" color=\"#D1D1D1\" class=\"qc-divider-wrapper\">\n<div class=\"qc-divider\" style=\"border-top-style: solid; width: 100%; border-top-color: rgb(209, 209, 209);\"><\/div>\n<\/div>\n<p>\u901a\u8fc7\u7ec4\u5408\u65e5\u5fd7\u68c0\u6d4b\u3001\u670d\u52a1\u5668\u7aef\u901f\u7387\u9650\u5236\u3001\u8fb9\u7f18 WAF \u9632\u62a4\u4e0e GeoIP \u8fc7\u6ee4\uff0c\u4f60\u53ef\u4ee5\u4e3a\u65e5\u672c\u670d\u52a1\u5668\u6784\u5efa\u591a\u5c42\u9632\u7ebf\u3002\u8fd9\u79cd\u591a\u5c42\u7b56\u7565\u80fd\u5728\u81ea\u52a8\u5316\u722c\u866b\u6d88\u8017\u6602\u8d35\u9aa8\u5e72\u5e26\u5bbd\u4e4b\u524d\uff0c\u63d0\u524d\u963b\u65ad\u653b\u51fb\u6027\u7f51\u7edc\u6d41\u91cf\u3002<\/p>\n<p>\u4f60\u53ef\u4ee5\u7acb\u523b\u53c2\u8003\u4e0b\u9762\u7684\u6267\u884c\u6e05\u5355\u5f00\u5c55\u884c\u52a8\uff1a<\/p>\n<ol>\n<li>\n<p>\u6bcf\u5929\u5206\u6790\u7f51\u7edc\u8bbf\u95ee\u65e5\u5fd7\uff0c\u8bc6\u522b\u5f02\u5e38\u6ce2\u52a8\u7684\u673a\u5668\u4eba\u6d41\u91cf\u6a21\u5f0f\u3002<\/p>\n<\/li>\n<li>\n<p>\u540c\u65f6\u914d\u7f6e Nginx \u901f\u7387\u9650\u5236\u4e0e\u52a8\u6001 Fail2ban \u7cfb\u7edf jail\u3002<\/p>\n<\/li>\n<li>\n<p>\u5728\u7f51\u7edc\u8fb9\u7f18\u542f\u7528 Cloudflare WAF \u6311\u6218\u673a\u5236\u3002<\/p>\n<\/li>\n<li>\n<p>\u5bf9\u975e\u76ee\u6807\u4e9a\u6d32\u533a\u57df\u7684\u9aa8\u5e72\u94fe\u8def\u542f\u7528 GeoIP \u8bbf\u95ee\u9650\u5236\u3002<\/p>\n<\/li>\n<\/ol>\n<p>\u6301\u7eed\u5c06\u5e26\u5bbd\u4f7f\u7528\u60c5\u51b5\u4e0e ISP \u7684\u8ba1\u8d39\u9608\u503c\u8fdb\u884c\u5bf9\u6bd4\u5ba1\u8ba1\u3002\u901a\u8fc7\u4f8b\u884c\u65e5\u5fd7\u5ba1\u67e5\uff0c\u4f60\u53ef\u4ee5\u6709\u6548\u9650\u5236\u722c\u866b\uff0c\u4ece\u800c\u6d88\u9664\u610f\u5916\u7684\u7f51\u7edc\u8d39\u7528\u8d85\u652f\u98ce\u9669\u3002<\/p>\n<h2>\u5e38\u89c1\u95ee\u9898<\/h2>\n<h3>\u4e3a\u4ec0\u4e48\u65e5\u672c\u670d\u52a1\u5668\u7684\u5e26\u5bbd\u8d85\u989d\u8d39\u7528\u5982\u6b64\u6602\u8d35\uff1f<\/h3>\n<p>\u65e5\u672c\u9aa8\u5e72\u8fd0\u8425\u5546\u5bf9\u7f51\u7edc\u4f20\u8f93\u5b9e\u65bd\u4e25\u683c\u7684\u6708\u5ea6\u6570\u636e\u4e0a\u9650\uff0c\u5e76\u4ee5\u5cf0\u503c\u4f20\u8f93\u7528\u91cf\u4e3a\u8ba1\u8d39\u57fa\u7840\u3002\u5982\u679c\u81ea\u52a8\u5316\u722c\u866b\u53cd\u590d\u8bf7\u6c42\u5927\u4f53\u79ef\u9875\u9762\u8d1f\u8f7d\uff0c\u4f60\u7684\u5e94\u7528\u4f1a\u5f88\u5feb\u7a81\u7834\u57fa\u51c6\u989d\u5ea6\uff0c\u4ece\u800c\u89e6\u53d1\u9ad8\u989d\u7f5a\u91d1\u3002<\/p>\n<h3>\u901f\u7387\u9650\u5236\u5982\u4f55\u4fdd\u62a4\u6211\u7684\u65e5\u672c\u4f20\u8f93\u5e26\u5bbd\uff1f<\/h3>\n<p>\u901f\u7387\u9650\u5236\u4f1a\u7ea6\u675f\u5355\u4e2a IP \u5728\u6bcf\u79d2\u5185\u80fd\u53d1\u9001\u7684 HTTP \u8bf7\u6c42\u603b\u6570\u3002\u901a\u8fc7\u5bf9\u8fde\u63a5\u6570\u5c01\u9876\uff0c\u4f60\u53ef\u4ee5\u963b\u6b62\u722c\u866b\u53cd\u590d\u4e0b\u8f7d\u6574\u7ad9\u5185\u5bb9\uff0c\u4ece\u800c\u7f13\u89e3\u7f51\u7edc\u62e5\u585e\uff0c\u5e76\u907f\u514d\u65e5\u672c\u670d\u52a1\u5668\u57fa\u7840\u8bbe\u65bd\u51fa\u73b0\u7a81\u53d1\u5e26\u5bbd\u8d85\u989d\u8d26\u5355\u3002<\/p>\n<h3>\u62e6\u622a\u6076\u610f\u722c\u866b\u4f1a\u5f71\u54cd\u7f51\u7ad9\u7684\u641c\u7d22\u5f15\u64ce\u6392\u540d\u5417\uff1f<\/h3>\n<p>\u4e0d\u4f1a\uff0c\u53ea\u8981\u4f60\u5728\u4e22\u5f03\u6d41\u91cf\u4e4b\u524d\u9a8c\u8bc1\u5408\u6cd5\u641c\u7d22\u5f15\u64ce\u673a\u5668\u4eba\u5373\u53ef\u3002\u4f60\u53ef\u4ee5\u901a\u8fc7 Forward Confirmed Reverse DNS \u68c0\u67e5\u8bc6\u522b Google \u7b49\u771f\u5b9e\u641c\u7d22\u5f15\u64ce\u3002\u5408\u6cd5\u673a\u5668\u4eba\u4f1a\u901a\u8fc7 DNS \u5339\u914d\u6821\u9a8c\uff0c\u800c\u6076\u610f\u722c\u866b\u4f1a\u5728\u9a8c\u8bc1\u4e2d\u5931\u8d25\uff0c\u5e76\u88ab\u4f60\u5728\u7f51\u7edc\u8fb9\u754c\u5904\u62e6\u622a\u3002<\/p>\n<h3>\u662f\u5426\u5e94\u8be5\u540c\u65f6\u4f7f\u7528 Cloudflare \u7b49\u8fb9\u7f18\u9632\u706b\u5899\u548c\u670d\u52a1\u5668\u7aef\u901f\u7387\u9650\u5236\uff1f<\/h3>\n<p>\u662f\u7684\uff0c\u5c06\u8fb9\u7f18\u9632\u706b\u5899\u4e0e\u672c\u5730\u901f\u7387\u9650\u5236\u7ed3\u5408\u4f7f\u7528\u6548\u679c\u66f4\u4f73\u3002Cloudflare \u80fd\u5728\u6d41\u91cf\u5230\u8fbe\u65e5\u672c\u670d\u52a1\u5668\u4e4b\u524d\u62e6\u622a\u4e0d\u53d7\u6b22\u8fce\u7684\u8bf7\u6c42\u5cf0\u503c\uff0c\u5e76\u8fdc\u7a0b\u6267\u884c JavaScript \u6311\u6218\u3002\u4e0e Fail2ban \u7b49\u672c\u5730\u5de5\u5177\u914d\u5408\uff0c\u53ef\u4ee5\u4e3a\u4f60\u7684\u5e26\u5bbd\u8d44\u6e90\u63d0\u4f9b\u5168\u9762\u7684\u9632\u62a4\u3002<\/p>\n<\/p><\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u4f60\u5fc5\u987b\u7ed3\u5408\u901f\u7387\u9650\u5236\u3001WAF \u89c4\u5219\u548c IP \u4fe1\u8a89\u8fc7\u6ee4\uff0c\u6765\u4fdd\u62a4\u6602\u8d35\u7684\u65e5\u672c\u9aa8\u5e72\u4f20\u8f93\u7ebf\u8def\u3002\u5e26\u5bbd\u7ba1\u7406 \u5bf9\u4e8e\u65e5\u672c\u670d\u52a1\u5668\u5c24\u4e3a\u5173\u952e\u3002\u672c\u5730\u9aa8\u5e72\u8fd0\u8425\u5546\u901a\u5e38\u5b9e\u65bd\u4e25\u683c\u7684\u6d41\u91cf\u914d\u989d\uff0c\u5e76\u5bf9\u8d85\u989d\u4f20\u8f93\u6536\u53d6\u9ad8\u989d\u8d39\u7528\u3002\u4e0d\u53d7\u63a7\u7684\u81ea\u52a8\u5316\u722c\u866b\u4f1a\u8fc5\u901f\u8017\u5c3d\u4f60\u7684 CPU\u3001\u5185\u5b58\u548c\u7f51\u7edc\u8d44\u6e90\u3002\u8fd9\u7c7b\u673a\u5668\u4eba\u4f1a\u53cd\u590d\u6293\u53d6\u5b8c\u6574\u8d1f\u8f7d\uff0c\u63a8\u9ad8\u4f60\u5728\u57fa\u7840\u8bbe\u65bd\u4e0a\u7684\u8fd0\u884c\u6210\u672c\u3002\u901a\u8fc7\u5728\u670d\u52a1\u5668\u8fb9\u7f18\u5b9e\u65bd\u9488\u5bf9\u6027\u9632\u62a4\uff0c\u4f60\u53ef\u4ee5\u6709\u6548\u9650\u5236\u722c\u866b\u8bbf\u95ee\u3002\u4fdd\u62a4\u7cfb\u7edf\u53ef\u4ee5\u907f\u514d\u7a81\u53d1\u8d26\u5355\u98ce\u9669\uff0c\u5e76\u4fdd\u969c\u771f\u5b9e\u7528\u6237\u8bbf\u95ee\u65f6\u7684\u5e94\u7528\u6027\u80fd\u3002 \u8981\u70b9\u901f\u89c8 \u4e0d\u53d7\u63a7\u7684\u7f51\u7edc\u722c\u866b\u4f1a\u8017\u5c3d\u65e5\u672c\u670d\u52a1\u5668\u5e26\u5bbd\u5e76\u589e\u52a0\u670d\u52a1\u5668\u79df\u7528\u6210\u672c\u3002 \u670d\u52a1\u5668\u4fa7\u901f\u7387\u9650\u5236\u53ef\u4ee5\u963b\u6b62\u722c\u866b\u53cd\u590d\u4e0b\u8f7d\u4f53\u79ef\u5e9e\u5927\u7684\u7f51\u9875\u3002 \u8fb9\u7f18\u9632\u706b\u5899\u53ef\u4ee5\u5728\u8bf7\u6c42\u5230\u8fbe\u670d\u52a1\u5668\u4e4b\u524d\u62e6\u622a\u6076\u610f\u81ea\u52a8\u5316\u6d41\u91cf\u3002 GeoIP \u9650\u5236\u901a\u8fc7\u8fc7\u6ee4\u4e0d\u9700\u8981\u7684\u5883\u5916\u6d41\u91cf\u6765\u4fdd\u62a4\u670d\u52a1\u5668\u8d44\u6e90\u3002 \u5728\u65e5\u672c\u7f51\u7edc\u4e0a\u68c0\u6d4b\u722c\u866b\u6d41\u91cf \u901a\u8fc7\u5206\u6790\u8bbf\u95ee\u65e5\u5fd7\u8bc6\u522b\u6ce2\u52a8\u5f02\u5e38\u6d41\u91cf\u6a21\u5f0f \u4f60\u53ef\u4ee5\u901a\u8fc7\u68c0\u67e5 Web \u670d\u52a1\u5668\u65e5\u5fd7\u5feb\u901f\u53d1\u73b0\u722c\u866b\u6d3b\u52a8\u3002\u6076\u610f\u673a\u5668\u4eba\u901a\u5e38\u4f1a\u4ee5\u9ad8\u9891\u8bf7\u6c42\u6253\u51fb\u4f60\u7684\u670d\u52a1\u5668\u57fa\u7840\u8bbe\u65bd\uff0c\u6d88\u8017\u6602\u8d35\u7684\u65e5\u672c\u9aa8\u5e72\u5e26\u5bbd\u3002\u4f60\u53ef\u4ee5\u8fd0\u884c grep &#8221; 404 &#8221; \/var\/log\/nginx\/access.log \u6765\u66b4\u9732\u81ea\u52a8\u5316\u63a2\u6d4b\u4ea7\u751f\u7684\u7f3a\u5931\u9875\u9762\u8bf7\u6c42\u3002\u63d0\u53d6\u7279\u5b9a\u5b57\u6bb5\u6709\u52a9\u4e8e\u4f60\u5b9a\u4f4d\u653b\u51fb\u6027 IP \u5730\u5740\u4ee5\u53ca\u5f02\u5e38\u7684 GET \u8bf7\u6c42\u8def\u5f84\u3002 \u5c06 grep \u8f93\u51fa\u901a\u8fc7\u7ba1\u9053\u4f20\u7ed9 awk &#8216;{print 1,6,$7}&#8217;\uff0c\u5373\u53ef\u67e5\u770b\u5ba2\u6237\u7aef IP\u3001\u8bf7\u6c42\u65b9\u6cd5\u548c URI \u8def\u5f84\u3002 \u518d\u8ffd\u52a0 sort | uniq -c | sort -n\uff0c\u5bf9\u547d\u4e2d\u6b21\u6570\u8fdb\u884c\u7edf\u8ba1\uff0c\u4ece\u800c\u627e\u51fa\u6765\u81ea\u5355\u4e00\u6765\u6e90\u7684\u6d41\u91cf\u5cf0\u503c\u3002 \u8fd0\u884c awk &#8216;{print $11}&#8217; access_log | sort | uniq -c | [&#8230;]<\/p>\n<p><a class=\"btn btn-secondary understrap-read-more-link\" href=\"https:\/\/www.varidata.com\/zh-cn\/knowledge\/limit-scrapers-to-protect-japan-server-backbone-bandwidth\/\">Read More&#8230;<\/a><\/p>\n","protected":false},"author":11,"featured_media":35429,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[80],"tags":[],"class_list":["post-35432","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-knowledge"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>\u5982\u4f55\u9650\u5236\u722c\u866b\u4ee5\u4fdd\u62a4\u65e5\u672c\u670d\u52a1\u5668\u9aa8\u5e72\u5e26\u5bbd\u8d44\u6e90<\/title>\n<meta name=\"description\" content=\"\u901a\u8fc7\u4f7f\u7528 Nginx \u901f\u7387\u9650\u5236\u3001Fail2ban\u3001Cloudflare WAF \u548c GeoIP \u8fc7\u6ee4\uff0c\u9650\u5236\u722c\u866b\u6293\u53d6\uff0c\u9632\u6b62\u65e5\u672c\u670d\u52a1\u5668\u5e26\u5bbd\u88ab\u6d88\u8017\u5e76\u907f\u514d\u9aa8\u5e72\u7ebf\u8def\u6d41\u91cf\u6210\u672c\u6fc0\u589e\u3002\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.varidata.com\/zh-cn\/knowledge\/limit-scrapers-to-protect-japan-server-backbone-bandwidth\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u5982\u4f55\u9650\u5236\u722c\u866b\u4ee5\u4fdd\u62a4\u65e5\u672c\u670d\u52a1\u5668\u9aa8\u5e72\u5e26\u5bbd\u8d44\u6e90\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.varidata.com\/zh-cn\/knowledge\/limit-scrapers-to-protect-japan-server-backbone-bandwidth\/\" \/>\n<meta property=\"og:site_name\" content=\"Varidata Limited\" \/>\n<meta property=\"article:published_time\" content=\"2026-08-21T07:39:01+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-08-21T07:42:35+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.varidata.com\/wp-content\/uploads\/2026\/08\/\u5c4f\u5e55\u622a\u56fe-2026-08-21-153023.png\" \/>\n\t<meta property=\"og:image:width\" content=\"683\" \/>\n\t<meta property=\"og:image:height\" content=\"378\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.varidata.com\\\/zh-cn\\\/knowledge\\\/limit-scrapers-to-protect-japan-server-backbone-bandwidth\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.varidata.com\\\/zh-cn\\\/knowledge\\\/limit-scrapers-to-protect-japan-server-backbone-bandwidth\\\/\"},\"author\":\"Varidata\",\"headline\":\"\u5982\u4f55\u9650\u5236\u722c\u866b\u4ee5\u4fdd\u62a4\u65e5\u672c\u670d\u52a1\u5668\u9aa8\u5e72\u5e26\u5bbd\u8d44\u6e90\",\"datePublished\":\"2026-08-21T07:39:01+00:00\",\"dateModified\":\"2026-08-21T07:42:35+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.varidata.com\\\/zh-cn\\\/knowledge\\\/limit-scrapers-to-protect-japan-server-backbone-bandwidth\\\/\"},\"wordCount\":138,\"publisher\":{\"@id\":\"https:\\\/\\\/www.varidata.com\\\/zh-cn\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.varidata.com\\\/zh-cn\\\/knowledge\\\/limit-scrapers-to-protect-japan-server-backbone-bandwidth\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.varidata.com\\\/wp-content\\\/uploads\\\/2026\\\/08\\\/\u5c4f\u5e55\u622a\u56fe-2026-08-21-153023.png\",\"articleSection\":[\"Varidata \u77e5\u8bc6\u6587\u6863\"],\"inLanguage\":\"zh-SC\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.varidata.com\\\/zh-cn\\\/knowledge\\\/limit-scrapers-to-protect-japan-server-backbone-bandwidth\\\/\",\"url\":\"https:\\\/\\\/www.varidata.com\\\/zh-cn\\\/knowledge\\\/limit-scrapers-to-protect-japan-server-backbone-bandwidth\\\/\",\"name\":\"\u5982\u4f55\u9650\u5236\u722c\u866b\u4ee5\u4fdd\u62a4\u65e5\u672c\u670d\u52a1\u5668\u9aa8\u5e72\u5e26\u5bbd\u8d44\u6e90\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.varidata.com\\\/zh-cn\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.varidata.com\\\/zh-cn\\\/knowledge\\\/limit-scrapers-to-protect-japan-server-backbone-bandwidth\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.varidata.com\\\/zh-cn\\\/knowledge\\\/limit-scrapers-to-protect-japan-server-backbone-bandwidth\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.varidata.com\\\/wp-content\\\/uploads\\\/2026\\\/08\\\/\u5c4f\u5e55\u622a\u56fe-2026-08-21-153023.png\",\"datePublished\":\"2026-08-21T07:39:01+00:00\",\"dateModified\":\"2026-08-21T07:42:35+00:00\",\"description\":\"\u901a\u8fc7\u4f7f\u7528 Nginx \u901f\u7387\u9650\u5236\u3001Fail2ban\u3001Cloudflare WAF \u548c GeoIP \u8fc7\u6ee4\uff0c\u9650\u5236\u722c\u866b\u6293\u53d6\uff0c\u9632\u6b62\u65e5\u672c\u670d\u52a1\u5668\u5e26\u5bbd\u88ab\u6d88\u8017\u5e76\u907f\u514d\u9aa8\u5e72\u7ebf\u8def\u6d41\u91cf\u6210\u672c\u6fc0\u589e\u3002\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.varidata.com\\\/zh-cn\\\/knowledge\\\/limit-scrapers-to-protect-japan-server-backbone-bandwidth\\\/#breadcrumb\"},\"inLanguage\":\"zh-SC\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.varidata.com\\\/zh-cn\\\/knowledge\\\/limit-scrapers-to-protect-japan-server-backbone-bandwidth\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-SC\",\"@id\":\"https:\\\/\\\/www.varidata.com\\\/zh-cn\\\/knowledge\\\/limit-scrapers-to-protect-japan-server-backbone-bandwidth\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.varidata.com\\\/wp-content\\\/uploads\\\/2026\\\/08\\\/\u5c4f\u5e55\u622a\u56fe-2026-08-21-153023.png\",\"contentUrl\":\"https:\\\/\\\/www.varidata.com\\\/wp-content\\\/uploads\\\/2026\\\/08\\\/\u5c4f\u5e55\u622a\u56fe-2026-08-21-153023.png\",\"width\":683,\"height\":378,\"caption\":\"\u9650\u5236\u722c\u866b\u4ee5\u4fdd\u62a4\u65e5\u672c\u670d\u52a1\u5668\u9aa8\u5e72\u5e26\u5bbd\u8d44\u6e90\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.varidata.com\\\/zh-cn\\\/knowledge\\\/limit-scrapers-to-protect-japan-server-backbone-bandwidth\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.varidata.com\\\/zh-cn\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u5982\u4f55\u9650\u5236\u722c\u866b\u4ee5\u4fdd\u62a4\u65e5\u672c\u670d\u52a1\u5668\u9aa8\u5e72\u5e26\u5bbd\u8d44\u6e90\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.varidata.com\\\/zh-cn\\\/#website\",\"url\":\"https:\\\/\\\/www.varidata.com\\\/zh-cn\\\/\",\"name\":\"Varidata Limited\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.varidata.com\\\/zh-cn\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.varidata.com\\\/zh-cn\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"zh-SC\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.varidata.com\\\/zh-cn\\\/#organization\",\"name\":\"Varidata\",\"url\":\"https:\\\/\\\/www.varidata.com\\\/zh-cn\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-SC\",\"@id\":\"https:\\\/\\\/www.varidata.com\\\/zh-cn\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.varidata.com\\\/wp-content\\\/uploads\\\/2021\\\/09\\\/varidata_logo_white_-748x480_hor_web-1.png\",\"contentUrl\":\"https:\\\/\\\/www.varidata.com\\\/wp-content\\\/uploads\\\/2021\\\/09\\\/varidata_logo_white_-748x480_hor_web-1.png\",\"width\":248,\"height\":94,\"caption\":\"Varidata\"},\"image\":{\"@id\":\"https:\\\/\\\/www.varidata.com\\\/zh-cn\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.varidata.com\\\/zh-cn\\\/#\\\/schema\\\/person\\\/afeb2203681f7919a757a02690f38abd\",\"name\":\"Daisy Yu\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-SC\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/38db59364245f7a04c07a2888056fc3db37247c1af72457af92d8001da594989?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/38db59364245f7a04c07a2888056fc3db37247c1af72457af92d8001da594989?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/38db59364245f7a04c07a2888056fc3db37247c1af72457af92d8001da594989?s=96&d=mm&r=g\",\"caption\":\"Daisy Yu\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u5982\u4f55\u9650\u5236\u722c\u866b\u4ee5\u4fdd\u62a4\u65e5\u672c\u670d\u52a1\u5668\u9aa8\u5e72\u5e26\u5bbd\u8d44\u6e90","description":"\u901a\u8fc7\u4f7f\u7528 Nginx \u901f\u7387\u9650\u5236\u3001Fail2ban\u3001Cloudflare WAF \u548c GeoIP \u8fc7\u6ee4\uff0c\u9650\u5236\u722c\u866b\u6293\u53d6\uff0c\u9632\u6b62\u65e5\u672c\u670d\u52a1\u5668\u5e26\u5bbd\u88ab\u6d88\u8017\u5e76\u907f\u514d\u9aa8\u5e72\u7ebf\u8def\u6d41\u91cf\u6210\u672c\u6fc0\u589e\u3002","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.varidata.com\/zh-cn\/knowledge\/limit-scrapers-to-protect-japan-server-backbone-bandwidth\/","og_locale":"zh_CN","og_type":"article","og_title":"\u5982\u4f55\u9650\u5236\u722c\u866b\u4ee5\u4fdd\u62a4\u65e5\u672c\u670d\u52a1\u5668\u9aa8\u5e72\u5e26\u5bbd\u8d44\u6e90","og_url":"https:\/\/www.varidata.com\/zh-cn\/knowledge\/limit-scrapers-to-protect-japan-server-backbone-bandwidth\/","og_site_name":"Varidata Limited","article_published_time":"2026-08-21T07:39:01+00:00","article_modified_time":"2026-08-21T07:42:35+00:00","og_image":[{"width":683,"height":378,"url":"https:\/\/www.varidata.com\/wp-content\/uploads\/2026\/08\/\u5c4f\u5e55\u622a\u56fe-2026-08-21-153023.png","type":"image\/png"}],"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.varidata.com\/zh-cn\/knowledge\/limit-scrapers-to-protect-japan-server-backbone-bandwidth\/#article","isPartOf":{"@id":"https:\/\/www.varidata.com\/zh-cn\/knowledge\/limit-scrapers-to-protect-japan-server-backbone-bandwidth\/"},"author":"Varidata","headline":"\u5982\u4f55\u9650\u5236\u722c\u866b\u4ee5\u4fdd\u62a4\u65e5\u672c\u670d\u52a1\u5668\u9aa8\u5e72\u5e26\u5bbd\u8d44\u6e90","datePublished":"2026-08-21T07:39:01+00:00","dateModified":"2026-08-21T07:42:35+00:00","mainEntityOfPage":{"@id":"https:\/\/www.varidata.com\/zh-cn\/knowledge\/limit-scrapers-to-protect-japan-server-backbone-bandwidth\/"},"wordCount":138,"publisher":{"@id":"https:\/\/www.varidata.com\/zh-cn\/#organization"},"image":{"@id":"https:\/\/www.varidata.com\/zh-cn\/knowledge\/limit-scrapers-to-protect-japan-server-backbone-bandwidth\/#primaryimage"},"thumbnailUrl":"https:\/\/www.varidata.com\/wp-content\/uploads\/2026\/08\/\u5c4f\u5e55\u622a\u56fe-2026-08-21-153023.png","articleSection":["Varidata \u77e5\u8bc6\u6587\u6863"],"inLanguage":"zh-SC"},{"@type":"WebPage","@id":"https:\/\/www.varidata.com\/zh-cn\/knowledge\/limit-scrapers-to-protect-japan-server-backbone-bandwidth\/","url":"https:\/\/www.varidata.com\/zh-cn\/knowledge\/limit-scrapers-to-protect-japan-server-backbone-bandwidth\/","name":"\u5982\u4f55\u9650\u5236\u722c\u866b\u4ee5\u4fdd\u62a4\u65e5\u672c\u670d\u52a1\u5668\u9aa8\u5e72\u5e26\u5bbd\u8d44\u6e90","isPartOf":{"@id":"https:\/\/www.varidata.com\/zh-cn\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.varidata.com\/zh-cn\/knowledge\/limit-scrapers-to-protect-japan-server-backbone-bandwidth\/#primaryimage"},"image":{"@id":"https:\/\/www.varidata.com\/zh-cn\/knowledge\/limit-scrapers-to-protect-japan-server-backbone-bandwidth\/#primaryimage"},"thumbnailUrl":"https:\/\/www.varidata.com\/wp-content\/uploads\/2026\/08\/\u5c4f\u5e55\u622a\u56fe-2026-08-21-153023.png","datePublished":"2026-08-21T07:39:01+00:00","dateModified":"2026-08-21T07:42:35+00:00","description":"\u901a\u8fc7\u4f7f\u7528 Nginx \u901f\u7387\u9650\u5236\u3001Fail2ban\u3001Cloudflare WAF \u548c GeoIP \u8fc7\u6ee4\uff0c\u9650\u5236\u722c\u866b\u6293\u53d6\uff0c\u9632\u6b62\u65e5\u672c\u670d\u52a1\u5668\u5e26\u5bbd\u88ab\u6d88\u8017\u5e76\u907f\u514d\u9aa8\u5e72\u7ebf\u8def\u6d41\u91cf\u6210\u672c\u6fc0\u589e\u3002","breadcrumb":{"@id":"https:\/\/www.varidata.com\/zh-cn\/knowledge\/limit-scrapers-to-protect-japan-server-backbone-bandwidth\/#breadcrumb"},"inLanguage":"zh-SC","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.varidata.com\/zh-cn\/knowledge\/limit-scrapers-to-protect-japan-server-backbone-bandwidth\/"]}]},{"@type":"ImageObject","inLanguage":"zh-SC","@id":"https:\/\/www.varidata.com\/zh-cn\/knowledge\/limit-scrapers-to-protect-japan-server-backbone-bandwidth\/#primaryimage","url":"https:\/\/www.varidata.com\/wp-content\/uploads\/2026\/08\/\u5c4f\u5e55\u622a\u56fe-2026-08-21-153023.png","contentUrl":"https:\/\/www.varidata.com\/wp-content\/uploads\/2026\/08\/\u5c4f\u5e55\u622a\u56fe-2026-08-21-153023.png","width":683,"height":378,"caption":"\u9650\u5236\u722c\u866b\u4ee5\u4fdd\u62a4\u65e5\u672c\u670d\u52a1\u5668\u9aa8\u5e72\u5e26\u5bbd\u8d44\u6e90"},{"@type":"BreadcrumbList","@id":"https:\/\/www.varidata.com\/zh-cn\/knowledge\/limit-scrapers-to-protect-japan-server-backbone-bandwidth\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.varidata.com\/zh-cn\/"},{"@type":"ListItem","position":2,"name":"\u5982\u4f55\u9650\u5236\u722c\u866b\u4ee5\u4fdd\u62a4\u65e5\u672c\u670d\u52a1\u5668\u9aa8\u5e72\u5e26\u5bbd\u8d44\u6e90"}]},{"@type":"WebSite","@id":"https:\/\/www.varidata.com\/zh-cn\/#website","url":"https:\/\/www.varidata.com\/zh-cn\/","name":"Varidata Limited","description":"","publisher":{"@id":"https:\/\/www.varidata.com\/zh-cn\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.varidata.com\/zh-cn\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"zh-SC"},{"@type":"Organization","@id":"https:\/\/www.varidata.com\/zh-cn\/#organization","name":"Varidata","url":"https:\/\/www.varidata.com\/zh-cn\/","logo":{"@type":"ImageObject","inLanguage":"zh-SC","@id":"https:\/\/www.varidata.com\/zh-cn\/#\/schema\/logo\/image\/","url":"https:\/\/www.varidata.com\/wp-content\/uploads\/2021\/09\/varidata_logo_white_-748x480_hor_web-1.png","contentUrl":"https:\/\/www.varidata.com\/wp-content\/uploads\/2021\/09\/varidata_logo_white_-748x480_hor_web-1.png","width":248,"height":94,"caption":"Varidata"},"image":{"@id":"https:\/\/www.varidata.com\/zh-cn\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.varidata.com\/zh-cn\/#\/schema\/person\/afeb2203681f7919a757a02690f38abd","name":"Daisy Yu","image":{"@type":"ImageObject","inLanguage":"zh-SC","@id":"https:\/\/secure.gravatar.com\/avatar\/38db59364245f7a04c07a2888056fc3db37247c1af72457af92d8001da594989?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/38db59364245f7a04c07a2888056fc3db37247c1af72457af92d8001da594989?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/38db59364245f7a04c07a2888056fc3db37247c1af72457af92d8001da594989?s=96&d=mm&r=g","caption":"Daisy Yu"}}]}},"_links":{"self":[{"href":"https:\/\/www.varidata.com\/zh-cn\/wp-json\/wp\/v2\/posts\/35432","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.varidata.com\/zh-cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.varidata.com\/zh-cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.varidata.com\/zh-cn\/wp-json\/wp\/v2\/users\/11"}],"replies":[{"embeddable":true,"href":"https:\/\/www.varidata.com\/zh-cn\/wp-json\/wp\/v2\/comments?post=35432"}],"version-history":[{"count":2,"href":"https:\/\/www.varidata.com\/zh-cn\/wp-json\/wp\/v2\/posts\/35432\/revisions"}],"predecessor-version":[{"id":35436,"href":"https:\/\/www.varidata.com\/zh-cn\/wp-json\/wp\/v2\/posts\/35432\/revisions\/35436"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.varidata.com\/zh-cn\/wp-json\/wp\/v2\/media\/35429"}],"wp:attachment":[{"href":"https:\/\/www.varidata.com\/zh-cn\/wp-json\/wp\/v2\/media?parent=35432"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.varidata.com\/zh-cn\/wp-json\/wp\/v2\/categories?post=35432"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.varidata.com\/zh-cn\/wp-json\/wp\/v2\/tags?post=35432"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}