Date: Sun, 21 Jan 2007 06:10:39 +0100 From: Max Laier <max@love2party.net> To: freebsd-net@freebsd.org Cc: "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net>, Ed Maste <emaste@phaedrus.sandvine.ca>, Hajimu UMEMOTO <ume@freebsd.org>, JINMEI Tatuya / =?utf-8?q?=E7=A5=9E=E6=98=8E=E9=81=94=E5=93=89?= <jinmei@isl.rdc.toshiba.co.jp> Subject: Re: inet_pton and oddly-formatted addresses Message-ID: <200701210610.49958.max@love2party.net> In-Reply-To: <y7vmz4dm7tn.wl%jinmei@isl.rdc.toshiba.co.jp> References: <20070120192807.GA1326@sandvine.com> <20070120214052.U82671@maildrop.int.zabbadoz.net> <y7vmz4dm7tn.wl%jinmei@isl.rdc.toshiba.co.jp>
next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart1462050.20htLLDccN Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Sunday 21 January 2007 03:28, JINMEI Tatuya / =E7=A5=9E=E6=98=8E=E9=81= =94=E5=93=89 wrote: > >>>>> On Sat, 20 Jan 2007 21:42:44 +0000 (UTC), > >>>>> "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net> said: > > emaste> I think an address like 1.002.3.4 is bizarre, but is our > inet_pton incorrect emaste> in rejecting it? > > >> The change was taken from BIND9. The following is from BIND9's > >> CHANGES: > >> > >> 935. [bug] inet_pton failed to reject leading zeros. > > > > well, maybe they were wrong? How does one get in contact with their > > bugs database these days? Is comp.protocols.dns.bind still a good > > place to discuss these things? > > Or bind-users@isc.org. And yes, I'd ask the question at some > BIND-specific list. > > JINMEI, Tatuya > Communication Platform Lab. > Corporate R&D Center, Toshiba Corp. > jinmei@isl.rdc.toshiba.co.jp > > p.s. 1.002.3.4 is "illegal" according to RFC3986, Section 3.2.2 > (although it's specified in the context of a URI), so "what is legal" > is probably a controversial issue. Section 7.4 is rather clear about the scope of the definition of "dotted=20 notation" in 3.2.2. - i.e. it is limited to URIs. inet_aton gethostbyname=20 etc. are explicitly allowed to accept platform dependent representations. =2D-=20 /"\ Best regards, | mlaier@freebsd.org \ / Max Laier | ICQ #67774661 X http://pf4freebsd.love2party.net/ | mlaier@EFnet / \ ASCII Ribbon Campaign | Against HTML Mail and News --nextPart1462050.20htLLDccN Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQBFsvXZXyyEoT62BG0RAh/2AJ0RqT8TCimmwZ9f1eTjGO0tOmHUggCeNqMb /HTYhr5Dj7c8NrNC2p2+qLU= =jGYx -----END PGP SIGNATURE----- --nextPart1462050.20htLLDccN--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200701210610.49958.max>