diff options
Diffstat (limited to 'config/dansguardian/dansguardian_url_acl.xml')
-rwxr-xr-x | config/dansguardian/dansguardian_url_acl.xml | 293 |
1 files changed, 293 insertions, 0 deletions
diff --git a/config/dansguardian/dansguardian_url_acl.xml b/config/dansguardian/dansguardian_url_acl.xml new file mode 100755 index 00000000..e7fdba14 --- /dev/null +++ b/config/dansguardian/dansguardian_url_acl.xml @@ -0,0 +1,293 @@ +<?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[ +/* ========================================================================== */ +/* + dansguardian_url_acl.xml + part of pfSense (http://www.pfSense.com) + 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>dansguardianurlacl</name> + <version>1.0</version> + <title>Services: Dansguardian - Access Lists</title> + <include_file>/usr/local/pkg/dansguardian.inc</include_file> + <tabs> + <tab> + <text>Back to Config</text> + <url>/pkg_edit.php?xml=dansguardian.xml&id=0</url> + </tab> + <tab> + <text>Antivirus</text> + <url>/pkg_edit.php?xml=dansguardian_antivirus_acl.xml&id=0</url> + </tab> + <tab> + <text>Pics</text> + <url>/pkg.php?xml=dansguardian_pics_acl.xml&id=0</url> + </tab> + <tab> + <text>Phase</text> + <url>/pkg.php?xml=dansguardian_phrase_acl.xml</url> + </tab> + <tab> + <text>Site</text> + <url>/pkg.php?xml=dansguardian_site_acl.xml</url> + </tab> + <tab> + <text>URL</text> + <url>/pkg.php?xml=dansguardian_url_acl.xml</url> + <active/> + </tab> + <tab> + <text>Extension</text> + <url>/pkg.php?xml=dansguardian_file_acl.xml</url> + </tab> + <tab> + <text>Content</text> + <url>/pkg.php?xml=dansguardian_file_acl.xml</url> + </tab> + <tab> + <text>Header</text> + <url>/pkg.php?xml=dansguardian_header_acl.xml</url> + </tab> + <tab> + <text>Searche Engine</text> + <url>/pkg.php?xml=dansguardian_search_acl.xml</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> +</tabs> +<adddeleteeditpagefields> + <columnitem> + <fielddescr>Access List Name</fielddescr> + <fieldname>name</fieldname> + </columnitem> + <columnitem> + <fielddescr>Access List Description</fielddescr> + <fieldname>description</fieldname> + </columnitem> + </adddeleteeditpagefields> + <fields> + <field> + <name>URL Access Lists</name> + <type>listtopic</type> + </field> + <field> + <fielddescr>Name</fielddescr> + <fieldname>name</fieldname> + <description></description> + <type>input</type> + <size>25</size> + </field> + <field> + <fielddescr>description</fielddescr> + <fieldname>description</fieldname> + <type>input</type> + <size>80</size> + </field> + <field> + <name>Banned</name> + <type>listtopic</type> + </field> + <field> + <fielddescr>Enable</fielddescr> + <fieldname>bannedurl_enabled</fieldname> + <type>checkbox</type> + <description></description> + </field> + <field> + <fielddescr>Include</fielddescr> + <fieldname>banned_includes</fieldname> + <description><![CDATA[Select Include files to URL phrase filter.]]></description> + <type>select_source</type> + <source><![CDATA[$config['installedpackages']['dansguardianblacklistsurls']['config']]]></source> + <source_name>descr</source_name> + <source_value>file</source_value> + <multiple/> + <size>20</size> + </field> + <field> + <fielddescr>Config</fielddescr> + <fieldname>banned_urllist</fieldname> + <description><![CDATA[Enter Banned Url List for this group.<br> + Leave empty to load dansguardian defaults]]></description> + <type>textarea</type> + <cols>80</cols> + <rows>10</rows> + <encoding>base64</encoding> + </field> + <field> + <fielddescr>Regexp</fielddescr> + <fieldname>bannedregexp_urllist</fieldname> + <description><![CDATA[Enter Banned Regex Url List for this group.<br> + Leave empty to load dansguardian defaults]]></description> + <type>textarea</type> + <cols>80</cols> + <rows>10</rows> + <encoding>base64</encoding> + </field> + + <field> + <name>Grey</name> + <type>listtopic</type> + </field> + <field> + <fielddescr>Enable</fielddescr> + <fieldname>greyurl_enabled</fieldname> + <type>checkbox</type> + <description></description> + </field> + <field> + <fielddescr>Grey</fielddescr> + <fieldname>grey_urllist</fieldname> + <description><![CDATA[Enter Gray url List for this group.<br> + Leave empty to load dansguardian defaults]]></description> + <type>textarea</type> + <cols>80</cols> + <rows>10</rows> + <encoding>base64</encoding> + </field> + <field> + <name>Exception</name> + <type>listtopic</type> + </field> + <field> + <fielddescr>Enable</fielddescr> + <fieldname>exceptionurl_enabled</fieldname> + <type>checkbox</type> + <description></description> + </field> + <field> + <fielddescr>Config</fielddescr> + <fieldname>exception_urllist</fieldname> + <description><![CDATA[Enter exception url List for this group.<br> + Leave empty to load dansguardian defaults]]></description> + <type>textarea</type> + <cols>80</cols> + <rows>10</rows> + <encoding>base64</encoding> + </field> + <field> + <fielddescr>regexp</fielddescr> + <fieldname>exceptionregexp_urllist</fieldname> + <description><![CDATA[Enter exception regex url List for this group.<br> + Leave empty to load dansguardian defaults]]></description> + <type>textarea</type> + <cols>80</cols> + <rows>10</rows> + <encoding>base64</encoding> + </field> + <field> + <fielddescr>file</fielddescr> + <fieldname>exceptionfile_urllist</fieldname> + <description><![CDATA[Enter exception file url List for this group.<br> + Leave empty to load dansguardian defaults]]></description> + <type>textarea</type> + <cols>80</cols> + <rows>10</rows> + <encoding>base64</encoding> + </field> + <field> + <name>Modify</name> + <type>listtopic</type> + </field> + <field> + <fielddescr>Enable</fielddescr> + <fieldname>contenturl_enabled</fieldname> + <type>checkbox</type> + <description></description> + </field> + <field> + <fielddescr>config</fielddescr> + <fieldname>modify_urllist</fieldname> + <description><![CDATA[Enter Exception url List for this group.<br> + Leave empty to load dansguardian defaults]]></description> + <type>textarea</type> + <cols>80</cols> + <rows>10</rows> + <encoding>base64</encoding> + </field> + <field> + <name>Log</name> + <type>listtopic</type> + </field> + <field> + <fielddescr>Enable</fielddescr> + <fieldname>logurl_enabled</fieldname> + <type>checkbox</type> + <description></description> + </field> + <field> + <fielddescr>config</fielddescr> + <fieldname>log_urllist</fieldname> + <description><![CDATA[Enter log only url List for this group.<br> + Leave empty to load dansguardian defaults]]></description> + <type>textarea</type> + <cols>80</cols> + <rows>10</rows> + <encoding>base64</encoding> + </field> + <field> + <fielddescr>regexp</fielddescr> + <fieldname>logregexp_urllist</fieldname> + <description><![CDATA[Enter log only regexp url List for this group.<br> + Leave empty to load dansguardian defaults]]></description> + <type>textarea</type> + <cols>80</cols> + <rows>10</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>
\ No newline at end of file |