收藏文章 楼主

恶意ip访问服务器 cpu 资源占用高

版块:linux   类型:普通   作者:小绿叶技术博客   查看:1001   回复:0   获赞:0   时间:2021-11-06 11:30:40

处理建议:


1. 使用命令 netstat -ano | grep tcp 查看相同的ip是不是有跟多个,是,就再安全组添加禁止该ip访问您端口,安全组添加规则: https://help.aliyun.com/document_detail/25471.html


2. 使用web 防火墙自动阻挡恶意ip攻击:https://help.aliyun.com/product/28515.html


3. 我手动添加禁止该ip访问您服务的资源,目录cpu等硬件恢复正常,

执行命令:

firewall-cmd --permanent --add-rich-rule="rule family="ipv4" source address="122.228.19.71" port protocol="tcp" port="80" reject "

systemctl restart firewalld


linux 防火墙教程:https://eisc.cn/index.php?c=read&id=187&page=1


小绿叶技术博客,自动化脚本自动拦截恶意ip并发攻击:https://eisc.cn/index.php?c=read&id=797&page=1

提供企业建站服务,免费网防系统,提交信息登录 http://yundun.ddoss.cn 邮箱: proposal@ddoss.cn 
回复列表
默认   热门   正序   倒序

回复:恶意ip访问服务器 cpu 资源占用高

头像

用户名:

粉丝数:

签名:

资料 关注 好友 消息