tcpreplay icon indicating copy to clipboard operation
tcpreplay copied to clipboard

Add a C/C++ library to access tcpreplay etc.

Open fklassen opened this issue 11 years ago • 4 comments

As per http://stackoverflow.com/questions/26034768/how-to-add-tcpreplay-as-a-library-in-c-language-or-any-other-programming-languag

fklassen avatar Sep 27 '14 17:09 fklassen

hi @fklassen any progress on the topic?

i have seen there's some progress with tcpreplay_api.h but i cannot find examples how to use it after compiling it.

ludiofines avatar May 07 '19 10:05 ludiofines

We shelved this because there was no interest. Do you have an application? If so, I'll assign to a future release.

fklassen avatar May 07 '19 14:05 fklassen

Well, i would like to be able to extract the statistics the tcpreplay provides and broadcast them with a websocket service, for example. at the moment i have to start tcpreplay with a fork/exec method and i have to pipe the stderr, stdout of the tcpreplay so that i get that statistics but thats very error prone and race conditions might occur (i have not determined if that's my current problem).

being a library (tcpreplay) will ease a lot my application's implementation for the statistics and for the actual pcap replay.

ludiofines avatar May 08 '19 09:05 ludiofines

Thanks. Scheduled for 4.4 release.

fklassen avatar May 08 '19 17:05 fklassen