How winPKFilter capture packets in a gateway???

Home Forums Discussions Support Portal How winPKFilter capture packets in a gateway???

This topic contains 3 replies, has 2 voices, and was last updated by  Vadim Smirnov 10 years, 5 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #5113

    Mona
    Participant

    Hi

    I have a question:

    If the WinPKFilter installed in a gateway can it capture the packets that send to another destination IP address not of the gateway itself (if can tell me how can I do this by providing me with some code samples) or it can only capture the packets that send with destination IP address of the gateway only.

    Thanks in advance

    #6348

    Vadim Smirnov
    Moderator

    If the WinPKFilter installed in a gateway can it capture the packets that send to another destination IP address not of the gateway itself (if can tell me how can I do this by providing me with some code samples) or it can only capture the packets that send with destination IP address of the gateway only.

    Routed packets (destined to systems different from the Gateway) are also captured. Actually they are captured twice, when received on one network interface and when forwarded to another one.

    #6349

    Mona
    Participant

    @SerpentFly wrote:

    If the WinPKFilter installed in a gateway can it capture the packets that send to another destination IP address not of the gateway itself (if can tell me how can I do this by providing me with some code samples) or it can only capture the packets that send with destination IP address of the gateway only.

    Routed packets (destined to systems different from the Gateway) are also captured. Actually they are captured twice, when received on one network interface and when forwarded to another one.

    I have set the mode of capturing as follows:

    ADAPTER_MODE Mode;
    Mode.dwFlags = MSTCP_FLAG_RECV_TUNNEL

    is that correct???

    #6350

    Vadim Smirnov
    Moderator

    have set the mode of capturing as follows:

    ADAPTER_MODE Mode;
    Mode.dwFlags = MSTCP_FLAG_RECV_TUNNEL

    is that correct??

    This will allow you to pre-process all packets received by your system, if this is what you intended to do then this is correct.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.