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


  Search this Thread
Old 06-11-2010, 10:56 AM   #1
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, while in the blocked_phrase.acl, i have 'mail'
Old 06-11-2010, 12:30 PM   #2
Registered: Jun 2010
Posts: 31

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


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 dfctve_end_user Linux - Networking 2 01-13-2003 09:30 AM

All times are GMT -5. The time now is 08:46 PM.

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