deserts
大客部
级别: 总版主
精华:
0
发帖: 607
威望: 2 点
金钱: 1061 RMB
贡献值: 0 点
在线时间:1761(小时)
注册时间:2006-01-01
最后登录:2025-10-20
|
linux自动屏蔽IP工具
另存为 firewall.sh 给执行的权限 9JILK9mVO >f1fvv6 #!/bin/sh c]$$ap # this program is used to check tcp/ip connections vI48*&]wTf # and block those ip with excessive connections z?UEn#E2 gnb+i` # my version J^PFhu myver="1.0RC1" z-sq9
Qp&x '[_.mx|cd` # wake up every 120s if last check found abuse client 9Gx`[{wI9< wakeup_time_min=120 n 1^h;2gz ]xJ.OUJy # wake up every 300s if last check found no abuse client 28-z wakeup_time_max=300 NMrf I0tbG 2Ib
1D # rule timeout 3600s l!\~T"-7;: rule_timeout=3600 &Rz | |