On Mon, Feb 09, 2009 at 04:12:20PM +0530, Vipin M wrote:

> Hi all,
> 
> I need some guidance in some coding.
> 
> My object is sniff and store a pcap file in wireless. Then play back that to
> air as i required.
> 
> I know how to sniff and store to a pcap file.
> 
> I had look in to* *pcap_open_offline() function for opening a file,
> pcap_open_live() for opening a interface and pcap_inject() to inject.
> 
> I couldn't find how to transfer the open file to inject function. And also
> how i can used the new radiotape for wireless with this.
> 
> I had a look at
> http://penumbra.warmcat.com/_twk/tiki-index.php?page=packetspammer this code
> but in this the whole packet is generated in code.
> 
> if there is any tool already do this job please give me the link.

Have you looked at tcpreplay? Maybe it already does what you need...

Cheers,

Eloy Paris.-
-
This is the tcpdump-workers list.
Visit https://cod.sandelman.ca/ to unsubscribe.

Reply via email to