LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-16-2005, 03:06 AM   #1
gubak
Member
 
Registered: Jul 2004
Posts: 332

Rep: Reputation: 30
Squid proxy authentication


I use RedHat9, squid
I have configured squid with authentication option and it works perfectlly. This is my set up:

auth_param basic program /usr/lib/squid/ncsa_auth /etc/squid/passwd
auth_param basic children 5
auth_param basic realm Squid proxy-caching web server
auth_param basic credentialsttl 2 hours

.....

acl password proxy_auth REQUIRED
http_access allow password
....

But now I need to do a new setting.
I want squid not to authenticate those users, who go to the specific url (for example www.google.com)?

Is it possible?
How?

Thank you!

Last edited by gubak; 10-04-2006 at 01:58 AM.
 
Old 11-16-2005, 03:15 AM   #2
~=gr3p=~
Member
 
Registered: Feb 2005
Location: ~h3av3n~
Distribution: RHEL 4, Fedora Core 3,6,7 Centos 5, Ubuntu 7.04
Posts: 227

Rep: Reputation: 30
i don't know why u wud like to do it the above way when u can block access to specific sites using software like SquidGuard or DAN's guardian.

I use pam_auth module as the authentication program with LDAP

So i have no clue how to reject authentication when a user tries to access banned website

anyways even i wud like to know how it can be done the way u want it lol
 
Old 11-16-2005, 03:34 AM   #3
fouldsy
Senior Member
 
Registered: Jan 2002
Location: St Louis, MO
Distribution: Ubuntu
Posts: 1,284

Rep: Reputation: 47
The only way I could think of is running multiple instances of Squid. Your first instance listens to requests for websites and filters according to the ACL's you setup. If the URL is not allowed, they are no authenticated and the website fetched. If the URL is allowed, it redirects the request to a second instance of Squid that then handles the authentication and retrieving/caching of the object. The Squid FAQ's detail running multiple instances, though not really aimed at what you're after. Quite why you'd want this, I don't know though.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Proxy Squid Authentication error message alexjordan02 Linux - Software 0 01-23-2004 01:42 PM
How to setup Proxy Authentication in Squid enginner Linux - Networking 1 11-13-2003 08:44 AM
Squid proxy with user authentication and user rights duvanhorn Linux - Networking 0 08-07-2003 03:40 AM
Squid Proxy, User Authentication chrehmatali Linux - Security 3 05-03-2003 07:12 AM
squid proxy authentication aqoliveira Linux - General 1 02-02-2002 02:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:39 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration