In Windows OS, there is a program called "Packet Builder" by ColaSoft. This program has a function to retrieve and retransmit packets captured in Wireshark. I am trying to do the same in Kali Linux. How can I do this?
low-level: using a bog-normal socket, probably of AF_PACKET
protocol family to allow you to transmit arbitrary content.
high-level: tcpreplay
is what I used to do before.