From owner-freebsd-stable@FreeBSD.ORG Wed Mar 26 17:09:13 2003 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 923E037B404 for ; Wed, 26 Mar 2003 17:09:13 -0800 (PST) Received: from fed1mtao02.cox.net (fed1mtao02.cox.net [68.6.19.243]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1E3B343FA3 for ; Wed, 26 Mar 2003 17:09:13 -0800 (PST) (envelope-from xcas@cox.net) Received: from smtp.west.cox.net ([172.18.180.52]) by fed1mtao02.cox.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with SMTP id <20030327010913.STBQ11958.fed1mtao02.cox.net@smtp.west.cox.net>; Wed, 26 Mar 2003 20:09:13 -0500 From: cas To: stable@freebsd.org Date: Wed, 26 Mar 2003 20:09:12 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Message-Id: <20030327010913.STBQ11958.fed1mtao02.cox.net@smtp.west.cox.net> X-Spam-Status: No, hits=0.0 required=5.0 tests=none version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) Subject: 4.8-RC 'sockstat' bug X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Mar 2003 01:09:14 -0000 I was wondering if anyone fixed this yet? uname -v: FreeBSD 4.8-RC #0: Sun Mar 23 05:02:12 PST 2003 cas@localhost.my.domain:/usr/obj/usr/src/sys/GENERIC ------------- bug: $ sockstat USER COMMAND PID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS cas sshd 6685 4 tcp4 11.22.33.44:22 11.22.33.44:1514 USER COMMAND PID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS USER COMMAND PID FD PROTO ADDRESS Use of uninitialized value in printf at /usr/bin/sockstat line 141. cas sshd 6685 3 stream cas sshd 6685 7 stream /tmp/ssh-Gmihw6xy/agent.6685 ------------- I'm assuming the first line here causes the problem.. because the bug doesn't show up when I use 'sockstat' as root. contents of /etc/sysctl.conf: kern.ps_showallprocs=0 net.inet.tcp.blackhole=2 net.inet.tcp.syncookies=0 net.inet.udp.blackhole=1