[squid-users] problem with follow_xff patch

From: Ruud Baart <R.J.Baart@dont-contact.us>
Date: Thu, 29 Sep 2005 13:00:48 +0200

I've made a new 2.5.STABLE10 squid and squid debian package. I took the debian
unstable package as starting point and include the follow_xff patch (see:
http://squid.sourceforge.net/projects.html#follow_xff).
After lots of efforts I managed to build a new package. Furthermore I used a logging
patch for xforward (see
http://dansguardian.org/downloads/squidxforwardloggingpatch.txt)

All seems to go well:
    squid -v
    Squid Cache: Version 2.5.STABLE10
    configure options: --prefix=/usr --exec_prefix=/usr --bindir=/usr/sbin --
    sbindir=/usr/sbin --libexecdir=/usr/lib/squid --sysconfdir=/etc/squid --
    localstatedir=/var/spool/squid --datadir=/usr/share/squid --enable-async-io --
    with-pthreads --enable-storeio=ufs,aufs,diskd,null --enable-linux-netfilter --enable-
    arp-acl --enable-removal-policies=lru,heap --enable-snmp --enable-delay-pools --
    enable-htcp --enable-poll --enable-cache-digests --enable-underscores --enable-
    referer-log --enable-useragent-log --enable-auth=basic,digest,ntlm --enable-carp --
    with-large-files --enable-follow-x-forwarded-for i386-debian-linux
 
During the build there there are no errors and this message is in the log:
    follow X-Forwarded-For enabled
So I assume the --enable-follow-x-forwarded-for is working.

After installing the new squid when I try to configure it in squid.conf:
    follow_x_forwarded_for allow localhost
I got an errormessage:
    ParseConfigFile: line 1911 unrecognized: 'follow_x_forwarded_for allow localhost'
 
What went wrong? Any ideas?

Met vriendelijke groet/Regards,
Ruud Baart

Prompt, Kerkstraat 173
5261 CW Vught, Netherlands
Tel: +31 73 6567041
http://www.prompt.nl
Received on Thu Sep 29 2005 - 05:00:52 MDT

This archive was generated by hypermail pre-2.1.9 : Sat Oct 01 2005 - 12:00:04 MDT