#30 ip6 parseing broken

v1.0.0
open
nobody
5
2010-05-29
2009-02-04
Jeff Anton
No

Parsing of ip6 fields in the SPF records broken
(i.e. cause permerror status)

See:
freebsd.org. 600 IN TXT "v=spf1 ip4:69.147.83.53 ip4:69.147.83.54 ip6:2001:4f8:fff6::35 ip6:2001:4f8:fff6::36 ~all"

Get mail via ipv6 while running sid-milter and you
get permerror.

Discussion

  • Jeff Anton
    Jeff Anton
    2009-06-27

    • assigned_to: nobody --> sm-msk
     
  • Ozi Suemasa
    Ozi Suemasa
    2009-10-06

    sm_marid_scan_ip_canon is called by sm_marid_dir_ip6. However, sm_marid_scan_ip_canon can't parse IPv6 address apparently.

     
  • Jeff Anton
    Jeff Anton
    2009-10-19

    It's not just the ip6 directive that doesn't work, ipv6 seems completely broken. In trying to fix this myself, I find that ipv6 addresses are not formatted before being passed into libmarid. That was easy to fix, but then when the ip4 directive gets an ip6 address it will permerror which is also wrong. Pretty easy to fix. But this does indicate that the whole milter has had no testing with ipv6 and just does not support it. It looks like a lot of work and I've asked the maintainer for archive access to work on this and I've not heard back. This seems like an abandoned project.

     
    • assigned_to: sm-msk --> nobody