Re: Special Characters

New Message Reply About this list Date view Thread view Subject view Author view

From: Kai Henningsen (kaih@khms.westfalen.de)
Date: Sun Apr 23 2000 - 12:17:00 CDT


clive@demon.net (Clive D.W. Feather) wrote on 11.04.00 in <20000411174152.N43970@demon.net>:

> Jonathan Grobe said:
> > I allow [IP-ADDR] as the domain part of the ID now, but only if it's
> > the entire domain name and only if it strictly follows the N.N.N.N format
> > where N is 0 to 255.
>
> Except that that's not the correct rule. The correct syntax is:
>
> ip-addr : "[" dotted-part "]"
>
> dotted-part : number |
> number "." number |
> number "." number "." number |
> number "." number "." number "." number
>
> number : non-zero *digit | ( "0x" | "0X" ) 1*hex | "0" *octal

[ ... and so on ... ]

This is insane.

There are exactly two options to consider here:

(1) Accept syntax. The original syntax, the way it was probably intended.
    That's
    "[" <network-specific-stuff> "]"
    and we really don't want to say more than absolutely necessary about
    what network-specific-stuff is.

(2) Generate syntax. For IPv4, this is
    "[" number "." number "." number "." number "]"
    where number is [0-9]* *and* decimal *and* of value 0..255 *and* no
    leading zeroes.
    For IPv6, I don't remember what (if anything) was decided in DRUMS.

MfG Kai


New Message Reply About this list Date view Thread view Subject view Author view


This archive was generated by hypermail 2b29.