Date: Mon, 26 Nov 2001 09:05:26 -0800 From: "Drew Tomlinson" <drew@mykitchentable.net> To: "Anthony Atkielski" <anthony@freebie.atkielski.com>, "setantae" <setantae@submonkey.net> Cc: "FreeBSD Questions" <freebsd-questions@freebsd.org> Subject: Re: Accepting syslog messages from a router Message-ID: <000b01c1769c$8d6c1110$962a6ba5@lc.ca.gov> References: <004401c1761f$dc01be10$0a00000a@atkielski.com> <005d01c1762a$730a3f80$0b01a8c0@lc.ca.gov> <20011126091123.GA2864@rhadamanth> <009401c17674$bdea3010$0a00000a@atkielski.com>
next in thread | previous in thread | raw e-mail | index | archive | help
----- Original Message ----- From: "Anthony Atkielski" <anthony@freebie.atkielski.com> To: "setantae" <setantae@submonkey.net>; "Drew Tomlinson" <drew@mykitchentable.net> Cc: "FreeBSD Questions" <freebsd-questions@freebsd.org> Sent: Monday, November 26, 2001 4:20 AM Subject: Re: Accepting syslog messages from a router > What options do you have on the syslogd command line, if any? I use "-a 192.168.1.1" which is the IP address of my router. > > ----- Original Message ----- > From: "setantae" <setantae@submonkey.net> > To: "Drew Tomlinson" <drew@mykitchentable.net> > Cc: "Anthony Atkielski" <anthony@freebie.atkielski.com>; "FreeBSD Questions" > <freebsd-questions@freebsd.org> > Sent: Monday, November 26, 2001 10:11 > Subject: Re: Accepting syslog messages from a router > > > > 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?000b01c1769c$8d6c1110$962a6ba5>