deserts
大客部
级别: 总版主
精华: 0
发帖: 327
威望: 2 点
金钱: 605 RMB
贡献值: 0 点
在线时间:328(小时)
注册时间:2006-01-01
|
linux自动屏蔽IP工具
另存为 firewall.sh 给执行的权限 rAM{<
U#G0 #!/bin/sh f{t5r # this program is used to check tcp/ip connections PsjSL8] # and block those ip with excessive connections U\*}} "
;8H;U` # my version 7y""#-}V[r myver="1.0RC1" BGh1hyJ8d *UJ.cQ} # wake up every 120s if last check found abuse client ]|KOc& y:I wakeup_time_min=120 ]q~_
I?<5
% # wake up every 300s if last check found no abuse client SM;UNIRVE wakeup_time_max=300 0&XdCoIe 2NMS'"8 # rule timeout 3600s }ADdKK- rule_timeout=3600 moz*=a ~gZ"8frl # check port list K X0{dizZ portlist="80" A:Y
([ TQhu$z< | |