Subject: Re: admin script for ipfilter
To: Darren Reed <darrenr@NetBSD.org>
From: Martin Husemann <martin@duskware.de>
List: tech-userlevel
Date: 12/27/2006 01:09:30
On Wed, Dec 27, 2006 at 12:04:47AM +0000, Darren Reed wrote:
> What I hope is of more interest is doing "ipfadm ipfilter status",
> where it will tell you if it is enabled, disabled, enabled but no rules,
> or disabled but rules loaded.
You mean like:
[~] root@setting-sun > /etc/rc.d/ipfilter status
ipf: IP Filter: v4.1.13 (480)
Kernel: IP Filter: v4.1.13
Running: yes
Log Flags: 0 = none set
Default: pass all, Logging: available
Active list: 0
Feature mask: 0xa
[~] root@setting-sun >
?
Martin