Bug 73832 - adding ipfw2 "fwd/forward" rule results in "Invalid Argument" error in FreeBSD 5.3
Summary: adding ipfw2 "fwd/forward" rule results in "Invalid Argument" error in FreeBS...
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: i386 (show other bugs)
Version: Unspecified
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-i386 (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-11 19:40 UTC by Stephen Wylie
Modified: 2004-12-17 23:24 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 Stephen Wylie 2004-11-11 19:40:23 UTC
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.

Fix: 

n/a
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.
Comment 1 stevew 2004-12-02 12:43:57 UTC
This is not a bug. I should read the release notes sooner.
Comment 2 Tilman Keskinoz freebsd_committer freebsd_triage 2004-12-17 23:24:02 UTC
State Changed
From-To: open->closed

Submitter's request