NetBSD Problem Report #9174
Received: (qmail 6347 invoked from network); 12 Jan 2000 05:16:25 -0000
Message-Id: <200001120515.AAA12666@agnostic.union.cynic.net>
Date: Wed, 12 Jan 2000 00:15:45 -0500 (EST)
From: cjs@cynic.net
Reply-To: cjs@cynic.net
To: gnats-bugs@gnats.netbsd.org
Subject: ipnat -f filename without ipf -E crashes system
X-Send-Pr-Version: 3.95
>Number: 9174
>Category: kern
>Synopsis: ipnat -f filename without ipf -E crashes system
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: darrenr
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Jan 11 21:18:00 +0000 2000
>Closed-Date: Tue Mar 07 19:53:18 +0000 2000
>Last-Modified: Tue Mar 07 19:54:10 +0000 2000
>Originator: Curt Sampson
>Release: 2000-01-10
>Organization:
Curt Sampson <cjs@cynic.net> 917 532 4208 De gustibus, aut bene aut nihil.
The most widely ported operating system in the world: http://www.netbsd.org
>Environment:
NetBSD bucolic.union.cynic.net 1.4P NetBSD 1.4P (BUCOLIC) #5: Tue Jan 11 18:32:52 EST 2000 cjs@bucolic.union.cynic.net:/u/co/current/src/sys/arch/i386/compile/BUCOLIC i386
>Description:
If you run ipnat -f filename and filename has rules in it (i.e., not
empty or just comments), the system will page fault in the kernel and
end up at the debugger or reboot.
>How-To-Repeat:
Boot a system without running ipf. Add the following to /etc/ipnat.conf:
map we2 192.168.88.0/24 -> 0/32
and then run
ipf -f /etc/ipnat.conf
>Fix:
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback
State-Changed-By: darrenr
State-Changed-When: Sun Mar 5 04:45:55 PST 2000
State-Changed-Why:
Does this still happen with -current ?
IP Filter has since been fixed to not panic in this scenario (it now
just returns EIO).
Responsible-Changed-From-To: kern-bug-people->darrenr
Responsible-Changed-By: darrenr
Responsible-Changed-When: Sun Mar 5 04:45:55 PST 2000
Responsible-Changed-Why:
because he is
State-Changed-From-To: feedback->closed
State-Changed-By: thorpej
State-Changed-When: Tue Mar 7 11:53:18 PST 2000
State-Changed-Why:
Now that the bug in the code that returns EIO is fixed, the bug this
PR is related to is fixed.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.