From owner-freebsd-bugs Tue Aug 21 22:30:20 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 5109937B40B for ; Tue, 21 Aug 2001 22:30:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f7M5U1782465; Tue, 21 Aug 2001 22:30:01 -0700 (PDT) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id C17C437B40B for ; Tue, 21 Aug 2001 22:22:15 -0700 (PDT) (envelope-from nobody@FreeBSD.org) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f7M5MFD81635; Tue, 21 Aug 2001 22:22:15 -0700 (PDT) (envelope-from nobody) Message-Id: <200108220522.f7M5MFD81635@freefall.freebsd.org> Date: Tue, 21 Aug 2001 22:22:15 -0700 (PDT) From: George Kerr To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: bin/29947: After running CVSup, natd fails to run "ipfw: get sockopt (ip_fw_add): invalid command Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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