11 messages in net.sourceforge.lists.courier-usersRe: [courier-users] Saturation DDoS
FromSent OnAttachments
Zenon PanoussisOct 22, 2007 5:50 am 
Enda CronnollyOct 22, 2007 6:25 am 
Leigh S. JonesOct 22, 2007 7:29 am 
Gordon MessmerOct 22, 2007 7:48 am 
Zenon PanoussisOct 22, 2007 8:25 am 
Gordon MessmerOct 22, 2007 9:50 am 
Zenon PanoussisOct 22, 2007 10:34 am 
Gordon MessmerOct 22, 2007 12:48 pm 
Sam VarshavchikOct 22, 2007 3:36 pm 
Zenon PanoussisOct 23, 2007 12:27 am 
DanielOct 23, 2007 11:29 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [courier-users] Saturation DDoSActions...
From:Zenon Panoussis (ora@provocation.net)
Date:Oct 22, 2007 10:34:17 am
List:net.sourceforge.lists.courier-users

Gordon Messmer wrote:

... when mail servers connect to courier's smtpd and send RCPT commands with invalid users (or any other error), smtpd starts tarpitting them -- after each failed command, it waits for an increasingly long period of time before it replies and reads more commands.

This looks like a very plausible explanation to what's happening. If tarpitted = MAXDAEMONS because of a storm of garbage, courier would end up with no free resources to deal with anything else, legitimate or garbage.

This feature of courier prevents dictionary attacks against your system. In your case, the mail servers sending you backscatter continue to send commands for a long period, which means that it takes a long time for courier to free up slots for new connections. What you're seeing is not a bug in courier.

In this case this feature turns against me and everybody else except the spammer. What is hitting me is more or less innocent servers bouncing spam (not 100% innocent because they shouldn't have accepted that spam in the first place, but misconfigured != malicious). So tarpitting them wastes their resources and mine, especially mine, without achieving any desirable effect, e.g. slowing down the spammer.

I'll risk earning myself an RTFM reply and ask: is there a way to configure tarpit=off?

Z