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

    Traffic Shaper: Limiter

    Scheduled Pinned Locked Moved Traffic Shaping
    41 Posts 17 Posters 18.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.
    • I
      interkrome
      last edited by

      @Nullity:

      Rate-limiting should only affect how quickly a page loads, not whether the page will load or not load.

      It seems like you are encountering a limiter's bug or an unrelated bug.

      OK. Let say a page should be fully loaded in 10 seconds with total size of 100 mb of data. So it takes around 10 seconds if i set 10mbps. So if I set it less than that, it will takes more time to load. Let say I set 1mbps, it should take 100 seconds or if I set 512kbps then it should take around 200 seconds to get fully loaded. What makes me wondering why page like Facebook and YouTube can be loaded (play video, read comments, etc) when my limit is 1mbps but not other pages. Not even landed to that address except YouTube and Facebook. Only these so far is accessible with the limiter. Weird.

      Anyway. Thank you for your respond!

      1 Reply Last reply Reply Quote 0
      • I
        interkrome
        last edited by

        It breaks at ipv6 address. That explained my situation

        2.2.6-RELEASE (amd64)

        1 Reply Last reply Reply Quote 0
        • SamTzuS
          SamTzu
          last edited by

          High priority bug that has broken a key function in pfSense firewall has been unsolved for over a year now.

          No proposals how to fix it. No descriptions on what actually broke, why it broke and what could be the best paths to solving the problem.

          What is going on here? My faith in you is fading. Is this how you usually deal with High priority bugs? Who dares to take responsibility for this?

          Sam

          https://redmine.pfsense.org/issues/4326

          1 Reply Last reply Reply Quote 0
          • K
            killmasta93
            last edited by

            Theres a workaround for squid with limiter  But it breaks NAT reflection :(

            Tutorials:

            https://www.mediafire.com/folder/v329emaz1e9ih/Tutorials

            1 Reply Last reply Reply Quote 0
            • M
              MaxPF
              last edited by

              @SamTzu:

              High priority bug that has broken a key function in pfSense firewall has been unsolved for over a year now.

              No proposals how to fix it. No descriptions on what actually broke, why it broke and what could be the best paths to solving the problem.

              What is going on here? My faith in you is fading. Is this how you usually deal with High priority bugs? Who dares to take responsibility for this?

              Sam

              https://redmine.pfsense.org/issues/4326

              I hear you. I'm eagerly waiting for this and https://redmine.pfsense.org/issues/4405 to be finally addressed so I can start using the traffic shaper again. Hopefully 2.3.2 is going to be it.

              1 Reply Last reply Reply Quote 0
              • SamTzuS
                SamTzu
                last edited by

                Not fixed yet. https://redmine.pfsense.org/issues/4326

                Target version changed from to 2.2.4.
                Done: 0%

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

                  Is there another way to limit the bandwidth on each computer separately? as similar as to Limiter of <traffic shaper="">.
                  PfSense 2.3</traffic>

                  USER ERROR: Replace user and press any key to continue …

                  1 Reply Last reply Reply Quote 0
                  • H
                    Harvy66
                    last edited by

                    Depends on how many computers/devices. HFSC allow up to 15 or 16 queues.

                    1 Reply Last reply Reply Quote 0
                    • N
                      Nullity
                      last edited by

                      @JDvD:

                      Is there another way to limit the bandwidth on each computer separately? as similar as to Limiter of <traffic shaper="">.
                      PfSense 2.3</traffic>

                      If you created an HFSC queue for each IP and assign each queue the same (anything, it just needs to be the same; "1Kbit" for example) link-share bandwidth, and it would work almost exactly like your previous setup with limiters/ipfw.

                      @Harvy66:

                      Depends on how many computers/devices. HFSC allow up to 15 or 16 queues.

                      lol, actually it's 2048 at the moment. Close though…  ::)
                      https://github.com/pfsense/FreeBSD-src/blob/RELENG_2_3_1/sys/contrib/altq/altq/altq_hfsc.h#L53

                      Please correct any obvious misinformation in my posts.
                      -Not a professional; an arrogant ignoramous.

                      1 Reply Last reply Reply Quote 0
                      • H
                        Harvy66
                        last edited by

                        @Nullity:

                        @JDvD:

                        Is there another way to limit the bandwidth on each computer separately? as similar as to Limiter of <traffic shaper="">.
                        PfSense 2.3</traffic>

                        If you created an HFSC queue for each IP and assign each queue the same (anything, it just needs to be the same; "1Kbit" for example) link-share bandwidth, and it would work almost exactly like your previous setup with limiters/ipfw.

                        @Harvy66:

                        Depends on how many computers/devices. HFSC allow up to 15 or 16 queues.

                        lol, actually it's 2048 at the moment. Close though…  ::)
                        https://github.com/pfsense/FreeBSD-src/blob/RELENG_2_3_1/sys/contrib/altq/altq/altq_hfsc.h#L53

                        Whole crap! Nice to know. I read something somewhere that said 16 was used because of computational costs, but maybe that was old or didn't apply to the FreeBSD implementation.

                        1 Reply Last reply Reply Quote 0
                        • N
                          Nullity
                          last edited by

                          @Harvy66:

                          @Nullity:

                          @JDvD:

                          Is there another way to limit the bandwidth on each computer separately? as similar as to Limiter of <traffic shaper="">.
                          PfSense 2.3</traffic>

                          If you created an HFSC queue for each IP and assign each queue the same (anything, it just needs to be the same; "1Kbit" for example) link-share bandwidth, and it would work almost exactly like your previous setup with limiters/ipfw.

                          @Harvy66:

                          Depends on how many computers/devices. HFSC allow up to 15 or 16 queues.

                          lol, actually it's 2048 at the moment. Close though…  ::)
                          https://github.com/pfsense/FreeBSD-src/blob/RELENG_2_3_1/sys/contrib/altq/altq/altq_hfsc.h#L53

                          Whole crap! Nice to know. I read something somewhere that said 16 was used because of computational costs, but maybe that was old or didn't apply to the FreeBSD implementation.

                          I know! FreeBSD defaults to 64. 2048 though… I like how pfSense plays.  ;D

                          I kinda thought it was limited to ~16 because that is the highest priority in ALTQ. Of course, that means nothing in itself.

                          Please correct any obvious misinformation in my posts.
                          -Not a professional; an arrogant ignoramous.

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

                            Hi, thanks Nullity and Harvy66…. this worked. It's not as practical like the limiter but it works too.

                            USER ERROR: Replace user and press any key to continue …

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