<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal>Hi, using saslauthd 2.1.19 (cyrus-sasl-2.1.19-14) and
recently I have been hit with a lot of dictionary attacks using sasl
authentication.<o:p></o:p></p>
<p class=MsoNormal>While looking at this issue I noticed that the sasl logs, (/var/log/messages)
is not logging the remote ip of the failed attempted. <o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>[root@mrelay3 deferred]# tail -f /var/log/messages<o:p></o:p></p>
<p class=MsoNormal>May 24 11:17:33 mrelay3 smtp(pam_unix)[23505]: check pass;
user unknown<o:p></o:p></p>
<p class=MsoNormal>May 24 11:17:33 mrelay3 smtp(pam_unix)[23505]:
authentication failure; logname= uid=0 euid=0 tty= ruser= rhost=<o:p></o:p></p>
<p class=MsoNormal>May 24 11:17:35 mrelay3 saslauthd[23505]:
do_auth : auth failure:
[user=freedo] [service=smtp] [realm=] [mech=pam] [reason=PAM auth error<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>What can I do to have the remote ip show up on the logs. I
have looked on this lists archives and searched google but found nothing. If
this is not possible for some reason what is the best/recommended way about
getting the remote ip info. Also are there any options built into cyrus sasl
that can minimize dictionary attacks?<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>Thanks very much, Paul<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
</div>
</body>
</html>