F-Stack / f-stack

F-Stack is an user space network development kit with high performance based on DPDK, FreeBSD TCP/IP stack and coroutine API.
http://www.f-stack.org
Other
3.86k stars 898 forks source link

Ipfw : No such file or directory #626

Open mincymathew opened 2 years ago

mincymathew commented 2 years ago

FF_KNI=1

FF_FLOW_ISOLATE=1

FF_NETGRAPH=1

FF_IPFW=1

FF_USE_PAGE_ARRAY=1

FF_INET6=1

I uncommented FF_IPFW in Makefile and installed it. But I am not able to add ipfw rules.

[f-stack]# cd tools/ipfw/ [ipfw]# ls Makefile compat.c dummynet.c ipfw2.c ipfw2.o ipv6.o main.o nat.o tables.o altq.c compat.o ipfw.8 ipfw2.h ipv6.c main.c nat.c tables.c

[ipfw]# ./ipfw -P 0 add allow tcp from any to 192.168.10.10 80 -bash: ./ipfw: No such file or directory

jfb8856606 commented 2 years ago

You should enable FF_NETGRAPH=1 also.