Search squid archive

Parent squid + child squid = bad redirection ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I have a child-to-parent

proxy configuration to access internet. I use that configuration for

almost 2 years now and i had never had a problem displaying a page, but

last week i found out that there is ONLY A SPECIFIC PAGE that it is not

displaying well ONLY when the client access the page through

child-to-parent proxy.







The page that the problems

occurs is the following

http://lawdb.intrasoftnet.com





It is a greek site with greek laws.





Steps to reproduce the problem





1. Setup a squid proxy with minimal config allowing access to local net

clients, let's say it is in pc with ip 192.168.100.1





2. Setup a second squid proxy with ip lets say 192.168.100.10 (in

another pc or inside a vmware machine running at the same pc that runs

parent proxy or where ever you want) and define 192.168.100.1 as parent

as follows

cache_peer 192.168.100.1

parent 3128 0 no-digest

never direct allow all





3. Setup client to use the child proxy.(firefox, IE8, safari)

Both proxies run in linux OS

with kernel version 2.6.xx The problem occus with firefox, safari, IE 8

(so far these are tested).Both proxies have minimal config.Squid

running as parent is version 3.0 also tried 2.7 with same results,

Squid running as child is 2.7 also tried 3.0 and 3.1.8 with same results





4. open http://lawdb.intrasoftnet.com



5. click ΦΟΡΟΛΟΓΙΚΗ ΕΠΙΘΕΩΡΗΣΗ (ΠΟΕ ΔΟΥ)



6. give a username and a password (everything you want, it does not

matter)

at that point you should get

the message that user or password is incorrect but

instead of that you are redirecting to first page.

Excacly the same happens if you give correct username and password,

instead of getting the right page you get again first

page.





Now if you set up the client to use the parent proxy to access internet

and not the child proxy you get the correct page. If you set up as
child proxy

not squid but tinyproxy then you get again the correct results.

I really have to use squid as
child proxy because tinyproxy has limitations for me.

I do not know if it is a bug
in squid (in all versions) or a bug in the construction of the page,
you could easy reproduce the problem if you

setup two squid proxies, one as parent.



[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux