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

    [SOLVED] traffic shaper queues bug

    Scheduled Pinned Locked Moved 2.0-RC Snapshot Feedback and Problems - RETIRED
    43 Posts 9 Posters 19.3k 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.
    • D
      danswartz
      last edited by

      No detectable change at all.  I wiped the shaper.  Created the same trivial shaper config as before.  e.g. 10.0.0.7 is the voip host.  Set for PRIQ.  Save the config.  Call my office phone and leave a message.  No activity on the qVOIP queue.  Finally, out of desperation, I deleted the 10.0.0.7, and saw the one floating rule replaced by two rules: one for the SIP ports and one for the RTP ports.  I called my office phone again, and started leaving a voicemail.  Looking at the queues as I did, I saw about 86kb/sec going out via qVOIP, so it is clearly the source IP address matching that was hosing me.  Sigh…

      1 Reply Last reply Reply Quote 0
      • D
        danswartz
        last edited by

        Oh yeah, and the failure to use qACK at all outbound is still there…

        1 Reply Last reply Reply Quote 0
        • X
          xbipin
          last edited by

          i guess the last snapshot built was 04-Jul-2011 18:11 and in that its not fixed but mayb if a new snap is built then need to test on that

          1 Reply Last reply Reply Quote 0
          • E
            eri--
            last edited by

            You have to wait for a new snapshot to have those changes :)

            1 Reply Last reply Reply Quote 0
            • B
              bio_hazard
              last edited by

              @ermal:

              You have to wait for a new snapshot to have those changes :)

              I tried the last snapshot (built on Thu Jul 7 00:25:19 EDT 2011) but didnt work…

              nevermind, is working on the last snapshot (built on Thu Jul 7 16:08:10 EDT 2011) , tnx ermal :D

              1 Reply Last reply Reply Quote 0
              • X
                xbipin
                last edited by

                same here, finally works fine

                1 Reply Last reply Reply Quote 0
                • D
                  danswartz
                  last edited by

                  Wish I could say the same.  The two issues I've been reporting all along are still in the snapshot from 22:58 last night.  e.g. VOIP with a host IP: still broken.  qACK not being used: still broken :(

                  1 Reply Last reply Reply Quote 0
                  • X
                    xbipin
                    last edited by

                    mayb u could post ur rule set if that might have some issue, try also ticking the quick match box for the rule.

                    1 Reply Last reply Reply Quote 0
                    • D
                      danswartz
                      last edited by

                      No rule set other than created by the wizard.  This is an absolutely trivial config.  PRIQ.  22mb/sec inbound and outbound.  Stepping thru the wizard, I default everything except for the voip section, where I selected "generic (lowdelay)" and put 10.0.0.7 (my asterisk box) as the IP.  I get no LAN queues, and nothing goes into the qACK queue (occasional packets do go into qVOIP, but none of the audio, since the bit rate never gets more than a couple of kb/sec).

                      1 Reply Last reply Reply Quote 0
                      • D
                        danswartz
                        last edited by

                        @xbipin:

                        mayb u could post ur rule set if that might have some issue, try also ticking the quick match box for the rule.

                        This seems wrong.  The shaper rules are non-quick (I thought) because all they do is queue the packet, there is no pass, which is handled (presumably) by the default LAN outbound rule, no?  If I marked this as quick, wouldn't it not to be processed by the LAN out rule?  Or am I confused?  Besides which, the change I made yesterday (which does work, specifying asterisk/vonage, causing a rule for the SIP packets and a rule for the RTP packets), doesn't have quick and it works :(

                        1 Reply Last reply Reply Quote 0
                        • B
                          bio_hazard
                          last edited by

                          @danswartz:

                          No rule set other than created by the wizard.  This is an absolutely trivial config.  PRIQ.  22mb/sec inbound and outbound.  Stepping thru the wizard, I default everything except for the voip section, where I selected "generic (lowdelay)" and put 10.0.0.7 (my asterisk box) as the IP.  I get no LAN queues, and nothing goes into the qACK queue (occasional packets do go into qVOIP, but none of the audio, since the bit rate never gets more than a couple of kb/sec).

                          VoIP traffic is UDP, UDP does not generate acks

                          1 Reply Last reply Reply Quote 0
                          • D
                            danswartz
                            last edited by

                            Sigh.  I know that.  I said there were two issues with the shaper wizard: 1) voip traffic from the specified host is not going to qVOIP, and 2) no traffic ever goes to qACK (and it used to - as far as I can tell, the shaper wizard is never generating any rules to do so, but this used to work.)  I never said the two issues were related.

                            1 Reply Last reply Reply Quote 0
                            • X
                              xbipin
                              last edited by

                              firstly i think the wizard has ahd issues recently so i wouldnt consider that a safe bet, secondly msot of the rules it might have generated would be on ur floating tab as i use that only to put traffic in specific queues, now to match voip traffic there needs to be a rule on the floating tab for out as well as for in and if ur going to match based on remote SIP server ip then u have to use the quick tickbox and if ur using a local machine ip to match then also use the quick tickbox but if ur matching a remote server port then u dont need to tick that quick tickbox. now dont ask me y to tick and y not because im not a firewall expert but i just managed to get my rules working over time with some trial and error and some help from this forum.

                              u can have a look at my rules from the floating tab, all rules r queues and not pass and the voip rules have quick match ticked but not for the http ones

                              CropperCapture[1].jpg
                              CropperCapture[1].jpg_thumb
                              CropperCapture[2].jpg
                              CropperCapture[2].jpg_thumb

                              1 Reply Last reply Reply Quote 0
                              • D
                                danswartz
                                last edited by

                                Ah, okay.  Well, like I said, all I want is to prioritize the voip traffic, and what I have now works, so I think I will not mess with it for now :)

                                1 Reply Last reply Reply Quote 0
                                • P
                                  pwipf
                                  last edited by

                                  Just want to say thanks to Ermal and anyone who fixed the UDP or Voip issue with the shaper, it works well now with just a simple rule under the LAN tab, specifying what traffic to send to what queue, and you can even use a specific source ip, and the traffic that matches the rule going out goes to that queue, and the traffic allowed back in by that rule also goes to the queue.  Now i can happily ignore the floating tab!!!

                                  1 Reply Last reply Reply Quote 0
                                  • E
                                    eri--
                                    last edited by

                                    The floating tab is not only for shaper but a way to define more generic rules.
                                    From teh shaper context that means you can aggregate shaper rules if you do complex stuff.

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