From owner-freebsd-questions Sun Nov 25 19:28:52 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mrtwig.citlink.net (mrtwig.citlink.net [207.173.229.137]) by hub.freebsd.org (Postfix) with ESMTP id 9BC3037B416 for ; Sun, 25 Nov 2001 19:28:49 -0800 (PST) Received: from blacklamb.mykitchentable.net ([207.173.248.249]) by mrtwig.citlink.net (InterMail vK.4.03.04.00 201-232-130 license a3e2d54ac3b1df4217e834deb9d77e31) with ESMTP id <20011126033320.HQEB60244.mrtwig@blacklamb.mykitchentable.net>; Sun, 25 Nov 2001 21:33:20 -0600 Received: from tagalong (unknown [192.168.1.11]) by blacklamb.mykitchentable.net (Postfix) with SMTP id 78C36EE653; Sun, 25 Nov 2001 19:29:59 -0800 (PST) Message-ID: <005d01c1762a$730a3f80$0b01a8c0@lc.ca.gov> From: "Drew Tomlinson" To: "Anthony Atkielski" , "FreeBSD Questions" References: <004401c1761f$dc01be10$0a00000a@atkielski.com> Subject: Re: Accepting syslog messages from a router Date: Sun, 25 Nov 2001 19:28:43 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG ----- Original Message ----- From: "Anthony Atkielski" To: "FreeBSD Questions" 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