Win7 and FWPS_LAYER_ALE_CONNECT_REDIRECT_V4 redirection RRS feed

  • Question

  • Hi,

    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 :)

    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.



    Sunday, September 2, 2012 6:03 PM

All replies

  • 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.

    Hope this helps,

    Dusty Harper [MSFT]
    Microsoft Corporation
    This posting is provided "AS IS", with NO warranties and confers NO rights

    Monday, September 3, 2012 2:42 AM