<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE packagegui SYSTEM "../schema/packages.dtd"> <?xml-stylesheet type="text/xsl" href="../xsl/package.xsl"?> <packagegui> <description>[<![CDATA[Describe your package here]]></description> <requirements>Describe your package requirements here</requirements> <faq>Currently there are no FAQ items provided.</faq> <name>squidguardgeneral</name> <version>1.5_1</version> <title>Proxy filter SquidGuard: General settings</title> <include_file>/usr/local/pkg/squidguard.inc</include_file> <!-- Installation --> <menu> <name>Proxy filter</name> <tooltiptext>Modify the proxy server's filter settings</tooltiptext> <section>Services</section> <url>/pkg_edit.php?xml=squidguard.xml&id=0</url> </menu> <tabs> <tab> <text>General settings</text> <url>/pkg_edit.php?xml=squidguard.xml&id=0</url> <active/> </tab> <tab> <text>Common ACL</text> <url>/pkg_edit.php?xml=squidguard_default.xml&id=0</url> </tab> <tab> <text>Groups ACL</text> <url>/pkg.php?xml=squidguard_acl.xml</url> </tab> <tab> <text>Target categories</text> <url>/pkg.php?xml=squidguard_dest.xml</url> </tab> <tab> <text>Times</text> <url>/pkg.php?xml=squidguard_time.xml</url> </tab> <tab> <text>Rewrites</text> <url>/pkg.php?xml=squidguard_rewr.xml</url> </tab> <tab> <text>Blacklist</text> <url>/squidGuard/squidguard_blacklist.php</url> </tab> <tab> <text>Log</text> <url>/squidGuard/squidguard_log.php</url> </tab> <tab> <text>XMLRPC Sync</text> <url>/pkg_edit.php?xml=squidguard_sync.xml</url> </tab> </tabs> <service> <name>squidGuard</name> <description><![CDATA[Proxy server filter Service]]></description> <executable>squidGuard</executable> </service> <additional_files_needed> <prefix>/usr/local/pkg/</prefix> <chmod>0755</chmod> <item>https://packages.pfsense.org/packages/config/squidGuard-devel/squidguard.inc</item> </additional_files_needed> <additional_files_needed> <prefix>/usr/local/pkg/</prefix> <chmod>0755</chmod> <item>https://packages.pfsense.org/packages/config/squidGuard-devel/squidguard_configurator.inc</item> </additional_files_needed> <additional_files_needed> <prefix>/usr/local/pkg/</prefix> <chmod>0755</chmod> <item>https://packages.pfsense.org/packages/config/squidGuard-devel/squidguard_acl.xml</item> </additional_files_needed> <additional_files_needed> <prefix>/usr/local/pkg/</prefix> <chmod>0755</chmod> <item>https://packages.pfsense.org/packages/config/squidGuard-devel/squidguard_default.xml</item> </additional_files_needed> <additional_files_needed> <prefix>/usr/local/pkg/</prefix> <chmod>0755</chmod> <item>https://packages.pfsense.org/packages/config/squidGuard-devel/squidguard_dest.xml</item> </additional_files_needed> <additional_files_needed> <prefix>/usr/local/pkg/</prefix> <chmod>0755</chmod> <item>https://packages.pfsense.org/packages/config/squidGuard-devel/squidguard_rewr.xml</item> </additional_files_needed> <additional_files_needed> <prefix>/usr/local/pkg/</prefix> <chmod>0755</chmod> <item>https://packages.pfsense.org/packages/config/squidGuard-devel/squidguard_time.xml</item> </additional_files_needed> <additional_files_needed> <prefix>/usr/local/pkg/</prefix> <chmod>0755</chmod> <item>https://packages.pfsense.org/packages/config/squidGuard-devel/squidguard_sync.xml</item> </additional_files_needed> <additional_files_needed> <prefix>/usr/local/www/squidGuard/</prefix> <chmod>0755</chmod> <item>https://packages.pfsense.org/packages/config/squidGuard-devel/squidguard_log.php</item> </additional_files_needed> <additional_files_needed> <prefix>/usr/local/www/squidGuard/</prefix> <chmod>0755</chmod> <item>https://packages.pfsense.org/packages/config/squidGuard-devel/squidguard_blacklist.php</item> </additional_files_needed> <additional_files_needed> <prefix>/usr/local/www/</prefix> <chmod>0755</chmod> <item>https://packages.pfsense.org/packages/config/squidGuard-devel/sgerror.php</item> </additional_files_needed> <fields> <field> <fielddescr>Enable</fielddescr> <fieldname>squidguard_enable</fieldname> <description><![CDATA[Check this option to enable squidGuard]]></description> <type>checkbox</type> </field> <field> <name>LDAP Options</name> <type>listtopic</type> </field> <field> <fielddescr>Enable LDAP Filter</fielddescr> <fieldname>ldap_enable</fieldname> <description><![CDATA[Enable options for setup ldap connection to create filters with ldap search]]></description> <type>checkbox</type> <enablefields>ldapbinddn,ldapbindpass,stripntdomain,striprealm,ldapversion</enablefields> </field> <field> <fielddescr>LDAP DN</fielddescr> <fieldname>ldapbinddn</fieldname> <description><![CDATA[Configure your LDAP DN (ex: cn=Administrator,cn=Users,dc=domain)]]></description> <type>input</type> <size>60</size> </field> <field> <fielddescr>LDAP DN Password</fielddescr> <fieldname>ldapbindpass</fieldname> <description><![CDATA[LDAP DN Users password]]></description> <type>password</type> </field> <field> <fielddescr>Strip NT domain name</fielddescr> <fieldname>stripntdomain</fieldname> <description><![CDATA[Strip NT domain name component from user names (/ or \ separated).]]></description> <type>checkbox</type> <default_value>on</default_value> </field> <field> <fielddescr>Strip Kerberos Realm</fielddescr> <fieldname>striprealm</fieldname> <description><![CDATA[Strip Kerberos Realm component from user names (@ separated).]]></description> <type>checkbox</type> <default_value>on</default_value> </field> <field> <fielddescr>LDAP Version</fielddescr> <fieldname>ldapversion</fieldname> <type>select</type> <default_value>3</default_value> <options> <option> <name>Version 2</name> <value>2</value> </option> <option> <name>Version 3</name> <value>3</value> </option> </options> </field> <field> <name>Logging options</name> <type>listtopic</type> </field> <field> <fielddescr>Enable GUI log</fielddescr> <fieldname>enable_guilog</fieldname> <description><![CDATA[Check this option to log the access to the Proxy Filter GUI.]]></description> <type>checkbox</type> </field> <field> <fielddescr>Enable log</fielddescr> <fieldname>enable_log</fieldname> <description><![CDATA[Check this option to log the proxy filter settings like blocked websites in Common ACL, Group ACL and Target Categories. This option is usually used to check the filter settings.]]></description> <type>checkbox</type> </field> <field> <fielddescr>Enable log rotation</fielddescr> <fieldname>log_rotation</fieldname> <description><![CDATA[Check this option to rotate the logs every day. This is recommended if you enable any kind of logging to limit file size and do not run out of disk space.]]></description> <type>checkbox</type> </field> <field> <name>Miscellaneous</name> <type>listtopic</type> </field> <field> <fielddescr>Clean Advertising</fielddescr> <fieldname>adv_blankimg</fieldname> <description><![CDATA[Check this option to display a blank gif image instead of the default block page. With this option the user gets a cleaner webpage.]]></description> <type>checkbox</type> </field> <field> <name>Blacklist options</name> <type>listtopic</type> </field> <field> <fielddescr>Blacklist</fielddescr> <fieldname>blacklist</fieldname> <description><![CDATA[Check this option to enable blacklist]]></description> <type>checkbox</type> </field> <field> <fielddescr>Blacklist proxy</fielddescr> <fieldname>blacklist_proxy</fieldname> <description><![CDATA[<br> Blacklist upload proxy - enter here, or leave blank.<br> Format: host:[port login:pass] . Default proxy port 1080.<br> Example: '192.168.0.1:8080 user:pass' ]]></description> <type>input</type> <size>100</size> </field> <field> <fielddescr>Blacklist URL</fielddescr> <fieldname>blacklist_url</fieldname> <description><![CDATA[Enter the path to the blacklist (blacklist.tar.gz) here. You can use FTP, HTTP or LOCAL URL blacklist archive or leave blank. The LOCAL path could be your pfsense (/tmp/blacklist.tar.gz).]]></description> <type>input</type> <size>100</size> </field> </fields> <custom_add_php_command/> <custom_php_validation_command> squidguard_validate($_POST, $input_errors); </custom_php_validation_command> <custom_php_command_before_form> squidguard_before_form($pkg); </custom_php_command_before_form> <custom_php_after_form_command> squidGuard_print_javascript(); </custom_php_after_form_command> <custom_php_resync_config_command> squidguard_resync(); </custom_php_resync_config_command> <custom_php_install_command> squidguard_install_command(); squidguard_resync(); </custom_php_install_command> <custom_php_deinstall_command> squidguard_deinstall_command(); </custom_php_deinstall_command> </packagegui>