IP 还是 winsock 拦截? [英] IP or winsock interception?

查看:37
本文介绍了IP 还是 winsock 拦截?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们有一个终端模拟器(它不仅仅是这个,但对于这个问题,它最好描述它......)前一段时间,不是重写它,而是引入了端口代理.代理侦听 127.0.0.1 环回并获取连接并使用 SSL 对其进行加密.

We have a terminal emulator (its more then just this, but for the question it best describe what it it...) Sometime ago instead of rewriting it a port proxy was introduced. the proxy listens to 127.0.0.1 loopback and takes the connection and encrypts it using SSL.

我需要做的是在数据进入代理之前从本地机器获取数据,以便我们可以检查它并停止或更改它.我无法更改当前设置的配置,因此我需要找到一种在发送数据之前获取数据的方法.这可以使用 winsock 来完成吗?还有其他方法吗?

What I need to do is get the data from the local machine before it goes in to the proxy so we can check it and stop or change it. I can't change the configuration of the current setup so I need to find a way to get the data before its sent. can this be done using winsock? any other approaches?

谢谢

推荐答案

A 分层服务提供者应该这样做(一个大概在 fiddler 里面,所以如果这对你有用,那会更快

A Layered Service Provider should do it (one is presumbably inside fiddler, so if that works for you, that's going to be quicker

这篇关于IP 还是 winsock 拦截?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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