From owner-freebsd-questions Mon Nov 26 1:12:23 2001 Delivered-To: freebsd-questions@freebsd.org Received: from relay3-gui.server.ntli.net (relay3-gui.server.ntli.net [194.168.4.200]) by hub.freebsd.org (Postfix) with ESMTP id 917A937B416 for ; Mon, 26 Nov 2001 01:12:13 -0800 (PST) Received: from pc3-card3-0-cust122.cdf.cable.ntl.com ([62.254.251.122] helo=rhadamanth.private.submonkey.net ident=exim) by relay3-gui.server.ntli.net with esmtp (Exim 3.03 #2) id 168Ho1-0005sy-00; Mon, 26 Nov 2001 09:12:01 +0000 Received: from setantae by rhadamanth.private.submonkey.net with local (Exim 3.33 #1) id 168HnP-0000n9-00; Mon, 26 Nov 2001 09:11:23 +0000 Date: Mon, 26 Nov 2001 09:11:23 +0000 From: setantae To: Drew Tomlinson Cc: Anthony Atkielski , FreeBSD Questions Subject: Re: Accepting syslog messages from a router Message-ID: <20011126091123.GA2864@rhadamanth> Mail-Followup-To: setantae , Drew Tomlinson , Anthony Atkielski , FreeBSD Questions References: <004401c1761f$dc01be10$0a00000a@atkielski.com> <005d01c1762a$730a3f80$0b01a8c0@lc.ca.gov> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <005d01c1762a$730a3f80$0b01a8c0@lc.ca.gov> User-Agent: Mutt/1.3.23.2i 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 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