From owner-freebsd-questions@FreeBSD.ORG Wed May 21 15:41:25 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 75FAF37B401 for ; Wed, 21 May 2003 15:41:25 -0700 (PDT) Received: from franky.speednet.com.au (franky.speednet.com.au [203.57.65.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5EC7643FA3 for ; Wed, 21 May 2003 15:41:24 -0700 (PDT) (envelope-from andyf@speednet.com.au) Received: from hewey.af.speednet.com.au (hewey.af.speednet.com.au [203.38.96.242])h4LMfFqe076550; Thu, 22 May 2003 08:41:15 +1000 (EST) (envelope-from andyf@speednet.com.au) Received: from hewey.af.speednet.com.au (hewey.af.speednet.com.au [172.22.2.17])h4LMfEYm008858; Thu, 22 May 2003 08:41:14 +1000 (EST) (envelope-from andyf@speednet.com.au) Date: Thu, 22 May 2003 08:41:14 +1000 (EST) From: Andy Farkas X-X-Sender: andyf@hewey.af.speednet.com.au To: Mark In-Reply-To: <200305212039.H4LKDGYJ028357@asarian-host.net> Message-ID: <20030522082218.A93323-100000@hewey.af.speednet.com.au> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-questions@freebsd.org Subject: Re: Syslog from external machine 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: Wed, 21 May 2003 22:41:25 -0000 On Wed, 21 May 2003, Mark wrote: > Using FreeBSD 4.7R, I was experimenting a bit with my router's syslog > facility (on port 514). I set up syslogd like this: > > /usr/sbin/syslogd -a 192.168.1.1:514 > > Assuming this would allow incoming UPD on port 514 for the 192.168.1.1 > router address. Alas, nothing is logged in /var/log/messages. Go into /etc/syslog.conf and uncomment the `*.* /var/log/all.log` line. touch /var/log/all.log and restart syslogd. Now you can monitor all messages sent to syslogd. BTW, if you only want 192.168.1.1 talking to your syslogd, you should use "-a 192.168.1.1/32:514" otherwise the default netmask is /24. -- :{ andyf@speednet.com.au Andy Farkas System Administrator Speednet Communications http://www.speednet.com.au/