Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Aug 2001 22:22:15 -0700 (PDT)
From:      George Kerr <dgkerr@juno.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   bin/29947: After running CVSup, natd fails to run "ipfw: get sockopt (ip_fw_add): invalid command
Message-ID:  <200108220522.f7M5MFD81635@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         29947
>Category:       bin
>Synopsis:       After running CVSup, natd fails to run "ipfw: get sockopt (ip_fw_add): invalid command
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Aug 21 22:30:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     George Kerr
>Release:        4.3
>Organization:
>Environment:
4.4-RC FreeBSD 4.4-RC #0 Mon Aug 20 21:53:31 MDT 2001
>Description:
After I got updates using CVSup, - default release=cvs tag=RELENG_4 - and src-all, plus a few other common lines, the natd portion of the firewall fails to run.  The line in rc.ipfw " ${fwcmd} add divert natd all from any to any via ${natd_interface} " gives the following error 
ip_fw_ctl: Invalid command
ipfw: get sockopt(ip_fw_add): Invalid argument.  I am sure this worked before getting the update on Saturday Aug 18, 2001
Hope this is a good enough explanation.

George Kerr
>How-To-Repeat:
Kernel with IPFIREWALL, IPDIVERT, rc.conf- firewall_type="simple", gaetway_enable="YES", natd_enable="YES", firewall_script="/etc/rc.ipfw",
in rc.ipfw, this line: ${fwcmd} add divert natd all from any to any via ${natd_interface}
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200108220522.f7M5MFD81635>