- Packet Holding
- Posted by ravi on March 25th, 2006
Hi,
I like to write prorgramme to handle pakets in the IP Layer. My
programme should able to read all the packets going through the IP
Layer. It should be not like copy or clonning the packet. It should be
like holding the packets and filtering for my protocol and changing the
protocol.
Any one can help for this how to start .
Thanks in Advance.
Ravi.
- Posted by Stephan Wolf [MVP] on March 25th, 2006
Two methods are available:
1. An NDIS filter intermediate (IM) driver. See e.g. the PASSTHRU
sample in the DDK.
http://msdn.microsoft.com/library/
2. An IP filter hook driver. See
http://msdn.microsoft.com/library/
Stephan
---
ravi wrote:
- Posted by ravi on March 25th, 2006
Hi Stephan,
Thanks for your suggestion.
The same thing I got in my investigation. Yes I am lookin for sample
code in NDIS IM .
But I got doubt in such like that whole thing are in Data Layer or
Network Layer. But why we cann't handle the packets in IP Layer
itself.
Can u clarify me if I am wrong.
Thanks,
Ravi.
Stephan Wolf [MVP] wrote: