diff options
author | Cino <cinony@gmail.com> | 2015-01-16 10:23:59 -0500 |
---|---|---|
committer | Cino <cinony@gmail.com> | 2015-01-16 10:23:59 -0500 |
commit | 5bf67414fb8f34516189c97fb1b8f65b28756871 (patch) | |
tree | 3c95ec8f0440950593783947b80145541a1ad09d /config/squid3 | |
parent | 2d9a4f386909944326444868e7473df5512107f1 (diff) | |
download | pfsense-packages-5bf67414fb8f34516189c97fb1b8f65b28756871.tar.gz pfsense-packages-5bf67414fb8f34516189c97fb1b8f65b28756871.tar.bz2 pfsense-packages-5bf67414fb8f34516189c97fb1b8f65b28756871.zip |
add new X-Forward Mode options
Diffstat (limited to 'config/squid3')
-rw-r--r-- | config/squid3/34/squid.xml | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/config/squid3/34/squid.xml b/config/squid3/34/squid.xml index 9bd31d5f..8103ce2c 100644 --- a/config/squid3/34/squid.xml +++ b/config/squid3/34/squid.xml @@ -485,10 +485,18 @@ <default_value>en</default_value> </field> <field> - <fielddescr>Disable X-Forward</fielddescr> - <fieldname>disable_xforward</fieldname> - <description>If not set, Squid will include your system's IP address or name in the HTTP requests it forwards.</description> - <type>checkbox</type> + <fielddescr>X-Forward Mode</fielddescr> + <fieldname>xforward_mode</fieldname> + <description><p><b> on:</b> Squid will append your client's IP address in the HTTP requests it forwards. (Default)<p> By default it looks like: X-Forwarded-For: 192.1.2.3 <p> <b> off:</b> It will appear as: X-Forwarded-For: unknown<p> <b> transparent:</b> Squid will not alter the X-Forwarded-For header in any way.<p> <b> delete:</b> Squid will delete the entire X-Forwarded-For header.<p> <b> truncate:</b> Squid will remove all existing X-Forwarded-For entries, and place the client IP as the sole entry.</description> + <type>select</type> + <default_value>on</default_value> + <options> + <option><name>(on)</name><value>on</value></option> + <option><name>off</name><value>off</value></option> + <option><name>transparent</name><value>transparent</value></option> + <option><name>delete</name><value>delete</value></option> + <option><name>truncate</name><value>truncate</value></option> + </options> </field> <field> <fielddescr>Disable VIA</fielddescr> |