diff options
author | marcelloc <marcellocoutinho@gmail.com> | 2012-01-27 14:24:51 -0200 |
---|---|---|
committer | marcelloc <marcellocoutinho@gmail.com> | 2012-01-27 14:24:51 -0200 |
commit | cf08e91af27301092ea4ef4bd96762fcd82db58c (patch) | |
tree | c93f620a3779c6d9f47800e6a8e606de9ca05730 /config/dansguardian/dansguardian_blacklist.xml | |
parent | df225741292cdf7067938de8bc2f018fc14f76a1 (diff) | |
download | pfsense-packages-cf08e91af27301092ea4ef4bd96762fcd82db58c.tar.gz pfsense-packages-cf08e91af27301092ea4ef4bd96762fcd82db58c.tar.bz2 pfsense-packages-cf08e91af27301092ea4ef4bd96762fcd82db58c.zip |
Dansguardian - First release
Diffstat (limited to 'config/dansguardian/dansguardian_blacklist.xml')
-rw-r--r-- | config/dansguardian/dansguardian_blacklist.xml | 156 |
1 files changed, 156 insertions, 0 deletions
diff --git a/config/dansguardian/dansguardian_blacklist.xml b/config/dansguardian/dansguardian_blacklist.xml new file mode 100644 index 00000000..d518f531 --- /dev/null +++ b/config/dansguardian/dansguardian_blacklist.xml @@ -0,0 +1,156 @@ +<?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_limits.xml + part of the dansguardian 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>dansguardianblacklist</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&id=0</url> + </tab> + <tab> + <text>General</text> + <url>/pkg_edit.php?xml=dansguardian_config.xml&id=0</url> + </tab> + <tab> + <text>Limits</text> + <url>/pkg_edit.php?xml=dansguardian_limits.xml&id=0</url> + </tab> + <tab> + <text>Blacklist</text> + <url>/pkg_edit.php?xml=dansguardian_blacklist.xml&id=0</url> + <active/> + </tab> + <tab> + <text>Access Lists</text> + <url>/pkg_edit.php?xml=dansguardian_antivirus_acl.xml&id=0</url> + </tab> + <tab> + <text>Groups</text> + <url>/pkg.php?xml=dansguardian_groups.xml</url> + </tab> + <tab> + <text>Users</text> + <url>/pkg_edit.php?xml=dansguardian_users.xml</url> + </tab> + <tab> + <text>Report and log</text> + <url>/pkg_edit.php?xml=dansguardian_log.xml&id=0</url> + </tab> + <tab> + <text>XMLRPC Sync</text> + <url>/pkg_edit.php?xml=dansguardian_sync.xml&id=0</url> + </tab> + <tab> + <text>Help</text> + <url>/dansguardian_about.php</url> + </tab> +</tabs> + <fields> + <field> + <name>Blacklist options</name> + <type>listtopic</type> + </field> + <field> + <fielddescr>Enable</fielddescr> + <fieldname>blacklist</fieldname> + <type>checkbox</type> + </field> + <field> + <fielddescr>Update frequency</fielddescr> + <fieldname>cron</fieldname> + <description><![CDATA[Default:<strong>Never</strong><br> + Select how often pfsense will re download Blacklist files]]></description> + <type>select</type> + <options> + <option><name>Never</name><value>never</value></option> + <option><name>Now</name><value>now</value></option> + <option><name>Every day</name><value>day</value></option> + <option><name>Every 2 days</name><value>02days</value></option> + <option><name>Once a week</name><value>week</value></option> + </options> + </field> + <field> + <fielddescr>Blacklist URL</fielddescr> + <fieldname>url</fieldname> + <description><![CDATA[Enter FTP, HTTP or LOCAL (pfSense) URL blacklist archive.<br> + File must be in tar.gz or tgz format.]]></description> + <type>input</type> + <size>80</size> + </field> + <field> + <name>Custom update script</name> + <type>listtopic</type> + </field> + <field> + <fielddescr>Enable</fielddescr> + <fieldname>enable_custom_script</fieldname> + <type>checkbox</type> + </field> + <field> + <fielddescr>script</fielddescr> + <fieldname>update_script</fieldname> + <description><![CDATA[Enter custom script to update Blacklists<br> + This script will be called by update frequency schedule.]]></description> + <type>textarea</type> + <cols>80</cols> + <rows>15</rows> + <encoding>base64</encoding> + </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, &$input_errors); + </custom_php_validation_command> + <custom_php_resync_config_command> + sync_package_dansguardian(); + </custom_php_resync_config_command> +</packagegui> |