Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Oct 2000 16:48:25 -0700 (PDT)
From:      Dima Dorfman <dima@unixfreak.org>
To:        Walter Hop <walter@skydancer.nl>
Cc:        Michael Bryan <fbsd-security@ursine.com>, security@FreeBSD.ORG
Subject:   Re: cvs commit: src/etc inetd.conf
Message-ID:  <20001006234825.38B271F20@static.unixfreak.org>
In-Reply-To: <Pine.BSF.4.21.0010030332190.15413-100000@surreal.nl> "from Walter Hop at Oct 3, 2000 03:40:54 am"

next in thread | previous in thread | raw e-mail | index | archive | help
> [in reply to Michael Bryan <fbsd-security@ursine.com>, 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 <dima@unixfreak.org>
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




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