如何捕获所有HTTP流量(本地代理) [英] How to catch all HTTP traffic (local proxy)

查看:310
本文介绍了如何捕获所有HTTP流量(本地代理)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我希望能够访问我机器上的所有HTTP流量(我的Windows机器 - 而不是服务器)。据我所知,拥有一个本地代理,所有的交通路线都可以通过它。我一直在谷歌搜索,但没有找到任何资源(关于Ruby)来帮助我。非常感谢任何提示或链接。

I am looking to get access to all HTTP traffic on my machine (my windows machine - not a server). From what I understand having a local proxy through which all traffic routes is the way to go. I have been Googling but failed to find any resources (in respect to Ruby) to help me out. Any tips or links are much appreciated.

推荐答案

WEBrick中有一个HTTP代理(Ruby stdlib的一部分)和这里是一个实现示例。

There's an HTTP Proxy in WEBrick (part of Ruby stdlib) and here's an implementation example.

如果你喜欢生活在边缘,还有 em-proxy 作者Ilya Grigorik。

If you like living on the edge there's also em-proxy by Ilya Grigorik.

帖子意味着它似乎需要一些调整来解决你的问题。

This post by Ilya implies that it does seem to need some tweaking to solve your problem.

这篇关于如何捕获所有HTTP流量(本地代理)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆