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

    Only 30 Limiters Allowed??

    Scheduled Pinned Locked Moved Traffic Shaping
    2 Posts 1 Posters 1.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.
    • J
      jpalacio
      last edited by

      Hi all:

      I am using the latest amd64 version 2.1 and I am trying to configure some limiters . I found that there is a limit of 30 limiters, when trying to add the 31st , it comes with an error  " you need at least one bw specification".

      I've checked the shaper.inc code and certainly its limited to 30 limiters :

      Line 3045  of shaper.inc

       for ($i = 0; $i < 30; $i++) {
                              if (!empty($data["bwsched{$i}"])) {
                                      if ($data["bwsched{$i}"] != "none")
                                              $schedule++;
                                      else
                                              $schedulenone++;
      

      https://github.com/pfsense/pfsense/blob/dda9c67f7f8fdc3401a0d3c7b885630d128e2fbb/etc/inc/shaper.inc#L3045

      Is this right?? Any advice on how to manage the situation when you want to use more than 30 limiters??

      Thanks

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

        @jpalacio:

        Hi all:

        I am using the latest amd64 version 2.1 and I am trying to configure some limiters . I found that there is a limit of 30 limiters, when trying to add the 31st , it comes with an error  " you need at least one bw specification".

        I've checked the shaper.inc code and certainly its limited to 30 limiters :

        Line 3045  of shaper.inc

         for ($i = 0; $i < 30; $i++) {
                                if (!empty($data["bwsched{$i}"])) {
                                        if ($data["bwsched{$i}"] != "none")
                                                $schedule++;
                                        else
                                                $schedulenone++;
        

        https://github.com/pfsense/pfsense/blob/dda9c67f7f8fdc3401a0d3c7b885630d128e2fbb/etc/inc/shaper.inc#L3045

        Is this right?? Any advice on how to manage the situation when you want to use more than 30 limiters??

        Thanks

        No one???  :'( :'(

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