Re: NDIS IM and hidden proxy



serge wrote:
[..]
> SWM> You should pass IP packets to be received by the TCP/IP stack in your
> SWM> host to NdisMIndicateReceivePacket(). NdisSend() usually only goes out
> SWM> to the wire (some exceptions apply).
>
> This is already done with NdisMIndicateReceivePacket, bot does not work for
> some reason. Do I need to modify ethernet header as well?

Try and run some network sniffer on the same host (e.g. Network Monitor
or Ethereal). Does it show any of the packets you pass to
NdisMIndicateReceivePacket()? Do these packets show TCP checksum
errors?

Stephan

.



Relevant Pages

  • Re: NDIS IM and hidden proxy
    ... SWM> What do you mean by "all TCP traffic"? ... The packets that your host is sending to the network? ... When I connect to remote host via TCP, ... use proxy server, but I can not do it. ...
    (microsoft.public.development.device.drivers)
  • Re: NDIS IM: queueing question
    ... SWM> Hmm, what does that mean? ... SWM> MiniportSendPackets() is nothing more than MiniportSendbut for more ... i.e. append new packets to the queue until ...
    (microsoft.public.development.device.drivers)
  • Re: NDIS IM: queueing question
    ... SWM> to fatal behavior for some protocols. ... I transparently count all the packets passed to me via MPSendPackets, ... But I do nothing in ProtocolReceive function. ... SWM> But there is a small chance that MiniportSend() gets called when the ...
    (microsoft.public.development.device.drivers)
  • Re: Bandwidth limit with NDIS IM driver
    ... SWM> do not return the original NDIS_PACKET to NDIS. ... But now TCP connection breaks for some reason if I queue packets. ... All queued packets are sent in separate thread using origial MPSendPackets ...
    (microsoft.public.development.device.drivers)
  • Re: Problem using workitems in passthru driver.
    ... i am calling the NdisMIndicateReceivePacket() function. ... > return of the IRPs, forward the packets on their respective paths. ... > told here by Mr. Maxim Shatskih to use workitems to send the IRPs. ...
    (microsoft.public.development.device.drivers)

Loading