From owner-freebsd-bugs Wed Jan 12 17:10: 5 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 0C77815567 for ; Wed, 12 Jan 2000 17:10:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id RAA73184; Wed, 12 Jan 2000 17:10:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from tomts1-srv.bellnexxia.net (tomts1.bellnexxia.net [209.226.175.139]) by hub.freebsd.org (Postfix) with ESMTP id 9566A14E8F for ; Wed, 12 Jan 2000 17:05:11 -0800 (PST) (envelope-from josh@zipperup.org) Received: from asherah.dyndns.org ([216.209.47.114]) by tomts1-srv.bellnexxia.net (InterMail vM.4.01.02.07 201-229-116-107) with ESMTP id <20000113010510.XSZR24271.tomts1-srv.bellnexxia.net@asherah.dyndns.org> for ; Wed, 12 Jan 2000 20:05:10 -0500 Received: by asherah.dyndns.org (Postfix, from userid 701954) id 3BE3232602; Wed, 12 Jan 2000 20:05:08 -0500 (EST) Message-Id: <20000113010508.3BE3232602@asherah.dyndns.org> Date: Wed, 12 Jan 2000 20:05:08 -0500 (EST) From: josh@zipperup.org Reply-To: josh@zipperup.org To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: conf/16093: MAKEDEV doesnt create /dev nodes for IPFilter Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 16093 >Category: conf >Synopsis: MAKEDEV doesnt create /dev nodes for IPFilter >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Jan 12 17:10:00 PST 2000 >Closed-Date: >Last-Modified: >Originator: Josh Tiefenbach >Release: FreeBSD 4.0-CURRENT i386 >Organization: Connective Software >Environment: -current circa 9 Jan 2000 >Description: MAKEDEV doesnt create the IPFilter nodes in /dev, namely: /dev/ipl /dev/ipnat /dev/ipstate /dev/ipauth This makes it rather problematic using ipf(8) and friends. >How-To-Repeat: ipf -V reports: open device: Permission denied ioctl(SIOCGETFS: Bad file descriptor ipf: IP Filter: v3.3.3 (192) as a result of not being able to open /dev/ipl >Fix: The following patch adds support to /usr/src/etc/MAKEDEV so that: MAKEDEV ipl creates the proper nodes. ======= --- MAKEDEV Sat Jan 8 16:58:06 2000 +++ MAKEDEV.new Wed Jan 12 19:55:45 2000 @@ -1485,6 +1485,18 @@ chmod 600 mlx$unit ;; +# Create entries for IPFilter +ipl) + mknod ipl c 79 0 + chmod 600 ipl + mknod ipnat c 79 1 + chmod 600 ipnat + mknod ipstate c 79 2 + chmod 600 ipstate + mknod ipauth c 79 3 + chmod 600 ipauth + ;; + local) umask 0 # XXX should be elsewhere sh MAKEDEV.local >Release-Note: >Audit-Trail: >Unformatted: Josh Tiefenbach To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message