LinuxQuestions.org
Review your favorite Linux distribution.
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
 
LinkBack Search this Thread
Old 08-07-2007, 04:16 AM   #1
sunlinux
Member
 
Registered: Feb 2006
Distribution: RHCL 5
Posts: 224

Rep: Reputation: 30
squid ACL problem


hi all,

I put following lines below ACL tag:

acl ncsa_users proxy_auth REQUIRED
acl allo url_regex "/etc/squid/good ( allow domain list)

then I put under tag http_access:
http_access allo
http_access allow ncsa_users

problem is that squid authentication is ok , but I am unable to restrict all websites except I put in /etc/squid/good file.

Pls help..
 
Old 08-08-2007, 01:01 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,344

Rep: Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945
well "http_access allo" is not a valid entry... did you mean "http_access allow allo"? if so that still won't do what you need, as those two ACL's will essentially be an "OR" scenario, when i expect you want an "AND"? in which case use "http_access allow allo ncsa_users" followed by a default deny.
 
Old 08-08-2007, 11:42 PM   #3
sunlinux
Member
 
Registered: Feb 2006
Distribution: RHCL 5
Posts: 224

Original Poster
Rep: Reputation: 30
solved..ok thanx
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Squid ACL problem ~=gr3p=~ Linux - Networking 0 04-11-2006 02:04 AM
Squid problem with http_access and time acl mago Linux - Networking 1 11-25-2005 01:11 PM
Squid acl help cgelectek Linux - Networking 3 11-10-2005 11:04 PM
Squid : Time ACL problem ikillu Linux - Networking 4 07-18-2005 02:44 PM
squid acl problem aigartua Linux - Software 1 12-08-2003 09:03 AM


All times are GMT -5. The time now is 05:37 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration