From owner-freebsd-questions@FreeBSD.ORG Wed Jan 18 15:25:37 2006 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 C905016A41F for ; Wed, 18 Jan 2006 15:25:37 +0000 (GMT) (envelope-from norgaard@locolomo.org) Received: from strange.daemonsecurity.com (59.Red-81-33-11.staticIP.rima-tde.net [81.33.11.59]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2199043D45 for ; Wed, 18 Jan 2006 15:25:36 +0000 (GMT) (envelope-from norgaard@locolomo.org) Received: from [172.24.8.84] (generic.ATOSORIGIN.ES [212.170.156.200]) by strange.daemonsecurity.com (Postfix) with ESMTP id 900492E0A7; Wed, 18 Jan 2006 16:25:35 +0100 (CET) Message-ID: <43CE5E22.4080605@locolomo.org> Date: Wed, 18 Jan 2006 16:26:26 +0100 From: Erik Norgaard User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: Gable Barber References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: How to tell if IPF is running? 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, 18 Jan 2006 15:25:37 -0000 Gable Barber wrote: > Howdy List... > I am trying to figure out if ipf is running for certain. FreeBSD 6.0-RELEASE > . > > > > I added the following to /etc/rc.conf : > > ipfilter_enable="YES" > ipmon_enable="YES" > ipmon_flags="-Dsvn" > ipnat_enable="YES" > ipfs_enable="YES" > > I added a rule file /etc/ipf.conf , and flushed/reloaded ipf with the > command > > # ipf -Fa -f /etc/ipf.conf > > I have rebooted since the additions to /etc/rc.conf > > ps aux | grep ipf > > Shows nothing. I do see ipmon in there however. > > ipfstat command, shows me stats, so I suppose it is running, but I assumed > (incorrectly?) that I would "see" ipf with ps aux . Yes, incorrectly, if you have any rules with the log key word, then you can se if you get any entries in your log files. I would have default rules first in my rule set: block log in all block log out all And then pass what I positively know is good. Cheers, Erik