Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Oct 2000 15:33:43 +0300
From:      Peter Pentchev <roam@orbitel.bg>
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:  <20001006153343.B232@ringwraith.office1.bg>
In-Reply-To: <Pine.BSF.4.21.0010030332190.15413-100000@surreal.nl>; from walter@skydancer.nl on Tue, Oct 03, 2000 at 03:40:54AM %2B0200
References:  <39D93044.8B0C4E69@ursine.com> <Pine.BSF.4.21.0010030332190.15413-100000@surreal.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Oct 03, 2000 at 03:40:54AM +0200, Walter Hop wrote:
> [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
> 
> Don't recall where I got it from, some Linux site I believe...

And to paraphrase an earlier comment by DES,
"Funny way to say sockstat | fgrep '*.*'"  :)

G'luck,
Peter

-- 
This would easier understand fewer had omitted.


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?20001006153343.B232>