<fieldset id='xm9zj'></fieldset>

  • <i id='xm9zj'></i>

        <dl id='xm9zj'></dl>

        <i id='xm9zj'><div id='xm9zj'><ins id='xm9zj'></ins></div></i>

          <code id='xm9zj'><strong id='xm9zj'></strong></code>

        1. <acronym id='xm9zj'><em id='xm9zj'></em><td id='xm9zj'><div id='xm9zj'></div></td></acronym><address id='xm9zj'><big id='xm9zj'><big id='xm9zj'></big><legend id='xm9zj'></legend></big></address>

        2. <tr id='xm9zj'><strong id='xm9zj'></strong><small id='xm9zj'></small><button id='xm9zj'></button><li id='xm9zj'><noscript id='xm9zj'><big id='xm9zj'></big><dt id='xm9zj'></dt></noscript></li></tr><ol id='xm9zj'><table id='xm9zj'><blockquote id='xm9zj'><tbody id='xm9zj'></tbody></blockquote></table></ol><u id='xm9zj'></u><kbd id='xm9zj'><kbd id='xm9zj'></kbd></kbd>
        3. <ins id='xm9zj'></ins>
          <span id='xm9zj'></span>

            CentOS下iptables封IP的命令讲解

            • 时间:
            • 浏览:15
            • 来源:124软件资讯网

                检察当天上岸未乐成的IP

                一条下令把这些IP所有封掉:

                for i in `grep "$(date +"%b %d")" /var/log/secure | grep "Failed password" | awk '{print $(NF-3)}' | sort | uniq -c | sort -nr| awk '{print $2}'` ;do iptables -A INPUT -s $i -j DROP; done

                效果: