Description: In this Sending Messages using IPC video, we will look at how messages can be transferred through the framework between different modules. This video serves as a good Message Queue primer for those not familiar with IPC. We will use the framework created and tested in this video for creating an ARP DoS tool in a later video series.<br> Links:<br><br>1. Posix Thread Basics<br><br>2. Beej's IPC Guide<br><br>3. Packet Injection Basics<br><br>4. Packet Sniffing Basics<br><br>5. ARP DoS tool<br><br>
Tags: programming ,
Disclaimer: We are a infosec video aggregator and this video is linked from an external website. The original author may be different from the user re-posting/linking it here. Please do not assume the authors to be same without verifying.
This information is great. However I copied the code exactly and it doesn't compile. Here is what I get.
# gcc raw.c -lpthread
raw.c: In function ‘sniffer_thread’:
raw.c:50: warning: assignment makes pointer from integer without a cast
raw.c: In function ‘main’:
raw.c:143: error: too few arguments to function ‘pthread_join’
raw.c:144: error: too few arguments to function ‘pthread_join’
There were a couple more errors I got rid of them. These are just the ones I'm stuck with. This was compiled from gcc 4.3.2 (Backtrack 4 r2) if that makes a difference.