The name of the policies in MultiWAN must be limited to a maximum of 15 characters, otherwise nft cannot handle it.
Steps to reproduce
Create a MultiWAN policy with a name exceeding 15 characters.
Apply the policy and observe the system logs.
Expected behavior
MultiWAN policies should be applied without errors if the policy names are within the character limit.
Actual behavior
Policies with names longer than 15 characters cause errors in the logs and are not set properly.
Evidence
Error in the log:
May 29 16:51:30 fw mwan3-init[7679]: Policy ns_priority_eolo exceeds max of 15 chars. Not setting policy
May 29 16:51:30 fw mwan3-init[7679]: set_user_rules (ipv4): iptables-restore v1.8.8 (legacy): chain name `mwan3_policy_ns_priority_eolo' too long (must be under 29 chars)#012Error occurred at line: 4#012Try `iptables-restore -h' or 'iptables-restore --help' for more information.
Description
The name of the policies in MultiWAN must be limited to a maximum of 15 characters, otherwise
nft
cannot handle it.Steps to reproduce
Expected behavior
MultiWAN policies should be applied without errors if the policy names are within the character limit.
Actual behavior
Policies with names longer than 15 characters cause errors in the logs and are not set properly.
Evidence
Error in the log:
Components
NethSecurity version: 8-23.05.3-ns.1.0.0