Date: Sun, 25 Nov 2001 19:28:43 -0800 From: "Drew Tomlinson" <drew@mykitchentable.net> To: "Anthony Atkielski" <anthony@freebie.atkielski.com>, "FreeBSD Questions" <freebsd-questions@freebsd.org> Subject: Re: Accepting syslog messages from a router Message-ID: <005d01c1762a$730a3f80$0b01a8c0@lc.ca.gov> References: <004401c1761f$dc01be10$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: "FreeBSD Questions" <freebsd-questions@freebsd.org> Sent: Sunday, November 25, 2001 6:12 PM Subject: Accepting syslog messages from a router > 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 I think you have to identify the facility with the "+". Then on the next line, "*.*" says "log everything" to your file. HTH, Drew > in the syslog.conf file. > > What am I doing wrong? > > Is there a tool that will show me the contents of the packets being sent by the > router, so I can see exactly what facility and text it is actually sending? > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > > 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?005d01c1762a$730a3f80$0b01a8c0>