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

    Lightsquid package Test

    Scheduled Pinned Locked Moved pfSense Packages
    70 Posts 19 Posters 70.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.
    • S
      sullrich
      last edited by

      Great work.  I am ready to offer a commit to dvserg so that he can start taking care of these packages and get them added.

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

        It would be interesting to see the Oversize Config flag
        at the Webinterface on Configuration Page.

        Curently ist just reporting all Users with mor than 10MB as
        Oversized:

        "Users who exceed 10.0 M bytes, per user quota"

        Can you tell us in which config file I can change this?

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

          inconfig '/usr/local/etc/lightsquid/lightsquid.cfg' see variable

          #user maximum size per day limit (oversize)
          $perusertrafficlimit = 1010241024;

          but this change to firts webgui change.
          For forever change see and modify '/usr/local/etc/lightsquid/lightsquid.cfg.dist' (webgui take this as source)

          This option used only for reporting, but nothing to limit user quota
          Do you suggest include this option to the gui?

          SquidGuardDoc EN  RU Tutorial
          Localization ru_PFSense

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

            Even with no quota functionality it would be nice
            to be handled over the gui.

            Just for seeing who got traffic over a specific
            value in the report.

            Maybe you add it to the gui with the next
            release. Would be nice.

            Thanks so far and thit is an ecelent pakage.
            Maybe I spend some time for an german lang file
            in the next weeks to submit it to you.

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

              Now i proccessing test of quote gui. Planing update on begining next week.
              About german lang

              • if this for gui, then need wite 1.3 release pfSense with multilang support
              • if for Lightsquid package - then sorry, i'm not author this, i only writer GUI and creator 2 templates. Author Sergey Erokhin http://lightsquid.sf.net, (but pls send me you file)

              SquidGuardDoc EN  RU Tutorial
              Localization ru_PFSense

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

                How add new themes
                Download http://diskatel.narod.ru/pfSense/packages/lightsquid_theme.zip
                Unpack and move 2 catalog's to '/usr/local/www/lightsquid/tpl'
                In gui this 2 themes now present

                SquidGuardDoc EN  RU Tutorial
                Localization ru_PFSense

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

                  Updated installation new themes with transition to 'main report page' and pfSense GUI

                  SquidGuardDoc EN  RU Tutorial
                  Localization ru_PFSense

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

                    hello, after last upgrade pf package stop working for me, I tried to reinstall package but reistall command stops after a while and nothing happned…

                    Removing package…
                    Loading package configuration lightsquid.xml...
                    Loading package instructions...

                    I do not know how to repair it…
                    ???

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

                      @mbedyn:

                      hello, after last upgrade pf package stop working for me, I tried to reinstall package but reistall command stops after a while and nothing happned…

                      Removing package…
                      Loading package configuration lightsquid.xml...
                      Loading package instructions...

                      I do not know how to repair it…
                      ???

                      Looking bottom page - any messages exists?

                      SquidGuardDoc EN  RU Tutorial
                      Localization ru_PFSense

                      1 Reply Last reply Reply Quote 0
                      • R
                        rafael.cardoso
                        last edited by

                        hi dvserg, thanks for great job, one question only, about logs, you have some plan to clear logs or what? like after some months clear olders, something that, and a big thank for this great addon for pfsense!

                        Rafael

                        Respect is Everything!

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

                          @rafael.cardoso:

                          hi dvserg, thanks for great job, one question only, about logs, you have some plan to clear logs or what? like after some months clear olders, something that, and a big thank for this great addon for pfsense!
                          Rafael

                          GUI logs have fix size - 500 strings(if i have remeber) This isn't big size, but if this need - i can add option 'enable log', what 'if disabled' will empty log file (or delete - on you selection).

                          And also you can setup 'rotate Squid log'. It depending on the number of users You must define rotation period. Squid have 10 rotating files 0>1>2>3>…>9 Current file, where rotating, maked 0, 0 maked 1 .. and all others shift to up. If you setup monthly rotation, then will have logs with last 10 month. If weekly - have statistic with last 10 week.

                          Lightsquid not clearing his DB statistic, but this not need (I have not seen such issues )  
                          You comment's?

                          SquidGuardDoc EN  RU Tutorial
                          Localization ru_PFSense

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

                            @dvserg:

                            Looking bottom page - any messages exists?

                            You are right… there is a message at bottom

                            Warning: delete_package(lightsquid.inc): failed to open stream: No such file or directory in /etc/inc/pkg-utils.inc on line 728 Fatal error: delete_package(): Failed opening required 'lightsquid.inc' (include_path='.:/etc/inc:/usr/local/www:/usr/local/captiveportal:/usr/local/pkg') in /etc/inc/pkg-utils.inc on line 728

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

                              Deleted pkg gui files 'lightsquid.xml' and 'lightsquid.inc'
                              May be because of  unchancy installation
                              Need manually put this to 'usr/local/pkg' directory and try once more.
                              May be need try different deinstall and them install procedure (not reinstall)

                              ps I don't test this on captive portal, but nothing 'magic' in package not presented.

                              SquidGuardDoc EN  RU Tutorial
                              Localization ru_PFSense

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

                                With deinstall i got the same message… I do not use captive...??
                                with reinstall GUI components i got

                                Fatal error: Call to undefined function: lightsquid_deinstall() in /etc/inc/pkg-utils.inc(498) : eval()'d code on line 1

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

                                  I can't say how package work with captive portal - need test. But you messages mean what broken or deleted .xml and .inc files of package. Did you plasing this files to '/usr/local/pkg/' catalog before try deleting? (need manually download from pfSense site
                                  http://www.pfsense.com/packages/config/lightsquid/lightsquid.inc
                                  http://www.pfsense.com/packages/config/lightsquid/lightsquid.xml)

                                  SquidGuardDoc EN  RU Tutorial
                                  Localization ru_PFSense

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

                                    hello
                                    I have put these files into the /usr/local/pkg
                                    Package works again but it seems to do not call crontab jobs for refresh. I have setting sheduler to refresh every 24 hour

                                    crontab file has proper entries, but nothing happend…
                                    Problems with theese starts just after I upgraded from 5-29 snapshot to 6-28.

                                    crontab

                                    0      */24    *      *      *      root    /usr/bin/perl /usr/local/www/lightsquid/lightparser.pl today
                                    0      0      */30    *      *      root    /usr/local/etc/squid /usr/local/sbin/squid -k rotate > /dev/null

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

                                      @mbedyn:

                                      hello
                                      I have put these files into the /usr/local/pkg
                                      Package works again but it seems to do not call crontab jobs for refresh. I have setting sheduler to refresh every 24 hour

                                      crontab file has proper entries, but nothing happend…
                                      Problems with theese starts just after I upgraded from 5-29 snapshot to 6-28.

                                      crontab

                                      0       */24    *       *       *       root    /usr/bin/perl /usr/local/www/lightsquid/lightparser.pl today
                                      0       0       */30    *       *       root    /usr/local/etc/squid /usr/local/sbin/squid -k rotate > /dev/null

                                      Pls test short time period (hourly for example)

                                      SquidGuardDoc EN  RU Tutorial
                                      Localization ru_PFSense

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

                                        hello
                                        I have done some tests.. and shortest periods refresh correctly…
                                        :-\

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

                                          @mbedyn:

                                          hello
                                          I have done some tests.. and shortest periods refresh correctly…
                                          :-\

                                          Fixed updateR 24h and 30 min options error.
                                          Please test.

                                          SquidGuardDoc EN  RU Tutorial
                                          Localization ru_PFSense

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

                                            I would like to, but I do not know how to reinstall the package… As I mentioned before, I have got errors when trying to reinstall the package..  ???

                                            I repaired package putting manually inc and xml files into /usr/local/pkg.

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