Re: [squid-users] problem with follow_xff patch
Can't compile squid-2.5.STABLE11. bootstrap.sh gives an error automake: src/auth/Makefile.am: C objects in subdir but `AM_PROG_CC_C_O' not in `configure.in' I don't know how to fix this: automake and autoconfigure are the correct version. With version 2.5.STABLE10 no problem with the bootstap.sh. On Thu, 29 Sep 2005, R.J. Baart wrote: Problem solved; no easy job. Henrik Nordstrom assumption was correct: bootstrap.sh should have been run. But my debian system did not have the correct autoconf and automake versions. After installing the correct (but old) Squid-2.5 is quite old. Initially released Sep 2002. autoconf and automake version I managed to compile a working debian package. Good. For those who are interested: mail me for a patched squid version 2.5.STABLE10 suitable for debian sarge. You probably should upgrade to 2.5.STABLE11 + delay_pools patch. See http://www.squid-cache.org/Versions/v2/2.5/bugs/ for details. Regards Henrik Met vriendelijke groet/Regards, Ruud Baart Prompt, Kerkstraat 173 5261 CW Vught, Netherlands Tel: +31 73 6567041 http://www.prompt.nl
Re: [squid-users] problem with follow_xff patch
On Mon, 3 Oct 2005, Ruud Baart wrote: Can't compile squid-2.5.STABLE11. bootstrap.sh gives an error automake: src/auth/Makefile.am: C objects in subdir but `AM_PROG_CC_C_O' not in `configure.in' Odd. AM_PROG_CC_C_O is in configure.in. Maybe the patch is broken and changes configure.in in ways not indended. Haven't looked at it. Regards Henrik
Re: [squid-users] problem with follow_xff patch
On Thu, 29 Sep 2005, R.J. Baart wrote: Problem solved; no easy job. Henrik Nordstrom assumption was correct: bootstrap.sh should have been run. But my debian system did not have the correct autoconf and automake versions. After installing the correct (but old) Squid-2.5 is quite old. Initially released Sep 2002. autoconf and automake version I managed to compile a working debian package. Good. For those who are interested: mail me for a patched squid version 2.5.STABLE10 suitable for debian sarge. You probably should upgrade to 2.5.STABLE11 + delay_pools patch. See http://www.squid-cache.org/Versions/v2/2.5/bugs/ for details. Regards Henrik
[squid-users] problem with follow_xff patch
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
Re: [squid-users] problem with follow_xff patch
* 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[EMAIL PROTECTED] 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.
Re: [squid-users] problem with follow_xff patch
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[EMAIL PROTECTED] 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
Re: [squid-users] problem with follow_xff patch
On Thu, 29 Sep 2005, Ruud Baart wrote: 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: Is your configure file correct? If not you need to run the bootstrap.sh script to have configure etc rebuilt from their sources (configure.in is the source of configure). Regards Henrik
Re: [squid-users] problem with follow_xff patch
Problem solved; no easy job. Henrik Nordstrom assumption was correct: bootstrap.sh should have been run. But my debian system did not have the correct autoconf and automake versions. After installing the correct (but old) autoconf and automake version I managed to compile a working debian package. For those who are interested: mail me for a patched squid version 2.5.STABLE10 suitable for debian sarge. Met vriendelijke groet/Regards Prompt R.J. Baart Kerkstraat 173 5261CW Vught tel: +31 73 6567041 mailto:[EMAIL PROTECTED]