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

After upgrading to 22.05, Traffic quota doesnt work

Scheduled Pinned Locked Moved Captive Portal
10 Posts 3 Posters 1.2k Views 3 Watching
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.
  • G Offline
    giyahban
    last edited by Dec 12, 2022, 4:47 PM

    Hi,
    I had a working pfsense CE 2.5.2 with a captive protal and freeradius as accounting backend everything works as expected until recently I tried to upgrade to pfsense plus 22.05 now the quota (maximum traffic per user that supposed to be read from freeradius config) doesnt apply.
    Back then when a user authenticated through captive portal there was a file created in /var/log/radacct/datacounter/daily(depends on specified period)/used-octets-username-xxxxxxxx
    this file updated when the client used traffic but now it always show 0.

    Thanks in advance

    G 1 Reply Last reply Dec 13, 2022, 8:18 AM Reply Quote 0
    • F Offline
      FSC830
      last edited by Dec 12, 2022, 6:32 PM

      Did you see this thread? Seems to be the same issue.

      Regards

      G 1 Reply Last reply Dec 12, 2022, 7:53 PM Reply Quote 1
      • G Offline
        giyahban @FSC830
        last edited by Dec 12, 2022, 7:53 PM

        @fsc830
        I didnt see that but after you suggest it I applied the patch and problem still exists!
        Dont know what to do

        1 Reply Last reply Reply Quote 0
        • F Offline
          FSC830
          last edited by Dec 13, 2022, 7:25 AM

          The patch was made for pfSensePlus, no idea, if it fixes the issue at CE edition too.
          Did you check with the other commands mentioned in thst thread?

          Regards

          G 1 Reply Last reply Dec 13, 2022, 8:21 AM Reply Quote 0
          • G Online
            Gertjan @giyahban
            last edited by Dec 13, 2022, 8:18 AM

            @giyahban said in After upgrading to 22.05, Traffic quota doesnt work:

            upgrade to pfsense plus 22.05 now the quota (maximum traffic per user that supposed to be read from freeradius config) doesnt apply.

            As @FSC830 said :

            @fsc830 said in After upgrading to 22.05, Traffic quota doesnt work:

            Did you see this thread?

            Read, do your own testing, and do what's been said here :

            FreeRadius and quotas, doesn't work since 22.05

            I'm using 22.05 + FreeRadius right now, with a captive portal, and quotas are working for me.

            @fsc830 said in After upgrading to 22.05, Traffic quota doesnt work:

            CE edition

            The CE edition (2.6.0) uses the ipfw 'old' captive portal firewall.
            22.05 switches over to an adapted version of pf (and ditched ipfw) : pf is now also "MAC aware".

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

            1 Reply Last reply Reply Quote 0
            • G Offline
              giyahban @FSC830
              last edited by Dec 13, 2022, 8:21 AM

              @fsc830
              Im using pfsense+ 22.05
              Apperantly should revert back to 2.6.0

              G 1 Reply Last reply Dec 13, 2022, 8:22 AM Reply Quote 0
              • G Online
                Gertjan @giyahban
                last edited by Dec 13, 2022, 8:22 AM

                @giyahban

                If you're able to do what been explained in the thread mentioned above, 22.05 works fine.

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

                G 1 Reply Last reply Dec 13, 2022, 8:26 AM Reply Quote 0
                • G Offline
                  giyahban @Gertjan
                  last edited by Dec 13, 2022, 8:26 AM

                  @gertjan
                  Sorry Im a little lost
                  this is the first time Im patching pfsense.
                  Beside using the patch mentioned in the thread should I do something more ?

                  Regards

                  G 1 Reply Last reply Dec 13, 2022, 8:50 AM Reply Quote 0
                  • F Offline
                    FSC830
                    last edited by FSC830 Dec 13, 2022, 8:31 AM Dec 13, 2022, 8:31 AM

                    @giyahban : Then all should be fine. The patch should fix it.
                    I misunderstood the "I tried to upgrade..." as "upgrade was not successfull" and as a outcome the quota issue occurs.

                    Regards

                    1 Reply Last reply Reply Quote 0
                    • G Online
                      Gertjan @giyahban
                      last edited by Gertjan Dec 13, 2022, 8:51 AM Dec 13, 2022, 8:50 AM

                      @giyahban

                      Read also https://forum.netgate.com/topic/174489/22-05-cp-clients-have-connectivity-issues-after-x-amount-of-time/44 ( the entire thread ).

                      The issue was : every portal users should have its own "pair of pipes". This isn't the case on 22.05, they wind up all sharing the same first pipe. When he first user gets logged out, the pipe is destroyed, the pipe every other user is also using : oops situation guranteed.
                      Solution is in the thread.

                      Btw : I get it : install 22.05 and now the portal is somewhat broken (depending your needs). You need to 'patch' yourself some files to make it work again ....

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

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