Re: [squid-users] problem with follow_xff patch

2005-10-03 Thread Ruud Baart
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

2005-09-29 Thread Ruud Baart
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



[squid-users] problem with follow_xff patch

2005-09-29 Thread Ruud Baart
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 



[squid-users] LDAP auhentication + transparent proxy

2005-09-27 Thread Ruud Baart
I've read somewhere in the archives that (LDAP) authentication won't work in 
combination with transparent proxy. I could not found the reason for this. Does 
someone 
know the reason?

Met vriendelijke groet/Regards,
Ruud Baart

Prompt, Kerkstraat 173
5261 CW Vught, Netherlands
Tel: +31 73 6567041
http://www.prompt.nl