Re: [squid-users] problem with follow_xff patch

From: Odhiambo Washington <wash@dont-contact.us>
Date: Thu, 29 Sep 2005 14:23:08 +0300

* On 29/09/05 13:00 +0200, Ruud Baart wrote:
> 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?

It means it did not successfully compile in those options.

-Wash

http://www.netmeister.org/news/learn2quote.html

--
+======================================================================+
    |\      _,,,---,,_     | Odhiambo Washington    <wash@wananchi.com>
Zzz /,`.-'`'    -.  ;-;;,_ | Wananchi Online Ltd.   www.wananchi.com
   |,4-  ) )-,_. ,\ (  `'-'| Tel: +254 20 313985-9  +254 20 313922
  '---''(_/--'  `-'\_)     | GSM: +254 722 743223   +254 733 744121
+======================================================================+
The years of peak mental activity are undoubtedly between the ages of
four and eighteen.  At four we know all the questions, at eighteen all
the answers.
Received on Thu Sep 29 2005 - 05:24:16 MDT

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