Re: NBAR ..... mime type question

From: Chris Lewis (chrlewiscsco@yahoo.com)
Date: Thu Oct 27 2005 - 12:35:20 GMT-3


My opinion, is no.
 
If states to match a .jpeg file you are being given direction to match on a file, not a mime type, so use
 
Router(config-cmap)# match protocol http url "*.jpeg"

"Schulz, Dave" <DSchulz@dpsciences.com> wrote:
I was looking through the doc cd under the NBAR examples for MIMI and
ran across and example that states.....

The following example classifies, within class map foo, packets based on
the JPEG MIME type:
class-map foo
match protocol http mime "*jpeg"

However, if the question states to match a .jpeg file, then would it be
just as correct to configure that as:

class-map foo
match protocol http mime "*.jpeg" (with the "dot" added)

Thoughts?

Dave Schulz,
Email: dschulz@dpsciences.com



This archive was generated by hypermail 2.1.4 : Sun Nov 06 2005 - 22:00:54 GMT-3