spf-discuss
[Top] [All Lists]

Re: IPv6 in SPF (was: ANNOUNCE libspf-alt version 0.3)

2004-03-28 09:16:00
In 
<1080486464(_dot_)17352(_dot_)167(_dot_)camel(_at_)imladris(_dot_)demon(_dot_)co(_dot_)uk>
 David Woodhouse <dwmw2(_at_)infradead(_dot_)org> writes:

You might want to ponder the question of whether you _also_ want to look
up 2002::/16 addresses as IPv4 too. Addresses in the range
2002:xxyy:zzww::/48 are guaranteed to be coming from the IPv4 address
xx.yy.zz.ww. 

Ok, I was browsing through the netinet/in.h include file, and I
stumbled across the IN6_IS_ADDR_V4COMPAT macro.  This appears to check
for 0:0:0:xxxx:yyyy where xxxx:yyyy > 1.  Is this something I need to
worry about also?


-wayne