richard lucassen
2009-03-01 13:17:21 UTC
Ik zit een filter voor Squid te maken om te voorkomen dat er bewegende
plaatjes en allerlei andere zut (executables e.d.) van het net gevist
kan worden. Het is voor terminal servers o.a. i.v.m. de bandbreedte die
bewegende plaatjes veroorzaakt. Ook audio heeft geen zin.
Ik heb tot nu toe dit:
acl deny_ts_mime-types1 rep_mime_type
^audio/.*
^video/.*
^application/.*bittorrent.*
^application/x-msdo.*
^application/x-msmediaview
^application/streamingmedia
^application/vnd.rn-.*
^application/x-shockwave-flash
^application/x-silverlight
^application/divx.*
^application/octet-stream
^application/x-flash-video
^application/ogg.*
^application/x-ogm.*
^application/vnd.ms-asf
^application/x-ms-wms
^application/mpeg.*
^application/x-flac
^application/x-flash-video
^application/x-quicktimeplayer
Jullie hebben nog vast iets zinnigs toe te voegen. Zou het verder minder
cpu time kosten als ik alles in 1 grote regex zou zetten? Nu staat alles
ge-OR'd in 1 acl.
R.
--
___________________________________________________________________
It is better to remain silent and be thought a fool, than to speak
aloud and remove all doubt.
+------------------------------------------------------------------+
| Richard Lucassen, Utrecht |
| Public key and email address: |
| http://www.lucassen.org/mail-pubkey.html |
+------------------------------------------------------------------+
plaatjes en allerlei andere zut (executables e.d.) van het net gevist
kan worden. Het is voor terminal servers o.a. i.v.m. de bandbreedte die
bewegende plaatjes veroorzaakt. Ook audio heeft geen zin.
Ik heb tot nu toe dit:
acl deny_ts_mime-types1 rep_mime_type
^audio/.*
^video/.*
^application/.*bittorrent.*
^application/x-msdo.*
^application/x-msmediaview
^application/streamingmedia
^application/vnd.rn-.*
^application/x-shockwave-flash
^application/x-silverlight
^application/divx.*
^application/octet-stream
^application/x-flash-video
^application/ogg.*
^application/x-ogm.*
^application/vnd.ms-asf
^application/x-ms-wms
^application/mpeg.*
^application/x-flac
^application/x-flash-video
^application/x-quicktimeplayer
Jullie hebben nog vast iets zinnigs toe te voegen. Zou het verder minder
cpu time kosten als ik alles in 1 grote regex zou zetten? Nu staat alles
ge-OR'd in 1 acl.
R.
--
___________________________________________________________________
It is better to remain silent and be thought a fool, than to speak
aloud and remove all doubt.
+------------------------------------------------------------------+
| Richard Lucassen, Utrecht |
| Public key and email address: |
| http://www.lucassen.org/mail-pubkey.html |
+------------------------------------------------------------------+