Feature #13639
open
Add custom DSCP value in firewall rules
Added by Marc Turin about 2 years ago.
Updated about 2 years ago.
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
See attached for a quick patch for testing only.
- Status changed from New to Ready To Test
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
Odd, it worked fine here. I attached the patch for different versions - try the one specific to yours.
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! :)
Also available in: Atom
PDF