From owner-freebsd-questions Fri Jan 21 9:52:16 2000 Delivered-To: freebsd-questions@freebsd.org Received: from winf.htu.tuwien.ac.at (winf.htu.tuwien.ac.at [128.130.46.50]) by hub.freebsd.org (Postfix) with ESMTP id 8D7E314FA1 for ; Fri, 21 Jan 2000 09:51:58 -0800 (PST) (envelope-from k.brunner@acm.org) Received: from acm.org ([192.168.0.13]) by winf.htu.tuwien.ac.at (8.9.3/8.9.3) with ESMTP id SAA00543 for ; Fri, 21 Jan 2000 18:51:53 +0100 (CET) (envelope-from k.brunner@acm.org) Message-ID: <38889CAF.FE750A38@acm.org> Date: Fri, 21 Jan 2000 18:51:43 +0100 From: Klaus Brunner X-Mailer: Mozilla 4.7 [en] (Win98; I) X-Accept-Language: en MIME-Version: 1.0 To: questions@freebsd.org Subject: ipfilter on 3.4-STABLE: "File exists" Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 The relevant portion of rc.network looks like this (taken from the manual at www.free-x.ch): if [ X"${ipfilter}" = X"YES" -a -f "${ipfilter_rules}" ]; then echo " configuring ipfilter " ipf -Fa -f ${ipfilter_rules} -E else ipfilter="NO" fi 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! TIA. Klaus To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message