Varnish-wrapper预处理和修改工具

联合创作 · 2023-09-30 21:39

Wrap mitmproxy是一款围绕Varnish Cache并且拥有传输量预见,传递缓存和修改的工具。

有时候,能够看见通过的HTTP缓存或者传输代理修改变动可能会很有用。用例可能包括测试缓存/代理配置(例如,Varnish VLC),或者评估异常请求是如何被处理与转发的。

利用这些运行Ubuntu Trusty 14.04将创建一个单独的虚拟机:

  • Varnish (front-end cache)

  • lighttpd (back-end content server)

  • Hitch (TLS termination)

  • mitmproxy (HTTP/HTTPS man-in-the-middle)

测试截图

标准安装

  https-client  http-client
      |          |
  hitch:443      |
       \         |
         \       |
         varnish:80
             |
        lighttpd:8080


MITM监控模式

  https-client  http-client
      |          |
  hitch:443      |
       \         |
         \       |
        mitmproxy:80
             |
         varnish:8081
             |
        mitmproxy:8082
             |
        lighttpd:8080
浏览 5
点赞
评论
收藏
分享

手机扫一扫分享

编辑
举报
评论
图片
表情
推荐
点赞
评论
收藏
分享

手机扫一扫分享

编辑
举报