another way would be "netstat -lp" as root. This will give all listening
ports and the process that is doing the listening. :)


On Wed, 2002-01-23 at 00:20, Alexander Skwar wrote:
> So sprach �Ken Thompson� am 2002-01-22 um 20:03:41 -0700 :
> > While doing a scan with nmap I found this port open and don't know what it is.
> > Port       State       Service
> > 3/tcp      open        compressnet  
> > Anybody know?????
> 
> Hmm, never seen this one before.  But you can rather easily find out
> which program has this port open, by using lsof:
>         lsof -i :3
> Only root is allowed to do this, though.
> 
> Alexander Skwar
> -- 
> How to quote: http://learn.to/quote (german) http://quote.6x.to (english)
> Homepage:     http://www.iso-top.de      |     Jabber: [EMAIL PROTECTED]
>    iso-top.de - Die g�nstige Art an Linux Distributionen zu kommen
>                        Uptime: 8 days 10 hours 45 minutes
> 
> ----
> 

> Want to buy your Pack or Services from MandrakeSoft? 
> Go to http://www.mandrakestore.com
-- 
--
Bryan Whitehead
SysAdmin - JPL - Interferometry Systems and Technology
Phone: 818 354 2903
[EMAIL PROTECTED]

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to