You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ x] I have searched the existing issues, open and closed, and I'm convinced that mine is new.
[ x] The title contains the plugin to which this issue belongs
Describe the bug
If you add a virtual server to relayd that has a name longer than 31 characters, and click apply, relayd will stop and not restart until you remove or shorten the virtual server name.
To Reproduce
Go to services => relayd => settings
Add a host on the Backend Hosts tab
Add a table on the Tables tab, including the host you added
Go to the virtual servers tab, click add
For server type, pick redirection
Pick the table you just created in tables
Fill out an arbitrary listen address and listen port
Type a name of >31 characters in the Name field
Save, Apply
Relayd won't run.
Expected behavior
Relayd running, or error message in the UI.
Important notices
Before you add a new report, we ask you kindly to acknowledge the following:
Describe the bug
If you add a virtual server to relayd that has a name longer than 31 characters, and click apply, relayd will stop and not restart until you remove or shorten the virtual server name.
To Reproduce
Expected behavior
Relayd running, or error message in the UI.
Relevant log files
relayd.conf:
interval 1
log state changes
log host checks
prefork 3
timeout 200
table {
127.0.0.1
}
redirect "localhost-4446 blarg blarg blatt" {
listen on 192.168.2.1 tcp port 10001
forward to port 4446 mode roundrobin check https "/rules.limits" host acs-areq code 200
session timeout 600
}
root@OPNsense:/usr/local/etc # relayd -n
configuration OK
root@OPNsense:/usr/local/etc # relayd -d
startup
pfe: init_tables: name too long: Invalid argument
hce exiting, pid 27854
ca exiting, pid 28639
relay exiting, pid 28317
relay exiting, pid 28311
relay exiting, pid 28285
lost child: pid 27407 exited abnormally
ca exiting, pid 28730
ca exiting, pid 28836
parent terminating, pid 27011
Environment
OPNsense 24.1.5_3
The text was updated successfully, but these errors were encountered: