From owner-freebsd-security Fri Oct 6 16:48:33 2000 Delivered-To: freebsd-security@freebsd.org Received: from static.unixfreak.org (static.unixfreak.org [63.198.170.139]) by hub.freebsd.org (Postfix) with ESMTP id 520C637B503 for ; Fri, 6 Oct 2000 16:48:26 -0700 (PDT) Received: by static.unixfreak.org (Postfix, from userid 1000) id 38B271F20; Fri, 6 Oct 2000 16:48:25 -0700 (PDT) Subject: Re: cvs commit: src/etc inetd.conf In-Reply-To: "from Walter Hop at Oct 3, 2000 03:40:54 am" To: Walter Hop Date: Fri, 6 Oct 2000 16:48:25 -0700 (PDT) Cc: Michael Bryan , security@FreeBSD.ORG From: Dima Dorfman Reply-To: dima@unixfreak.org X-Mailer: ELM [version 2.4ME+ PL82 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Message-Id: <20001006234825.38B271F20@static.unixfreak.org> Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > [in reply to Michael Bryan , 02/10/00] > > > If any port has a listener on it, as an admin you'd better know what that > > listener is > > This shell script should be in the base ;) > > lsof -i | grep LISTEN | awk '{ print $1 "("$3") " $9} ' | sort | > uniq Only one problem: lsof isn't in the base system. Regards -- Dima Dorfman Finger dima@unixfreak.org for my public PGP key. "If you understand everything, you must be misinformed." -- Japanese Proverb To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message