diff options
Diffstat (limited to 'packages/squidGuard/squidguard_acl.xml')
-rw-r--r-- | packages/squidGuard/squidguard_acl.xml | 157 |
1 files changed, 108 insertions, 49 deletions
diff --git a/packages/squidGuard/squidguard_acl.xml b/packages/squidGuard/squidguard_acl.xml index aa3349cd..d9ba4981 100644 --- a/packages/squidGuard/squidguard_acl.xml +++ b/packages/squidGuard/squidguard_acl.xml @@ -14,51 +14,49 @@ <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>Sources</text> - <url>/pkg.php?xml=squidguard_src.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</url> - </tab> - </tabs> + <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>Source</fielddescr> <fieldname>source</fieldname> </columnitem> +--> <columnitem> <fielddescr>Destinations</fielddescr> <fieldname>dest</fieldname> @@ -88,6 +86,7 @@ <description>Check this for disable this ACL rule.</description> <type>checkbox</type> </field> +<!-- <field> <fielddescr>Source name</fielddescr> <fieldname>source</fieldname> @@ -95,6 +94,59 @@ <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> @@ -106,29 +158,33 @@ <fieldname>dest</fieldname> <description></description> <type>input</type> - <size>114</size> + <size>100</size> </field> <field> <fielddescr>Redirect</fielddescr> <fieldname>redirect</fieldname> <description> - Enter redirection URL or Error page code for this rule, or leave blank. - Supported error page codes: 403, 404, 410. - </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>70</cols> - <rows>5</rows> + <cols>65</cols> + <rows>2</rows> </field> <field> <fielddescr>Overtime redirect</fielddescr> <fieldname>overredirect</fieldname> <description> - Enter redirection URL or Error page code for this rule, or leave blank. - Supported error page codes: 403, 404, 410. - </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>70</cols> - <rows>5</rows> + <cols>65</cols> + <rows>2</rows> </field> <field> <fielddescr>Rewrite</fielddescr> @@ -147,7 +203,7 @@ <fieldname>description</fieldname> <description>You may enter a description here for your reference (not parsed).</description> <type>input</type> - <size>114</size> + <size>100</size> </field> </fields> @@ -158,11 +214,14 @@ squidguard_before_form_acl(&$pkg); </custom_php_command_before_form> <custom_php_after_form_command> - squidGuard_print_javascript(); + squidGuard_print_javascript(); </custom_php_after_form_command> <custom_php_resync_config_command> -// squidguard_resync_time(); + 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> |