From owner-freebsd-questions Thu Aug 23 11:42:40 2001 Delivered-To: freebsd-questions@freebsd.org Received: from humpty.finadmin.virginia.edu (humpty.finadmin.Virginia.EDU [128.143.87.245]) by hub.freebsd.org (Postfix) with ESMTP id 836A837B40B for ; Thu, 23 Aug 2001 11:42:33 -0700 (PDT) (envelope-from mrg8n@virginia.edu) Received: (from mrg8n@localhost) by humpty.finadmin.virginia.edu (8.11.1/8.11.1) id f7NIkto36272; Thu, 23 Aug 2001 14:46:55 -0400 (EDT) (envelope-from mrg8n) Date: Thu, 23 Aug 2001 14:46:55 -0400 From: Mike Galvez To: Bill Moran Cc: questions@FreeBSD.ORG Subject: Re: How to discover what process is listening on a port Message-ID: <20010823144655.C35031@m.mail.virginia.edu> References: <3B8522F2.A92EE889@iowna.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3B8522F2.A92EE889@iowna.com>; from wmoran@iowna.com on Thu, Aug 23, 2001 at 11:36:18AM -0400 X-Operating-System: FreeBSD Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Try netstat -an|grep LISTEN On Thu, Aug 23, 2001 at 11:36:18AM -0400, Bill Moran wrote: > There's a way to do this with the "netstat" command, isn't there? > I just scanned a computer as a security audit and found some ports > open that I don't recognize. I want to find out what process on the > machine has those ports open. > > How to? > > TIA, > Bill > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- Michael Galvez Computer Systems Sr. Engineer Office: 804-982-2975 Financial Analysis E-Mail: mrg8n@virginia.edu University of Virginia Messenger Mail: Carruthers Hall A person is just about as big as the things that make them angry. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message