match protocol http [ url vs mime ]

From: ccie2be (ccie2be@nyc.rr.com)
Date: Thu Nov 11 2004 - 14:31:15 GMT-3


Hi guys,

I need some help figuring out when to use the "mime" parameter when matching
traffic.

For example, if I want to apply a policy which filters or restricts traffic
that contains jpeg files which config should I use?

class-map jpeg
  match protocol http url "*.jpeg"

or

  match protocol http mime "*.jpeg"

Also, can regular expressions be used within the quote marks?

For example, is this OK?

match prot http mime "*.jpeg | *.jpg | *.mpeg"

Any insight or help is greatly appreciated.

TIA, Tim



This archive was generated by hypermail 2.1.4 : Thu Dec 02 2004 - 06:57:41 GMT-3