From owner-cvs-etc Fri Aug 23 06:50:54 1996 Return-Path: owner-cvs-etc Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id GAA21082 for cvs-etc-outgoing; Fri, 23 Aug 1996 06:50:54 -0700 (PDT) Received: from critter.tfs.com ([140.145.230.252]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id GAA21073; Fri, 23 Aug 1996 06:50:49 -0700 (PDT) Received: from critter.tfs.com (localhost.tfs.com [127.0.0.1]) by critter.tfs.com (8.7.5/8.7.3) with ESMTP id PAA03389; Fri, 23 Aug 1996 15:50:07 +0200 (MET DST) To: Dave Cornejo cc: rgrimes@gndrsh.aac.dev.com (Rodney W. Grimes), joerg_wunsch@uriah.heep.sax.de, asami@freefall.freebsd.org, CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-etc@freefall.freebsd.org Subject: Re: cvs commit: src/etc services In-reply-to: Your message of "Fri, 23 Aug 1996 06:40:57 PDT." <199608231340.GAA12817@white.dogwood.com> Date: Fri, 23 Aug 1996 15:50:06 +0200 Message-ID: <3387.840808206@critter.tfs.com> From: Poul-Henning Kamp Sender: owner-cvs-etc@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk In message <199608231340.GAA12817@white.dogwood.com>, Dave Cornejo writes: >I've often wondered if the services file shouldn't be generated from a >giant list of port and rpc program numbers by a script that looks at >inetd.conf to determine what services you're actually using. > >More than a couple of times I've been up late at night trying to >figure out why a 'chromagrafx' port is connecting to a 'submitserver' >port... Wrong solution. Each socket should have a flag that tells if it was bound to a specific address/port or defaulted to something the kernel gave it. That way netstat would know not to do a service resolution on the sockets that are anonymous. Should be an easy thing to do :-) -- Poul-Henning Kamp | phk@FreeBSD.ORG FreeBSD Core-team. http://www.freebsd.org/~phk | phk@login.dknet.dk Private mailbox. whois: [PHK] | phk@ref.tfs.com TRW Financial Systems, Inc. Future will arrive by its own means, progress not so.