Bug 143973 - [ipfw] [panic] ipfw forward option causes kernel reboot
Summary: [ipfw] [panic] ipfw forward option causes kernel reboot
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: Unspecified
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords: crash
Depends on:
Blocks:
 
Reported: 2010-02-15 22:30 UTC by rick norman
Modified: 2022-10-17 12:19 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description rick norman 2010-02-15 22:30:01 UTC
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.
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2010-02-15 22:52:03 UTC
Responsible Changed
From-To: freebsd-bugs->freebsd-ipfw

Over to maintainer(s).
Comment 2 Andrey Zonov 2012-05-05 14:19:26 UTC
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
Comment 3 Andrey V. Elsukov freebsd_committer freebsd_triage 2013-01-05 21:39:37 UTC
State Changed
From-To: open->feedback

Do you still have this problem on recent FreeBSD versions?
Comment 4 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 07:58:54 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped
Comment 5 Graham Perrin freebsd_committer freebsd_triage 2022-10-17 12:19:28 UTC
Keyword: 

    crash

– in lieu of summary line prefix: 

    [panic]

* bulk change for the keyword
* summary lines may be edited manually (not in bulk). 

Keyword descriptions and search interface: 

    <https://bugs.freebsd.org/bugzilla/describekeywords.cgi>