function normalize_ipv4 needs fixing with updated despf.sh
stevejenkins opened this issue · 2 comments
stevejenkins commented
The normalize_ipv4()
function doesn't like lines like this in despf.sh
's output:
exists:%{i}._spf.sparkpostmail.com
This has been reported here:
If adding a flag to remove the exists:
output from despf.sh
isn't feasible, then we'll have to edit the normalize_ipv4()
function to remove those lines.
jcbf commented
It intended to parse only ip4 blocks ?
stevejenkins commented
Yes, because I haven't figured out a way to reliably validate IPv6 addresses. In fact, it's issue #5.
But it's been a while since I looked for a solution. Any ideas?