Review your favorite Linux distribution.
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 09-02-2008, 06:29 AM   #1
Registered: Mar 2008
Location: Pakistan
Distribution: Fedora,Centos,RHEL
Posts: 75

Rep: Reputation: 15
Block any download type of file in squid.......

i have added one acle rule in
[root@mail ~]#
vi /etc/squid.conf

#####after given line i have added my acl####
#Recommended minimum configuration:

acl all src
###### To Block exe and other extenshion over internet ######

acl bad_suffixes url_regex "/etc/squid/bad_suffixes"
http_access deny bad_suffixes

i have added these extension in bad_suffixes
root#vi /etc/squid/bad_suffixes

last time when i used it it work but with this it also blcok my MSN and yahoo Messnger over network ..................

But now it dont work.......

Please disucess the best way to blcok the .exe.etc files and it it will not block our messengers....


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 block by mime-type the live streaming mago Linux - Networking 2 08-25-2008 12:45 PM
To restrict maximum download file size in Squid proxy satishap Linux - Security 3 05-23-2008 02:09 AM
block *.* file download using squid soumalya Linux - Security 6 12-21-2006 02:51 AM
Download ,run file type wazntme Linux - Newbie 1 10-27-2005 11:57 AM
Cannot not run executable jar file after set content type for download antony_csf Programming 1 12-08-2004 12:22 AM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:55 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