{"id":314,"date":"2011-06-10T12:23:02","date_gmt":"2011-06-10T10:23:02","guid":{"rendered":"http:\/\/antynet.pl\/?p=314"},"modified":"2011-06-10T12:23:32","modified_gmt":"2011-06-10T10:23:32","slug":"apache2-mod_evasive","status":"publish","type":"post","link":"https:\/\/www.antynet.pl\/index.php\/2011\/06\/10\/apache2-mod_evasive\/","title":{"rendered":"Apache2 &#8211; mod_evasive"},"content":{"rendered":"<p>Skoro dzi\u015b tak o DoS i DDoS to nie mo\u017ce zabrakn\u0105\u0107 mod_mod_evasive dla apache2.<\/p>\n<p>apt-get install libapache2-mod-evasive<\/p>\n<p>mcedit \/etc\/apache2\/mods-available\/mod-evasive.load<\/p>\n<p>i wpisujemy:<\/p>\n<p>#################################<\/p>\n<div id=\"_mcePaste\" style=\"position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;\">LoadModule evasive20_module \/usr\/lib\/apache2\/modules\/mod_evasive20.so<\/div>\n<div id=\"_mcePaste\" style=\"position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;\">#&lt;IfModule \u00a0mod_evasive20.c&gt;<\/div>\n<div id=\"_mcePaste\" style=\"position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;\">DOSHashTableSize 3097<\/div>\n<div id=\"_mcePaste\" style=\"position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;\">DOSPageCount 10<\/div>\n<div id=\"_mcePaste\" style=\"position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;\">DOSSiteCount 200<\/div>\n<div id=\"_mcePaste\" style=\"position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;\">DOSPageInterval 2<\/div>\n<div id=\"_mcePaste\" style=\"position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;\">DOSSiteInterval 2<\/div>\n<div id=\"_mcePaste\" style=\"position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;\">DOSBlockingPeriod 10<\/div>\n<div id=\"_mcePaste\" style=\"position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;\">DOSLogDir &#8222;\/var\/log\/apache2\/evasive&#8221;<\/div>\n<div id=\"_mcePaste\" style=\"position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;\">DOSEmailNotify amon@antynet.pl<\/div>\n<div id=\"_mcePaste\" style=\"position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;\">#&lt;\/IfModule&gt;<\/div>\n<p>LoadModule evasive20_module \/usr\/lib\/apache2\/modules\/mod_evasive20.so<\/p>\n<p>&lt;IfModule \u00a0mod_evasive20.c&gt;<\/p>\n<p>DOSHashTableSize 3097<\/p>\n<p>DOSPageCount 10<\/p>\n<p>DOSSiteCount 200<\/p>\n<p>DOSPageInterval 2<\/p>\n<p>DOSSiteInterval 2<\/p>\n<p>DOSBlockingPeriod 10<\/p>\n<p>DOSLogDir &#8222;\/var\/log\/evasive&#8221;<\/p>\n<p>DOSEmailNotify amon@antynet.pl<\/p>\n<p>&lt;\/IfModule&gt;<\/p>\n<p>######################################<\/p>\n<p>Pami\u0119tamy \u00a0utworzeniu i nadaniu odpowiednich uprawnie\u0144 dla:<\/p>\n<p>\/var\/log\/evasive<\/p>\n<p>Dla pewno\u015bci w\u0142\u0105czamy modu\u0142:<\/p>\n<p>a2enmod \u00a0mod-evasive<\/p>\n<p>restart apache2:<\/p>\n<p>\/etc\/init.d\/apache2 restart<\/p>\n<p>inspiracja &#8211; sow \ud83d\ude09<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Skoro dzi\u015b tak o DoS i DDoS to nie mo\u017ce zabrakn\u0105\u0107 mod_mod_evasive dla apache2. apt-get install libapache2-mod-evasive mcedit \/etc\/apache2\/mods-available\/mod-evasive.load i wpisujemy: ################################# LoadModule evasive20_module \/usr\/lib\/apache2\/modules\/mod_evasive20.so #&lt;IfModule \u00a0mod_evasive20.c&gt; DOSHashTableSize 3097 DOSPageCount 10 DOSSiteCount 200 DOSPageInterval 2 DOSSiteInterval 2 DOSBlockingPeriod 10 DOSLogDir &#8222;\/var\/log\/apache2\/evasive&#8221; DOSEmailNotify amon@antynet.pl #&lt;\/IfModule&gt; LoadModule evasive20_module \/usr\/lib\/apache2\/modules\/mod_evasive20.so &lt;IfModule \u00a0mod_evasive20.c&gt; DOSHashTableSize 3097 DOSPageCount 10 DOSSiteCount 200 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"","_et_pb_old_content":"","_et_gb_content_width":"","footnotes":""},"categories":[4,3],"tags":[],"class_list":["post-314","post","type-post","status-publish","format-standard","hentry","category-sciaga-admina","category-uslugi"],"_links":{"self":[{"href":"https:\/\/www.antynet.pl\/index.php\/wp-json\/wp\/v2\/posts\/314","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.antynet.pl\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.antynet.pl\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.antynet.pl\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.antynet.pl\/index.php\/wp-json\/wp\/v2\/comments?post=314"}],"version-history":[{"count":2,"href":"https:\/\/www.antynet.pl\/index.php\/wp-json\/wp\/v2\/posts\/314\/revisions"}],"predecessor-version":[{"id":316,"href":"https:\/\/www.antynet.pl\/index.php\/wp-json\/wp\/v2\/posts\/314\/revisions\/316"}],"wp:attachment":[{"href":"https:\/\/www.antynet.pl\/index.php\/wp-json\/wp\/v2\/media?parent=314"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.antynet.pl\/index.php\/wp-json\/wp\/v2\/categories?post=314"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.antynet.pl\/index.php\/wp-json\/wp\/v2\/tags?post=314"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}