<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: How to Block Java user-agents</title>
	<atom:link href="http://www.tacticaltechnique.com/how-to/block-java-user-agents/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.tacticaltechnique.com/how-to/block-java-user-agents/</link>
	<description>Web development with Corey Salzano</description>
	<lastBuildDate>Fri, 03 Feb 2012 02:45:21 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Jdilegge</title>
		<link>http://www.tacticaltechnique.com/how-to/block-java-user-agents/#comment-53895</link>
		<dc:creator>Jdilegge</dc:creator>
		<pubDate>Tue, 31 May 2011 22:11:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.tacticaltechnique.com/?p=224#comment-53895</guid>
		<description>There is always some annoying kid that has to start name calling and acting like he is all knowing.

Love the post, it is accurate and useful.</description>
		<content:encoded><![CDATA[<p>There is always some annoying kid that has to start name calling and acting like he is all knowing.</p>
<p>Love the post, it is accurate and useful.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jon</title>
		<link>http://www.tacticaltechnique.com/how-to/block-java-user-agents/#comment-52068</link>
		<dc:creator>Jon</dc:creator>
		<pubDate>Wed, 04 May 2011 03:33:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.tacticaltechnique.com/?p=224#comment-52068</guid>
		<description>You both have valid points and a bit of name calling. I&#039;m curious to who has the stronger case.</description>
		<content:encoded><![CDATA[<p>You both have valid points and a bit of name calling. I&#8217;m curious to who has the stronger case.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Corey</title>
		<link>http://www.tacticaltechnique.com/how-to/block-java-user-agents/#comment-49376</link>
		<dc:creator>Corey</dc:creator>
		<pubDate>Thu, 31 Mar 2011 19:15:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.tacticaltechnique.com/?p=224#comment-49376</guid>
		<description>Fernando:

Because Java bots clog up my error logs and Java bots are used in SQL injection attacks. When other user agents abuse my websites, I will block them, too.

This isn&#039;t stupid or paranoid. It&#039;s been successful for years; look at the date on this post.

Sure, idiots can change their user-agents, and I can use other criteria to block their malicious intent. There&#039;s no way to escape a server log, and analysis of logs is what helps me create solutions like this.

You are wrong about not being able to choose who accesses my website. I can block whatever I want using mechanisms that are built into any modern web server. 

You would be surprised to learn that lots of servers use whitelists to filter traffic, a step further than the blacklists I maintain.

Why should I tolerate attacks when the tools to block the least sophisticated are so easy to use?</description>
		<content:encoded><![CDATA[<p>Fernando:</p>
<p>Because Java bots clog up my error logs and Java bots are used in SQL injection attacks. When other user agents abuse my websites, I will block them, too.</p>
<p>This isn&#8217;t stupid or paranoid. It&#8217;s been successful for years; look at the date on this post.</p>
<p>Sure, idiots can change their user-agents, and I can use other criteria to block their malicious intent. There&#8217;s no way to escape a server log, and analysis of logs is what helps me create solutions like this.</p>
<p>You are wrong about not being able to choose who accesses my website. I can block whatever I want using mechanisms that are built into any modern web server. </p>
<p>You would be surprised to learn that lots of servers use whitelists to filter traffic, a step further than the blacklists I maintain.</p>
<p>Why should I tolerate attacks when the tools to block the least sophisticated are so easy to use?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fernando Cassia</title>
		<link>http://www.tacticaltechnique.com/how-to/block-java-user-agents/#comment-49371</link>
		<dc:creator>Fernando Cassia</dc:creator>
		<pubDate>Thu, 31 Mar 2011 19:00:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.tacticaltechnique.com/?p=224#comment-49371</guid>
		<description>Why single-out Java bots and not Silverlight, Flash, and unknown browsers as well?.

You will realize how stupid your paranoia is when people change the user agent to &quot;MSIE 9, Win7 x64&quot;, and are able to continue crawling your site.

If you place a web site on the open internet, itÂ´s to be accesed by any user agent, not just your preference of browsers.

I say FÂ´You to people like you and your ilk, who donÂ´t have a clue about what the open internet is all about.

FC</description>
		<content:encoded><![CDATA[<p>Why single-out Java bots and not Silverlight, Flash, and unknown browsers as well?.</p>
<p>You will realize how stupid your paranoia is when people change the user agent to &#8220;MSIE 9, Win7 x64&#8243;, and are able to continue crawling your site.</p>
<p>If you place a web site on the open internet, itÂ´s to be accesed by any user agent, not just your preference of browsers.</p>
<p>I say FÂ´You to people like you and your ilk, who donÂ´t have a clue about what the open internet is all about.</p>
<p>FC</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fighting Bots Via Their Bad Requests - PlanetMike's Technology Journal</title>
		<link>http://www.tacticaltechnique.com/how-to/block-java-user-agents/#comment-4925</link>
		<dc:creator>Fighting Bots Via Their Bad Requests - PlanetMike's Technology Journal</dc:creator>
		<pubDate>Sun, 07 Jun 2009 13:46:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.tacticaltechnique.com/?p=224#comment-4925</guid>
		<description>[...] access my web site? I&#8217;ve also decided to block access to my web site by Java user agents. See How To Block Java User-Agents for someone else&#8217;s similar approach to the Java [...]</description>
		<content:encoded><![CDATA[<p>[...] access my web site? I&#8217;ve also decided to block access to my web site by Java user agents. See How To Block Java User-Agents for someone else&#8217;s similar approach to the Java [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Corey</title>
		<link>http://www.tacticaltechnique.com/how-to/block-java-user-agents/#comment-2643</link>
		<dc:creator>Corey</dc:creator>
		<pubDate>Thu, 26 Feb 2009 04:27:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.tacticaltechnique.com/?p=224#comment-2643</guid>
		<description>Yuri, rewrite rules can be implemented to block IP address ranges:

&lt;code&gt;RewriteCond %{REMOTE_ADDR} 213\.93\.196\.\d\d?\d?
RewriteCond %{HTTP_USER_AGENT} Java.*
RewriteRule ^/(.*)$ /$1 [F]&lt;/code&gt;

\d represents a single digit in regular expressions, and a question mark ? makes that character optional</description>
		<content:encoded><![CDATA[<p>Yuri, rewrite rules can be implemented to block IP address ranges:</p>
<p><code>RewriteCond %{REMOTE_ADDR} 213\.93\.196\.\d\d?\d?<br />
RewriteCond %{HTTP_USER_AGENT} Java.*<br />
RewriteRule ^/(.*)$ /$1 [F]</code></p>
<p>\d represents a single digit in regular expressions, and a question mark ? makes that character optional</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yuri</title>
		<link>http://www.tacticaltechnique.com/how-to/block-java-user-agents/#comment-2621</link>
		<dc:creator>Yuri</dc:creator>
		<pubDate>Tue, 24 Feb 2009 13:02:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.tacticaltechnique.com/?p=224#comment-2621</guid>
		<description>Thanks for Java-bot explanations. Recently I too have found such and other robots on a site.
  Many robots steal contents of pages of a site, so the decision to block them is correct.

  But I do it a little in another way, because
 the Rewrite Enginerules rules is not convenient for blocking of ranges of IP-addresses, therefore it does a script on PHP, likely:
$block= array(
  &quot;84.120.0.0-84.123.255.255&quot;,
  &quot;122.198.0.0-122.198.255.255&quot;,
  &quot;205.209.128.0-205.209.191.255&quot;
   );
function checkIP($ip) {
 for ($i=0; $i= $b_IP &amp;&amp; $IP &lt;= $e_IP) return true;
  }
 return false;
 }

   &quot;Manually&quot; blocking IP and UserAgent is not the best practice, so I use robots detection by pseudo-picture loading and JavaScrips evaluating. But Java-bots loaded all pseudo-pictures and evaluate JavaScrips!
  One way to detect Java-bots - by UserAgent&#039;s field, but it is not so difficult Ã‘â€šo change this fieled.
What to do in this case?</description>
		<content:encoded><![CDATA[<p>Thanks for Java-bot explanations. Recently I too have found such and other robots on a site.<br />
  Many robots steal contents of pages of a site, so the decision to block them is correct.</p>
<p>  But I do it a little in another way, because<br />
 the Rewrite Enginerules rules is not convenient for blocking of ranges of IP-addresses, therefore it does a script on PHP, likely:<br />
$block= array(<br />
  &#8220;84.120.0.0-84.123.255.255&#8243;,<br />
  &#8220;122.198.0.0-122.198.255.255&#8243;,<br />
  &#8220;205.209.128.0-205.209.191.255&#8243;<br />
   );<br />
function checkIP($ip) {<br />
 for ($i=0; $i= $b_IP &amp;&amp; $IP &lt;= $e_IP) return true;<br />
  }<br />
 return false;<br />
 }</p>
<p>   &#8220;Manually&#8221; blocking IP and UserAgent is not the best practice, so I use robots detection by pseudo-picture loading and JavaScrips evaluating. But Java-bots loaded all pseudo-pictures and evaluate JavaScrips!<br />
  One way to detect Java-bots &#8211; by UserAgent&#8217;s field, but it is not so difficult Ã‘â€šo change this fieled.<br />
What to do in this case?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

