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

    SquidGuard…

    Scheduled Pinned Locked Moved pfSense Packages
    18 Posts 7 Posters 9.2k 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.
    • R
      rsw686
      last edited by

      Why don't you post the .inc and .xml files or give us a link to them. Its kinda impossible to troubleshoot without seeing the package files.

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

        I have <loadinstructions..>where my source files loading from pfsense local www (http://pfsense_ip/package/..)
        All xml files good load content, but all .inc files get error execute page wisout his contents. I post all to ftp and all works. Check downloading all files <additional_files_needed>from you project.

        for example - my package

        squidguard.inc

        
         <packagegui><title>Proxy server filter SquidGuard: General settings</title>
        	<name>squidguardgeneral</name>
        	<version>1.2.0_1</version>
        	<include_file>squidguard.inc</include_file>
        
        <menu>
        		<name>Proxy server filter</name>
        		<tooltiptext>Modify the proxy server's filter settings</tooltiptext>
        		Services
        		<url>/pkg_edit.php?xml=squidguard.xml&id=0</url>
        	</menu>
        
        	 <additional_files_needed>ftp://10.62.0.30/packages/config/squidguard.inc</additional_files_needed> 
        	 <additional_files_needed>ftp://10.62.0.30/packages/config/squidguard_cls.inc</additional_files_needed> 
        	 <additional_files_needed>ftp://10.62.0.30/packages/config/upload.inc</additional_files_needed> 
        	 <additional_files_needed>ftp://10.62.0.30/packages/config/squidguard_acl.xml</additional_files_needed> 
        	 <additional_files_needed>ftp://10.62.0.30/packages/config/squidguard_default.xml</additional_files_needed> 
        	 <additional_files_needed>ftp://10.62.0.30/packages/config/squidguard_dest.xml</additional_files_needed> 
        	 <additional_files_needed>ftp://10.62.0.30/packages/config/squidguard_rewr.xml</additional_files_needed> 
        	 <additional_files_needed>ftp://10.62.0.30/packages/config/squidguard_src.xml</additional_files_needed> 
        	 <additional_files_needed>ftp://10.62.0.30/packages/config/squidguard_time.xml</additional_files_needed> 
        	 <service><name>squidGuard</name>
        		<description>Proxy server filter Service</description>
        		<executable>squidGuard</executable></service></packagegui> 
        

        10.62.0.30 - ftp server in other workstation

        pkg_config.xml

        
         <pfsensepkgs><packages><package><name>squidGuard</name>
              <descr>High perfomance web proxy filter</descr>
              <website>http://www.squidGuard.com/</website>
              <category>Network</category>
              <version>1.2.0_1</version>
              <maintainer>dv_serg@mail.ru</maintainer>
              <depends_on_package_base_url>http://ftp13.freebsd.org/pub/FreeBSD/ports/i386/packages-6-stable/All</depends_on_package_base_url>
        
              <depends_on_package>squidGuard-1.2.0_1.tbz</depends_on_package>
              <status>ALPHA</status>
              <required_version>1.0</required_version>
              <config_file>ftp://10.62.0.30/packages/config/squidguard.xml</config_file>
              <configurationfile>squidguard.xml</configurationfile></package></packages></pfsensepkgs> 
        ```</additional_files_needed></loadinstructions..>

        SquidGuardDoc EN  RU Tutorial
        Localization ru_PFSense

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

          How you call resync?

          
           <custom_php_resync_config_command>squidguard_resync();</custom_php_resync_config_command> 
          

          SquidGuardDoc EN  RU Tutorial
          Localization ru_PFSense

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

            I'll try grabbing the additional_needed_files via FTP like you've done, see if it makes any difference :)

            As for the resync - yes, exactly like that - word for word  :)

            I've also tried custom_add_php_command and custom_delete_php_command as demonstrated in the squid package I was looking at before.

            I can't get to any of the files from where I am today as I'm on a customer site, but I'll look into it when I get home and if I can't get around the loading instructions issue I'll post them up for you all to ridicule  :P ;D

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

              Does this work anything like the current squid package?

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

                @databeestje:

                Does this work anything like the current squid package?

                Need test  ;D

                SquidGuardDoc EN  RU Tutorial
                Localization ru_PFSense

                1 Reply Last reply Reply Quote 0
                • J
                  Justinw
                  last edited by

                  I'm willing to test this package if you'll let me know what I need to do

                  1 Reply Last reply Reply Quote 0
                  • A
                    aaron
                    last edited by

                    I'm intersted in testing this too.

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

                      Send me mail plz
                      I answer after dayving to new year alkohol down  ::)

                      SquidGuardDoc EN  RU Tutorial
                      Localization ru_PFSense

                      1 Reply Last reply Reply Quote 0
                      • F
                        far_ken_beauty
                        last edited by

                        did you get this going?

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

                          Package created. Look this topic for installation.
                          http://forum.pfsense.org/index.php/topic,3111.msg28544.html#msg28544

                          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.