{"id":2987,"date":"2012-09-07T14:09:50","date_gmt":"2012-09-07T14:09:50","guid":{"rendered":"http:\/\/www.theperfectarts.com\/?p=2987"},"modified":"2014-11-21T06:55:57","modified_gmt":"2014-11-21T06:55:57","slug":"block-baiduspider-server-wide","status":"publish","type":"post","link":"https:\/\/www.ktchost.com\/blog\/block-baiduspider-server-wide\/","title":{"rendered":"Block Baiduspider server wide"},"content":{"rendered":"<p>The Baiduspider crawls the web sites continuously like ddos attack and causing the bandwidth issue at that time ,we can block the Baiduspider by using the following iptables rule to block the Baiduspider server wide.<\/p>\n<p><strong>iptables -p tcp -I INPUT -j DROP -s 119.63.192.0\/21<br \/>\niptables -p tcp -I INPUT -j DROP -s 123.125.64.0\/18<br \/>\niptables -p tcp -I INPUT -j DROP -s 180.76.0.0\/16<br \/>\niptables -p tcp -I INPUT -j DROP -s 220.181.0.0\/16<\/strong><\/p>\n<p><!-- Place this tag where you want the +1 button to render --><br \/>\n<g:plusone><\/g:plusone><\/p>\n<p><!-- Place this render call where appropriate --><br \/>\n<script type=\"text\/javascript\">\n  (function() {\n    var po = document.createElement('script'); po.type = 'text\/javascript'; po.async = true;\n    po.src = 'https:\/\/apis.google.com\/js\/plusone.js';\n    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);\n  })();\n<\/script><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"mh-excerpt\"><p>The Baiduspider crawls the web sites continuously like ddos attack and causing the bandwidth issue at that time ,we can block the Baiduspider by using <a class=\"mh-excerpt-more\" href=\"https:\/\/www.ktchost.com\/blog\/block-baiduspider-server-wide\/\" title=\"Block Baiduspider server wide\">[&#8230;]<\/a><\/p>\n<\/div>","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-2987","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/posts\/2987"}],"collection":[{"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/comments?post=2987"}],"version-history":[{"count":3,"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/posts\/2987\/revisions"}],"predecessor-version":[{"id":3773,"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/posts\/2987\/revisions\/3773"}],"wp:attachment":[{"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/media?parent=2987"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/categories?post=2987"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/tags?post=2987"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}