spf-discuss
[Top] [All Lists]

Re: ip4: ABNF Question...

2005-08-02 13:49:43
On Tue, Aug 02, 2005 at 03:50:59PM -0400, Dick St.Peters wrote:

RFC791 is about protocol bits.  192.168.050.0 and 192.168.50.0 would
be the same bits, just expressed as slightly different human-readable
forms.

However, by convention leading zeros aren't used, at least partly
because another convention says a leading 0 implies octal.  In a BIND
zone file, a leading 0 in an A record causes BIND to complain "not a
decimal dotted quad".

I would say don't allow them.

I agree.  I happened to stumble upon this in my early years, in
an attempt to nicely format a host file.  050 would be 5 times 8
equalling 40.  I think it was SCO unix but am not sure.

Alex


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