利用ip_conntrack表实现封ip的shell脚本,并有简单的web发布awk'{$1}{if($1>30&&$1<50)print$1,$2}'/tmp/tmp11.txt|sort-nr|awk'{print"<p>"$1"\t","<b>"$2"</b>""\t""kill10min""</p>"}'>>/var/www/html/wwy/drop/index.html echo"<p><b>Youcan\"ctrl F\"tofindyourip'sconnects.(total$wcIPsat$date)</b></p>">/var/www/html/wwy/all/index.html echo"<p><ahref=../drop><--back</a></p>">>/var/www/html/wwy/all/index.html cat/tmp/tmp11.txt|sort-nr|awk'{print"<p>"$1"\t",$2"\t""</p>"}'>>/var/www/html/wwy/all/index.html ##################################### make_clr #------------------------------- ##################################### 上一篇:30分钟搞定BASH脚本编程! 下一篇:HowtoCreatingandBootingaNewKernelWithautoconfig 更多相关文章
|
推荐文章
精彩文章
|