From owner-freebsd-current@FreeBSD.ORG Wed Jul 7 11:47:17 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4BFD216A4CE for ; Wed, 7 Jul 2004 11:47:17 +0000 (GMT) Received: from mta2.adelphia.net (mta2.adelphia.net [68.168.78.178]) by mx1.FreeBSD.org (Postfix) with ESMTP id 02B9043D41 for ; Wed, 7 Jul 2004 11:47:17 +0000 (GMT) (envelope-from johnmary@adelphia.net) Received: from 68-169-191-150.losaca.adelphia.net ([68.169.191.150]) by mta13.adelphia.netESMTP <20040707113838.TRFE14365.mta13.adelphia.net@68-169-191-150.losaca.adelphia.net>; Wed, 7 Jul 2004 07:38:38 -0400 Received: by 68-169-191-150.losaca.adelphia.net (Postfix, from userid 1001) id F1EB26BB1; Wed, 7 Jul 2004 04:38:37 -0700 (PDT) From: John Merryweather Cooper To: Drew Broadley In-Reply-To: <40EBDA99.5020309@corrupt.co.nz> References: <6.1.0.6.1.20040707033352.03dbca18@popserver.sfu.ca> <40EBDA99.5020309@corrupt.co.nz> Content-Type: text/plain Content-Transfer-Encoding: 7bit Message-Id: <1089200316.55099.10.camel@68-169-191-150.losaca.adelphia.net> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Wed, 07 Jul 2004 04:38:36 -0700 cc: current@freebsd.org cc: Colin Percival Subject: Re: bringing /etc/services up to date X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jul 2004 11:47:17 -0000 On Wed, 2004-07-07 at 04:12, Drew Broadley wrote: > Colin Percival wrote: > > > I've put together a patch to bring /etc/services up to date with > >almost a decade of IANA port assignments. Unfortunately, this > >turned out to be rather larger than I expected: It adds 6400 lines, > >and increases the size of /etc/services from 73 kB to 327 kB. > > Is anyone going to be very unhappy if I go ahead and commit this? > > > >Colin Percival > > > > > What are the netstat calls to /etc/services like with the update, any > performance decrease ? > > (I cannot think of any other application that uses them off the top of > my head) > > - Drew ipfw uses /etc/services if you use, e.g., "domain" instead of "53" in your rules. I would hope any application that seriously used /etc/services would read it once, store it in some speedily accessible form, and work from there. As a flat, human-created file, /etc/services would not be my candidate for efficient program access. jmc