<?xml version="1.0" encoding="utf-8"?> <!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>squidguardacl</name> <version>none</version> <title>Proxy Content filter SquidGuard: Access Control List (ACL)</title> <include_file>/usr/local/pkg/squidguard.inc</include_file> <delete_string>A proxy server user has been deleted.</delete_string> <addedit_string>A proxy server user has been created/modified.</addedit_string> <tabs> <tab> <text>General settings</text> <url>/pkg_edit.php?xml=squidguard.xml&id=0</url> </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> <active/> </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> <adddeleteeditpagefields> <columnitem> <fielddescr>Disable</fielddescr> <fieldname>disabled</fieldname> </columnitem> <columnitem> <fielddescr>Order</fielddescr> <fieldname>order</fieldname> </columnitem> <columnitem> <fielddescr>Name</fielddescr> <fieldname>name</fieldname> </columnitem> <columnitem> <fielddescr>Destinations</fielddescr> <fieldname>dest</fieldname> </columnitem> <columnitem> <fielddescr>Time</fielddescr> <fieldname>time</fieldname> </columnitem> <columnitem> <fielddescr>Description</fielddescr> <fieldname>description</fieldname> </columnitem> </adddeleteeditpagefields> <fields> <field> <fielddescr>Disabled</fielddescr> <fieldname>disabled</fieldname> <description>Check this for disable this ACL rule.</description> <type>checkbox</type> </field> <!-- <field> <fielddescr>Source name</fielddescr> <fieldname>source</fieldname> <description>Select source name here (required). Any ACL must have unique source name.</description> <required/> <type>select</type> </field> --> <field> <fielddescr>Name</fielddescr> <fieldname>name</fieldname> <description> You can enter name here. Name consist minimum 2 symbols, first from which letter. <br> All other symbols is [a-Z_0-9]. Source name must be <b>unique</b> . </description> <type>input</type> <required/> <size>100</size> </field> <field> <fielddescr>Order</fielddescr> <fieldname>order</fieldname> <description> Order source in list. <br> <b>Note:</b> <br> Sources order have very high importance. Sources are evaluated on a first-match basis. <br> If your sources have an overlaying ranges, then act will be first in list. <br> <b>For example:</b> <br> Wrong order: First source entry is the range 10.0.0.0/24 and second entry is 10.0.0.15 (or 10.0.0.15/32 ) <br> Right order: First source entry is the single ip 10.0.0.15 (or 10.0.0.15/32 ) then the overlaying range 10.0.0.0/24 <br> </description> <type>input</type> <size>5</size> </field> <field> <fielddescr>Source IP addresses</fielddescr> <fieldname>iplist</fieldname> <description> Enter source IP addresses here with space(' ') divider. IP addresses must have format:<br> single example: '192.168.0.1' <br> range examples: '192.168.0.0/24', '192.168.1.0/255.255.255.0', '192.168.1.1-192.168.1.10' </description> <type>textarea</type> <cols>65</cols> <rows>3</rows> </field> <field> <fielddescr>Source Domains</fielddescr> <fieldname>domains</fieldname> <description> Enter source domains names here with space(' ') divider. Example: <b>'foo.bar'</b> match <b>'foo.bar'</b> or <b>'*.foo.bar'</b>. </description> <type>textarea</type> <cols>65</cols> <rows>3</rows> </field> <field> <fielddescr>Time</fielddescr> <fieldname>time</fieldname> <description>Enter time name in current which this rule permitted.</description> <type>select</type> </field> <field> <fielddescr>Destination</fielddescr> <fieldname>dest</fieldname> <description></description> <type>input</type> <size>100</size> </field> <field> <fielddescr>Redirect</fielddescr> <fieldname>redirect</fieldname> <description> Enter redirection URL, Tag or Error page code for this rule, or leave blank. <br> Supported URL's: 'http://myurl', 'https://myurl'. <br> Supported tags: 'blank', 'blank_img'. <br> Supported error page codes: 3xx, 4xx, 5xx. Format: 'code' or 'code[space]reason message'. </description> <type>textarea</type> <cols>65</cols> <rows>2</rows> </field> <field> <fielddescr>Overtime redirect</fielddescr> <fieldname>overredirect</fieldname> <description> Enter redirection URL, Tag or Error page code for this rule, or leave blank. <br> Supported URL's: 'http://myurl', 'https://myurl'. <br> Supported tags: 'blank', 'blank_img'. <br> Supported error page codes: 3xx, 4xx, 5xx. Format: 'code' or 'code[space]reason message'. </description> <type>textarea</type> <cols>65</cols> <rows>2</rows> </field> <field> <fielddescr>Rewrite</fielddescr> <fieldname>rewrite</fieldname> <description>Enter rewrite condition name for this rule, or leave blank.</description> <type>select</type> </field> <field> <fielddescr>Overtime rewrite</fielddescr> <fieldname>overrewrite</fieldname> <description>Enter rewrite condition name for this rule, or leave blank.</description> <type>select</type> </field> <field> <fielddescr>Description</fielddescr> <fieldname>description</fieldname> <description>You may enter a description here for your reference (not parsed).</description> <type>input</type> <size>100</size> </field> </fields> <custom_php_validation_command> squidguard_validate_acl(&$_POST, &$input_errors); </custom_php_validation_command> <custom_php_command_before_form> squidguard_before_form_acl(&$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_acl(); </custom_php_resync_config_command> <custom_delete_php_command> squidguard_resync_acl(); </custom_delete_php_command> <custom_add_php_command> </custom_add_php_command> <custom_add_php_command_late> </custom_add_php_command_late> </packagegui>