[Bug 257270] 32 character limit in pf/firewall "PF_TABLE_NAME_SIZE". Can it be increased?

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 19 Jul 2021 08:57:14 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257270

            Bug ID: 257270
           Summary: 32 character limit in pf/firewall
                    "PF_TABLE_NAME_SIZE". Can it be increased?
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: misc
          Assignee: bugs@FreeBSD.org
          Reporter: netskyvc@gmail.com

Hello everyone!

I'm coming from OPNsense and already asked my question there:
https://forum.opnsense.org/index.php?topic=23972.0

Franco (Lead-dev OPNsense) directed me to you, as it seems to be a limit in the
pf-code.
https://github.com/opnsense/src/blob/17a61782d3b8d86464d5bdc38483ee8a0ac6a4f9/sys/netpfil/pf/pf.h#L185

Is there any reason why aliases are limited to 32 characters in total? Could it
be increased or will it break code/performance?

We have a use-case which would require more than 32 chars in the alias name,
probably double (64) for good measure.

Thank you in advance and thank you for your continuos work on FreeBSD!

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