Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Nov 2001 09:11:23 +0000
From:      setantae <setantae@submonkey.net>
To:        Drew Tomlinson <drew@mykitchentable.net>
Cc:        Anthony Atkielski <anthony@freebie.atkielski.com>, FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: Accepting syslog messages from a router
Message-ID:  <20011126091123.GA2864@rhadamanth>
In-Reply-To: <005d01c1762a$730a3f80$0b01a8c0@lc.ca.gov>
References:  <004401c1761f$dc01be10$0a00000a@atkielski.com> <005d01c1762a$730a3f80$0b01a8c0@lc.ca.gov>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Nov 25, 2001 at 07:28:43PM -0800, Drew Tomlinson wrote:
> 
> > I have my router set to send messages to syslog on my FreeBSD system
> > when connect attempts and the like are discarded, but nothing is being
> > logged.  When I look at traffic with tcpdump, there are lots of messages
> > being sent to FreeBSD by the router, but I don't know where they are
> > going.  What do I have to do to make this work?
> >
> > Currently I have syslogd starting with "-a 10.0.0.0/24:*" as options
> > (the router is at 10.0.0.30).  The router is supposed to be sending
> > messages as facility local1, so I have
> >
> > local1.*   /var/log/router.log
> 
> I am not sure if this will work for you or not but try this:
> 
> +local1
> *.*        /var/log/router.log

No, that's not right.
The +line takes a hostname, not a facility.

This works for me (where netpilot is in the same domain as the loghost) :

+netpilot
*.*	/var/log/netpilot

It's in the fine manual.

Ceri

-- 
keep a mild groove on

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011126091123.GA2864>