wheelz

Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: In-kernel IP-IP tunnel driver #5833

    wheelz
    Participant

    @SerpentFly wrote:

    You can inject packet using NDIS IM or NDIS hook driver (up to the stack or down to the network interface) but you must know exactly what you are doing (to choose correct network interface and packet indication).

    I know that if using NDIS IM or NDIS hook driver, I have to do a lot more work(such as do routing, choose output interface, determine next hop MAC address, etc.). Of course, I donot want to do that much complexity, 🙂 that is also the reason that I would like to use “DeviceRawIp”, and I also wonder if I could simply call some functions in tcpip.sys (or something similar) to inject a raw packet to the system’s TCP/IP protocol stack. I noticed that there are some exported functions in tcpip.sys, but no documentations for them.

    Thanks

    in reply to: In-kernel IP-IP tunnel driver #5831

    wheelz
    Participant

    Huge Thanks to SerpentFly. 🙂

    I have another newbie question:

    Besides DeviceRawIp, is there any other way to inject a raw IP packet to TCP/IP protocol stack? Seems NDIS Intermediate Driver not usable, because the raw IP packet needs to be routed.

    Thanks.

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