In-use Network Ports
Jeff Kinz
jkinz at kinz.org
Mon Mar 21 15:27:52 UTC 2005
On Mon, Mar 21, 2005 at 07:03:57AM -0800, Bone Randy wrote:
> Under Red Hat Enterprise 3 WS, is there a command to
> verify that a particular network port is in use? Is
> there a file where port information is stored?
uh, socklist?
(try the "apropos" command for these types of questions)
# socklist
type port inode uid pid fd name
tcp 32768 1124 29 828 6 rpc.statd
tcp 32769 1323 0 1478 2 fam
tcp 515 1373 0 1095 5 lpd
tcp 139 1534 0 1259 9 smbd
tcp 111 1067 0 800 4 portmap
tcp 6000 1603 0 1322 1 X
tcp 22 1278 0 1029 3 sshd
tcp 25 1421 0 1124 4 sendmail
tcp 139 635224 0 12671 5 smbd
udp 32768 1121 29 828 5 rpc.statd
udp 514 1038 0 775 25 syslogd
udp 137 1542 0 1264 8 nmbd
udp 137 1539 0 1264 6 nmbd
udp 138 1543 0 1264 9 nmbd
udp 138 1540 0 1264 7 nmbd
udp 33336 360970 0 2273 7 tcpdump
udp 33337 360974 0 2273 8 tcpdump
udp 33601 635225 0 12671 12 smbd
udp 33736 722428 0 2273 9 tcpdump
udp 33256 253080 0 2273 4 tcpdump
udp 33257 253084 0 2273 5 tcpdump
udp 33258 253092 0 2273 6 tcpdump
udp 1004 1105 0 828 4 rpc.statd
udp 111 1066 0 800 3 portmap
--
"The only system which is truly secure, is one which is switched off
and unplugged, locked in a titanium lined safe, buried in a concrete
bunker, surrounded by nerve gas and very highly paid armed guards. Even
then, I wouldn't stake my life on it" - Gene Spafford
(Good thing. the law of unintended consequences: A laptop, w/wireless
NIC and wake on "date" set in the BIOS)
http://kinz.org
http://www.fedoranews.org
Jeff Kinz, Emergent Research, Hudson, MA.
More information about the Redhat-install-list
mailing list