If you just want to replay packets, then yeah, that's what tcpreplay does.

As for the DUT- it's really about how it processes the packets.

For example: let's say you wanted to use tcpreplay to test a
webserver.  I'd tell you "sorry, tcpreplay can't help with that"
because it's sending the traffic exactly as stored in the pcap and
that won't work with live TCP servers.  flowreplay might be able to
help with that, but I seriously doubt it will work with the
Bigflow/CAIDA data sets - at least not without a lot of pre-processing
to clean them up.

If you wanted to test a NIDS, then that's easy.  If you wanted to test
an inline device (a switch or router for example) then things are a
little more complicated because you need to split the client/server
traffic in order to test traffic _through_ the device because it
expects the client and server to be on different Ethernet ports.

--
Aaron Turner
https://synfin.net/         Twitter: @synfinatic
My father once told me that respect for the truth comes close to being
the basis for all morality.  "Something cannot emerge from nothing,"
he said.  This is profound thinking if you understand how unstable
"the truth" can be.  -- Frank Herbert, Dune

On Mon, Jan 13, 2020 at 10:06 AM esoteric escape <manip...@gmail.com> wrote:
>
> I suppose DTU refers to my operating system and network devices included. I 
> am using Linux (Ubuntu LTS) with network simulation software where I create a 
> topology with L2/L3 switches and a couple of hosts. My goal to replay the 
> dataset traffic which may contain TCP/UDP/ICMP etc. packets. I was able to 
> replay the dataset. In order for the traffic to reach to a destination server 
> in topology, I remapped every packet to point to its destination and also 
> changed all the fields to the source. Is this what I should do?
>
> Next, I am thinking if I should also change the TCP/UDP ports to actually 
> make communication with the server. I am looking for an advice in this regard 
> if its needed to make tcpreplay work and simulate properly.
> _______________________________________________
> Tcpreplay-users mailing list
> Tcpreplay-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/tcpreplay-users
> Support Information: http://tcpreplay.synfin.net/trac/wiki/Support


_______________________________________________
Tcpreplay-users mailing list
Tcpreplay-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tcpreplay-users
Support Information: http://tcpreplay.synfin.net/trac/wiki/Support

Reply via email to