diff options
author | D. V. Serg <dvserg@pfsense.org> | 2008-08-20 16:19:17 +0000 |
---|---|---|
committer | D. V. Serg <dvserg@pfsense.org> | 2008-08-20 16:19:17 +0000 |
commit | ce28757f9a40cc074b968e5085c82035be0ec38b (patch) | |
tree | b03d925460a94ca020d2fd471dd0a956a896e1c0 /packages/squidGuard/squidguard.xml | |
parent | 4987b62d62b2ebd91c85f871594dfc2482e4f9b6 (diff) | |
download | pfsense-packages-ce28757f9a40cc074b968e5085c82035be0ec38b.tar.gz pfsense-packages-ce28757f9a40cc074b968e5085c82035be0ec38b.tar.bz2 pfsense-packages-ce28757f9a40cc074b968e5085c82035be0ec38b.zip |
Changes in GUI:
sources
- add user name support
acl, destination
- add redirection type
general page
- remove redirection type
- add error-showing when 'Apply' changes
Also many optimisations in .inc files.
Diffstat (limited to 'packages/squidGuard/squidguard.xml')
-rw-r--r-- | packages/squidGuard/squidguard.xml | 324 |
1 files changed, 150 insertions, 174 deletions
diff --git a/packages/squidGuard/squidguard.xml b/packages/squidGuard/squidguard.xml index 739fe609..b00e9ed8 100644 --- a/packages/squidGuard/squidguard.xml +++ b/packages/squidGuard/squidguard.xml @@ -6,183 +6,159 @@ <requirements>Describe your package requirements here</requirements> <faq>Currently there are no FAQ items provided.</faq> - <name>squidguardgeneral</name> - <version>1.2.0_1</version> - <title>Proxy Content filter SquidGuard: General settings</title> - <include_file>/usr/local/pkg/squidguard.inc</include_file> + <name>squidguardgeneral</name> + <version>1.2.0_1</version> + <title>Proxy Content filter SquidGuard: General settings</title> + <include_file>/usr/local/pkg/squidguard.inc</include_file> - <!-- Installation --> - <menu> - <name>Proxy Content 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> + <!-- Installation --> + <menu> + <name>Proxy Content 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>Default</text> - <url>/pkg_edit.php?xml=squidguard_default.xml&id=0</url> - </tab> - <tab> - <text>ACL</text> - <url>/pkg.php?xml=squidguard_acl.xml</url> - </tab> - <tab> - <text>Destinations</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>Log</text> - <url>/pkg_edit.php?xml=squidguard_log.xml</url> - </tab> - </tabs> - - <service> - <name>squidGuard</name> - <description>Proxy server filter Service</description> - <executable>squidGuard</executable> - </service> + <tabs> + <tab> + <text>General settings</text> + <url>/pkg_edit.php?xml=squidguard.xml&id=0</url> + <active/> + </tab> + <tab> + <text>Default</text> + <url>/pkg_edit.php?xml=squidguard_default.xml&id=0</url> + </tab> + <tab> + <text>ACL</text> + <url>/pkg.php?xml=squidguard_acl.xml</url> + </tab> + <tab> + <text>Destinations</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>Log</text> + <url>/pkg_edit.php?xml=squidguard_log.xml</url> + </tab> + </tabs> - <additional_files_needed> - <prefix>/usr/local/pkg/</prefix> - <chmod>0755</chmod> - <item>http://www.pfsense.org/packages/config/squidGuard/squidguard.inc</item> - </additional_files_needed> - <additional_files_needed> - <prefix>/usr/local/pkg/</prefix> - <chmod>0755</chmod> - <item>http://www.pfsense.org/packages/config/squidGuard/squidguard_configurator.inc</item> - </additional_files_needed> - <additional_files_needed> - <prefix>/usr/local/pkg/</prefix> - <chmod>0755</chmod> - <item>http://www.pfsense.org/packages/config/squidGuard/squidguard_acl.xml</item> - </additional_files_needed> - <additional_files_needed> - <prefix>/usr/local/pkg/</prefix> - <chmod>0755</chmod> - <item>http://www.pfsense.org/packages/config/squidGuard/squidguard_default.xml</item> - </additional_files_needed> - <additional_files_needed> - <prefix>/usr/local/pkg/</prefix> - <chmod>0755</chmod> - <item>http://www.pfsense.org/packages/config/squidGuard/squidguard_dest.xml</item> - </additional_files_needed> - <additional_files_needed> - <prefix>/usr/local/pkg/</prefix> - <chmod>0755</chmod> - <item>http://www.pfsense.org/packages/config/squidGuard/squidguard_rewr.xml</item> - </additional_files_needed> - <additional_files_needed> - <prefix>/usr/local/pkg/</prefix> - <chmod>0755</chmod> - <item>http://www.pfsense.org/packages/config/squidGuard/squidguard_time.xml</item> - </additional_files_needed> - <additional_files_needed> - <prefix>/usr/local/pkg/</prefix> - <chmod>0755</chmod> - <item>http://www.pfsense.org/packages/config/squidGuard/squidguard_log.xml</item> - </additional_files_needed> - <additional_files_needed> - <prefix>/usr/local/www/</prefix> - <chmod>0755</chmod> - <item>http://www.pfsense.org/packages/config/squidGuard/sgerror.php</item> - </additional_files_needed> + <service> + <name>squidGuard</name> + <description>Proxy server filter Service</description> + <executable>squidGuard</executable> + </service> - <fields> - <field> - <fielddescr>Enable</fielddescr> - <fieldname>squidguard_enable</fieldname> - <description>Check this for enable squidGuard</description> - <type>checkbox</type> - </field> - <field> - <fielddescr>Blacklist</fielddescr> - <fieldname>blacklist</fieldname> - <description>Check this for enable blacklist</description> - <type>checkbox</type> - </field> - <field> - <fielddescr>Blacklist proxy</fielddescr> - <fieldname>blacklist_proxy</fieldname> - <description> - Blacklist upload proxy - enter here, or leave blank. - Format: host:[port login:pass] . Default proxy port 1080. - 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>Enter FTP, HTTP or LOCAL (pfSense) URL blacklist archive, or leave blank.</description> - <type>input</type> - <size>100</size> - </field> - <field> - <fielddescr>Redirect mode</fielddescr> - <fieldname>redirect_mode</fieldname> - <description> - Select redirect mode here. If you selected 'Internal', then will use internal 'sgerror.php' page. - Else - all redirect url's will added 'as it is'. In this situation you can't use 'HTTP error codes', - 'BLANK' and 'BLANK_IMG' extensions, only you self error page URL. - </description> - <type>select</type> - <value>rmod_int</value> - <options> - <option><name>Internal</name><value>rmod_int</value></option> - <option><name>External as Moved (http '301' code)</name><value>rmod_301</value></option> - <option><name>External as Found (http '302' code)</name><value>rmod_302</value></option> - </options> - </field> - <field> - <fielddescr>Emulate error HTTP header</fielddescr> - <fieldname>emu_err_http_hdr</fieldname> - <description> - Check this for enable emulation error code HTTP header, - when proxy-filter deny access to URL with specified HTTP error code - in 'Redirect' field's. This may change behaviour client's IE brouser - and affiliated proxy. - </description> - <type>checkbox</type> - </field> - <field> - <fielddescr>View GUI log</fielddescr> - <fieldname>view_gui_log</fieldname> - <description>Check this for view GUI log</description> - <type>checkbox</type> - </field> - </fields> - <custom_add_php_command/> - <custom_php_command_before_form> - squidguard_before_form(&$pkg); - </custom_php_command_before_form> - <custom_php_after_form_command> + <additional_files_needed> + <prefix>/usr/local/pkg/</prefix> + <chmod>0755</chmod> + <item>http://www.pfsense.org/packages/config/squidGuard/squidguard.inc</item> + </additional_files_needed> + <additional_files_needed> + <prefix>/usr/local/pkg/</prefix> + <chmod>0755</chmod> + <item>http://www.pfsense.org/packages/config/squidGuard/squidguard_configurator.inc</item> + </additional_files_needed> + <additional_files_needed> + <prefix>/usr/local/pkg/</prefix> + <chmod>0755</chmod> + <item>http://www.pfsense.org/packages/config/squidGuard/squidguard_acl.xml</item> + </additional_files_needed> + <additional_files_needed> + <prefix>/usr/local/pkg/</prefix> + <chmod>0755</chmod> + <item>http://www.pfsense.org/packages/config/squidGuard/squidguard_default.xml</item> + </additional_files_needed> + <additional_files_needed> + <prefix>/usr/local/pkg/</prefix> + <chmod>0755</chmod> + <item>http://www.pfsense.org/packages/config/squidGuard/squidguard_dest.xml</item> + </additional_files_needed> + <additional_files_needed> + <prefix>/usr/local/pkg/</prefix> + <chmod>0755</chmod> + <item>http://www.pfsense.org/packages/config/squidGuard/squidguard_rewr.xml</item> + </additional_files_needed> + <additional_files_needed> + <prefix>/usr/local/pkg/</prefix> + <chmod>0755</chmod> + <item>http://www.pfsense.org/packages/config/squidGuard/squidguard_time.xml</item> + </additional_files_needed> + <additional_files_needed> + <prefix>/usr/local/pkg/</prefix> + <chmod>0755</chmod> + <item>http://www.pfsense.org/packages/config/squidGuard/squidguard_log.xml</item> + </additional_files_needed> + <additional_files_needed> + <prefix>/usr/local/www/</prefix> + <chmod>0755</chmod> + <item>http://www.pfsense.org/packages/config/squidGuard/sgerror.php</item> + </additional_files_needed> + + <fields> + <field> + <fielddescr>Enable</fielddescr> + <fieldname>squidguard_enable</fieldname> + <description>Check this for enable squidGuard</description> + <type>checkbox</type> + </field> + <field> + <fielddescr>Blacklist</fielddescr> + <fieldname>blacklist</fieldname> + <description>Check this for enable blacklist</description> + <type>checkbox</type> + </field> + <field> + <fielddescr>Blacklist proxy</fielddescr> + <fieldname>blacklist_proxy</fieldname> + <description> + Blacklist upload proxy - enter here, or leave blank. + Format: host:[port login:pass] . Default proxy port 1080. + 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>Enter FTP, HTTP or LOCAL (pfSense) URL blacklist archive, or leave blank.</description> + <type>input</type> + <size>100</size> + </field> + <field> + <fielddescr>View GUI log</fielddescr> + <fieldname>view_gui_log</fieldname> + <description>Check this for view GUI log</description> + <type>checkbox</type> + </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> + </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>
\ No newline at end of file |