<?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 for Barbary Codes and Data</title>
	<atom:link href="http://www.barbarycodes.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.barbarycodes.com</link>
	<description>We help companies get state of the art web and mobile applications to market. Fast.</description>
	<lastBuildDate>Sun, 18 Dec 2011 13:36:49 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
	<item>
		<title>Comment on Automated Banning of Script Kiddies with fail2ban by Sven</title>
		<link>http://www.barbarycodes.com/2010/10/06/automated-banning-of-script-kiddies-with-fail2ban/#comment-63</link>
		<dc:creator>Sven</dc:creator>
		<pubDate>Sun, 18 Dec 2011 13:36:49 +0000</pubDate>
		<guid isPermaLink="false">http://timothynjones.wordpress.com/?p=121#comment-63</guid>
		<description>maybe I&#039;ve got to filter (if possible with regex) on ../../, because below that they are browsing outside my webroot... anybody knows if that is a good idea? so ../../../ or more is a direct ban...</description>
		<content:encoded><![CDATA[<p>maybe I&#8217;ve got to filter (if possible with regex) on ../../, because below that they are browsing outside my webroot&#8230; anybody knows if that is a good idea? so ../../../ or more is a direct ban&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Automated Banning of Script Kiddies with fail2ban by Sven</title>
		<link>http://www.barbarycodes.com/2010/10/06/automated-banning-of-script-kiddies-with-fail2ban/#comment-62</link>
		<dc:creator>Sven</dc:creator>
		<pubDate>Sun, 18 Dec 2011 13:32:01 +0000</pubDate>
		<guid isPermaLink="false">http://timothynjones.wordpress.com/?p=121#comment-62</guid>
		<description>by the way, you can see these end up in apache 200 so it looks like I&#039;m hacked (or the content of the file is shown)... this is not completely true, yes the index page is shown, BUT it does not contain the information from the environ file (environ is only readable by root, the apache childs run under different users).</description>
		<content:encoded><![CDATA[<p>by the way, you can see these end up in apache 200 so it looks like I&#8217;m hacked (or the content of the file is shown)&#8230; this is not completely true, yes the index page is shown, BUT it does not contain the information from the environ file (environ is only readable by root, the apache childs run under different users).</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Automated Banning of Script Kiddies with fail2ban by Sven</title>
		<link>http://www.barbarycodes.com/2010/10/06/automated-banning-of-script-kiddies-with-fail2ban/#comment-61</link>
		<dc:creator>Sven</dc:creator>
		<pubDate>Sun, 18 Dec 2011 13:28:36 +0000</pubDate>
		<guid isPermaLink="false">http://timothynjones.wordpress.com/?p=121#comment-61</guid>
		<description>awesome post! :)

I&#039;ve also added 403 as a 2nd line. Maybe this can be done by regex as well, but I&#039;m not such a hero with regex

Currently I&#039;m also trying to block other requests. These requests are polling for files (like my environ file) outside my webdirectory. Now I could place my apache webserver in a chrooted jail, but this proves to be difficult because my web application has to create linux users. I would like to know how fail2ban can assist in blocking these:

202.109.129.166 - - [16/Dec/2011:08:22:25 +0100] &quot;GET /?file=../../../../../../proc/self/environ%00 HTTP/1.1&quot; 200 1864 &quot;-&quot; &quot;&quot;
202.109.129.166 - - [16/Dec/2011:08:22:25 +0100] &quot;GET /?page=../../../../../../proc/self/environ%00 HTTP/1.1&quot; 200 1864 &quot;-&quot; &quot;&quot;
202.109.129.166 - - [16/Dec/2011:08:22:26 +0100] &quot;GET /?mod=../../../../../../proc/self/environ%00 HTTP/1.1&quot; 200 1864 &quot;-&quot; &quot;&quot;
202.109.129.166 - - [16/Dec/2011:08:22:26 +0100] &quot;GET /index.php?option=com_simpledownload&amp;controller=../../../../../../../../../../../../../../../proc/self/environ%00 HTTP/1.1&quot; 200 1864 &quot;-&quot; &quot;&quot;</description>
		<content:encoded><![CDATA[<p>awesome post! <img src='http://www.barbarycodes.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>I&#8217;ve also added 403 as a 2nd line. Maybe this can be done by regex as well, but I&#8217;m not such a hero with regex</p>
<p>Currently I&#8217;m also trying to block other requests. These requests are polling for files (like my environ file) outside my webdirectory. Now I could place my apache webserver in a chrooted jail, but this proves to be difficult because my web application has to create linux users. I would like to know how fail2ban can assist in blocking these:</p>
<p>202.109.129.166 &#8211; - [16/Dec/2011:08:22:25 +0100] &#8220;GET /?file=../../../../../../proc/self/environ%00 HTTP/1.1&#8243; 200 1864 &#8220;-&#8221; &#8220;&#8221;<br />
202.109.129.166 &#8211; - [16/Dec/2011:08:22:25 +0100] &#8220;GET /?page=../../../../../../proc/self/environ%00 HTTP/1.1&#8243; 200 1864 &#8220;-&#8221; &#8220;&#8221;<br />
202.109.129.166 &#8211; - [16/Dec/2011:08:22:26 +0100] &#8220;GET /?mod=../../../../../../proc/self/environ%00 HTTP/1.1&#8243; 200 1864 &#8220;-&#8221; &#8220;&#8221;<br />
202.109.129.166 &#8211; - [16/Dec/2011:08:22:26 +0100] &#8220;GET /index.php?option=com_simpledownload&amp;controller=../../../../../../../../../../../../../../../proc/self/environ%00 HTTP/1.1&#8243; 200 1864 &#8220;-&#8221; &#8220;&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Automated Banning of Script Kiddies with fail2ban by anon</title>
		<link>http://www.barbarycodes.com/2010/10/06/automated-banning-of-script-kiddies-with-fail2ban/#comment-60</link>
		<dc:creator>anon</dc:creator>
		<pubDate>Tue, 20 Sep 2011 20:42:50 +0000</pubDate>
		<guid isPermaLink="false">http://timothynjones.wordpress.com/?p=121#comment-60</guid>
		<description>In failregex,  must be all CAPS like . otherwise it fails.</description>
		<content:encoded><![CDATA[<p>In failregex,  must be all CAPS like . otherwise it fails.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Automated Banning of Script Kiddies with fail2ban by Mart</title>
		<link>http://www.barbarycodes.com/2010/10/06/automated-banning-of-script-kiddies-with-fail2ban/#comment-59</link>
		<dc:creator>Mart</dc:creator>
		<pubDate>Mon, 29 Aug 2011 07:01:38 +0000</pubDate>
		<guid isPermaLink="false">http://timothynjones.wordpress.com/?p=121#comment-59</guid>
		<description>Really useful. Thank you!

One gotcha (my own stupidity, not your instructions) was that I called the filter &#039;apache-404&#039; and omitted the &#039;.conf&#039; on the end. fail2ban just wouldn&#039;t start and I couldn&#039;t see why. It all sprang into life when I noticed my mistake and corrected it :)</description>
		<content:encoded><![CDATA[<p>Really useful. Thank you!</p>
<p>One gotcha (my own stupidity, not your instructions) was that I called the filter &#8216;apache-404&#8242; and omitted the &#8216;.conf&#8217; on the end. fail2ban just wouldn&#8217;t start and I couldn&#8217;t see why. It all sprang into life when I noticed my mistake and corrected it <img src='http://www.barbarycodes.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Automated Banning of Script Kiddies with fail2ban by Larry Rubin</title>
		<link>http://www.barbarycodes.com/2010/10/06/automated-banning-of-script-kiddies-with-fail2ban/#comment-56</link>
		<dc:creator>Larry Rubin</dc:creator>
		<pubDate>Wed, 23 Mar 2011 01:55:35 +0000</pubDate>
		<guid isPermaLink="false">http://timothynjones.wordpress.com/?p=121#comment-56</guid>
		<description>This was very useful. Thank you. 

I implemented it and immediately cut down on probing activity on my server.

Some of my sites don&#039;t have favicons, which were generating 404 errors on every request, and consequently getting me banned after a few page views. By adding &quot;favicon\.ico&quot; (omit the quotes, but not the slash escaping the period) to the ignoreregex line, I stopped this from happening. So:

ignoreregex = favicon\.ico</description>
		<content:encoded><![CDATA[<p>This was very useful. Thank you. </p>
<p>I implemented it and immediately cut down on probing activity on my server.</p>
<p>Some of my sites don&#8217;t have favicons, which were generating 404 errors on every request, and consequently getting me banned after a few page views. By adding &#8220;favicon\.ico&#8221; (omit the quotes, but not the slash escaping the period) to the ignoreregex line, I stopped this from happening. So:</p>
<p>ignoreregex = favicon\.ico</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Fix for Glassfish spontaneously exiting under Capistrano by Jacob</title>
		<link>http://www.barbarycodes.com/2009/12/16/fix-for-glassfish-spontaneously-exiting-under-capistrano/#comment-55</link>
		<dc:creator>Jacob</dc:creator>
		<pubDate>Tue, 08 Mar 2011 22:46:55 +0000</pubDate>
		<guid isPermaLink="false">http://timothynjones.wordpress.com/?p=93#comment-55</guid>
		<description>Had this same problem, had to turn on pty for git to work, so in the start and stop tasks I turned off pty there.

Thanks for the help!</description>
		<content:encoded><![CDATA[<p>Had this same problem, had to turn on pty for git to work, so in the start and stop tasks I turned off pty there.</p>
<p>Thanks for the help!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Automated Banning of Script Kiddies with fail2ban by Fail2Ban more skript kiddies poking 404 files &#124; Ted Roche&#039;s weblog</title>
		<link>http://www.barbarycodes.com/2010/10/06/automated-banning-of-script-kiddies-with-fail2ban/#comment-54</link>
		<dc:creator>Fail2Ban more skript kiddies poking 404 files &#124; Ted Roche&#039;s weblog</dc:creator>
		<pubDate>Mon, 21 Feb 2011 21:04:15 +0000</pubDate>
		<guid isPermaLink="false">http://timothynjones.wordpress.com/?p=121#comment-54</guid>
		<description>[...] http://www.barbarycodes.com/2010/10/06/automated-banning-of-script-kiddies-with-fail2ban/   This entry was posted in Technology and tagged fail2ban, firewall, kiddies, script, Security, skript, web. Bookmark the permalink.    &#8592; &#8220;That shouldn&#8217;t break anything&#8230;&#8221; [...]</description>
		<content:encoded><![CDATA[<p>[...] <a href="http://www.barbarycodes.com/2010/10/06/automated-banning-of-script-kiddies-with-fail2ban/" rel="nofollow">http://www.barbarycodes.com/2010/10/06/automated-banning-of-script-kiddies-with-fail2ban/</a>   This entry was posted in Technology and tagged fail2ban, firewall, kiddies, script, Security, skript, web. Bookmark the permalink.    &larr; &#8220;That shouldn&#8217;t break anything&#8230;&#8221; [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Automated Banning of Script Kiddies with fail2ban by madtechsupport</title>
		<link>http://www.barbarycodes.com/2010/10/06/automated-banning-of-script-kiddies-with-fail2ban/#comment-50</link>
		<dc:creator>madtechsupport</dc:creator>
		<pubDate>Thu, 16 Dec 2010 10:04:41 +0000</pubDate>
		<guid isPermaLink="false">http://timothynjones.wordpress.com/?p=121#comment-50</guid>
		<description>Perfect,

Thank you.</description>
		<content:encoded><![CDATA[<p>Perfect,</p>
<p>Thank you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Rails 2 asset caching issue with load-balanced environments by Karle Durante</title>
		<link>http://www.barbarycodes.com/2008/08/28/rails-2-asset-caching-issue-with-load-balanced-environments/#comment-30</link>
		<dc:creator>Karle Durante</dc:creator>
		<pubDate>Fri, 20 Aug 2010 16:00:39 +0000</pubDate>
		<guid isPermaLink="false">http://timothynjones.wordpress.com/?p=55#comment-30</guid>
		<description>Another solution is to configure your load balancer to use sticky IP.  This will ensure that your page request, and subsequent asset requests, all happen on the same server.</description>
		<content:encoded><![CDATA[<p>Another solution is to configure your load balancer to use sticky IP.  This will ensure that your page request, and subsequent asset requests, all happen on the same server.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

