From owner-freebsd-questions Fri Jan 21 10:56:20 2000 Delivered-To: freebsd-questions@freebsd.org Received: from pebkac.owp.csus.edu (pebkac.owp.csus.edu [130.86.232.245]) by hub.freebsd.org (Postfix) with ESMTP id CB33914F09 for ; Fri, 21 Jan 2000 10:56:16 -0800 (PST) (envelope-from joseph.scott@owp.csus.edu) Received: from owp.csus.edu (mothra.ecs.csus.edu [130.86.76.220]) by pebkac.owp.csus.edu (8.9.3/8.9.3) with ESMTP id KAA01878; Fri, 21 Jan 2000 10:56:08 -0800 (PST) (envelope-from joseph.scott@owp.csus.edu) Message-ID: <3888ABC4.641FD96D@owp.csus.edu> Date: Fri, 21 Jan 2000 10:56:04 -0800 From: Joseph Scott X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.0.36 i386) X-Accept-Language: en MIME-Version: 1.0 To: Klaus Brunner Cc: questions@FreeBSD.ORG Subject: Re: ipfilter on 3.4-STABLE: "File exists" References: <38889CAF.FE750A38@acm.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Klaus Brunner wrote: > > Hello, > > I'm trying to get ipfilter (plus ipnat) to work on my 3.4-STABLE box > (fresh cvsup today, kernel options IPFILTER and IPFILTER_LOG). The > ipfilter comes up and gives me an "initialized, default = pass all, > logging = enabled" message. ipnat gets initialized and works fine. > > However, as soon as I try to add ANY rule using ipf, I get a "File > exists" message. > > Example (trying to enter a simple rule from stdin): > > root@winf# ipf -f - > pass in all > ^D > ioctl(SIOCADDFR): File exists > [snip] > > This of course also gives me "ioctl(SIOCADDFR): File exists" messages. > What's up? Am I doing something wrong? I couldn't find anything on the > various ipfilter pages I searched. > > Any help appreciated! I recently subscribed to the ipfilter list, someone on there mentioned something similar. I believe the issue was having the kernel and userland stuff at different versions. I'd recommend rebuilding the ipfilter userland tools and see if you continue to have this problem. If it does continue then subscribe to the list, questions seem to be addressed pretty quickly there. -- Joseph Scott joseph.scott@owp.csus.edu Office Of Water Programs - CSU Sacramento To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message