On 18 May 2002 at 1:29, Guido van Rooij wrote:

> On Fri, May 17, 2002 at 06:37:27PM -0400, Dan Langille wrote:
> > I recently upgraded to FreeBSD-4.6-RC:
> > 
> > # ipf -V
> > ipf: IP Filter: v3.4.27 (336)
> > Kernel: IP Filter: v3.4.27
> > Running: no
> > Log Flags: 0 = none set
> > Default: block all, Logging: available
> > Active list: 1
> > 
> > I'm getting this error but do not know the cause:
> > 
> > # ipfstat -sl
> > ioctl(state:SIOCGETFS): Input/output error
> > 
> > I get a similar error from ipfstat -t.
> 
> Are you sure you are not using an old ipfstat (it should be in /sbin)

OH hold on, it's working now!

Background: I have just rebooted the box. It had been compiled with "block 
all by default".  When it came up, we were effectively locked out.  The 
hosting company got it going by adding some default rules.  I just added 
ipfilter_enable="YES" to rc.conf and put ipf.rules back into /etc/

Does this explain things?
-- 
Dan Langille
The FreeBSD Diary - http://freebsddiary.org/ - practical examples

Reply via email to