From owner-freebsd-questions@freebsd.org Mon Mar 13 15:25:05 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DA36DD0AC0A for ; Mon, 13 Mar 2017 15:25:05 +0000 (UTC) (envelope-from freebsd@omnilan.de) Received: from mx0.gentlemail.de (mx0.gentlemail.de [IPv6:2a00:e10:2800::a130]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7AA6417C4 for ; Mon, 13 Mar 2017 15:25:05 +0000 (UTC) (envelope-from freebsd@omnilan.de) Received: from mh0.gentlemail.de (mh0.gentlemail.de [IPv6:2a00:e10:2800::a135]) by mx0.gentlemail.de (8.14.5/8.14.5) with ESMTP id v2DFOwgc052531; Mon, 13 Mar 2017 16:24:58 +0100 (CET) (envelope-from freebsd@omnilan.de) Received: from titan.inop.mo1.omnilan.net (titan.inop.mo1.omnilan.net [IPv6:2001:a60:f0bb:1::3:1]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mh0.gentlemail.de (Postfix) with ESMTPSA id 08B7175C; Mon, 13 Mar 2017 16:24:57 +0100 (CET) Message-ID: <58C6B9C9.9070805@omnilan.de> Date: Mon, 13 Mar 2017 16:24:57 +0100 From: Harry Schmalzbauer Organization: OmniLAN User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; de-DE; rv:1.9.2.8) Gecko/20100906 Lightning/1.0b2 Thunderbird/3.1.2 MIME-Version: 1.0 To: Anton Yuzhaninov CC: freebsd-questions@freebsd.org Subject: Re: procstat(1) [-f], proto=stream without addresses References: <58BDBAF7.5000907@omnilan.de> <611e5fe5-0a25-2058-96b2-51b1fe3ad7f9@citrin.ru> In-Reply-To: <611e5fe5-0a25-2058-96b2-51b1fe3ad7f9@citrin.ru> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (mx0.gentlemail.de [IPv6:2a00:e10:2800::a130]); Mon, 13 Mar 2017 16:24:58 +0100 (CET) X-Milter: Spamilter (Reciever: mx0.gentlemail.de; Sender-ip: ; Sender-helo: mh0.gentlemail.de; ) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Mar 2017 15:25:05 -0000 Bezüglich Anton Yuzhaninov's Nachricht vom 07.03.2017 04:00 (localtime): > 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). Thank you for your answer! The excerpt was from 'procstat -f' which lists file descriptors. I wasn't aware of an "unconnected" FD state... Sounds reasonable. Thanks, -harry