Re: [netsniff-ng] Synchronize file creation between netsniff-ng processes possible?

2016-01-27 Thread e . bengtsson
Den onsdag 27 januari 2016 kl. 16:17:46 UTC+1 skrev Tobias Klauser: > > Hi again > > On 2016-01-27 at 16:10:30 +0100, Tobias Klauser > wrote: > > On 2016-01-27 at 14:40:55 +0100, Erik Bengtsson > wrote: > > > By "start time" I mean file creation

[netsniff-ng] Replay pcap file on Xenomai kernel in real time

2016-01-27 Thread Umair Ali
Hello there, I am working on the project of replaying the pcap files in the real time over the network. For this purpose I am using the real time Linux kernel 'Xenomai v 3.0.1'. My idea is to write a code in C which will read the pcap file packet by packet and then send the packet as raw

Re: [netsniff-ng] Replay pcap file on Xenomai kernel in real time

2016-01-27 Thread Tobias Klauser
Hi Ali On 2016-01-27 at 13:01:55 +0100, Umair Ali wrote: > Hello there, > > I am working on the project of replaying the pcap files in the real time over > the network. For this purpose I am using the real time Linux kernel 'Xenomai > v 3.0.1'. My idea is to write a code in

Re: [netsniff-ng] Synchronize file creation between netsniff-ng processes possible?

2016-01-27 Thread Vadim Kochan
Hi, On Tue, Jan 26, 2016 at 12:12 PM, wrote: > Hi everyone! > > I've googled a bit but not found any good answer to my question. Maybe you > can help me out? > > Currently I'm running five netsniff processes capturing data from five > different interfaces. It works

RE: [netsniff-ng] Replay pcap file on Xenomai kernel in real time

2016-01-27 Thread Umair Ali
Hi Tobias, Thanks for the quick reply. I have read pcap_mm.c file but cannot understand the flow of the code. Can you explain me the flow that once the pcap file is open using mmap then how it is further processed to extract packet by packet and replay. Is it possible with netsniff-ng to send

Re: [netsniff-ng] Synchronize file creation between netsniff-ng processes possible?

2016-01-27 Thread Daniel Borkmann
On 01/27/2016 02:13 PM, e.bengts...@gmail.com wrote: [...] Is it possible to add some kind of signal interface for controlling start of new files instead of relying on incoming events? I have pulled the source and had a look but don't really know how to proceed... If you have some cycles, it

Re: [netsniff-ng] Replay pcap file on Xenomai kernel in real time

2016-01-27 Thread Tobias Klauser
On 2016-01-27 at 15:15:01 +0100, Umair Ali wrote: > Hi Tobias, > > Thanks for the quick reply. I have read pcap_mm.c file but cannot understand > the flow of the code. Can you explain me the flow that once the pcap file is > open using mmap then how it is further processed to

Re: [netsniff-ng] Synchronize file creation between netsniff-ng processes possible?

2016-01-27 Thread Tobias Klauser
Hi again On 2016-01-27 at 16:10:30 +0100, Tobias Klauser wrote: > On 2016-01-27 at 14:40:55 +0100, Erik Bengtsson wrote: > > By "start time" I mean file creation time. It is totally possible to post > > process all log files and synchronize them using