From owner-freebsd-questions@FreeBSD.ORG Sun Feb 5 08:05:05 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 DC7F516A420 for ; Sun, 5 Feb 2006 08:05:05 +0000 (GMT) (envelope-from bill@wiliweld.com) Received: from typhoon.he.net (typhoon.he.net [64.62.229.2]) by mx1.FreeBSD.org (Postfix) with SMTP id 850E443D45 for ; Sun, 5 Feb 2006 08:05:05 +0000 (GMT) (envelope-from bill@wiliweld.com) Received: from liam.billschoolcraft.com ([63.204.157.14]) by typhoon.he.net for ; Sun, 5 Feb 2006 00:05:02 -0800 Date: Sun, 5 Feb 2006 00:05:02 -0800 (PST) From: Bill Schoolcraft X-X-Sender: bill@liam.billschoolcraft.com To: Matthew Seaman In-Reply-To: Message-ID: References: <43E48BB8.7000906@infracaninophile.co.uk> System-ID: [en] (SuSE-9.3 64-bit) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-questions@freebsd.org Subject: Re: 6.0, allow remote logging? (correction) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Feb 2006 08:05:06 -0000 At Sat, 4 Feb 2006 it looks like Bill Schoolcraft composed: > At Sat, 4 Feb 2006 it looks like Matthew Seaman composed: > > > Bill Schoolcraft wrote: > > > But when I go to check an see if the external port 514/udp is open I > > > get nothing showing: > > > > > > ############################################################# > > > > > > [root@logserv ~]-> nmap localhost > > > > > > (The 1660 ports scanned but not shown below are in state: closed) > > > PORT STATE SERVICE > > > 22/tcp open ssh > > > 25/tcp open smtp > > > 80/tcp open http > > > > > > ############################################################# > > > > Umm... by default nmap only scans /TCP/ ports. syslog is a /UDP/ service. > > > > Try sockstat(1) to see what network ports processes are listening on, and > > use nmap like so to scan for UDP listeners: > > > > # nmap -sU -p U:1-8080 hostname > > > > Note that UDP scans intrinsically tend to take a lot longer than TCP scans -- > > the nmap(1) man page explains why -- so don't try scanning too many ports at > > once, or you'll be waiting years for a result. > > > > Thanks Matthew for the above example. I tried it and nothing came > up as open. And my 'ps -auxw' output shows syslogd running with the > "-s " too. I wonder how to trigger that port to receive > packets. Apparently syslogd believes all is well. :( > Sorry, the correction is that the ps output shows "-a " -- Bill Schoolcraft | Life's journey is not to arrive at the PO Box 210076 | grave safely in a well preserved body, San Francisco,CA 94121 | but rather to skid in sideways, totally http://wiliweld.com | spent, yelling "holy shit, what a ride!"