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

    Install squidguard

    Scheduled Pinned Locked Moved pfSense Packages
    21 Posts 5 Posters 15.8k 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

      Near time fix this. Sorry, i have examination.

      SquidGuardDoc EN  RU Tutorial
      Localization ru_PFSense

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

        @dvserg:

        This may be if you have wrong pkg_config.xml content. For example you open file pkg_config.xml on browser and paste-copy them to Alt_PKG window. In this situatin content have + and - symbols before XML nodes (xml tree viewing in browser).
        Need download pkg_config.xml as file for valid content structure.

        I dont know dvserg; what I'm doing now is using ssh to the server, then downloading pkg_config.xml with wget direct from your site; it means that I do not edit or even open the file…

        thanks

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

          @srs:

          @dvserg:

          This may be if you have wrong pkg_config.xml content. For example you open file pkg_config.xml on browser and paste-copy them to Alt_PKG window. In this situatin content have + and - symbols before XML nodes (xml tree viewing in browser).
          Need download pkg_config.xml as file for valid content structure.

          I dont know dvserg; what I'm doing now is using ssh to the server, then downloading pkg_config.xml with wget direct from your site; it means that I do not edit or even open the file…

          thanks

          You must download pkg_config.xml as file and you can edit or open DownloadeD file in text editor(notepad for example). If you open file in browser - him adding - and + symbols, what if copy this from browser give error xml structure/

          SquidGuardDoc EN  RU Tutorial
          Localization ru_PFSense

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

            this is exactally what I am doing; I download the xml file or using "save as" or using wget, in dos prompt; in both methods, file isn't opened and no aditional symbols are inserted into xml file; then I open the file using notepad, that I know is a "pure text" editor; then I paste into pfsense and still doesnt work :(

            sorry for this  :-[

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

              Friend, on the problem of squigGuard this configuring and this making the blockade and the error in squidGuard.conf vc does not have some solution?

              thanks

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

                @mantunespb:

                Friend, on the problem of squigGuard this configuring and this making the blockade and the error in squidGuard.conf vc does not have some solution?

                thanks

                Try instal now. I update sources.

                SquidGuardDoc EN  RU Tutorial
                Localization ru_PFSense

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

                  hi srs,

                  I hv same problem, but after i 'TURN OFF TRANSPARAN PROXY' it work!!!

                  B.

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

                    @BennyS:

                    hi srs,

                    I hv same problem, but after i 'TURN OFF TRANSPARAN PROXY' it work!!!

                    B.

                    SG incorrect worked with transparent proxy. I try to solve this problem.
                    Temporary decision - change 127.0.0.1 on sg config to you pfsense ip and restart squid
                    with 'squid -k reconfigure' from command prompt

                    SquidGuardDoc EN  RU Tutorial
                    Localization ru_PFSense

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

                      I am not obtaining to install squidguard one more time. it is possible to install manually? vc it can explain me as to lower the packages and to install manually? below the error.

                      Downloading package configuration file… done.
                      Saving updated package information... done.
                      Downloading squidGuard and its dependencies... done.
                      Checking for successful package installation...

                      pkg_mgr_squidguard.log

                      Beginning package installation.
                      Downloading package configuration file...
                      squidGuard-1.2.0_1 Array
                      (
                          [0] => tar: Error opening archive: Empty input file: Inappropriate file type or format
                          [1] => pkg_add: tar extract of /tmp/apkg_squidGuard-1.2.0_1.tbz failed!
                          [2] => pkg_add: unable to extract table of contents file from '/tmp/apkg_squidGuard-1.2.0_1.tbz' - not a package?
                          [3] => pkg_add: 1 package addition(s) failed
                      )

                      Package WAS NOT installed properly.

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

                        @BennyS:

                        hi srs,

                        I hv same problem, but after i 'TURN OFF TRANSPARAN PROXY' it work!!!

                        B.

                        Thanks Benny, I disabled Transparent Proxy and got to install SG package! it worked to me!

                        now try to use SG :D

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

                          I installed squidguard again apos to verify that mine firewall this blocking in the hour of the installation. the Installation occurs without no problem. The error of reading of log through button GET LOG is solved, however the filter of content of squiddguard only functions when the Squid this in transparent way? exists some configuration it to function?

                          1 Reply Last reply Reply Quote 0
                          • U
                            unforeseen
                            last edited by

                            @dvserg:

                            1. need install this http://diskatel.narod.ru/pfSense/alt_pkg.htm
                            (topic http://forum.pfsense.org/index.php/topic,4811.msg29311.html#msg29311)

                            2. download http://diskatel.narod.ru/pfSense/packages/pkg_config.xml as file
                            (! it is important !, in browser this file open with +/- symbols, what give error when you copy this content to pfSense) 
                            and put content this file to Alt package manager

                            3. See System/Packages menu with squidGuard package list and install him.

                            psЖ about p.2 -

                            I'm not sure if the above steps are still needed but in regard to step 2, I recall someone posting that they used wget to download the file and it still didn't work.  When I used: wget http://diskatel.narod.ru/pfSense/packages/pkg_config.xml  I noticed that if I opened the file in vi it had a bunch of ^M

                            A simple fix is to:

                            wget http://diskatel.narod.ru/pfSense/packages/pkg_config.xml

                            vi pkg_config.xml

                            Then run search and replace in vi type:

                            :%s/^V^M//g

                            -OR-

                            if you fix it on the site, people can be sure they download the correct file :)  Of course, like I said, this may not even be needed now (or hopefully soon as it maybe all in the squidgaurd package)

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

                              Uninstall full and install from normal package list (pfsense.com server).

                              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.