From owner-freebsd-security Fri Oct 6 5:17:41 2000 Delivered-To: freebsd-security@freebsd.org Received: from surreal.nl (surreal.nl [212.204.236.10]) by hub.freebsd.org (Postfix) with ESMTP id 9681E37B502 for ; Fri, 6 Oct 2000 05:17:38 -0700 (PDT) Received: by surreal.nl (Postfix, from userid 1000) id D06A31DA8A; Tue, 3 Oct 2000 03:40:54 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by surreal.nl (Postfix) with ESMTP id CD6BE1DA89; Tue, 3 Oct 2000 03:40:54 +0200 (CEST) Date: Tue, 3 Oct 2000 03:40:54 +0200 (CEST) From: Walter Hop To: Michael Bryan Cc: security@FreeBSD.ORG Subject: Re: cvs commit: src/etc inetd.conf In-Reply-To: <39D93044.8B0C4E69@ursine.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Don't recall where I got it from, some Linux site I believe... -- "You might feel like you're melting and want to roll around on the ground, or maybe thats just me." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message