[squid-users] Content filtering, this could be an idea

From: Fabian Vilers <fvilers@dont-contact.us>
Date: Thu, 9 Dec 2004 14:24:52 +0100

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi all,

I'm back with my content filtering problem. At this time, Squid is not
smart enough to see that a renamed valid mp3 file to test.txt is still a
n audio file. I don't want my users to download these kind of files.

It seems that there is no workaround with existing redirectors so let's
write one. But I don't know anything about squid's working for now. I'm
just wondering if it feasable.

Imagine that Squid downloads the bad file but before giving it to the
user who initiate the donwload, it checks it with the "file -bi <file>",
if it's a mp3 file will return audio/mpeg. If this matches a denied
regexp, don't give the file to the user.

What do you think?

Best regards,
Fabian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQFBuFIk3Qzx239StfYRAj+HAKCJgX2rH6WHsPnvCtC8YPhOWJtFTACggqNz
KoQj+Vq7Lll7uej6zMmyd9k=
=7OAi
-----END PGP SIGNATURE-----

--
The information contained in this electronic message may be legally
privileged and confidential under applicable law, and is intended only for
the use of the individual or entity named above. If the recipient of this
message is not the above-named intended recipient, you are hereby notified
that any dissemination, copy or disclosure of this communication is strictly
prohibited. If you have received this communication in error, please notify
Keyware, +32 2 526 16 16 and purge the communication immediately without
making any copy or distribution.
Received on Thu Dec 09 2004 - 06:29:25 MST

This archive was generated by hypermail pre-2.1.9 : Sat Jan 01 2005 - 12:00:02 MST