Re: [squid-users] Pre-Proxy with Squid

From: Squid Support (Henrik Nordstrom) <hno@dont-contact.us>
Date: Sat, 11 May 2002 11:46:53 +0200

I would recommend trying

cache_peer ip.of.proxy.server parent port_of_proxy 0 no-query
never_direct allow all

And if you two or more parents for different connections, define both
and use cache_peer_access (or cache_peer_domain) to define what
should go where.

Regards
Henrik Nordström

On Thursday 09 May 2002 16:01, Axel Gruber wrote:
> Hello Squid NG
>
> First of all - iīm new here so please dont put stones over me if my
> question is wrong !
>
>
> Here i have a SUSE machine wich works as a router to connect my
> Local Network to the Internet by using a 2-WAY Satelite-system.
>
> The Satelite-Modem have a build in HTTP-Proxy to speed up the
> WEB-Browsing over Satelite.
>
> Squid takes this Proxy as "pre-Proxy" i have made this Entry in my
> squid.conf:
>
> cache_peer 192.168.10.164 parent 5149 3130
>
> So all Clients access to squid and squid takes the Proxy from the
> SAT-Modem.
>
> OK - this all works well but now itīs realy complicated:
>
> I have to use a second ISDN-Dial-UP server to access to some
> special Sites. And i also have to use a "pre-proxy" to access to
> this sites.
>
> But this donīt work right trough SQUID.
>
> If i enter the Pre-Proxy of the ISDN-dialup-Conection directly to
> the Browser everything works fine - but if i do it trough squid
> some sites work some not.
>
> For example: (URL changed - privat only)
>
> http://hdl3270.mhn.amotors.de:2080/cache.html?lang=de_DE&parms=3270
>def,enhanced,default,auto&amp;WCPUSER=
>
> this URL work if i put the "PRE-Proxy" directly in the browser -
> but if i use it via squid - i only get:
>
> The following error was encountered:
>
> Unable to determine IP address from host name for
> hdl3270.mhn.mazdamotors.de The dnsserver returned:
>
> Name Error: The domain name does not exist.
>
> Here the part of the Access-LOG: 1020952579.222 1383
> 192.168.10.12 TCP_MISS/503 1204 GET
> http://hdl3270.mhn.mazdamotors.de:2080/cache.html? - NONE/-
> text/html
>
> You can see that Squid donīt use the PRE-Proxy for this adress -
> WHY NOT ???
>
> Other Parts of the same site work - and Squid uses the PRE-PROXY
>
> LOG:
> 1020952698.163 218 192.168.10.12 TCP_MISS/304 229 GET
> http://portal.mhn.mazdamotors.de/ - PARENT_HIT/10.1.2.3 -
> 1020952698.362 198 192.168.10.12 TCP_MISS/304 228 GET
> http://portal.mhn.mazdamotors.de/images/logtop01.gif -
> PARENT_HIT/10.1.2.3 - 1020952698.460 287 192.168.10.12
> TCP_MISS/304 228 GET
> http://portal.mhn.mazdamotors.de/images/portalgif/mvisinfo.gif -
> PARENT_HIT/10.1.2.3 - 1020952698.551 376 192.168.10.12
> TCP_MISS/304 228 GET
> http://portal.mhn.mazdamotors.de/images/portalgif/teilinfo.gif -
> PARENT_HIT/10.1.2.3 - 1020952698.650 287 192.168.10.12
> TCP_MISS/304 228 GET
> http://portal.mhn.mazdamotors.de/images/portalgif/machinfo.gif -
> PARENT_HIT/10.1.2.3 - 1020952698.741 280 192.168.10.12
> TCP_MISS/304 228 GET
> http://portal.mhn.mazdamotors.de/images/portalgif/mktinfo.gif -
> PARENT_HIT/10.1.2.3 - 1020952698.830 279 192.168.10.12
> TCP_MISS/304 228 GET
> http://portal.mhn.mazdamotors.de/images/portalgif/kdinfo.gif -
> PARENT_HIT/10.1.2.3 - 1020952698.896 246 192.168.10.12
> TCP_MISS/304 226 GET
> http://portal.mhn.mazdamotors.de/images/bckinside.gif -
> PARENT_HIT/10.1.2.3 -
>
>
> Does anyone have a Idea why Squid donīt uses the PRE-Proxy at all
> Adreses ?
>
> CU
>
> Axel

-- 
MARA Systems AB, Giving you basic free Squid support
Your source of advanced web reverse proxying solutions
http://www.marasystems.com/producs/
Received on Sat May 11 2002 - 04:19:16 MDT

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