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.
    • 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
            • S
              sullrich
              last edited by

              The cron entries need to be added to config.xml now.

              First, download config.xml from a recent snapshot and look how the items look.

              Now, CAREFULLY read that function that I pointed out that adds the items to cron.  The point is, you need to add items to cron in the same fashion that the function I showed you does… The function is an example only.

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

                This files with new cron function (tested on 1.0.1-SNAPSHOT-03-27-2007)
                Cron task's safe setup to config.xml (But i I have to was set new field 'task_name' for safe).
                Now correctly add/delete only my jobs and block adding job's, if some job present in items list

                2 Scott:
                May be need write user's cron-function for safe install cron-jobs to config.xml?
                Or(and) create special 'pkg_cron' part in config.xml?

                lightsquid.inc.txt
                lightsquid.xml.txt

                SquidGuardDoc EN  RU Tutorial
                Localization ru_PFSense

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

                  It needs to write the cron entries on installation and remove them on deinstallation.

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

                    This already realised. I tested success instal/deinstall.

                    SquidGuardDoc EN  RU Tutorial
                    Localization ru_PFSense

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

                      will this be available as a package for pfsense?

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

                        @bsider:

                        will this be available as a package for pfsense?

                        Official package - may be for pfSense 1.2. In last step i create cron shedules for this versions compatible.
                        Manually installation for current version - plz looking  previous sources posting

                        SquidGuardDoc EN  RU Tutorial
                        Localization ru_PFSense

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

                          My new skin's for lightsquid - novosea (blue) and novopf (pf colors)
                          Have 'Home button' - link to pfSense root page from lightsquid pages.
                          –--------
                          Update themes :( - re-archive 'novopf' theme. Now this must worked.
                          Update GUI - added this 2 themes to menu. But this themes must be added manually to '/usr/local/www/lightsquid/tpl', another will used 'base' as default.

                          lightsquid.zip.txt
                          lightsquid_theme.zip.txt

                          SquidGuardDoc EN  RU Tutorial
                          Localization ru_PFSense

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

                            now i'm testing lightsquid too…

                            Dhix Networks
                            Everything Secure

                            http://www.dhix.com.br

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

                              troubles on install .. .can you lend  me lights ?  how can i install it ?

                              Dhix Networks
                              Everything Secure

                              http://www.dhix.com.br

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

                                Looking topic about squidGuard on RU forum part  :)

                                SquidGuardDoc EN  RU Tutorial
                                Localization ru_PFSense

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

                                  i take squidguard.inc and .xml  … a pkg_config.xml and i cant installl .. something is missing ?

                                  do you have an new pkg_confi.xml ???

                                  Dhix Networks
                                  Everything Secure

                                  http://www.dhix.com.br

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

                                    @dhipo:

                                    i take squidguard.inc and .xml  … a pkg_config.xml and i cant installl .. something is missing ?

                                    do you have an new pkg_confi.xml ???

                                    I update new file.
                                    http://diskatel.narod.ru/pfSense/packages/pkg_config.xml
                                    Now contains squidGuard & lightsquid

                                    Download and replace you local pkg_config.xml

                                    SquidGuardDoc EN  RU Tutorial
                                    Localization ru_PFSense

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

                                      As I install the packages squidguard and lightsquid , I do not obtain to find the archive using the command find / -name pkg_config.xml, why  >:(

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

                                        @lluner:

                                        As I install the packages squidguard and lightsquid , I do not obtain to find the archive using the command find / -name pkg_config.xml, why  >:(

                                        Use this way

                                        1\. Need install local xml-rpc. How - pls looking for this topic
                                        http://forum.pfsense.org/index.php/topic,312.0.html
                                        2\. Download pkg_config.xml for this package from
                                        http://diskatel.narod.ru/pfSense/packages/pkg_config.xml
                                        and put them to you xml-rpc (as '/usr/local/www/packages' path). 
                                        If all placed correct - in package list you looking packages list - squidGuard & etc.
                                        3\. Install this package.
                                        

                                        SquidGuardDoc EN  RU Tutorial
                                        Localization ru_PFSense

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

                                          I FOUND the ARCHIVE xmlrpc.php on /usr/local/www, I have that to create the folder /usr/local/www/packages  and

                                          to place these two archives  xmlrpc.php and pkg_config.xml …

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

                                            @lluner:

                                            I FOUND the ARCHIVE xmlrpc.php on /usr/local/www, I have that to create the folder /usr/local/www/packages  and

                                            to place these two archives  xmlrpc.php and pkg_config.xml …

                                            http://forum.pfsense.org/index.php?topic=312.msg16925#msg16925
                                            http://forum.pfsense.org/index.php?topic=312.msg17011#msg17011

                                            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.