ipfw3 check-state doesn't work

Aaron LI aly at aaronly.me
Thu Feb 7 03:24:10 PST 2019


Quoting Nima Azizzadeh (2019-02-07 17:18:55)
> Hello,
> We are working on a project that includes DragonFlyBSD and IPFW3. On this
> phase of project we are trying to test all features. Based on official
> DragonFlyBSD documents(https://www.dragonflybsd.org/docs/ipfw3/) for using
> stateful firewall and checking every traffic state, we must use "ipfw3 add
> check-state" rule. When I use the syntax I got this error :
> # ipfw3 add check-state
> ipfw3: getsockopt(IP_FW_ADD): Invalid argument
> 

Hi Nima,

Did you load the necessary modules?  If not, try and load all IPFW3
modules, i.e., "ipfw3", "ipfw3_basic", "ipfw3_layer2", "ipfw3_layer4",
and "ipfw3_nat".

Hope this solves your problem.

Cheers,
Aaron



More information about the Users mailing list