Quote:
Originally Posted by macemoneta
If your intent is read-only, then simply use the tcpdump command, or you own code with the interface in permissive mode.
|
Hey, i didnt understand what do you mean by "own code with the interface in permissive mode"...
But i want to intercept the transmission every time and not just once...
Thus i want to write a module which will check for the packet transmission continuousely... and whenever it will encounter one it will print the packet contents(at the stage before entering the TCP IP code in the kernel).
And i am not able to poll for the packet transmission through the module..i just dont know how to do it(Is it possible to do something like this through a module?), because i dont want to do any changes in the kernel code.
Please help me with this.