福森之地
最新文章
文章归档
关于
© 2023~至今 福森之地
All rights reserved.
标签分类
Tag: # iptables
使用iptables自动封禁ssh登录爆破ip的脚本
2024年04月28日
福森之地
分享一个自制脚本,自动使用iptables和lastb封禁近1天尝试ssh登录错误的ip top5,其大多为ssh爆破轮询,来自美丽之国 shell bin bash BANNED_IPS tmp banned ips TO_BANNED_IPS tmp to_banned ips iptables nL INPUT awk NR 2 print 4 uniq BANNED_
阅读全文
1