LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 06-11-2010, 10:56 AM   #1
uwa45
Member
 
Registered: Oct 2006
Location: Lagos,Nigeria
Distribution: Fedora core 3, Redhat 9.0,Centos 4.6
Posts: 43

Rep: Reputation: 15
Squid ACL


Hi,i use squid as a web caching server and i configured it to run transparently. my squid version 2.6 on centos 4.6 and i have dhcp giving out ip and other parameters to my lan clients.
i setup acl to block certain sites from being accessed and also certain key words in a url. this is what i did

acl filter_sites dstdomain "/etc/squid/blocked_sites.acl
acl filter_phrase url_regex -i "/etc/squid/blocked_phrase.acl

http_access deny filter_sites
http_access deny filter_phrase

now although its working, iam still having some issues with it. not all the systems on my lan adhere to this rule. like i have facebook blocked but from some systems, i can still access facebook. what do i do?

in the blocked_sites.acl file, i have website like cnn.com,facebook.com while in the blocked_phrase.acl, i have 'mail'
 
Old 06-11-2010, 12:30 PM   #2
juan10dan
Member
 
Registered: Jun 2010
Posts: 31

Rep: Reputation: 1
I think you should post all of your http_access and acl lines.
 
  


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
squid ACL andycol Linux - Server 8 10-31-2009 05:58 AM
squid acl Winanjaya Linux - Server 1 04-23-2009 11:03 AM
Squid acl help cgelectek Linux - Networking 3 11-10-2005 11:04 PM
SQUID: ACL question razametal Linux - Software 1 09-18-2003 07:18 AM
Squid ACL zeroability Linux - Networking 2 01-13-2003 09:30 AM

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

All times are GMT -5. The time now is 02:55 PM.

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