400-028-6601
建站资讯

网站建设资讯

为你提供网站建设行业资讯、网站优化知识、主机域名邮箱、网站开发常见问题等。

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高级用法
转载来于:http://www.hnjierui.cn/article/ipgjgs.html

其他资讯