{"id":304,"date":"2011-06-10T09:49:21","date_gmt":"2011-06-10T07:49:21","guid":{"rendered":"http:\/\/antynet.pl\/?p=304"},"modified":"2011-06-10T09:49:49","modified_gmt":"2011-06-10T07:49:49","slug":"apache-mod_security2-i-blokowanie-skanerow","status":"publish","type":"post","link":"https:\/\/www.antynet.pl\/index.php\/2011\/06\/10\/apache-mod_security2-i-blokowanie-skanerow\/","title":{"rendered":"Apache2, mod_security2 i blokowanie skaner\u00f3w"},"content":{"rendered":"<p>Automatyczne skanery bezpiecze\u0144stwa skanuj\u0105 na \u015blepo,<\/p>\n<p>odpalaj\u0105 baz\u0119 sygnatur i\u00a0wykonuj\u0105\u00a0skanowanie.<\/p>\n<p>Tego typu operacja z oczywistych wzgl\u0119d\u00f3w wywo\u0142a ca\u0142\u0105 mas\u0119 404 w logach apache2.<\/p>\n<p>Wi\u0119c dlaczego\u00a0nie wykorzysta\u0107\u00a0tego typu zale\u017cno\u015bci?<\/p>\n<div id=\"_mcePaste\" style=\"position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;\">SecRule RESPONSE_STATUS &#8222;@streq 404&#8221; \\<\/div>\n<div id=\"_mcePaste\" style=\"position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;\">&#8222;phase:5,t:none,nolog,pass,setvar:ip.not_found_counter=+1,expirevar:ip.not_found_counter=60&#8221;<\/div>\n<div id=\"_mcePaste\" style=\"position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;\">SecRule IP:NOT_FOUND_COUNTER &#8222;@gt 5&#8221; &#8222;phase:1,t:none,log,block,msg:&#8217;Zbyt wiele 404&#8242;,id:&#8217;100003&#8242;,setvar:&#8217;tx.msg=%{rule.msg}&#8217;,setvar:tx.anomaly_score=+%{tx.error_anomaly_score}&#8221;<\/div>\n<div id=\"_mcePaste\" style=\"position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;\">.<\/div>\n<blockquote><p>SecRule RESPONSE_STATUS &#8222;@streq 404&#8221; \\<\/p>\n<p>&#8222;phase:5,t:none,nolog,pass,setvar:ip.not_found_counter=+1,expirevar:ip.not_found_counter=60&#8221;<\/p>\n<p>SecRule IP:NOT_FOUND_COUNTER &#8222;@gt 5&#8221; &#8222;phase:1,t:none,log,block,msg:&#8217;Zbyt wiele 404&#8242;,id:&#8217;100003&#8242;,setvar:&#8217;tx.msg=%{rule.msg}&#8217;,setvar:tx.anomaly_score=+%{tx.error_anomaly_score}&#8221;<\/p><\/blockquote>\n<p>powodzenia \ud83d\ude09<\/p>\n<p>inspiracja &#8211; sow \ud83d\ude1b<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Automatyczne skanery bezpiecze\u0144stwa skanuj\u0105 na \u015blepo, odpalaj\u0105 baz\u0119 sygnatur i\u00a0wykonuj\u0105\u00a0skanowanie. Tego typu operacja z oczywistych wzgl\u0119d\u00f3w wywo\u0142a ca\u0142\u0105 mas\u0119 404 w logach apache2. Wi\u0119c dlaczego\u00a0nie wykorzysta\u0107\u00a0tego typu zale\u017cno\u015bci? SecRule RESPONSE_STATUS &#8222;@streq 404&#8221; \\ &#8222;phase:5,t:none,nolog,pass,setvar:ip.not_found_counter=+1,expirevar:ip.not_found_counter=60&#8221; SecRule IP:NOT_FOUND_COUNTER &#8222;@gt 5&#8221; &#8222;phase:1,t:none,log,block,msg:&#8217;Zbyt wiele 404&#8242;,id:&#8217;100003&#8242;,setvar:&#8217;tx.msg=%{rule.msg}&#8217;,setvar:tx.anomaly_score=+%{tx.error_anomaly_score}&#8221; . SecRule RESPONSE_STATUS &#8222;@streq 404&#8221; \\ &#8222;phase:5,t:none,nolog,pass,setvar:ip.not_found_counter=+1,expirevar:ip.not_found_counter=60&#8221; SecRule IP:NOT_FOUND_COUNTER &#8222;@gt 5&#8221; &#8222;phase:1,t:none,log,block,msg:&#8217;Zbyt wiele 404&#8242;,id:&#8217;100003&#8242;,setvar:&#8217;tx.msg=%{rule.msg}&#8217;,setvar:tx.anomaly_score=+%{tx.error_anomaly_score}&#8221; [&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-304","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\/304","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=304"}],"version-history":[{"count":3,"href":"https:\/\/www.antynet.pl\/index.php\/wp-json\/wp\/v2\/posts\/304\/revisions"}],"predecessor-version":[{"id":307,"href":"https:\/\/www.antynet.pl\/index.php\/wp-json\/wp\/v2\/posts\/304\/revisions\/307"}],"wp:attachment":[{"href":"https:\/\/www.antynet.pl\/index.php\/wp-json\/wp\/v2\/media?parent=304"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.antynet.pl\/index.php\/wp-json\/wp\/v2\/categories?post=304"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.antynet.pl\/index.php\/wp-json\/wp\/v2\/tags?post=304"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}