The NZ Linux Resource

[AuckLUG] Help with Squid (As a transparent proxy) and Debian...

Joel van Velden joel at tpnz.co.nz
Mon Jul 17 20:56:21 NZST 2006


On Mon, 2006-07-17 at 20:48 +1200, Chris Hodgetts wrote:
> > > httpd_accel_host virtual
> > > httpd_accel_port 80
> > > httpd_accel_with_proxy on
> > > httpd_accel_uses_host_header on
> > 
> > Those are the correct settings, which I am using for my transparent
> > 2.5.10 squid on at least one site; a quick check of the 2.6
> > configuration file shows they are still good there...
> > 
> > Can you post the specific error messages, perhaps, which might help
> > understand what the problem is -- because those lines /are/ valid in the
> > default Debian/stable squid system. :)
> 
> With those lines in I get this:
> 
> caitlin:/etc/squid# /etc/init.d/squid restart
> Restarting Squid HTTP proxy: squid2006/07/17 20:45:53| parseConfigFile:
> line 2533 unrecognized: 'httpd_accel_host v irtual'
> 2006/07/17 20:45:53| parseConfigFile: line 2534 unrecognized:
> 'httpd_accel_port 80'
> 2006/07/17 20:45:53| parseConfigFile: line 2535 unrecognized:
> 'httpd_accel_with_proxy on'
> 2006/07/17 20:45:53| parseConfigFile: line 2536 unrecognized:
> 'httpd_accel_uses_host_header on'
> .
> caitlin:/etc/squid#
> 
> 
> Without those lines, it starts OK.. 
> And I can specify my browser to use it as an HTTP proxy and it appears
> to work correctly, however I think I need contrack in my kernel, which I
> do not have............

Probably compiled as modules.

Try this command to find the names of the ip modules available. you can
insert their names into /etc/modules to load them on boot up.

find /lib/modules/`uname -r` -name ip_conntrack*

-Joel




More information about the AuckLUG mailing list If you have any questions or comments about this page, email the Webmaster
Design Copyright © 1998-2005 Linux.net.nz