[squid-users] Transparent proxying

From: Edmund Turner <Edmund.Turner@dont-contact.us>
Date: Wed, 1 Oct 2003 17:29:40 +0800

Hey everyone,
Transparent proxying still got me stumped!.
I installed via a rpm so I didn't specify any options during the
'configure' of the makefile.

Again, I can access web sites perfectly fine if I specify the proxy ip
and port in the web browser but when I use transparent proxying by the
firewall:

iptables -t nat -A PREROUTING -i $INTERFACE -p tcp --dport 80 -j
REDIRECT --to-port 8080

I get this error in the browser:

ERROR
The requested URL could not be retrieved

------------------------------------------------------------------------
--------

While trying to retrieve the URL: /WORLD/africa/archive/

The following error was encountered:

Invalid URL
Some aspect of the requested URL is incorrect. Possible problems:

Missing or incorrect access protocol (should be `http://'' or similar)
Missing hostname
Illegal double-escape in the URL-Path
Illegal character in hostname; underscores are not allowed
Your cache administrator is root.

[root@gate2 root]# tail -f /var/log/squid/access.log
1065000053.901 1 172.24.0.222 NONE/400 1473 GET
/WORLD/africa/archive/ - NONE/- text/html

[root@gate2 root]# tail -f /var/log/squid/store.log
1065000053.901 RELEASE -1 FFFFFFFF FC0EA797EEBD25193BCF3D3355BAA2D2 400
1065000053 0 1065000053 text/html 1176/1408 GET
/WORLD/africa/archive/

Does anyone know whats wrong?

Any help is appreciated.

Regards
edmund
Received on Wed Oct 01 2003 - 03:30:02 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:20:16 MST