
eddy at interpc
Jun 27, 2008, 2:17 AM
Views: 2773
Permalink
|
|
InterPC.SPF and Test Suite
|
|
After many changes made, many bugs corrected and many code lines added, the library finally pass all the Test Suite scenarios. 166 tests get the required result and 3 get a 'not preferred' result. But in fact, I know that when using in a 'real' context (without requesting a fake ZoneDatas DNS proxy) the 4 following tests will fail : - a-colon-domain - a-colon-domain-ip4mapped - mx-colon-domain - mx-colon-domain-ip4mapped The reason is that those tests require dns query to be done with invalid chars (foo:bar/baz.example.com). Since InterPC.SPF is using Windows native api for Dns lookup, the win api function returns DNS_ERROR_INVALID_NAME_CHAR Winerror because of the ':' and '/' chars. So in real dns lookup, this 4 tests would return PermError. All changes will be released soon as InterPC.SPF 1.1. I join the whole test results in XML readable format. ------------------------------------------- Sender Policy Framework: http://www.openspf.org Modify Your Subscription: http://www.listbox.com/member/ Archives: http://www.listbox.com/member/archive/1007/=now RSS Feed: http://www.listbox.com/member/archive/rss/1007/ Powered by Listbox: http://www.listbox.com
|