Varnish-wrapper - 预处理和修改工具


BSD
跨平台
SHELL

软件简介

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