Sending Messages Using Ipc Framework

Posted By: SecurityTube_Bot
Posted On: Mon 21 Feb 2011
Views: 1994
Share this video:
Share it on Facebook Share it on Twitter Share it on Reddit Share it on Digg Share it on Stumbleupon
Support SecurityTube:


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.
Links:

1. Posix Thread Basics

2. Beej's IPC Guide

3. Packet Injection Basics

4. Packet Sniffing Basics

5. ARP DoS tool

Tags: programming ,


Comments (1)

Israel on Fri 01 Apr 2011

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.

Login to post a comment