aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorCino <cinony@gmail.com>2015-01-16 10:23:59 -0500
committerCino <cinony@gmail.com>2015-01-16 10:23:59 -0500
commit5bf67414fb8f34516189c97fb1b8f65b28756871 (patch)
tree3c95ec8f0440950593783947b80145541a1ad09d /config
parent2d9a4f386909944326444868e7473df5512107f1 (diff)
downloadpfsense-packages-5bf67414fb8f34516189c97fb1b8f65b28756871.tar.gz
pfsense-packages-5bf67414fb8f34516189c97fb1b8f65b28756871.tar.bz2
pfsense-packages-5bf67414fb8f34516189c97fb1b8f65b28756871.zip
add new X-Forward Mode options
Diffstat (limited to 'config')
-rw-r--r--config/squid3/34/squid.xml16
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>&lt;p&gt;&lt;b&gt; on:&lt;/b&gt; Squid will append your client's IP address in the HTTP requests it forwards. (Default)&lt;p&gt; By default it looks like: X-Forwarded-For: 192.1.2.3 &lt;p&gt; &lt;b&gt; off:&lt;/b&gt; It will appear as: X-Forwarded-For: unknown&lt;p&gt; &lt;b&gt; transparent:&lt;/b&gt; Squid will not alter the X-Forwarded-For header in any way.&lt;p&gt; &lt;b&gt; delete:&lt;/b&gt; Squid will delete the entire X-Forwarded-For header.&lt;p&gt; &lt;b&gt; truncate:&lt;/b&gt; 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>