locked
Compiling WFPSampler on Windows 10 with target OS as Windows 7 RRS feed

  • Question

  • Hi,

    I am trying to compile WFPSampler on Windows 10 while targetting the compilation for Windows 7. I have changed the driver settings in VS2019 to target it to Windows 7. <g class="gr_ gr_16 gr-alert gr_gramm gr_inline_cards gr_run_anim Punctuation only-ins replaceWithoutSep" data-gr-id="16" id="16">Also</g> the KMDF version has been set to 1.9. The driver compiles successfully on Windows 10 VS2019. I test sign it and load it on Windows 7 (with test sign mode on). The driver loads successfully and I can redirect packets using below commands

    WFPSampler.Exe -s PROXY -l FWPM_LAYER_ALE_CONNECT_REDIRECT_V4 -prs -ipra 192.168.0.115 -pra 127.0.0.1 -prp 5050 -in -v

    <g class="gr_ gr_19 gr-alert gr_gramm gr_inline_cards gr_run_anim Punctuation only-ins replaceWithoutSep" data-gr-id="19" id="19">However</g> as soon as I try to access 192.168.0.115 the Windows 7 machine crashes. The same code when compiled for Windows 10 works file. What else I could be missing?

    I am using Windows WDK 1903 and the latest source from git for WFPSampler.

    • Edited by BlockAn Monday, October 21, 2019 11:50 AM
    Monday, October 21, 2019 11:31 AM