{"id":240,"date":"2006-02-16T09:44:24","date_gmt":"2006-02-16T09:44:24","guid":{"rendered":"http:\/\/blografia.net\/vicm3\/?p=240"},"modified":"2006-02-16T09:44:24","modified_gmt":"2006-02-16T09:44:24","slug":"para_lo_del_spam_en_referer","status":"publish","type":"post","link":"https:\/\/blografia.net\/vicm3\/2006\/02\/para_lo_del_spam_en_referer\/","title":{"rendered":"Para lo del spam en referer"},"content":{"rendered":"<p>Tal cual dije por ahi habia una solucion sencilla y elegante y ademas correcta (de esas casi no hay)<br \/>\n.htaccess<br \/>\n[code=&#8217;Apache&#8217;]<br \/>\nRewriteEngine On #only include this line once to enable the rewriting engine<\/p>\n<p>deny from 84.174.72.102<br \/>\ndeny from 217.185.183.70<br \/>\ndeny from 205.234.145.222<br \/>\ndeny from 217.16.124.164<br \/>\ndeny from 81.214.106.217<\/p>\n<p>RewriteCond %{HTTP_REFERER} ^http:\/\/(www\\.)?.*(-|.)?adult(-|.).*$ [OR]<br \/>\nRewriteCond %{HTTP_REFERER} ^http:\/\/(www\\.)?.*(-|.)?porno(-|.).*$ [OR]<br \/>\nRewriteCond %{HTTP_REFERER} ^http:\/\/(www\\.)?.*(-|.)?anal(-|.).*$ [OR]<br \/>\nRewriteCond %{HTTP_REFERER} ^http:\/\/(www\\.)?.*(-|.)?blow.?job(-|.).*$ [OR]<br \/>\nRewriteCond %{HTTP_REFERER} ^http:\/\/(www\\.)?.*(-|.)?gay(-|.).*$ [OR]<br \/>\nRewriteCond %{HTTP_REFERER} ^http:\/\/(www\\.)?.*(-|.)?cum+shot(-|.).*$ [OR]<br \/>\nRewriteCond %{HTTP_REFERER} ^http:\/\/(www\\.)?.*(-|.)?casino(-|.).*$ [OR]<br \/>\nRewriteCond %{HTTP_REFERER} ^http:\/\/(www\\.)?.*(-|.)?incest(-|.).*$ [OR]<br \/>\nRewriteCond %{HTTP_REFERER} ^http:\/\/(www\\.)?.*(-|.)?mature(-|.).*$ [OR]<br \/>\nRewriteCond %{HTTP_REFERER} ^http:\/\/(www\\.)?.*(-|.)?nude(-|.).*$ [OR]<br \/>\nRewriteCond %{HTTP_REFERER} ^http:\/\/(www\\.)?.*(-|.)?piss(-|.).*$ [OR]<br \/>\nRewriteCond %{HTTP_REFERER} ^http:\/\/(www\\.)?.*(-|.)?porn(-|.).*$ [OR]<br \/>\nRewriteCond %{HTTP_REFERER} ^http:\/\/(www\\.)?.*(-|.)?pus*y(-|.).*$ [OR]<br \/>\nRewriteCond %{HTTP_REFERER} ^http:\/\/(www\\.)?.*(-|.)?sex(-|.).*$ [OR]<br \/>\nRewriteCond %{HTTP_REFERER} ^http:\/\/(www\\.)?.*(-|.)?teen(-|.).*$ [OR]<br \/>\nRewriteCond %{HTTP_REFERER} ^http:\/\/(www\\.)?.*(-|.)?tits(-|.).*$ [OR]<br \/>\nRewriteCond %{HTTP_REFERER} ^http:\/\/(www\\.)?.*(-|.)?titten(-|.).*$ [OR]<br \/>\nRewriteCond %{HTTP_REFERER} ^http:\/\/(www\\.)?.*(-|.)?wichsab(-|.).*$ [OR]<br \/>\nRewriteCond %{HTTP_REFERER} ^http:\/\/(www\\.)?.*(-|.)?wichslos(-|.).*$ [OR]<br \/>\nRewriteCond %{HTTP_REFERER} ^http:\/\/(www\\.)?.*accepted.cc$ [OR]<br \/>\nRewriteCond %{HTTP_REFERER} ^http:\/\/(www\\.)?.*episodesusdbz\/.*$ [OR]<br \/>\nRewriteCond %{HTTP_REFERER} ^http:\/\/(www\\.)?advancedmoneyloans.*$ [OR]<br \/>\nRewriteCond %{HTTP_REFERER} ^http:\/\/(www\\.)?affiliplanet.*$ [OR]<br \/>\nRewriteCond %{HTTP_REFERER} ^http:\/\/(www\\.)?apart-?design.*$ [OR]<br \/>\nRewriteCond %{HTTP_REFERER} ^http:\/\/(www\\.)?auktion.*$ [OR]<br \/>\nRewriteCond %{HTTP_REFERER} ^http:\/\/(www\\.)?autogewinne24.*$ [OR]<br \/>\nRewriteCond %{HTTP_REFERER} ^http:\/\/(www\\.)?autospiele24.*$ [OR]<br \/>\nRewriteCond %{HTTP_REFERER} ^http:\/\/(www\\.)?babay.*$ [OR]<br \/>\nRewriteCond %{HTTP_REFERER} ^http:\/\/(www\\.)?euromillionen.*$ [OR]<br \/>\nRewriteCond %{HTTP_REFERER} ^http:\/\/(www\\.)?eurowins.*$ [OR]<br \/>\nRewriteCond %{HTTP_REFERER} ^http:\/\/(www\\.)?geldspiele24.*$ [OR]<br \/>\nRewriteCond %{HTTP_REFERER} ^http:\/\/(www\\.)?goovle.*$ [OR]<br \/>\nRewriteCond %{HTTP_REFERER} ^http:\/\/(www\\.)?gsm-support.*$ [OR]<br \/>\nRewriteCond %{HTTP_REFERER} ^http:\/\/(www\\.)?gzltax.*$ [OR]<br \/>\nRewriteCond %{HTTP_REFERER} ^http:\/\/(www\\.)?heil-fasten.*$ [OR]<br \/>\nRewriteCond %{HTTP_REFERER} ^http:\/\/(www\\.)?immobiliengewinne24.*$ [OR]<br \/>\nRewriteCond %{HTTP_REFERER} ^http:\/\/(www\\.)?internetsupervision.*$ [OR]<br \/>\nRewriteCond %{HTTP_REFERER} ^http:\/\/(www\\.)?keywordmaster.*$ [OR]<br \/>\nRewriteCond %{HTTP_REFERER} ^http:\/\/(www\\.)?nackt-stars-nackt.*$ [OR]<br \/>\nRewriteCond %{HTTP_REFERER} ^http:\/\/(www\\.)?one2onemag.*$ [OR]<br \/>\nRewriteCond %{HTTP_REFERER} ^http:\/\/(www\\.)?qw8.*$ [OR]<br \/>\nRewriteCond %{HTTP_REFERER} ^http:\/\/(www\\.)?referrer-script.*$ [OR]<br \/>\nRewriteCond %{HTTP_REFERER} ^http:\/\/(www\\.)?ranking-hits.*$ [OR]<br \/>\nRewriteCond %{HTTP_REFERER} ^http:\/\/(www\\.)?reisegewinne24.*$ [OR]<br \/>\nRewriteCond %{HTTP_REFERER} ^http:\/\/(www\\.)?rootfood.*$ [OR]<br \/>\nRewriteCond %{HTTP_REFERER} ^http:\/\/(www\\.)?shemale.*$ [OR]<br \/>\nRewriteCond %{HTTP_REFERER} ^http:\/\/(www\\.)?single66.*$ [OR]<br \/>\nRewriteCond %{HTTP_REFERER} ^http:\/\/(www\\.)?slamhost.*$ [OR]<br \/>\nRewriteCond %{HTTP_REFERER} ^http:\/\/(www\\.)?spielepsychatrie.*$ [OR]<br \/>\nRewriteCond %{HTTP_REFERER} ^http:\/\/(www\\.)?superface.*$ [OR]<br \/>\nRewriteCond %{HTTP_REFERER} ^http:\/\/(www\\.)?texasholdem.*$ [OR]<br \/>\nRewriteCond %{HTTP_REFERER} ^http:\/\/(www\\.)?topgewinn24.*$ [OR]<br \/>\nRewriteCond %{HTTP_REFERER} ^http:\/\/(www\\.)?topspiele24.*$ [OR]<br \/>\nRewriteCond %{HTTP_REFERER} ^http:\/\/(www\\.)?transexual.*$ [OR]<br \/>\nRewriteCond %{HTTP_REFERER} ^http:\/\/(www\\.)?usa-wins.*$ [OR]<br \/>\nRewriteCond %{HTTP_REFERER} ^http:\/\/(www\\.)?vendini.*$ [OR]<br \/>\nRewriteCond %{HTTP_REFERER} ^http:\/\/(www\\.)?webmasterplan.*$ [OR]<br \/>\nRewriteCond %{HTTP_REFERER} ^http:\/\/(www\\.)?wichsfick.*$ [OR]<br \/>\nRewriteCond %{HTTP_REFERER} ^http:\/\/(www\\.)?wseeker.*$ [OR]<br \/>\nRewriteCond %{HTTP_REFERER} ^http:\/\/(www\\.)?yachtdurak.*$ [OR]<br \/>\nRewriteCond %{HTTP_REFERER} ^http:\/\/(www\\.)?xmaster.*$ [OR]<br \/>\nRewriteCond %{HTTP_REFERER} ^http:\/\/www14\\.blogspot.*$ [OR]<br \/>\nRewriteCond %{HTTP_REFERER} ^http:\/\/(www\\.)?yahh+oo.*$<br \/>\nRewriteCond %{HTTP_REFERER} ^http:\/\/(www\\.)?creamlips.*$ [OR]<br \/>\nRewriteRule .* &#8211; [F,L]<br \/>\n[\/code]<br \/>\nEl formato original lo tome de el blog de <a href=\"http:\/\/www.joemaller.com\/htaccess.txt\">Joemailer<\/a> claro que tuve que agregarle las ips que me estaban dando lata y algunas expresiones regulares que tampoco estaban incluidas, pero como ejemplo de que es posible hacer es muy bueno, creeran que solo el trafico de estos, \u00bfspammers me saco un par de veces de red?.<\/p>\n<p>Salu2<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Tal cual dije por ahi habia una solucion sencilla y elegante y ademas correcta (de esas casi no hay) .htaccess [code=&#8217;Apache&#8217;] RewriteEngine On #only include this line once to enable the rewriting engine deny from 84.174.72.102 deny from 217.185.183.70 deny &hellip; <a href=\"https:\/\/blografia.net\/vicm3\/2006\/02\/para_lo_del_spam_en_referer\/\">Sigue leyendo <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[1],"tags":[],"class_list":["post-240","post","type-post","status-publish","format-standard","hentry","category-sin-categoria"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":533,"url":"https:\/\/blografia.net\/vicm3\/2008\/03\/y-seguimos-con-los-bots-exploiters\/","url_meta":{"origin":240,"position":0},"title":"Y seguimos con los bots exploiters","author":"vicm3","date":"6 marzo, 2008","format":false,"excerpt":"Para variar los exploiters automatizados siguen usando libwww-perl... bueno en lighttpd ya lo resolvi, anoche cai en cuenta que tambien en apache estaba teniendo muchas peticiones de estas... y todavia tengo 3 apaches en maquinas relativamente grandes, pero me parece que es un desperdicio de conexiones para la mas peque\u00f1a\u2026","rel":"","context":"En \u00abSin categor\u00eda\u00bb","block_context":{"text":"Sin categor\u00eda","link":"https:\/\/blografia.net\/vicm3\/category\/sin-categoria\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":57,"url":"https:\/\/blografia.net\/vicm3\/2005\/02\/on_php_flags\/","url_meta":{"origin":240,"position":1},"title":"On php flags","author":"vicm3","date":"15 febrero, 2005","format":false,"excerpt":"Well as this post was originally on english and i have two powerful reasons to no translate is lefted as in the original... apologies to the spanish readers: Posted: Mon Feb 14, 2005 1:48 pm Before i have complained about had to use register_globals & magic_quotes... as for we host\u2026","rel":"","context":"En \u00abGeneral\u00bb","block_context":{"text":"General","link":"https:\/\/blografia.net\/vicm3\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":529,"url":"https:\/\/blografia.net\/vicm3\/2008\/02\/a-que-el-spam\/","url_meta":{"origin":240,"position":2},"title":"A que el \u00b7$@! spam","author":"vicm3","date":"25 febrero, 2008","format":false,"excerpt":"En los comentarios, los bots exploiters y monadas asi... bueno a ver si le meto mas contenido despues, pero he estado jugando con la configuraci\u00f3n de lighttpd para evitar a estos jijos de la ma\u00f1ana. [code='Apache'] # deny access for russian trackbacks... DONE. $HTTP[\"querystring\"] =~ \"trackback\" { url.access-deny = (\u2026","rel":"","context":"En \u00abSin categor\u00eda\u00bb","block_context":{"text":"Sin categor\u00eda","link":"https:\/\/blografia.net\/vicm3\/category\/sin-categoria\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":277,"url":"https:\/\/blografia.net\/vicm3\/2006\/04\/mod_security-2\/","url_meta":{"origin":240,"position":3},"title":"Mod_security","author":"vicm3","date":"26 abril, 2006","format":false,"excerpt":"En algun momento mencione algo de esto... y la razon de por que lo estaba poniendo en mis maquinas... un buen ejemplo paso hace poco que no tenia oportunidad de actualizar una aplicaci\u00f3n pero existia una manera de explotarla pero yo no podia parcharla hasta estar seguro, esto me planteaba\u2026","rel":"","context":"En \u00abSin categor\u00eda\u00bb","block_context":{"text":"Sin categor\u00eda","link":"https:\/\/blografia.net\/vicm3\/category\/sin-categoria\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":292,"url":"https:\/\/blografia.net\/vicm3\/2006\/05\/respuesta_a_un_post\/","url_meta":{"origin":240,"position":4},"title":"Respuesta a un post","author":"vicm3","date":"28 mayo, 2006","format":false,"excerpt":"En un foro que probablemente implemento mod_security y esta filtrando contenido con comandos de linux. el problem parece estar en estas lineas, cambie el formato para ver si me deja mostrar algo... May 21 12:21:56 localhost kernel: 201.140.53.38 sent an invalid ICMP type 3, cod e 1 error to a\u2026","rel":"","context":"En \u00abSin categor\u00eda\u00bb","block_context":{"text":"Sin categor\u00eda","link":"https:\/\/blografia.net\/vicm3\/category\/sin-categoria\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1068,"url":"https:\/\/blografia.net\/vicm3\/2013\/06\/legacy-code-everywhere\/","url_meta":{"origin":240,"position":5},"title":"Legacy code everywhere","author":"vicm3","date":"19 junio, 2013","format":false,"excerpt":"From last weekend our blog lacobachab where not updating their feed, as I removed and updated wp-cache info, most probably I removed redundant entries on .htaccess, BUT looks like removed the correct ones and left the wrong ones, tip if you don't know if your .htaccess mod_rewrite rules are OK,\u2026","rel":"","context":"En \u00abDebraye\u00bb","block_context":{"text":"Debraye","link":"https:\/\/blografia.net\/vicm3\/category\/debraye\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/blografia.net\/vicm3\/wp-json\/wp\/v2\/posts\/240","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blografia.net\/vicm3\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blografia.net\/vicm3\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blografia.net\/vicm3\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blografia.net\/vicm3\/wp-json\/wp\/v2\/comments?post=240"}],"version-history":[{"count":0,"href":"https:\/\/blografia.net\/vicm3\/wp-json\/wp\/v2\/posts\/240\/revisions"}],"wp:attachment":[{"href":"https:\/\/blografia.net\/vicm3\/wp-json\/wp\/v2\/media?parent=240"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blografia.net\/vicm3\/wp-json\/wp\/v2\/categories?post=240"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blografia.net\/vicm3\/wp-json\/wp\/v2\/tags?post=240"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}