From nobody@FreeBSD.org  Thu Nov 11 19:35:33 2004
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 036FE16A4CE
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 11 Nov 2004 19:35:33 +0000 (GMT)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id E605243D45
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 11 Nov 2004 19:35:32 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.12.11/8.12.11) with ESMTP id iABJZUgU054863
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 11 Nov 2004 19:35:30 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.11/8.12.11/Submit) id iABJZUAm054861;
	Thu, 11 Nov 2004 19:35:30 GMT
	(envelope-from nobody)
Message-Id: <200411111935.iABJZUAm054861@www.freebsd.org>
Date: Thu, 11 Nov 2004 19:35:30 GMT
From: Stephen Wylie <swylie@wylie.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: adding ipfw2 "fwd/forward" rule results in "Invalid Argument" error in FreeBSD 5.3
X-Send-Pr-Version: www-2.3

>Number:         73832
>Category:       i386
>Synopsis:       adding ipfw2 "fwd/forward" rule results in "Invalid Argument" error in FreeBSD 5.3
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-i386
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Nov 11 19:40:23 GMT 2004
>Closed-Date:    Fri Dec 17 23:24:09 GMT 2004
>Last-Modified:  Fri Dec 17 23:24:09 GMT 2004
>Originator:     Stephen Wylie
>Release:        5.3-Release
>Organization:
American Megatrends, Inc.
>Environment:
14:14:55}gonzo:/etc# uname -a
FreeBSD gonzo.int.wylie.com 5.3-RELEASE FreeBSD 5.3-RELEASE #7: Tue Nov  9 18:22:33 EST 2004     root@kingkong.int.wylie.com:/usr/obj/usr/src/sys/gonzo  i386
14:28:46}gonzo:/etc#
>Description:
14:14:47}gonzo:/etc# ipfw add 300 fwd xxx.xxx.xxx.xxx all from xxx.xxx.xxx.xxx/xx to any
ipfw: getsockopt(IP_FW_ADD): Invalid argument

the above is (with the x's replaced with actual #'s to make a valid IP address / network address) a snip from my screen showing the command entered and the output from it. I updated the box (via cvsup) just the other day from 5.2.1 to 5.3 and this one firewall rule has quit working. I am using the same kernel config that I was using with 5.2.1 when everything was working perfectly.
>How-To-Repeat:
enter a command like this:
ipfw add 300 fwd xxx.xxx.xxx.xxx all from xxx.xxx.xxx.xxx/xx to any

replace the x's with numbers to make a valid IP address and network address.
>Fix:
n/a
>Release-Note:
>Audit-Trail:

From: "Stephen R. Wylie" <stevew@ami.com>
To: freebsd-gnats-submit@FreeBSD.org, swylie@wylie.com
Cc:  
Subject: Re: i386/73832: adding ipfw2 "fwd/forward" rule results in "Invalid
 Argument" error in FreeBSD 5.3
Date: Thu, 02 Dec 2004 07:43:57 -0500

 This is not a bug. I should read the release notes sooner.
State-Changed-From-To: open->closed 
State-Changed-By: arved 
State-Changed-When: Fri Dec 17 23:24:02 GMT 2004 
State-Changed-Why:  
Submitter's request 

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