Search squid archive

Re: limiting http uploads

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Alex!

I think you must be using the rep_mime_type for
downloads... have you tried to use the req_mime_type
directive for uploads? Maybe on this directive you can
match these kind of files and associate it with delay
pools.

acl exe_files rep_mime_type ^application/octet-stream$
^application/exe$ ^application/x-exe$
^application/dos-exe$ ^vms/exe$ ^application/x-winexe$
^application/msdos-windows$
^application/x-msdos-program$

acl zip_files rep_mime_type ^application/zip$
^application/x-zip$ ^application/x-zip-compressed$
^application/x-compress$ ^application/x-compressed$
^multipart/x-zip$

Don't know the rest for delay pools... but i think
that this will help you a little...


Best regards!

André

--- Alex <alex@xxxxxxxxxxxxxxxx> escreveu:

> Hi guys,
> 
> I have a small problem and I was wondering if
> someone might give me a hint
> on how to solve it.
> 
> The thing is that I need to be able to limit the
> upload made by the clients
> through squid. I'm doing the same for download, with
> delay pools, but I'm a
> bit confused about what type of ACL's should I use
> for upload. I only need
> to do this for some file types (exe. zip, etc.).
> 
> Any ideas?
> 
> Alex
> 
> 
> 
> -- 
> This message has been scanned for viruses and
> dangerous content by
> LG-Network(http://www.lgnet.ro), and is
> believed to be clean.
> 
> 




	
	
		
_______________________________________________________ 
Yahoo! Acesso Grátis - Internet rápida e grátis. 
Instale o discador agora! http://br.acesso.yahoo.com/

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux