From owner-freebsd-hackers Thu Jun 26 20:35:52 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id UAA01585 for hackers-outgoing; Thu, 26 Jun 1997 20:35:52 -0700 (PDT) Received: from lab321.ru (root@anonymous1.omsk.net.ru [194.226.32.34]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id UAA01576; Thu, 26 Jun 1997 20:35:40 -0700 (PDT) Received: from kev.l321.omsk.net.ru (kev.l321.omsk.net.ru [194.226.33.68]) by lab321.ru (8.8.6/8.8.5) with SMTP id KAA10215; Fri, 27 Jun 1997 10:38:31 +0700 (OSD) Message-ID: <33B3350E.6201DD56@lab321.ru> Date: Fri, 27 Jun 1997 10:35:42 +0700 From: Eugeny Kuzakov Organization: Internet - point of no return ! X-Mailer: Mozilla 3.01Gold (X11; I; FreeBSD 2.2.2-RELEASE 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=koi8-r Content-Transfer-Encoding: 7bit Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Alejandro Galindo Chairez wrote: > > Hi > > I have the next problem: > > 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 Just compile new kernel with options IPDIVERT&IPFIREWALL. -- Best wishes, Eugeny Kuzakov Laboratory 321 ( Omsk, Russia ) kev@lab321.ru