asa高级用法

regex URL01 "\.taobao\.com"
regex URL02 "\.jd\.com"
regex URL03 "\.youku\.com"

class-map type regex match-any url01_class
 match regex URL01

class-map type regex match-any url02_class
 match regex URL02

class-map type regex match-any url03_class
 match regex URL03


class-map type inspect http match-all http01_url_class 
 match request header host  regex class url01_class

class-map type inspect http match-all http02_url_class
 match request header host  regex class url02_class 

class-map type inspect http match-all http03_url_class
 match request header host  regex class url03_class 


class-map type  inspect  http  match-all http_application 
 match request header content-type application/pdf
 match request header content-type video/flc
 match request header content-type video/mpeg
 match request header content-type application/x-msn-messenger
 match request header proxy-authorization length gt 80


policy-map type inspect http http_url_policy 
class http01_url_class 
  drop-connection log 
class http02_url_class 
  drop-connection log 
class http03_url_class 
  drop-connection log 
class http_application
  reset 

policy-map global_policy 
 class inspection_default 
  inspect http http_url_policy

当前题目:asa高级用法
网页URL:http://csdahua.cn/article/ipgjgs.html
扫二维码与项目经理沟通

我们在微信上24小时期待你的声音

解答本文疑问/技术咨询/运营咨询/技术建议/互联网交流