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

    Captive portal ip2name component for lightsquid

    Scheduled Pinned Locked Moved pfSense Packages
    29 Posts 15 Posters 19.6k 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.
    • P
      PetitOursonDeLu
      last edited by

      Yes! yes! yes! Thank you very much paulmr2, it's OK!

      I love Pfsense :)

      1 Reply Last reply Reply Quote 0
      • F
        Freak
        last edited by

        Hello,

        At first of all thank you for this work!

        I am new on pfSene!
        I want to install this component on my system but for the moment I only have setup the captive portal on pfSense.

        If I understand it right, before install the ip2name component I have to install and setup Squid in non-transparent mode (because transparent mode doesn't work with captive portal?) and than I have to install and setup the Lightsquid package?
        Is it right?

        Thank you! And sorry for my English I am french too.

        1 Reply Last reply Reply Quote 0
        • O
          Offliner
          last edited by

          i used pf 1.2.3 squid(transparent mode) squid guard Captive Portal and Lightsquid and i want take a repor from the lightsquid ip2name captive portal login username but i cant make a report

          how can i do it??

          ps im sorry for my eng.

          En güzel nota FA

          1 Reply Last reply Reply Quote 0
          • D
            daniele_dll
            last edited by

            Hi,

            really, i didn't remember the right dependency to let this code to work: it needs Date::Parse library to works.

            1 Reply Last reply Reply Quote 0
            • P
              PetitOursonDeLu
              last edited by

              Hi, sorry, I'm french but I have a solution for IP2name.
              It's avaible here (it's my website): www.adrienbourget.com/wp-content/uploads/2010/05/ip2name.zip

              By

              1 Reply Last reply Reply Quote 0
              • A
                Anderstend
                last edited by

                Hello,

                i found your solution of the portalauth for lightsquid… Thank you first for that, because the idee is very good!!!

                But i have a problem, after rebooting pfsense all the traffic is related to the ip again... if i look in the report-folder of lightsquid the files with the usernames are already in...

                i dont understand why lightsquid only shows the ip after rebooting and relates the traffic of the the user to the ip automatically...

                Do you have a solution for that?

                1 Reply Last reply Reply Quote 0
                • P
                  PetitOursonDeLu
                  last edited by

                  Hello,
                  Sorry but I have no solution :(
                  I'm no expert, just advanced user …
                  Sorry, but if you find the solution, I would like to know.

                  Thank you.
                  Adrien

                  1 Reply Last reply Reply Quote 0
                  • A
                    Anderstend
                    last edited by

                    @PetitOursonDeLu:

                    Hello,
                    Sorry but I have no solution :(
                    I'm no expert, just advanced user …
                    Sorry, but if you find the solution, I would like to know.

                    Thank you.
                    Adrien

                    Ok, i will try… but i hoped you have a tip for me why this happens....

                    1 Reply Last reply Reply Quote 0
                    • M
                      marcelofmatos
                      last edited by

                      Hi! Thanks for all in this topic! It's solved my problem :)

                      I add a line to change text USER LOGIN or MACHINE LOGIN for LOGIN, to keep the format of the old log. I don't know much about perl and regular expressions, but it was enough to work for me

                      The modified script is attached.
                      Script tested on pfSense 1.2.3.

                      Also I installed the package p5-TimeDate to resolve problem to use Date::Parse on script

                      pkg_add -r p5-TimeDate
                      

                      ip2name.portalauth.txt

                      1 Reply Last reply Reply Quote 0
                      • K
                        KingJulien
                        last edited by

                        Hi,

                        is there any possiblity to change the script to log the vouchers instead the users?

                        1 Reply Last reply Reply Quote 0
                        • _
                          _igor_
                          last edited by

                          Found that thread from 2009, but names in lightsquid still doesn't work today. Is there any plans to get this working? There are floating some hints around, but none of them works.

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

                            Hi,

                            for me it works with "IP" (resolves IP-addresses) and with "DNS" which resolves the FQDN like Host1.domain.
                            Do not know, if this works with vouchers but I don't think so.

                            I hope this is what your question is pointing to ?

                            1 Reply Last reply Reply Quote 0
                            • _
                              _igor_
                              last edited by

                              from dvserg this:```
                              Thanks. I will place this in to package with next update

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