From owner-freebsd-questions Mon Nov 26 4:20:47 2001 Delivered-To: freebsd-questions@freebsd.org Received: from freebie.atkielski.com (ASt-Lambert-101-2-1-14.abo.wanadoo.fr [193.251.59.14]) by hub.freebsd.org (Postfix) with ESMTP id D3AFE37B41C for ; Mon, 26 Nov 2001 04:20:39 -0800 (PST) Received: from contactdish (win.atkielski.com [10.0.0.10]) by freebie.atkielski.com (8.11.3/8.11.3) with SMTP id fAQCKUC03548; Mon, 26 Nov 2001 13:20:30 +0100 (CET) (envelope-from anthony@freebie.atkielski.com) Message-ID: <009401c17674$bdea3010$0a00000a@atkielski.com> From: "Anthony Atkielski" To: "setantae" , "Drew Tomlinson" Cc: "FreeBSD Questions" References: <004401c1761f$dc01be10$0a00000a@atkielski.com> <005d01c1762a$730a3f80$0b01a8c0@lc.ca.gov> <20011126091123.GA2864@rhadamanth> Subject: Re: Accepting syslog messages from a router Date: Mon, 26 Nov 2001 13:20:30 +0100 Organization: Anthony's Home Page (development site) MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 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 What options do you have on the syslogd command line, if any? ----- Original Message ----- From: "setantae" To: "Drew Tomlinson" Cc: "Anthony Atkielski" ; "FreeBSD Questions" 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