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

Integration between captive portal and squid. Usernames are not showing in access.log file

Scheduled Pinned Locked Moved Cache/Proxy
12 Posts 6 Posters 1.2k 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.
  • M
    mariojsantos
    last edited by Nov 4, 2019, 7:42 PM

    Hi everyone. I am preparing a pfsense server to manage the wifi networks at my job. It already working using squid for transparent proxy/SSL filtering + squidguard and authentication through captive portal on three diferent networks (a diferent authentication method on each one). The only thing isn't working is the captive portal usernames are not showing in the access.log file, just a "-" on place. Thus, the lightsquid also not showing the users in its reports. I appreciate any help.
    Some possibly useful informations about my environment:

    • Pfsense 2.4.4-RELEASE-p3 (amd64)
    • Squid 3.5.27_3
    • SquidGuard 1.16.18_2
    • Lightsquid 3.0.6_6

    Squid config screenshots attached.

    Squidconf1.png
    Squidconf2.png
    Squidconf3.png
    Squidconf4.png

    Firewall allowed ports on local interfaces: 53, 80, 443;

    1 Reply Last reply Reply Quote 0
    • A
      alpax8
      last edited by Sep 7, 2020, 9:03 AM

      hi. have you found the solution to this problem. pfsense was already setup when i was hired to this small business. at first the i was able to view usernames in lightsquid but after an update of pfsense and the packages. lightsquid displays IP address instead of the usernames from captive portal. hope you got this solved already.

      1 Reply Last reply Reply Quote 0
      • P
        pdaillet
        last edited by Sep 9, 2020, 8:50 AM

        Hi Alpax8,
        I've probably the same problem as yours. I made the upgrade of the packages (Squid, SquidGuard, Lightsquid) recently (the last week).
        My environment version :
        Squid : 4.10
        Squidguard : squidguard-1.4_15

        Are you in the same version ?

        I tried into a new environment in order to compare and it's exactly the same problem.

        I'll try to rollback the Squid version of my test environment and give you more informations it is working successfully.

        1 Reply Last reply Reply Quote 1
        • A
          alpax8
          last edited by Sep 10, 2020, 5:08 AM

          Squid : 0.4.44_30
          SquidGuard: 1.16.18_7
          LightSquid: 3.0.6_6

          I tried going back but didn't fix the problem. I also tried edit the lightsquid.cfg and all but without success. hope you got yours fix.

          1 Reply Last reply Reply Quote 0
          • V
            viktor_g Netgate
            last edited by Sep 17, 2020, 8:07 AM

            Redmine issue created: https://redmine.pfsense.org/issues/10905

            1 Reply Last reply Reply Quote 2
            • N
              nico1234
              last edited by Oct 23, 2020, 5:01 PM

              I have the same problem. Someone found the solution ?

              V 1 Reply Last reply Oct 24, 2020, 5:22 AM Reply Quote 0
              • V
                viktor_g Netgate @nico1234
                last edited by Oct 24, 2020, 5:22 AM

                @nico1234 Should be fixed in https://redmine.pfsense.org/issues/10749
                Can you retest it with the latest Squid pkg?

                1 Reply Last reply Reply Quote 1
                • V
                  viktor_g Netgate
                  last edited by Oct 24, 2020, 10:05 AM

                  resolved:
                  Screenshot from 2020-10-24 13-04-48.png

                  A 1 Reply Last reply Oct 25, 2020, 11:17 PM Reply Quote 0
                  • A
                    alpax8 @viktor_g
                    last edited by Oct 25, 2020, 11:17 PM

                    @viktor_g im glad its fixed. but i cannot follow through on how to do it. would you please give me more steps and guide on how to do it. thanks.

                    1 Reply Last reply Reply Quote 0
                    • N
                      nico1234
                      last edited by Oct 27, 2020, 3:06 PM

                      Thank you for the answer.
                      Lightsquid log with the names.
                      Now squid crash after a few minutes:
                      Date-Time Message
                      27.10.2020 15:56:21 assertion failed: Write.cc:38: "fd_table [conn-> fd] .flags.open";
                      27.10.2020 15:56:21 helperDispatch: Helper check_cp # Hlpr8 has crashed

                      T 1 Reply Last reply Nov 6, 2020, 11:32 AM Reply Quote 0
                      • T
                        thiagocarlossilverio @nico1234
                        last edited by Nov 6, 2020, 11:32 AM

                        @nico1234 said in Integration between captive portal and squid. Usernames are not showing in access.log file:

                        ble [conn-> fd] .flags.ope

                        Olá @nico1234

                        Você conseguiu solucionar seu problema?

                        Estou com o mesmo problema:

                        8b23c327-bd54-4491-89eb-7d8d06518b26-image.png

                        5ce66757-64ea-40cf-94a1-72a58abb00b7-image.png

                        a2c8f6ef-bb4a-464c-bf8e-b6825e81aaf7-image.png

                        1 Reply Last reply Reply Quote 0
                        • N
                          nico1234
                          last edited by Nov 19, 2020, 7:56 AM

                          @thiagocarlossilverio said in Integration between captive portal and squid. Usernames are not showing in access.log file:

                          Você conseguiu solucionar seu problema?
                          Estou com o mesmo problema:

                          not yet.

                          1 Reply Last reply Reply Quote 0
                          • First post
                            Last post
                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                            [[user:consent.lead]]
                            [[user:consent.not_received]]