How can I program directly at the MAC layer....... I want to build a packet monitoring utility.... considering that the system is connected to the hub how can I do this... are there any API's to do this...
please advice...
How can I program directly at the MAC layer....... I want to build a packet monitoring utility.... considering that the system is connected to the hub how can I do this... are there any API's to do this...
please advice...
Gee, 1500 posts
Still no idea what OS/Compiler you want to achieve this magic on.
Have you considered looking at the source code for ethereal?
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
oops sorry...
GCC On Linux and windows using cygwin..... I think i will check ethereal..
The source code to Ethereal wont help you much, because Ethereal uses libpcap on Linux (or winpcap on windows) to do the packet capturing. You'd be better off just using libpcap to monitor packets.
thax for the info...
If you manage to compile and run ethereal on Cygwin, please let me know.
I've tried and failed (I don't know any Unix).
Last edited by Sang-drax : Tomorrow at 02:21 AM. Reason: Time travelling
> If you manage to compile and run ethereal on Cygwin, please let me know.
Since ethereal already has a windows port, isn't this a bit moot?
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
Yes, I meant ettercap, not ethereal.Originally Posted by Salem
Last edited by Sang-drax : Tomorrow at 02:21 AM. Reason: Time travelling