[techtalk] Open Ports

Jamie Walker jj.walker at auckland.ac.nz
Mon Dec 20 15:41:16 EST 1999


moebius at ip-solutions.net wrote:

> Hey All,
>         It seems as though I have port 79 opened (finger). I have it
> commented out in inetd so I can't figure out where else it would be coming
> from. Any ideas??

As root, try netstat -ap | grep LISTEN, the -p will tell you which
process is listening on a particular port.

(the -p option doesn't appear in earlier versions of netstat, the
version shipped with RH5.2 for example doesn't have it but 6.0 does)

--
Phone: +64-9-373-7599 x4679     Room: 2.316, School of Engineering
 Work: jj.walker at auckland.ac.nz Home: jamiew at clear.net.nz
  ICQ: 5632563			or shout loudly

************
techtalk at linuxchix.org   http://www.linuxchix.org




More information about the Techtalk mailing list