Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
21.7 Legacy Series
»
32 character limit in firewall aliases. Can it be increased?
« previous
next »
Print
Pages: [
1
]
Author
Topic: 32 character limit in firewall aliases. Can it be increased? (Read 4172 times)
nyctophilia
Newbie
Posts: 2
Karma: 0
32 character limit in firewall aliases. Can it be increased?
«
on:
July 19, 2021, 12:20:00 am »
As this is my very first post:
Hello everyone,
and thanks to the devs for their awesome work!
I have one small question, as I couldn't find any answer by googling. 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!
Logged
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: 32 character limit in firewall aliases. Can it be increased?
«
Reply #1 on:
July 19, 2021, 09:44:24 am »
Hi there,
Currently, it's pinned to 32 characters in the OS:
https://github.com/opnsense/src/blob/17a61782d3b8d86464d5bdc38483ee8a0ac6a4f9/sys/netpfil/pf/pf.h#L185
I don't know the implications of increasing it and would hope that FreeBSD pioneers this change if the need is big enough. Feel free to open a ticket here:
https://bugs.freebsd.org/bugzilla/
Kristof will probably respond with a more qualified answer than I can.
Cheers,
Franco
Logged
nyctophilia
Newbie
Posts: 2
Karma: 0
Re: 32 character limit in firewall aliases. Can it be increased?
«
Reply #2 on:
July 19, 2021, 10:59:21 am »
Hi Franco,
thanks for the pointer, I opened a ticket and will report back if there are any news on this matter!
Greetings
Valentino
Logged
0xDEADC0DE
Newbie
Posts: 49
Karma: 1
Re: 32 character limit in firewall aliases. Can it be increased?
«
Reply #3 on:
July 23, 2021, 10:08:16 am »
Here is the link to the bugtracker
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257270
The bug was closed because it cannot be changed.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
21.7 Legacy Series
»
32 character limit in firewall aliases. Can it be increased?