asa高级用法

发布时间:2020-08-02 15:21:15 作者:arckyli
来源:网络 阅读:634


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


推荐阅读:
  1. sed的基本用法和高级用法
  2. Cisco ASA 高级配置之URL过滤

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

asa 高级用法

上一篇:走进JavaWeb技术世界4:Servlet 工作原理详解

下一篇:配置docker私有仓库

相关阅读

您好,登录后才能下订单哦!

密码登录
登录注册
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》