From: darth router (darklordrouter@gmail.com)
Date: Tue Sep 04 2007 - 08:22:17 ART
Hey Yem,
what I meant was, if the first picture you tried to download is jpg, and you
have built a policy that drops .jpg, jpeg, or gif, it will drop the jpg, or
any .jpg thereafter, but it will not drop .jpeg, or .gifs. It worked the
same way if I was to select gif first. It would drop .gifs, but not other
types. I suppose it could have just been a bug, but I labbed this one 3
times over a few days, and got the same results each time. I was using
dynamips and VMs as a web server and web host. It seems that everyone is
taking how this works for granted. I would be curious to see someone else
lab up the class-map match-all IMAGES
match protocol http url "*.jpg|*.gif|*.jpeg" example. These times I labbed
up this example. I also labbed up examples with separate policies with each
image type, or a single match-any police with all image types. They both
worked flawlessly, where only the previous example failed. Maybe it was just
an IOS bug.
DR
On 9/4/07, Salau, Yemi <yemi.salau@siemens.com> wrote:
>
> To be honest, there shouldn't be any difference in application, I would
> look into IOS bugs or misconfigurations for this occurrence.
>
> You know what? I want to assume you meant running 2 urls into the
> policy-map at the same time, when you said, "if I selected a picture of
> one of the listed types, the policy would match, but if you immediately
> select another type, it will not match and break the policy, and traffic
> does not get policed or dropped".
>
> If you run 2 urls through a single policy map at the same time, should
> it matter? I will say no to that. When those 2 urls comes in, they get
> classed together at the same time, and the class-map logic pass the 2
> variables to policy-map application, now the policy map, will run those
> 2 urls through appropriate policies depending on the classes that
> matched the urls, I believe this should work, except ofcourse if there
> are some other background problems which I will need you to confirm.
>
> Many Thanks
>
> Yemi Salau
>
> -----Original Message-----
> From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
> darth router
> Sent: Monday, September 03, 2007 10:02 AM
> To: Salau, Yemi
> Cc: Joseph Brunner; ccielab@groupstudy.com
> Subject: Re: one question on matching images (MQC)
>
> I am not 100% sure of this, but this one does not seem to work in my
> tests.
> I spent hours screwing with both examples, and what I found with the
> below
> is, if I selected a picture of one of the listed types, the policy would
> match, but if you immediately select another type, it will not match and
> break the policy, and traffic does not get policed or dropped (depending
> what you are trying to do). Maybe some of the training gurus could
> elaborate. the 1rst one you listed will work as expected.
>
> class-map match-all IMAGES
> match protocol http url "*.jpg|*.gif|*.jpeg"
>
>
>
>
>
>
> On 9/3/07, Salau, Yemi <yemi.salau@siemens.com> wrote:
> >
> > Both will achieve same results, I would use the second option because
> it
> > saves me a hell lot of time, every seconds count in the lab mate!
> >
> > Ofcourse provided if you're not streamlined!
> >
> > Many Thanks
> >
> > Yemi Salau
> >
> > -----Original Message-----
> > From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf
> Of
> > Joseph Brunner
> > Sent: Monday, September 03, 2007 6:44 AM
> > To: ccielab@groupstudy.com
> > Subject: one question on matching images (MQC)
> >
> > Which would you use and why?
> >
> >
> >
> > class-map match-any IMAGES
> >
> > match protocol http url "*.jpg"
> >
> > match protocol http url "*.gif"
> >
> > match protocol http url "*.jpeg"
> >
> >
> >
> > or
> >
> >
> >
> > class-map match-all IMAGES
> >
> > match protocol http url "*.jpg|*.gif|*.jpeg"
> >
> >
> >
> >
> >
> > danke schon!
> >
> >
> _______________________________________________________________________
> > Subscription information may be found at:
> > http://www.groupstudy.com/list/CCIELab.html
> >
> >
> _______________________________________________________________________
> > Subscription information may be found at:
> > http://www.groupstudy.com/list/CCIELab.html
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
This archive was generated by hypermail 2.1.4 : Sat Oct 06 2007 - 12:01:09 ART