diff options
author | D. V. Serg <dvserg@pfsense.org> | 2007-11-09 14:46:25 +0000 |
---|---|---|
committer | D. V. Serg <dvserg@pfsense.org> | 2007-11-09 14:46:25 +0000 |
commit | a0d0a547b3f925b43a93a47ac52c562d824c3deb (patch) | |
tree | d4ef579741c8f839a1de7de94b2adc823c66d493 /packages/squidGuard/squidguard_src.xml | |
parent | 0b03fa5a6cd05bf3de3ce02cb61f9a35e411dec2 (diff) | |
download | pfsense-packages-a0d0a547b3f925b43a93a47ac52c562d824c3deb.tar.gz pfsense-packages-a0d0a547b3f925b43a93a47ac52c562d824c3deb.tar.bz2 pfsense-packages-a0d0a547b3f925b43a93a47ac52c562d824c3deb.zip |
New ver update
Diffstat (limited to 'packages/squidGuard/squidguard_src.xml')
-rw-r--r-- | packages/squidGuard/squidguard_src.xml | 72 |
1 files changed, 57 insertions, 15 deletions
diff --git a/packages/squidGuard/squidguard_src.xml b/packages/squidGuard/squidguard_src.xml index 3a291c42..000528db 100644 --- a/packages/squidGuard/squidguard_src.xml +++ b/packages/squidGuard/squidguard_src.xml @@ -2,18 +2,18 @@ <!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> + <description>Describe your package here</description> + <requirements>Describe your package requirements here</requirements> + <faq>Currently there are no FAQ items provided.</faq> <name>squidguardsrc</name> <version>none</version> - <title>Proxy server filter SquidGuard: Sources</title> - <include_file>squidguard.inc</include_file> + <title>Proxy Content filter SquidGuard: Sources</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> @@ -49,8 +49,13 @@ <url>/pkg_edit.php?xml=squidguard_log.xml</url> </tab> </tabs> + <adddeleteeditpagefields> <columnitem> + <fielddescr>Order</fielddescr> + <fieldname>order</fieldname> + </columnitem> + <columnitem> <fielddescr>Source name</fielddescr> <fieldname>name</fieldname> </columnitem> @@ -59,10 +64,15 @@ <fieldname>iplist</fieldname> </columnitem> <columnitem> + <fielddescr>domains list</fielddescr> + <fieldname>domains</fieldname> + </columnitem> + <columnitem> <fielddescr>Description</fielddescr> <fieldname>description</fieldname> </columnitem> </adddeleteeditpagefields> + <fields> <field> <fielddescr>Source name</fielddescr> @@ -72,21 +82,46 @@ All other symbols is [a-Z_0-9]. Source name must be <b>unique</b> . </description> <type>input</type> - <size>80</size> <required/> + <size>80</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: <br> + 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: <br> + 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>IP addresses</fielddescr> <fieldname>iplist</fieldname> <description> Enter IP addresses here with space(' ') divider. <br> - IP addresses must be in format:<br> - ip xxx.xxx.xxx.xxx [...] or ip xxx.xxx.xxx.xxx/nn [...] or <br> - ip xxx.xxx.xxx.xxx/mmm.mmm.mmm.mmm [...] or ip xxx.xxx.xxx.xxx-yyy.yyy.yyy.yyy [...] <br> - where: <br> - xxx.xxx.xxx.xxx is an IP address (host or net, i.e. 10.11.12.13 or 10.11.12.0), /nn a net prefix (i.e. /23), <br> - mmm.mmm.mmm.mmm is a netmask (i.e. 255.255.254.0) and yyy.yyy.yyy.yyy is a host address <br> - (must be >= xxx.xxx.xxx.xxx) + IP addresses must have format:<br> + single example: '192.168.0.1' <br> + range examples: <br> + '192.168.0.0/24', '192.168.1.0/255.255.255.0', '192.168.1.1-192.168.1.10' <br> + </description> + <type>textarea</type> + <cols>50</cols> + <rows>10</rows> + </field> + <field> + <fielddescr>Domains</fielddescr> + <fieldname>domains</fieldname> + <description> + Enter domains names here with space(' ') divider. <br> + Example: <b>'foo.bar'</b> match <b>'foo.bar'</b> or <b>'*.foo.bar'</b>. </description> <type>textarea</type> <cols>50</cols> @@ -106,6 +141,10 @@ <size>80</size> </field> </fields> + + <custom_php_command_before_form> + squidguard_before_form_src(&$pkg); + </custom_php_command_before_form> <custom_php_after_form_command> squidGuard_print_javascript(); </custom_php_after_form_command> @@ -113,6 +152,9 @@ squidguard_validate_source($_POST, &$input_errors); </custom_php_validation_command> <custom_php_resync_config_command> -// squidguard_resync_time(); + squidguard_resync_src(); </custom_php_resync_config_command> + <custom_delete_php_command> + squidguard_resync_src(); + </custom_delete_php_command> </packagegui> |