From owner-freebsd-current@FreeBSD.ORG Wed Jul 7 12:39:54 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 C0AA516A4CE for ; Wed, 7 Jul 2004 12:39:54 +0000 (GMT) Received: from ioskeha.hittite.isp.9tel.net (ioskeha.hittite.isp.9tel.net [62.62.156.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8F80E43D1D for ; Wed, 7 Jul 2004 12:39:54 +0000 (GMT) (envelope-from clefevre-lists@9online.fr) Received: from pc2k (103-62-118-80.kaptech.net [80.118.62.103]) by ioskeha.hittite.isp.9tel.net (Postfix) with SMTP id B19CC14BBF8; Wed, 7 Jul 2004 14:42:27 +0200 (CEST) Message-ID: <01b401c4641f$80a30e70$7890a8c0@dyndns.org> From: "Cyrille Lefevre" To: "John Merryweather Cooper" , "Drew Broadley" References: <6.1.0.6.1.20040707033352.03dbca18@popserver.sfu.ca> <40EBDA99.5020309@corrupt.co.nz> <1089200316.55099.10.camel@68-169-191-150.losaca.adelphia.net> Date: Wed, 7 Jul 2004 14:39:52 +0200 Organization: ACME MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 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 12:39:54 -0000 "John Merryweather Cooper" wrote: > 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? > > > > > 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) > > 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. except if you implement some kind of nscd (name service cache daemon) :) Cyrille Lefevre. -- mailto:clefevre-lists@9online.fr