Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Jul 2021 08:57:14 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 257270] 32 character limit in pf/firewall "PF_TABLE_NAME_SIZE". Can it be increased?
Message-ID:  <bug-257270-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D257270

            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=3D23972.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/17a61782d3b8d86464d5bdc38483ee8a0ac6a4=
f9/sys/netpfil/pf/pf.h#L185

Is there any reason why aliases are limited to 32 characters in total? Coul=
d 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!

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-257270-227>