Other spider IP blocking scripts except Baidu and Google

Source: Internet
Author: User

#! /bin/bash

# Aliyunbot
/sbin/iptables-i input-m iprange--src-range 110.75.160.0-110.75.191.255-p tcp--dport 80-j REJECT

#Qihoo
/sbin/iptables-i input-m iprange--src-range 65.48.172.0-65.48.172.255-p tcp--dport 80-j REJECT

#Sougo
/sbin/iptables-i input-m iprange--src-range 220.181.0.0-220.181.255.255-p tcp--dport 80-j REJECT

#Soso
/sbin/iptables-i input-m iprange--src-range 124.114.0.0-124.115.255.255-p tcp--dport 80-j REJECT

#Yahoo!
/sbin/iptables-i input-m iprange--src-range 202.160.176.0-202.160.191.255-p tcp--dport 80-j REJECT
/sbin/iptables-i input-m iprange--src-range 203.209.224.0-203.209.255.255-p tcp--dport 80-j REJECT
/sbin/iptables-i input-m iprange--src-range 67.195.0.0-67.195.255.255-p tcp--dport 80-j REJECT

#Youdao
/sbin/iptables-i input-m iprange--src-range 61.135.0.0-61.135.255.255-p tcp--dport 80-j REJECT

#msn
/sbin/iptables-i input-m iprange--src-range 207.46.0.0-207.46.255.255-p tcp--dport 80-j REJECT

This article is from the It Dick thread blog, so be sure to keep this source http://68686789.blog.51cto.com/10438688/1750598

Other spider IP blocking scripts except Baidu and Google

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.