Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Broken Traffic shaper

    Scheduled Pinned Locked Moved 1.2.3-PRERELEASE-TESTING snapshots - RETIRED
    11 Posts 2 Posters 5.8k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      Jonb
      last edited by

      Everytime I use the wizard I get these errors no matter what settings I use:

      Sep 17 23:22:32 php: : There were error(s) loading the rules: /tmp/qwanRoot.rules:32: syntax error pfctl: Syntax error in config file: pf rules not loaded pfctl: load anchors - The line in question reads [32]:
      Sep 17 23:22:32 php: : New alert found: There were error(s) loading the rules: /tmp/qwanRoot.rules:32: syntax error pfctl: Syntax error in config file: pf rules not loaded pfctl: load anchors The line in question reads [32]:

      Is there anyway I can get this working.

      Hosted desktops and servers with support without complication.
      www.blueskysystems.co.uk

      1 Reply Last reply Reply Quote 0
      • C
        cmb
        last edited by

        Attach your /tmp/rules.debug or email it to me (cmb at pfsense dot org).

        1 Reply Last reply Reply Quote 0
        • C
          cmb
          last edited by

          Some characters got stripped out of that ruleset, not sure how you got it but after I added in the removed quotes and slashes it loads fine.

          The shaper isn't going to work effectively for you with 5 interfaces, in 1.2.x it's only designed for two interfaces. So you probably aren't going to want to use it like that regardless, but it won't cause filter loading issues, it just won't work effectively. Line 32 is a blank line, at least in the ruleset you attached, which will never cause an error, so don't know what you're seeing.

          1 Reply Last reply Reply Quote 0
          • J
            Jonb
            last edited by

            I have about 5  Pfsense box and most only have two interfaces and I get this problem on everyone when I use the wizard. Is there anything that can be done to get this working.

            As it is the wizard that is generating these errors I presume it is an issue with how the wizard is writing the script.

            Hosted desktops and servers with support without complication.
            www.blueskysystems.co.uk

            1 Reply Last reply Reply Quote 0
            • C
              cmb
              last edited by

              Attach a complete backup of your configuration or email it to me. I'm not aware of any possible way to get an invalid ruleset using the wizard, nobody has reported such an issue with the shaper as it is now and it's been the same for years. If you manually edit the results of the wizard there are possibilities there for breaking things if it's done wrong, but the wizard itself won't.

              1 Reply Last reply Reply Quote 0
              • J
                Jonb
                last edited by

                I have sent it to you in an e-mail thanks.

                Hosted desktops and servers with support without complication.
                www.blueskysystems.co.uk

                1 Reply Last reply Reply Quote 0
                • J
                  Jonb
                  last edited by

                  @cmb:

                  Attach a complete backup of your configuration or email it to me. I'm not aware of any possible way to get an invalid ruleset using the wizard, nobody has reported such an issue with the shaper as it is now and it's been the same for years. If you manually edit the results of the wizard there are possibilities there for breaking things if it's done wrong, but the wizard itself won't.

                  Just as a side note this did used to work for me upto about 1.1 if I remember right and I haven't always had this as an issue. I did have other post but they were never look at untill now.

                  Hosted desktops and servers with support without complication.
                  www.blueskysystems.co.uk

                  1 Reply Last reply Reply Quote 0
                  • C
                    cmb
                    last edited by

                    One of the many packages you have installed must be causing the problem, or maybe a combination of some of them. Ruleset loads fine for me using your restored config, but on a system that has no packages installed (it can't reinstall them because it isn't on the Internet, I never restore someone else's config online to avoid problems like taking over dyndns registrations, etc.).

                    1 Reply Last reply Reply Quote 0
                    • J
                      Jonb
                      last edited by

                      Hmmm that is interesting. Only conmen thing is IM inspector and the dashboard.

                      Hosted desktops and servers with support without complication.
                      www.blueskysystems.co.uk

                      1 Reply Last reply Reply Quote 0
                      • J
                        Jonb
                        last edited by

                        I uninstalled IMinspector then ran the wizard and the traffic shaper worked fine. On re running it though it came up with an error again.

                        Hosted desktops and servers with support without complication.
                        www.blueskysystems.co.uk

                        1 Reply Last reply Reply Quote 0
                        • J
                          Jonb
                          last edited by

                          CMB thank you for your help and I do understand how complex fixing these problems are but were do I go from here in terms of finding the fault with the traffic shaper wizard. Apart from a full reinstall and then adding each package at a time I am at a loss.

                          I have sent you a simpler config that gives the same problem to see if you can find any simularites that is causing this.

                          If I have exorsted you time I thank you for the input you have give and I will have to wait for the shaper on 2.0.

                          Hosted desktops and servers with support without complication.
                          www.blueskysystems.co.uk

                          1 Reply Last reply Reply Quote 0
                          • First post
                            Last post
                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.