locked
FWP_ACTION_PERMIT not work when using FwpsInjectTransportReceiveAsync RRS feed

  • Question

  • Hello, everyone, I met a strange problem when I tried to Modify inbound udp packet IP and port using FwpsInjectTransportReceiveAsync.

    I refer to ddproxy example, unless I process it in FWPM_LAYER_INBOUND_TRANSPORT_V4 instead of FWPM_LAYER_DATAGRAM_DATA_V4 Layer.

    I can receive the injected packet in classifyn again, and clear FWPS_RIGHT_ACTION_WRITE before set FWP_ACTION_PERMIT. But in the completionFn, the status of netBufferList is 0XC000023E.

    But, when I close the Windows Firewall, everything is ok.

    Now I was wondering that, since I already set FWP_ACTION_PERMIT, and clear FWPS_RIGHT_ACTION_WRITE, why the Winodws Firewall block my packet. And how to by pass that?




    Tuesday, August 14, 2018 2:50 AM

All replies

  • hi brothers, I have the same problem as you, can you teach me?  i want  injected packet receive the in classifyn .FWPM_LAYER_DATAGRAM_DATA_V4

    Thursday, October 18, 2018 11:48 AM