locked
Two WFP proxies per single logical connection RRS feed

  • Question

  • Hi all !

    Is it possible (in short) ? I've my proxy and once again 3-rd party proxy on single host.

    How many redirection records can be created per single connection ?

    WBR

    oleshii

    Tuesday, February 2, 2016 9:05 AM

All replies

  • Yes this is possible on windows > 8.0. WFP provides REDIRECT_CONTEXT structures to allow multiple redirects, you should store your ultimate destination here. These structures are stored in a linked list within the FWPS_CONNECT_REQUEST which can support any number of redirections.

    NOTE: I'm sure there is some upper limit but it's unlikely you'll encounter this unless you get caught in a redirect loop. Make sure your callout is checking for previous redirections by using FwpsQueryConnectionRedirectState to avoid this.

    J

    • Proposed as answer by JST86 Friday, March 4, 2016 3:19 PM
    Friday, March 4, 2016 3:19 PM