LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 11-06-2003, 10:49 PM   #1
RajaRC
Member
 
Registered: Feb 2003
Distribution: Redhat
Posts: 58

Rep: Reputation: 15
url filtering using Squid


Hi,

I am using Redhat 9.0.

Using Squid how can I block this url www.yahoo.com and also how to block *.mp3 file.

Regards,
Raja
 
Old 11-07-2003, 07:21 AM   #2
RickyJaff
Member
 
Registered: Oct 2003
Distribution: RedHaT, ELX, DragonLinux, Knoppix.
Posts: 89

Rep: Reputation: 15
yes.. u can..

to block.. *.mp3 files..
u have to make sure that ur squid is compiled with delay pools enabled...if yes.. then put the following line.. in squid.conf

acl magic_words2 url_regex -i ftp .exe .mp3
delay_pools 2
delay_class 2 2
delay_access 2 allow magic_words2

to deny accessing a site..

acl blocked dstdom_regex .yahoo.com abc.com
http_access deny blocked
 
  


Reply



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
Content Filtering using Squid toraghun Red Hat 3 11-10-2005 10:42 PM
URL Filtering in NAT+BIND9 TheAce Linux - Networking 8 11-08-2005 01:40 AM
set URL filtering in mozilla Trio3b Linux - Security 2 04-15-2005 06:19 AM
Squid URL list linuxeagle Linux - Networking 2 05-12-2004 02:25 PM
Web filtering: URL filt or rate content..or? Linux Learning Linux - Security 2 10-01-2003 07:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 02:51 AM.

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