<?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"
	>
<channel>
	<title>Comments on: Old &#038; tired:: Open Relay. New Hotness:: Brute-force SMTP AUTH</title>
	<atom:link href="http://harry.sufehmi.com/archives/2008-03-13-1612/feed/" rel="self" type="application/rss+xml" />
	<link>http://harry.sufehmi.com/archives/2008-03-13-1612/</link>
	<description>life is a struggle &#038;&#038; information wants to be free</description>
	<pubDate>Sat, 22 Nov 2008 07:33:44 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.1</generator>
		<item>
		<title>By: ady wicaksono</title>
		<link>http://harry.sufehmi.com/archives/2008-03-13-1612/#comment-101060</link>
		<dc:creator>ady wicaksono</dc:creator>
		<pubDate>Fri, 14 Mar 2008 13:50:35 +0000</pubDate>
		<guid isPermaLink="false">http://harry.sufehmi.com/archives/2008-03-13-1612/#comment-101060</guid>
		<description>Decrase aja size thread stack mysql so you will have a lot of mysql connection :)</description>
		<content:encoded><![CDATA[<p>Decrase aja size thread stack mysql so you will have a lot of mysql connection <img src='http://harry.sufehmi.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sufehmi</title>
		<link>http://harry.sufehmi.com/archives/2008-03-13-1612/#comment-100980</link>
		<dc:creator>sufehmi</dc:creator>
		<pubDate>Fri, 14 Mar 2008 07:49:15 +0000</pubDate>
		<guid isPermaLink="false">http://harry.sufehmi.com/archives/2008-03-13-1612/#comment-100980</guid>
		<description>@ryosaeba - thanks for the idea. 
.
I looked around, and found &lt;a href="http://www.fail2ban.org/"&gt;fail2ban&lt;/a&gt;. I like it very much because (1) it uses existing info (logfiles) instead of adding more burden to the system (2) utilizes iptables /  proven (3) works for any services [not just postfix]
.
Will give it a try.
.
@Tom - thanks, but I really need the SQL backend, because it makes management &#38; maintenance much more easier to do.
.
With fail2ban, I may be able to restore Postfix's max smtpd processes number to 100 again soon.
.
@neuralgin - thank you too, but postgrey is limited to postfix, and can be easily bypassed (just retry again). So I think I'll try fail2ban first.</description>
		<content:encoded><![CDATA[<p>@ryosaeba - thanks for the idea.<br />
.<br />
I looked around, and found <a href="http://www.fail2ban.org/">fail2ban</a>. I like it very much because (1) it uses existing info (logfiles) instead of adding more burden to the system (2) utilizes iptables /  proven (3) works for any services [not just postfix]<br />
.<br />
Will give it a try.<br />
.<br />
@Tom - thanks, but I really need the SQL backend, because it makes management &amp; maintenance much more easier to do.<br />
.<br />
With fail2ban, I may be able to restore Postfix&#8217;s max smtpd processes number to 100 again soon.<br />
.<br />
@neuralgin - thank you too, but postgrey is limited to postfix, and can be easily bypassed (just retry again). So I think I&#8217;ll try fail2ban first.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chas</title>
		<link>http://harry.sufehmi.com/archives/2008-03-13-1612/#comment-100956</link>
		<dc:creator>Chas</dc:creator>
		<pubDate>Fri, 14 Mar 2008 04:44:56 +0000</pubDate>
		<guid isPermaLink="false">http://harry.sufehmi.com/archives/2008-03-13-1612/#comment-100956</guid>
		<description>There is a nice little delay for comment spam.  There should be one for password function as well.   One attempt every 3 seconds should be enough.</description>
		<content:encoded><![CDATA[<p>There is a nice little delay for comment spam.  There should be one for password function as well.   One attempt every 3 seconds should be enough.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: neuralgin</title>
		<link>http://harry.sufehmi.com/archives/2008-03-13-1612/#comment-100946</link>
		<dc:creator>neuralgin</dc:creator>
		<pubDate>Fri, 14 Mar 2008 03:04:09 +0000</pubDate>
		<guid isPermaLink="false">http://harry.sufehmi.com/archives/2008-03-13-1612/#comment-100946</guid>
		<description>i think that postgrey http://postgrey.schweikert.ch could help you</description>
		<content:encoded><![CDATA[<p>i think that postgrey <a href="http://postgrey.schweikert.ch" >http://postgrey.schweikert.ch</a> could help you</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom</title>
		<link>http://harry.sufehmi.com/archives/2008-03-13-1612/#comment-100918</link>
		<dc:creator>Tom</dc:creator>
		<pubDate>Fri, 14 Mar 2008 00:09:10 +0000</pubDate>
		<guid isPermaLink="false">http://harry.sufehmi.com/archives/2008-03-13-1612/#comment-100918</guid>
		<description>@ryoseba:  If you want to keep track of which IPs have failed, and which are working, you need to store state some place.  So you store state in the database, or wait, that is what is overloaded...

Others hack in the ability to call out to iptables, and add a automatically expiring block on that IP.  This works.  You still need to keep the state, but the traffic goes a way after a while.</description>
		<content:encoded><![CDATA[<p>@ryoseba:  If you want to keep track of which IPs have failed, and which are working, you need to store state some place.  So you store state in the database, or wait, that is what is overloaded&#8230;</p>
<p>Others hack in the ability to call out to iptables, and add a automatically expiring block on that IP.  This works.  You still need to keep the state, but the traffic goes a way after a while.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ryosaeba</title>
		<link>http://harry.sufehmi.com/archives/2008-03-13-1612/#comment-100910</link>
		<dc:creator>ryosaeba</dc:creator>
		<pubDate>Thu, 13 Mar 2008 23:37:56 +0000</pubDate>
		<guid isPermaLink="false">http://harry.sufehmi.com/archives/2008-03-13-1612/#comment-100910</guid>
		<description>harry, the comment by "admin" is a spam. and for your problem, probably you should think about extra security measures, such as 3 or more repeated and failed relay attempt within a minute would result that particular IP address banned to connect for let's say 1 hour.</description>
		<content:encoded><![CDATA[<p>harry, the comment by &#8220;admin&#8221; is a spam. and for your problem, probably you should think about extra security measures, such as 3 or more repeated and failed relay attempt within a minute would result that particular IP address banned to connect for let&#8217;s say 1 hour.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom</title>
		<link>http://harry.sufehmi.com/archives/2008-03-13-1612/#comment-100897</link>
		<dc:creator>Tom</dc:creator>
		<pubDate>Thu, 13 Mar 2008 22:27:55 +0000</pubDate>
		<guid isPermaLink="false">http://harry.sufehmi.com/archives/2008-03-13-1612/#comment-100897</guid>
		<description>It is probably not a good idea to connect an SQL database to your mail server.  And never do this at all, unless the SQL server is dedicated.

If you can't dedicate an SQL server for mail authentication, use LDAP.  Use a script to push the data from SQL into LDAP.  You will find that since LDAP is key-value based, it is at least an order of magnitude faster than any SQL database, including MySQL.</description>
		<content:encoded><![CDATA[<p>It is probably not a good idea to connect an SQL database to your mail server.  And never do this at all, unless the SQL server is dedicated.</p>
<p>If you can&#8217;t dedicate an SQL server for mail authentication, use LDAP.  Use a script to push the data from SQL into LDAP.  You will find that since LDAP is key-value based, it is at least an order of magnitude faster than any SQL database, including MySQL.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: arrohwany</title>
		<link>http://harry.sufehmi.com/archives/2008-03-13-1612/#comment-100872</link>
		<dc:creator>arrohwany</dc:creator>
		<pubDate>Thu, 13 Mar 2008 20:24:42 +0000</pubDate>
		<guid isPermaLink="false">http://harry.sufehmi.com/archives/2008-03-13-1612/#comment-100872</guid>
		<description>Its Cool...   :)</description>
		<content:encoded><![CDATA[<p>Its Cool&#8230;   <img src='http://harry.sufehmi.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sufehmi</title>
		<link>http://harry.sufehmi.com/archives/2008-03-13-1612/#comment-100842</link>
		<dc:creator>sufehmi</dc:creator>
		<pubDate>Thu, 13 Mar 2008 18:03:41 +0000</pubDate>
		<guid isPermaLink="false">http://harry.sufehmi.com/archives/2008-03-13-1612/#comment-100842</guid>
		<description>@samsul - I guess I should be thankful for that, indeed.
.
However, even when failing, they're still a great nuisance.
.
I was talking with my friends at Indosat, evangelizing virtualization technologies to them. They were most interested, and I kept on giving the solutions to them - until they mentioned about their spam-filter server.
.
They said that the (very powerful) server is always at more than 80% cpu utilization.
.
I said, leave the server alone :)
Don't virtualize it.
.
Spammers  causes loses to others. Much more than even I imagined.</description>
		<content:encoded><![CDATA[<p>@samsul - I guess I should be thankful for that, indeed.<br />
.<br />
However, even when failing, they&#8217;re still a great nuisance.<br />
.<br />
I was talking with my friends at Indosat, evangelizing virtualization technologies to them. They were most interested, and I kept on giving the solutions to them - until they mentioned about their spam-filter server.<br />
.<br />
They said that the (very powerful) server is always at more than 80% cpu utilization.<br />
.<br />
I said, leave the server alone <img src='http://harry.sufehmi.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
Don&#8217;t virtualize it.<br />
.<br />
Spammers  causes loses to others. Much more than even I imagined.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Samsul</title>
		<link>http://harry.sufehmi.com/archives/2008-03-13-1612/#comment-100828</link>
		<dc:creator>Samsul</dc:creator>
		<pubDate>Thu, 13 Mar 2008 17:10:57 +0000</pubDate>
		<guid isPermaLink="false">http://harry.sufehmi.com/archives/2008-03-13-1612/#comment-100828</guid>
		<description>The good thing is that the spammer didn't make his way through your SMTP, rite? I hate them, I once experienced a spammer gotten into my account, filling mySql with junks. Took my time to clean it up.</description>
		<content:encoded><![CDATA[<p>The good thing is that the spammer didn&#8217;t make his way through your SMTP, rite? I hate them, I once experienced a spammer gotten into my account, filling mySql with junks. Took my time to clean it up.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 1.972 seconds -->
