zoukankan      html  css  js  c++  java
  • 如何解决天猫魔盒自动删除第三方应用

    下面的IP地址是从网上收集来的关于aliyun.com和yunos.com的, 把这些IP屏蔽之后就不会出现第三方应用反复被删的情况了, 亲测有效.

    在你的路由器上加入如下防火墙规则即可(其中的Mac地址是天猫魔盒的Mac地址):

    iptables -t filter -A FORWARD -d 42.96.128.0/17 -m mac --mac-source xx:xx:xx:xx:xx:xx -j DROP
    iptables -t filter -A FORWARD -d 42.120.0.0/16 -m mac --mac-source xx:xx:xx:xx:xx:xx -j DROP
    iptables -t filter -A FORWARD -d 42.121.0.0/16 -m mac --mac-source xx:xx:xx:xx:xx:xx -j DROP
    iptables -t filter -A FORWARD -d 42.156.128.0/17 -m mac --mac-source xx:xx:xx:xx:xx:xx -j DROP
    iptables -t filter -A FORWARD -d 110.75.0.0/16 -m mac --mac-source xx:xx:xx:xx:xx:xx -j DROP
    iptables -t filter -A FORWARD -d 110.76.0.0/19 -m mac --mac-source xx:xx:xx:xx:xx:xx -j DROP
    iptables -t filter -A FORWARD -d 110.76.32.0/20 -m mac --mac-source xx:xx:xx:xx:xx:xx -j DROP
    iptables -t filter -A FORWARD -d 110.76.48.0/20 -m mac --mac-source xx:xx:xx:xx:xx:xx -j DROP
    iptables -t filter -A FORWARD -d 110.173.192.0/20 -m mac --mac-source xx:xx:xx:xx:xx:xx -j DROP
    iptables -t filter -A FORWARD -d 110.173.208.0/20 -m mac --mac-source xx:xx:xx:xx:xx:xx -j DROP
    iptables -t filter -A FORWARD -d 112.74.0.0/16 -m mac --mac-source xx:xx:xx:xx:xx:xx -j DROP
    iptables -t filter -A FORWARD -d 112.124.0.0/16 -m mac --mac-source xx:xx:xx:xx:xx:xx -j DROP
    iptables -t filter -A FORWARD -d 112.127.0.0/16 -m mac --mac-source xx:xx:xx:xx:xx:xx -j DROP
    iptables -t filter -A FORWARD -d 114.215.0.0/16 -m mac --mac-source xx:xx:xx:xx:xx:xx -j DROP
    iptables -t filter -A FORWARD -d 115.28.0.0/16 -m mac --mac-source xx:xx:xx:xx:xx:xx -j DROP
    iptables -t filter -A FORWARD -d 115.29.0.0/16 -m mac --mac-source xx:xx:xx:xx:xx:xx -j DROP
    iptables -t filter -A FORWARD -d 115.124.16.0/22 -m mac --mac-source xx:xx:xx:xx:xx:xx -j DROP
    iptables -t filter -A FORWARD -d 115.124.20.0/22 -m mac --mac-source xx:xx:xx:xx:xx:xx -j DROP
    iptables -t filter -A FORWARD -d 115.124.24.0/21 -m mac --mac-source xx:xx:xx:xx:xx:xx -j DROP
    iptables -t filter -A FORWARD -d 119.38.208.0/21 -m mac --mac-source xx:xx:xx:xx:xx:xx -j DROP
    iptables -t filter -A FORWARD -d 119.38.216.0/21 -m mac --mac-source xx:xx:xx:xx:xx:xx -j DROP
    iptables -t filter -A FORWARD -d 119.42.224.0/20 -m mac --mac-source xx:xx:xx:xx:xx:xx -j DROP
    iptables -t filter -A FORWARD -d 119.42.242.0/23 -m mac --mac-source xx:xx:xx:xx:xx:xx -j DROP
    iptables -t filter -A FORWARD -d 119.42.244.0/22 -m mac --mac-source xx:xx:xx:xx:xx:xx -j DROP
    iptables -t filter -A FORWARD -d 120.24.0.0/14 -m mac --mac-source xx:xx:xx:xx:xx:xx -j DROP
    iptables -t filter -A FORWARD -d 120.24.0.0/16 -m mac --mac-source xx:xx:xx:xx:xx:xx -j DROP
    iptables -t filter -A FORWARD -d 120.25.0.0/18 -m mac --mac-source xx:xx:xx:xx:xx:xx -j DROP
    iptables -t filter -A FORWARD -d 120.25.64.0/19 -m mac --mac-source xx:xx:xx:xx:xx:xx -j DROP
    iptables -t filter -A FORWARD -d 120.25.96.0/21 -m mac --mac-source xx:xx:xx:xx:xx:xx -j DROP
    iptables -t filter -A FORWARD -d 120.25.108.0/24 -m mac --mac-source xx:xx:xx:xx:xx:xx -j DROP
    iptables -t filter -A FORWARD -d 120.25.110.0/24 -m mac --mac-source xx:xx:xx:xx:xx:xx -j DROP
    iptables -t filter -A FORWARD -d 120.25.111.0/24 -m mac --mac-source xx:xx:xx:xx:xx:xx -j DROP
    iptables -t filter -A FORWARD -d 121.0.16.0/21 -m mac --mac-source xx:xx:xx:xx:xx:xx -j DROP
    iptables -t filter -A FORWARD -d 121.0.24.0/22 -m mac --mac-source xx:xx:xx:xx:xx:xx -j DROP
    iptables -t filter -A FORWARD -d 121.0.28.0/22 -m mac --mac-source xx:xx:xx:xx:xx:xx -j DROP
    iptables -t filter -A FORWARD -d 121.40.0.0/14 -m mac --mac-source xx:xx:xx:xx:xx:xx -j DROP
    iptables -t filter -A FORWARD -d 121.42.0.0/18 -m mac --mac-source xx:xx:xx:xx:xx:xx -j DROP
    iptables -t filter -A FORWARD -d 121.42.0.0/24 -m mac --mac-source xx:xx:xx:xx:xx:xx -j DROP
    iptables -t filter -A FORWARD -d 121.42.64.0/18 -m mac --mac-source xx:xx:xx:xx:xx:xx -j DROP
    iptables -t filter -A FORWARD -d 121.42.128.0/18 -m mac --mac-source xx:xx:xx:xx:xx:xx -j DROP
    iptables -t filter -A FORWARD -d 121.42.192.0/19 -m mac --mac-source xx:xx:xx:xx:xx:xx -j DROP
    iptables -t filter -A FORWARD -d 121.42.224.0/19 -m mac --mac-source xx:xx:xx:xx:xx:xx -j DROP
    iptables -t filter -A FORWARD -d 121.196.0.0/16 -m mac --mac-source xx:xx:xx:xx:xx:xx -j DROP
    iptables -t filter -A FORWARD -d 121.197.0.0/16 -m mac --mac-source xx:xx:xx:xx:xx:xx -j DROP
    iptables -t filter -A FORWARD -d 121.198.0.0/16 -m mac --mac-source xx:xx:xx:xx:xx:xx -j DROP
    iptables -t filter -A FORWARD -d 121.199.0.0/16 -m mac --mac-source xx:xx:xx:xx:xx:xx -j DROP
    iptables -t filter -A FORWARD -d 140.205.0.0/16 -m mac --mac-source xx:xx:xx:xx:xx:xx -j DROP
    iptables -t filter -A FORWARD -d 203.209.250.0/23 -m mac --mac-source xx:xx:xx:xx:xx:xx -j DROP
    iptables -t filter -A FORWARD -d 218.244.128.0/19 -m mac --mac-source xx:xx:xx:xx:xx:xx -j DROP
    iptables -t filter -A FORWARD -d 223.4.0.0/16 -m mac --mac-source xx:xx:xx:xx:xx:xx -j DROP
    iptables -t filter -A FORWARD -d 223.5.0.0/16 -m mac --mac-source xx:xx:xx:xx:xx:xx -j DROP
    iptables -t filter -A FORWARD -d 223.5.5.0/24 -m mac --mac-source xx:xx:xx:xx:xx:xx -j DROP
    iptables -t filter -A FORWARD -d 223.6.0.0/16 -m mac --mac-source xx:xx:xx:xx:xx:xx -j DROP
    iptables -t filter -A FORWARD -d 223.6.6.0/24 -m mac --mac-source xx:xx:xx:xx:xx:xx -j DROP
    iptables -t filter -A FORWARD -d 223.7.0.0/16 -m mac --mac-source xx:xx:xx:xx:xx:xx -j DROP
     
  • 相关阅读:
    NIO中几个非常重要的技术点
    NIO的epoll空轮询bug
    mysql支持跨表删除多条记录
    使用Fastjson生成Json字符串少字段属性(数据丢失)
    Linux系统下安装rz/sz命令及使用说明
    Slave_SQL_Running: No mysql同步故障
    二次幂权限设计
    spring容器加载完毕做一件事情(利用ContextRefreshedEvent事件)
    XStream别名;元素转属性;去除集合属性(剥皮);忽略不需要元素
    JDBC通用DAO
  • 原文地址:https://www.cnblogs.com/IvanChen/p/5178908.html
Copyright © 2011-2022 走看看