Re: [netsniff-ng] Few Questions I could not find answer for :)

2016-11-21 Thread Vadim Kochan
On Mon, Nov 21, 2016 at 03:37:48PM +, Shaked, Asaf wrote:
Hi Asaf,

> Hi,
> 
> Just love this toolkit :)
> 
> Few questions, if you may...
> 
> 1)  Is it possible to merge pcaps using the toolkit ?
As fas as I know - no, but I think it would be good to have such feature
via such example:

netsniff-ng -i {in_dir} -o {merged_file}.pcap

> 
> 2)  Is it possible to replay a list of pcaps consecutively ?
> 
As I know, it is posible only to redirect packets from one device to
another, but I really thing that it might be added to trafgen.

> 3)  Is it possible to control pcaps replay bitrate ? (aiming for original 
> capture average Bitrate, rather than "as fast as possible")
> 
So if option #2 will be implemented then I think it wold be easy have it
in trafgen as there ia already rate limit option.

> Thanks,
> 
> Asaf.
> 

Regards,
Vadim Kochan

-- 
You received this message because you are subscribed to the Google Groups 
"netsniff-ng" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to netsniff-ng+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[netsniff-ng] [PATCH] trafgen: parser: Fix undefined ETH_P_802AD on 2.6.x Linux

2016-11-21 Thread Vadim Kochan
ETH_P_8021AD might be undefined on 2.6.x Linux version (tested
on Ubuntu 10 with 2.6.32 Linux), so lets check and define it.

Signed-off-by: Vadim Kochan 
---
 trafgen_parser.y | 4 
 1 file changed, 4 insertions(+)

diff --git a/trafgen_parser.y b/trafgen_parser.y
index 8ebf464..54aafe7 100644
--- a/trafgen_parser.y
+++ b/trafgen_parser.y
@@ -37,6 +37,10 @@
 #include "csum.h"
 #include "cpp.h"
 
+#ifndef ETH_P_8021AD
+#define ETH_P_8021AD   0x88A8
+#endif
+
 #define YYERROR_VERBOSE0
 #define YYDEBUG0
 #define YYENABLE_NLS   1
-- 
2.10.2

-- 
You received this message because you are subscribed to the Google Groups 
"netsniff-ng" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to netsniff-ng+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[netsniff-ng] Few Questions I could not find answer for :)

2016-11-21 Thread Shaked, Asaf
Hi,

Just love this toolkit :)

Few questions, if you may...

1)  Is it possible to merge pcaps using the toolkit ?

2)  Is it possible to replay a list of pcaps consecutively ?

3)  Is it possible to control pcaps replay bitrate ? (aiming for original 
capture average Bitrate, rather than "as fast as possible")

Thanks,

Asaf.

-- 
This electronic message may contain proprietary and confidential 
information of Verint Systems Inc., its affiliates and/or subsidiaries.
The information is intended to be for the use of the individual(s) or
entity(ies) named above. If you are not the intended recipient (or 
authorized to receive this e-mail for the intended recipient), you may not 
use, copy, disclose or distribute to anyone this message or any information 
contained in this message. If you have received this electronic message in 
error, please notify us by replying to this e-mail.

-- 
You received this message because you are subscribed to the Google Groups 
"netsniff-ng" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to netsniff-ng+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.