Re: NBAR ..... mime type question

From: Victor Cappuccio (cvictor@protokolgroup.com)
Date: Thu Oct 27 2005 - 15:09:45 GMT-3


In
http://www.cisco.com/univercd/cc/td/doc/product/software/ios122/122newft/122t/122t8/dtnbarad.htm

States This:
he following example classifies, within class map foo, packets based on the
JPEG MIME type:
class-map foo
match protocol http mime "*jpeg"
ALSOState ThisRouter(config)# class-map match-any web_images
Router(config-cmap)# match protocol http url "*.gif"
Router(config-cmap)# match protocol http url "*.jpg|*.jpeg"
Can anyone do a clarification, IHMO I think that in the First Case are what
is inside a Web Page, and in the second case can match for example
www.cisco.com/ccie.jpegwww.anything.com/something.jpegIs that
correct?RegardsVictor.----- Original Message -----
From: "Carlos G Mendioroz" <tron@huapi.ba.ar>
To: "Schulz, Dave" <DSchulz@dpsciences.com>
Cc: <ccielab@groupstudy.com>
Sent: Thursday, October 27, 2005 11:43 AM
Subject: Re: NBAR ..... mime type question

> There have been many threads discussing NBAR and MIME types, there is
> good content to take a look in the archives !
>
> Don't confuse MIME type with file name.
> Types are like "Content-Type: image/jpeg;", no dot there.
>
> Also, get confortable with direction of transfers and where NBAR can see
> some MIME encodings. Browsers advertize what they can receive, http
> servers tell what format the content they send is.
>
> -Carlos
>
> Schulz, Dave @ 27/10/2005 12:20 dixit:
> > 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 <mailto:dschulz@dpsciences.com >
> >
> > _______________________________________________________________________
> > Subscription information may be found at:
> > http://www.groupstudy.com/list/CCIELab.html
> >
>
> --
> Carlos G Mendioroz <tron@huapi.ba.ar> LW7 EQI Argentina
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html



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