From owner-freebsd-isp@FreeBSD.ORG Mon Nov 17 05:00:10 2003 Return-Path: Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9B10816A4CE for ; Mon, 17 Nov 2003 05:00:10 -0800 (PST) Received: from smtp-ft6.fr.colt.net (smtp-ft6.fr.colt.net [213.41.78.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id C1A6B43FE9 for ; Mon, 17 Nov 2003 05:00:07 -0800 (PST) (envelope-from nanard@tou.nu) Received: from orion (noc-bes.adm.fr.colt.net [195.68.1.120]) by smtp-ft6.fr.colt.net with SMTP id hAHD05415690; Mon, 17 Nov 2003 14:00:05 +0100 Message-ID: <01ae01c3ad0a$b8c25e90$51fd210a@orion> From: "nanard" To: "Sunil Sunder Raj" , References: Date: Mon, 17 Nov 2003 14:00:05 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Subject: Re: Find data transfer on a particular port X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Nov 2003 13:00:10 -0000 Hi, For instance, to know who is connected to port 993/tcp(IMAPS), you can use "lsof": crysto# lsof -ni |grep imaps inetd 276 root 4u IPv4 0xccb15b80 0t0 TCP 10.1.1.5:imaps (LISTEN) imapd 20016 root 0u IPv4 0xccb142c0 0t0 TCP 10.1.1.5:imaps->192.168.10.42:3194 (ESTABLISHED) imapd 20016 root 1u IPv4 0xccb142c0 0t0 TCP 10.1.1.5:imaps->192.168.10.42:3194 (ESTABLISHED) You have the name of the process (imapd) and the PID (20016) of the connexion. Regards, ----- Original Message ----- From: "Sunil Sunder Raj" To: Sent: Monday, November 17, 2003 1:52 PM Subject: Find data transfer on a particular port > Hi, > > How does one find the data transfer on a particular port. You can find the > data transfer on the whole server. But how to calculate which service/port > is transferring the data. > > Regards > SSR > > _________________________________________________________________ > Enjoy shopping online? Get this e credit card. > http://server1.msn.co.in/features/amex/ It cuts cost & adds value! > > _______________________________________________ > freebsd-isp@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-isp > To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org" >