[prev in list] [next in list] [prev in thread] [next in thread]
List: freebsd-hackers
Subject: Re: ipfw: setsockopt failed
From: Alfred Perlstein <perlsta () fang ! cs ! sunyit ! edu>
Date: 1997-06-27 18:07:48
[Download RAW message or body]
> I have the next problem:
>
> When the "ipfw flush" comand is executed the system send me the message:
>
> setsockopt failed
this is dumb, but are you root when you try this?
> 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?
>
you need to specify the port to divert to :)
ie. from my machine:
/sbin/ipfw add 2000 divert 6668 all from any to any via ed0
|
this is the port number -----/
you should have a program listening to the port to manipulate the data
coming in.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic