linux-admin.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Glynn Clements <glynn@gclements.plus.com>
To: terry white <twhite@aniota.com>
Cc: linux-admin <linux-admin@vger.kernel.org>
Subject: Re: possible SMTP attack: command=HELO/EHLO, count=3 (fwd)
Date: Mon, 16 Oct 2006 08:48:23 +0100	[thread overview]
Message-ID: <17715.14663.720397.614447@cerise.gclements.plus.com> (raw)
In-Reply-To: <Pine.LNX.4.58.0610150922480.1087@yossarian.aniota.com>


terry white wrote:

>     i'm starting to see a lot of the following.
> 
>     and i'm not thinking it a good thing ...
> 
> 
> muedsl-82-207-247-115.citykom.de [82.207.247.115]: possible SMTP attack:
> command=HELO/EHLO, count=3
> IGLD-83-130-135-36.inter.net.il [83.130.135.36]: possible SMTP attack:
> command=HELO/EHLO, count=3
> bzq-88-153-185-136.red.bezeqint.net [88.153.185.136]: possible SMTP attack:
> command=HELO/EHLO, count=3
> bzq-88-152-204-198.red.bezeqint.net [88.152.204.198]: possible SMTP attack:
> command=HELO/EHLO, count=3
> 89.1.170.41.dynamic.barak-online.net [89.1.170.41]: possible SMTP attack:
> command=HELO/EHLO, count=3

Nothing worth worrying about. If you run your own inbound mail server,
it will inevitably be subjected to various attacks.

The above indicates that a client sent 3 or more HELO/EHLO commands
(which shouldn't occur in normal use), so sendmail has started
throttling the connection.

Once a command is issued too many times, sendmail adds a delay to each
command that it processes. The delay starts at one second then doubles
with each subsequent command, up to a maximum of four minutes. This
prevents you getting DoS'd by brute-force attacks.

I'm not entirely sure what an attacker can achieve through multiple
HELO/EHLO commands. It might be a DoS against a third-party's DNS, or
it might be attempting to exploit a flaw in specific MTA software.

-- 
Glynn Clements <glynn@gclements.plus.com>

  parent reply	other threads:[~2006-10-16  7:48 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-15 16:23 possible SMTP attack: command=HELO/EHLO, count=3 (fwd) terry white
2006-10-15 18:40 ` Adrian C.
2006-10-16  7:48 ` Glynn Clements [this message]
2006-10-16 14:27   ` terry white
2006-10-20 12:44 ` Compressed Tar : stop on first occurrence Mauricio Silveira
2006-10-20 15:10   ` Hendrik Visage
2006-10-20 16:37   ` terry white
2006-10-20 18:31     ` Mauricio Silveira
2006-10-20 21:58       ` Glynn Clements
2006-10-20 18:40     ` Glynn Clements

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=17715.14663.720397.614447@cerise.gclements.plus.com \
    --to=glynn@gclements.plus.com \
    --cc=linux-admin@vger.kernel.org \
    --cc=twhite@aniota.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).