locked
Filtering on Port in the Forward Layer RRS feed

  • Question

  • Hello,
        I am writing a specialized firewall, and need to filter based on the IP packet's destination port in the forwarding layer. This condition is not present in the Filtering Conditions specified here: http://msdn.microsoft.com/en-us/library/aa363996(VS.85).aspx. I wanted to know if it was possible to do this using some mechanism in the WFP, or do I have to inspect the IP header myself in the FWPM_LAYER_IPFORWARD_V4 layer?

    Cheers,
    Arun
    Tuesday, July 14, 2009 11:36 PM

Answers

  • Hi, you will need to parse packets at IPFORWARD to retrieve the port.

    Thanks,
    Biao.W.
    • Marked as answer by arunchaganty Thursday, July 16, 2009 12:44 AM
    Wednesday, July 15, 2009 4:19 AM