[squid-users] Squid Newbie- Some basic questions about Squid

From: <arvind_at_dievssoftware.com>
Date: Thu, 23 May 2013 14:17:59 +0530

p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph { margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:.5in; margin-bottom:.0001pt; } p.MsoListParagraphCxSpFirst, li.MsoListParagraphCxSpFirst, div.MsoListParagraphCxSpFirst, p.MsoListParagraphCxSpMiddle, li.MsoListParagraphCxSpMiddle, div.MsoListParagraphCxSpMiddle, p.MsoListParagraphCxSpLast, li.MsoListParagraphCxSpLast, div.MsoListParagraphCxSpLast { margin-top:0in; margin-right:0in; margin-bottom:0in; margin-left:.5in; margin-bottom:.0001pt; line-height:115%; }
 
Hi
 
I am very new to Squid and have a particular use case in mind for it.
 
Having said that, I would be grateful if any one could clarify the following for me--
 
(1) From what I have seen, Squid can be used to authenticate a user- for eg against a database. Now, can such authentication be done against a remote database? (Not on same server)
(2) Also, can I set the duration for which this authentication is valid-- after which user has to log in again? (Even if he forgets to log out)?
(3) If user has to manually log out every time- but forgets to do so-- can I create a plugin/ force Squid to manually clear that user’s session data→ so that its like enforced logout after some time period(but its done manually rather than automatically)? How do I create such a plugin?
(4) If user is accessing the Squid proxy from one IP address and one browser and has logged in successfully. Now he opens another browser on same computer→ ie from same IP he accesses that proxy server-- will he have to login again (with new browser- ie normal behaviour which is expected)- or will he be automatically logged in from every browser on that IP (ie that PC)?
(5) Is there some way to stylize the Squid login box? Instead of the default box that pops up? How do I do this?
(6) Now, suppose a user has logged in. I want to implement this logic within squid itself-- Squid should now check if there is a page at http://somedomain.com/page.html → if this page exists then Squid redirects that request to the page above-- however if the page does not exist at http://somedomain.com/page.html%e2%86%92 in that case Squid redirects to another URL). Is such conditional redirection possible?
(7) Another query-- can the same Squid server first check the URL which is requested-- and depending on some parameters in the URL→ either direct the URL to some destination without any authentication? But for some other types of requested URLs(with some specific types / values of parameters in URL)→ Squid asks for authentication? Again, for both these cases (with or without authentication) Squid should be able to apply conditional redirection (as specified in point 6).
 
If any one can answer all of my questions above point wise that would be really helpful to me.
 
Yours sincerely,
Arvind,
Dievs Software.

 
Received on Thu May 23 2013 - 08:48:08 MDT

This archive was generated by hypermail 2.2.0 : Fri May 24 2013 - 12:00:48 MDT