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

    Bandwidth restriction on Captive Portal

    Scheduled Pinned Locked Moved Plus 23.01 Development Snapshots (Retired)
    10 Posts 3 Posters 1.0k 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.
    • O
      OpIT GmbH
      last edited by

      Is this Bug still not fixed? This is a Problem when you enable Bandwidth restriction on Captive Portal...

      • $pipeno = captiveportal_get_next_dn_ruleno('auth', 2000, 64500, true);
      • $pipeno = captiveportal_get_next_dn_ruleno('auth', 2000, 64500, false);
      1 Reply Last reply Reply Quote 0
      • stephenw10S
        stephenw10 Netgate Administrator
        last edited by

        You mean this? https://redmine.pfsense.org/issues/13488

        O 2 Replies Last reply Reply Quote 0
        • O
          OpIT GmbH @stephenw10
          last edited by

          @stephenw10

          Yes...

          Iam using this Patch in 25.0.5. Could this maybe generate the Problem with i Postet here?
          https://forum.netgate.com/topic/176647/kern-ipc-maxsockets-limit-reached/10?_=1672841686125

          1 Reply Last reply Reply Quote 0
          • O
            OpIT GmbH @stephenw10
            last edited by

            @stephenw10
            and is there a Patch to fix this for Version 25.0.5?

            GertjanG 1 Reply Last reply Reply Quote 0
            • GertjanG
              Gertjan @OpIT GmbH
              last edited by

              @opit-gmbh said in Bandwidth restriction on Captive Portal:

              and is there a Patch to fix this for Version 25.0.5?

              Can't be.

              This patch :

              @stephenw10 said in Bandwidth restriction on Captive Portal:

              You mean this? https://redmine.pfsense.org/issues/13488

              can be retrofitted into 22.05, if that is the version you have.

              No "help me" PM's please. Use the forum, the community will thank you.
              Edit : and where are the logs ??

              O 1 Reply Last reply Reply Quote 0
              • O
                OpIT GmbH @Gertjan
                last edited by

                @gertjan

                you mean this?
                https://redmine.pfsense.org/projects/pfsense/repository/1/revisions/c0f216b9b1b6455afc96cb37e6319a23bf28a98d/diff/src/usr/local/captiveportal/index.php

                GertjanG 1 Reply Last reply Reply Quote 0
                • GertjanG
                  Gertjan @OpIT GmbH
                  last edited by Gertjan

                  @opit-gmbh said in Bandwidth restriction on Captive Portal:

                  c0f216b9b1b6455afc96cb37e6319a23bf28a98d

                  Yep.

                  f281dec2-1769-48af-9bb3-a7bd9d65eb35-image.png

                  Save.
                  Apply.
                  Done.

                  Btw : pipes are now created for each portal user.
                  I did not use/test a bandwidth for each user, though.

                  No "help me" PM's please. Use the forum, the community will thank you.
                  Edit : and where are the logs ??

                  O 1 Reply Last reply Reply Quote 0
                  • O
                    OpIT GmbH @Gertjan
                    last edited by

                    @gertjan

                    Ahh OK, i see this is fixed in Beta

                    What i Patched before

                    • $pipeno = captiveportal_get_next_dn_ruleno('auth', 2000, 64500, true);
                    • $pipeno = captiveportal_get_next_dn_ruleno('auth', 2000, 64500, false);

                    Has changed with this Patch, so i use this now for my other Netgate's with Stable version

                    GertjanG 1 Reply Last reply Reply Quote 0
                    • GertjanG
                      Gertjan @OpIT GmbH
                      last edited by

                      @opit-gmbh said in Bandwidth restriction on Captive Portal:

                      What i Patched before

                      $pipeno = captiveportal_get_next_dn_ruleno('auth', 2000, 64500, true);

                      $pipeno = captiveportal_get_next_dn_ruleno('auth', 2000, 64500, false);

                      Ah, you've been reading https://forum.netgate.com/topic/174489/22-05-cp-clients-have-connectivity-issues-after-x-amount-of-time/25 I guess.

                      When applying patches posted on the forum, stay on the subject, even if "it works" for you.
                      Far better info and solutions is nearly always available on redmine. Like this patch.

                      Btw : it was not only a change 'false' to true' (or the other way around), there were more things to change.

                      No "help me" PM's please. Use the forum, the community will thank you.
                      Edit : and where are the logs ??

                      O 1 Reply Last reply Reply Quote 0
                      • O
                        OpIT GmbH @Gertjan
                        last edited by

                        @gertjan

                        OK THX

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