Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 443984 - mail-filter/libspf2-1.2.9 has a known bug with ipv6 addresses [add patch to ebuild]
Summary: mail-filter/libspf2-1.2.9 has a known bug with ipv6 addresses [add patch to e...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Net-Mail Packages
URL: http://www.gossamer-threads.com/lists...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-20 04:48 UTC by Jenny Danzmayr
Modified: 2012-11-20 15:21 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
patch with new ebuild and 2 patches fixing ipv6 related issues (libspf2-ipv6.patch,8.85 KB, patch)
2012-11-20 04:51 UTC, Jenny Danzmayr
Details | Diff
patch with new ebuild and 2 patches fixing ipv6 related issues (libspf2-ipv6.patch,8.50 KB, patch)
2012-11-20 05:03 UTC, Jenny Danzmayr
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jenny Danzmayr 2012-11-20 04:48:58 UTC
libspf in its current version has a bug were ip6 spf rules will fail if the address is longer than 16 characters.
I found a patch witch fixes this

Reproducible: Always

Steps to Reproduce:
spfquery -i 2001:xxxx::xxxx -s somedomain.net
Actual Results:  
spfquery: domain of somedomain.net does not designate 2001:xxxx::xxxx as permitted sender
Received-SPF: fail (spfquery: domain of somedomain.net does not designate 2001:470:1f0b:a0b::1 as permitted sender) client-ip=2001:xxxx::xxxx; envelope-from=postmaster@somedomain.net;

Expected Results:  
spfquery: domain of somedomain.net designates 2001:xxxx::xxxx as permitted sender
Received-SPF: pass (spfquery: domain of somedomain.net designates 2001:xxxx::xxxx as permitted sender) client-ip=2001:xxxx::xxxx; envelope-from=postmaster@somedomain.net;

http://www.gossamer-threads.com/lists/spf/devel/35098 << the source of the patch
Comment 1 Jenny Danzmayr 2012-11-20 04:51:29 UTC
Created attachment 330016 [details, diff]
patch with new ebuild and 2 patches fixing ipv6 related issues
Comment 2 Jenny Danzmayr 2012-11-20 04:54:29 UTC
Comment on attachment 330016 [details, diff]
patch with new ebuild and 2 patches fixing ipv6 related issues

just found an error
please ignore this patch
Comment 3 Jenny Danzmayr 2012-11-20 05:03:12 UTC
Created attachment 330018 [details, diff]
patch with new ebuild and 2 patches fixing ipv6 related issues
Comment 4 Eray Aslan gentoo-dev 2012-11-20 15:21:45 UTC
+*libspf2-1.2.9-r3 (20 Nov 2012)
+
+  20 Nov 2012; Eray Aslan <eras@gentoo.org> +files/libspf2-1.2.9-ipv6.patch,
+  +libspf2-1.2.9-r3.ebuild:
+  Fix ipv6 failures - bug #443984.  Thanks to Peter Danzmayr
+