Dale Worley
2010-01-29 16:41:27 UTC
Looking at draft-ietf-sip-ipv6-abnf-fix-04, one thing that is not
mentioned is that some C libraries do not always interpret IPv4
"dotted-decimal" addresses in decimal. In particular, if a component
starts with "0", it will be interpreted in octal:
$ ping 047.017.025.061
PING 047.017.025.061 (39.15.21.49) 56(84) bytes of data.
There are also some usages of "dotted-octal" in early RFCs.
I think one can safely argue that we've always intended for IPv4
addresses to be decimal, but I don't think we've ever stated that, and
the word "decimal" doesn't appear in this draft.
It's possible that there are security aspects of this, too, since an
IPv4 address might be interpreted differently than one would expect it
to be.
Dale
_______________________________________________
Sip mailing list https://www.ietf.org/mailman/listinfo/sip
This list is for NEW development of the core SIP Protocol
Use sip-***@cs.columbia.edu for questions on current sip
Use ***@ietf.org for new developments on the application of sip
mentioned is that some C libraries do not always interpret IPv4
"dotted-decimal" addresses in decimal. In particular, if a component
starts with "0", it will be interpreted in octal:
$ ping 047.017.025.061
PING 047.017.025.061 (39.15.21.49) 56(84) bytes of data.
There are also some usages of "dotted-octal" in early RFCs.
I think one can safely argue that we've always intended for IPv4
addresses to be decimal, but I don't think we've ever stated that, and
the word "decimal" doesn't appear in this draft.
It's possible that there are security aspects of this, too, since an
IPv4 address might be interpreted differently than one would expect it
to be.
Dale
_______________________________________________
Sip mailing list https://www.ietf.org/mailman/listinfo/sip
This list is for NEW development of the core SIP Protocol
Use sip-***@cs.columbia.edu for questions on current sip
Use ***@ietf.org for new developments on the application of sip