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

    Any Change And Save Update Captive Portal Bug

    Scheduled Pinned Locked Moved Captive Portal
    50 Posts 6 Posters 11.5k 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.
    • F
      free4 Rebel Alliance @Gertjan
      last edited by

      @gertjan said in Any Change And Save Update Captive Portal Bug:

      I guess because @free4 is patching against pfsense:master (a futur "dev" version) and we are using 2.4.4-P1 ?

      You are probably right
      I'll have a look into it later

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

        I connected a user "x".
        Then I changed a setting on the captive portal page : like the totally useless "Logout popup window" enabled to disabled, and Save.
        As before, Status => Captive portal showed I was still logged in.
        Inspecting "ipfw table all list" shooed the same thing !! I yes, I was still connected (could surf the net).

        Jan 7 09:08:53 logportalauth 66497 Zone: cpzone1 - Reconfiguring captive portal(cpzone1).
        Jan 7 09:09:27 logportalauth 73286 Zone: cpzone1 - ACCEPT: x, 90:b9:31:77:5e:26, 192.168.2.9
        Jan 7 09:11:01 php-fpm 18906 /services_captiveportal.php: Beginning configuration backup to .https://acb.netgate.com/save
        Jan 7 09:11:07 php-fpm 18906 /services_captiveportal.php: End of configuration backup to https://acb.netgate.com/save (success).
        Jan 7 09:11:07 logportalauth 18906 Zone: cpzone1 - Reconfiguring captive portal(cpzone1).

        My tables with authorized users were still ok ! :

        ipfw table all list
        ...
        --- table(cpzone1_auth_up), set(0) ---
        192.168.2.9/32 90:b9:31:77:5e:26 2090 274 42493 1546848787
        ...
        --- table(cpzone1_auth_down), set(0) ---
        192.168.2.9/32 2091 199 68608 1546848787
        ...
        

        This is looking really good !!

        Btw : I'm using FreeRadius authentication. My test user "x" has a "Amount of Download and Upload Traffic" set to some 10 Mbytes daily. I guess resetting the ipfw entries in tables cpzone1**_auth_up** and cpzone1**_auth_down** and recreating them will imply some loss (values reset), but hey, I can live with that.

        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
        • GertjanG
          Gertjan @streetsfinest
          last edited by Gertjan

          @streetsfinest said in Any Change And Save Update Captive Portal Bug:

          After that i got the same issue as i had before.
          Could it be an issue with custom portal page?

          You didn't "Apply" - see my image.

          After applying, you should see
          0_1546850464011_a55b4676-0aad-47d7-95d2-6efdd6a2d7fa-image.png

          The patch package can patch IF and only if the original files match exacly what diff should find before patching.
          Otherwise it refuses to patch. Better yet : you can't patch.

          So, as I said, take the four files mentioned above from github master before.

          Btw : I use a home made portal page. Works fine. As long as the portal page has all, the pfSense variables and the 'html' syntax is ok, they all work.

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

          S 1 Reply Last reply Reply Quote 0
          • S
            streetsfinest @Gertjan
            last edited by streetsfinest

            @gertjan

            I will try the master files from github.
            But i think it would be better solution if everbody could use the builtin files of the 2.4.4 p1 image.
            When i tried, i did not have the possibilty to click on the "apply button", there was only the "test button" which gave the message that the patch was interrupted. (see the pictures above).

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

              @streetsfinest said in Any Change And Save Update Captive Portal Bug:

              But i think it would be better solution if everbody could use the builtin files of the 2.4.4 p1 image.

              @free4 is aware of that

              @free4 said in Any Change And Save Update Captive Portal Bug:

              I'll have a look into it later

              But hey, this is "patching" which means : you have to know something about files and so.
              As said above : ones you have the master files, you can test.

              And be careful : testing means : you'll notice that an issue disappears. What you also might notice : new issues - and these are completely unknown.

              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
              • GertjanG
                Gertjan
                last edited by

                2.4.4-P2 is out which means that this patch applies direct : the "Test" doesn't show warnings anymore.

                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
                • N
                  netx34
                  last edited by

                  i have also problem with my pfsense2.3.5_2
                  how can i love the problem sir ?0_1552051474708_Screenshot_7.png

                  GrimsonG 1 Reply Last reply Reply Quote 0
                  • GrimsonG
                    Grimson Banned @netx34
                    last edited by

                    @netx34 said in Any Change And Save Update Captive Portal Bug:

                    i have also problem with my pfsense2.3.5_2

                    First step: UPDATE to a currently supported version (2.4.4p2).

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

                      @Grimson currently im in

                      0_1552055207799_Screenshot_14.png

                      can i update to the latest2.4.4p2 ? and all the setting and captive portal / wifi user client

                      1 Reply Last reply Reply Quote 0
                      • GrimsonG
                        Grimson Banned
                        last edited by

                        https://docs.netgate.com/pfsense/en/latest/install/upgrade-guide.html

                        N 1 Reply Last reply Reply Quote 0
                        • N
                          netx34 @Grimson
                          last edited by

                          @grimson thank you sir,

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