Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Feb 1999 09:54:56 -0500 (EST)
From:      Matt Behrens <matt@megaweapon.zigg.com>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   bin/10262: fstat does not list PCBs for TCP connections, only UDP
Message-ID:  <199902251454.JAA20226@megaweapon.zigg.com>

next in thread | raw e-mail | index | archive | help

>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:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Feb 25 10:20:08 PST 1999
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199902251454.JAA20226>