From owner-freebsd-net@FreeBSD.ORG Sun Jan 21 05:11:04 2007 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4723016A400 for ; Sun, 21 Jan 2007 05:11:04 +0000 (UTC) (envelope-from max@love2party.net) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.179]) by mx1.freebsd.org (Postfix) with ESMTP id CCE6613C457 for ; Sun, 21 Jan 2007 05:11:01 +0000 (UTC) (envelope-from max@love2party.net) Received: from [88.66.6.102] (helo=amd64.laiers.local) by mrelayeu.kundenserver.de (node=mrelayeu6) with ESMTP (Nemesis), id 0ML29c-1H8Uyn3QaM-0006fF; Sun, 21 Jan 2007 06:11:00 +0100 From: Max Laier Organization: FreeBSD To: freebsd-net@freebsd.org Date: Sun, 21 Jan 2007 06:10:39 +0100 User-Agent: KMail/1.9.5 References: <20070120192807.GA1326@sandvine.com> <20070120214052.U82671@maildrop.int.zabbadoz.net> In-Reply-To: X-Face: ,,8R(x[kmU]tKN@>gtH1yQE4aslGdu+2]; R]*pL,U>^H?)gW@49@wdJ`H<=?utf-8?q?=25=7D*=5FBD=0A=09U=5For=3D=5CmOZf764=26nYj=3DJYbR1PW0ud?=>|!~,,CPC.1-D$FG@0h3#'5"k{V]a~.<=?utf-8?q?mZ=7D44=23Se=7Em=0A=09Fe=7E=5C=5DX5B=5D=5Fxj?=(ykz9QKMw_l0C2AQ]}Ym8)fU MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1462050.20htLLDccN"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200701210610.49958.max@love2party.net> X-Provags-ID: kundenserver.de abuse@kundenserver.de login:61c499deaeeba3ba5be80f48ecc83056 Cc: "Bjoern A. Zeeb" , Ed Maste , Hajimu UMEMOTO , JINMEI Tatuya / =?utf-8?q?=E7=A5=9E=E6=98=8E=E9=81=94=E5=93=89?= Subject: Re: inet_pton and oddly-formatted addresses X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Jan 2007 05:11:04 -0000 --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" 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--