彻底卸载阿里云盾
为什么要卸载
心里不爽
卸载阿里云盾监控
1 2 3 4 5 6 7 |
wget http://update.aegis.aliyun.com/download/uninstall.sh chmod +x uninstall.sh ./uninstall.sh wget http://update.aegis.aliyun.com/download/quartz_uninstall.sh chmod +x quartz_uninstall.sh ./quartz_uninstall.sh |
删除残留
1 2 3 |
pkill aliyun-service rm -fr /etc/init.d/agentwatch /usr/sbin/aliyun-service rm -rf /usr/local/aegis* |
阿里云盾IP段:
官方说明链接:https://help.aliyun.com/knowledge_detail/37436.html
屏蔽云盾IP【可以基于安全组和iptables双重屏蔽】
屏蔽云盾默认段:
1 2 3 4 5 6 7 8 9 10 11 |
iptables -I INPUT -s 140.205.201.0/28 -j DROP iptables -I INPUT -s 140.205.201.16/29 -j DROP iptables -I INPUT -s 140.205.201.32/28 -j DROP iptables -I INPUT -s 140.205.225.192/29 -j DROP iptables -I INPUT -s 140.205.225.200/30 -j DROP iptables -I INPUT -s 140.205.225.184/29 -j DROP iptables -I INPUT -s 140.205.225.183/32 -j DROP iptables -I INPUT -s 140.205.225.206/32 -j DROP iptables -I INPUT -s 140.205.225.205/32 -j DROP iptables -I INPUT -s 140.205.225.195/32 -j DROP iptables -I INPUT -s 140.205.225.204/32 -j DROP |
推荐屏蔽云盾/24段:
1 2 |
iptables -I INPUT -s 140.205.201.0/24 -j DROP iptables -I INPUT -s 140.205.225.0/24 -j DROP |