Date: Wed, 12 Jan 2000 20:05:08 -0500 (EST) From: josh@zipperup.org To: FreeBSD-gnats-submit@freebsd.org Subject: conf/16093: MAKEDEV doesnt create /dev nodes for IPFilter Message-ID: <20000113010508.3BE3232602@asherah.dyndns.org>
next in thread | raw e-mail | index | archive | help
>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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000113010508.3BE3232602>