From owner-freebsd-questions Fri Jan 29 22:43:11 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA21033 for freebsd-questions-outgoing; Fri, 29 Jan 1999 22:43:11 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from mail4.bellatlantic.net (mail4.bellatlantic.net [151.197.0.38]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA21021 for ; Fri, 29 Jan 1999 22:43:08 -0800 (PST) (envelope-from dougc1@bellatlantic.net) Received: from doug (client-151-197-112-143.bellatlantic.net [151.197.112.143]) by mail4.bellatlantic.net (8.8.5/8.8.5) with SMTP id BAB04805 for ; Sat, 30 Jan 1999 01:43:42 -0500 (EST) From: "Doug" To: Subject: Identification of the owner of a port Date: Sat, 30 Jan 1999 01:41:43 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2212 (4.71.2419.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.00.0810.800 Importance: Normal Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, Ok, I need to find a way to get the owner of a port that is currently open. Say 'user' opened a connection to example.com at port 23, I need a way to locally at the box tell what user opened that connection. I can gather the port numbers via netstat, but I don't know how to associate them to their owner. ( box:1380 -> example.com:23 I want to know the user of port 1380 on the local box. ) I hope that made sense, Doug To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message