forked from trusteddomainproject/OpenDMARC
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Several fixes related to the internal SPF implementation:
* Build the SPF test suite if either the internal implementation or libspf2 is selected. Previously the tests only ran if libspf2 was selected. In fact the only way to test the internal implementation is to request libspf2 but give it a bogus location; the package falls back to the internal SPF implementation, but still schedules the tests. * In several places, IPv4 addresses were being passed around as u_long instead of uint32_t. On at least some environments, u_long is eight bytes long, which leads to false comparisons. * When doing relative comparisons on IPv4 addresses, be sure everything is in host byte order. * Re-fix the type check in the A/AAAA retrieval code. * Don't throw away replies to the A query when T_AAAA is defined. * Parse T_AAAA replies properly. * Document what the CIDR function expects in terms of byte order.
- Loading branch information
Murray S. Kucherawy
committed
Apr 15, 2021
1 parent
9da59ec
commit 5ed1d6e
Showing
7 changed files
with
55 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters