Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
Development and Code Review
(Moderator:
fabian
) »
Minor Issue with Gateway name, not severe
« previous
next »
Print
Pages: [
1
]
Author
Topic: Minor Issue with Gateway name, not severe (Read 3005 times)
antcilli
Newbie
Posts: 3
Karma: 0
Minor Issue with Gateway name, not severe
«
on:
January 30, 2018, 09:08:51 pm »
Nothing major. Just went to add a new gateway to the configuration for some testing, and I put the name in as "2911" - quotation marks not included, to be clear.
The interface spits back this error: The name must be less than 32 characters long and may only consist of the following characters: a-z, A-Z, 0-9, _
If I update it to "2911_router", it goes through successfully. Not a huge deal, but it does appear there's an extra requirement for the name that isn't included. Not sure if it's a minimum length, or all numbers issue, but figured I'd point it out.
Currently running: OPNsense 17.7.9_9-amd64
Logged
franco
Administrator
Hero Member
Posts: 17665
Karma: 1611
Re: Minor Issue with Gateway name, not severe
«
Reply #1 on:
February 28, 2018, 08:42:46 am »
Hi,
This is a pf(4) filter issue. "2911" is a number and pf.conf(5) will not like it. The validation message is not entirely correct, but the constraints seem to complex to explain in a simple message.
Cheers,
Franco
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
Development and Code Review
(Moderator:
fabian
) »
Minor Issue with Gateway name, not severe