spf-discuss
[Top] [All Lists]

Re: Re: IPv4/IPv6 address handling in the SPF specification

2005-06-27 17:35:17
In <42C083A1(_dot_)1BB2(_at_)xyzzy(_dot_)claranet(_dot_)de> Frank Ellermann 
<nobody(_at_)xyzzy(_dot_)claranet(_dot_)de> writes:

Julian Mehnle wrote:

Any comments?

Does your idea also cover stuff like %{ir}, or does that case
need an additional statement ?  Is the whole issue something
like an implementation detail ?  At least it's no bug in the
spec., your 1st report sounded like real trouble.  Bye, Frank

Section 5 "Mechanism Definition" says, in part:

   [...] Even if the SMTP connection is
   via IPv6, an IPv4-mapped IPv6 IP address (see [RFC3513] section
   2.5.5) MUST still be considered an IPv4 address.

Hence, ${i}, %{v}, %{p}, ptr:, etc. must give the same results whether
you have an IPv4 address, or an IPv4-mapped IPv6 address.  Converting
everything to IPv6 just saves having to carry around two data
structures and a flag so that you can check which data structure to
use.  It's a nice idea for implementors, and irrelevant for everyone
else.


-wayne