• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
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.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.
  • O
    OpIT GmbH
    last edited by Jan 5, 2023, 3:47 PM

    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
    • S
      stephenw10 Netgate Administrator
      last edited by Jan 5, 2023, 6:28 PM

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

      O 2 Replies Last reply Jan 9, 2023, 7:33 AM Reply Quote 0
      • O
        OpIT GmbH @stephenw10
        last edited by Jan 9, 2023, 7:33 AM

        @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 Jan 9, 2023, 7:37 AM

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

          G 1 Reply Last reply Jan 9, 2023, 7:56 AM Reply Quote 0
          • G
            Gertjan @OpIT GmbH
            last edited by Jan 9, 2023, 7:56 AM

            @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 Jan 9, 2023, 8:57 AM Reply Quote 0
            • O
              OpIT GmbH @Gertjan
              last edited by Jan 9, 2023, 8:57 AM

              @gertjan

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

              G 1 Reply Last reply Jan 9, 2023, 9:18 AM Reply Quote 0
              • G
                Gertjan @OpIT GmbH
                last edited by Gertjan Jan 9, 2023, 9:19 AM Jan 9, 2023, 9:18 AM

                @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 Jan 9, 2023, 10:32 AM Reply Quote 0
                • O
                  OpIT GmbH @Gertjan
                  last edited by Jan 9, 2023, 10:32 AM

                  @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

                  G 1 Reply Last reply Jan 9, 2023, 11:40 AM Reply Quote 0
                  • G
                    Gertjan @OpIT GmbH
                    last edited by Jan 9, 2023, 11:40 AM

                    @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 Jan 10, 2023, 10:15 AM Reply Quote 0
                    • O
                      OpIT GmbH @Gertjan
                      last edited by Jan 10, 2023, 10:15 AM

                      @gertjan

                      OK THX

                      1 Reply Last reply Reply Quote 0
                      1 out of 10
                      • First post
                        1/10
                        Last post
                      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                        This community forum collects and processes your personal information.
                        consent.not_received