[squid-users] Authentication infinite loop

From: David Parks <davidparks21_at_yahoo.com>
Date: Mon, 25 Jul 2011 19:10:40 -0700

In doing some dev work I see a situation where squid gets into an infinite
loop with the browser. The situation:

1) Browser attempts digest authentication against squid (running with a
custom auth helper)
2) auth helper fails user authentication
3) I believe squid caches the authentication failure
4) Browser requests a page using the above authentication
5) Squid replies with 407 - authentication required
6) INFINITE LOOP: (Browser retries request : squid replies with 407)

The above loop running locally can rack up a meg of data transfer in just
seconds.

I remember dealing with this issue some time back in some other work and
just don't recall what I did about it.

I'm running a custom auth helper, log daemon, and url rewrite helper.
Received on Tue Jul 26 2011 - 02:11:05 MDT

This archive was generated by hypermail 2.2.0 : Wed Jul 27 2011 - 12:00:03 MDT