Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Aug 1996 15:50:06 +0200
From:      Poul-Henning Kamp <phk@critter.tfs.com>
To:        Dave Cornejo <dave@dogwood.com>
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 
Message-ID:  <3387.840808206@critter.tfs.com>
In-Reply-To: Your message of "Fri, 23 Aug 1996 06:40:57 PDT." <199608231340.GAA12817@white.dogwood.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3387.840808206>