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

                  I made the following steps :

                  * Modify /etc/inc/globals.inc and change:

                  "xmlrpcbaseurl" => "my ip pfsense",
                      "xmlrpcpath" => "/usr/local/www/packages/",

                  copy pkg_config.xml and xmlrpc.php for diretory /usr/local/www/packages/

                  error browser System: Package Manager

                  Unable to retrieve package info from my ip pfsense . Cached data will be used.

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

                    "xmlrpcbaseurl" => "my ip pfsense",
                        "xmlrpcpath" => "/usr/local/www/packages/",
                    

                    No, only 'xmlrpcbaseurl' !

                    Return all back
                        "xmlrpcbaseurl" => "www.pfsense.com",
                        "xmlrpcpath" => "/pfSense/xmlrpc.php",

                    and in down page before '?>' line write
                    $g["xmlrpcbaseurl"]="127.0.0.1";
                    it's all in globals.inc

                    
                    ...
                    /* IP TOS flags */
                    
                    $iptos = array("lowdelay", "throughput", "reliability", "congestion");
                    
                    /* TCP flags */
                    $tcpflags = array("syn", "ack", "fin", "rst", "psh", "urg");
                    
                    $g["xmlrpcbaseurl"]="127.0.0.1";
                    ?>
                    

                    Also must be installed all need rpcxml files to '/usr/local/www/pfSense' and inserted pkg_config.xml to '/usr/local/www/packages'

                    SquidGuardDoc EN  RU Tutorial
                    Localization ru_PFSense

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

                      where I can find these archives, I am all the archives in such a way *.inc as *.xml …

                      thanks reply messages

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

                        It's full '/usr/local/www/pfSense' folder content
                        Unpack & enjoy  :)

                        pfSense.zip.txt

                        SquidGuardDoc EN  RU Tutorial
                        Localization ru_PFSense

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

                          PROBLEM ARCHIVES PFSENSE.ZIP

                          inflating: pfSense/PEAR.inc         bad CRC f20b89ee  (should be 51fbbdcf)
                          file #4:  bad zipfile offset (local header sig):  8523

                          my globals.php

                          /* $Id: globals.inc,v 1.40.2.16 2007/02/27 20:45:31 sullrich Exp $ /
                          /

                              globals.inc
                              part of pfSense (www.pfsense.com)
                              Copyright (C) 2004-2006 Scott Ullrich

                          Originally Part of m0n0wall
                              Copyright (C) 2003-2004 Manuel Kasper mk@neon1.net.
                              All rights reserved.

                          Redistribution and use in source and binary forms, with or without
                              modification, are permitted provided that the following conditions are met:

                          1. Redistributions of source code must retain the above copyright notice,
                                this list of conditions and the following disclaimer.

                          2. Redistributions in binary form must reproduce the above copyright
                                notice, this list of conditions and the following disclaimer in the
                                documentation and/or other materials provided with the distribution.

                          THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
                              INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
                              AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
                              AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
                              OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
                              SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
                              INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
                              CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
                              ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
                              POSSIBILITY OF SUCH DAMAGE.
                          */

                          $g = array(
                          "upload_path" => "/root",
                              "dhcpd_chroot_path" => "/var/dhcpd",
                              "varrun_path" => "/var/run",
                              "varetc_path" => "/var/etc",
                              "vardb_path" => "/var/db",
                              "varlog_path" => "/var/log",
                              "etc_path" => "/etc",
                              "tmp_path" => "/tmp",
                              "conf_path" => "/conf",
                              "ftmp_path" => "/ftmp",
                              "conf_default_path" => "/conf.default",
                              "cf_path" => "/cf",
                              "cf_conf_path" => "/cf/conf",
                              "www_path" => "/usr/local/www",
                              "xml_rootobj" => "pfsense",
                              "pppoe_interface" => "ng0",
                              "n_pptp_units" => 16,  /* this value can be overriden in pptp->n_pptp_units /
                              "pptp_subnet" => 28,  /
                          this value can be overriden in pptp->pptp_subnet  /
                              "n_pppoe_units" => 16, /
                          this value can be overriden in pppoe->n_pppoe_units /
                              "pppoe_subnet" => 28,  /
                          this value can be overriden in pppoe->pppoe_subnet  */
                              "debug" => false,
                              "latest_config" => "2.9",
                              "nopkg_platforms" => array("cdrom"),
                              "nopccard_platforms" => array("wrap", "net48xx"),
                              "xmlrpcbaseurl" => "127.0.0.1",
                              "captiveportal_path" => "/usr/local/captiveportal",
                              "captiveportal_element_path" => "/var/db/cpelements",
                              "captiveportal_element_sizelimit" => 262144,
                              "xmlrpcpath" => "/pfSense/xmlrpc.php",
                              "embeddedbootupslice" => "/dev/ad0a",
                              "wireless_regex" => "/^(ndis|wi|ath|an|ral|ural|wai|iwi|awi|wlan)/",
                              "vlan_native_supp" => array("bfe", "dc", "fxp", "gem", "hme", "rl", "sis", "ste", "tl", "tx", "xl"),
                              "vlan_long_frame" =>  array("bfe", "bge", "dc", "em", "fxp", "gem", "hme", "ixgb", "nge", "re", "rl", "sis", "ste", "ti", "tl", "tx", "txp", "xl", "sk")
                          );

                          /* IP TOS flags */
                          $iptos = array("lowdelay", "throughput", "reliability");

                          /* TCP flags */
                          $tcpflags = array("syn", "ack", "fin", "rst", "psh", "urg");

                          ?>

                          error browser :

                          Unable to communicate to pfSense.com. Please check DNS, default gateway, etc.

                          why/mk@neon1.net

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

                            Catch you mail

                            SquidGuardDoc EN  RU Tutorial
                            Localization ru_PFSense

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

                              I'm using pfsense-1.2-beta1; installed lightsquid from package menu; when I click Status -> proxy report -> liquid squid report, I have this error:

                              LigthSquid diagnostic.
                              Error : report folder '/var/lightsquid/report' not contain any valid data! Please run lightparser.pl (and check 'report' folder content)
                              Please check config file !
                              Variable value
                              $tplpatph /usr/local/www/lightsquid/tpl
                              $templatename base
                              $langpatph /usr/local/share/lightsquid/lang
                              $langname pt_br
                              $reportpath /var/lightsquid/report
                              Access to '/var/lightsquid/report' folder yes
                              folder content:

                              I'm using squid as transparent proxy, and my cache has now 70mb.

                              Can I fix lightsquid??

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

                                You must enable log on squid gui and after small time his work(for log content exists) in lightsquid gou click refresh button.

                                SquidGuardDoc EN  RU Tutorial
                                Localization ru_PFSense

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

                                  there were already access.log on squid, with 21mb; the problem is that I had not pressed refresh button on lightsquid :D

                                  thankx

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

                                    Locked
                                    Look this thread http://forum.pfsense.org/index.php/topic,1176.0.html

                                    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.