aboutsummaryrefslogtreecommitdiffstats
path: root/config/dansguardian/dansguardian_log.xml
diff options
context:
space:
mode:
authormarcelloc <marcellocoutinho@gmail.com>2012-01-04 14:22:52 -0200
committermarcelloc <marcellocoutinho@gmail.com>2012-01-04 14:22:52 -0200
commitd2a5ab5879d8dc87b1ea8f9ca72e41107d353f4a (patch)
treeea9def09289f6d80fde990212c27d1b109c25d8b /config/dansguardian/dansguardian_log.xml
parent6d0c7103c4a2b141f7a136f6af66e7dd10ff2fff (diff)
downloadpfsense-packages-d2a5ab5879d8dc87b1ea8f9ca72e41107d353f4a.tar.gz
pfsense-packages-d2a5ab5879d8dc87b1ea8f9ca72e41107d353f4a.tar.bz2
pfsense-packages-d2a5ab5879d8dc87b1ea8f9ca72e41107d353f4a.zip
dansguardian-dev - first files
Diffstat (limited to 'config/dansguardian/dansguardian_log.xml')
-rw-r--r--config/dansguardian/dansguardian_log.xml215
1 files changed, 215 insertions, 0 deletions
diff --git a/config/dansguardian/dansguardian_log.xml b/config/dansguardian/dansguardian_log.xml
new file mode 100644
index 00000000..885aebf8
--- /dev/null
+++ b/config/dansguardian/dansguardian_log.xml
@@ -0,0 +1,215 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<!DOCTYPE packagegui SYSTEM "./schema/packages.dtd">
+<?xml-stylesheet type="text/xsl" href="./xsl/package.xsl"?>
+<packagegui>
+ <copyright>
+ <![CDATA[
+/* $Id$ */
+/* ========================================================================== */
+/*
+ dansguardian_log.xml
+ part of the Dansguardian package for pfSense
+ Copyright (C) 2012 Marcello Coutinho
+
+ All rights reserved.
+ */
+/* ========================================================================== */
+/*
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are met:
+
+ 1. Redistributions of source code must retain the above copyright notice,
+ this list of conditions and the following disclaimer.
+
+ 2. Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+
+ THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
+ INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
+ AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
+ AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
+ OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ POSSIBILITY OF SUCH DAMAGE.
+ */
+/* ========================================================================== */
+ ]]>
+ </copyright>
+ <description>Describe your package here</description>
+ <requirements>Describe your package requirements here</requirements>
+ <faq>Currently there are no FAQ items provided.</faq>
+ <name>dansguardianlimits</name>
+ <version>1.0</version>
+ <title>Services: Dansguardian</title>
+ <include_file>/usr/local/pkg/dansguardian.inc</include_file>
+ <tabs>
+ <tab>
+ <text>Daemon</text>
+ <url>/pkg_edit.php?xml=dansguardian.xml&amp;id=0</url>
+ </tab>
+ <tab>
+ <text>General</text>
+ <url>/pkg_edit.php?xml=dansguardian_config.xml&amp;id=0</url>
+ </tab>
+ <tab>
+ <text>Limits</text>
+ <url>/pkg_edit.php?xml=dansguardian_limits.xml&amp;id=0</url>
+ </tab>
+ <tab>
+ <text>Filter Groups</text>
+ <url>/pkg.php?xml=dansguardian_lists.xml</url>
+ </tab>
+ <tab>
+ <text>Report and Log</text>
+ <url>/pkg_edit.php?xml=dansguardian_log.xml&amp;id=0</url>
+ <active/>
+ </tab>
+ <tab>
+ <text>XMLRPC Sync</text>
+ <url>/pkg_edit.php?xml=dansguardian_sync.xml&amp;id=0</url>
+ </tab>
+ <tab>
+ <text>About</text>
+ <url>/pkg_edit.php?xml=dansguardian.php&amp;id=0</url>
+ </tab>
+</tabs>
+ <fields>
+ <field>
+ <name>Reporting</name>
+ <type>listtopic</type>
+ </field>
+ <field>
+ <fielddescr>Reporting Level</fielddescr>
+ <fieldname>report_level</fieldname>
+ <description><![CDATA[Web Access Denied Reporting (does not affect logging)]]></description>
+ <type>select</type>
+ <options>
+ <option><name>Use HTML template file (accessdeniedaddress ignored) - recommended</name><value>3</value></option>
+ <option><name>Report fully</name><value>2</value></option>
+ <option><name>Report why but not what denied phrase</name><value>1</value></option>
+ <option><name>Just say 'Access Denied'</name><value>0</value></option>
+ <option><name>Log but do not block - Stealth mode</name><value>-1</value></option>
+ </options>
+ </field>
+ <field>
+ <fielddescr>Report Language</fielddescr>
+ <fieldname>report_language</fieldname>
+ <description><![CDATA[Language to use in HTML reports]]></description>
+ <type>select</type>
+ <options>
+ <option><name>ukenglish</name><value>ukenglish</value></option>
+ <option><name>arspanish</name><value>arspanish</value></option>
+ <option><name>bulgarian</name><value>bulgarian</value></option>
+ <option><name>chinesebig5</name><value>chinesebig5</value></option>
+ <option><name>chinesegb2312</name><value>chinesegb2312</value></option>
+ <option><name>czech</name><value>czech</value></option>
+ <option><name>danish</name><value>danish</value></option>
+ <option><name>dutch</name><value>dutch</value></option>
+ <option><name>french</name><value>french</value></option>
+ <option><name>german</name><value>german</value></option>
+ <option><name>hebrew</name><value>hebrew</value></option>
+ <option><name>hungarian</name><value>hungarian</value></option>
+ <option><name>indonesian</name><value>indonesian</value></option>
+ <option><name>italian</name><value>italian</value></option>
+ <option><name>japanese</name><value>japanese</value></option>
+ <option><name>lithuanian</name><value>lithuanian</value></option>
+ <option><name>malay</name><value>malay</value></option>
+ <option><name>mxspanish</name><value>mxspanish</value></option>
+ <option><name>polish</name><value>polish</value></option>
+ <option><name>portuguese</name><value>portuguese</value></option>
+ <option><name>ptbrazilian</name><value>ptbrazilian</value></option>
+ <option><name>russian-1251</name><value>russian-1251</value></option>
+ <option><name>russian-koi8-r</name><value>russian-koi8-r</value></option>
+ <option><name>slovak</name><value>slovak</value></option>
+ <option><name>spanish</name><value>spanish</value></option>
+ <option><name>swedish</name><value>swedish</value></option>
+ <option><name>turkish</name><value>turkish</value></option>
+ </options>
+ </field>
+ <field>
+ <fielddescr>Reporting Options</fielddescr>
+ <fieldname>report_options</fieldname>
+ <description><![CDATA[Reporting options. Default values are in ( )]]></description>
+ <type>select</type>
+ <options>
+ <option><name>Show weighted found (on)</name><value>showweightedfound</value></option>
+ <option><name>Use custom banned flash (on)</name><value>usecustombannedflash</value></option>
+ <option><name>Use custom banned image (on)</name><value>usecustombannedimage</value></option>
+ <option><name>Non standard delimiter (on)</name><value>nonstandarddelimiter</value></option>
+ </options>
+ <multiple/>
+ <size>5</size>
+ </field>
+ <field>
+ <name>Logging</name>
+ <type>listtopic</type>
+ </field>
+ <field>
+ <fielddescr>Logging Options</fielddescr>
+ <fieldname>report_options</fieldname>
+ <description><![CDATA[Logging options. Default values are in ( )]]></description>
+ <type>select</type>
+ <options>
+ <option><name>logchildprocesshandling (off)</name><value>logchildprocesshandling</value></option>
+ <option><name>logconnectionhandlingerrors (on)</name><value>logconnectionhandlingerrors</value></option>
+ <option><name>nologger (off)</name><value>nologger</value></option>
+ <option><name>logadblocks (off)</name><value>logadblocks</value></option>
+ <option><name>Anonymize logs (off)</name><value>anonymizelogs</value></option>
+ </options>
+ <multiple/>
+ <size>6</size>
+ </field>
+ <field>
+ <fielddescr>Log Level</fielddescr>
+ <fieldname>loglevel</fieldname>
+ <description><![CDATA[Web Access Denied Reporting (does not affect logging)]]></description>
+ <type>select</type>
+ <options>
+ <option><name>All text based (default)</name><value>2</value></option>
+ <option><name>All requests</name><value>3</value></option>
+ <option><name>Just denied</name><value>1</value></option>
+ <option><name>None</name><value>0</value></option>
+ </options>
+ </field>
+ <field>
+ <fielddescr>Log Exception Hints</fielddescr>
+ <fieldname>logexceptionhits</fieldname>
+ <description><![CDATA[ Log if an exception (user, ip, URL, phrase) is matched and so the page gets let through.<br>
+ Can be useful for diagnosing why a site gets through the filter.]]></description>
+ <type>select</type>
+ <options>
+ <option><name>always log and mark exceptions (default)</name><value>2</value></option>
+ <option><name>log exceptions, but do not explicitly mark them as such</name><value>1</value></option>
+ <option><name>never log exceptions</name><value>0</value></option>
+ </options>
+ </field>
+ <field>
+ <fielddescr>Log File Format</fielddescr>
+ <fieldname>logfileformat</fieldname>
+ <description><![CDATA[ Log File Format.]]></description>
+ <type>select</type>
+ <options>
+ <option><name>DansGuardian format -space delimited (default)</name><value>1</value></option>
+ <option><name>CSV-style format</name><value>2</value></option>
+ <option><name>Squid Log File Format</name><value>3</value></option>
+ <option><name>Tab delimited</name><value>4</value></option>
+ </options>
+ </field>
+ </fields>
+ <custom_php_install_command>
+ dansguardian_php_install_command();
+ </custom_php_install_command>
+ <custom_php_deinstall_command>
+ dansguardian_php_deinstall_command();
+ </custom_php_deinstall_command>
+ <custom_php_validation_command>
+ dansguardian_validate_input($_POST, &amp;$input_errors);
+ </custom_php_validation_command>
+ <custom_php_resync_config_command>
+ sync_package_dansguardian();
+ </custom_php_resync_config_command>
+</packagegui>