From owner-freebsd-net@FreeBSD.ORG Sat Jan 20 21:04:03 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 67A5916A400 for ; Sat, 20 Jan 2007 21:04:03 +0000 (UTC) (envelope-from ume@mahoroba.org) Received: from ameno.mahoroba.org (gw4.mahoroba.org [218.45.22.175]) by mx1.freebsd.org (Postfix) with ESMTP id 05FBD13C45E for ; Sat, 20 Jan 2007 21:04:02 +0000 (UTC) (envelope-from ume@mahoroba.org) Received: from kasuga.mahoroba.org (IDENT:JGEg7IYwLtiPzqXEU3bW9RviJHMSbWWKmtP2jYcv3Metq7w5UgCBv3aVQjkCPGtV@kasuga.mahoroba.org [IPv6:2001:2f0:104:8010:20b:97ff:fe2e:b521]) (user=ume mech=CRAM-MD5 bits=0) by ameno.mahoroba.org (8.13.8/8.13.8) with ESMTP/inet6 id l0KKRiuj063007 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 21 Jan 2007 05:27:45 +0900 (JST) (envelope-from ume@mahoroba.org) Date: Sun, 21 Jan 2007 05:27:43 +0900 Message-ID: From: Hajimu UMEMOTO To: Ed Maste In-Reply-To: <20070120192807.GA1326@sandvine.com> References: <20070120192807.GA1326@sandvine.com> User-Agent: xcite1.38> Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?ISO-8859-4?Q?Shij=F2?=) APEL/10.6 Emacs/22.0.50 (i386-pc-freebsd) MULE/5.0 (SAKAKI) X-Operating-System: FreeBSD 6.2-STABLE X-PGP-Key: http://www.imasy.or.jp/~ume/publickey.asc X-PGP-Fingerprint: 1F00 0B9E 2164 70FC 6DC5 BF5F 04E9 F086 BF90 71FE Organization: Internet Mutual Aid Society, YOKOHAMA MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-3.0 (ameno.mahoroba.org [IPv6:2001:2f0:104:8010::1]); Sun, 21 Jan 2007 05:27:45 +0900 (JST) X-Virus-Scanned: by amavisd-new X-Virus-Status: Clean X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.1.7 X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on ameno.mahoroba.org Cc: freebsd-net@freebsd.org 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: Sat, 20 Jan 2007 21:04:03 -0000 Hi, >>>>> On Sat, 20 Jan 2007 14:28:07 -0500 >>>>> Ed Maste 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. Sincerely, -- Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan ume@mahoroba.org ume@{,jp.}FreeBSD.org http://www.imasy.org/~ume/