From owner-freebsd-questions@FreeBSD.ORG Tue Dec 13 13:14:59 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 7ED7C16A41F for ; Tue, 13 Dec 2005 13:14:59 +0000 (GMT) (envelope-from fbsd_user@a1poweruser.com) Received: from mta11.adelphia.net (mta11.adelphia.net [68.168.78.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id B816A43D76 for ; Tue, 13 Dec 2005 13:14:35 +0000 (GMT) (envelope-from fbsd_user@a1poweruser.com) Received: from barbish ([69.172.31.117]) by mta11.adelphia.net (InterMail vM.6.01.05.02 201-2131-123-102-20050715) with SMTP id <20051213131429.GZOK4477.mta11.adelphia.net@barbish>; Tue, 13 Dec 2005 08:14:29 -0500 From: "fbsd_user" To: "Pietro Cerutti" , "Elmer Rivera" , "FreeBSD" Date: Tue, 13 Dec 2005 08:14:25 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) In-Reply-To: Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Cc: Subject: RE: ipfilter question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: fbsd_user@a1poweruser.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Dec 2005 13:14:59 -0000 In FBSD 4.11 and older, ipfilter logged to local0. Then in 5.4 it was changed to security. Now in 6.0 it has reverted back to logging to local0. The /etc/syslog.conf file is where you define the log files. -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Pietro Cerutti Sent: Tuesday, December 13, 2005 7:39 AM To: Elmer Rivera; FreeBSD Subject: Re: ipfilter question On 12/13/05, Elmer Rivera wrote: > hello, Hello, > > my freebsd box is already setup and followed some of the docs on > setting up the firewall using ipfilter. question on logging. > > setup /var/log/ipfilter.log as my log file. How/where did you set this up? > modified syslog.conf. How did you modified this? > its working now unfortunately, its loggin on > that file AND to my messages log file. is it possible to log ipfilter > log only to my log file? Yes, it is possible. Here's my setup: /etc/rc.conf ipmon_enable="YES" ipmon_flags="-Dns" /etc/syslog.conf security.* /var/log/ipfilter.log Make sure you don't have any other security.* facility specified in /etc/syslog.conf > > thanks > -- > Elmer Rivera, http://www.vizcayano.com, http://youand.i.ph > Hope this helps, -- Pietro Cerutti Beansidhe - SwiSS Death / Thrash Metal Windows: "Where do you want to go today?" Linux: "Where do you want to go tomorrow?" FreeBSD: "Are you guys coming or what?" _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"