From owner-freebsd-questions@FreeBSD.ORG Wed Dec 14 00:42:47 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 C3ACD16A41F for ; Wed, 14 Dec 2005 00:42:47 +0000 (GMT) (envelope-from europa100@comcast.net) Received: from sccrmhc14.comcast.net (sccrmhc14.comcast.net [63.240.77.84]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4833043D67 for ; Wed, 14 Dec 2005 00:42:44 +0000 (GMT) (envelope-from europa100@comcast.net) Received: from lm741n.had1.or.comcast.net. (c-24-20-8-31.hsd1.or.comcast.net[24.20.8.31]) by comcast.net (sccrmhc14) with SMTP id <2005121400423801400ak692e>; Wed, 14 Dec 2005 00:42:38 +0000 Date: Tue, 13 Dec 2005 16:42:27 -0800 From: Rob Lytle To: freebsd-questions@freebsd.org Message-Id: <20051213164227.0cb04489.europa100@comcast.net> In-Reply-To: <43c190410512131624w56ad2c14k8e65d64d2207dcbd@mail.gmail.com> References: <43c190410512130257l1366b4c3rf56f44f5f451b93@mail.gmail.com> <43c190410512131624w56ad2c14k8e65d64d2207dcbd@mail.gmail.com> X-Mailer: Sylpheed version 2.0.0 (GTK+ 2.6.9; i386-portbld-freebsd6.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: ipfilter question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Dec 2005 00:42:47 -0000 > > 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 > > yes, there is no other security.* facility, actually i got it working > to log on my file (/var/log/ipfilter.log) but it also logs on > /var/log/messages. I only want to log on my file. > > > > > > > > > thanks > > > -- > > > Elmer Rivera, http://www.vizcayano.com, http://youand.i.ph I have the problem that ipmon logs to /var/log/messages and nothing goes to /var/log/ipf.log. Even after using the info in this thread. I am using local0 as was suggested for FreeBSD 6.0. Earlier I was using security.* which didn't work either. I suppose that at the least, I need to remove something from the /var/log/messages line. Here is my syslog.conf: *.err;kern.warning;auth.notice;mail.crit /dev/console *.notice;authpriv.none;kern.debug;lpr.info;mail.crit;news.err /var/log/messages local0.* /var/log/ipf.log auth.info;authpriv.info /var/log/auth.log mail.info /var/log/maillog lpr.info /var/log/lpd-errs ftp.info /var/log/xferlog cron.* /var/log/cron *.=debug /var/log/debug.log Thanks, Rob. -- ------------------ http://home.comcast.net/~europa100 A SETI-like Search for Intelligent Life in Central Pa.