spf-discuss
[Top] [All Lists]

Re: [spf-discuss] Re: draft-schlitt-spf-classic AUTH48 review

2006-03-25 08:53:24

On Sat, 25 Mar 2006, william(at)elan.net wrote:

On Sat, 25 Mar 2006, Frank Ellermann wrote:

william(at)elan.net wrote:

Regarding over-restrictive domain specification the fixes are
as follows:

toplabel         = ALPHA / ALPHA *[ alphanum / "-" ] alphanum
                    ; LDH rule (See [RFC3696])
Change to:
toplabel         = alphanum [ *[ alphanum / "-" ] alphanum ] [ "." ]
                    ; LDH rule (See [RFC3696])

NAK.  This is *_wrong_*.  We want no trailing dot, and we need
"not only digits" to catch an erroneous IPv4 instead of FQDN
as syntax error.  Don't screw with ABNF.

To satisfy Frank here is a proposed alternative that allows for domain name to start with digit but requires at least one alpha:

   toplabel         = [ DIGIT *[ alphanum / "-" ] ] ALPHA   \
                        [ *[ alphanum / "-" ] alphanum ] [ "." ]
                      ; LDH rule (See [RFC3696])

Note that this does not allow for "1-1" TLD which in theory should be valid,
if people want I can work on this more and get this taken care of but it would become even more complex and difficult to understand

name          = ALPHA *( ALPHA / DIGIT / "-" / "_" / "." )
to
name          = alphanum *( ALPHA / DIGIT / "-" / "_" / "." )

NAK.  This is an incompatible change.  As "name" suggests it
is something starting with ALPHA, excluding e.g. "numbers".

Similarly alternative that allows name to start with digit but contain at
least one alpha is (same problem also as "1_1" would not be valid name):

   name             = 1*( ALPHA / DIGIT ) *( name-char ) ALPHA *( name-char )
   name-char        = ALPHA / DIGIT / "-" / "_" / "."

--
William Leibzon
Elan Networks
william(_at_)elan(_dot_)net

-------
Sender Policy Framework: http://www.openspf.org/
Archives at http://archives.listbox.com/spf-discuss/current/
To unsubscribe, change your address, or temporarily deactivate your subscription, please go to http://v2.listbox.com/member/?listname=spf-discuss(_at_)v2(_dot_)listbox(_dot_)com

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