aboutsummaryrefslogtreecommitdiffstats
path: root/config/squidGuard/squidguard.xml
diff options
context:
space:
mode:
authordvserg <dv_serg@mail.ru>2010-12-16 07:51:50 +0300
committerdvserg <dv_serg@mail.ru>2010-12-16 07:51:50 +0300
commit5be939c186e0cb31db757d89cc406182579e5c3f (patch)
treef432ae62b40020ce8073478835df246c43f68dbf /config/squidGuard/squidguard.xml
parentc81a1c0a1a1e4f20e4f790263e677995cca2dc2a (diff)
downloadpfsense-packages-5be939c186e0cb31db757d89cc406182579e5c3f.tar.gz
pfsense-packages-5be939c186e0cb31db757d89cc406182579e5c3f.tar.bz2
pfsense-packages-5be939c186e0cb31db757d89cc406182579e5c3f.zip
Log view changed. Log rotation added. Validation Names with reserved words added.
Diffstat (limited to 'config/squidGuard/squidguard.xml')
-rw-r--r--config/squidGuard/squidguard.xml210
1 files changed, 110 insertions, 100 deletions
diff --git a/config/squidGuard/squidguard.xml b/config/squidGuard/squidguard.xml
index 572efb97..9f0ed9fb 100644
--- a/config/squidGuard/squidguard.xml
+++ b/config/squidGuard/squidguard.xml
@@ -2,108 +2,102 @@
<!DOCTYPE packagegui SYSTEM "../schema/packages.dtd">
<?xml-stylesheet type="text/xsl" href="../xsl/package.xsl"?>
<packagegui>
- <description>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.2.0_2</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&amp;id=0</url>
- </menu>
-
- <tabs>
- <tab>
- <text>General settings</text>
- <url>/pkg_edit.php?xml=squidguard.xml&amp;id=0</url>
- <active/>
- </tab>
- <tab>
- <text>Default</text>
- <url>/pkg_edit.php?xml=squidguard_default.xml&amp;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&amp;id=0</url>
- </tab>
- </tabs>
-
- <service>
+ <description>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.2.0_2</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&amp;id=0</url>
+ </menu>
+ <tabs>
+ <tab>
+ <text>General settings</text>
+ <url>/pkg_edit.php?xml=squidguard.xml&amp;id=0</url>
+ <active/>
+ </tab>
+ <tab>
+ <text>Default</text>
+ <url>/pkg_edit.php?xml=squidguard_default.xml&amp;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>/squidGuard/squidguard_log.php</url>
+ </tab>
+ </tabs>
+ <service>
<name>squidGuard</name>
<description>Proxy server filter Service</description>
<executable>squidGuard</executable>
- </service>
-
- <additional_files_needed>
+ </service>
+ <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>
+ </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>
+ </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>
+ </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>
+ </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>
+ </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>
+ </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>
+ </additional_files_needed>
+ <additional_files_needed>
+ <prefix>/usr/local/www/squidGuard/</prefix>
+ <chmod>0755</chmod>
+ <item>http://www.pfsense.org/packages/config/squidGuard/squidguard_log.php</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>
+ </additional_files_needed>
+ <fields>
<field>
<fielddescr>Enable</fielddescr>
<fieldname>squidguard_enable</fieldname>
@@ -111,6 +105,28 @@
<type>checkbox</type>
</field>
<field>
+ <fielddescr>Enable GUI log</fielddescr>
+ <fieldname>enable_guilog</fieldname>
+ <description>Check this for enable GUI log.</description>
+ <type>checkbox</type>
+ </field>
+ <field>
+ <fielddescr>Enable log</fielddescr>
+ <fieldname>enable_log</fieldname>
+ <description>Check this for enable log of the proxy filter. Usually log used for testing filter settings.</description>
+ <type>checkbox</type>
+ </field>
+ <field>
+ <fielddescr>Enable log rotation</fielddescr>
+ <fieldname>log_rotation</fieldname>
+ <description>Check this for enable daily rotate a log of the proxy filter. Use this option for limit log file size.</description>
+ <type>checkbox</type>
+ </field>
+ <field>
+ <name>Blacklist options</name>
+ <type>listtopic</type>
+ </field>
+ <field>
<fielddescr>Blacklist</fielddescr>
<fieldname>blacklist</fieldname>
<description>Check this for enable blacklist</description>
@@ -134,31 +150,25 @@
<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>
+ </fields>
+ <custom_add_php_command/>
+ <custom_php_validation_command>
squidguard_validate(&amp;$_POST, &amp;$input_errors);
- </custom_php_validation_command>
- <custom_php_command_before_form>
+ </custom_php_validation_command>
+ <custom_php_command_before_form>
squidguard_before_form(&amp;$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_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> \ No newline at end of file