Re: [squid-users] how to remove X-Forwarded-For: header

From: Adrian Chadd <adrian@dont-contact.us>
Date: Wed, 6 Mar 2002 00:56:38 -0700

On Tue, Mar 05, 2002, Phil Howard wrote:
> I have this in my squid.conf file:
>
> anonymize_headers deny via
> anonymize_headers deny x_forwarded_for
> anonymize_headers deny user-agent
> forwarded_for off
>
> I get this message at startup:
>
> parse_http_header: Ignoring unknown header 'x_forwarded_for'

Hi,

# TAG: forwarded_for on|off
# If set, Squid will include your system's IP address or name
# in the HTTP requests it forwards. By default it looks like
# this:
#
# X-Forwarded-For: 192.1.2.3
#
# If you disable this, it will appear as
#
# X-Forwarded-For: unknown
#
#Default:
# forwarded_for on

You _can_ add more headers to the list of squid's _known_ header
list, but that isn't a runtime directive.

Adrian
Received on Wed Mar 06 2002 - 00:56:39 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:06:43 MST