<div dir="ltr"><div>Hi Aaron<br></div><div>Thanks for the response. Yes, all modules was loaded. It doesn't solve the problem!</div><div><br></div><div>Regards,</div><div>Nima<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Feb 7, 2019 at 2:54 PM Aaron LI <<a href="mailto:aly@aaronly.me">aly@aaronly.me</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Quoting Nima Azizzadeh (2019-02-07 17:18:55)<br>
> Hello,<br>
> We are working on a project that includes DragonFlyBSD and IPFW3. On this<br>
> phase of project we are trying to test all features. Based on official<br>
> DragonFlyBSD documents(<a href="https://www.dragonflybsd.org/docs/ipfw3/" rel="noreferrer" target="_blank">https://www.dragonflybsd.org/docs/ipfw3/</a>) for using<br>
> stateful firewall and checking every traffic state, we must use "ipfw3 add<br>
> check-state" rule. When I use the syntax I got this error :<br>
> # ipfw3 add check-state<br>
> ipfw3: getsockopt(IP_FW_ADD): Invalid argument<br>
> <br>
<br>
Hi Nima,<br>
<br>
Did you load the necessary modules?  If not, try and load all IPFW3<br>
modules, i.e., "ipfw3", "ipfw3_basic", "ipfw3_layer2", "ipfw3_layer4",<br>
and "ipfw3_nat".<br>
<br>
Hope this solves your problem.<br>
<br>
Cheers,<br>
Aaron<br>
</blockquote></div>