{"id":150,"date":"2009-04-21T15:33:32","date_gmt":"2009-04-21T15:33:32","guid":{"rendered":""},"modified":"2011-04-25T08:38:06","modified_gmt":"2011-04-25T08:38:06","slug":"server-limit-dos%e5%88%a9%e7%94%a8%e9%9a%8f%e6%83%b3","status":"publish","type":"post","link":"https:\/\/www.inbreak.net\/archives\/150.html","title":{"rendered":"server limit dos\u5229\u7528\u968f\u60f3"},"content":{"rendered":"
<\/p>\n
\u770b\u4e86\u58a8\u897f\u54e5\u540c\u5b66\uff08\u5176\u5b9e\u770b\u4e0d\u61c2\uff0c\u523a\u5e2e\u5fd9\u7ffb\u8bd1\u7684\uff09\u548c\u523a\u7684\u6587\u7ae0\uff0c\u4e0d\u8fc7\u6211\u4eec\u4e3b\u8981\u5173\u5fc3\u8be5\u6280\u672f\u7684\u5229\u7528\u3002<\/span><\/p>\n <\/p>\n sirdarckcat<\/font><\/span>\u8bf4\uff0c<\/span>HTTP<\/font><\/span>\u5934\u7684\u957f\u5ea6\uff0c\u5728<\/span>APACHE<\/font><\/span>\u7b49<\/span>web<\/font><\/span>\u670d\u52a1\u5668\u662f\u6709\u4e00\u5b9a\u7684\u8981\u6c42\u7684\uff0c\u5982\u679c\u8d85\u51fa\u4e00\u5b9a\u957f\u5ea6\uff0c\u4f1a\u4ea7\u751f\u670d\u52a1\u5668\u9519\u8bef\u3002<\/span>HTTP<\/font><\/span>\u5934\u91cc\u9762\uff0c\u6709<\/span>cookie<\/font><\/span>\uff0c\u6709<\/span>location<\/font><\/span>\uff0c\u6709<\/span>host<\/font><\/span>\u3002\u3002\u3002\u5982\u679c\u6211\u4eec\u53ef\u4ee5\u63a7\u5236\u5176\u4e2d\u4e00\u4e2a\uff08\u4f8b\u5982<\/span>cookie<\/font><\/span>\uff09\uff0c\u7ed9\u7528\u6237\u690d\u5165\u5927\u957f\u5ea6\u7684<\/span>cookie<\/font><\/span>\uff0c\u5c31\u4f1a\u51fa\u73b0\u7528\u6237\u8bbf\u95ee\u8be5\u57df\u4e0b\u6240\u6709\u7684\u8bf7\u6c42\uff0c\u90fd\u5e26\u4e0a\u5927\u957f\u5ea6<\/span>cookie<\/font><\/span>\uff0c\u5bfc\u81f4\u7528\u6237\u4e0d\u7ba1\u8bbf\u95ee\u57df\u540d\u4e0b\u7684\u54ea\u4e2a\u6587\u4ef6\uff0c\u90fd\u4f1a\u4ea7\u751f\u670d\u52a1\u5668\u9519\u8bef\uff0c\u9020\u6210\u5ba2\u6237\u7aef<\/span>\u65e0\u6cd5\u8bbf\u95ee<\/font><\/span>\u3002<\/span><\/p>\n HTTP<\/font><\/span>\u5934\u6709\u5f88\u591a\u5b57\u6bb5\uff0c\u4e3a\u4ec0\u4e48\u975e\u8981\u63d0<\/span>COOKIE<\/font><\/span>\u63d2\u5165\u5927\u5b57\u6bb5\u5462\uff1f\u4ece\u7406\u8bba\u4e0a\u8bb2\uff0c\u53ea\u8981<\/span>HTTP<\/font><\/span>\u7684\u5934\uff0c\u5927\u4e8e\u67d0\u4e2a\u503c\uff0c\u5c31\u53ef\u4ee5<\/span>DDOS<\/font><\/span>\uff0c\u4f46\u662f\u95ee\u9898\u662f\uff0c\u53ea\u6709<\/span>COOKIE<\/font><\/span>\u4f1a\u8ddf\u7740\u7528\u6237\u4e00\u76f4\u8d70\u3002\u79cd\u5165<\/span>COOKIE<\/font><\/span>\u540e\uff0c\u65e0\u8bba\u8bbf\u95ee\u54ea\u91cc\uff0c\u90fd\u4f1a\u53d1\u51fa\u53bb\uff0c\u4f46\u662f\u5176\u4ed6\u5b57\u6bb5\uff0c\u4f8b\u5982<\/span>location<\/font><\/span>\u7b49\uff0c\u867d\u7136\u63d2\u5165\u4e86\uff0c\u5374\u53ea\u6709\u4e00\u6b21\u8bf7\u6c42\u5e26\u7740\uff0c\u4e0b\u6b21\u6ca1\u6709\u4e86\u3002<\/span><\/p>\n \u90a3\u4e48\uff0c\u6211\u4eec\u5c31\u6709\u4e24\u4e2a\u95ee\u9898\u9700\u8981\u8ba8\u8bba\u3002<\/span><\/p>\n 1\uff0c<\/font> <\/span><\/span><\/span>\u628a<\/span>HTTP header<\/font><\/span>\u641e\u5927\uff0c\u8ba9\u7528\u6237\u8bbf\u95ee\u65f6\u6302\u6389\u3002<\/span><\/p>\n 2\uff0c<\/font> <\/span><\/span><\/span>\u628a<\/span>COOKIE<\/font><\/span>\u641e\u5927\uff0c\u8ba9\u7528\u6237\u8bbf\u95ee\u65f6\u6302\u6389\u3002<\/span><\/p>\n \u5982\u524d\u6587\u6240\u8bf4\uff0c<\/span>http header<\/font><\/span>\u4e2d\u7684\u5176\u4ed6\u5b57\u6bb5\uff0c\u5373\u4f7f\u52a0\u5165\u4e86\u5927\u5b57\u6bb5\uff0c\u5bfc\u81f4<\/span>apache<\/font><\/span>\u9519\u8bef\uff0c\u4e5f\u53ea\u80fd\u8ba9\u4e00\u6b21\u8bf7\u6c42\u5931\u8d25\uff08\u6216\u4e24\u6b21\uff0c\u56e0\u4e3a\u6709<\/span>referer<\/font><\/span>\uff09\u3002\u6240\u4ee5\u5229\u7528\u4ef7\u503c\uff0c\u5f53\u7136\u5c31\u4e0d\u5982<\/span>COOKIE<\/font><\/span>\u4e2d\u690d\u5165\u4e86\u3002\u6240\u4ee5\uff0c\u6211\u4eec\u628a\u5173\u6ce8\u70b9\u653e\u5728<\/span>COOKIE<\/font><\/span>\u4e0a\u3002<\/span><\/p>\n