From owner-freebsd-questions Thu Jan 24 12:24:17 2002 Delivered-To: freebsd-questions@freebsd.org Received: from tholian.rsasecurity.com (mail.rsasecurity.com [204.167.112.129]) by hub.freebsd.org (Postfix) with SMTP id 946E737B404 for ; Thu, 24 Jan 2002 12:24:14 -0800 (PST) Received: from sdtihq24.securid.com by tholian.rsasecurity.com via smtpd (for hub.FreeBSD.org [216.136.204.18]) with SMTP; 24 Jan 2002 20:23:44 UT Received: from ebola.securitydynamics.com (ebola.securid.com [192.168.7.4]) by sdtihq24.securid.com (Pro-8.9.3/Pro-8.9.3) with ESMTP id PAA16652 for ; Thu, 24 Jan 2002 15:24:13 -0500 (EST) Received: from spirit.dynas.se (localhost [127.0.0.1]) by ebola.securitydynamics.com (8.10.2+Sun/8.9.1) with SMTP id g0OKO5U09539 for ; Thu, 24 Jan 2002 15:24:06 -0500 (EST) Received: (qmail 16085 invoked from network); 24 Jan 2002 20:24:02 -0000 Received: from explorer.rsa.com (HELO mikko.rsa.com) (10.81.217.59) by spirit.dynas.se with SMTP; 24 Jan 2002 20:24:02 -0000 Received: (from mikko@localhost) by mikko.rsa.com (8.11.6/8.11.6) id g0OKNxv47391; Thu, 24 Jan 2002 12:23:59 -0800 (PST) (envelope-from mikko) Date: Thu, 24 Jan 2002 12:23:59 -0800 (PST) From: Mikko Tyolajarvi Message-Id: <200201242023.g0OKNxv47391@mikko.rsa.com> To: questions@freebsd.org Subject: Re: port Newsgroups: local.freebsd.questions References: <3C4C16CF.18360.13CC36BA@localhost> <20020123180059.8732.qmail@web12508.mail.yahoo.com> X-Newsreader: NN version 6.5.6 (NOV) 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 In local.freebsd.questions you write: >--0-1152659619-1011808859=:8595 >Content-Type: text/plain; charset=us-ascii > lsof -i : i think lsof is a good tool Also, "sockstat" lists all open sockets, together with process, pid and user. And it is in the base system. > Jim McIver wrote: How would tell what port a daemon is running on? >I know that FTP is suppose to use port 21 and 20, but is there a way to >see this? [ html junk deleted ] $.02, /Mikko -- Mikko Työläjärvi_______________________________________mikko@rsasecurity.com RSA Security To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message