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

    LOG CAPTIVE PORTAL "VOUCHER"

    Scheduled Pinned Locked Moved Captive Portal
    7 Posts 4 Posters 3.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.
    • D
      dmajela
      last edited by

      could someone help me?

      Where is stored the logs of capitive-portal by ssh access. Follows the image of the logs in the web page.

      Thank you very much.

      Will be …/var/log..........??????
      ![Screenshot-pfsense.bpinternet - Status: System logs: Portal Auth - Mozilla Firefox.jpg](/public/imported_attachments/1/Screenshot-pfsense.bpinternet - Status: System logs: Portal Auth - Mozilla Firefox.jpg)
      ![Screenshot-pfsense.bpinternet - Status: System logs: Portal Auth - Mozilla Firefox.jpg_thumb](/public/imported_attachments/1/Screenshot-pfsense.bpinternet - Status: System logs: Portal Auth - Mozilla Firefox.jpg_thumb)

      1 Reply Last reply Reply Quote 0
      • W
        wallabybob
        last edited by

        @dmajela:

        Where is stored the logs of capitive-portal by ssh access.

        /var/log/portalauth.log
        Display the file by # clog /var/log/portalauth.log because its not a "straight text file" its a "circular log" file which is of fixed size and holds only the most recent "n" bytes of logging information.

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

          helped … thanks.

          Another issue...could be unlimited?

          I have the squid's logs/lightsquid ... and if someone needs to verify an improper access, would use the voucher, because I have the ip and mac + name, address of the user "registered", when released the voucher for access. I know who made the improper access through it.

          Thanks...

          1 Reply Last reply Reply Quote 0
          • jimpJ
            jimp Rebel Alliance Developer Netgate
            last edited by

            No, those logs cannot be unlimited (currently). If you need to keep them, setup an external syslog server and forward logs there to be held indefinitely.

            The squid package also rotates its logs, just not the same way. Logs aren't kept indefinitely.

            Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

            Need help fast? Netgate Global Support!

            Do not Chat/PM for help!

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

              understood

              Thanks Very much…

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

                i'm using embedded version installed on compact flash. I used cron tab to write log into a file every hour but when i shutdown the system i lost all file. It's possible to write file into compact flash instead of virtual ram disk?

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

                  I´m using a syslog server and….

                  I have all logs the voucher.....

                  Could you try.

                  Thanks

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