Forum Replies Created

Viewing 13 posts - 16 through 28 (of 28 total)
  • Author
    Posts
  • in reply to: WinPKFilter: Double packets handling #5754
    ByTE
    Participant

    Thank’s for reply.
    This is really works!

    But…

    With NT 4 this flags does not works.
    Can I set some flag to packet for detect this packet later, when this packet returns as loopback?
    Maybe I can set any not used mask in INTERMEDIATE_BUFFER.m_Flags?

    Any ideas?

    in reply to: Drop and Create a new packet #5760
    ByTE
    Participant

    You must change all sequence values of packets in current TCP sequence.
    This in hard work (not really).

    in reply to: Drop and Create a new packet #5758
    ByTE
    Participant

    With TCP protocol you MUST modify SN field of packet. No other way.

    in reply to: WinPKFilter: Double packets handling #5752
    ByTE
    Participant

    I read this article, but i don’t have ddk.
    Anybody can say me how NDIS_FLAGS_DONT_LOOPBACK defined in header file in ddk? I need mask (0x????????).

    in reply to: WinPKFilter: Double packets handling #5751
    ByTE
    Participant

    Thank’s.
    I try to read this.

    in reply to: WinPKFilter: Double packets handling #5749
    ByTE
    Participant

    Any comments?
    How I must use INTERMEDIATE_BUFFER.m_Flags with SendPacketToAdapter?
    How this flags influence sending packets?

    in reply to: WinPkFilter: Duplicate packets #5748
    ByTE
    Participant

    I’m understand, thank’s.

    in reply to: TCP flags #5736
    ByTE
    Participant

    Problem resolved…
    with AND operator 🙂

    in reply to: WinPkFilter: Duplicate packets #5746
    ByTE
    Participant

    Yes, you understand me correctly.

    I’m not owner of any license.
    I try to test WinPKFilter.

    Why only TCP/IP adapters can be filtered?
    For example, you can add some flag to internal structure of packet in driver code and when program try send non TCP/IP packet to stack, driver can detect this by flag and just drop this packet…

    Somtimes need simply filter any incoming packets and filtering of non TCP/IP adapters can help in this case…
    In my case this is transit packets.

    Thank’s for answers.

    in reply to: WinPkFilter: Duplicate packets #5744
    ByTE
    Participant

    Maybe I can get not only TCP/IP bound adapters info?
    Because bridge removes binding of TCP/IP from adapters in bridge.
    WinPKFilter works correctly with non TCP/IP bound adapters?
    Just I need try to filter this adapters.

    in reply to: WinPkFilter: Duplicate packets #5743
    ByTE
    Participant

    I has forgotten to tell:
    I can to block packets, directed to computer with bridge, but I can’t to block transit packets to other computers.

    in reply to: WinPkFilter: Duplicate packets #5742
    ByTE
    Participant

    Thank’s.
    Problem resolved.
    I set wrong flags (*_LISTEN) but after *_TUNNEL flag setted – all works fine!

    I have other question now:
    Why when windows XP network bridge created, and when I try to filter created virtual bridge adapter – packets not dropped 🙁 and sended to destination. I can’t to filter real adapters, because after creating bridge in adapters list contains only “Nework bridge” and “WAN connection”.
    I can see packets, but when I drop them – packets sended to destination 🙁
    Can you help me?

    in reply to: Bridging? #5669
    ByTE
    Participant

    I too so thought…
    I tried it before I have asked, but no packets sended to other interfaces.
    (even the Link/Act of adapter does not blink 🙂
    May be you have small working code example in any language?

Viewing 13 posts - 16 through 28 (of 28 total)