Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 12-06-2008, 01:41 AM   #1
Registered: Mar 2008
Location: Pakistan
Distribution: Fedora,Centos,RHEL
Posts: 75

Rep: Reputation: 15
Check It ??Squid ACLS to Block Files for Specific Domain and to Spefic IP

Hi Gurue

Here are my acls that working Properly ,but Some times My Live Messanger over network make connection but some times they are unable to Connect please check my acls

vi /etc/squid/squid.conf
acl src "/etc/squid/"
acl blockfiles urlpath_regex "/etc/squid/acl.block.files"
##Want to ALlow Symantic Updates and Windows Updtes
###will it accomplished
acl websites_allow dstdomain
http_access allow blockfiles
http_access allow websites_allow blockfiles
http_access deny ! !websites_allow blockfiles
# Deny_info will deisply error message to users which i have define.
deny_info ERR_BLOCKED_FILES blockfiles
http_access deny blockfiles

My Requirement are
1)Block Downloading for All extension given in file
2)Allow Some websites downling for Symantec updates and Windows Updates
3)ALlow downloading to Some IP Address

Please Check above Acls wither they work or not,


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
How to block urls for specific ip in squid addipolli Linux - Security 10 11-24-2008 03:04 AM
How to block users from sending e-mail to specific domain satish_k Linux - Newbie 1 03-12-2008 11:53 PM
block specific users in squid alan.belizario Linux - Security 4 09-10-2005 12:43 AM
Port 80 -- How to block from one specific domain? (RedHat 7.0) jcroft Linux - Security 1 02-17-2002 04:50 PM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:16 AM.

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