emmericp / MoonGen

MoonGen is a fully scriptable high-speed packet generator built on DPDK and LuaJIT. It can saturate a 10 Gbit/s connection with 64 byte packets on a single CPU core while executing user-provided Lua scripts for each packet. Multi-core support allows for even higher rates. It also features precise and accurate timestamping and rate control.
MIT License
1.03k stars 234 forks source link

send and receive packets from one device #319

Closed alessandrofavale closed 2 years ago

alessandrofavale commented 2 years ago

Hi, I would like to use the replay-pcap.lua example and modify it to receive and see the return packets using a single device, is this possible? if yes, how can I proceed?

alessandrofavale commented 2 years ago

i'm trying to implement dump.lua in replay-pcap.lua