From owner-freebsd-ports@FreeBSD.ORG Wed Jul 14 04:21:26 2010 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CA6E0106564A for ; Wed, 14 Jul 2010 04:21:26 +0000 (UTC) (envelope-from jhellenthal@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 8DF448FC16 for ; Wed, 14 Jul 2010 04:21:26 +0000 (UTC) Received: by iwn35 with SMTP id 35so8164345iwn.13 for ; Tue, 13 Jul 2010 21:21:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:subject:x-enigmail-version:openpgp :content-type:content-transfer-encoding; bh=3R5w1zLf3CX7Z1i6rsby3wJys2hPz+SXhndT32UczL0=; b=oLAt2O47t4HMJD6JNUic+O002b7WE8d8lBoTJdL6bkGZ9eD4H9eb5Iv1G+8yb8ELHU MGQ5YHHHfGRahdODymM6SHrnrG1u3YfsyRorshUgK4VIalURaNEsx0V57/FhaoQ8Abv9 LgdlyGjk7mqrhZ5BQQUgCyrwB1XaFvRPQRiy8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:subject :x-enigmail-version:openpgp:content-type:content-transfer-encoding; b=fd6qLFzGZHZgRrZ+IHlz2g63wjSbgN6N3WcW5nby+1e+IsE67v78rcVzfo8nn4kqWY r2NUc6GCAxz0z0C62H20t5ldESvPlB/cLTfD5rlqiMb4OR8q7EkTT1sVu9H8cAq4d9WX AvxXH1wneW77GPKCPTnOGSFOWgfn6+DZvaBcw= Received: by 10.231.148.195 with SMTP id q3mr2620491ibv.199.1279081285124; Tue, 13 Jul 2010 21:21:25 -0700 (PDT) Received: from centel.dataix.local (adsl-99-181-132-254.dsl.klmzmi.sbcglobal.net [99.181.132.254]) by mx.google.com with ESMTPS id n20sm28323837ibe.5.2010.07.13.21.21.23 (version=SSLv3 cipher=RC4-MD5); Tue, 13 Jul 2010 21:21:24 -0700 (PDT) Sender: "J. Hellenthal" Message-ID: <4C3D3B46.1020804@dataix.net> Date: Wed, 14 Jul 2010 00:21:26 -0400 From: jhell User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.10) Gecko/20100626 Thunderbird MIME-Version: 1.0 To: FreeBSD Ports X-Enigmail-Version: 1.0.1 OpenPGP: id=89D8547E Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Subject: sysutils/tcplist "lsof use" broken X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jul 2010 04:21:27 -0000 The above subject mentioned port is broken via its usage of sysutils/lsof. Log: # ./tcplist lsof: unknown -s protocol: "li" lsof 4.84 latest revision: ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/ latest FAQ: ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/FAQ latest man page: ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/lsof_man usage: [-?abChlnNoOPRtUvV] [+|-c c] [+|-d s] [+|-D D] [+|-f[cfgGn]] [-F [f]] [-g [s]] [-i [i]] [-k k] [+|-L [l]] [-m m] [+|-M] [-o [o]] [-p s] [+|-r [t]] [-s [p:s]] [-S [t]] [-T [t]] [-u s] [+|-w] [-x [fl]] [--] [names] Use the ``-h'' option to get more help information. ./tcplist: Can't get lsof output header So I manipulated my own script to output something like the following <-> UID LOCAL:PORT REMOTE:PORT === ====== ====================== ====================== 24 1001 192.168.31.2:59782 192.168.31.12:993 24 1001 192.168.31.2:59000 192.168.31.12:993 24 1001 192.168.31.2:26007 192.168.31.12:993 24 1001 192.168.31.2:25206 192.168.31.12:993 24 1001 192.168.31.2:13985 192.168.31.12:993 13 1001 192.168.31.2:61979 :80 13 1001 192.168.31.2:59658 :80 13 1001 192.168.31.2:53816 :80 13 1001 192.168.31.2:49347 :80 13 1001 192.168.31.2:39920 :80 13 1001 192.168.31.2:14124 :80 1 1001 192.168.31.2:25865 192.168.31.12:22 1 1001 192.168.31.2:22 192.168.31.12:58642 1 1001 192.168.31.2:12104 192.168.31.12:22 1 0 192.168.31.2:22 192.168.31.12:58642 If you could use something like this it is located here & remember this heavily depends on lsof and is still under construction. http://bit.ly/a54s2b Regards, -- +-+-+-+-+-+ |j|h|e|l|l| +-+-+-+-+-+