<i id='crr0z'><div id='crr0z'><ins id='crr0z'></ins></div></i>
  • <tr id='crr0z'><strong id='crr0z'></strong><small id='crr0z'></small><button id='crr0z'></button><li id='crr0z'><noscript id='crr0z'><big id='crr0z'></big><dt id='crr0z'></dt></noscript></li></tr><ol id='crr0z'><table id='crr0z'><blockquote id='crr0z'><tbody id='crr0z'></tbody></blockquote></table></ol><u id='crr0z'></u><kbd id='crr0z'><kbd id='crr0z'></kbd></kbd>
    <fieldset id='crr0z'></fieldset>

      <ins id='crr0z'></ins>

        <acronym id='crr0z'><em id='crr0z'></em><td id='crr0z'><div id='crr0z'></div></td></acronym><address id='crr0z'><big id='crr0z'><big id='crr0z'></big><legend id='crr0z'></legend></big></address>

          <code id='crr0z'><strong id='crr0z'></strong></code>
          <span id='crr0z'></span>

        1. <i id='crr0z'></i>
          <dl id='crr0z'></dl>

            CentOS下iptables封IP的命令讲解

            • 时间:
            • 浏览:9
            • 来源: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

                效果: