[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: listening to port 1024
- To: "Nadav Har'El" <nyh(at-nospam)math.technion.ac.il>
- Subject: Re: listening to port 1024
- From: Daniel Feiglin <dilogsys(at-nospam)inter.net.il>
- Date: Mon, 06 Aug 2001 12:55:21 +0300
- CC: Dan Kenigsberg <danken(at-nospam)cs.Technion.AC.IL>, linux-il(at-nospam)linux.org.il
- Delivered-To: linux.org.il-linux-il@linux.org.il
- Organization: Dilog Computers Ltd.
- References: <200108060855.LAA00613@csd.cs.technion.ac.il> <20010806121227.A9817@leeor.math.technion.ac.il>
- Sender: linux-il-bounce(at-nospam)cs.huji.ac.il
- User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.2) Gecko/20010628
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