-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
| Hello all,
| This is my first post here so feel free to correct me if I'm doing | something wrong.
| I'm trying to fine tune my Squid proxy. I've searched the mailing list | archives without founding answers.
| I'd like (like a lot of Squid managers) block some brandwich consuming | files (ie mp3). I've added this acl:
| acl nodownload rep_mime_type audio | acl nodownload rep_mime_type video | http_reply_access deny nodownload
| and its working file. If I put a prohibited file on my test server and | try | to download it with wget, I get a "ERROR 403: Forbidden". The problem > is | that Squid allow me to download the mp3 (audio/mpeg) if I rename it to | test.html. Wget shows that its mime type is text/html. I suppose Squid | knows about mime types by looking on the extension. You should already | have guessed that I want to block this kind of trick so any help will > be | usefull.
| My second problem is about file size limit. I've checked | reply_body_max_size directive in the squid.conf but I want it | different | depending on user. I saw in the archives that it was not implemented | but | maybe a patch is working?
Any ideas? -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux)
iD8DBQFBuB7a3Qzx239StfYRAjtcAJ4/XDgbvDbkGOQg2WdSZ58taSjMDACfbEyY mjQv0obJoFJh/8KaeNgGDhI= =9of4 -----END PGP SIGNATURE-----
