From owner-freebsd-questions Tue Nov 19 20:37:38 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0ED1837B401 for ; Tue, 19 Nov 2002 20:37:37 -0800 (PST) Received: from www.reppep.com (www.reppep.com [66.92.104.200]) by mx1.FreeBSD.org (Postfix) with ESMTP id 501A043E6E for ; Tue, 19 Nov 2002 20:37:36 -0800 (PST) (envelope-from pepper@reppep.com) Received: from [66.92.104.201] (g4.reppep.com [66.92.104.201]) by www.reppep.com (Postfix) with ESMTP id EEC80AA8B; Tue, 19 Nov 2002 23:37:34 -0500 (EST) Mime-Version: 1.0 X-Sender: pepper@mail.reppep.com Message-Id: In-Reply-To: <00fb01c28f8a$df63e580$010a0a0a@iss.net> References: <00fb01c28f8a$df63e580$010a0a0a@iss.net> Date: Tue, 19 Nov 2002 23:36:24 -0500 To: "Jerry Bell" From: Chris Pepper Subject: Re: 4.7-S: syslog from TiVo Cc: Content-Type: text/plain; charset="us-ascii" ; format="flowed" 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 Jerry, Thanks, but that doesn't seem to be the problem. I think it's getting through IPFW fine, and I removed the -s from syslogd's options, but I still can't find any info on (configuring) remote logging, aside from -a which I'm already using. Chris Pepper At 12:16 AM -0500 2002/11/19, Jerry Bell wrote: >I really don't know if it would work or not, but you could put an ipfw >divert rule and natd to redirect the syslog packets to localhost:514 or >similar. > >Also, you'll need to remove the '-s' flag from syslogd. > >Jerry >----- Original Message ----- >From: "Chris Pepper" >To: >Sent: Monday, November 18, 2002 11:54 PM >Subject: 4.7-S: syslog from TiVo > > >> I've just networked my TiVo, and noticed that it tries to >> connect to 255.255.255.255:514/udp on restart. So naturally I'd like >> to capture this in syslog, to see what it has to tell me. I opened up >> the port in ipfw, and see a packet coming through, but after much >> head-banging on syslog.conf.5, and trial and error, I still can't get >> anything to showi up in the log file I created for this host, or >> messages or console.log. What am I missing?? >> >> >> Thanks much, >> >> >> Chris Pepper >> >> >[www:~] root# uname -a >> >FreeBSD www.reppep.com 4.7-STABLE FreeBSD 4.7-STABLE #2: Mon Nov 18 >> >21:56:46 EST 2002 >> >root@www.reppep.com:/usr/obj/usr/src/sys/REPPEP i386 >> >> >[www:~] root# ipfw -aN l|grep syslog >> >01400 1 122 allow udp from 66.92.104.200/30 to any >> >dst-port syslog >> >[www:~] root# ps -aux|grep syslog >> >root 5850 0.0 0.2 1028 720 ?? Ss 11:28PM 0:00.04 >> >/usr/sbin/syslogd -4 -a 66.92.104.200/30 >> >> >[www:~] root# tail -2 /etc/syslog.conf >> >+airport.reppep.com >> >*.* /var/log/airport.log >> >[www:~] root# ls -l /var/log/airport.log > > >-rw-r--r-- 1 root wheel 0 Nov 18 21:09 /var/log/airport.log -- Chris Pepper: Rockefeller University: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message