<?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: Kicking out SSH script kiddies with autoblock</title>
	<atom:link href="http://blog.paulbetts.org/index.php/2007/04/11/kicking-out-ssh-script-kiddies-with-autoblock/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.paulbetts.org/index.php/2007/04/11/kicking-out-ssh-script-kiddies-with-autoblock/</link>
	<description>Paul Betts's personal website / blog / what-have-you</description>
	<lastBuildDate>Wed, 26 May 2010 09:57:21 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.5</generator>
	<item>
		<title>By: Paul Betts</title>
		<link>http://blog.paulbetts.org/index.php/2007/04/11/kicking-out-ssh-script-kiddies-with-autoblock/comment-page-1/#comment-8264</link>
		<dc:creator>Paul Betts</dc:creator>
		<pubDate>Thu, 17 Apr 2008 23:20:44 +0000</pubDate>
		<guid isPermaLink="false">http://blog.paulbetts.org/index.php/2007/04/11/kicking-out-ssh-script-kiddies-with-autoblock/#comment-8264</guid>
		<description>@Fredrik: If you add an IP address into the table, will it do a reverse lookup?  I thought that it&#039;d keep whatever you put into it. If that&#039;s not the case then I believe you&#039;re right. Thanks for picking this up!</description>
		<content:encoded><![CDATA[<p>@Fredrik: If you add an IP address into the table, will it do a reverse lookup?  I thought that it&#8217;d keep whatever you put into it. If that&#8217;s not the case then I believe you&#8217;re right. Thanks for picking this up!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fredrik Lanker</title>
		<link>http://blog.paulbetts.org/index.php/2007/04/11/kicking-out-ssh-script-kiddies-with-autoblock/comment-page-1/#comment-8259</link>
		<dc:creator>Fredrik Lanker</dc:creator>
		<pubDate>Thu, 17 Apr 2008 17:54:46 +0000</pubDate>
		<guid isPermaLink="false">http://blog.paulbetts.org/index.php/2007/04/11/kicking-out-ssh-script-kiddies-with-autoblock/#comment-8259</guid>
		<description>Really nice tip! But I think you want to change

tables = `iptables --list`

to

tables = `iptables --list --numeric`

otherwise you will end up with lots of duplicate entries in your iptable since

tables.include? addr

will compare the host name from the table with the IP address from the log, which will fail. (I don&#039;t know any ruby, but I think that&#039;s where the problem is...)</description>
		<content:encoded><![CDATA[<p>Really nice tip! But I think you want to change</p>
<p>tables = `iptables &#8211;list`</p>
<p>to</p>
<p>tables = `iptables &#8211;list &#8211;numeric`</p>
<p>otherwise you will end up with lots of duplicate entries in your iptable since</p>
<p>tables.include? addr</p>
<p>will compare the host name from the table with the IP address from the log, which will fail. (I don&#8217;t know any ruby, but I think that&#8217;s where the problem is&#8230;)</p>
]]></content:encoded>
	</item>
</channel>
</rss>

