From owner-freebsd-questions Tue May 23 16:27: 5 2000 Delivered-To: freebsd-questions@freebsd.org Received: from web2.sea.nwserv.com (web2.sea.nwserv.com [216.145.16.2]) by hub.freebsd.org (Postfix) with ESMTP id 5E31437B9DD for ; Tue, 23 May 2000 16:27:02 -0700 (PDT) (envelope-from dpk@nwserv.com) Received: from localhost (dpk@localhost) by web2.sea.nwserv.com (8.9.3/8.9.2) with ESMTP id QAA97218; Tue, 23 May 2000 16:27:00 -0700 (PDT) (envelope-from dpk@nwserv.com) Date: Tue, 23 May 2000 16:27:00 -0700 (PDT) From: David Kirchner X-Sender: dpk@web2.sea.nwserv.com To: Oscar Ricardo Silva Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Port 722 ? In-Reply-To: <4.2.2.20000523180523.00a8f680@mail.utexas.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Envelope-To: oscars@mail.utexas.edu Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, An easy way to find out what an unknown port is: First run 'netstat -aAn | grep LISTEN | grep \.portnum'. The -A flag will display the address for the socket. You can then figure out which process is using that address by running 'fstat | grep address': dpk@web2:/home/dpk$ netstat -aAn | grep LISTEN | grep \.25 c6400180 tcp 0 0 *.25 *.* LISTEN dpk@web2:/home/dpk$ fstat | grep c6400180 root sendmail 94903 4* internet stream tcp c6400180 -- David Kirchner - dpk@nwserv.com Northwest Web Services - http://www.nwserv.com/ On Tue, 23 May 2000, Oscar Ricardo Silva wrote: > Just to check what ports may be exposed on my FreeBSD 4.0 machine, I ran > nmap against it. I got the following output: > > Port State Service > 22/tcp open ssh > 25/tcp open smtp > 722/tcp open unknown > > I'm not familiar with anything running on that port and have looked and > don't see anything out of the ordinary running. I don't have inetd enabled > so it's not coming from there. > > Any thoughts/suggestions? > > > > Oscar To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message