From owner-freebsd-questions Mon Nov 17 16:59:05 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id QAA29739 for questions-outgoing; Mon, 17 Nov 1997 16:59:05 -0800 (PST) (envelope-from owner-freebsd-questions) Received: from implode.root.com (implode.root.com [198.145.90.17]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id QAA29730 for ; Mon, 17 Nov 1997 16:59:02 -0800 (PST) (envelope-from root@implode.root.com) Received: from implode.root.com (localhost [127.0.0.1]) by implode.root.com (8.8.5/8.8.5) with ESMTP id RAA07249; Mon, 17 Nov 1997 17:01:47 -0800 (PST) Message-Id: <199711180101.RAA07249@implode.root.com> To: Jamie Lawrence cc: questions@FreeBSD.ORG Subject: Re: Netstat reporting foreign address as *.* In-reply-to: Your message of "Mon, 17 Nov 1997 15:15:15 PST." From: David Greenman Reply-To: dg@root.com Date: Mon, 17 Nov 1997 17:01:47 -0800 Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >What does the final line from this snipped netstat output >indicate? I'd never seen it before today. > >colonel: {316} netstat >Active Internet connections >Proto Recv-Q Send-Q Local Address Foreign Address (state) >tcp 0 0 www.findelvis.co.http kenton-cs-2.dial.1215 ESTABLISHED >tcp 0 80 205.217.47.82.telnet vegas.2050 ESTABLISHED >tcp 0 0 colonel.2257 *.* LISTEN >[...] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > >thanks! When the local or foreign address has stars, this indicates an unconnected wildcard PCB. In the above example, there is something listening for new connections on port 2257 on the local address 'colonel' (it might make more sense to use the '-n' option with netstat so that addresses and ports come out numerically). The '-a' option is also useful and displays info on all PCBs. -DG David Greenman Core-team/Principal Architect, The FreeBSD Project