is there a way to Port DragonflyBSD's IPFW3 to FreeBSD

From: alfadev via freebsd-hackers <freebsd-hackers_at_FreeBSD.org>
Date: Wed, 28 Jul 2021 13:05:17 +0000
Hi,
I am planning to move on IPFW from PF i have mentioned why in this[topic.](https://forums.freebsd.org/threads/how-to-change-packet-traversal-order-in-freebsd-ipfw-and-pf-firewalls-in-kernel-level.81482/)

DragonflyBSD's IPFW3 has below pros which are IPFW2 has not

1)Load-balancing
forward-option can be `round-robin' or `sticky'.

Code:

ipfw3 add forward 192.168.1.1:80,192.168.1.2:80 round-robin tcp from ....

Above example can forward the traffic to 2 destination in round-robin.

2)States can be added/deleted using the ipfw3 utility.

Code:

ipfw3 state delete rulenum

3)States can be expire after some time

Code:

ipfw3 state add rule 1000 udp 192.168.1.100:0 8.8.8.8:53 expiry 600

...

These are some hard problems to me when i try to completely move on IPFW.
So is there a way to port IPFW3 to FreeBSD.
Thanks for any help and suggestions..
Received on Wed Jul 28 2021 - 13:05:17 UTC

Original text of this message