[x] Welcome to LinuxSolved.com Linux help forums, here we are a community of Linux users helping each other. It is helpful to both ie. new linux users as well experienced one. We always have our experts to help you and ofcourse members help each other, so you can ask for help any time by Registering.: Click to Register

Welcome, Guest. Please login or register.
Did you miss your activation email?


Login with username, password and session length

Linux Forums - Linux Help,Advice & support community:LinuxSolved.com  |  Forum  |  Network Troublshooting  |  Linux Proxy Server Support  |  Topic: squid - downloading not working
The LinuxSolved.com GNU/Linux User Communit - Forum
Welcome to LinuxCommunity You have just arrived to a friendly linux community which is helping Linux Users from Years.. You can be its part if you have not already joined it. Registration is FREE and is gateway to unlimited help and support to all your linux related needs. If you are an GNU/Linux supporter then you have come to the right place.
Pages: [1]
  Print  
Author Topic: squid - downloading not working  (Read 875 times)
0 Members and 1 Guest are viewing this topic.
sathish
Linux Learner
***
Offline Offline

Posts: 73


View Profile
« on: July 27, 2005, 02:35:26 PM »

Hai Linux team !!!

I am using redhat 9.0 with masquerading and squid proxy server

In squid configuration i have given some extension files not to download like .exe, .bat, mp3 and few more....

i have put the configuration correctly not to download.. itz not working
acl bad url_regex -i "/etc/squid/download.ban"
http_access deny bad

in download.ban file.. i have put like this extensions
\.exe$ \.mp3$ \.mpeg$ \.bat$ and many more extension ...


but if i download a attachment of .mpeg files from yahoo mail itz downloading.. how to avoid.

Please let me know how to go through with this...

Thanks in advance.

Sathish
Logged
gauravbajaj
LST CareTaker
Experienced
*****
Offline Offline

Posts: 597


View Profile
« Reply #1 on: July 28, 2005, 02:44:12 AM »

OK
Firs tell wheather others download exetnsions which u  put in download.ban file, is restriceted or u can download that also(means check whather other extensions i.e other than .mpeg files are restricted or  allowed???

Gaurav
Logged
sathish
Linux Learner
***
Offline Offline

Posts: 73


View Profile
« Reply #2 on: July 28, 2005, 08:45:28 AM »

Hai !!


yes it is restricted not to download those extensions in download.ban file
Logged
Ricky
LST CareTaker
Specially Skilled
*****
Offline Offline

Gender: Male
Posts: 2205


View Profile
« Reply #3 on: July 30, 2005, 12:48:43 PM »

its downloading b'coz when u download through yahoo it is not really having .exe or whatever in the end or after the "."  , So to to block u can simply add words like  
exe mpeg dat ,
not \.mpeg$

Hope i m clear and try that .. inform us.
Logged
sathish
Linux Learner
***
Offline Offline

Posts: 73


View Profile
« Reply #4 on: July 31, 2005, 04:10:48 AM »

Hi Ricky,

Thanks for u reply, i have done this earlier like dat mpeg mp2 mp3 in the list, but as earlier told i am working for medical related company, in our clients side we mainly use google as a search engine we used to words like exercsies [which is related to exe]  datum [which is related to dat] to search like this millions of words,  if u put like this in google it will be access denied from squid proxy.

here is the problem i am facing ?? how to rectify and how to bypass this things.

if any suggestions/answers plz let me know.

tx
Sathish....
Logged
Ricky
LST CareTaker
Specially Skilled
*****
Offline Offline

Gender: Male
Posts: 2205


View Profile
« Reply #5 on: August 01, 2005, 12:48:55 PM »

Umm.. this is really a problem, I am not finding any way around. ..
Well in this case you can do one thing, use delay pool and slow down the download of those files, that way they will be available but not eating the bandwidth that way.
But for delay pools you will have to work on your own as these days I am very bad at delay pools and also is not having time to learn / understand them again. (though its in my list to work on soon).
Logged
gauravbajaj
LST CareTaker
Experienced
*****
Offline Offline

Posts: 597


View Profile
« Reply #6 on: August 03, 2005, 05:52:30 AM »

Hi Dear
In file make entries like this
.exe$
.tar$
.gz$

After that it will block only sites that are ending with above words

This will help u
gaurav
Logged
Ricky
LST CareTaker
Specially Skilled
*****
Offline Offline

Gender: Male
Posts: 2205


View Profile
« Reply #7 on: August 06, 2005, 10:34:40 AM »

when he downloads file from mail etc as attachement then they don't really end with those extension !! and that is the problem !
Logged
Linux Forums - Linux Help,Advice & support community:LinuxSolved.com
   

 Logged
Pages: [1]
  Print  
 
Jump to:  

Related Topics
Subject Started by Replies Views Last post
squid acl error cilent is not working Linux Servers Support vasu 1 1317 Last post February 09, 2004, 05:58:06 AM
by Ricky
qmail send stopped working since installed squid Linux Proxy Server Support regenbauma 5 760 Last post January 17, 2005, 05:26:10 AM
by Ricky
prevent downloading in certain time Linux Proxy Server Support foopirata 2 692 Last post September 16, 2005, 07:34:09 AM
by praful_thakare
Allow downloading upto a max fileize ? Linux Proxy Server Support shekhar_naik 2 670 Last post June 13, 2006, 03:48:15 AM
by shekhar_naik
Inner working of Squid Linux Proxy Server Support rajesh.bahl 1 498 Last post May 02, 2008, 03:51:10 PM
by Ricky
Welcome, Guest. Please login or register.
Did you miss your activation email?
November 22, 2008, 06:47:46 PM

Login with username, password and session length
Navigation
Recent Discussions
[Today at 02:29:08 PM]

[November 20, 2008, 11:30:52 PM]

[November 19, 2008, 07:52:41 PM]

[November 19, 2008, 07:52:36 PM]

[November 17, 2008, 10:42:59 AM]

[November 16, 2008, 12:49:47 AM]

[November 16, 2008, 12:48:58 AM]

[November 15, 2008, 08:29:02 AM]

[November 15, 2008, 08:24:41 AM]

[November 14, 2008, 05:11:50 AM]
Members
Total Members: 6229
Latest: razon_nnn
Stats
Total Posts: 8270
Total Topics: 2254
Online Today: 14
Online Ever: 111
(June 28, 2007, 06:47:29 AM)
Users Online
Users: 0
Guests: 11
Total: 11
Privacy Policy| Powered by SMF 1.1.4 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks
Theme & TinyPortal v0.9.8 © Bloc