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

      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
                              • L
                                lightsquid
                                last edited by

                                @dvserg:

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

                                yes, russian my native language ;)
                                please welcome lightsquid <<>> gmail.com ;)

                                1 Reply Last reply Reply Quote 0
                                • B
                                  bsider
                                  last edited by

                                  Very nice addition to pfsense! Keep on the work :)
                                  p.s. i'm russian too.

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

                                    BIG thanks author lightsquid  :)
                                    ps Ok. I create topic in russian forum.

                                    SquidGuardDoc EN  RU Tutorial
                                    Localization ru_PFSense

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

                                      Has the package been corrected to utilize the pfSense cron config.xml capabilities?

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

                                        @sullrich:

                                        Has the package been corrected to utilize the pfSense cron config.xml capabilities?

                                        ..khm..
                                        You about this?

                                                <modify_system><modifyfilename>/etc/crontab</modifyfilename>
                                        		 <textneeded>*/20       *       *       *       *       root   /usr/bin/perl /usr/local/www/lightsquid/lightparser.pl > /dev/null</textneeded> 
                                        
                                        	 <modifyfilename>/etc/crontab</modifyfilename>
                                        		 <textneeded>0       0       *       *       *       root   /usr/local/sbin/squid -k rotate > /dev/null</textneeded></modify_system> 
                                        

                                        This right?

                                        SquidGuardDoc EN  RU Tutorial
                                        Localization ru_PFSense

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

                                          No.

                                          See tdr_install_cron() from /etc/inc/pfsense-utils.inc on a recent snapshot.

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

                                            Then I do not understand what needs to be done  >:(
                                            I want more detailed guidance

                                            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.