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

    Trying to get VoIP Shaper correct BETA3

    Scheduled Pinned Locked Moved Traffic Shaping
    21 Posts 4 Posters 10.2k 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.
    • K
      kwag
      last edited by

      Hi sullrich and hoba,

      Thanks  for your replies :)
      I finally figured out what was happening.
      First of all, I did a factory default, and then proceeded to run the Shaping Wizard once again.
      After that, I noticed exactly the same problem, and I decided to do a tcpdump -vvv host MyTargetHost to get more info, and there I saw the problem!
      My downstream was ToS=0x18 and my upstream was ToS=0x10  :o
      However, I believe there's a bug in the matching rules, because look what happens below.

      For example, this works fine:

      lowdelay    yes    no      don't care
      throughput yes    no    don't care
      reliability   yes    no    don't care
      congestion yes    no    don't care

      But this, or any other combination that includes more than one tos value, will  bomb:

      lowdelay    yes    no    don't care
      throughput yes    no    don't care
      reliability   yes    no    don't care
      congestion yes    no    don't care

      PF will complain as to the syntax and skip the rule of the offending line when trying to add tos=lowdelay,throughput, etc., on the same line.

      So I just fixed the ToS on my Asterisk box to tos=0x18, selected lowdelay yes - on the "IP Type of Service (TOS)", and bingo!, upstream/downstream are now showing a nice red line while any phone is in use ;)

      BUT, the question still is, shouldn't 0x10 match? Because it doesn't!  ???
      Isn't 0x10 = lowdelay? or do I have it all wrong?

      Thanks,
      -Karl

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