From owner-freebsd-hackers Thu Jun 26 17:42:59 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id RAA23147 for hackers-outgoing; Thu, 26 Jun 1997 17:42:59 -0700 (PDT) Received: from alpo.whistle.com (alpo.whistle.com [207.76.204.38]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id RAA23142; Thu, 26 Jun 1997 17:42:56 -0700 (PDT) Received: (from daemon@localhost) by alpo.whistle.com (8.8.5/8.8.5) id RAA29713; Thu, 26 Jun 1997 17:37:12 -0700 (PDT) Received: from current1.whistle.com(207.76.205.22) via SMTP by alpo.whistle.com, id smtpd029708; Fri Jun 27 00:37:06 1997 Message-ID: <33B30AE6.2C67412E@whistle.com> Date: Thu, 26 Jun 1997 17:35:50 -0700 From: Julian Elischer Organization: Whistle Communications X-Mailer: Mozilla 3.0Gold (X11; I; FreeBSD 2.2-CURRENT i386) MIME-Version: 1.0 To: Alejandro Galindo Chairez CC: questions@FreeBSD.ORG, isp@FreeBSD.ORG, hackers@FreeBSD.ORG Subject: Re: ipfw: setsockopt failed References: <1.5.4.32.19970626200702.0068336c@io.com.mx> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > When the "ipfw flush" comand is executed the system send me the message: > > setsockopt failed > > or when i executed: > > ipfw add divert 32000 ip from any to any via ed1 for example > > the system send me the message > > 00000 divert 32000 ip from any to any via ed1 > ipfw: setsockopt(IP_FW_ADD): Invalid argument > > Why? and How can i resolv the problem? > > The system is a FreeBSD 2.2.1 of Walnut Creek CDROM did you compile the kernel with option IPFIREWALL ?