Date: Tue, 19 Nov 2002 00:16:52 -0500 From: "Jerry Bell" <jerry@syslog.org> To: <freebsd-questions@FreeBSD.ORG>, "Chris Pepper" <pepper@reppep.com> Subject: Re: 4.7-S: syslog from TiVo Message-ID: <00fb01c28f8a$df63e580$010a0a0a@iss.net> References: <p05200f1bb9ff72db7464@[66.92.104.201]>
next in thread | previous in thread | raw e-mail | index | archive | help
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" <pepper@reppep.com> To: <freebsd-questions@FreeBSD.ORG> 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: <http://www.reppep.com/~pepper/> > Rockefeller University: <http://www.rockefeller.edu/> > > 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?00fb01c28f8a$df63e580$010a0a0a>