Date: Thu, 22 May 2003 08:41:14 +1000 (EST) From: Andy Farkas <andyf@speednet.com.au> To: Mark <admin@asarian-host.net> Cc: freebsd-questions@freebsd.org Subject: Re: Syslog from external machine Message-ID: <20030522082218.A93323-100000@hewey.af.speednet.com.au> In-Reply-To: <200305212039.H4LKDGYJ028357@asarian-host.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030522082218.A93323-100000>