Date: Thu, 16 Nov 2000 15:57:41 -0000 From: Daniel Podolsky <daniel.podolsky@twelvehorses.com> To: "'Micke Josefsson'" <mj@isy.liu.se>, freebsd-questions@FreeBSD.ORG Subject: RE: Can I get ipfw to log to a file? Message-ID: <856E94D34FF3D311B5FE00508B6B8BD22A34E3@BlackWidow.twelvehorses.int>
next in thread | raw e-mail | index | archive | help
This is just example from my /etc/syslog.conf [begin] !ipfw *.* /var/log/ipfw.log [end] You should 1) add these lines to you /etc/syslog.conf 2) create the /var/log/ipfw.log (touch /var/log/ipfw.log) 3) restart syslogd 4) change /etc/newsyslog.conf for rotate the /var/log/ipfw.log for example, it should contain "/var/log/ipfw.log 640 31 * @T00 Z" Good luck >-----Original Message----- >From: Micke Josefsson [mailto:mj@isy.liu.se] >Sent: Thursday, November 16, 2000 3:31 PM >To: freebsd-questions@FreeBSD.ORG >Subject: Can I get ipfw to log to a file? > > >Having recently installed a firewall with logging I really >would like to have >the logging to a file instead of out to the screen. I tried >with syslogd but to >no avail. The manpage does not say anything either I think. Is >it at all >possible? > >Thanks for hints! > >/Micke > >---------------------------------- >Michael Josefsson, MSEE >mj@isy.liu.se > >This message was sent by XFMail >running on FreeBSD 3.5-STABLE >---------------------------------- > > >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?856E94D34FF3D311B5FE00508B6B8BD22A34E3>