[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: listening to port 1024
- To: Dan Kenigsberg <danken(at-nospam)cs.Technion.AC.IL>
- Subject: Re: listening to port 1024
- From: "Nadav Har'El" <nyh(at-nospam)math.technion.ac.il>
- Date: Mon, 6 Aug 2001 12:12:27 +0300
- Cc: linux-il(at-nospam)linux.org.il
- Delivered-To: linux.org.il-linux-il@linux.org.il
- Hebrew-Date: 17 Av 5761
- In-Reply-To: <200108060855.LAA00613@csd.cs.technion.ac.il>; from danken@cs.Technion.AC.IL on Mon, Aug 06, 2001 at 11:55:57AM +0300
- References: <200108060855.LAA00613@csd.cs.technion.ac.il>
- Sender: linux-il-bounce(at-nospam)cs.huji.ac.il
- User-Agent: Mutt/1.2i
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".
--
Nadav Har'El | Monday, Aug 6 2001, 17 Av 5761
nyh@math.technion.ac.il |-----------------------------------------
Phone: +972-53-245868, ICQ 13349191 |When you lose, don't lose the lesson.
http://nadav.harel.org.il |
=================================================================
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