Feature #13639
openAdd custom DSCP value in firewall rules
0%
Description
Hi,
I am using custom DSCP values on a network and want to use custom DSCP fields in firewall rules.
Of the 64 possible DSCP values, only 24 are available in a firewall rules.
Would it be possible to add a textbox to add a custom DSCP value or add all 64 DSCP values in the dropdown?
Thanks.
Files
Updated by Marcos M about 2 years ago
See attached for a quick patch for testing only.
Updated by Marc Turin about 2 years ago
Marcos M wrote in #note-1:
For now, here's a quick patch for testing only:
[...]
Thank for the feedback,
I made the changes, but I get the following error when I try to edit/create a rule from the web interface:
Parse error: syntax error, unexpected '$pconfig' (T_VARIABLE), expecting ')' in /usr/local/www/firewall_rules_edit.php on line 1580
Updated by Marcos M about 2 years ago
- File 22.05.patch 22.05.patch added
- File 2.6.0.patch 2.6.0.patch added
- File 23.01.patch 23.01.patch added
Updated by Marcos M about 2 years ago
Odd, it worked fine here. I attached the patch for different versions - try the one specific to yours.
Updated by Marc Turin about 2 years ago
Marcos M wrote in #note-5:
Odd, it worked fine here. I attached the patch for different versions - try the one specific to yours.
It works! thank you! I applied version 2.6.0 of the patch and tested with custom DSCP values in the new textbox.
I will perform other tests with other DSCP values to validate the correct operation.
Thanks! :)