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

    Lightsquid and Lighttpd

    Scheduled Pinned Locked Moved pfSense Packages
    55 Posts 10 Posters 40.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.
    • D
      dvserg
      last edited by

      @sullrich:

      Sorry, this is not supported.

      Yes, i know. But may be anybody hav this twin in FreeBSD.

      SquidGuardDoc EN  RU Tutorial
      Localization ru_PFSense

      1 Reply Last reply Reply Quote 0
      • T
        tdi
        last edited by

        Just successfully installed lightsquid on lighttpd (out of the box :)

        1. pkg_add -r lightsquid
        2. modify /usr/local/www/lightsquid/lightsquid.cfg file (make sure paths are OK)
        3. test run lightparser.pl
        4. check http(s)://yourbox:port/lightsquid/index.cgi
        5. add /etc/crontab job - */55    *      *      *      *      root    /usr/local/www/lightsquid/lightparser.pl today

        Still have to make lighttpd ask for auth on index.cgi.

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

          Thx
          May be this to be pfSense package? :D

          SquidGuardDoc EN  RU Tutorial
          Localization ru_PFSense

          1 Reply Last reply Reply Quote 0
          • T
            tdi
            last edited by

            Maybe, I give my vote to it :)

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

              @tdi:

              Maybe, I give my vote to it :)

              Yahooo - all fine worked
              Last version 1.7.1 but i don't find latest Ric skin - only for 1.5.

              PS pfPackage for this may be simplest I already write template ;D

              SquidGuardDoc EN  RU Tutorial
              Localization ru_PFSense

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

                So – I was thinking of doing the same thing, maintaining a package for PFSense that would be for squid log analysis.  Are you going to do this or???

                1 Reply Last reply Reply Quote 0
                • T
                  tdi
                  last edited by

                  Lightsquid as a pfSense package is a very good (useful) idea.

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

                    Yess - cron worked

                    #crontab -e
                    <esc>I
                    */20 * * * * /usr/local/www/lightsquid/lightparser.pl <enter><esc>:wq</esc></enter></esc>

                    SquidGuardDoc EN  RU Tutorial
                    Localization ru_PFSense

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

                      looking later

                      SquidGuardDoc EN  RU Tutorial
                      Localization ru_PFSense

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

                        Pre-test scrinshot. What options do i need to add more?
                        –--------
                        Updated screenshot and gui files for test.
                        PS cron temporary not activated - only make cfg

                        lightsquid.jpg_thumb
                        lightsquid.jpg

                        SquidGuardDoc EN  RU Tutorial
                        Localization ru_PFSense

                        1 Reply Last reply Reply Quote 0
                        • H
                          hoba
                          last edited by

                          Maybe uupdate interval for the cronjob and an "process logs now" button to kick off log püarsing to have the latest info when viewing.

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

                            @hoba:

                            Maybe uupdate interval for the cronjob and an "process logs now" button to kick off log püarsing to have the latest info when viewing.

                            Thx
                            "Process Logs now" Button - good idea  :D
                            And may be add "Rotate Squid Log" cron job - where squid  developers not inserted this future to self package?

                            SquidGuardDoc EN  RU Tutorial
                            Localization ru_PFSense

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

                              Look up gui files for test
                              PS: it's not fo install - only test with alrady installed Lightsquid
                              PS1: cron managment temporary disabled

                              SquidGuardDoc EN  RU Tutorial
                              Localization ru_PFSense

                              1 Reply Last reply Reply Quote 0
                              • L
                                lightsquid
                                last edited by

                                @dvserg:

                                Yess - cron worked

                                #crontab -e
                                <esc>I
                                */20 * * * * /usr/local/www/lightsquid/lightparser.pl <enter><esc>:wq

                                i VERY recomend

                                #crontab -e
                                <esc>I
                                */20 * * * * /usr/local/www/lightsquid/lightparser.pl today <enter><esc>:wq</esc></enter></esc></esc></enter></esc>

                                1 Reply Last reply Reply Quote 0
                                • L
                                  lightsquid
                                  last edited by

                                  @dvserg:

                                  Last version 1.7.1 but i don't find latest Ric skin - only for 1.5.

                                  PS pfPackage for this may be simplest I already write template ;D

                                  unfortunately as you say RIC template OUTDATE
                                  and now not support ALL features
                                  i not recomend to use it ;(

                                  if you have own template please send me, i add it in next release ;)

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

                                    I not found template ric for 1.7.1
                                    But i change manualy ric versions in his modules to current (1.7.1) - and all ok  :P
                                    2 week active test - nothing any unsupported futures  :)
                                    May be this insurance by developer?
                                    –-------
                                    Thx for test crontab - i work with them 1 week - all passed.
                                    Now make installation package part (may be need 2-3 days)

                                    SquidGuardDoc EN  RU Tutorial
                                    Localization ru_PFSense

                                    1 Reply Last reply Reply Quote 0
                                    • S
                                      sullrich
                                      last edited by

                                      The package needs to populate the crontab entries in config.xml that the recent snapshots support.

                                      If we can get this fixed I will consider adding this as a package for 1.2.

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

                                        Sources for installation test
                                        Plz test this.
                                        –-----------
                                        Added buttons 'Reresh now' and 'Refresh full' for background refreshing of data

                                        'Refresh full' function scan to 100 rotated access.log files and update that.
                                        But all jobs start together  :( Have any way for queue command's? (may be pl script?)

                                        lightsquid.xml.txt
                                        pkg_config.xml.txt
                                        lightsquid.inc.txt

                                        SquidGuardDoc EN  RU Tutorial
                                        Localization ru_PFSense

                                        1 Reply Last reply Reply Quote 0
                                        • L
                                          lightsquid
                                          last edited by

                                          @dvserg:

                                          I not found template ric for 1.7.1
                                          But i change manualy ric versions in his modules to current (1.7.1) - and all ok  :P
                                          2 week active test - nothing any unsupported futures  :)
                                          May be this insurance by developer?
                                          –-------
                                          Thx for test crontab - i work with them 1 week - all passed.
                                          Now make installation package part (may be need 2-3 days)

                                          as author i say, RIC template outdated ;)
                                          some new features not supported in RIC template ;)

                                          if you make package, i recomend you not use RIC templete

                                          all features in ric - work fine, but new doesn't exist in it ;)

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

                                            In this package Ric not installed Only Base and text
                                            ps Can you speek on russian?

                                            SquidGuardDoc EN  RU Tutorial
                                            Localization ru_PFSense

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