From nobody Tue Jul 12 13:58:22 2022 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id C11821D02EE5 for ; Tue, 12 Jul 2022 13:58:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Lj2Qk3ph7z466h for ; Tue, 12 Jul 2022 13:58:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Lj2Qk2v0Dzm21 for ; Tue, 12 Jul 2022 13:58:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 26CDwMwo060933 for ; Tue, 12 Jul 2022 13:58:22 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 26CDwM0W060932 for bugs@FreeBSD.org; Tue, 12 Jul 2022 13:58:22 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 265167] netstat on Linux has a flag to find the program that does portbinding, FreeBSD does not Date: Tue, 12 Jul 2022 13:58:22 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: gnu X-Bugzilla-Version: Unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: maxim@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1657634302; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=eYK5/GvBnk6cE1wCsY59GBtJvioqAa1lC2p850U93Js=; b=wnJQF5q2ot8KJOAHxhg9Cf3Lflaw+om3RmShVOAJiUfVUCeH7PmjeqfhAzm85uqV6BPf5b +iMj5epPiL+gRxpBYkYTKY9vH1gmQe2/9nkB+joU+cdxXF+leEZtF+HKqE5+j6NYkU5E1Y 3BVCZg3xZ3uEoFfpFpaAc9dEy8ynq8w6I08cGCHB65CdNej3O4/C9RPwUlrBFJObE+ISAG FeBj6EmdV5HIVvDLUgdVVoTi4I0DlY2dWRF+rGaH+9QEl2g9KZJykOmqyIAKTBlgL9iyzE PEC7BRejNnBTNtYvomgCog9a0e5bP/pd3PXDb5896auLnAB442PePIgK8dQkrQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1657634302; a=rsa-sha256; cv=none; b=Y4sqo4avN4J/X5bxc7MOgJo0WnaKXqkDmvobaINX+2A/o2cuzzT+66RYKTGmRtm2F46oew 1Ua1z0EFSHNwqJEMV/iEF49h5IiSWb/L46MEdIxhh4Xi8oJz0CNOh6E3J4MPjLmHeH1E0t pYIspvsKEV8X+NzQi/+3SBRr3RAGY+3u8q6KRoE0dog0Jaj2uCzKhG/9CPG4O828bEvxwb FiVRJMf4IBAcVx7Lfc4eeR3h17x1YnRMhA4OsEBi19eNYzUd+MpQCl4qd6VLzlVYRJmMob OMzGd1IRtBarLkd2to6o2QmyDjX9i/s/27n/AY4hzn3/bwMgsMIdUO/oWzZQkA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D265167 --- Comment #3 from Maxim Konovalov --- Michael, From what I see on my Ubuntu test box netstat there shows a process name (n= ot a binary name), e.g.: # netstat -pan | grep 6666 tcp 0 0 0.0.0.0:6666 0.0.0.0:* LISTEN= =20=20=20=20=20 8959/nc This is more or less close to what sockstat(1) provides on FreeBSD: $ sockstat | grep 6666 maxim nc 96053 3 tcp4 *:6666 *:* I am not sure I understand fully what is missed in sockstat(1). Thanks, Maxim --=20 You are receiving this mail because: You are the assignee for the bug.=