Yahoo Groups archive

Milter-greylist

Index last updated: 2026-04-28 23:32 UTC

Message

Re: [milter-greylist] Submitter DNS name resolution and forgery detection

2013-08-15 by manu@...

Jim Klimov <jimklimov@...> wrote:

> > I was reading it and it seemed a bit overkill to me to do the
> > a.b.c.d -> d.c.b.a.in-addr.arpa transformation on your own. That adds
> > many lines and still fail to support IPv6. Is your system able to use
> > getnameinfo(), which is part of POSIX1?
> 
> Well, we are only as crafty as the tools we know about ;)

Here is a patch that does it using getaddrinfo/getnameinfo
http://ftp.espci.fr/shadow/manu/unbracket.patch

Please tell me if it fits your needs.

-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu@...

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.