Skip site navigation (1)Skip section navigation (2)
Date:      30 Apr 1997 13:15:17 -0000
From:      mark thompson <thompson@squirrel.tgsoft.com>
To:        jmg@hydrogen.nike.efn.org
Cc:        security@freefall.FreeBSD.ORG
Subject:   Re: What's on Port 1024?
Message-ID:  <19970430131517.11350.qmail@tgsoft.com>
In-Reply-To: message from John-Mark Gurney on Fri, 25 Apr 1997 00:55:33 -0700

next in thread | raw e-mail | index | archive | help
   From: John-Mark Gurney <jmg@hydrogen.nike.efn.org>
   Date: Fri, 25 Apr 1997 00:55:33 -0700

   joed@ksu.edu scribbled this message on Apr 24:
   > Greetings,
   > 
   > I'm currently in the proccess of trying to lock down a FreeBSD workstation
   > as a firewall, and noticed that my FreeBSD machine is listening to port 
   > 1024.  I'm fairly stumped as to what this might be..  According to the 
   > port number database (http://www.sockets.com/services.htm) 1024 is 
   > reserved.
   > 
   > Any thought as to what's listening to this port?  

   try: lsof | grep 1024
   on my machine it returns a line like:
   xdm         214     root    5u  inet   0xf17bbc00        0t0        TCP *:1024

   so it looks like the process is xdm....

   ttyl..

Interesting. On my machine (2.2.1) I have the following bits:

bash$ sudo lsof | grep UDP
[skip...]
inetd       139     root   18u  inet   0xf1a77b00        0t0        UDP *:1024
inetd       139     root   19u  inet   0xf1a77a80        0t0        UDP *:blackjack
[skip...]

blackjack is 1025. Since neither of these is in inetd.conf, i wonder
whazzup?

-mark




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19970430131517.11350.qmail>