[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-security] netstat
- Subject: Re: [cobalt-security] netstat
- From: "Steve Werby" <steve-lists@xxxxxxxxxxxx>
- Date: Wed, 30 May 2001 15:45:12 -0400
- List-id: Mailing list for users to address network security on Cobalt products. <cobalt-security.list.cobalt.com>
"Dan Keller" <dan@xxxxxxxxxx> wrote:
<snip>
> >netstat -lnp
> >
> >which shows you listening ports and the process holding them open.
>
> Yes, this would be helpful indeed... if only it worked!
> On my RaQ2, this command gives the following result:
>
> # netstat -lnp
> netstat: invalid option -- l
</snip>
Here's a shell session of mine on a RaQ2. It shows the version and the RPM
that owns netstat.
[root@ns /root]# locate netstat
/bin/netstat
/usr/bin/snmpnetstat
/usr/man/man1/snmpnetstat.1
/usr/man/man8/netstat.8
[root@ns /root]# rpm -qf /bin/netstat
net-tools-1.33-2
[root@ns /root]# netstat --version
Linux NET-3 Base Utilities
Source: net-tools 1.33 net-tools@xxxxxxxxxxxx (Bernd Eckenfels)
Kernelsource: 2.0.30
netstat 1.23 (1997-05-19)
Fred Baumgarten <dc6iq@xxxxxxxxxxxxxxxxxxxxxxxxxxx> and Alan Cox.
+NEW_ADDRT +RTF_IRTT +RTF_REJECT +FW_IPMASQUERADE -NLS
AF:(inet) +UNIX +INET +IPX -AX25 -NETROM -ATALK
HW: +ETHER +ARC +SLIP +PPP +TUNNEL +TR -AX25 -NETROM -FR
> Could it be that the RaQ2 has an older version of netstat than
> the one described here?
I'd say that's likely. This is from a RaQ4...or 3, forget which I just
logged into. =)
[admin admin]$ netstat --version
net-tools 1.57
netstat 1.39 (2000-05-21)
You might be able to find a newer version for the mips processor at
http://rpmfind.net/ (though mips RPMs are hard to find to non-existent a lot
of the time). I couldn't find the site for the source from google.com.
--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/