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

Re: listening to port 1024



For what it's worth, I got the rpc.mount UDP entry below on port 1026 and 
listening, TCP 1024. Distro: SuSE 7.1., kernel 2.4.0

DF

Nadav Har'El wrote:

> On Mon, Aug 06, 2001, Dan Kenigsberg wrote about "listening to port 1024":
> 
>>Hi.
>>
>>I'm running kde on my RH7.1. I noticed that I am listening to port 1024.
>>nmap says this belongs to kdm, but I did not find very much about it (what is it
>>for, and how to disable it) anywhere.
>>
>>What do you say?
>>
> 
> To check which program is listening to a given port, run (as root! That's
> important!)
> 	lsof -i
> 
> For example on my system I see
> rpc.mount   644 root    3u  IPv4   1254       UDP *:1024 
> 
> So that the mount daemon is using (UDP, not TCP) port 1024 (but not listening
> on it, by the way).
> 
> What does lsof -i show on your system for port 1024?
> 
> 1024 is the first non-priviliged port, so the first application on the system
> that needs a random port is likely to get this number. I have no idea where
> nmap got the idea that "this belongs to kdm".
> 
> 



=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il