#30 ip6 parseing broken

Jeff Anton

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

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

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


  • 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.

  • Anonymous

    Anonymous - 2010-05-29
    • assigned_to: sm-msk --> nobody

Log in to post a comment.