I know, but where did it go wrong, where to look for. That is the problem. As far as I can see the configure.in file is correct: follow_xff=1 AC_ARG_ENABLE(follow-x-forwarded-for, [ --enable-follow-x-forwarded-for Enable support for following the X-Forwarded-For HTTP header to try to find the IP address of the original or indirect client when a request has been forwarded through other proxies.], [ if test "$enableval" = "yes" ; then echo "follow X-Forwarded-For enabled" follow_xff=1 fi ]) if test $follow_xff = 1; then AC_DEFINE(FOLLOW_X_FORWARDED_FOR, 1, [Enable following X-Forwarded-For headers]) else AC_DEFINE(FOLLOW_X_FORWARDED_FOR, 0) fi > * 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@xxxxxxxxxxxx> > 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. > Met vriendelijke groet/Regards, Ruud Baart Prompt, Kerkstraat 173 5261 CW Vught, Netherlands Tel: +31 73 6567041 http://www.prompt.nl