Ask Your Question

Retransmit captured data via a TCP/IP connection

asked 2021-05-05 20:26:43 +0000


Is there a way to retransmit captured data via a TCP/IP connection? I have a TCP Client that makes a connection to a server and waits for any incoming traffic (pcapng data). In order to test this client I need to send it pcapng files. Can this be done by suing Wireshark? Any help will be much appreciated. Thank you in advance.

Indika Perera

edit retag flag offensive close merge delete


I never had a need to inject packets, but Colasoft link text has packet replay and packet builder Windows freeware software.

BigFatCat gravatar imageBigFatCat ( 2021-05-05 22:09:14 +0000 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2021-05-05 21:06:15 +0000

Chuckc gravatar image

"TCP is problematic ..."

Wireshark Wiki - Traffic generators
Most of the time people see TCP so they assume tcpreplay would be the way to go but it's definitely not plug and play.
If you don't mind python and a little programming, scapy can read pcap/pcapng files and send packets.

There is a new tool (WireReplay) out from the WireEdit company. If you give it a try, please share your experience back here. :-)

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2021-05-05 20:26:43 +0000

Seen: 301 times

Last updated: May 05 '21