spf-discuss
[Top] [All Lists]

Re: IPv6 slashes

2003-12-07 13:32:59
On Sun, 7 Dec 2003, Philipp Morger wrote:

On Sun, Nov 30, 2003 at 12:08:21 -0500, Meng Weng Wong wrote:
--------
5.2 'a'

   This mechanism matches if the <sending-host> is one of the
   <target-name>'s IP addresses.

        A = 'a' [ ':' domain-spec ] [ dual-cidr-length ]

   The <sending-host> is compared to the IP address(es) of the
   <target-name>.  If any address matches, the mechanism matches.
----
first of all, I would introduce a method called 'aaaa', with that any 
dual-cidr-length
would no longer be needed, as you can have it as follows

a:dominion.ch/29, aaaa:dominion.ch/48

For the 'a' mechanisim an implementation knows wether to query for A or AAAA
records beacause it knows what version of ip the client it's checking is
using.

--------
5.5 'ip4' and 'ip6'

   These mechanisms test if the <sending-host> falls into a given IP
   network.

    IP4             = 'ip4' ':' ipv4-network [     ip4-cidr-length ]
    IP6             = 'ip6' ':' ipv6-network [ '/' ip6-cidr-length ]
    ip4-cidr-length = [ '/' 1*DIGIT ]
    ip6-cidr-length = [ '/' 1*DIGIT ]

   The <sending-host> is compared to the given network.  If they match,
   the mechanism matches.
----
I don't think this section needs any change... I can only assume that this
    IP4             = 'ip4' ':' ipv4-network [     ip4-cidr-length ]
should look like this:
    IP4             = 'ip4' ':' ipv4-network [ '/' ip4-cidr-length ]

no, then ip4 would have two slashes.

there is a mistake in the draft in this section (5.5), the ip6 line
should read:

IP6             = 'ip6' ':' ipv6-network [ ip6-cidr-length ]

the extra '/' is only needed in the dual-cidr-length case for 'a' and 'mx'.

-- 
[http://pointless.net/]                                   [0x2ECA0975]

-------
Sender Permitted From: http://spf.pobox.com/
Archives at http://archives.listbox.com/spf-discuss/current/
Latest draft at http://spf.pobox.com/draft-mengwong-spf-02.9.txt
To unsubscribe, change your address, or temporarily deactivate your 
subscription, 
please go to 
http://v2.listbox.com/member/?listname(_at_)©#«Mo\¯HÝÜîU;±¤Ö¤Íµø?¡


<Prev in Thread] Current Thread [Next in Thread>