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:Daniel (cour@devloop.de)
Date:Oct 23, 2007 11:29:33 am
List:net.sourceforge.lists.courier-users

Am Dienstag, 23. Oktober 2007 00:36:52 schrieb Sam Varshavchik:

Zenon Panoussis writes:

For weeks on end now I am being subjected to what I could call a reverse spam DDoS attack for lack of better term. Some asshole is sending out zillions of messages to non-existent users at legitimate domains, using clearly non-existent sender addresses @myhosteddomain. It seems he is specifically targetting backup MXs and spam filtering services because the messages are first accepted for transport, then bounced. The bounces create a storm of connections to my MX, which in turn causes courier (0.55.1) to choke and stop receiving mail at all.

Some DNS or ident query is probably stalling, and it takes a while for the DNS query to time out. It's not refusing to receive mail any more, it's just taking a long time for various DNS queries to time out.

Begin by adding "-noidentlookup -nodnslookup" to TCPDOPTS in the esmtpd config file. Then, publish an SPF record for your domain. Finally, invest some time in meticulously compiling a list of most frequent backscatter source IPs, and blacklisting them.

I had the problem described by Sam. Just run telnet on your smtp port and look how long it takes until a connection cames up.

BTW: better courier stops receiving mail at all then courier stops your server at all ;-) And I think you won't loose any mail. The MTAs which wanted to send you some data will come back.