使用Windows 8重定向 [英] Redirection with Windows 8

查看:120
本文介绍了使用Windows 8重定向的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个在Win7和Win8传统模式下运行良好的WFP,但在Metro模式下它不起作用,我的WFP将所有流量重定向到localhost代理使用数据包方法,它拦截FWPM_LAYER_OUTBOUND_TRANSPORT_V4层的流量(
的原因是我在重定向后也在流上发送数据)。

I have a WFP which works great under Win7 and Win8 legacy mode, but in Metro mode it doesn't work, my WFP redirects all traffic to a localhost proxy using the packet approach, it intercepts the traffic at the layer of FWPM_LAYER_OUTBOUND_TRANSPORT_V4 (the reason is that I'm also sending data on the stream after the redirection).

当WFP处于旁路模式时,这意味着它只是按原样重新创建流,但没有重定向,Metro运行良好,但是在进行重定向的版本中,根据WFP调试消息,它重定向数据包
到localhost和我的端口,但我的代理应用程序(在传统模式下)从未看到流量,IE Metro也没有获取网页。

When putting the WFP is bypass mode, which means it just recreates the stream as is, but no redirection is taken place, Metro works great, but when in the version where redirection is taking place, according to the WFP debug messages, it redirects the packet to localhost and my port, but my proxy app (in legacy mode) never sees the traffic and IE Metro doesn't get the web page.

是否有限制这可能会导致这种行为吗?

Is there a limitation that may cause this kind of behavior?

谢谢,

Barak

推荐答案

使用FWPM_L可以实现现代应用程序的重定向AYER_ALE_CONNECT_REDIRECT_V {4 | 6} 从Windows 7开始,这是重定向的首选方式。 

Redirection of modern apps is achievable using the FWPM_LAYER_ALE_CONNECT_REDIRECT_V{4 | 6}.  Starting with Windows 7 this is the preferred way to do redirection. 

您还应该问自己是否需要重定向。 你可以使用FWPM_LAYER_STREAM_V {4 |的标注来实现相同的目标6}?

You should also ask yourself whether redirection is necessary.  Can you achieve the same using a callout at FWPM_LAYER_STREAM_V{4 | 6}?

希望这会有所帮助,


这篇关于使用Windows 8重定向的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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