From nobody@FreeBSD.org  Mon Feb 15 22:29:52 2010
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 44077106566B
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 15 Feb 2010 22:29:52 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 3233A8FC27
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 15 Feb 2010 22:29:52 +0000 (UTC)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o1FMTpU7068954
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 15 Feb 2010 22:29:51 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id o1FMTpS4068953;
	Mon, 15 Feb 2010 22:29:51 GMT
	(envelope-from nobody)
Message-Id: <201002152229.o1FMTpS4068953@www.freebsd.org>
Date: Mon, 15 Feb 2010 22:29:51 GMT
From: rick norman <gumbo@bsdmail.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: ipfw forward option causes kernel reboot
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         143973
>Category:       kern
>Synopsis:       [ipfw] [panic] ipfw forward option causes kernel reboot
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-ipfw
>State:          feedback
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Feb 15 22:30:01 UTC 2010
>Closed-Date:    
>Last-Modified:  Sat Jan 05 21:41:39 UTC 2013
>Originator:     rick norman
>Release:        8.0 release
>Organization:
>Environment:
FreeBSD 8.0-RELEASE #0 Mon Jan 11 2010
>Description:
establishing tcp stream causes system to reboot when ipfw fwd rule is used to select the output interface.
>How-To-Repeat:
configure two nodes on one lan as follows :

node01
ifconfig em1 alias 10.77.1.2/24
ifconfig em1 alias 10.77.2.2/24

ipfw add 101 fwd 10.77.1.1 ip from 10.77.1.2 to any out
ipfw add 102 fwd 10.77.2.1 ip from 10.77.2.2 to any out

node02
ifconfig em1 alias 10.77.1.1/24
ifconfig em1 alias 10.77.2.1/24

In one window on node01 run "nc -l 8889 > /dev/null".  In a second window on node01 run "yes | nc -s 10.77.1.2 10.77.2.2 8889".  The system freezes then reboots.  Remember to enable IPFIRWALL_FORWARD in the kernel.
>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->freebsd-ipfw 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Mon Feb 15 22:52:03 UTC 2010 
Responsible-Changed-Why:  
Over to maintainer(s). 

http://www.freebsd.org/cgi/query-pr.cgi?pr=143973 

From: Andrey Zonov <andrey@zonov.org>
To: bug-followup@FreeBSD.org, gumbo@bsdmail.org
Cc:  
Subject: Re: kern/143973: [ipfw] [panic] ipfw forward option causes kernel reboot
Date: Sat, 5 May 2012 17:19:26 +0400

 Hi,
 
 May be my patch from this PR [1] will solve your problem.
 
 [1] http://www.freebsd.org/cgi/query-pr.cgi?pr=155585
 
 -- 
 Andrey Zonov
State-Changed-From-To: open->feedback 
State-Changed-By: ae 
State-Changed-When: Sat Jan 5 21:39:37 UTC 2013 
State-Changed-Why:  
Do you still have this problem on recent FreeBSD versions? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=143973 
>Unformatted:
