>> $ /etc/init.d/squid restart
>> Restarting Squid HTTP proxy: squid Waiting.........done.
>> 2006/10/06 09:36:43| parseConfigFile: line 2262 unrecognized:
>> 'httpd_accel_host virtual'
>> 2006/10/06 09:36:43| parseConfigFile: line 2263 unrecognized:
>> 'httpd_accel_port 80'
>> 2006/10/06 09:36:43| parseConfigFile: line 2293 unrecognized:
>> 'httpd_accel_with_proxy on'
>> 2006/10/06 09:36:43| parseConfigFile: line 2314 unrecognized:
>> 'httpd_accel_uses_host_header on'
>
>
> For Squid-2.6 and Squid-3.0 you simply need to add the keyword
> transparent on the http_port that your proxy will receive the
> redirected requests on as the above directives are not necessary and in
> fact have been removed in those releases:
>
> http_port 3128 transparent
>
> For Squid-2.5 and earlier the configuration is a little more complex.
[...]
The documentation (2.6 and 3.0) seems to be completly out of dated.
Following /usr/share/doc/squid/README.transparent-proxy:
--->8---
You can do transparent caching on Linux, Solaris, and BSD derivations.
The FAQ talks about this, see FAQ-17.html. It says:
The trick is to get the operating system to forward certain IP packets
to the application. This document currently contains only instruction
for configuring transparent caching on Linux and Solaris.
Here are the important settings in squid.conf:
http_port 80
icp_port 3130
httpd_accel virtual 80
httpd_accel_with_proxy on
The Linux section of the FAQ is out of date. For example it says:
[...]
----8<----
same to file:///usr/share/doc/squid/FAQ-17.html
and
http://www.deckle.co.za/squid-users-...parent_Caching
Using "http_port 3128 transparent" give's no error but it isn't working
to me:
$ iptables -t nat -L
Chain PREROUTING (policy ACCEPT)
target prot opt source destination
REDIRECT tcp -- anywhere anywhere tcp dpt:www
redir ports 3128
Chain POSTROUTING (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
/var/log/squid/access.log gives no hit.
Where can I find actually docs about configuration transparent squid
proxy on debian/linux?
Thanks
Olaf