From matt@megaweapon.zigg.com Thu Feb 25 06:55:24 1999
Return-Path: <matt@megaweapon.zigg.com>
Received: from megaweapon.zigg.com (megaweapon.zigg.com [206.114.60.8])
	by hub.freebsd.org (Postfix) with ESMTP id 76DC614D8F
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 25 Feb 1999 06:55:16 -0800 (PST)
	(envelope-from matt@megaweapon.zigg.com)
Received: (from matt@localhost)
	by megaweapon.zigg.com (8.9.2/8.9.2) id JAA20226;
	Thu, 25 Feb 1999 09:54:56 -0500 (EST)
	(envelope-from matt)
Message-Id: <199902251454.JAA20226@megaweapon.zigg.com>
Date: Thu, 25 Feb 1999 09:54:56 -0500 (EST)
From: Matt Behrens <matt@megaweapon.zigg.com>
Reply-To: matt@megaweapon.zigg.com
To: FreeBSD-gnats-submit@freebsd.org
Subject: fstat does not list PCBs for TCP connections, only UDP
X-Send-Pr-Version: 3.2

>Number:         10262
>Category:       bin
>Synopsis:       fstat does not list PCBs for TCP connections, only UDP
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Feb 25 10:20:08 PST 1999
>Closed-Date:    Thu Feb 25 12:31:15 PST 1999
>Last-Modified:  Thu Feb 25 12:31:54 PST 1999
>Originator:     Matt Behrens
>Release:        FreeBSD 3.1-STABLE i386
>Organization:
zigg.com
>Environment:

FreeBSD megaweapon.zigg.com 3.1-STABLE FreeBSD 3.1-STABLE #0: Thu Feb 18 10:11:10 EST 1999     root@:/usr/src/sys/compile/MEGAWEAPON  i386

>Description:

To determine which processes hold sockets listed in netstat, you
would issue netstat -A to include PCBs along with the socket
listings.  You would then grep those PCBs out of an fstat listing.

Since sometime in 3.0, I have not been able to do this for TCP
sockets.  2.2.x accomplished this with no trouble.  3.x only seems
to work for UDP sockets.

>How-To-Repeat:

$ netstat -Aa
	(select the PCB from an arbitrary TCP socket, and a UDP socket)
$ fstat | grep <TCP PCB>
	(you will see nothing)
$ fstat | grep <UDP PCB>
	(you will see the UDP socket owner's process info)

>Fix:

None known.	


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: wollman 
State-Changed-When: Thu Feb 25 12:31:15 PST 1999 
State-Changed-Why:  
Duplicate of PR #9963. 
>Unformatted:
