[Bug 257552] Feature Request: IPFW2 add DragonflyBSD's IPFW3 features

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 02 Aug 2021 08:32:37 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257552

            Bug ID: 257552
           Summary: Feature Request: IPFW2 add DragonflyBSD's IPFW3
                    features
           Product: Base System
           Version: 12.2-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: alfadev@protonmail.com

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

...

Load balancing-PBR( round-robin, sticky) only available on PF but bandwith ,
captiveportal etc available on IPFW so When i use PF+IPFW same time and Multi
WAN + captive portal scenerio. Captive portal not works. After PBR outgoing
Packets not entering to IPFW.

-- 
You are receiving this mail because:
You are the assignee for the bug.