From owner-freebsd-questions Thu Nov 16 8: 0:55 2000 Delivered-To: freebsd-questions@freebsd.org Received: from lf.twelvehorses.com (unknown [193.120.151.245]) by hub.freebsd.org (Postfix) with ESMTP id 0B00237B479 for ; Thu, 16 Nov 2000 08:00:52 -0800 (PST) Received: from blackwidow.twelvehorses.com (host-0-200.twelvehorses.int [192.168.0.200] (may be forged)) by lf.twelvehorses.com (8.11.0/8.11.0) with ESMTP id eAGG0hs33731; Thu, 16 Nov 2000 16:00:43 GMT (envelope-from daniel.podolsky@twelvehorses.com) Received: by BlackWidow.twelvehorses.int with Internet Mail Service (5.5.2650.21) id ; Thu, 16 Nov 2000 15:57:51 -0000 Message-ID: <856E94D34FF3D311B5FE00508B6B8BD22A34E3@BlackWidow.twelvehorses.int> From: Daniel Podolsky To: "'Micke Josefsson'" , freebsd-questions@FreeBSD.ORG Subject: RE: Can I get ipfw to log to a file? Date: Thu, 16 Nov 2000 15:57:41 -0000 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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