OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Subject: Re: cvs commit: src/etc inetd.conf
From: Ruslan Ermilov (rusunbay.com)
Date: Tue Oct 03 2000 - 12:18:53 CDT


On Tue, Oct 03, 2000 at 11:25:18AM -0500, James Wyatt wrote:
> On 3 Oct 2000, Dag-Erling Smorgrav wrote:
> > Michael Bryan <fbsd-securityursine.com> writes:
> > > A command that I -always- execute on any freshly installed system, and from
> > > time to time when checking up on things:
> > >
> > > netstat -an
> >
> > Funny way to spell "sockstat except with less information" :)
>
> More and less. netstat -an is longer, sockstat has more columns. I like
> the PID given in sockstat, but is there any way to get them for Unix
> domain sockets? I tried "apropos domain" and "(for DIR in `echo $PATH | tr
> ':' ' '` ; do ls $DIR 2> /dev/null | grep stat ; done) | more", but
> neither gave me much help... - Jy
>
Sure there is, try `netstat -an -funix' followed by `fstat | grep local'.

-- 
Ruslan Ermilov		Oracle Developer/DBA,
rusunbay.com		Sunbay Software AG,
ruFreeBSD.org		FreeBSD committer,
+380.652.512.251	Simferopol, Ukraine

http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age

To Unsubscribe: send mail to majordomoFreeBSD.org with "unsubscribe freebsd-security" in the body of the message