diff options
author | Martin Fuchs <martin.fuchs@trendchiller.com> | 2011-09-29 23:52:30 +0200 |
---|---|---|
committer | Martin Fuchs <martin.fuchs@trendchiller.com> | 2011-09-29 23:52:30 +0200 |
commit | 0cef6a3d1fd29f80961f1776e09ef78da5148e69 (patch) | |
tree | eaff6d4fda18410ec2d382fb3153a45dbc9ca913 | |
parent | fc94eabf28e3776296703521e0fa3d0176fe9de0 (diff) | |
download | pfsense-packages-0cef6a3d1fd29f80961f1776e09ef78da5148e69.tar.gz pfsense-packages-0cef6a3d1fd29f80961f1776e09ef78da5148e69.tar.bz2 pfsense-packages-0cef6a3d1fd29f80961f1776e09ef78da5148e69.zip |
rowhelper does not like me, so adding textboxes :-(
-rw-r--r-- | config/squid-reverse/squid_reverse.xml | 120 |
1 files changed, 88 insertions, 32 deletions
diff --git a/config/squid-reverse/squid_reverse.xml b/config/squid-reverse/squid_reverse.xml index 62379c35..72fac2ba 100644 --- a/config/squid-reverse/squid_reverse.xml +++ b/config/squid-reverse/squid_reverse.xml @@ -110,7 +110,7 @@ <field> <fielddescr>Enable HTTP reverse mode.</fielddescr> <fieldname>reverse_http</fieldname> - <description>If this field is checked, the proxy-server will act in HTTP reverse mode. (You have to add a rule with destination "WAN-address")</description> + <description>If this field is checked, the proxy-server will act in HTTP reverse mode. <br>(You have to add a rule with destination "WAN-address")</description> <type>checkbox</type> <enablefields>reverse_http_port,reverse_http_defsite</enablefields> <required/> @@ -132,11 +132,10 @@ <size>60</size> <default_value>localhost</default_value> </field> - <field> <fielddescr>Enable HTTPS reverse mode.</fielddescr> <fieldname>reverse_https</fieldname> - <description>If this field is checked, the proxy-server will act in HTTPS reverse mode. (You have to add a rule with destination "WAN-address")</description> + <description>If this field is checked, the proxy-server will act in HTTPS reverse mode. <br>(You have to add a rule with destination "WAN-address")</description> <type>checkbox</type> <enablefields>reverse_https_port,reverse_ssl_cert,reverse_https_defsite,ignore_ssl_valid</enablefields> <required/> @@ -158,9 +157,8 @@ <size>60</size> <default_value>localhost</default_value> </field> - <field> - <fielddescr>reverse SSL Certificate</fielddescr> + <fielddescr>reverse SSL certificate</fielddescr> <fieldname>reverse_ssl_cert</fieldname> <description>Choose the SSL Server Certificate here.</description> <type>select_source</type> @@ -168,56 +166,114 @@ <source_name>descr</source_name> <source_value>refid</source_value> </field> - <field> - <fielddescr>Ignore internal Certificate validation.</fielddescr> - <fieldname>ignore_ssl_valid</fieldname> - <description>If this field is checked, internal certificate validation will be ignored.</description> + <fielddescr>Reset TCP connections if request is unauthorized.</fielddescr> + <fieldname>deny_info_tcp_reset</fieldname> + <description>If this field is checked, the reverse-proxy will reset the TCP connection if the request is unauthorized.</description> <type>checkbox</type> - <required/> <default_value>on</default_value> </field> <field> <fielddescr>extension methods</fielddescr> <fieldname>extension_methods</fieldname> - <description>This field defines additional extension methods for the proxy to use. (RPC_IN_DATA RPC_OUT_DATA for RPC over HTTP -> Outlook Anywhere)</description> + <description>This field defines additional extension methods for the proxy to use. <br>(RPC_IN_DATA RPC_OUT_DATA for RPC over HTTP -> Outlook Anywhere)</description> <type>input</type> <size>80</size> <default_value>RPC_IN_DATA RPC_OUT_DATA</default_value> </field> <field> - <fielddescr>Reset TCP connections if request is unauthorized.</fielddescr> - <fieldname>deny_info_tcp_reset</fieldname> - <description>If this field is checked, the reverse-proxy will reset the TCP connection if the request is unauthorized.</description> + <fielddescr>Ignore internal Certificate validation.</fielddescr> + <fieldname>reverse_ignore_ssl_valid</fieldname> + <description>If this field is checked, internal certificate validation will be ignored.</description> <type>checkbox</type> <default_value>on</default_value> </field> - + <field> - <fielddescr>published server peer IP</fielddescr> + <fielddescr><b>peer definitions</b> <br>publishing hosts</fielddescr> <fieldname>reverse_cache_peer</fieldname> - <description>This is the internal published server peer IP.</description> - <type>input</type> - <size>15</size> - <default_value>internalhost</default_value> + <description>Enter each peer definition on a new line. Directives have to be separated by a semicolon(;). <br>syntax: [peer alias];[internal ip address]:[port];[HTTP / HTTPS] <br>example: HOST1;192.168.0.1:80;HTTP <br><i>WRONG SYNTAX USAGE WILL RESULT IN SQUID NOT STARTING</i> + </description> + <type>textarea</type> + <cols>60</cols> + <rows>10</rows> + <encoding>base64</encoding> </field> + <field> + <fielddescr><b>URI definitions</b> <br>published URIs</fielddescr> + <fieldname>revrse_uri</fieldname> + <description>Enter each reverse acl definition on a new line. Directives have to be separated by a semicolon(;).<br>syntax: [group the uri belongs to];[URI to publish] (a group can contain multiple URIs) <br>example: URI1;public <br><i>WRONG SYNTAX USAGE WILL RESULT IN SQUID NOT STARTING</i> + </description> + <type>textarea</type> + <cols>60</cols> + <rows>10</rows> + <encoding>base64</encoding> + </field> + <field> + <fielddescr><b>ACL definitions</b> <br>published URIs</fielddescr> + <fieldname>reverse_acl</fieldname> + <description>Enter each reverse acl definition on a new line. Directives have to be separated by a semicolon(;). <br>syntax: [peer alias];[uri group alias] <br>example: HOST1;URI1 <br><i>WRONG SYNTAX USAGE WILL RESULT IN SQUID NOT STARTING</i> + </description> + <type>textarea</type> + <cols>60</cols> + <rows>10</rows> + <encoding>base64</encoding> + </field> +<!-- <field> - <fielddescr>published server peer port</fielddescr> - <fieldname>reverse_cache_peer_port</fieldname> - <description>This is the internal published server peer port.</description> - <type>input</type> - <size>5</size> - <default_value>80</default_value> + <fielddescr>internal hosts</fielddescr> + <type>rowhelper</type> + <rowhelper> + <rowhelperfield> + <fielddescr>IP address</fielddescr> + <fieldname>reverse_cache_peer_ip</fieldname> + <type>input</type> + <size>15</size> + </rowhelperfield> + <rowhelperfield> + <fielddescr>Protocol</fielddescr> + <fieldname>reverse_cache_peer_proto</fieldname> + <type>select</type> + <options> + <option> <name>HTTP</name> <value>HTTP</value> </option> + <option> <name>HTTPS</name> <value>HTTPS</value> </option> + </options> + </rowhelperfield> + <rowhelperfield> + <fielddescr>port</fielddescr> + <fieldname>reverse_cache_peer_port</fieldname> + <type>input</type> + <size>5</size> + </rowhelperfield> + <rowhelperfield> + <fielddescr>peer name</fielddescr> + <fieldname>reverse_cache_peer_name</fieldname> + <type>input</type> + <size>25</size> + </rowhelperfield> + </rowhelper> </field> - + <field> - <fielddescr>published URL</fielddescr> - <fieldname>reverse_acl</fieldname> - <description>This is the URL to publish.</description> - <type>input</type> - <size>60</size> + <fielddescr>published URI</fielddescr> + <type>rowhelper</type> + <rowhelper> + <rowhelperfield> + <fielddescr>URI</fielddescr> + <fieldname>reverse_cache_peer_uri</fieldname> + <type>input</type> + <size>50</size> + </rowhelperfield> + <rowhelperfield> + <fielddescr>peer name</fielddescr> + <fieldname>reverse_cache_peer</fieldname> + <type>input</type> + <size>25</size> + </rowhelperfield> + </rowhelper> </field> +--> </fields> <custom_php_command_before_form> |