procstat(1) [-f], proto=stream without addresses

Anton Yuzhaninov citrin+bsd at citrin.ru
Tue Mar 7 03:00:55 UTC 2017


On 03/06/17 14:39, Harry Schmalzbauer wrote:
> One thing I noticed is that procstst(1) doesn't show any addresses for
> my evil process.
> Excerpt:
>
> USER COMMAND PID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS
> squid negotiate_ 597 1 stream -> ??
> squid negotiate_ 596 0 stream -> ??
> squid negotiate_ 596 1 stream -> ??

1. It looks like output from sockstat(1), not procstat(1)

2. stream is Unix domain stream socket

String "??" probably mean, that this file descriptor is not connected 
(was closed by remote side, but not by this process).

May be it is a descriptor leak.


More information about the freebsd-questions mailing list