none
How to use WFP driver to limit TCP inbounding/outbounding speed ? RRS feed

  • Question

  •  Hi all,

    My English is not very well..

    Recently I'm writing a WFP driver, trying to limit TCP/UDP inbounding/outbounding speed.I registered a kernel WFP filter at FWPM_LAYER_ALE_FLOW_ESTABLISHED_V4/V6, FWPM_LAYER_STREAM_V4/V6,FWPM_LAYER_DATAGRAM_DATA_V4/V6.I associate the PID and the inbounding/outbounding packets so I can limit the specify process when it access the Internet.  

    Now the UDP works well(just simply drop the packets),but when I drop the TCP packets,the speed DO slow down,but when it (for example:a file download) finished ,the download file(.exe) cannot be opened.

    Is that the TCP packets can't be dropped?Then how can I do to limit the TCP speed?

    Thanks!

    Monday, August 4, 2014 8:52 AM