From: robert nowosadzki (rnowosadzki@yahoo.com)
Date: Thu Feb 05 2009 - 20:20:17 ARST
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