[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-security] netstat



"Graeme Fowler" <graeme.fowler@xxxxxxxxxxxxxx> wrote:
> In that case you could always download a copy of lsof and compile it
> locally.
>
> lsof == (literally) LiSt Open Files
>
> With the -i switch it doesn't just show open ports, it shows the files
> opened by the processes which have those ports open. It's a *lot* more
> verbose that netstat, but in some cases I find it a whole load more
useful.
> Especially when I suspect there's something Not Quite Right with a machine
> and something's hiding from me...

I'll second Graeme - lsof is a great tool.

> Again though as mentioned by Steve Werby, it might be a little difficult
to
> find an RPM for this. Use the source :)

I compiled lsof_4.55 from source on a RaQ2 earlier this year.  I'm pretty
sure it was just the standard "./configure, make, make install" so give it a
try.  You can always hold off on "make install" and run the program from
your install directory until you're comfortable with installing the binary
and man page to the standard locations.

--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/