Traffic shaper syntax error
-
hi Guys,
I've been using 2.1 beta for a while and most things seem to work great. I ran into issues when I tried to turn on the traffic shaper. I have the same CBQ setup on a 2.0 box and it works fine, but fails in 2.1. I can add all of the traffic shaper rules, but when I go to assign them to floating rules I get a pfctl error when reloading rules. From system.log:
Apr 1 13:22:04 scooby-sba php: : The command '/sbin/pfctl -o basic -f /tmp/rules.debug' returned exit code '1', the output was '/tmp/rules.debug:192: syntax error pfctl: Syntax error in config file: pf rules not loaded'
Apr 1 13:22:04 scooby-sba php: : New alert found: There were error(s) loading the rules: /tmp/rules.debug:192: syntax error pfctl: Syntax error in config file: pf rules not loaded - The line in question reads [192]: match inet proto tcp from any to any queue (q3_Default,q6_ACK) label "USER_RULE: Default"
Apr 1 13:22:04 scooby-sba php: : There were error(s) loading the rules: /tmp/rules.debug:192: syntax error pfctl: Syntax error in config file: pf rules not loaded - The line in question reads [192]: match inet proto tcp from any to any queue (q3_Default,q6_ACK) label "USER_RULE: Default"The line in question from rules.debug is:
match inet proto tcp from any to any queue (q3_Default,q6_ACK) label "USER_RULE: Default"
On my 2.0 box the line looks mostly the same, however the "inet" keyword is missing:
match proto tcp from any to any queue (q3_Default,q6_ACK) label "USER_RULE: Default"
I tried manually editing the line and loading the rules from the command line on 2.1 but that failed too. I suspect the syntax has changed between releases. Is this already a known issue (I searched and couldn't find a bug), or is there something I'm doing wrong?
Thanks.
-
https://redmine.pfsense.org/issues/2373
-
I have tried manually editing as well and I cannot find what is considered the "syntax" error.