From: Muhammad Zubair (zubair@jonzu.com)
Date: Thu Feb 05 2009 - 22:57:17 ARST
Dear, I face the same problem and I past my cast a group study last week but
no reply... but any way I have traced the solution. if you are matching url
you should do it on output (from client to server) mean at request packet. I
will not work on output.
Regards,
Muhammad Zubair Ansari
0092-300-9248872
Pakistan.
-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
robert nowosadzki
Sent: Friday, February 06, 2009 1:20 AM
To: ccielab@groupstudy.com
Subject: Nbar and mime matching
What is the correct config when it comes to mime matching? I have been
playing with this and the only results that I get are with the following
config:
class-map match-any IMAGES
match protocol http url "*.jpg"
match protocol http url "*.jpeg"
policy-map IMAGES_PM
class IMAGES
drop
int fa0/0
serice-policy input IMAGES_PM
My setup is basically a laptop connected to a router (fa0/1) and the router
(fa0/0) is connected to the internet. For testing I go to google images and
try to browse .jpg or .jpeg images.
I have also tried the config below, but that does not produce any hits on
the policy-map.
class-map match-any IMAGES
match protocol http mime "*.jpg"
match protocol http mime "*.jpeg"
Any help is greatly appreciated.
Blogs and organic groups at http://www.ccie.net
This archive was generated by hypermail 2.1.4 : Sun Mar 01 2009 - 09:44:10 ARST