LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 12-06-2008, 12:41 AM   #1
farrukhndm
Member
 
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 ip.allow.download src "/etc/squid/acl.ip.allow.download"
acl blockfiles urlpath_regex "/etc/squid/acl.block.files"
##Want to ALlow Symantic Updates and Windows Updtes
###will it accomplished
acl websites_allow dstdomain liveupdate.symantecliveupdate.com g.live.com
http_access allow ip.allow.download blockfiles
http_access allow websites_allow blockfiles
http_access deny !ip.allow.download !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,
 
  


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


All times are GMT -5. The time now is 12:59 PM.

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