Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Jun 1997 20:06:29 -0400 (EDT)
From:      Brian Mitchell <brian@firehouse.net>
To:        Alejandro Galindo Chairez <agalindo@asimov.io.com.mx>
Cc:        questions@FreeBSD.ORG, isp@FreeBSD.ORG, hackers@FreeBSD.ORG
Subject:   Re: ipfw: setsockopt failed
Message-ID:  <Pine.BSI.3.95.970626200500.22748A-100000@shell.firehouse.net>
In-Reply-To: <1.5.4.32.19970626200702.0068336c@io.com.mx>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 26 Jun 1997, 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 
> 
>         Why? and How can i resolv the problem?
> 
> The system is a FreeBSD 2.2.1 of Walnut Creek CDROM
> 
> Sorry for my bad english
> 
> Thanks in advance

Sounds like you dont have ipfw in the kernel, which you need. You need
divert in the kernel to do divert, as well. Rebuild your kernel.



Brian Mitchell                                  brian@firehouse.net
"BSD code sucks. Of course, everything else sucks far more."
- Theo de Raadt






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSI.3.95.970626200500.22748A-100000>