Bug#327088: [Logcheck-devel] Bug#327088: Dovecot rules doesn't work with ipv6
Marco Nenciarini
mnencia at prato.linux.it
Wed Sep 7 15:44:35 UTC 2005
On Wed, Sep 07, 2005 at 04:05:29PM +0100, Jamie L. Penman-Smithson wrote:
> tags 327088 pending
> thanks
>
> On Wed, 2005-09-07 at 16:44 +0200, Marco Nenciarini wrote:
> > If you enable ipv6 in dovecot's config, it produces logs with ipv6 addresses within.
> >
> > >From my mail.log:
> >
> > Sep 7 14:03:59 lorien pop3-login: Login: xxxxxxxx at prato.linux.it [::ffff:11.22.33.44]
>
> I've changed the relevant rules for dovecot so they now look like this:
>
> ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ (imap|pop3)-login: Login:
> [.[:alnum:]@-]+ \[(::ffff:)?[0-9.]+\]$
> ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ (imap|pop3)-login: Disconnected
> \[(::ffff:)?[0-9.]+\]$
>
> I've tested them against the log messages you provided.
>
> Thanks for your bug report,
>
Your rule does not fit the case that the client have an ipv6 ip. Yhis
is the log:
Sep 7 17:41:12 lorien pop3-login: Login: mnencia at prato.linux.it [2001:1418:13:10::1]
Bye
P.S: I've found some other problems with ipv6 addresses in ntpd and
postfix. i'll submit a new bug with the patches soon.
--
---------------------------------------------------------------------
| Marco Nenciarini | Debian/GNU Linux Developer - Plug Member |
| mnencia at prato.linux.it | http://www.prato.linux.it/~mnencia |
---------------------------------------------------------------------
Key fingerprint = FED9 69C7 9E67 21F5 7D95 5270 6864 730D F095 E5E4
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/logcheck-devel/attachments/20050907/c7e1f02e/attachment.pgp
More information about the Logcheck-devel
mailing list