Win7和FWPS_LAYER_ALE_CONNECT_REDIRECT_V4重定向 [英] Win7 and FWPS_LAYER_ALE_CONNECT_REDIRECT_V4 redirection
问题描述
到目前为止,我感谢您对WFP的所有帮助,我刚刚完成了所有Windows8代码,该产品现在适用于Windows8 ,你的帮助有助于它的工作:)
I'd like to thank you for all your help so far with the WFP, I just finished all the Windows8 code and the product now works with Windows8, your help was instrumental in making it work :)
我也想在Win7上使用相同的方法(而不是我目前使用的数据包方法),问题是如何WFP可以在重定向后知道源端口/ IP,因为代理需要查询WFP并获取原始目标IP /端口,
并且它将使用源IP /端口,代理目标IP /端口的元组。
I'd like to use the same method on Win7 as well (instead of the packet method I currently use), the question is how can the WFP know the source port/IP after redirection because the proxy will need to query the WFP and get the original destination IP/Port, and it will use the tuple of Source IP/Port, proxy destination IP/Port.
谢谢,
Barak
推荐答案
您可以查看元数据 FWPS_METADATA_FIELD_ORIGINAL_DESTINATION 。 您还可以通过走FWPS_CONNECT_REQUEST的前一位会员获取更多历史记录。
You can look at the metadata FWPS_METADATA_FIELD_ORIGINAL_DESTINATION. You can also get further history by walking the FWPS_CONNECT_REQUEST's previous member.
希望这会有所帮助,
这篇关于Win7和FWPS_LAYER_ALE_CONNECT_REDIRECT_V4重定向的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!