{"id":19353,"date":"2024-08-29T09:45:55","date_gmt":"2024-08-29T09:45:55","guid":{"rendered":"https:\/\/goodwriterz.com\/site\/?p=19353"},"modified":"2024-08-29T09:45:55","modified_gmt":"2024-08-29T09:45:55","slug":"%d9%83%d9%8a%d9%81%d9%8a%d8%a9-%d8%aa%d8%a3%d9%85%d9%8a%d9%86-%d8%ae%d8%a7%d8%af%d9%85-linux-%d8%a7%d9%84%d8%ae%d8%a7%d8%b5-%d8%a8%d9%83-%d8%a8%d8%a7%d8%b3%d8%aa%d8%ae%d8%af%d8%a7%d9%85-fail2ban","status":"publish","type":"post","link":"https:\/\/goodwriterz.com\/site\/%d9%83%d9%8a%d9%81%d9%8a%d8%a9-%d8%aa%d8%a3%d9%85%d9%8a%d9%86-%d8%ae%d8%a7%d8%af%d9%85-linux-%d8%a7%d9%84%d8%ae%d8%a7%d8%b5-%d8%a8%d9%83-%d8%a8%d8%a7%d8%b3%d8%aa%d8%ae%d8%af%d8%a7%d9%85-fail2ban\/","title":{"rendered":"\u0643\u064a\u0641\u064a\u0629 \u062a\u0623\u0645\u064a\u0646 \u062e\u0627\u062f\u0645 Linux \u0627\u0644\u062e\u0627\u0635 \u0628\u0643 \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 fail2ban"},"content":{"rendered":"<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_68_1 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title \" >\u062c\u062f\u0648\u0644 \u0627\u0644\u0645\u062d\u062a\u0648\u064a\u0627\u062a<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 eztoc-toggle-hide-by-default' ><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/goodwriterz.com\/site\/%d9%83%d9%8a%d9%81%d9%8a%d8%a9-%d8%aa%d8%a3%d9%85%d9%8a%d9%86-%d8%ae%d8%a7%d8%af%d9%85-linux-%d8%a7%d9%84%d8%ae%d8%a7%d8%b5-%d8%a8%d9%83-%d8%a8%d8%a7%d8%b3%d8%aa%d8%ae%d8%af%d8%a7%d9%85-fail2ban\/#%D8%A7%D9%84%D9%86%D9%82%D8%A7%D8%B7_%D8%A7%D9%84%D8%B1%D8%A6%D9%8A%D8%B3%D9%8A%D8%A9\" title=\"\u0627\u0644\u0646\u0642\u0627\u0637 \u0627\u0644\u0631\u0626\u064a\u0633\u064a\u0629\">\u0627\u0644\u0646\u0642\u0627\u0637 \u0627\u0644\u0631\u0626\u064a\u0633\u064a\u0629<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/goodwriterz.com\/site\/%d9%83%d9%8a%d9%81%d9%8a%d8%a9-%d8%aa%d8%a3%d9%85%d9%8a%d9%86-%d8%ae%d8%a7%d8%af%d9%85-linux-%d8%a7%d9%84%d8%ae%d8%a7%d8%b5-%d8%a8%d9%83-%d8%a8%d8%a7%d8%b3%d8%aa%d8%ae%d8%af%d8%a7%d9%85-fail2ban\/#%D9%85%D8%A7_%D9%87%D9%88_fail2ban%D8%9F\" title=\"\u0645\u0627 \u0647\u0648 fail2ban\u061f\">\u0645\u0627 \u0647\u0648 fail2ban\u061f<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/goodwriterz.com\/site\/%d9%83%d9%8a%d9%81%d9%8a%d8%a9-%d8%aa%d8%a3%d9%85%d9%8a%d9%86-%d8%ae%d8%a7%d8%af%d9%85-linux-%d8%a7%d9%84%d8%ae%d8%a7%d8%b5-%d8%a8%d9%83-%d8%a8%d8%a7%d8%b3%d8%aa%d8%ae%d8%af%d8%a7%d9%85-fail2ban\/#%D8%AA%D8%AB%D8%A8%D9%8A%D8%AA_fail2ban\" title=\"\u062a\u062b\u0628\u064a\u062a fail2ban\">\u062a\u062b\u0628\u064a\u062a fail2ban<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/goodwriterz.com\/site\/%d9%83%d9%8a%d9%81%d9%8a%d8%a9-%d8%aa%d8%a3%d9%85%d9%8a%d9%86-%d8%ae%d8%a7%d8%af%d9%85-linux-%d8%a7%d9%84%d8%ae%d8%a7%d8%b5-%d8%a8%d9%83-%d8%a8%d8%a7%d8%b3%d8%aa%d8%ae%d8%af%d8%a7%d9%85-fail2ban\/#%D8%AA%D9%83%D9%88%D9%8A%D9%86_fail2ban\" title=\"\u062a\u0643\u0648\u064a\u0646 fail2ban\">\u062a\u0643\u0648\u064a\u0646 fail2ban<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/goodwriterz.com\/site\/%d9%83%d9%8a%d9%81%d9%8a%d8%a9-%d8%aa%d8%a3%d9%85%d9%8a%d9%86-%d8%ae%d8%a7%d8%af%d9%85-linux-%d8%a7%d9%84%d8%ae%d8%a7%d8%b5-%d8%a8%d9%83-%d8%a8%d8%a7%d8%b3%d8%aa%d8%ae%d8%af%d8%a7%d9%85-fail2ban\/#%D8%AA%D9%83%D9%88%D9%8A%D9%86_%D8%A7%D9%84%D8%B3%D8%AC%D9%86\" title=\"\u062a\u0643\u0648\u064a\u0646 \u0627\u0644\u0633\u062c\u0646\">\u062a\u0643\u0648\u064a\u0646 \u0627\u0644\u0633\u062c\u0646<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/goodwriterz.com\/site\/%d9%83%d9%8a%d9%81%d9%8a%d8%a9-%d8%aa%d8%a3%d9%85%d9%8a%d9%86-%d8%ae%d8%a7%d8%af%d9%85-linux-%d8%a7%d9%84%d8%ae%d8%a7%d8%b5-%d8%a8%d9%83-%d8%a8%d8%a7%d8%b3%d8%aa%d8%ae%d8%af%d8%a7%d9%85-fail2ban\/#%D8%AA%D9%85%D9%83%D9%8A%D9%86_fail2ban\" title=\"\u062a\u0645\u0643\u064a\u0646 fail2ban\">\u062a\u0645\u0643\u064a\u0646 fail2ban<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/goodwriterz.com\/site\/%d9%83%d9%8a%d9%81%d9%8a%d8%a9-%d8%aa%d8%a3%d9%85%d9%8a%d9%86-%d8%ae%d8%a7%d8%af%d9%85-linux-%d8%a7%d9%84%d8%ae%d8%a7%d8%b5-%d8%a8%d9%83-%d8%a8%d8%a7%d8%b3%d8%aa%d8%ae%d8%af%d8%a7%d9%85-fail2ban\/#%D8%A7%D8%AE%D8%AA%D8%A8%D8%A7%D8%B1_%D8%B3%D8%AC%D9%86%D9%86%D8%A7\" title=\"\u0627\u062e\u062a\u0628\u0627\u0631 \u0633\u062c\u0646\u0646\u0627\">\u0627\u062e\u062a\u0628\u0627\u0631 \u0633\u062c\u0646\u0646\u0627<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/goodwriterz.com\/site\/%d9%83%d9%8a%d9%81%d9%8a%d8%a9-%d8%aa%d8%a3%d9%85%d9%8a%d9%86-%d8%ae%d8%a7%d8%af%d9%85-linux-%d8%a7%d9%84%d8%ae%d8%a7%d8%b5-%d8%a8%d9%83-%d8%a8%d8%a7%d8%b3%d8%aa%d8%ae%d8%af%d8%a7%d9%85-fail2ban\/#%D8%A8%D8%B3%D9%8A%D8%B7%D8%A9_%D9%88%D9%81%D8%B9%D8%A7%D9%84%D8%A9\" title=\"\u0628\u0633\u064a\u0637\u0629 \u0648\u0641\u0639\u0627\u0644\u0629\">\u0628\u0633\u064a\u0637\u0629 \u0648\u0641\u0639\u0627\u0644\u0629<\/a><\/li><\/ul><\/nav><\/div>\n<div>\n<section class=\"emaki-custom-block emaki-custom-key-points\">\n<div class=\"emaki-custom key-points\" id=\"custom_block_0\">\n<h3 class=\"title icon i-list\"><span class=\"ez-toc-section\" id=\"%D8%A7%D9%84%D9%86%D9%82%D8%A7%D8%B7_%D8%A7%D9%84%D8%B1%D8%A6%D9%8A%D8%B3%D9%8A%D8%A9\"><\/span>\u0627\u0644\u0646\u0642\u0627\u0637 \u0627\u0644\u0631\u0626\u064a\u0633\u064a\u0629<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<div class=\"custom_block-content key-points\">\n<ul>\n<li>  fail2ban \u0639\u0628\u0627\u0631\u0629 \u0639\u0646 \u0623\u062f\u0627\u0629 \u0623\u0645\u0627\u0646 \u0630\u0627\u062a\u064a\u0629 \u0627\u0644\u062a\u0646\u0638\u064a\u0645 \u0644\u0646\u0638\u0627\u0645 Linux \u062a\u0639\u0645\u0644 \u0639\u0644\u0649 \u062d\u0638\u0631 \u0639\u0646\u0627\u0648\u064a\u0646 IP \u062a\u0644\u0642\u0627\u0626\u064a\u064b\u0627 \u0641\u064a \u062d\u0627\u0644\u0629 \u062d\u062f\u0648\u062b \u0627\u0644\u0639\u062f\u064a\u062f \u0645\u0646 \u062d\u0627\u0644\u0627\u062a \u0641\u0634\u0644 \u0627\u0644\u0627\u062a\u0635\u0627\u0644. <\/li>\n<li>  \u064a\u062a\u0643\u0627\u0645\u0644 \u0645\u0639 \u062c\u062f\u0627\u0631 \u062d\u0645\u0627\u064a\u0629 Linux (iptables) \u0648\u064a\u0646\u0641\u0630 \u0639\u0645\u0644\u064a\u0627\u062a \u0627\u0644\u062d\u0638\u0631 \u0639\u0646 \u0637\u0631\u064a\u0642 \u0625\u0636\u0627\u0641\u0629 \u0642\u0648\u0627\u0639\u062f \u0625\u0644\u0649 \u062c\u062f\u0627\u0631 \u0627\u0644\u062d\u0645\u0627\u064a\u0629\u060c \u0645\u0639 \u062a\u0631\u0643 \u0648\u0638\u0627\u0626\u0641 \u062c\u062f\u0627\u0631 \u0627\u0644\u062d\u0645\u0627\u064a\u0629 \u0627\u0644\u0639\u0627\u062f\u064a\u0629 \u062f\u0648\u0646 \u0645\u0633\u0627\u0633. <\/li>\n<li>  \u064a\u0645\u0643\u0646 \u062a\u0643\u0648\u064a\u0646 fail2ban \u0639\u0646 \u0637\u0631\u064a\u0642 \u0646\u0633\u062e \u0645\u0644\u0641 \u0627\u0644\u062a\u0643\u0648\u064a\u0646 \u0627\u0644\u0627\u0641\u062a\u0631\u0627\u0636\u064a \u0625\u0644\u0649 \u0645\u0644\u0641 \u062c\u062f\u064a\u062f \u064a\u0633\u0645\u0649 jail.local\u060c \u062d\u064a\u062b \u064a\u0645\u0643\u0646\u0643 \u0625\u062c\u0631\u0627\u0621 \u0627\u0644\u062a\u062e\u0635\u064a\u0635\u0627\u062a \u0627\u0644\u062a\u064a \u062a\u0633\u062a\u0645\u0631 \u0639\u0628\u0631 \u0627\u0644\u062a\u0631\u0642\u064a\u0627\u062a. <\/li>\n<\/ul>\n<\/div><\/div>\n<p><!-- Repeatable debug data: {\"injection\":\"before\",\"adPosition\":0,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":0,\"nbrPlacementsScanned\":0,\"ruleCount\":200,\"degradationStartingPoint\":1,\"stopAds\":null,\"isEarlyInjection\":false,\"actualCount\":240} --><!-- Zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"after\",\"adPosition\":1,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":1,\"nbrPlacementsScanned\":0,\"ruleCount\":200,\"degradationStartingPoint\":1,\"stopAds\":null,\"isEarlyInjection\":false,\"actualCount\":0} --><br \/>\n<!-- Repeatable debug data: {\"isEarlyInjection\":false,\"currentRuleCount\":200,\"actualCount\":0,\"hasActualCountMetThreshold\":null,\"countRemainingForInjection\":null,\"nextBlockCount\":null,\"hasCountRemainingForInjectionMetThreshold\":null} --><\/section>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":1,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":1,\"nbrPlacementsScanned\":1,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":0} --><br \/>\n<!-- No winning ad found for zone: below first paragraph! --><\/p>\n<p>  \u0645\u0639 <code>fail2ban<\/code>\u064a\u0642\u0648\u0645 \u062c\u0647\u0627\u0632 \u0627\u0644\u0643\u0645\u0628\u064a\u0648\u062a\u0631 \u0627\u0644\u0630\u064a \u064a\u0639\u0645\u0644 \u0628\u0646\u0638\u0627\u0645 Linux \u0627\u0644\u062e\u0627\u0635 \u0628\u0643 \u062a\u0644\u0642\u0627\u0626\u064a\u064b\u0627 \u0628\u062d\u0638\u0631 \u0639\u0646\u0627\u0648\u064a\u0646 IP \u0627\u0644\u062a\u064a \u0628\u0647\u0627 \u0639\u062f\u062f \u0643\u0628\u064a\u0631 \u062c\u062f\u064b\u0627 \u0645\u0646 \u062d\u0627\u0644\u0627\u062a \u0641\u0634\u0644 \u0627\u0644\u0627\u062a\u0635\u0627\u0644. \u0625\u0646\u0647\u0627 \u0623\u0645\u0627\u0646 \u0645\u0646\u0638\u0645 \u0630\u0627\u062a\u064a\u064b\u0627! \u0633\u0646\u0648\u0636\u062d \u0644\u0643 \u0643\u064a\u0641\u064a\u0629 \u0627\u0633\u062a\u062e\u062f\u0627\u0645\u0647\u0627. <\/p>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":1,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":1,\"nbrPlacementsScanned\":1,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":179} --><\/p>\n<p> <em>\u062a\u0645 \u062a\u0642\u062f\u064a\u0645 \u0647\u0630\u0647 \u0627\u0644\u0645\u0642\u0627\u0644\u0629 \u0627\u0644\u062e\u0627\u0635\u0629 \u0628\u0623\u0633\u0628\u0648\u0639 \u0627\u0644\u062a\u0648\u0639\u064a\u0629 \u0628\u0627\u0644\u0623\u0645\u0646 \u0627\u0644\u0633\u064a\u0628\u0631\u0627\u0646\u064a \u0625\u0644\u064a\u0643 \u0628\u0627\u0644\u062a\u0639\u0627\u0648\u0646 \u0645\u0639 Incogni .<\/em> <\/p>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":1,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":1,\"nbrPlacementsScanned\":1,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":270} --><br \/>\n<!-- No winning ad found for zone: native in content! --><\/p>\n<h2 id=\"what-is-fail2ban\"><span class=\"ez-toc-section\" id=\"%D9%85%D8%A7_%D9%87%D9%88_fail2ban%D8%9F\"><\/span>  \u0645\u0627 \u0647\u0648 fail2ban\u061f <span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>  Fail2ban \u0647\u064a \u0623\u062f\u0627\u0629 \u0645\u0633\u0627\u0639\u062f\u0629 \u062a\u0639\u0645\u0644 \u062a\u0644\u0642\u0627\u0626\u064a\u064b\u0627 \u0639\u0644\u0649 \u062d\u0638\u0631 \u0639\u0646\u0648\u0627\u0646 IP \u0625\u0630\u0627 \u062d\u0627\u0648\u0644 \u0627\u0644\u0627\u062a\u0635\u0627\u0644 \u0628\u0627\u0644\u062e\u0627\u062f\u0645 \u0639\u062f\u0629 \u0645\u0631\u0627\u062a \u0648\u0641\u0634\u0644 \u0641\u064a \u0630\u0644\u0643. <\/p>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":1,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":1,\"nbrPlacementsScanned\":1,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":401} --><\/p>\n<p>  \u0639\u0646\u062f\u0645\u0627 \u064a\u062d\u0627\u0648\u0644 \u0634\u062e\u0635 \u0645\u0627 \u0627\u0644\u0627\u062a\u0635\u0627\u0644 \u0628\u062e\u0627\u062f\u0645\u0643 \u2014 \u0633\u0648\u0627\u0621 \u0643\u0627\u0646 \u062e\u0627\u062f\u0645 SSH \u0623\u0648 \u062e\u0627\u062f\u0645 \u0648\u064a\u0628 \u0623\u0648 \u0628\u0631\u064a\u062f \u0625\u0644\u0643\u062a\u0631\u0648\u0646\u064a \u0623\u0648 \u062e\u0627\u062f\u0645 Minecraft \u2014 \u0641\u0625\u0646\u0647 \u0639\u0627\u062f\u0629 \u0645\u0627 \u064a\u064f\u0637\u0644\u0628 \u0645\u0646\u0647 \u0625\u062f\u062e\u0627\u0644 \u0627\u0633\u0645 \u0645\u0633\u062a\u062e\u062f\u0645 \u0648\u0643\u0644\u0645\u0629 \u0645\u0631\u0648\u0631 \u0642\u0628\u0644 \u0627\u0644\u0633\u0645\u0627\u062d \u0644\u0647 \u0628\u0627\u0644\u0648\u0635\u0648\u0644. \u0648\u0644\u0646 \u064a\u062a\u0645\u0643\u0646 \u0627\u0644\u0623\u0634\u062e\u0627\u0635 \u0627\u0644\u0639\u0627\u062f\u064a\u0648\u0646 \u0627\u0644\u0630\u064a\u0646 \u064a\u062f\u062e\u0644\u0648\u0646 (\u0623\u0648 \u064a\u062e\u0645\u0646\u0648\u0646) \u062a\u0641\u0627\u0635\u064a\u0644 \u062d\u0633\u0627\u0628\u0627\u062a\u0647\u0645 \u0641\u0639\u0644\u064a\u064b\u0627 \u0645\u0646 \u0625\u062f\u062e\u0627\u0644 \u0623\u0643\u062b\u0631 \u0645\u0646 \u0645\u062d\u0627\u0648\u0644\u0629 \u0648\u0627\u062d\u062f\u0629 \u0643\u0644 \u0628\u0636\u0639 \u062b\u0648\u0627\u0646\u064d \u0641\u064a \u0623\u0633\u0631\u0639 \u0648\u0642\u062a. \u0648\u0639\u0646\u062f\u0645\u0627 \u064a\u062a\u0645 \u0625\u062f\u062e\u0627\u0644 \u0628\u064a\u0627\u0646\u0627\u062a \u0627\u0644\u0627\u0639\u062a\u0645\u0627\u062f \u0628\u0634\u0643\u0644 \u0623\u0633\u0631\u0639 \u0648\u0628\u062a\u0643\u0631\u0627\u0631 \u0623\u0643\u0628\u0631 \u0645\u0646 \u0630\u0644\u0643\u060c \u0641\u0647\u0630\u0647 \u0639\u0644\u0627\u0645\u0629 \u0639\u0644\u0649 \u0648\u062c\u0648\u062f \u0645\u0634\u0643\u0644\u0629 \u2014 \u0641\u0642\u062f \u064a\u0642\u0648\u0645 \u0634\u062e\u0635 \u0645\u0627 \u0628\u062a\u0634\u063a\u064a\u0644 \u0647\u062c\u0648\u0645 \u0628\u0627\u0644\u0642\u0648\u0629 \u0627\u0644\u063a\u0627\u0634\u0645\u0629 \u0639\u0644\u0649 \u062c\u0647\u0627\u0632 \u0643\u0645\u0628\u064a\u0648\u062a\u0631 \u0622\u062e\u0631 \u0644\u0645\u062d\u0627\u0648\u0644\u0629 \u0627\u0642\u062a\u062d\u0627\u0645\u0647. <\/p>\n<p><!-- Repeatable debug data: {\"injection\":\"before\",\"adPosition\":1,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":1,\"nbrPlacementsScanned\":1,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"isEarlyInjection\":false,\"actualCount\":982} --><!-- Zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"after\",\"adPosition\":2,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":2,\"nbrPlacementsScanned\":1,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"isEarlyInjection\":false,\"actualCount\":0} --><br \/>\n<!-- Repeatable debug data: {\"isEarlyInjection\":false,\"currentRuleCount\":900,\"actualCount\":0,\"hasActualCountMetThreshold\":null,\"countRemainingForInjection\":null,\"nextBlockCount\":null,\"hasCountRemainingForInjectionMetThreshold\":null} --><\/p>\n<p>  \u0644\u0627\u0643\u062a\u0634\u0627\u0641 \u0647\u062c\u0648\u0645 \u0627\u0644\u0642\u0648\u0629 \u0627\u0644\u063a\u0627\u0634\u0645\u0629\u060c \u062a\u062d\u062a\u0627\u062c \u0625\u0644\u0649 \u0645\u0631\u0627\u0642\u0628\u0629 \u0637\u0644\u0628\u0627\u062a \u0627\u0644\u0627\u062a\u0635\u0627\u0644 \u0627\u0644\u062a\u064a \u062a\u0641\u0634\u0644 \u0641\u064a \u0627\u0644\u0648\u0635\u0648\u0644 \u0625\u0644\u0649 \u062d\u0633\u0627\u0628. \u0628\u0645\u062c\u0631\u062f \u062a\u062d\u062f\u064a\u062f \u0647\u0648\u064a\u0629 \u0627\u0644\u0645\u0647\u0627\u062c\u0645\u060c \u064a\u062c\u0628 \u0645\u0646\u0639\u0647 \u0645\u0646 \u0627\u0644\u0642\u064a\u0627\u0645 \u0628\u0645\u062d\u0627\u0648\u0644\u0627\u062a \u0623\u062e\u0631\u0649. <\/p>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":2,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":2,\"nbrPlacementsScanned\":2,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":196} --><\/p>\n<p>  \u0627\u0644\u0637\u0631\u064a\u0642\u0629 \u0627\u0644\u0648\u062d\u064a\u062f\u0629 \u0644\u062a\u062d\u0642\u064a\u0642 \u0630\u0644\u0643 \u0639\u0645\u0644\u064a\u064b\u0627 \u0647\u064a \u0623\u062a\u0645\u062a\u0629 \u0627\u0644\u0639\u0645\u0644\u064a\u0629 \u0628\u0623\u0643\u0645\u0644\u0647\u0627. \u0645\u0646 \u062e\u0644\u0627\u0644 \u0627\u0644\u0642\u0644\u064a\u0644 \u0645\u0646 \u0627\u0644\u062a\u0643\u0648\u064a\u0646 \u0627\u0644\u0628\u0633\u064a\u0637\u060c <code>fail2ban<\/code> \u0633\u0648\u0641 \u062a\u062f\u064a\u0631 <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/www.fail2ban.org\/wiki\/index.php\/Main_Page\">\u0627\u0644\u0645\u0631\u0627\u0642\u0628\u0629 \u0648\u0627\u0644\u062d\u0638\u0631 \u0648\u0625\u0644\u063a\u0627\u0621 \u0627\u0644\u062d\u0638\u0631<\/a> \u0644\u0643. <\/p>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":2,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":2,\"nbrPlacementsScanned\":2,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":390} --><\/p>\n<p> <code>fail2ban<\/code>  \u064a\u062a\u0643\u0627\u0645\u0644 \u0645\u0639 <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/www.man7.org\/linux\/man-pages\/man8\/iptables.8.html\">\u062c\u062f\u0627\u0631 \u0627\u0644\u062d\u0645\u0627\u064a\u0629 \u0644\u064a\u0646\u0643\u0633<\/a><code>iptables<\/code>. \u0625\u0646\u0647 \u064a\u0641\u0631\u0636 \u0627\u0644\u062d\u0638\u0631 \u0639\u0644\u0649 \u0639\u0646\u0627\u0648\u064a\u0646 IP \u0627\u0644\u0645\u0634\u062a\u0628\u0647 \u0628\u0647\u0627 \u0639\u0646 \u0637\u0631\u064a\u0642 \u0625\u0636\u0627\u0641\u0629 \u0642\u0648\u0627\u0639\u062f \u0625\u0644\u0649 \u062c\u062f\u0627\u0631 \u0627\u0644\u062d\u0645\u0627\u064a\u0629. \u0648\u0644\u0644\u062d\u0641\u0627\u0638 \u0639\u0644\u0649 \u0647\u0630\u0627 \u0627\u0644\u0634\u0631\u062d \u0648\u0627\u0636\u062d\u064b\u0627\u060c \u0646\u0633\u062a\u062e\u062f\u0645 <code>iptables<\/code> \u0645\u0639 \u0645\u062c\u0645\u0648\u0639\u0629 \u0642\u0648\u0627\u0639\u062f \u0641\u0627\u0631\u063a\u0629. <\/p>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":2,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":2,\"nbrPlacementsScanned\":2,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":612} --><\/p>\n<p>  \u0628\u0627\u0644\u0637\u0628\u0639\u060c \u0625\u0630\u0627 \u0643\u0646\u062a \u0645\u0647\u062a\u0645\u064b\u0627 \u0628\u0627\u0644\u0623\u0645\u0627\u0646\u060c \u0641\u0645\u0646 \u0627\u0644\u0645\u062d\u062a\u0645\u0644 \u0623\u0646 \u064a\u0643\u0648\u0646 \u0644\u062f\u064a\u0643 \u062c\u062f\u0627\u0631 \u062d\u0645\u0627\u064a\u0629 \u062a\u0645 \u062a\u0643\u0648\u064a\u0646\u0647 \u0628\u0645\u062c\u0645\u0648\u0639\u0629 \u0642\u0648\u0627\u0639\u062f \u0645\u0643\u062a\u0638\u0629. <code>fail2ban<\/code> \u0641\u0642\u0637 <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/linux.die.net\/man\/8\/fail2ban\">\u064a\u0636\u064a\u0641 \u0648\u064a\u0632\u064a\u0644 \u0642\u0648\u0627\u0639\u062f\u0647 \u0627\u0644\u062e\u0627\u0635\u0629<\/a> \u2014 \u0633\u062a\u0638\u0644 \u0648\u0638\u0627\u0626\u0641 \u062c\u062f\u0627\u0631 \u0627\u0644\u062d\u0645\u0627\u064a\u0629 \u0627\u0644\u0639\u0627\u062f\u064a\u0629 \u0644\u062f\u064a\u0643 \u062f\u0648\u0646 \u0645\u0633\u0627\u0633. <\/p>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":2,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":2,\"nbrPlacementsScanned\":2,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":843} --><\/p>\n<p>  \u064a\u0645\u0643\u0646\u0646\u0627 \u0631\u0624\u064a\u0629 \u0645\u062c\u0645\u0648\u0639\u0629 \u0627\u0644\u0642\u0648\u0627\u0639\u062f \u0627\u0644\u0641\u0627\u0631\u063a\u0629 \u0644\u062f\u064a\u0646\u0627 \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 \u0647\u0630\u0627 \u0627\u0644\u0623\u0645\u0631: <\/p>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":2,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":2,\"nbrPlacementsScanned\":2,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":893} --><br \/>\n<!-- Repeatable debug data: {\"isEarlyInjection\":true,\"currentRuleCount\":900,\"actualCount\":893,\"hasActualCountMetThreshold\":true,\"countRemainingForInjection\":7,\"nextBlockCount\":18,\"hasCountRemainingForInjectionMetThreshold\":true,\"nextCount\":911} --><\/p>\n<p><!-- Repeatable debug data: {\"injection\":\"before\",\"adPosition\":2,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":2,\"nbrPlacementsScanned\":2,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"isEarlyInjection\":true,\"actualCount\":900} --><!-- Zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"after\",\"adPosition\":3,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":3,\"nbrPlacementsScanned\":2,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"isEarlyInjection\":true,\"actualCount\":0} --><\/p>\n<pre>sudo iptables -L<\/pre>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":3,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":3,\"nbrPlacementsScanned\":3,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":11} --><\/p>\n<div class=\"body-img landscape \">\n<div class=\"responsive-img image-expandable img-article-item\">\n<figure><img data-recalc-dims=\"1\" decoding=\"async\" width=\"646\" height=\"227\" loading=\"lazy\" alt=\"sudo iptables -L \u0641\u064a \u0646\u0627\u0641\u0630\u0629 \u0627\u0644\u0645\u062d\u0637\u0629 \u0627\u0644\u0637\u0631\u0641\u064a\u0629\" data-img-url=\"https:\/\/goodwriterz.com\/site\/wp-content\/uploads\/2024\/08\/\u0643\u064a\u0641\u064a\u0629-\u062a\u0623\u0645\u064a\u0646-\u062e\u0627\u062f\u0645-Linux-\u0627\u0644\u062e\u0627\u0635-\u0628\u0643-\u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645-fail2ban.png\" src=\"https:\/\/i0.wp.com\/goodwriterz.com\/site\/wp-content\/uploads\/2024\/08\/%D9%83%D9%8A%D9%81%D9%8A%D8%A9-%D8%AA%D8%A3%D9%85%D9%8A%D9%86-%D8%AE%D8%A7%D8%AF%D9%85-Linux-%D8%A7%D9%84%D8%AE%D8%A7%D8%B5-%D8%A8%D9%83-%D8%A8%D8%A7%D8%B3%D8%AA%D8%AE%D8%AF%D8%A7%D9%85-fail2ban.png?resize=646%2C227&#038;ssl=1\" style=\"height:auto;max-width:100%\" title=\"\">  <\/figure>\n<\/p><\/div>\n<\/p><\/div>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":3,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":3,\"nbrPlacementsScanned\":3,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":251} --><\/p>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":3,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":3,\"nbrPlacementsScanned\":3,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":251} --><\/p>\n<h2 id=\"installing-fail2ban\"><span class=\"ez-toc-section\" id=\"%D8%AA%D8%AB%D8%A8%D9%8A%D8%AA_fail2ban\"><\/span>  \u062a\u062b\u0628\u064a\u062a fail2ban <span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>  \u0627\u0644\u062a\u062b\u0628\u064a\u062a <code>fail2ban<\/code> \u0627\u0644\u0623\u0645\u0631 \u0628\u0633\u064a\u0637 \u0641\u064a \u062c\u0645\u064a\u0639 \u0627\u0644\u062a\u0648\u0632\u064a\u0639\u0627\u062a \u0627\u0644\u062a\u064a \u0627\u0633\u062a\u062e\u062f\u0645\u0646\u0627\u0647\u0627 \u0644\u0644\u0628\u062d\u062b \u0641\u064a \u0647\u0630\u0647 \u0627\u0644\u0645\u0642\u0627\u0644\u0629. \u0641\u064a Ubuntu 20.04\u060c \u064a\u0643\u0648\u0646 \u0627\u0644\u0623\u0645\u0631 \u0643\u0645\u0627 \u064a\u0644\u064a: <\/p>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":3,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":3,\"nbrPlacementsScanned\":3,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":385} --><\/p>\n<pre>sudo apt-get install fail2ban<\/pre>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":3,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":3,\"nbrPlacementsScanned\":3,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":416} --><\/p>\n<div class=\"body-img landscape \">\n<div class=\"responsive-img image-expandable img-article-item\">\n<figure><img data-recalc-dims=\"1\" decoding=\"async\" width=\"646\" height=\"57\" loading=\"lazy\" alt=\"sudo apt-get install fail2ban \u0641\u064a \u0646\u0627\u0641\u0630\u0629 \u0627\u0644\u0645\u062d\u0637\u0629 \u0627\u0644\u0637\u0631\u0641\u064a\u0629\" data-img-url=\"https:\/\/goodwriterz.com\/site\/wp-content\/uploads\/2024\/08\/1724924748_332_\u0643\u064a\u0641\u064a\u0629-\u062a\u0623\u0645\u064a\u0646-\u062e\u0627\u062f\u0645-Linux-\u0627\u0644\u062e\u0627\u0635-\u0628\u0643-\u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645-fail2ban.png\" src=\"https:\/\/i0.wp.com\/goodwriterz.com\/site\/wp-content\/uploads\/2024\/08\/1724924748_332_%D9%83%D9%8A%D9%81%D9%8A%D8%A9-%D8%AA%D8%A3%D9%85%D9%8A%D9%86-%D8%AE%D8%A7%D8%AF%D9%85-Linux-%D8%A7%D9%84%D8%AE%D8%A7%D8%B5-%D8%A8%D9%83-%D8%A8%D8%A7%D8%B3%D8%AA%D8%AE%D8%AF%D8%A7%D9%85-fail2ban.png?resize=646%2C57&#038;ssl=1\" style=\"height:auto;max-width:100%\" title=\"\">  <\/figure>\n<\/p><\/div>\n<\/p><\/div>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":3,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":3,\"nbrPlacementsScanned\":3,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":656} --><\/p>\n<p>  \u0641\u064a \u0641\u064a\u062f\u0648\u0631\u0627 32\u060c \u0627\u0643\u062a\u0628: <\/p>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":3,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":3,\"nbrPlacementsScanned\":3,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":677} --><\/p>\n<pre>sudo dnf install fail2ban<\/pre>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":3,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":3,\"nbrPlacementsScanned\":3,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":704} --><\/p>\n<div class=\"body-img landscape \">\n<div class=\"responsive-img image-expandable img-article-item\">\n<figure><img data-recalc-dims=\"1\" decoding=\"async\" width=\"646\" height=\"57\" loading=\"lazy\" alt=\"sudo dnf install fail2ban \u0641\u064a \u0646\u0627\u0641\u0630\u0629 \u0627\u0644\u0645\u062d\u0637\u0629 \u0627\u0644\u0637\u0631\u0641\u064a\u0629\" data-img-url=\"https:\/\/goodwriterz.com\/site\/wp-content\/uploads\/2024\/08\/1724924748_474_\u0643\u064a\u0641\u064a\u0629-\u062a\u0623\u0645\u064a\u0646-\u062e\u0627\u062f\u0645-Linux-\u0627\u0644\u062e\u0627\u0635-\u0628\u0643-\u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645-fail2ban.png\" src=\"https:\/\/i0.wp.com\/goodwriterz.com\/site\/wp-content\/uploads\/2024\/08\/1724924748_474_%D9%83%D9%8A%D9%81%D9%8A%D8%A9-%D8%AA%D8%A3%D9%85%D9%8A%D9%86-%D8%AE%D8%A7%D8%AF%D9%85-Linux-%D8%A7%D9%84%D8%AE%D8%A7%D8%B5-%D8%A8%D9%83-%D8%A8%D8%A7%D8%B3%D8%AA%D8%AE%D8%AF%D8%A7%D9%85-fail2ban.png?resize=646%2C57&#038;ssl=1\" style=\"height:auto;max-width:100%\" title=\"\">  <\/figure>\n<\/p><\/div>\n<\/p><\/div>\n<p><!-- Repeatable debug data: {\"injection\":\"before\",\"adPosition\":3,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":3,\"nbrPlacementsScanned\":3,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"isEarlyInjection\":false,\"actualCount\":944} --><!-- Zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"after\",\"adPosition\":4,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":4,\"nbrPlacementsScanned\":3,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"isEarlyInjection\":false,\"actualCount\":0} --><br \/>\n<!-- Repeatable debug data: {\"isEarlyInjection\":false,\"currentRuleCount\":900,\"actualCount\":0,\"hasActualCountMetThreshold\":null,\"countRemainingForInjection\":null,\"nextBlockCount\":null,\"hasCountRemainingForInjectionMetThreshold\":null} --><\/p>\n<p>  \u0641\u064a Manjaro 20.0.1\u060c \u0627\u0633\u062a\u062e\u062f\u0645\u0646\u0627 <code>pacman<\/code>: <\/p>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":4,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":4,\"nbrPlacementsScanned\":4,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":36} --><\/p>\n<pre>sudo pacman -Sy fail2ban<\/pre>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":4,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":4,\"nbrPlacementsScanned\":4,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":62} --><\/p>\n<div class=\"body-img landscape \">\n<div class=\"responsive-img image-expandable img-article-item\">\n<figure><img data-recalc-dims=\"1\" decoding=\"async\" width=\"646\" height=\"57\" loading=\"lazy\" alt=\"sudo pacman -Sy fail2ban \u0641\u064a \u0646\u0627\u0641\u0630\u0629 \u0627\u0644\u0645\u062d\u0637\u0629 \u0627\u0644\u0637\u0631\u0641\u064a\u0629\" data-img-url=\"https:\/\/goodwriterz.com\/site\/wp-content\/uploads\/2024\/08\/1724924748_693_\u0643\u064a\u0641\u064a\u0629-\u062a\u0623\u0645\u064a\u0646-\u062e\u0627\u062f\u0645-Linux-\u0627\u0644\u062e\u0627\u0635-\u0628\u0643-\u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645-fail2ban.png\" src=\"https:\/\/i0.wp.com\/goodwriterz.com\/site\/wp-content\/uploads\/2024\/08\/1724924748_693_%D9%83%D9%8A%D9%81%D9%8A%D8%A9-%D8%AA%D8%A3%D9%85%D9%8A%D9%86-%D8%AE%D8%A7%D8%AF%D9%85-Linux-%D8%A7%D9%84%D8%AE%D8%A7%D8%B5-%D8%A8%D9%83-%D8%A8%D8%A7%D8%B3%D8%AA%D8%AE%D8%AF%D8%A7%D9%85-fail2ban.png?resize=646%2C57&#038;ssl=1\" style=\"height:auto;max-width:100%\" title=\"\">  <\/figure>\n<\/p><\/div>\n<\/p><\/div>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":4,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":4,\"nbrPlacementsScanned\":4,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":302} --><\/p>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":4,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":4,\"nbrPlacementsScanned\":4,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":302} --><\/p>\n<h2 id=\"configuring-fail2ban\"><span class=\"ez-toc-section\" id=\"%D8%AA%D9%83%D9%88%D9%8A%D9%86_fail2ban\"><\/span>  \u062a\u0643\u0648\u064a\u0646 fail2ban <span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>  \u0627\u0644 <code>fail2ban<\/code> \u064a\u062d\u062a\u0648\u064a \u0627\u0644\u062a\u062b\u0628\u064a\u062a \u0639\u0644\u0649 \u0645\u0644\u0641 \u062a\u0643\u0648\u064a\u0646 \u0627\u0641\u062a\u0631\u0627\u0636\u064a \u064a\u0633\u0645\u0649 jail.conf. \u064a\u062a\u0645 \u0627\u0633\u062a\u0628\u062f\u0627\u0644 \u0647\u0630\u0627 \u0627\u0644\u0645\u0644\u0641 \u0639\u0646\u062f <code>fail2ban<\/code> \u062a\u0645 \u062a\u0631\u0642\u064a\u062a\u0647\u060c \u0644\u0630\u0644\u0643 \u0633\u0646\u0641\u0642\u062f \u062a\u063a\u064a\u064a\u0631\u0627\u062a\u0646\u0627 \u0625\u0630\u0627 \u0642\u0645\u0646\u0627 \u0628\u0625\u062c\u0631\u0627\u0621 \u062a\u062e\u0635\u064a\u0635\u0627\u062a \u0639\u0644\u0649 \u0647\u0630\u0627 \u0627\u0644\u0645\u0644\u0641. <\/p>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":4,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":4,\"nbrPlacementsScanned\":4,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":507} --><\/p>\n<p>  \u0628\u062f\u0644\u0627\u064b \u0645\u0646 \u0630\u0644\u0643\u060c \u0633\u0646\u0646\u0633\u062e \u0645\u0644\u0641 jail.conf \u0625\u0644\u0649 \u0645\u0644\u0641 \u064a\u0633\u0645\u0649 jail.local. \u0645\u0646 \u062e\u0644\u0627\u0644 \u0648\u0636\u0639 \u062a\u063a\u064a\u064a\u0631\u0627\u062a \u0627\u0644\u062a\u0643\u0648\u064a\u0646 \u0627\u0644\u062e\u0627\u0635\u0629 \u0628\u0646\u0627 \u0641\u064a jail.local\u060c \u0633\u062a\u0638\u0644 \u0647\u0630\u0647 \u0627\u0644\u062a\u063a\u064a\u064a\u0631\u0627\u062a \u0642\u0627\u0626\u0645\u0629 \u0639\u0628\u0631 \u0627\u0644\u062a\u0631\u0642\u064a\u0627\u062a. \u062a\u062a\u0645 \u0642\u0631\u0627\u0621\u0629 \u0643\u0644\u0627 \u0627\u0644\u0645\u0644\u0641\u064a\u0646 \u062a\u0644\u0642\u0627\u0626\u064a\u064b\u0627 \u0628\u0648\u0627\u0633\u0637\u0629 <code>fail2ban<\/code>. <\/p>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":4,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":4,\"nbrPlacementsScanned\":4,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":713} --><\/p>\n<p>  \u0647\u0630\u0647 \u0647\u064a \u0643\u064a\u0641\u064a\u0629 \u0646\u0633\u062e \u0627\u0644\u0645\u0644\u0641: <\/p>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":4,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":4,\"nbrPlacementsScanned\":4,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":744} --><\/p>\n<pre>sudo cp \/etc\/fail2ban\/jail.conf \/etc\/fail2ban\/jail.local<\/pre>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":4,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":4,\"nbrPlacementsScanned\":4,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":802} --><br \/>\n<!-- Repeatable debug data: {\"isEarlyInjection\":true,\"currentRuleCount\":900,\"actualCount\":802,\"hasActualCountMetThreshold\":true,\"countRemainingForInjection\":98,\"nextBlockCount\":240,\"hasCountRemainingForInjectionMetThreshold\":true,\"nextCount\":1042} --><\/p>\n<p><!-- Repeatable debug data: {\"injection\":\"before\",\"adPosition\":4,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":4,\"nbrPlacementsScanned\":4,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"isEarlyInjection\":true,\"actualCount\":900} --><!-- Zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"after\",\"adPosition\":5,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":5,\"nbrPlacementsScanned\":4,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"isEarlyInjection\":true,\"actualCount\":0} --><\/p>\n<div class=\"body-img landscape \">\n<div class=\"responsive-img image-expandable img-article-item\">\n<figure><img data-recalc-dims=\"1\" decoding=\"async\" width=\"646\" height=\"57\" loading=\"lazy\" alt=\"sudo cp \/etc\/fail2ban\/jail.conf \/etc\/fail2ban\/jail.local \u0641\u064a \u0646\u0627\u0641\u0630\u0629 \u0627\u0644\u0645\u062d\u0637\u0629 \u0627\u0644\u0637\u0631\u0641\u064a\u0629\" data-img-url=\"https:\/\/goodwriterz.com\/site\/wp-content\/uploads\/2024\/08\/1724924749_933_\u0643\u064a\u0641\u064a\u0629-\u062a\u0623\u0645\u064a\u0646-\u062e\u0627\u062f\u0645-Linux-\u0627\u0644\u062e\u0627\u0635-\u0628\u0643-\u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645-fail2ban.png\" src=\"https:\/\/i0.wp.com\/goodwriterz.com\/site\/wp-content\/uploads\/2024\/08\/1724924749_933_%D9%83%D9%8A%D9%81%D9%8A%D8%A9-%D8%AA%D8%A3%D9%85%D9%8A%D9%86-%D8%AE%D8%A7%D8%AF%D9%85-Linux-%D8%A7%D9%84%D8%AE%D8%A7%D8%B5-%D8%A8%D9%83-%D8%A8%D8%A7%D8%B3%D8%AA%D8%AE%D8%AF%D8%A7%D9%85-fail2ban.png?resize=646%2C57&#038;ssl=1\" style=\"height:auto;max-width:100%\" title=\"\">  <\/figure>\n<\/p><\/div>\n<\/p><\/div>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":5,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":5,\"nbrPlacementsScanned\":5,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":142} --><\/p>\n<p>  \u0627\u0644\u0622\u0646 \u0627\u0641\u062a\u062d \u0627\u0644\u0645\u0644\u0641 \u0641\u064a \u0645\u062d\u0631\u0631 \u0627\u0644\u0646\u0635\u0648\u0635 \u0627\u0644\u0645\u0641\u0636\u0644 \u0644\u062f\u064a\u0643. \u0633\u0646\u0633\u062a\u062e\u062f\u0645 <code>gedit<\/code>: <\/p>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":5,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":5,\"nbrPlacementsScanned\":5,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":216} --><\/p>\n<pre>sudo gedit \/etc\/fail2ban\/jail.local<\/pre>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":5,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":5,\"nbrPlacementsScanned\":5,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":253} --><\/p>\n<p>  \u0633\u0646\u0628\u062d\u062b \u0639\u0646 \u0642\u0633\u0645\u064a\u0646 \u0641\u064a \u0627\u0644\u0645\u0644\u0641: (DEFAULT) \u0648(sshd). \u0644\u0643\u0646 \u0627\u062d\u0631\u0635 \u0639\u0644\u0649 \u0627\u0644\u0639\u062b\u0648\u0631 \u0639\u0644\u0649 \u0627\u0644\u0623\u0642\u0633\u0627\u0645 \u0627\u0644\u0641\u0639\u0644\u064a\u0629. \u062a\u0638\u0647\u0631 \u0647\u0630\u0647 \u0627\u0644\u0639\u0644\u0627\u0645\u0627\u062a \u0623\u064a\u0636\u064b\u0627 \u0628\u0627\u0644\u0642\u0631\u0628 \u0645\u0646 \u0627\u0644\u062c\u0632\u0621 \u0627\u0644\u0639\u0644\u0648\u064a \u0641\u064a \u0627\u0644\u0642\u0633\u0645 \u0627\u0644\u0630\u064a \u064a\u0635\u0641\u0647\u0627\u060c \u0644\u0643\u0646 \u0647\u0630\u0627 \u0644\u064a\u0633 \u0645\u0627 \u0646\u0631\u064a\u062f\u0647. <\/p>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":5,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":5,\"nbrPlacementsScanned\":5,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":473} --><\/p>\n<div class=\"body-img landscape \">\n<div class=\"responsive-img image-expandable img-article-item\">\n<figure><img data-recalc-dims=\"1\" decoding=\"async\" width=\"646\" height=\"502\" loading=\"lazy\" alt=\"\u062a\u0645 \u0641\u062a\u062d \/etc\/fail2ban\/jail.local \u0641\u064a \u0646\u0627\u0641\u0630\u0629 gedit\" data-img-url=\"https:\/\/goodwriterz.com\/site\/wp-content\/uploads\/2024\/08\/1724924749_6_\u0643\u064a\u0641\u064a\u0629-\u062a\u0623\u0645\u064a\u0646-\u062e\u0627\u062f\u0645-Linux-\u0627\u0644\u062e\u0627\u0635-\u0628\u0643-\u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645-fail2ban.png\" src=\"https:\/\/i0.wp.com\/goodwriterz.com\/site\/wp-content\/uploads\/2024\/08\/1724924749_6_%D9%83%D9%8A%D9%81%D9%8A%D8%A9-%D8%AA%D8%A3%D9%85%D9%8A%D9%86-%D8%AE%D8%A7%D8%AF%D9%85-Linux-%D8%A7%D9%84%D8%AE%D8%A7%D8%B5-%D8%A8%D9%83-%D8%A8%D8%A7%D8%B3%D8%AA%D8%AE%D8%AF%D8%A7%D9%85-fail2ban.png?resize=646%2C502&#038;ssl=1\" style=\"height:auto;max-width:100%\" title=\"\">  <\/figure>\n<\/p><\/div>\n<\/p><\/div>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":5,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":5,\"nbrPlacementsScanned\":5,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":713} --><\/p>\n<p>  \u0633\u062a\u062c\u062f \u0642\u0633\u0645 (DEFAULT) \u0641\u064a \u0645\u0643\u0627\u0646 \u0645\u0627 \u062d\u0648\u0644 \u0627\u0644\u0633\u0637\u0631 40. \u0625\u0646\u0647 \u0642\u0633\u0645 \u0637\u0648\u064a\u0644 \u064a\u062d\u062a\u0648\u064a \u0639\u0644\u0649 \u0627\u0644\u0643\u062b\u064a\u0631 \u0645\u0646 \u0627\u0644\u062a\u0639\u0644\u064a\u0642\u0627\u062a \u0648\u0627\u0644\u0634\u0631\u0648\u062d\u0627\u062a. <\/p>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":5,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":5,\"nbrPlacementsScanned\":5,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":843} --><br \/>\n<!-- Repeatable debug data: {\"isEarlyInjection\":true,\"currentRuleCount\":900,\"actualCount\":843,\"hasActualCountMetThreshold\":true,\"countRemainingForInjection\":57,\"nextBlockCount\":240,\"hasCountRemainingForInjectionMetThreshold\":true,\"nextCount\":1083} --><\/p>\n<p><!-- Repeatable debug data: {\"injection\":\"before\",\"adPosition\":5,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":5,\"nbrPlacementsScanned\":5,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"isEarlyInjection\":true,\"actualCount\":900} --><!-- Zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"after\",\"adPosition\":6,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":6,\"nbrPlacementsScanned\":5,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"isEarlyInjection\":true,\"actualCount\":0} --><\/p>\n<div class=\"body-img landscape \">\n<div class=\"responsive-img image-expandable img-article-item\">\n<figure><img data-recalc-dims=\"1\" decoding=\"async\" width=\"646\" height=\"428\" loading=\"lazy\" alt=\"\u062a\u0645 \u0641\u062a\u062d \/etc\/fail2ban\/jail.local \u0641\u064a \u0646\u0627\u0641\u0630\u0629 gedit \u0648\u062a\u0645\u0631\u064a\u0631\u0647 \u0625\u0644\u0649 \u0627\u0644\u0633\u0637\u0631 89\" data-img-url=\"https:\/\/goodwriterz.com\/site\/wp-content\/uploads\/2024\/08\/1724924749_729_\u0643\u064a\u0641\u064a\u0629-\u062a\u0623\u0645\u064a\u0646-\u062e\u0627\u062f\u0645-Linux-\u0627\u0644\u062e\u0627\u0635-\u0628\u0643-\u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645-fail2ban.png\" src=\"https:\/\/i0.wp.com\/goodwriterz.com\/site\/wp-content\/uploads\/2024\/08\/1724924749_729_%D9%83%D9%8A%D9%81%D9%8A%D8%A9-%D8%AA%D8%A3%D9%85%D9%8A%D9%86-%D8%AE%D8%A7%D8%AF%D9%85-Linux-%D8%A7%D9%84%D8%AE%D8%A7%D8%B5-%D8%A8%D9%83-%D8%A8%D8%A7%D8%B3%D8%AA%D8%AE%D8%AF%D8%A7%D9%85-fail2ban.png?resize=646%2C428&#038;ssl=1\" style=\"height:auto;max-width:100%\" title=\"\">  <\/figure>\n<\/p><\/div>\n<\/p><\/div>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":6,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":6,\"nbrPlacementsScanned\":6,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":183} --><\/p>\n<p>  \u0642\u0645 \u0628\u0627\u0644\u062a\u0645\u0631\u064a\u0631 \u0625\u0644\u0649 \u0627\u0644\u0623\u0633\u0641\u0644 \u062d\u062a\u0649 \u0627\u0644\u0633\u0637\u0631 90\u060c \u0648\u0633\u062a\u062c\u062f \u0627\u0644\u0625\u0639\u062f\u0627\u062f\u0627\u062a \u0627\u0644\u0623\u0631\u0628\u0639\u0629 \u0627\u0644\u062a\u0627\u0644\u064a\u0629 \u0627\u0644\u062a\u064a \u062a\u062d\u062a\u0627\u062c \u0625\u0644\u0649 \u0645\u0639\u0631\u0641\u062a\u0647\u0627: <\/p>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":6,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":6,\"nbrPlacementsScanned\":6,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":287} --><\/p>\n<ul>\n<li><strong>\u062a\u062c\u0627\u0647\u0644:<\/strong> \u0642\u0627\u0626\u0645\u0629 \u0628\u064a\u0636\u0627\u0621 \u0628\u0639\u0646\u0627\u0648\u064a\u0646 IP \u0627\u0644\u062a\u064a \u0644\u0646 \u064a\u062a\u0645 \u062d\u0638\u0631\u0647\u0627 \u0623\u0628\u062f\u064b\u0627. \u0644\u062f\u064a\u0647\u0645 \u0628\u0637\u0627\u0642\u0629 \u062e\u0631\u0648\u062c \u0645\u062c\u0627\u0646\u064a\u0629 \u062f\u0627\u0626\u0645\u0629 \u0645\u0646 \u0627\u0644\u0633\u062c\u0646. <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/en.wikipedia.org\/wiki\/Localhost\">\u0639\u0646\u0648\u0627\u0646 IP \u0627\u0644\u0645\u062d\u0644\u064a<\/a> (<code>127.0.0.1<\/code>) \u0645\u0648\u062c\u0648\u062f \u0641\u064a \u0627\u0644\u0642\u0627\u0626\u0645\u0629 \u0628\u0634\u0643\u0644 \u0627\u0641\u062a\u0631\u0627\u0636\u064a\u060c \u0625\u0644\u0649 \u062c\u0627\u0646\u0628 \u0646\u0638\u064a\u0631\u0647 IPv6 (<code>::1<\/code>\u0625\u0630\u0627 \u0643\u0627\u0646 \u0647\u0646\u0627\u0643 \u0639\u0646\u0627\u0648\u064a\u0646 IP \u0623\u062e\u0631\u0649 \u062a\u0639\u0644\u0645 \u0623\u0646\u0647 \u0644\u0627 \u064a\u0646\u0628\u063a\u064a \u062d\u0638\u0631\u0647\u0627 \u0623\u0628\u062f\u064b\u0627\u060c \u0641\u0623\u0636\u0641\u0647\u0627 \u0625\u0644\u0649 \u0647\u0630\u0647 \u0627\u0644\u0642\u0627\u0626\u0645\u0629 \u0648\u0627\u062a\u0631\u0643 \u0645\u0633\u0627\u0641\u0629 \u0628\u064a\u0646 \u0643\u0644 \u0639\u0646\u0648\u0627\u0646. <\/li>\n<li><strong>\u0648\u0642\u062a \u0627\u0644\u062d\u0638\u0631:<\/strong> \u0627\u0644\u0645\u062f\u0629 \u0627\u0644\u062a\u064a \u064a\u062a\u0645 \u062d\u0638\u0631 \u0639\u0646\u0648\u0627\u0646 IP \u062e\u0644\u0627\u0644\u0647\u0627 (\u064a\u0631\u0645\u0632 &#8220;m&#8221; \u0625\u0644\u0649 \u0627\u0644\u062f\u0642\u0627\u0626\u0642). \u0625\u0630\u0627 \u0643\u062a\u0628\u062a \u0642\u064a\u0645\u0629 \u0628\u062f\u0648\u0646 &#8220;m&#8221; \u0623\u0648 &#8220;h&#8221; (\u0644\u0644\u0633\u0627\u0639\u0627\u062a)\u060c \u0641\u0633\u064a\u062a\u0645 \u0627\u0644\u062a\u0639\u0627\u0645\u0644 \u0645\u0639\u0647\u0627 \u0639\u0644\u0649 \u0623\u0646\u0647\u0627 \u062b\u0648\u0627\u0646\u064d. \u0633\u062a\u0624\u062f\u064a \u0627\u0644\u0642\u064a\u0645\u0629 -1 \u0625\u0644\u0649 \u062d\u0638\u0631 \u0639\u0646\u0648\u0627\u0646 IP \u0628\u0634\u0643\u0644 \u062f\u0627\u0626\u0645. \u0643\u0646 \u062d\u0630\u0631\u064b\u0627 \u0644\u0644\u063a\u0627\u064a\u0629 \u062d\u062a\u0649 \u0644\u0627 \u062a\u062d\u0638\u0631 \u0646\u0641\u0633\u0643 \u0628\u0634\u0643\u0644 \u062f\u0627\u0626\u0645. <\/li>\n<li><strong>\u0648\u0642\u062a \u0627\u0644\u0628\u062d\u062b:<\/strong> \u0645\u0642\u062f\u0627\u0631 \u0627\u0644\u0648\u0642\u062a \u0627\u0644\u0630\u064a \u0633\u062a\u0624\u062f\u064a \u0641\u064a\u0647 \u0645\u062d\u0627\u0648\u0644\u0627\u062a \u0627\u0644\u0627\u062a\u0635\u0627\u0644 \u0627\u0644\u0641\u0627\u0634\u0644\u0629 \u0627\u0644\u0643\u062b\u064a\u0631\u0629 \u0625\u0644\u0649 \u062d\u0638\u0631 \u0639\u0646\u0648\u0627\u0646 IP. <\/li>\n<li><strong>\u0623\u0642\u0635\u0649 \u0645\u062d\u0627\u0648\u0644\u0629:<\/strong> \u0627\u0644\u0642\u064a\u0645\u0629 \u0627\u0644\u062e\u0627\u0635\u0629 \u0628\u0640 &#8220;\u0639\u062f\u062f \u0643\u0628\u064a\u0631 \u062c\u062f\u064b\u0627 \u0645\u0646 \u0627\u0644\u0645\u062d\u0627\u0648\u0644\u0627\u062a \u0627\u0644\u0641\u0627\u0634\u0644\u0629&#8221;. <\/li>\n<\/ul>\n<p><!-- Repeatable debug data: {\"injection\":\"before\",\"adPosition\":6,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":6,\"nbrPlacementsScanned\":6,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"isEarlyInjection\":false,\"actualCount\":1115} --><!-- Zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"after\",\"adPosition\":7,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":7,\"nbrPlacementsScanned\":6,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"isEarlyInjection\":false,\"actualCount\":0} --><br \/>\n<!-- Repeatable debug data: {\"isEarlyInjection\":false,\"currentRuleCount\":900,\"actualCount\":0,\"hasActualCountMetThreshold\":null,\"countRemainingForInjection\":null,\"nextBlockCount\":null,\"hasCountRemainingForInjectionMetThreshold\":null} --><\/p>\n<p>  \u0625\u0630\u0627 \u062a\u0645 \u0625\u062c\u0631\u0627\u0621 \u0627\u062a\u0635\u0627\u0644 \u0645\u0646 \u0646\u0641\u0633 \u0639\u0646\u0648\u0627\u0646 IP <code>maxretry<\/code> \u0645\u062d\u0627\u0648\u0644\u0627\u062a \u0627\u0644\u0627\u062a\u0635\u0627\u0644 \u0627\u0644\u0641\u0627\u0634\u0644\u0629 \u062f\u0627\u062e\u0644 <code>findtime<\/code> \u0627\u0644\u0641\u062a\u0631\u0629\u060c \u064a\u062a\u0645 \u062d\u0638\u0631\u0647\u0645 \u0637\u0648\u0627\u0644 \u0645\u062f\u0629 <code>bantime<\/code>\u0627\u0644\u0627\u0633\u062a\u062b\u0646\u0627\u0621\u0627\u062a \u0627\u0644\u0648\u062d\u064a\u062f\u0629 \u0647\u064a \u0639\u0646\u0627\u0648\u064a\u0646 IP \u0627\u0644\u0645\u0648\u062c\u0648\u062f\u0629 \u0641\u064a <code>ignoreip<\/code> \u0642\u0627\u0626\u0645\u0629. <\/p>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":7,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":7,\"nbrPlacementsScanned\":7,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":227} --><\/p>\n<p> <code>fail2ban<\/code>  \u064a\u0636\u0639 \u0639\u0646\u0627\u0648\u064a\u0646 IP \u0641\u064a \u0627\u0644\u0633\u062c\u0646 \u0644\u0641\u062a\u0631\u0629 \u0632\u0645\u0646\u064a\u0629 \u0645\u062d\u062f\u062f\u0629. <code>fail2ban<\/code> \u064a\u062f\u0639\u0645 \u0627\u0644\u0639\u062f\u064a\u062f \u0645\u0646 \u0627\u0644\u0633\u062c\u0648\u0646 \u0627\u0644\u0645\u062e\u062a\u0644\u0641\u0629\u060c \u0648\u064a\u0645\u062b\u0644 \u0643\u0644 \u0645\u0646\u0647\u0627 \u062a\u0637\u0628\u064a\u0642 \u0627\u0644\u0625\u0639\u062f\u0627\u062f\u0627\u062a \u0639\u0644\u0649 \u0646\u0648\u0639 \u0627\u062a\u0635\u0627\u0644 \u0648\u0627\u062d\u062f. \u064a\u062a\u064a\u062d \u0644\u0643 \u0647\u0630\u0627 \u0627\u0644\u062d\u0635\u0648\u0644 \u0639\u0644\u0649 \u0625\u0639\u062f\u0627\u062f\u0627\u062a \u0645\u062e\u062a\u0644\u0641\u0629 \u0644\u0623\u0646\u0648\u0627\u0639 \u0627\u062a\u0635\u0627\u0644 \u0645\u062e\u062a\u0644\u0641\u0629. \u0623\u0648 \u064a\u0645\u0643\u0646\u0643 \u0627\u0644\u062d\u0635\u0648\u0644 \u0639\u0644\u0649 <code>fail2ban<\/code> \u0642\u0645 \u0628\u0645\u0631\u0627\u0642\u0628\u0629 \u0645\u062c\u0645\u0648\u0639\u0629 \u0645\u062e\u062a\u0627\u0631\u0629 \u0641\u0642\u0637 \u0645\u0646 \u0623\u0646\u0648\u0627\u0639 \u0627\u0644\u0627\u062a\u0635\u0627\u0644. <\/p>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":7,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":7,\"nbrPlacementsScanned\":7,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":556} --><\/p>\n<p>  \u0631\u0628\u0645\u0627 \u062a\u0643\u0648\u0646 \u0642\u062f \u062e\u0645\u0646\u062a \u0630\u0644\u0643 \u0645\u0646 \u0627\u0633\u0645 \u0627\u0644\u0642\u0633\u0645 (DEFAULT)\u060c \u0648\u0644\u0643\u0646 \u0627\u0644\u0625\u0639\u062f\u0627\u062f\u0627\u062a \u0627\u0644\u062a\u064a \u0646\u0638\u0631\u0646\u0627 \u0625\u0644\u064a\u0647\u0627 \u0647\u064a \u0627\u0644\u0625\u0639\u062f\u0627\u062f\u0627\u062a \u0627\u0644\u0627\u0641\u062a\u0631\u0627\u0636\u064a\u0629. \u0627\u0644\u0622\u0646\u060c \u062f\u0639\u0646\u0627 \u0646\u0644\u0642\u064a \u0646\u0638\u0631\u0629 \u0639\u0644\u0649 \u0625\u0639\u062f\u0627\u062f\u0627\u062a \u0633\u062c\u0646 SSH. <\/p>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":7,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":7,\"nbrPlacementsScanned\":7,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":725} --><\/p>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":7,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":7,\"nbrPlacementsScanned\":7,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":725} --><\/p>\n<h2 id=\"configuring-a-jail\"><span class=\"ez-toc-section\" id=\"%D8%AA%D9%83%D9%88%D9%8A%D9%86_%D8%A7%D9%84%D8%B3%D8%AC%D9%86\"><\/span>  \u062a\u0643\u0648\u064a\u0646 \u0627\u0644\u0633\u062c\u0646 <span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>  \u062a\u062a\u064a\u062d \u0644\u0643 \u0627\u0644\u0633\u062c\u0648\u0646 \u0646\u0642\u0644 \u0623\u0646\u0648\u0627\u0639 \u0627\u0644\u0627\u062a\u0635\u0627\u0644 \u062f\u0627\u062e\u0644 \u0648\u062e\u0627\u0631\u062c <code>fail2ban's<\/code> \u0627\u0644\u0645\u0631\u0627\u0642\u0628\u0629. \u0625\u0630\u0627 \u0643\u0627\u0646\u062a \u0627\u0644\u0625\u0639\u062f\u0627\u062f\u0627\u062a \u0627\u0644\u0627\u0641\u062a\u0631\u0627\u0636\u064a\u0629 \u0644\u0627 \u062a\u062a\u0637\u0627\u0628\u0642 \u0645\u0639 \u062a\u0644\u0643 \u0627\u0644\u062a\u064a \u062a\u0631\u064a\u062f \u062a\u0637\u0628\u064a\u0642\u0647\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u062c\u0646\u060c \u0641\u064a\u0645\u0643\u0646\u0643 \u062a\u0639\u064a\u064a\u0646 \u0642\u064a\u0645 \u0645\u062d\u062f\u062f\u0629 \u0644\u0640 <code>bantime<\/code>, <code>findtime<\/code>\u060c \u0648 <code>maxretry<\/code>. <\/p>\n<p><!-- Repeatable debug data: {\"injection\":\"before\",\"adPosition\":7,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":7,\"nbrPlacementsScanned\":7,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"isEarlyInjection\":false,\"actualCount\":944} --><!-- Zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"after\",\"adPosition\":8,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":8,\"nbrPlacementsScanned\":7,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"isEarlyInjection\":false,\"actualCount\":0} --><br \/>\n<!-- Repeatable debug data: {\"isEarlyInjection\":false,\"currentRuleCount\":900,\"actualCount\":0,\"hasActualCountMetThreshold\":null,\"countRemainingForInjection\":null,\"nextBlockCount\":null,\"hasCountRemainingForInjectionMetThreshold\":null} --><\/p>\n<p>  \u0642\u0645 \u0628\u0627\u0644\u062a\u0645\u0631\u064a\u0631 \u0625\u0644\u0649 \u0627\u0644\u0623\u0633\u0641\u0644 \u062d\u062a\u0649 \u0627\u0644\u0633\u0637\u0631 \u0631\u0642\u0645 280\u060c \u0648\u0633\u0648\u0641 \u062a\u0631\u0649 \u0642\u0633\u0645 (sshd). <\/p>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":8,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":8,\"nbrPlacementsScanned\":8,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":71} --><\/p>\n<div class=\"body-img landscape \">\n<div class=\"responsive-img image-expandable img-article-item\">\n<figure><img data-recalc-dims=\"1\" decoding=\"async\" width=\"646\" height=\"302\" loading=\"lazy\" alt=\"\u062a\u0645 \u0641\u062a\u062d \/etc\/fail2ban\/jail.local \u0641\u064a \u0646\u0627\u0641\u0630\u0629 gedit \u0648\u062a\u0645\u0631\u064a\u0631\u0647 \u0625\u0644\u0649 \u0627\u0644\u0633\u0637\u0631 280\" data-img-url=\"https:\/\/goodwriterz.com\/site\/wp-content\/uploads\/2024\/08\/1724924749_562_\u0643\u064a\u0641\u064a\u0629-\u062a\u0623\u0645\u064a\u0646-\u062e\u0627\u062f\u0645-Linux-\u0627\u0644\u062e\u0627\u0635-\u0628\u0643-\u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645-fail2ban.png\" src=\"https:\/\/i0.wp.com\/goodwriterz.com\/site\/wp-content\/uploads\/2024\/08\/1724924749_562_%D9%83%D9%8A%D9%81%D9%8A%D8%A9-%D8%AA%D8%A3%D9%85%D9%8A%D9%86-%D8%AE%D8%A7%D8%AF%D9%85-Linux-%D8%A7%D9%84%D8%AE%D8%A7%D8%B5-%D8%A8%D9%83-%D8%A8%D8%A7%D8%B3%D8%AA%D8%AE%D8%AF%D8%A7%D9%85-fail2ban.png?resize=646%2C302&#038;ssl=1\" style=\"height:auto;max-width:100%\" title=\"\">  <\/figure>\n<\/p><\/div>\n<\/p><\/div>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":8,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":8,\"nbrPlacementsScanned\":8,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":311} --><\/p>\n<p>  \u0647\u0646\u0627 \u064a\u0645\u0643\u0646\u0643 \u062a\u0639\u064a\u064a\u0646 \u0642\u064a\u0645 \u0633\u062c\u0646 \u0627\u062a\u0635\u0627\u0644 SSH. \u0644\u062a\u0636\u0645\u064a\u0646 \u0647\u0630\u0627 \u0627\u0644\u0633\u062c\u0646 \u0641\u064a \u0627\u0644\u0645\u0631\u0627\u0642\u0628\u0629 \u0648\u0627\u0644\u062d\u0638\u0631\u060c \u064a\u062a\u0639\u064a\u0646 \u0639\u0644\u064a\u0646\u0627 \u0643\u062a\u0627\u0628\u0629 \u0627\u0644\u0633\u0637\u0631 \u0627\u0644\u062a\u0627\u0644\u064a: <\/p>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":8,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":8,\"nbrPlacementsScanned\":8,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":462} --><\/p>\n<pre>enabled = true<\/pre>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":8,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":8,\"nbrPlacementsScanned\":8,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":478} --><\/p>\n<p>  \u0648\u0646\u0643\u062a\u0628 \u0647\u0630\u0627 \u0627\u0644\u0633\u0637\u0631 \u0623\u064a\u0636\u064b\u0627: <\/p>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":8,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":8,\"nbrPlacementsScanned\":8,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":503} --><\/p>\n<pre>maxretry = 3<\/pre>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":8,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":8,\"nbrPlacementsScanned\":8,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":517} --><\/p>\n<p>  \u0643\u0627\u0646 \u0627\u0644\u0625\u0639\u062f\u0627\u062f \u0627\u0644\u0627\u0641\u062a\u0631\u0627\u0636\u064a \u0647\u0648 \u062e\u0645\u0633\u0629\u060c \u0648\u0644\u0643\u0646\u0646\u0627 \u0646\u0631\u064a\u062f \u0623\u0646 \u0646\u0643\u0648\u0646 \u0623\u0643\u062b\u0631 \u062d\u0630\u0631\u064b\u0627 \u0645\u0639 \u0627\u062a\u0635\u0627\u0644\u0627\u062a SSH. \u0642\u0645\u0646\u0627 \u0628\u062e\u0641\u0636\u0647 \u0625\u0644\u0649 \u062b\u0644\u0627\u062b\u0629\u060c \u062b\u0645 \u0642\u0645\u0646\u0627 \u0628\u062d\u0641\u0638 \u0627\u0644\u0645\u0644\u0641 \u0648\u0625\u063a\u0644\u0627\u0642\u0647. <\/p>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":8,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":8,\"nbrPlacementsScanned\":8,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":662} --><\/p>\n<p>  \u0644\u0642\u062f \u0623\u0636\u0641\u0646\u0627 \u0647\u0630\u0627 \u0627\u0644\u0633\u062c\u0646 \u0625\u0644\u0649 <code>fail2ban's<\/code> \u0627\u0644\u0645\u0631\u0627\u0642\u0628\u0629\u060c \u0648\u062a\u062c\u0627\u0648\u0632 \u0623\u062d\u062f \u0627\u0644\u0625\u0639\u062f\u0627\u062f\u0627\u062a \u0627\u0644\u0627\u0641\u062a\u0631\u0627\u0636\u064a\u0629. \u064a\u0645\u0643\u0646 \u0644\u0644\u0633\u062c\u0646 \u0627\u0633\u062a\u062e\u062f\u0627\u0645 \u0645\u062c\u0645\u0648\u0639\u0629 \u0645\u0646 \u0627\u0644\u0625\u0639\u062f\u0627\u062f\u0627\u062a \u0627\u0644\u0627\u0641\u062a\u0631\u0627\u0636\u064a\u0629 \u0648\u0627\u0644\u0625\u0639\u062f\u0627\u062f\u0627\u062a \u0627\u0644\u062e\u0627\u0635\u0629 \u0628\u0627\u0644\u0633\u062c\u0646. <\/p>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":8,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":8,\"nbrPlacementsScanned\":8,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":822} --><\/p>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":8,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":8,\"nbrPlacementsScanned\":8,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":822} --><br \/>\n<!-- Repeatable debug data: {\"isEarlyInjection\":true,\"currentRuleCount\":900,\"actualCount\":822,\"hasActualCountMetThreshold\":true,\"countRemainingForInjection\":78,\"nextBlockCount\":176,\"hasCountRemainingForInjectionMetThreshold\":true,\"nextCount\":998} --><\/p>\n<p><!-- Repeatable debug data: {\"injection\":\"before\",\"adPosition\":8,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":8,\"nbrPlacementsScanned\":8,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"isEarlyInjection\":true,\"actualCount\":900} --><!-- Zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"after\",\"adPosition\":9,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":9,\"nbrPlacementsScanned\":8,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"isEarlyInjection\":true,\"actualCount\":0} --><\/p>\n<h2 id=\"enabling-fail2ban\"><span class=\"ez-toc-section\" id=\"%D8%AA%D9%85%D9%83%D9%8A%D9%86_fail2ban\"><\/span>  \u062a\u0645\u0643\u064a\u0646 fail2ban <span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>  \u062d\u062a\u0649 \u0627\u0644\u0622\u0646\u060c \u0642\u0645\u0646\u0627 \u0628\u0627\u0644\u062a\u062b\u0628\u064a\u062a <code>fail2ban<\/code> \u0648\u0642\u0645\u0646\u0627 \u0628\u062a\u0643\u0648\u064a\u0646\u0647. \u0627\u0644\u0622\u0646\u060c \u0639\u0644\u064a\u0646\u0627 \u062a\u0645\u0643\u064a\u0646\u0647 \u0645\u0646 \u0627\u0644\u0639\u0645\u0644 \u0643\u062e\u062f\u0645\u0629 \u0628\u062f\u0621 \u062a\u0634\u063a\u064a\u0644 \u062a\u0644\u0642\u0627\u0626\u064a. \u0628\u0639\u062f \u0630\u0644\u0643\u060c \u0646\u062d\u062a\u0627\u062c \u0625\u0644\u0649 \u0627\u062e\u062a\u0628\u0627\u0631\u0647 \u0644\u0644\u062a\u0623\u0643\u062f \u0645\u0646 \u0623\u0646\u0647 \u064a\u0639\u0645\u0644 \u0643\u0645\u0627 \u0647\u0648 \u0645\u062a\u0648\u0642\u0639. <\/p>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":9,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":9,\"nbrPlacementsScanned\":9,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":98} --><\/p>\n<p>  \u0644\u062a\u0645\u0643\u064a\u0646 <code>fail2ban<\/code> \u0643\u062e\u062f\u0645\u0629\u060c \u0646\u0633\u062a\u062e\u062f\u0645 <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/www.man7.org\/linux\/man-pages\/man1\/systemctl.1.html\"><code>systemctl<\/code>  \u064a\u0623\u0645\u0631<\/a>: <\/p>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":9,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":9,\"nbrPlacementsScanned\":9,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":162} --><\/p>\n<pre>sudo systemctl enable fail2ban<\/pre>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":9,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":9,\"nbrPlacementsScanned\":9,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":194} --><\/p>\n<p>  \u0646\u0633\u062a\u062e\u062f\u0645\u0647 \u0623\u064a\u0636\u064b\u0627 \u0644\u0628\u062f\u0621 \u0627\u0644\u062e\u062f\u0645\u0629: <\/p>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":9,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":9,\"nbrPlacementsScanned\":9,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":232} --><\/p>\n<pre>sudo systemctl start fail2ban<\/pre>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":9,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":9,\"nbrPlacementsScanned\":9,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":263} --><\/p>\n<div class=\"body-img landscape \">\n<div class=\"responsive-img image-expandable img-article-item\">\n<figure><img data-recalc-dims=\"1\" decoding=\"async\" width=\"646\" height=\"147\" loading=\"lazy\" alt=\"sudo systemctl \u062a\u0645\u0643\u064a\u0646 fail2ban \u0641\u064a \u0646\u0627\u0641\u0630\u0629 \u0627\u0644\u0645\u062d\u0637\u0629 \u0627\u0644\u0637\u0631\u0641\u064a\u0629\" data-img-url=\"https:\/\/goodwriterz.com\/site\/wp-content\/uploads\/2024\/08\/1724924750_752_\u0643\u064a\u0641\u064a\u0629-\u062a\u0623\u0645\u064a\u0646-\u062e\u0627\u062f\u0645-Linux-\u0627\u0644\u062e\u0627\u0635-\u0628\u0643-\u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645-fail2ban.png\" src=\"https:\/\/i0.wp.com\/goodwriterz.com\/site\/wp-content\/uploads\/2024\/08\/1724924750_752_%D9%83%D9%8A%D9%81%D9%8A%D8%A9-%D8%AA%D8%A3%D9%85%D9%8A%D9%86-%D8%AE%D8%A7%D8%AF%D9%85-Linux-%D8%A7%D9%84%D8%AE%D8%A7%D8%B5-%D8%A8%D9%83-%D8%A8%D8%A7%D8%B3%D8%AA%D8%AE%D8%AF%D8%A7%D9%85-fail2ban.png?resize=646%2C147&#038;ssl=1\" style=\"height:auto;max-width:100%\" title=\"\">  <\/figure>\n<\/p><\/div>\n<\/p><\/div>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":9,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":9,\"nbrPlacementsScanned\":9,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":503} --><\/p>\n<p>  \u064a\u0645\u0643\u0646\u0646\u0627 \u0627\u0644\u062a\u062d\u0642\u0642 \u0645\u0646 \u062d\u0627\u0644\u0629 \u0627\u0644\u062e\u062f\u0645\u0629 \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 <code>systemctl<\/code>\u060c \u0623\u064a\u0636\u0627\u064b: <\/p>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":9,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":9,\"nbrPlacementsScanned\":9,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":565} --><\/p>\n<pre>sudo systemctl status fail2ban.service<\/pre>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":9,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":9,\"nbrPlacementsScanned\":9,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":605} --><\/p>\n<div class=\"body-img landscape \">\n<div class=\"responsive-img image-expandable img-article-item\">\n<figure><img data-recalc-dims=\"1\" decoding=\"async\" width=\"646\" height=\"322\" loading=\"lazy\" alt=\"sudo systemctl status fail2ban.service \u0641\u064a \u0646\u0627\u0641\u0630\u0629 \u0627\u0644\u0645\u062d\u0637\u0629 \u0627\u0644\u0637\u0631\u0641\u064a\u0629\" data-img-url=\"https:\/\/goodwriterz.com\/site\/wp-content\/uploads\/2024\/08\/1724924750_949_\u0643\u064a\u0641\u064a\u0629-\u062a\u0623\u0645\u064a\u0646-\u062e\u0627\u062f\u0645-Linux-\u0627\u0644\u062e\u0627\u0635-\u0628\u0643-\u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645-fail2ban.png\" src=\"https:\/\/i0.wp.com\/goodwriterz.com\/site\/wp-content\/uploads\/2024\/08\/1724924750_949_%D9%83%D9%8A%D9%81%D9%8A%D8%A9-%D8%AA%D8%A3%D9%85%D9%8A%D9%86-%D8%AE%D8%A7%D8%AF%D9%85-Linux-%D8%A7%D9%84%D8%AE%D8%A7%D8%B5-%D8%A8%D9%83-%D8%A8%D8%A7%D8%B3%D8%AA%D8%AE%D8%AF%D8%A7%D9%85-fail2ban.png?resize=646%2C322&#038;ssl=1\" style=\"height:auto;max-width:100%\" title=\"\">  <\/figure>\n<\/p><\/div>\n<\/p><\/div>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":9,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":9,\"nbrPlacementsScanned\":9,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":845} --><\/p>\n<p>  \u0643\u0644 \u0634\u064a\u0621 \u064a\u0628\u062f\u0648 \u062c\u064a\u062f\u064b\u0627 &#8211; \u0644\u0642\u062f \u062d\u0635\u0644\u0646\u0627 \u0639\u0644\u0649 \u0627\u0644\u0636\u0648\u0621 \u0627\u0644\u0623\u062e\u0636\u0631\u060c \u0644\u0630\u0644\u0643 \u0643\u0644 \u0634\u064a\u0621 \u0639\u0644\u0649 \u0645\u0627 \u064a\u0631\u0627\u0645. <\/p>\n<p><!-- Repeatable debug data: {\"injection\":\"before\",\"adPosition\":9,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":9,\"nbrPlacementsScanned\":9,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"isEarlyInjection\":false,\"actualCount\":923} --><!-- Zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"after\",\"adPosition\":10,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":10,\"nbrPlacementsScanned\":9,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"isEarlyInjection\":false,\"actualCount\":0} --><br \/>\n<!-- Repeatable debug data: {\"isEarlyInjection\":false,\"currentRuleCount\":900,\"actualCount\":0,\"hasActualCountMetThreshold\":null,\"countRemainingForInjection\":null,\"nextBlockCount\":null,\"hasCountRemainingForInjectionMetThreshold\":null} --><\/p>\n<p>  \u062f\u0639\u0648\u0646\u0627 \u0646\u0631\u0649 \u0625\u0630\u0627 <code>fail2ban<\/code> \u064a\u062a\u0641\u0642 \u0639\u0644\u0649: <\/p>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":10,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":10,\"nbrPlacementsScanned\":10,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":35} --><\/p>\n<pre>sudo fail2ban-client status<\/pre>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":10,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":10,\"nbrPlacementsScanned\":10,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":64} --><\/p>\n<div class=\"body-img landscape \">\n<div class=\"responsive-img image-expandable img-article-item\">\n<figure><img data-recalc-dims=\"1\" decoding=\"async\" width=\"646\" height=\"132\" loading=\"lazy\" alt=\"sudo fail2ban-client status \u0641\u064a \u0646\u0627\u0641\u0630\u0629 \u0627\u0644\u0645\u062d\u0637\u0629 \u0627\u0644\u0637\u0631\u0641\u064a\u0629\" data-img-url=\"https:\/\/goodwriterz.com\/site\/wp-content\/uploads\/2024\/08\/1724924750_128_\u0643\u064a\u0641\u064a\u0629-\u062a\u0623\u0645\u064a\u0646-\u062e\u0627\u062f\u0645-Linux-\u0627\u0644\u062e\u0627\u0635-\u0628\u0643-\u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645-fail2ban.png\" src=\"https:\/\/i0.wp.com\/goodwriterz.com\/site\/wp-content\/uploads\/2024\/08\/1724924750_128_%D9%83%D9%8A%D9%81%D9%8A%D8%A9-%D8%AA%D8%A3%D9%85%D9%8A%D9%86-%D8%AE%D8%A7%D8%AF%D9%85-Linux-%D8%A7%D9%84%D8%AE%D8%A7%D8%B5-%D8%A8%D9%83-%D8%A8%D8%A7%D8%B3%D8%AA%D8%AE%D8%AF%D8%A7%D9%85-fail2ban.png?resize=646%2C132&#038;ssl=1\" style=\"height:auto;max-width:100%\" title=\"\">  <\/figure>\n<\/p><\/div>\n<\/p><\/div>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":10,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":10,\"nbrPlacementsScanned\":10,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":304} --><\/p>\n<p>  \u064a\u0639\u0643\u0633 \u0647\u0630\u0627 \u0645\u0627 \u0642\u0645\u0646\u0627 \u0628\u0625\u0639\u062f\u0627\u062f\u0647. \u0644\u0642\u062f \u0642\u0645\u0646\u0627 \u0628\u062a\u0645\u0643\u064a\u0646 \u0633\u062c\u0646 \u0648\u0627\u062d\u062f\u060c \u0628\u0627\u0633\u0645 (sshd). \u0625\u0630\u0627 \u0642\u0645\u0646\u0627 \u0628\u062a\u0636\u0645\u064a\u0646 \u0627\u0633\u0645 \u0627\u0644\u0633\u062c\u0646 \u0645\u0639 \u0627\u0644\u0623\u0645\u0631 \u0627\u0644\u0633\u0627\u0628\u0642\u060c \u0641\u064a\u0645\u0643\u0646\u0646\u0627 \u0625\u0644\u0642\u0627\u0621 \u0646\u0638\u0631\u0629 \u0623\u0639\u0645\u0642 \u0639\u0644\u064a\u0647: <\/p>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":10,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":10,\"nbrPlacementsScanned\":10,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":477} --><\/p>\n<pre>sudo fail2ban-client status sshd<\/pre>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":10,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":10,\"nbrPlacementsScanned\":10,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":511} --><\/p>\n<div class=\"body-img landscape \">\n<div class=\"responsive-img image-expandable img-article-item\">\n<figure><img data-recalc-dims=\"1\" decoding=\"async\" width=\"646\" height=\"247\" loading=\"lazy\" alt=\"sudo fail2ban-client status sshd \u0641\u064a \u0646\u0627\u0641\u0630\u0629 \u0627\u0644\u0645\u062d\u0637\u0629 \u0627\u0644\u0637\u0631\u0641\u064a\u0629\" data-img-url=\"https:\/\/goodwriterz.com\/site\/wp-content\/uploads\/2024\/08\/1724924750_630_\u0643\u064a\u0641\u064a\u0629-\u062a\u0623\u0645\u064a\u0646-\u062e\u0627\u062f\u0645-Linux-\u0627\u0644\u062e\u0627\u0635-\u0628\u0643-\u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645-fail2ban.png\" src=\"https:\/\/i0.wp.com\/goodwriterz.com\/site\/wp-content\/uploads\/2024\/08\/1724924750_630_%D9%83%D9%8A%D9%81%D9%8A%D8%A9-%D8%AA%D8%A3%D9%85%D9%8A%D9%86-%D8%AE%D8%A7%D8%AF%D9%85-Linux-%D8%A7%D9%84%D8%AE%D8%A7%D8%B5-%D8%A8%D9%83-%D8%A8%D8%A7%D8%B3%D8%AA%D8%AE%D8%AF%D8%A7%D9%85-fail2ban.png?resize=646%2C247&#038;ssl=1\" style=\"height:auto;max-width:100%\" title=\"\">  <\/figure>\n<\/p><\/div>\n<\/p><\/div>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":10,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":10,\"nbrPlacementsScanned\":10,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":751} --><\/p>\n<p>  \u062a\u0633\u0631\u062f \u0647\u0630\u0647 \u0627\u0644\u0642\u0627\u0626\u0645\u0629 \u0639\u062f\u062f \u062d\u0627\u0644\u0627\u062a \u0627\u0644\u0641\u0634\u0644 \u0648\u0639\u0646\u0627\u0648\u064a\u0646 IP \u0627\u0644\u0645\u062d\u0638\u0648\u0631\u0629. \u0628\u0627\u0644\u0637\u0628\u0639\u060c \u0643\u0644 \u0627\u0644\u0625\u062d\u0635\u0627\u0626\u064a\u0627\u062a \u062a\u0633\u0627\u0648\u064a \u0635\u0641\u0631\u064b\u0627 \u0641\u064a \u0627\u0644\u0648\u0642\u062a \u0627\u0644\u062d\u0627\u0644\u064a. <\/p>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":10,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":10,\"nbrPlacementsScanned\":10,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":865} --><\/p>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":10,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":10,\"nbrPlacementsScanned\":10,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":865} --><br \/>\n<!-- Repeatable debug data: {\"isEarlyInjection\":true,\"currentRuleCount\":900,\"actualCount\":865,\"hasActualCountMetThreshold\":true,\"countRemainingForInjection\":35,\"nextBlockCount\":199,\"hasCountRemainingForInjectionMetThreshold\":true,\"nextCount\":1064} --><\/p>\n<p><!-- Repeatable debug data: {\"injection\":\"before\",\"adPosition\":10,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":10,\"nbrPlacementsScanned\":10,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"isEarlyInjection\":true,\"actualCount\":900} --><!-- Zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"after\",\"adPosition\":11,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":11,\"nbrPlacementsScanned\":10,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"isEarlyInjection\":true,\"actualCount\":0} --><\/p>\n<h2 id=\"testing-our-jail\"><span class=\"ez-toc-section\" id=\"%D8%A7%D8%AE%D8%AA%D8%A8%D8%A7%D8%B1_%D8%B3%D8%AC%D9%86%D9%86%D8%A7\"><\/span>  \u0627\u062e\u062a\u0628\u0627\u0631 \u0633\u062c\u0646\u0646\u0627 <span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>  \u0639\u0644\u0649 \u062c\u0647\u0627\u0632 \u0643\u0645\u0628\u064a\u0648\u062a\u0631 \u0622\u062e\u0631\u060c \u0633\u0646\u0631\u0633\u0644 \u0637\u0644\u0628 \u0627\u062a\u0635\u0627\u0644 SSH \u0625\u0644\u0649 \u062c\u0647\u0627\u0632 \u0627\u0644\u0627\u062e\u062a\u0628\u0627\u0631 \u0627\u0644\u062e\u0627\u0635 \u0628\u0646\u0627 \u0648\u0633\u0646\u0643\u062a\u0628 \u0643\u0644\u0645\u0629 \u0627\u0644\u0645\u0631\u0648\u0631 \u0628\u0634\u0643\u0644 \u062e\u0627\u0637\u0626 \u0639\u0645\u062f\u064b\u0627. \u0633\u062a\u062d\u0635\u0644 \u0639\u0644\u0649 \u062b\u0644\u0627\u062b \u0645\u062d\u0627\u0648\u0644\u0627\u062a \u0644\u0644\u062d\u0635\u0648\u0644 \u0639\u0644\u0649 \u0643\u0644\u0645\u0629 \u0627\u0644\u0645\u0631\u0648\u0631 \u0627\u0644\u0635\u062d\u064a\u062d\u0629 \u0641\u064a \u0643\u0644 \u0645\u062d\u0627\u0648\u0644\u0629 \u0627\u062a\u0635\u0627\u0644. <\/p>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":11,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":11,\"nbrPlacementsScanned\":11,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":164} --><\/p>\n<p>  \u0627\u0644 <code>maxretry<\/code> \u0633\u064a\u062a\u0645 \u062a\u0634\u063a\u064a\u0644 \u0627\u0644\u0642\u064a\u0645\u0629 \u0628\u0639\u062f \u062b\u0644\u0627\u062b \u0645\u062d\u0627\u0648\u0644\u0627\u062a \u0627\u062a\u0635\u0627\u0644 \u0641\u0627\u0634\u0644\u0629\u060c \u0648\u0644\u064a\u0633 \u062b\u0644\u0627\u062b \u0645\u062d\u0627\u0648\u0644\u0627\u062a \u0641\u0627\u0634\u0644\u0629 \u0644\u0625\u062f\u062e\u0627\u0644 \u0643\u0644\u0645\u0629 \u0645\u0631\u0648\u0631. \u0644\u0630\u0627\u060c \u064a\u062a\u0639\u064a\u0646 \u0639\u0644\u064a\u0646\u0627 \u0643\u062a\u0627\u0628\u0629 \u0643\u0644\u0645\u0629 \u0645\u0631\u0648\u0631 \u063a\u064a\u0631 \u0635\u062d\u064a\u062d\u0629 \u062b\u0644\u0627\u062b \u0645\u0631\u0627\u062a \u0644\u0625\u062e\u0641\u0627\u0642 \u0645\u062d\u0627\u0648\u0644\u0629 \u0627\u0644\u0627\u062a\u0635\u0627\u0644 \u0627\u0644\u0623\u0648\u0644\u0649. <\/p>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":11,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":11,\"nbrPlacementsScanned\":11,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":359} --><\/p>\n<p>  \u0633\u0646\u062d\u0627\u0648\u0644 \u0628\u0639\u062f \u0630\u0644\u0643 \u0625\u062c\u0631\u0627\u0621 \u0645\u062d\u0627\u0648\u0644\u0629 \u0627\u062a\u0635\u0627\u0644 \u0623\u062e\u0631\u0649 \u0648\u0646\u0643\u062a\u0628 \u0643\u0644\u0645\u0629 \u0627\u0644\u0645\u0631\u0648\u0631 \u0628\u0634\u0643\u0644 \u063a\u064a\u0631 \u0635\u062d\u064a\u062d \u062b\u0644\u0627\u062b \u0645\u0631\u0627\u062a \u0623\u062e\u0631\u0649. \u064a\u062c\u0628 \u0623\u0646 \u062a\u0624\u062f\u064a \u0645\u062d\u0627\u0648\u0644\u0629 \u0625\u062f\u062e\u0627\u0644 \u0643\u0644\u0645\u0629 \u0627\u0644\u0645\u0631\u0648\u0631 \u063a\u064a\u0631 \u0627\u0644\u0635\u062d\u064a\u062d\u0629 \u0627\u0644\u0623\u0648\u0644\u0649 \u0641\u064a \u0637\u0644\u0628 \u0627\u0644\u0627\u062a\u0635\u0627\u0644 \u0627\u0644\u062b\u0627\u0644\u062b \u0625\u0644\u0649 \u062a\u0634\u063a\u064a\u0644 <code>fail2ban.<\/code> <\/p>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":11,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":11,\"nbrPlacementsScanned\":11,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":556} --><\/p>\n<div class=\"body-img landscape \">\n<div class=\"responsive-img image-expandable img-article-item\">\n<figure><img data-recalc-dims=\"1\" decoding=\"async\" width=\"646\" height=\"367\" loading=\"lazy\" alt=\"ssh dave@ubtuntu20-04.local \u0641\u064a \u0646\u0627\u0641\u0630\u0629 \u0637\u0631\u0641\u064a\u0629 \u0645\u0639 \u0627\u0644\u0639\u062f\u064a\u062f \u0645\u0646 \u0645\u062d\u0627\u0648\u0644\u0627\u062a \u0625\u062f\u062e\u0627\u0644 \u0643\u0644\u0645\u0629 \u0627\u0644\u0645\u0631\u0648\u0631 \u0627\u0644\u0641\u0627\u0634\u0644\u0629\" data-img-url=\"https:\/\/goodwriterz.com\/site\/wp-content\/uploads\/2024\/08\/1724924751_761_\u0643\u064a\u0641\u064a\u0629-\u062a\u0623\u0645\u064a\u0646-\u062e\u0627\u062f\u0645-Linux-\u0627\u0644\u062e\u0627\u0635-\u0628\u0643-\u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645-fail2ban.png\" src=\"https:\/\/i0.wp.com\/goodwriterz.com\/site\/wp-content\/uploads\/2024\/08\/1724924751_761_%D9%83%D9%8A%D9%81%D9%8A%D8%A9-%D8%AA%D8%A3%D9%85%D9%8A%D9%86-%D8%AE%D8%A7%D8%AF%D9%85-Linux-%D8%A7%D9%84%D8%AE%D8%A7%D8%B5-%D8%A8%D9%83-%D8%A8%D8%A7%D8%B3%D8%AA%D8%AE%D8%AF%D8%A7%D9%85-fail2ban.png?resize=646%2C367&#038;ssl=1\" style=\"height:auto;max-width:100%\" title=\"\">  <\/figure>\n<\/p><\/div>\n<\/p><\/div>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":11,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":11,\"nbrPlacementsScanned\":11,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":796} --><\/p>\n<p>  \u0628\u0639\u062f \u0625\u062f\u062e\u0627\u0644 \u0643\u0644\u0645\u0629 \u0645\u0631\u0648\u0631 \u063a\u064a\u0631 \u0635\u062d\u064a\u062d\u0629 \u0644\u0644\u0645\u0631\u0629 \u0627\u0644\u0623\u0648\u0644\u0649 \u0641\u064a \u0637\u0644\u0628 \u0627\u0644\u0627\u062a\u0635\u0627\u0644 \u0627\u0644\u062b\u0627\u0644\u062b\u060c \u0644\u0645 \u0646\u062a\u0644\u0642 \u0623\u064a \u0631\u062f \u0645\u0646 \u0627\u0644\u062c\u0647\u0627\u0632 \u0627\u0644\u0628\u0639\u064a\u062f. \u0648\u0644\u0645 \u0646\u062a\u0644\u0642 \u0623\u064a \u062a\u0641\u0633\u064a\u0631\u061b \u0628\u0644 \u062a\u0644\u0642\u064a\u0646\u0627 \u0641\u0642\u0637 \u0627\u0644\u062a\u062c\u0627\u0647\u0644. <\/p>\n<p><!-- Repeatable debug data: {\"injection\":\"before\",\"adPosition\":11,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":11,\"nbrPlacementsScanned\":11,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"isEarlyInjection\":false,\"actualCount\":983} --><!-- Zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"after\",\"adPosition\":12,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":12,\"nbrPlacementsScanned\":11,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"isEarlyInjection\":false,\"actualCount\":0} --><br \/>\n<!-- Repeatable debug data: {\"isEarlyInjection\":false,\"currentRuleCount\":900,\"actualCount\":0,\"hasActualCountMetThreshold\":null,\"countRemainingForInjection\":null,\"nextBlockCount\":null,\"hasCountRemainingForInjectionMetThreshold\":null} --><\/p>\n<p>  \u064a\u062c\u0628 \u0639\u0644\u064a\u0643 \u0627\u0644\u0636\u063a\u0637 \u0639\u0644\u0649 Ctrl+C \u0644\u0644\u0639\u0648\u062f\u0629 \u0625\u0644\u0649 \u0645\u0648\u062c\u0647 \u0627\u0644\u0623\u0648\u0627\u0645\u0631. \u0625\u0630\u0627 \u062d\u0627\u0648\u0644\u0646\u0627 \u0645\u0631\u0629 \u0623\u062e\u0631\u0649\u060c \u0641\u0633\u0646\u062d\u0635\u0644 \u0639\u0644\u0649 \u0627\u0633\u062a\u062c\u0627\u0628\u0629 \u0645\u062e\u062a\u0644\u0641\u0629: <\/p>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":12,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":12,\"nbrPlacementsScanned\":12,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":113} --><\/p>\n<pre>ssh dave@ubuntu20-04.local<\/pre>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":12,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":12,\"nbrPlacementsScanned\":12,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":141} --><\/p>\n<div class=\"body-img landscape \">\n<div class=\"responsive-img image-expandable img-article-item\">\n<figure><img data-recalc-dims=\"1\" decoding=\"async\" width=\"646\" height=\"97\" loading=\"lazy\" alt=\"ssh dave@ubuntu20-04.local \u0641\u064a \u0646\u0627\u0641\u0630\u0629 \u0627\u0644\u0645\u062d\u0637\u0629 \u0627\u0644\u0637\u0631\u0641\u064a\u0629 \u0645\u0639 \u0627\u0633\u062a\u062c\u0627\u0628\u0629 \u0631\u0641\u0636 \u0627\u0644\u0627\u062a\u0635\u0627\u0644\" data-img-url=\"https:\/\/goodwriterz.com\/site\/wp-content\/uploads\/2024\/08\/1724924751_56_\u0643\u064a\u0641\u064a\u0629-\u062a\u0623\u0645\u064a\u0646-\u062e\u0627\u062f\u0645-Linux-\u0627\u0644\u062e\u0627\u0635-\u0628\u0643-\u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645-fail2ban.png\" src=\"https:\/\/i0.wp.com\/goodwriterz.com\/site\/wp-content\/uploads\/2024\/08\/1724924751_56_%D9%83%D9%8A%D9%81%D9%8A%D8%A9-%D8%AA%D8%A3%D9%85%D9%8A%D9%86-%D8%AE%D8%A7%D8%AF%D9%85-Linux-%D8%A7%D9%84%D8%AE%D8%A7%D8%B5-%D8%A8%D9%83-%D8%A8%D8%A7%D8%B3%D8%AA%D8%AE%D8%AF%D8%A7%D9%85-fail2ban.png?resize=646%2C97&#038;ssl=1\" style=\"height:auto;max-width:100%\" title=\"\">  <\/figure>\n<\/p><\/div>\n<\/p><\/div>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":12,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":12,\"nbrPlacementsScanned\":12,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":381} --><\/p>\n<p>  \u0641\u064a \u0627\u0644\u0633\u0627\u0628\u0642\u060c \u0643\u0627\u0646\u062a \u0631\u0633\u0627\u0644\u0629 \u0627\u0644\u062e\u0637\u0623 &#8220;\u0631\u0641\u0636 \u0627\u0644\u0625\u0630\u0646&#8221;. \u0647\u0630\u0647 \u0627\u0644\u0645\u0631\u0629\u060c \u062a\u0645 \u0631\u0641\u0636 \u0627\u0644\u0627\u062a\u0635\u0627\u0644 \u062a\u0645\u0627\u0645\u064b\u0627. \u0646\u062d\u0646 \u0623\u0634\u062e\u0627\u0635 \u063a\u064a\u0631 \u0645\u0631\u063a\u0648\u0628 \u0641\u064a\u0647\u0645. \u0644\u0642\u062f \u062a\u0645 \u062d\u0638\u0631\u0646\u0627. <\/p>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":12,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":12,\"nbrPlacementsScanned\":12,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":546} --><\/p>\n<p>  \u062f\u0639\u0648\u0646\u0627 \u0646\u0644\u0642\u064a \u0646\u0638\u0631\u0629 \u0639\u0644\u0649 \u062a\u0641\u0627\u0635\u064a\u0644 \u0633\u062c\u0646 (sshd) \u0645\u0631\u0629 \u0623\u062e\u0631\u0649: <\/p>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":12,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":12,\"nbrPlacementsScanned\":12,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":603} --><\/p>\n<pre>sudo fail2ban-client status sshd<\/pre>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":12,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":12,\"nbrPlacementsScanned\":12,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":637} --><\/p>\n<div class=\"body-img landscape \">\n<div class=\"responsive-img image-expandable img-article-item\">\n<figure><img data-recalc-dims=\"1\" decoding=\"async\" width=\"646\" height=\"247\" loading=\"lazy\" alt=\"sudo fail2ban-client status sshd \u0641\u064a \u0646\u0627\u0641\u0630\u0629 \u0627\u0644\u0645\u062d\u0637\u0629 \u0627\u0644\u0637\u0631\u0641\u064a\u0629\" data-img-url=\"https:\/\/goodwriterz.com\/site\/wp-content\/uploads\/2024\/08\/1724924751_258_\u0643\u064a\u0641\u064a\u0629-\u062a\u0623\u0645\u064a\u0646-\u062e\u0627\u062f\u0645-Linux-\u0627\u0644\u062e\u0627\u0635-\u0628\u0643-\u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645-fail2ban.png\" src=\"https:\/\/i0.wp.com\/goodwriterz.com\/site\/wp-content\/uploads\/2024\/08\/1724924751_258_%D9%83%D9%8A%D9%81%D9%8A%D8%A9-%D8%AA%D8%A3%D9%85%D9%8A%D9%86-%D8%AE%D8%A7%D8%AF%D9%85-Linux-%D8%A7%D9%84%D8%AE%D8%A7%D8%B5-%D8%A8%D9%83-%D8%A8%D8%A7%D8%B3%D8%AA%D8%AE%D8%AF%D8%A7%D9%85-fail2ban.png?resize=646%2C247&#038;ssl=1\" style=\"height:auto;max-width:100%\" title=\"\">  <\/figure>\n<\/p><\/div>\n<\/p><\/div>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":12,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":12,\"nbrPlacementsScanned\":12,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":877} --><br \/>\n<!-- Repeatable debug data: {\"isEarlyInjection\":true,\"currentRuleCount\":900,\"actualCount\":877,\"hasActualCountMetThreshold\":true,\"countRemainingForInjection\":23,\"nextBlockCount\":74,\"hasCountRemainingForInjectionMetThreshold\":true,\"nextCount\":951} --><\/p>\n<p><!-- Repeatable debug data: {\"injection\":\"before\",\"adPosition\":12,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":12,\"nbrPlacementsScanned\":12,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"isEarlyInjection\":true,\"actualCount\":900} --><!-- Zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"after\",\"adPosition\":13,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":13,\"nbrPlacementsScanned\":12,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"isEarlyInjection\":true,\"actualCount\":0} --><\/p>\n<p>  \u0643\u0627\u0646\u062a \u0647\u0646\u0627\u0643 \u062b\u0644\u0627\u062b \u062d\u0627\u0644\u0627\u062a \u0641\u0634\u0644\u060c \u0648\u062a\u0645 \u062d\u0638\u0631 \u0639\u0646\u0648\u0627\u0646 IP \u0648\u0627\u062d\u062f (192.168.4.25). <\/p>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":13,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":13,\"nbrPlacementsScanned\":13,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":51} --><\/p>\n<p>  \u0643\u0645\u0627 \u0630\u0643\u0631\u0646\u0627 \u0633\u0627\u0628\u0642\u0627\u060c <code>fail2ban<\/code> \u064a\u0641\u0631\u0636 \u0627\u0644\u062d\u0638\u0631 \u0639\u0646 \u0637\u0631\u064a\u0642 \u0625\u0636\u0627\u0641\u0629 \u0642\u0648\u0627\u0639\u062f \u0625\u0644\u0649 \u0645\u062c\u0645\u0648\u0639\u0629 \u0642\u0648\u0627\u0639\u062f \u062c\u062f\u0627\u0631 \u0627\u0644\u062d\u0645\u0627\u064a\u0629. \u062f\u0639\u0646\u0627 \u0646\u0644\u0642\u064a \u0646\u0638\u0631\u0629 \u0623\u062e\u0631\u0649 \u0639\u0644\u0649 \u0645\u062c\u0645\u0648\u0639\u0629 \u0627\u0644\u0642\u0648\u0627\u0639\u062f (\u0643\u0627\u0646\u062a \u0641\u0627\u0631\u063a\u0629 \u0645\u0646 \u0642\u0628\u0644): <\/p>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":13,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":13,\"nbrPlacementsScanned\":13,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":210} --><\/p>\n<pre>sudo iptables -L<\/pre>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":13,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":13,\"nbrPlacementsScanned\":13,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":228} --><\/p>\n<div class=\"body-img landscape \">\n<div class=\"responsive-img image-expandable img-article-item\">\n<figure><img data-recalc-dims=\"1\" decoding=\"async\" width=\"646\" height=\"367\" loading=\"lazy\" alt=\"sudo iptables -L \u0641\u064a \u0646\u0627\u0641\u0630\u0629 \u0627\u0644\u0645\u062d\u0637\u0629 \u0627\u0644\u0637\u0631\u0641\u064a\u0629\" data-img-url=\"https:\/\/goodwriterz.com\/site\/wp-content\/uploads\/2024\/08\/1724924751_219_\u0643\u064a\u0641\u064a\u0629-\u062a\u0623\u0645\u064a\u0646-\u062e\u0627\u062f\u0645-Linux-\u0627\u0644\u062e\u0627\u0635-\u0628\u0643-\u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645-fail2ban.png\" src=\"https:\/\/i0.wp.com\/goodwriterz.com\/site\/wp-content\/uploads\/2024\/08\/1724924751_219_%D9%83%D9%8A%D9%81%D9%8A%D8%A9-%D8%AA%D8%A3%D9%85%D9%8A%D9%86-%D8%AE%D8%A7%D8%AF%D9%85-Linux-%D8%A7%D9%84%D8%AE%D8%A7%D8%B5-%D8%A8%D9%83-%D8%A8%D8%A7%D8%B3%D8%AA%D8%AE%D8%AF%D8%A7%D9%85-fail2ban.png?resize=646%2C367&#038;ssl=1\" style=\"height:auto;max-width:100%\" title=\"\">  <\/figure>\n<\/p><\/div>\n<\/p><\/div>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":13,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":13,\"nbrPlacementsScanned\":13,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":468} --><\/p>\n<p>  \u062a\u0645\u062a \u0625\u0636\u0627\u0641\u0629 \u0642\u0627\u0639\u062f\u0629 \u0625\u0644\u0649 \u0633\u064a\u0627\u0633\u0629 INPUT\u060c \u0645\u0645\u0627 \u064a\u0624\u062f\u064a \u0625\u0644\u0649 \u0625\u0631\u0633\u0627\u0644 \u062d\u0631\u0643\u0629 \u0645\u0631\u0648\u0631 SSH \u0625\u0644\u0649 <code>f2b-sshd<\/code> \u0627\u0644\u0633\u0644\u0633\u0644\u0629. \u0627\u0644\u0642\u0627\u0639\u062f\u0629 \u0641\u064a <code>f2b-sshd<\/code> \u062a\u0631\u0641\u0636 \u0627\u0644\u0633\u0644\u0633\u0644\u0629 \u0627\u062a\u0635\u0627\u0644\u0627\u062a SSH \u0645\u0646 192.168.4.25. \u0644\u0645 \u0646\u063a\u064a\u0631 \u0627\u0644\u0625\u0639\u062f\u0627\u062f \u0627\u0644\u0627\u0641\u062a\u0631\u0627\u0636\u064a \u0644\u0640 <code>bantime<\/code>\u0644\u0630\u0627\u060c \u0641\u064a \u063a\u0636\u0648\u0646 10 \u062f\u0642\u0627\u0626\u0642\u060c \u0633\u064a\u062a\u0645 \u0625\u0644\u063a\u0627\u0621 \u062d\u0638\u0631 \u0639\u0646\u0648\u0627\u0646 IP \u0647\u0630\u0627 \u0648\u064a\u0645\u0643\u0646\u0643 \u0625\u062c\u0631\u0627\u0621 \u0637\u0644\u0628\u0627\u062a \u0627\u062a\u0635\u0627\u0644 \u062c\u062f\u064a\u062f\u0629. <\/p>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":13,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":13,\"nbrPlacementsScanned\":13,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":774} --><\/p>\n<p>  \u0625\u0630\u0627 \u0642\u0645\u062a \u0628\u062a\u0639\u064a\u064a\u0646 \u0645\u062f\u0629 \u062d\u0638\u0631 \u0623\u0637\u0648\u0644 (\u0645\u062b\u0644 \u0639\u062f\u0629 \u0633\u0627\u0639\u0627\u062a)\u060c \u0648\u0644\u0643\u0646\u0643 \u062a\u0631\u064a\u062f \u0627\u0644\u0633\u0645\u0627\u062d \u0644\u0639\u0646\u0648\u0627\u0646 IP \u0628\u0625\u062c\u0631\u0627\u0621 \u0637\u0644\u0628 \u0627\u062a\u0635\u0627\u0644 \u0622\u062e\u0631 \u0641\u064a \u0648\u0642\u062a \u0623\u0642\u0631\u0628\u060c \u0641\u064a\u0645\u0643\u0646\u0643 \u0627\u0644\u0633\u0645\u0627\u062d \u0644\u0647 \u0628\u0630\u0644\u0643 \u0645\u0628\u0643\u0631\u064b\u0627. <\/p>\n<p><!-- Repeatable debug data: {\"injection\":\"before\",\"adPosition\":13,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":13,\"nbrPlacementsScanned\":13,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"isEarlyInjection\":false,\"actualCount\":930} --><!-- Zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"after\",\"adPosition\":14,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":14,\"nbrPlacementsScanned\":13,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"isEarlyInjection\":false,\"actualCount\":0} --><br \/>\n<!-- Repeatable debug data: {\"isEarlyInjection\":false,\"currentRuleCount\":900,\"actualCount\":0,\"hasActualCountMetThreshold\":null,\"countRemainingForInjection\":null,\"nextBlockCount\":null,\"hasCountRemainingForInjectionMetThreshold\":null} --><\/p>\n<p>  \u0646\u0643\u062a\u0628 \u0645\u0627 \u064a\u0644\u064a \u0644\u0644\u0642\u064a\u0627\u0645 \u0628\u0630\u0644\u0643: <\/p>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":14,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":14,\"nbrPlacementsScanned\":14,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":35} --><\/p>\n<pre>sudo fail2ban-client set sshd unbanip 192.168.5.25<\/pre>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":14,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":14,\"nbrPlacementsScanned\":14,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":87} --><\/p>\n<div class=\"body-img landscape \">\n<div class=\"responsive-img image-expandable img-article-item\">\n<figure><img data-recalc-dims=\"1\" decoding=\"async\" width=\"646\" height=\"57\" loading=\"lazy\" alt=\"sudo fail2ban-client \u062a\u0639\u064a\u064a\u0646 sshd unbanip 192.168.5.25 \u0641\u064a \u0646\u0627\u0641\u0630\u0629 \u0627\u0644\u0645\u062d\u0637\u0629 \u0627\u0644\u0637\u0631\u0641\u064a\u0629\" data-img-url=\"https:\/\/goodwriterz.com\/site\/wp-content\/uploads\/2024\/08\/1724924752_995_\u0643\u064a\u0641\u064a\u0629-\u062a\u0623\u0645\u064a\u0646-\u062e\u0627\u062f\u0645-Linux-\u0627\u0644\u062e\u0627\u0635-\u0628\u0643-\u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645-fail2ban.png\" src=\"https:\/\/i0.wp.com\/goodwriterz.com\/site\/wp-content\/uploads\/2024\/08\/1724924752_995_%D9%83%D9%8A%D9%81%D9%8A%D8%A9-%D8%AA%D8%A3%D9%85%D9%8A%D9%86-%D8%AE%D8%A7%D8%AF%D9%85-Linux-%D8%A7%D9%84%D8%AE%D8%A7%D8%B5-%D8%A8%D9%83-%D8%A8%D8%A7%D8%B3%D8%AA%D8%AE%D8%AF%D8%A7%D9%85-fail2ban.png?resize=646%2C57&#038;ssl=1\" style=\"height:auto;max-width:100%\" title=\"\">  <\/figure>\n<\/p><\/div>\n<\/p><\/div>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":14,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":14,\"nbrPlacementsScanned\":14,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":327} --><\/p>\n<p>  \u0639\u0644\u0649 \u062c\u0647\u0627\u0632 \u0627\u0644\u0643\u0645\u0628\u064a\u0648\u062a\u0631 \u0627\u0644\u0628\u0639\u064a\u062f \u0627\u0644\u062e\u0627\u0635 \u0628\u0646\u0627\u060c \u0625\u0630\u0627 \u0642\u0645\u0646\u0627 \u0628\u0625\u062c\u0631\u0627\u0621 \u0637\u0644\u0628 \u0627\u062a\u0635\u0627\u0644 SSH \u0622\u062e\u0631 \u0648\u0643\u062a\u0628\u0646\u0627 \u0643\u0644\u0645\u0629 \u0627\u0644\u0645\u0631\u0648\u0631 \u0627\u0644\u0635\u062d\u064a\u062d\u0629\u060c \u0641\u0633\u0648\u0641 \u064a\u064f\u0633\u0645\u062d \u0644\u0646\u0627 \u0628\u0627\u0644\u0627\u062a\u0635\u0627\u0644: <\/p>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":14,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":14,\"nbrPlacementsScanned\":14,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":458} --><\/p>\n<pre>ssh dave@ubuntu20-04.local<\/pre>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":14,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":14,\"nbrPlacementsScanned\":14,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":486} --><\/p>\n<div class=\"body-img landscape \">\n<div class=\"responsive-img image-expandable img-article-item\">\n<figure><img data-recalc-dims=\"1\" decoding=\"async\" width=\"646\" height=\"322\" loading=\"lazy\" alt=\"ssh dave@ubuntu20-04.local \u0641\u064a \u0646\u0627\u0641\u0630\u0629 \u0627\u0644\u0645\u062d\u0637\u0629 \u0627\u0644\u0637\u0631\u0641\u064a\u0629\" data-img-url=\"https:\/\/goodwriterz.com\/site\/wp-content\/uploads\/2024\/08\/1724924752_442_\u0643\u064a\u0641\u064a\u0629-\u062a\u0623\u0645\u064a\u0646-\u062e\u0627\u062f\u0645-Linux-\u0627\u0644\u062e\u0627\u0635-\u0628\u0643-\u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645-fail2ban.png\" src=\"https:\/\/i0.wp.com\/goodwriterz.com\/site\/wp-content\/uploads\/2024\/08\/1724924752_442_%D9%83%D9%8A%D9%81%D9%8A%D8%A9-%D8%AA%D8%A3%D9%85%D9%8A%D9%86-%D8%AE%D8%A7%D8%AF%D9%85-Linux-%D8%A7%D9%84%D8%AE%D8%A7%D8%B5-%D8%A8%D9%83-%D8%A8%D8%A7%D8%B3%D8%AA%D8%AE%D8%AF%D8%A7%D9%85-fail2ban.png?resize=646%2C322&#038;ssl=1\" style=\"height:auto;max-width:100%\" title=\"\">  <\/figure>\n<\/p><\/div>\n<\/p><\/div>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":14,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":14,\"nbrPlacementsScanned\":14,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":726} --><\/p>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":14,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":14,\"nbrPlacementsScanned\":14,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":726} --><\/p>\n<h2 id=\"simple-and-effective\"><span class=\"ez-toc-section\" id=\"%D8%A8%D8%B3%D9%8A%D8%B7%D8%A9_%D9%88%D9%81%D8%B9%D8%A7%D9%84%D8%A9\"><\/span>  \u0628\u0633\u064a\u0637\u0629 \u0648\u0641\u0639\u0627\u0644\u0629 <span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>  \u0627\u0644\u0623\u0628\u0633\u0637 \u0647\u0648 \u0627\u0644\u0623\u0641\u0636\u0644 \u0639\u0627\u062f\u0629\u064b\u060c <code>fail2ban<\/code> \u064a\u0639\u062f \u0647\u0630\u0627 \u062d\u0644\u0627\u064b \u0623\u0646\u064a\u0642\u064b\u0627 \u0644\u0645\u0634\u0643\u0644\u0629 \u0645\u0639\u0642\u062f\u0629. \u0641\u0647\u0648 \u0644\u0627 \u064a\u062a\u0637\u0644\u0628 \u0633\u0648\u0649 \u0642\u062f\u0631 \u0636\u0626\u064a\u0644 \u0645\u0646 \u0627\u0644\u062a\u0643\u0648\u064a\u0646 \u0648\u0644\u0627 \u064a\u0641\u0631\u0636 \u0623\u064a \u062a\u0643\u0627\u0644\u064a\u0641 \u062a\u0634\u063a\u064a\u0644\u064a\u0629 \u062a\u0642\u0631\u064a\u0628\u064b\u0627 &#8211; \u0639\u0644\u064a\u0643 \u0623\u0648 \u0639\u0644\u0649 \u062c\u0647\u0627\u0632 \u0627\u0644\u0643\u0645\u0628\u064a\u0648\u062a\u0631 \u0627\u0644\u062e\u0627\u0635 \u0628\u0643. <\/p>\n<p><!-- Repeatable debug data: {\"injection\":\"before\",\"adPosition\":14,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":14,\"nbrPlacementsScanned\":14,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"isEarlyInjection\":false,\"actualCount\":923} --><!-- Zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"after\",\"adPosition\":15,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":15,\"nbrPlacementsScanned\":14,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"isEarlyInjection\":false,\"actualCount\":0} --><br \/>\n<!-- Repeatable debug data: {\"isEarlyInjection\":false,\"currentRuleCount\":900,\"actualCount\":0,\"hasActualCountMetThreshold\":null,\"countRemainingForInjection\":null,\"nextBlockCount\":null,\"hasCountRemainingForInjectionMetThreshold\":null} --><\/p>\n<p><!-- No repeatable ad for zone: character count repeatable. --><!-- Repeatable debug data: {\"injection\":\"none\",\"adPosition\":15,\"startingPoint\":0,\"skipEvery\":null,\"nbrPlacementFilledEachSkip\":15,\"nbrPlacementsScanned\":15,\"ruleCount\":900,\"degradationStartingPoint\":1,\"stopAds\":null,\"actualCount\":320} --><\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u0627\u0644\u0646\u0642\u0627\u0637 \u0627\u0644\u0631\u0626\u064a\u0633\u064a\u0629 fail2ban \u0639\u0628\u0627\u0631\u0629 \u0639\u0646 \u0623\u062f\u0627\u0629 \u0623\u0645\u0627\u0646 \u0630\u0627\u062a\u064a\u0629 \u0627\u0644\u062a\u0646\u0638\u064a\u0645 \u0644\u0646\u0638\u0627\u0645 Linux \u062a\u0639\u0645\u0644 \u0639\u0644\u0649 \u062d\u0638\u0631 \u0639\u0646\u0627\u0648\u064a\u0646 IP \u062a\u0644\u0642\u0627\u0626\u064a\u064b\u0627 \u0641\u064a \u062d\u0627\u0644\u0629 \u062d\u062f\u0648\u062b \u0627\u0644\u0639\u062f\u064a\u062f \u0645\u0646 \u062d\u0627\u0644\u0627\u062a \u0641\u0634\u0644 \u0627\u0644\u0627\u062a\u0635\u0627\u0644. \u064a\u062a\u0643\u0627\u0645\u0644 \u0645\u0639 \u062c\u062f\u0627\u0631 \u062d\u0645\u0627\u064a\u0629 Linux (iptables) \u0648\u064a\u0646\u0641\u0630 \u0639\u0645\u0644\u064a\u0627\u062a \u0627\u0644\u062d\u0638\u0631 \u0639\u0646 \u0637\u0631\u064a\u0642 \u0625\u0636\u0627\u0641\u0629 \u0642\u0648\u0627\u0639\u062f \u0625\u0644\u0649 \u062c\u062f\u0627\u0631 \u0627\u0644\u062d\u0645\u0627\u064a\u0629\u060c \u0645\u0639 \u062a\u0631\u0643 \u0648\u0638\u0627\u0626\u0641 \u062c\u062f\u0627\u0631 \u0627\u0644\u062d\u0645\u0627\u064a\u0629 \u0627\u0644\u0639\u0627\u062f\u064a\u0629 \u062f\u0648\u0646 \u0645\u0633\u0627\u0633. \u064a\u0645\u0643\u0646 \u062a\u0643\u0648\u064a\u0646 fail2ban \u0639\u0646 \u0637\u0631\u064a\u0642 \u0646\u0633\u062e &#8230; <a title=\"\u0643\u064a\u0641\u064a\u0629 \u062a\u0623\u0645\u064a\u0646 \u062e\u0627\u062f\u0645 Linux \u0627\u0644\u062e\u0627\u0635 \u0628\u0643 \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 fail2ban\" class=\"read-more\" href=\"https:\/\/goodwriterz.com\/site\/%d9%83%d9%8a%d9%81%d9%8a%d8%a9-%d8%aa%d8%a3%d9%85%d9%8a%d9%86-%d8%ae%d8%a7%d8%af%d9%85-linux-%d8%a7%d9%84%d8%ae%d8%a7%d8%b5-%d8%a8%d9%83-%d8%a8%d8%a7%d8%b3%d8%aa%d8%ae%d8%af%d8%a7%d9%85-fail2ban\/\" aria-label=\"Read more about \u0643\u064a\u0641\u064a\u0629 \u062a\u0623\u0645\u064a\u0646 \u062e\u0627\u062f\u0645 Linux \u0627\u0644\u062e\u0627\u0635 \u0628\u0643 \u0628\u0627\u0633\u062a\u062e\u062f\u0627\u0645 fail2ban\">\u0625\u0642\u0631\u0623 \u0627\u0644\u0645\u0632\u064a\u062f<\/a><\/p>\n","protected":false},"author":1,"featured_media":19354,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[22],"tags":[42,979],"class_list":["post-19353","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cybersecurity","tag-linux","tag----2023"],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/goodwriterz.com\/site\/wp-content\/uploads\/2024\/08\/%D9%83%D9%8A%D9%81%D9%8A%D8%A9-%D8%AA%D8%A3%D9%85%D9%8A%D9%86-%D8%AE%D8%A7%D8%AF%D9%85-Linux-%D8%A7%D9%84%D8%AE%D8%A7%D8%B5-%D8%A8%D9%83-%D8%A8%D8%A7%D8%B3%D8%AA%D8%AE%D8%AF%D8%A7%D9%85-fail2ban.jpg?fit=1920%2C1080&ssl=1","jetpack_sharing_enabled":true,"jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/goodwriterz.com\/site\/wp-json\/wp\/v2\/posts\/19353","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/goodwriterz.com\/site\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/goodwriterz.com\/site\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/goodwriterz.com\/site\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/goodwriterz.com\/site\/wp-json\/wp\/v2\/comments?post=19353"}],"version-history":[{"count":0,"href":"https:\/\/goodwriterz.com\/site\/wp-json\/wp\/v2\/posts\/19353\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/goodwriterz.com\/site\/wp-json\/wp\/v2\/media\/19354"}],"wp:attachment":[{"href":"https:\/\/goodwriterz.com\/site\/wp-json\/wp\/v2\/media?parent=19353"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/goodwriterz.com\/site\/wp-json\/wp\/v2\/categories?post=19353"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/goodwriterz.com\/site\/wp-json\/wp\/v2\/tags?post=19353"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}