This patch makes it possible to allow IPv6 subnets to be whitelisted/auto-accepted. Obtained from http://wilmer.gaa.st/blog/archives/61-spamass-milter-and-IPv6.html. Submitted by Koen Martens gmc <at> sonologic <dot> nl via private email. Fix: Use the patch attached Patch attached with submission follows:
Responsible Changed From-To: freebsd-ports-bugs->wen I'll take it.
wen 2011-03-28 03:08:45 UTC FreeBSD ports repository Modified files: mail/spamass-milter Makefile Added files: mail/spamass-milter/files extra-patch-ipv6 Log: - Allow IPv6 subnets to be whitelisted/auto-accepted Obtained from http://wilmer.gaa.st/blog/archives/61-spamass-milter-and-IPv6.html PR: ports/155979 Submitted by: "Mikhail T." <m.tsatsenko@gmail.com> (maintainer) Revision Changes Path 1.47 +6 -1 ports/mail/spamass-milter/Makefile 1.1 +270 -0 ports/mail/spamass-milter/files/extra-patch-ipv6 (new) _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Committed. Thanks!
After extra-patch-ipv6 is patched, command line argument such as -i 192.168.1.1/255.255.255.0 cannot be accepted with error message Could not parse "255.255.255.0" as a netmask though, -i 192.168.1.1/24 is ok. I guess } else if (!inet_pton(AF_INET6, tmask, &mask)) is a typo of } else if (!inet_pton(AF_INET, tmask, &mask))
Hi, at the first look you are right, but I have to do a more detailed look at this in a next few days. -- Mikhail