From owner-freebsd-questions@FreeBSD.ORG Thu Sep 18 06:35:11 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1277116A4B3 for ; Thu, 18 Sep 2003 06:35:11 -0700 (PDT) Received: from humpty.finadmin.virginia.edu (humpty.finadmin.Virginia.EDU [128.143.87.245]) by mx1.FreeBSD.org (Postfix) with ESMTP id DEC6E43FDD for ; Thu, 18 Sep 2003 06:35:09 -0700 (PDT) (envelope-from mrg8n@virginia.edu) Received: from humpty.finadmin.virginia.edu (localhost.finadmin.virginia.edu [127.0.0.1])h8IDZ9V6040197; Thu, 18 Sep 2003 09:35:09 -0400 (EDT) (envelope-from mrg8n@humpty.finadmin.virginia.edu) Received: (from mrg8n@localhost)h8IDZ9ph040196; Thu, 18 Sep 2003 09:35:09 -0400 (EDT) From: Mike Galvez To: dick hoogendijk Message-ID: <20030918133509.GA40087@humpty.finadmin.virginia.edu> References: <20030918110109.GA32359@lothlorien.nagual.st> <5.2.0.9.2.20030918070931.021d21b0@mail.sri-software.com> <20030918152429.5bea7d52.dick@nagual.st> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030918152429.5bea7d52.dick@nagual.st> User-Agent: Mutt/1.4i X-Operating-System: FreeBSD UNIX cc: freebsd-questions@freebsd.org Subject: Re: netstat options X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Sep 2003 13:35:11 -0000 X-List-Received-Date: Thu, 18 Sep 2003 13:35:11 -0000 Date: Thu, 18 Sep 2003 13:35:11 -0000 X-Original-Date: Thu, 18 Sep 2003 13:35:11 -0000 X-List-Received-Date: Thu, 18 Sep 2003 13:35:11 -0000 On Thu, Sep 18, 2003 at 03:24:29PM +0200, dick hoogendijk wrote: > On Thu, 18 Sep 2003 07:10:24 -0500 > Peter Elsner wrote: > > > You're probably getting the connection refused because you didn't > > enable telnet in /etc/inetd.conf. > > > > It's turned off by default. Has nothing to do with netstat. > > > > Peter Elsner > > > > > > At 01:01 PM 9/18/2003 +0200, you wrote: > > >I want a kind of list you get with (linux) "netstat -atun" > > > > > >Active Internet connections (servers and established) > > >Proto Recv-Q Send-Q Local Address Foreign Address State > > >tcp 0 0 0.0.0.0:32768 0.0.0.0:* LISTEN > > >tcp 0 0 0.0.0.0:32769 0.0.0.0:* LISTEN > > >tcp 0 0 0.0.0.0:993 0.0.0.0:* LISTEN > > >tcp 0 0 0.0.0.0:515 0.0.0.0:* LISTEN > > >tcp 0 0 0.0.0.0:995 0.0.0.0:* LISTEN > > >tcp 0 0 0.0.0.0:37 0.0.0.0:* LISTEN > > > > > >I'm trying to find out why my courier mta gives me a " connection > > >refused" on a 'telnet localhost 25' Courier is running; mail is > > >received and delivered. Still I get these 'refused' messages.. > > > > > >So, if anybody knwo how to get a list like above in FreeBSD-4.8? > > I'm getting the connection refused *not* because telnet is not running. > I'm not that stupid you know ;-)) > > What I wanted to know is the equivalent for the LINUX "netstat -atun" netstat -an|grep LISTEN > which gives the output above (on the LINUX server). I want to test my > FreeBSD machine the same way but "netstat -atun" gives me an output I > don't want (on fbsd). > > -- > dick -- http://www.nagual.st/ -- PGP/GnuPG key: F86289CE > ++ Running FreeBSD 4.8 ++ Debian GNU/Linux (Woody) > + Nai tiruvantel ar vayuvantel i Valar tielyanna nu vilja > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- Michael Galvez http://www.people.virginia.edu/~mrg8n Information Technology Specialist Office: 434-982-2975