From owner-freebsd-net@FreeBSD.ORG Sun Jan 21 02:50:23 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 C871916A400; Sun, 21 Jan 2007 02:50:23 +0000 (UTC) (envelope-from jinmei@isl.rdc.toshiba.co.jp) Received: from shuttle.wide.toshiba.co.jp (shuttle.wide.toshiba.co.jp [202.249.10.124]) by mx1.freebsd.org (Postfix) with ESMTP id 957CB13C45B; Sun, 21 Jan 2007 02:50:23 +0000 (UTC) (envelope-from jinmei@isl.rdc.toshiba.co.jp) Received: from impact.jinmei.org (shuttle.wide.toshiba.co.jp [2001:200:1b1::35]) by shuttle.wide.toshiba.co.jp (Postfix) with ESMTP id 2D88815267; Sun, 21 Jan 2007 11:28:55 +0900 (JST) Date: Sun, 21 Jan 2007 11:28:52 +0900 Message-ID: From: JINMEI Tatuya / =?ISO-2022-JP?B?GyRCP0BMQEMjOkgbKEI=?= To: "Bjoern A. Zeeb" In-Reply-To: <20070120214052.U82671@maildrop.int.zabbadoz.net> References: <20070120192807.GA1326@sandvine.com> <20070120214052.U82671@maildrop.int.zabbadoz.net> User-Agent: Wanderlust/2.14.0 (Africa) Emacs/21.3 Mule/5.0 (SAKAKI) Organization: Research & Development Center, Toshiba Corp., Kawasaki, Japan. MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Cc: freebsd-net@freebsd.org, Ed Maste , Hajimu UMEMOTO 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 02:50:23 -0000 >>>>> 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.