Dear Emmanuel Dreyfus, Thank you for your comments. "ip6tostringfordns " changes IPv6 address to String for DNS like IPv6 Address 2607:f8b0:400e:c00::248 "8.4.2.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.c.0.e.0.0.4.0.b.8.f.7.0.6.2" It is concatenated with DNS RBL URL like ".list.dnswl.org" at line 196 of dnsrbl.c, then "8.4.2.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.c.0.e.0.0.4.0.b.8.f.7.0.6.2.list.dnswl.org" In ip6tostringfordns, IPv6 address is changed per Byte (2 Hexadecimal digits), like one byte of IPv6 Address like 0x12 should change String "2.1". So large transformation table is used. -- Kazuyuki Yoshida On 2015/12/23 19:32, Emmanuel Dreyfus manu@... [milter-greylist] wrote: > > On Wed, Dec 23, 2015 at 04:09:28PM +0900, Kazuyuki YOSHIDA > yoshida@... [milter-greylist] wrote: > > I've created a patch which allows dnsrbl for IPv6 MTAs. > > There are few Blacklist for IPv6 MTAs, but some Whitelists exist. > > MTAWL.org includes IPv6 MTAs. > > For next submission please observe > - 80 char/line max > - spaces around binary operators such as == or && > > My comments: > - if (sa->sa_family == AF_INET) ; deserves a switch/case > - I have trouble to understand why ip6tostringfordns cannot be made > more straightforward. Could you please detail the desired output format? > > -- > Emmanuel Dreyfus > manu@... > >
Message
Re: [milter-greylist] dnsrbl for IPv6
2015-12-23 by Kazuyuki YOSHIDA
Attachments
- No local attachments were found for this message.